news/pan: update to 0.150. Switch back to fetching the distfile from gitlab.gnome.org, since a) the configure.ac file no longer uses the problematic "$Format:%d$" which can change if commits are added (only the stable GIT_HASH='$Format:%h$' is left). Hopefully this fixes the problem. b) the upstream of the pre-made tarball is getting behind Also there are some pkglint fixes. The main points of this release are: - Dropped support for GMime2. Only Gmime3 is supported - Gtk3 is now default build, Gtk2 is deprecated 15fcc65 set maximum number of serveur connections to 20 (Dominique Dumont) 431f56f Nuke $GIT_REMOTE if not obtained by git config (Petr Kovar)diff -r1.119 -r1.120 pkgsrc/news/pan/Makefile
(rhialto)
@@ -1,40 +1,46 @@ | @@ -1,40 +1,46 @@ | |||
1 | # $NetBSD: Makefile,v 1.119 2021/12/29 13:34:39 rhialto Exp $ | 1 | # $NetBSD: Makefile,v 1.120 2022/04/03 19:33:11 rhialto Exp $ | |
2 | 2 | |||
3 | DISTNAME= pan-0.149 | 3 | PKGNAME= pan-0.150 | |
4 | CATEGORIES= news | 4 | CATEGORIES= news | |
5 | MASTER_SITES= http://pan.rebelbase.com/download/releases/${DISTNAME:C/pan-//}/source/ | 5 | TAG= ${PKGNAME_NOREV:S/pan-/v/} # v0.150 | |
6 | MASTER_SITES= https://gitlab.gnome.org/GNOME/pan/-/archive/${TAG}/ | |||
6 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | DISTNAME= pan-${TAG} | |||
7 | 9 | |||
8 | MAINTAINER= rhialto@NetBSD.org | 10 | MAINTAINER= rhialto@NetBSD.org | |
9 | HOMEPAGE= http://pan.rebelbase.com/ | 11 | HOMEPAGE= http://pan.rebelbase.com/ | |
10 | COMMENT= Newsreader for GTK3 | 12 | COMMENT= Newsreader for GTK3 | |
11 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
12 | 14 | |||
13 | USE_TOOLS+= gmake msgfmt perl pkg-config itstool | 15 | USE_TOOLS+= gmake msgfmt perl pkg-config itstool | |
16 | USE_TOOLS+= autoconf automake | |||
14 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
15 | USE_PKGLOCALEDIR= YES | 18 | USE_PKGLOCALEDIR= YES | |
16 | GNU_CONFIGURE= YES | 19 | GNU_CONFIGURE= YES | |
17 | CONFIGURE_ARGS+= --with-gtk3 | 20 | CONFIGURE_ARGS+= --with-gtk3 | |
18 | CONFIGURE_ARGS+= --with-gnutls | 21 | CONFIGURE_ARGS+= --with-gnutls | |
19 | CONFIGURE_ARGS+= --with-gtkspell | 22 | CONFIGURE_ARGS+= --with-gtkspell | |
20 | 23 | |||
21 | .include "../../mk/bsd.prefs.mk" | 24 | .include "../../mk/bsd.prefs.mk" | |
22 | .if (${OPSYS} != "Darwin" && ${OPSYS} != "SunOS" && ${OPSYS} != "Linux") | 25 | .if (${OPSYS} != "Darwin" && ${OPSYS} != "SunOS" && ${OPSYS} != "Linux") | |
23 | LIBS+= -lcompat | 26 | LIBS+= -lcompat | |
24 | .endif | 27 | .endif | |
25 | 28 | |||
26 | LIBS.SunOS+= -lsocket -liconv | 29 | LIBS.SunOS+= -lsocket -liconv | |
27 | 30 | |||
31 | pre-configure: | |||
32 | cd ${WRKSRC} && ./autogen.sh | |||
33 | ||||
28 | # "Build" these files out of thin air, since base msgfmt doesn't know | 34 | # "Build" these files out of thin air, since base msgfmt doesn't know | |
29 | # about --xml --desktop. | 35 | # about --xml --desktop. | |
30 | pre-build: | 36 | pre-build: | |
31 | ${CP} ${FILESDIR}/pan.desktop ${WRKSRC}/org.gnome.pan.desktop | 37 | ${CP} ${FILESDIR}/pan.desktop ${WRKSRC}/org.gnome.pan.desktop | |
32 | ${CP} ${FILESDIR}/org.gnome.pan.metainfo.xml ${WRKSRC} | 38 | ${CP} ${FILESDIR}/org.gnome.pan.metainfo.xml ${WRKSRC} | |
33 | 39 | |||
34 | .include "../../converters/libiconv/buildlink3.mk" | 40 | .include "../../converters/libiconv/buildlink3.mk" | |
35 | .include "../../devel/gettext-lib/buildlink3.mk" | 41 | .include "../../devel/gettext-lib/buildlink3.mk" | |
36 | .include "../../devel/zlib/buildlink3.mk" | 42 | .include "../../devel/zlib/buildlink3.mk" | |
37 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 43 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
38 | .include "../../mail/gmime3/buildlink3.mk" | 44 | .include "../../mail/gmime3/buildlink3.mk" | |
39 | .include "../../security/gnutls/buildlink3.mk" | 45 | .include "../../security/gnutls/buildlink3.mk" | |
40 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 46 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.16 2021/12/29 13:34:39 rhialto Exp $ | 1 | @comment $NetBSD: PLIST,v 1.17 2022/04/03 19:33:11 rhialto Exp $ | |
2 | bin/pan | 2 | bin/pan | |
3 | man/man1/pan.1 | 3 | man/man1/pan.1 | |
4 | share/applications/org.gnome.pan.desktop | 4 | share/applications/org.gnome.pan.desktop | |
5 | share/metainfo/org.gnome.pan.metainfo.xml | |||
6 | share/icons/hicolor/16x16/apps/org.gnome.pan.png | 5 | share/icons/hicolor/16x16/apps/org.gnome.pan.png | |
7 | share/icons/hicolor/24x24/apps/org.gnome.pan.png | 6 | share/icons/hicolor/24x24/apps/org.gnome.pan.png | |
8 | share/icons/hicolor/256x256/apps/org.gnome.pan.png | 7 | share/icons/hicolor/256x256/apps/org.gnome.pan.png | |
9 | share/icons/hicolor/32x32/apps/org.gnome.pan.png | 8 | share/icons/hicolor/32x32/apps/org.gnome.pan.png | |
10 | share/icons/hicolor/48x48/apps/org.gnome.pan.png | 9 | share/icons/hicolor/48x48/apps/org.gnome.pan.png | |
11 | share/locale/am/LC_MESSAGES/pan.mo | 10 | share/locale/am/LC_MESSAGES/pan.mo | |
12 | share/locale/ar/LC_MESSAGES/pan.mo | 11 | share/locale/ar/LC_MESSAGES/pan.mo | |
13 | share/locale/az/LC_MESSAGES/pan.mo | 12 | share/locale/az/LC_MESSAGES/pan.mo | |
14 | share/locale/bg/LC_MESSAGES/pan.mo | 13 | share/locale/bg/LC_MESSAGES/pan.mo | |
15 | share/locale/bs/LC_MESSAGES/pan.mo | 14 | share/locale/bs/LC_MESSAGES/pan.mo | |
16 | share/locale/ca/LC_MESSAGES/pan.mo | 15 | share/locale/ca/LC_MESSAGES/pan.mo | |
17 | share/locale/cs/LC_MESSAGES/pan.mo | 16 | share/locale/cs/LC_MESSAGES/pan.mo | |
18 | share/locale/da/LC_MESSAGES/pan.mo | 17 | share/locale/da/LC_MESSAGES/pan.mo | |
@@ -47,13 +46,14 @@ share/locale/pt_BR/LC_MESSAGES/pan.mo | @@ -47,13 +46,14 @@ share/locale/pt_BR/LC_MESSAGES/pan.mo | |||
47 | share/locale/ro/LC_MESSAGES/pan.mo | 46 | share/locale/ro/LC_MESSAGES/pan.mo | |
48 | share/locale/ru/LC_MESSAGES/pan.mo | 47 | share/locale/ru/LC_MESSAGES/pan.mo | |
49 | share/locale/sk/LC_MESSAGES/pan.mo | 48 | share/locale/sk/LC_MESSAGES/pan.mo | |
50 | share/locale/sl/LC_MESSAGES/pan.mo | 49 | share/locale/sl/LC_MESSAGES/pan.mo | |
51 | share/locale/sq/LC_MESSAGES/pan.mo | 50 | share/locale/sq/LC_MESSAGES/pan.mo | |
52 | share/locale/sr/LC_MESSAGES/pan.mo | 51 | share/locale/sr/LC_MESSAGES/pan.mo | |
53 | share/locale/sr@latin/LC_MESSAGES/pan.mo | 52 | share/locale/sr@latin/LC_MESSAGES/pan.mo | |
54 | share/locale/sv/LC_MESSAGES/pan.mo | 53 | share/locale/sv/LC_MESSAGES/pan.mo | |
55 | share/locale/tr/LC_MESSAGES/pan.mo | 54 | share/locale/tr/LC_MESSAGES/pan.mo | |
56 | share/locale/uk/LC_MESSAGES/pan.mo | 55 | share/locale/uk/LC_MESSAGES/pan.mo | |
57 | share/locale/vi/LC_MESSAGES/pan.mo | 56 | share/locale/vi/LC_MESSAGES/pan.mo | |
58 | share/locale/zh_CN/LC_MESSAGES/pan.mo | 57 | share/locale/zh_CN/LC_MESSAGES/pan.mo | |
59 | share/locale/zh_TW/LC_MESSAGES/pan.mo | 58 | share/locale/zh_TW/LC_MESSAGES/pan.mo | |
59 | share/metainfo/org.gnome.pan.metainfo.xml |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.42 2021/12/29 13:34:39 rhialto Exp $ | 1 | $NetBSD: distinfo,v 1.43 2022/04/03 19:33:11 rhialto Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pan-0.149.tar.bz2) = bab5445f1ac8c1b602237d53ba920b43ed7a7ef3c8a5da85ad2ba3613fdc27b8 | 3 | BLAKE2s (pan-v0.150.tar.bz2) = 3a5086a87782d70a6828088a99af7228527066aa9176e468af71d816b92a42eb | |
4 | SHA512 (pan-0.149.tar.bz2) = 2e558f53bbc0c9ae907c566fe8efd56ed2ef0edeffa23f922b63c956f16096c2ad1ea0bd43c31f82ee096899550bf47cb7011f354a6941a1d53cb6c6eaa5e5a6 | 4 | SHA512 (pan-v0.150.tar.bz2) = ac32fff253a2b104c38f795db2bddf601fabc6de451dcc6b9425007b3dcdb52831cf84fdb762ba0aa13b77b2ce506d4e61517c13361c738617aac04751751fca | |
5 | Size (pan-0.149.tar.bz2) = 2328015 bytes | 5 | Size (pan-v0.150.tar.bz2) = 1788225 bytes | |
6 | SHA1 (patch-pan_general_text-match.cc) = eaf15f3323f693d094892d3283437ad5ac3c9682 | 6 | SHA1 (patch-pan_general_text-match.cc) = d719a6d5a59714f228cfd208627d2d6a70da07ff | |
7 | SHA1 (patch-pan_general_text-match.h) = 6ac5a68a8b1cb472df517a8df53eee5a79e4c73c | 7 | SHA1 (patch-pan_general_text-match.h) = 77dae6ba00c3b58b4353f60d90756a409b5699e2 |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-pan_general_text-match.cc,v 1.3 2021/09/19 18:02:37 rhialto Exp $ | 1 | $NetBSD: patch-pan_general_text-match.cc,v 1.4 2022/04/03 19:33:11 rhialto Exp $ | |
2 | ||||
2 | Avoid clash with host defined ERR (on SunOS) | 3 | Avoid clash with host defined ERR (on SunOS) | |
4 | ||||
3 | --- pan/general/text-match.cc.orig 2012-06-29 22:24:54.000000000 +0000 | 5 | --- pan/general/text-match.cc.orig 2012-06-29 22:24:54.000000000 +0000 | |
4 | +++ pan/general/text-match.cc | 6 | +++ pan/general/text-match.cc | |
5 | @@ -209,7 +209,7 @@ TextMatch :: my_regexec (const StringVie | 7 | @@ -209,7 +209,7 @@ TextMatch :: my_regexec (const StringVie | |
6 | if (_pcre_info->set (_impl_text, state.case_sensitive)) | 8 | if (_pcre_info->set (_impl_text, state.case_sensitive)) | |
7 | _pcre_state = COMPILED; | 9 | _pcre_state = COMPILED; | |
8 | else | 10 | else | |
9 | - _pcre_state = ERR; | 11 | - _pcre_state = ERR; | |
10 | + _pcre_state = PCRE_ERR; | 12 | + _pcre_state = PCRE_ERR; | |
11 | } | 13 | } | |
12 | 14 | |||
13 | return _pcre_state != COMPILED | 15 | return _pcre_state != COMPILED |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-pan_general_text-match.h,v 1.3 2021/09/19 18:02:37 rhialto Exp $ | 1 | $NetBSD: patch-pan_general_text-match.h,v 1.4 2022/04/03 19:33:11 rhialto Exp $ | |
2 | ||||
2 | Avoid clash with host defined ERR (on SunOS) | 3 | Avoid clash with host defined ERR (on SunOS) | |
4 | ||||
3 | --- pan/general/text-match.h.orig 2012-06-29 22:24:54.000000000 +0000 | 5 | --- pan/general/text-match.h.orig 2012-06-29 22:24:54.000000000 +0000 | |
4 | +++ pan/general/text-match.h | 6 | +++ pan/general/text-match.h | |
5 | @@ -108,7 +108,7 @@ private: | 7 | @@ -108,7 +108,7 @@ private: | |
6 | class PcreInfo; | 8 | class PcreInfo; | |
7 | mutable PcreInfo * _pcre_info; | 9 | mutable PcreInfo * _pcre_info; | |
8 | 10 | |||
9 | - enum PcreState { NEED_COMPILE, COMPILED, ERR }; | 11 | - enum PcreState { NEED_COMPILE, COMPILED, ERR }; | |
10 | + enum PcreState { NEED_COMPILE, COMPILED, PCRE_ERR }; | 12 | + enum PcreState { NEED_COMPILE, COMPILED, PCRE_ERR }; | |
11 | mutable PcreState _pcre_state; | 13 | mutable PcreState _pcre_state; | |
12 | 14 | |||
13 | public: | 15 | public: |