I managed to repair this, but it took an unreasonable amount of time to do something as trivial as repair the header of an xml file. Here's the make error:
/usr/bin/xmlto txt desc/xdg-su.xml
No way to convert HTML to text found.
Try either installing text web browser(lynx/w3m/links) or use option --with-fop
After abort, edit <your build dir>/aur-xdg-su/src/xdg-su-xdg-su-1.2.3/scripts/desc/xdg-su.xml
The top section is broken. I have never used XML in my life, but after some Google and tweaking, I decided the top needs to look like this:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl"
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
]>
...
From same desc/ directory run: xmlto txt desc/xdg-su.xml --skip-validation
If it still doesn't work, you may also need the --with-fop flag to invoke the Java beast, which I had to do. It should convert it fine now, doing the PKGBUILD's job for it. cd back into the base <tmp dir>/aur-xdg-su/ directory and run: makepkg -si
You should now have it packaged and installed by pacman. This is the first time I have ever attempted to use XML or xmlto or fop, nor have I ever fixed a PKGBUILD before, so if this disgusting hack repair is a bad idea, don't use it and let me know. Sorry for the long comment, didn't think a GitHub comment would be seen by anyone from the AUR.
Search Criteria
Package Details: xdg-su 1.2.3-1
Git Clone URL: | https://aur.archlinux.org/xdg-su.git (read-only) |
---|---|
Package Base: | xdg-su |
Description: | Run a program as root with the most environment appropriate available graphical authentication agent |
Upstream URL: | https://github.com/tarakbumba/xdg-su |
Licenses: | |
Submitter: | tarakbumba |
Maintainer: | Ayceman |
Last Packager: | Ayceman |
Votes: | 113 |
Popularity: | 0.703138 |
First Submitted: | 2011-03-08 19:59 |
Last Updated: | 2015-07-13 18:54 |
Dependencies (4)
- sh (heirloom-sh-cvs, bash-devel-git, bash-devel-static-git, bash)
- docbook-xsl (make)
- links (links-g-directfb) (make)
- xmlto (make)
Required by (3)
- imagewriter (optional)
- imagewriter-git (optional)
- rosa-image-writer (optional)
Sources (1)
Latest Comments
electricprism commented on 2017-07-09 13:37
nanners commented on 2017-05-29 05:27
Anonymous comment on 2015-01-03 00:16
#
#
#
#
## ##
########
Anonymous comment on 2015-01-03 00:14
FUCK YOU ROB, FUCK YOU IN YOUR GAY ASSHOLE, YOU GAY ASSHOLE
bidulock commented on 2014-05-23 16:44
Following is a PKGBUILD that works for the 1.2.3 release:
https://gist.github.com/bbidulock/e5e26dd8e53aed8fc37b
bidulock commented on 2014-05-23 16:19
release 1.2.3 is available since December 2013
tarakbumba commented on 2013-04-23 06:41
bidulock, fixed in latest PKGBUILD
bidulock commented on 2013-03-27 05:19
1.2.1-2 is placing its manual pages in /usr/man instead of /usr/share/man.
bidulock commented on 2013-03-24 17:29
please change arch=('any') to arch=('i686' 'x86_64') in PKGBUILD
tarakbumba commented on 2012-04-04 11:46
Uh!Oh! I shouldn't work with sleepy eyes. Sorry for that. I' ll update PKGBUILD tonight. Also, i will do a version bump to xdg-su; should remove scripts/xdg-su as sebcactus mentioned but have forgotten. Please, be patient
This package requires "lynx/w3m/links", please add one to the dependencies or all three as "or" dependencies.