geeqie: add upstream bug report URLsdiff -r1.109 -r1.110 pkgsrc/graphics/geeqie/Makefile
(wiz)
@@ -1,33 +1,34 @@ | @@ -1,33 +1,34 @@ | |||
1 | # $NetBSD: Makefile,v 1.109 2023/06/17 16:45:43 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.110 2023/06/17 16:50:53 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= geeqie-2.1 | 3 | DISTNAME= geeqie-2.1 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=BestImageViewer/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=BestImageViewer/} | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | 7 | GITHUB_RELEASE= v${PKGVERSION_NOREV} | |
8 | 8 | |||
9 | MAINTAINER= gdt@NetBSD.org | 9 | MAINTAINER= gdt@NetBSD.org | |
10 | HOMEPAGE= http://www.geeqie.org/ | 10 | HOMEPAGE= http://www.geeqie.org/ | |
11 | COMMENT= Image viewer | 11 | COMMENT= Image viewer | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 | 14 | TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 | |
15 | # .../geeqie-2.0.1/scripts/generate-ClayRGB1998-icc-h.sh: xxd: not found | 15 | # .../geeqie-2.0.1/scripts/generate-ClayRGB1998-icc-h.sh: xxd: not found | |
16 | TOOL_DEPENDS+= vim-share-[0-9]*:../../editors/vim-share | 16 | TOOL_DEPENDS+= vim-share-[0-9]*:../../editors/vim-share | |
17 | 17 | |||
18 | LDFLAGS.SunOS+= -lm -lsocket -lnsl | 18 | LDFLAGS.SunOS+= -lm -lsocket -lnsl | |
19 | # ld: src/geeqie.p/main.cc.o: undefined reference to symbol 'backtrace' | 19 | # ld: src/geeqie.p/main.cc.o: undefined reference to symbol 'backtrace' | |
20 | # ld: /usr/lib/libexecinfo.so.0: error adding symbols: DSO missing from command line | 20 | # ld: /usr/lib/libexecinfo.so.0: error adding symbols: DSO missing from command line | |
21 | # https://github.com/BestImageViewer/geeqie/issues/1111 | |||
21 | LDFLAGS.NetBSD+= -lexecinfo | 22 | LDFLAGS.NetBSD+= -lexecinfo | |
22 | 23 | |||
23 | MESON_ARGS+= -Ddoxygen=disabled | 24 | MESON_ARGS+= -Ddoxygen=disabled | |
24 | 25 | |||
25 | USE_PKGLOCALEDIR= yes | 26 | USE_PKGLOCALEDIR= yes | |
26 | USE_LANGUAGES= c c++ | 27 | USE_LANGUAGES= c c++ | |
27 | USE_TOOLS= bash:run msgfmt pkg-config | 28 | USE_TOOLS= bash:run msgfmt pkg-config | |
28 | 29 | |||
29 | REPLACE_BASH+= plugins/*/* | 30 | REPLACE_BASH+= plugins/*/* | |
30 | REPLACE_BASH+= doc/*.sh | 31 | REPLACE_BASH+= doc/*.sh | |
31 | REPLACE_BASH+= g*.sh | 32 | REPLACE_BASH+= g*.sh | |
32 | REPLACE_BASH+= version.sh | 33 | REPLACE_BASH+= version.sh | |
33 | 34 |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.31 2023/06/17 16:45:43 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.32 2023/06/17 16:50:53 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (geeqie-2.1.tar.xz) = 179c98a22e51fcc7cbe7f9832f1a0902abbf3c8ef688a809bd24ba2cef82cbc1 | 3 | BLAKE2s (geeqie-2.1.tar.xz) = 179c98a22e51fcc7cbe7f9832f1a0902abbf3c8ef688a809bd24ba2cef82cbc1 | |
4 | SHA512 (geeqie-2.1.tar.xz) = 1812234d349536626433bbb7670cd45ef5ce328bf58f603af8eb4a01f7d3db2557d5a812714b12a9b49559aa1fe1c186ceddf2f632c2b303d64d36ad746a2d2f | 4 | SHA512 (geeqie-2.1.tar.xz) = 1812234d349536626433bbb7670cd45ef5ce328bf58f603af8eb4a01f7d3db2557d5a812714b12a9b49559aa1fe1c186ceddf2f632c2b303d64d36ad746a2d2f | |
5 | Size (geeqie-2.1.tar.xz) = 1800612 bytes | 5 | Size (geeqie-2.1.tar.xz) = 1800612 bytes | |
6 | SHA1 (patch-src_exif-common.cc) = 2752f7c95aff03cf2ff268c4f2cbe09656ca3867 | 6 | SHA1 (patch-src_exif-common.cc) = 3d3bb4963a71d3d138287aa418c86455f73734e0 | |
7 | SHA1 (patch-src_misc.cc) = ccf039c570f04998691d05da891ce18072c08d63 | 7 | SHA1 (patch-src_misc.cc) = 8b5ed531aa5bd15dfd296329c623d3fe9d7229eb |
@@ -1,15 +1,16 @@ | @@ -1,15 +1,16 @@ | |||
1 | $NetBSD: patch-src_exif-common.cc,v 1.1 2023/06/17 16:45:43 wiz Exp $ | 1 | $NetBSD: patch-src_exif-common.cc,v 1.2 2023/06/17 16:50:53 wiz Exp $ | |
2 | 2 | |||
3 | ../src/exif-common.cc:780:3: error: 'setenv' was not declared in this scope; did you mean 'getenv'? | 3 | ../src/exif-common.cc:780:3: error: 'setenv' was not declared in this scope; did you mean 'getenv'? | |
4 | https://github.com/BestImageViewer/geeqie/pull/1110 | |||
4 | 5 | |||
5 | --- src/exif-common.cc.orig 2023-06-17 12:12:30.000000000 +0000 | 6 | --- src/exif-common.cc.orig 2023-06-17 12:12:30.000000000 +0000 | |
6 | +++ src/exif-common.cc | 7 | +++ src/exif-common.cc | |
7 | @@ -19,6 +19,8 @@ | 8 | @@ -19,6 +19,8 @@ | |
8 | 9 | |||
9 | #include <config.h> | 10 | #include <config.h> | |
10 | 11 | |||
11 | +#include <stdlib.h> | 12 | +#include <stdlib.h> | |
12 | + | 13 | + | |
13 | #define _XOPEN_SOURCE | 14 | #define _XOPEN_SOURCE | |
14 | 15 | |||
15 | #include <string.h> | 16 | #include <string.h> |
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | $NetBSD: patch-src_misc.cc,v 1.1 2023/06/17 16:45:43 wiz Exp $ | 1 | $NetBSD: patch-src_misc.cc,v 1.2 2023/06/17 16:50:53 wiz Exp $ | |
2 | 2 | |||
3 | ../src/misc.cc: In function 'gint date_get_first_day_of_week()': | 3 | ../src/misc.cc: In function 'gint date_get_first_day_of_week()': | |
4 | ../src/misc.cc:262:29: error: 'LC_ALL' was not declared in this scope; did you mean 'P_ALL'? | 4 | ../src/misc.cc:262:29: error: 'LC_ALL' was not declared in this scope; did you mean 'P_ALL'? | |
5 | 262 | current_locale = setlocale(LC_ALL, NULL); | 5 | 262 | current_locale = setlocale(LC_ALL, NULL); | |
6 | | ^~~~~~ | 6 | | ^~~~~~ | |
7 | | P_ALL | 7 | | P_ALL | |
8 | ../src/misc.cc:262:19: error: 'setlocale' was not declared in this scope; did you mean '_locale'? | 8 | ../src/misc.cc:262:19: error: 'setlocale' was not declared in this scope; did you mean '_locale'? | |
9 | 262 | current_locale = setlocale(LC_ALL, NULL); | 9 | 262 | current_locale = setlocale(LC_ALL, NULL); | |
10 | | ^~~~~~~~~ | 10 | | ^~~~~~~~~ | |
11 | | _locale | 11 | | _locale | |
12 | https://github.com/BestImageViewer/geeqie/pull/1110 | |||
12 | 13 | |||
13 | --- src/misc.cc.orig 2023-06-17 12:12:30.000000000 +0000 | 14 | --- src/misc.cc.orig 2023-06-17 12:12:30.000000000 +0000 | |
14 | +++ src/misc.cc | 15 | +++ src/misc.cc | |
15 | @@ -18,6 +18,8 @@ | 16 | @@ -18,6 +18,8 @@ | |
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 | */ | 18 | */ | |
18 | 19 | |||
19 | +#include <locale.h> | 20 | +#include <locale.h> | |
20 | + | 21 | + | |
21 | #include "main.h" | 22 | #include "main.h" | |
22 | #include "misc.h" | 23 | #include "misc.h" | |
23 | 24 |