Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61998 - [awesome] man pages are not generated due to missing asciidoctor dependency

Attached to Project: Community Packages
Opened by Jérémie Galarneau (jgalar) - Wednesday, 13 March 2019, 22:06 GMT
Last edited by Balló György (City-busz) - Thursday, 14 March 2019, 23:41 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No

Details

Man pages (AWESOME(1) and AWESOME-CLIENT(1)) are not generated, and thus missing, when the package is installed.

I observed this using the awesome-4.3-1 package on two of my machines. User kragacles confirmed the issue on #awesome (OFTC).

awesomeConfig.cmake checks for asciidoctor[1] whereas the PKGBUILD requires asciidoc as part of its 'makedepends'[2].

The following diff fixes the issue:

diff --git a/awesome/trunk/PKGBUILD b/awesome/trunk/PKGBUILD
index 1636e6cb..97c8f0c6 100644
--- a/awesome/trunk/PKGBUILD
+++ b/awesome/trunk/PKGBUILD
@@ -16,7 +16,7 @@ license=('GPL2')
depends=('cairo' 'dbus' 'gdk-pixbuf2' 'imlib2' 'libxdg-basedir' 'lua' 'lua-lgi' 'pango'
'startup-notification' 'xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm'
'xorg-xmessage' 'libxkbcommon-x11' 'libxkbcommon' 'xcb-util-xrm')
-makedepends=('asciidoc' 'cmake' 'docbook-xsl' 'doxygen' 'imagemagick' 'ldoc' 'xmlto')
+makedepends=('asciidoctor' 'cmake' 'docbook-xsl' 'doxygen' 'imagemagick' 'ldoc' 'xmlto')
optdepends=('rlwrap: readline support for awesome-client'
'dex: autostart your desktop files'
'vicious: widgets for the Awesome window manager')



[1] https://github.com/awesomeWM/awesome/blob/master/awesomeConfig.cmake#L77
[2] https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/awesome#n19
This task depends upon

Comment by Jérémie Galarneau (jgalar) - Wednesday, 13 March 2019, 22:07 GMT
Adding the fix as a separate file.
Comment by Jérémie Galarneau (jgalar) - Monday, 30 September 2019, 21:44 GMT
Anything wrong with the fix? Is there anything I can do to get the ball rolling?
Comment by Jesse Wertheim (jwerth) - Saturday, 16 November 2019, 06:27 GMT
I ran into the same bug (missing man pages) today and can confirm both the bug and that the patch works.

Loading...