pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/geeqie geeqie: disable doxygen detection



details:   https://anonhg.NetBSD.org/pkgsrc/rev/091788d02ecd
branches:  trunk
changeset: 388520:091788d02ecd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 21 22:24:08 2022 +0000

description:
geeqie: disable doxygen detection

To avoid PLIST changes if doxygen is installed

diffstat:

 graphics/geeqie/Makefile                         |   4 +++-
 graphics/geeqie/distinfo                         |   4 +++-
 graphics/geeqie/patches/patch-doc_meson.build    |  20 ++++++++++++++++++++
 graphics/geeqie/patches/patch-meson__options.txt |  14 ++++++++++++++
 4 files changed, 40 insertions(+), 2 deletions(-)

diffs (74 lines):

diff -r 6e36ac934ba8 -r 091788d02ecd graphics/geeqie/Makefile
--- a/graphics/geeqie/Makefile  Mon Nov 21 22:15:21 2022 +0000
+++ b/graphics/geeqie/Makefile  Mon Nov 21 22:24:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.97 2022/11/21 11:58:47 wiz Exp $
+# $NetBSD: Makefile,v 1.98 2022/11/21 22:24:08 wiz Exp $
 
 DISTNAME=      geeqie-2.0.1
 CATEGORIES=    graphics
@@ -17,6 +17,8 @@
 
 LDFLAGS.SunOS+=                -lm -lsocket -lnsl
 
+MESON_ARGS+=   -Ddoxygen=disabled
+
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c++
 USE_TOOLS=             bash:run intltool msgfmt pkg-config
diff -r 6e36ac934ba8 -r 091788d02ecd graphics/geeqie/distinfo
--- a/graphics/geeqie/distinfo  Mon Nov 21 22:15:21 2022 +0000
+++ b/graphics/geeqie/distinfo  Mon Nov 21 22:24:08 2022 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.26 2022/11/21 12:00:01 wiz Exp $
+$NetBSD: distinfo,v 1.27 2022/11/21 22:24:08 wiz Exp $
 
 BLAKE2s (geeqie-2.0.1.tar.xz) = 344660eddf23258c87afb4855c616ba24a6eb0562756c15c554bed30e241ae78
 SHA512 (geeqie-2.0.1.tar.xz) = cd2251c831c6d4d461d92eee84df08590752ad625e1f50d57e1fb5d0fc6ac16a225584a8217e14bf4f993ba247f7df3296498b27fcc4f5f4c7f25307699aadc5
 Size (geeqie-2.0.1.tar.xz) = 1666600 bytes
 SHA1 (patch-ac) = 6cebab3e14ce51c59e70fc902a514d1bbafc3b33
 SHA1 (patch-config.h.in) = 301b461a7c3ce8b699f4651363ddf18017eca0df
+SHA1 (patch-doc_meson.build) = 74f284283050399a6bcc05219f8786ba0ff98220
+SHA1 (patch-meson__options.txt) = fc952d373c01fa54d358c1e15f91be76ed6941e2
diff -r 6e36ac934ba8 -r 091788d02ecd graphics/geeqie/patches/patch-doc_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/geeqie/patches/patch-doc_meson.build     Mon Nov 21 22:24:08 2022 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-doc_meson.build,v 1.1 2022/11/21 22:24:08 wiz Exp $
+
+Add option to allow disabling doxygen detection.
+
+--- doc/meson.build.orig       2022-08-12 09:32:25.000000000 +0000
++++ doc/meson.build
+@@ -27,6 +27,8 @@ endif
+ 
+ install_subdir(destdir, install_dir : helpdir, exclude_directories : 'lua-api/latex')
+ 
++option = get_option('doxygen')
++if not option.disabled()
+ doxygen = find_program('doxygen', required : false)
+ if doxygen.found()
+     srcdir = join_paths(meson.source_root())
+@@ -38,3 +40,4 @@ if doxygen.found()
+ else
+     summary({'lua-api' : ['doxygen not found - lua-api help file created:', false]}, section : 'Documentation', bool_yn : true)
+ endif
++endif
diff -r 6e36ac934ba8 -r 091788d02ecd graphics/geeqie/patches/patch-meson__options.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/geeqie/patches/patch-meson__options.txt  Mon Nov 21 22:24:08 2022 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-meson__options.txt,v 1.1 2022/11/21 22:24:08 wiz Exp $
+
+Allow disabling doxygen detection.
+
+--- meson_options.txt.orig     2022-08-12 09:32:25.000000000 +0000
++++ meson_options.txt
+@@ -25,6 +25,7 @@ option('gq_localedir', type : 'string', 
+ 
+ option('archive', type : 'feature', value : 'auto', description : 'archive files e.g. zip, gz')
+ option('cms', type : 'feature', value : 'auto', description : 'color management system')
++option('doxygen', type : 'feature', value : 'auto', description : 'doxygen')
+ option('djvu', type : 'feature', value : 'auto', description : 'djvu')
+ option('exiv2', type : 'feature', value : 'auto', description : 'exiv2')
+ option('videothumbnailer', type : 'feature', value : 'auto', description : 'video thumbnailer')



Home | Main Index | Thread Index | Old Index