pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/awesome awesome: Fix PLIST for manpages



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1c0264feefae
branches:  trunk
changeset: 452786:1c0264feefae
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sat May 15 16:42:43 2021 +0000

description:
awesome: Fix PLIST for manpages

pkgsrc changes:
---------------
  * Add explicit dependency to textproc/ruby-asciidoctor since
    GENERATE_MANPAGES is ON by default and the man pages are generated
    if the tool is present.
  * Improve the search of asciidoctor binary by including suffixed binaries
    in case pkgtools/pkg_alternatives is not installed.
  * Bump revision

diffstat:

 wm/awesome/Makefile                          |   7 +++++--
 wm/awesome/PLIST                             |  20 +++++++++++++++++++-
 wm/awesome/distinfo                          |   3 ++-
 wm/awesome/patches/patch-awesomeConfig.cmake |  17 +++++++++++++++++
 4 files changed, 43 insertions(+), 4 deletions(-)

diffs (93 lines):

diff -r dc76d16189d2 -r 1c0264feefae wm/awesome/Makefile
--- a/wm/awesome/Makefile       Sat May 15 16:23:57 2021 +0000
+++ b/wm/awesome/Makefile       Sat May 15 16:42:43 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.74 2020/08/17 20:20:15 leot Exp $
+# $NetBSD: Makefile,v 1.75 2021/05/15 16:42:43 triaxx Exp $
 
 DISTNAME=      awesome-4.3
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    wm lua
 EXTRACT_SUFX=  .tar.xz
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=awesomeWM/}
@@ -31,6 +31,7 @@
 
 .include "../../lang/lua/luaversion.mk"
 
+#CMAKE_ARGS+=  -DCOMPRESS_MANPAGES=${MANZ:Q}
 CMAKE_ARGS+=   -DCOMPRESS_MANPAGES=${MANZ:Q}
 CMAKE_ARGS+=   -DAWESOME_MAN_PATH=${PREFIX}/${PKGMANDIR}
 CMAKE_ARGS+=   -DOVERRIDE_VERSION=${PKGVERSION_NOREV}
@@ -41,6 +42,8 @@
 EGDIR=         ${PREFIX}/share/examples/awesome
 CONF_FILES=    ${EGDIR}/rc.lua ${PKG_SYSCONFDIR}/rc.lua
 
+.include "../../lang/ruby/rubyversion.mk"
+BUILD_DEPENDS+=        ${RUBY_PKGPREFIX}-asciidoctor-[0-9]*:../../textproc/ruby-asciidoctor
 TOOL_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
 DEPENDS+=      ${LUA_PKGPREFIX}-gi>=0.7.0:../../devel/lua-gi
 
diff -r dc76d16189d2 -r 1c0264feefae wm/awesome/PLIST
--- a/wm/awesome/PLIST  Sat May 15 16:23:57 2021 +0000
+++ b/wm/awesome/PLIST  Sat May 15 16:42:43 2021 +0000
@@ -1,6 +1,24 @@
-@comment $NetBSD: PLIST,v 1.11 2019/07/17 22:08:58 nia Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/05/15 16:42:43 triaxx Exp $
 bin/awesome
 bin/awesome-client
+man/de/man1/awesome-client.1
+man/de/man1/awesome.1
+man/de/man5/awesomerc.5
+man/es/man1/awesome-client.1
+man/es/man1/awesome.1
+man/es/man5/awesomerc.5
+man/fr/man1/awesome-client.1
+man/fr/man1/awesome.1
+man/fr/man5/awesomerc.5
+man/it/man1/awesome-client.1
+man/it/man1/awesome.1
+man/it/man5/awesomerc.5
+man/man1/awesome-client.1
+man/man1/awesome.1
+man/man5/awesomerc.5
+man/ru/man1/awesome-client.1
+man/ru/man1/awesome.1
+man/ru/man5/awesomerc.5
 share/awesome/icons/awesome16.png
 share/awesome/icons/awesome32.png
 share/awesome/icons/awesome48.png
diff -r dc76d16189d2 -r 1c0264feefae wm/awesome/distinfo
--- a/wm/awesome/distinfo       Sat May 15 16:23:57 2021 +0000
+++ b/wm/awesome/distinfo       Sat May 15 16:42:43 2021 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.21 2019/07/17 22:08:58 nia Exp $
+$NetBSD: distinfo,v 1.22 2021/05/15 16:42:43 triaxx Exp $
 
 SHA1 (awesome-4.3.tar.xz) = 543f3b2ee17719176f37fbe3f0cfd1d046a9e1cc
 RMD160 (awesome-4.3.tar.xz) = f12f27114c96f0d80314cd54b5c6d1b21cb3ba18
 SHA512 (awesome-4.3.tar.xz) = c5ef1e8dc593e7783b895d22143154aea8f211beeda24672a7ee4ed5112b4f4284043f848a151f3d3c4f569e91308670367a4353f705b20511b36495b22fa3f5
 Size (awesome-4.3.tar.xz) = 1037816 bytes
 SHA1 (patch-CMakeLists.txt) = a3473fdbea318b0cf280a9c29e77798d38d17d70
+SHA1 (patch-awesomeConfig.cmake) = b457fd84d9e33e967119b02733f6e3fa7a1df400
diff -r dc76d16189d2 -r 1c0264feefae wm/awesome/patches/patch-awesomeConfig.cmake
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/awesome/patches/patch-awesomeConfig.cmake      Sat May 15 16:42:43 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-awesomeConfig.cmake,v 1.7 2021/05/15 16:42:43 triaxx Exp $
+
+If pkgtools/pkg_alternatives is not installed, the asciidoctor
+binary is suffixed by the ruby version.
+
+--- awesomeConfig.cmake.orig   2019-01-28 06:53:24.000000000 +0000
++++ awesomeConfig.cmake
+@@ -38,6 +38,9 @@ endmacro()
+ a_find_program(GIT_EXECUTABLE git FALSE)
+ # programs needed for man pages
+ a_find_program(ASCIIDOCTOR_EXECUTABLE asciidoctor FALSE)
++a_find_program(ASCIIDOCTOR_EXECUTABLE asciidoctor26 FALSE)
++a_find_program(ASCIIDOCTOR_EXECUTABLE asciidoctor27 FALSE)
++a_find_program(ASCIIDOCTOR_EXECUTABLE asciidoctor30 FALSE)
+ a_find_program(GZIP_EXECUTABLE gzip FALSE)
+ # Lua documentation
+ if(GENERATE_DOC)



Home | Main Index | Thread Index | Old Index