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 Caleb Maclennan (alerque) - Tuesday, 14 September 2021, 20:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
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

Closed by  Caleb Maclennan (alerque)
Tuesday, 14 September 2021, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.3-3
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...