pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/news/pan news/pan: update to 0.147.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9c3e2ce0943
branches:  trunk
changeset: 458735:b9c3e2ce0943
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Sun Sep 19 17:40:27 2021 +0000

description:
news/pan: update to 0.147.

Upstream release email from Dominique Dumont <domi.dumont%free.fr@localhost>:

After a 2 years hiatus, I'm happy to announce Pan version 0.147.

Yes, that's right, Pan has a new maintainer. I've been maintaining Pan package
for Debian for almost 10 years, and I did not want this software to die, so
I've taken over upstream maintenance.

As I've not seriously programmed in C++ for about 20 years, I'll heavily rely
on users' participation. So please, keep the MR coming, I'll strive to review,
provide feedback and hopefully merge them. :-)

Back to Pan, this new release contains mostly bug fixes so pan can be compiled
on major Linux distributions.

In the next releases, we'll try to get rid of gmime2 code. Please reach out to
pan-devel [at] nongnu.org if this may cause issues.

Note that I have not (yet?) the credentials to update Pan website on
rebelbase.com. So the announce and tarball will not be propagated there soon
(if ever).

You can get Pan 0,147 release tarball on Gnome's gitlab:

- https://gitlab.gnome.org/GNOME/pan/-/tags/PAN_0_147

The detailed release log is there:
- https://gitlab.gnome.org/GNOME/pan/-/blob/master/NEWS

This release still has known bugs:
- compilation with gtk3 raises a lot of warning
- message signing is broken

All the best

Dominique (aka dod at Debian)

diffstat:

 news/pan/Makefile                                     |  17 +++++-----
 news/pan/PLIST                                        |   3 +-
 news/pan/distinfo                                     |  15 +++------
 news/pan/patches/patch-pan-general-e-util.cc          |  23 ---------------
 news/pan/patches/patch-pan_general_text-match.cc      |  13 --------
 news/pan/patches/patch-pan_general_text-match.h       |  13 --------
 news/pan/patches/patch-pan_gui_group-prefs-dialog.cc  |  13 --------
 news/pan/patches/patch-pan_usenet-utils_mime-utils.cc |  29 -------------------
 8 files changed, 16 insertions(+), 110 deletions(-)

diffs (196 lines):

diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/Makefile
--- a/news/pan/Makefile Sun Sep 19 17:39:32 2021 +0000
+++ b/news/pan/Makefile Sun Sep 19 17:40:27 2021 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.112 2021/05/24 19:53:40 wiz Exp $
+# $NetBSD: Makefile,v 1.113 2021/09/19 17:40:27 rhialto Exp $
 
-DISTNAME=              pan-0.146
-PKGREVISION=           7
+PKGNAME=               pan-0.147
 CATEGORIES=            news
-MASTER_SITES=          http://pan.rebelbase.com/download/releases/${DISTNAME:C/pan-//}/source/
+TAG=                   ${PKGNAME_NOREV:tu:C/-/_/:C/\./_/} # PAN_0_147
+MASTER_SITES=          https://gitlab.gnome.org/GNOME/pan/-/archive/${TAG}/
 EXTRACT_SUFX=          .tar.bz2
+DISTNAME=              pan-${TAG}
 
 MAINTAINER=            rhialto%NetBSD.org@localhost
 HOMEPAGE=              http://pan.rebelbase.com/
@@ -12,6 +13,7 @@
 LICENSE=               gnu-gpl-v2
 
 USE_TOOLS+=            gmake msgfmt perl pkg-config itstool
+USE_TOOLS+=            autoconf automake
 USE_LANGUAGES=         c c++
 USE_PKGLOCALEDIR=      YES
 GNU_CONFIGURE=         YES
@@ -24,9 +26,8 @@
 
 LIBS.SunOS+=   -lsocket -liconv
 
-# temporary fix for GLib 2.68 breakage
-# https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1963
-CXXFLAGS+=     -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66
+pre-configure:
+       cd ${WRKSRC} && ./autogen.sh
 
 # "Build" these files out of thin air, since base msgfmt doesn't know
 # about --xml --desktop.
@@ -40,7 +41,7 @@
 .include "../../mail/gmime/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../textproc/gtkspell/buildlink3.mk"
-BUILDLINK_API_DEPENDS.gtk2+=   gtk2+>=2.16.0
+.include "../../textproc/enchant/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/PLIST
--- a/news/pan/PLIST    Sun Sep 19 17:39:32 2021 +0000
+++ b/news/pan/PLIST    Sun Sep 19 17:40:27 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2018/07/14 15:15:12 maya Exp $
+@comment $NetBSD: PLIST,v 1.15 2021/09/19 17:40:27 rhialto Exp $
 bin/pan
 man/man1/pan.1
 share/appdata/pan.appdata.xml
@@ -31,6 +31,7 @@
 share/locale/gl/LC_MESSAGES/pan.mo
 share/locale/hr/LC_MESSAGES/pan.mo
 share/locale/hu/LC_MESSAGES/pan.mo
+share/locale/id/LC_MESSAGES/pan.mo
 share/locale/it/LC_MESSAGES/pan.mo
 share/locale/ja/LC_MESSAGES/pan.mo
 share/locale/ko/LC_MESSAGES/pan.mo
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/distinfo
--- a/news/pan/distinfo Sun Sep 19 17:39:32 2021 +0000
+++ b/news/pan/distinfo Sun Sep 19 17:40:27 2021 +0000
@@ -1,11 +1,6 @@
-$NetBSD: distinfo,v 1.35 2020/11/30 13:06:40 nia Exp $
+$NetBSD: distinfo,v 1.36 2021/09/19 17:40:27 rhialto Exp $
 
-SHA1 (pan-0.146.tar.bz2) = 843bcfb0a432a5f6a15a22c4570f65a2bb55052d
-RMD160 (pan-0.146.tar.bz2) = 50a97800690e7926ef4c20c90350187786d3741a
-SHA512 (pan-0.146.tar.bz2) = 6eb2cdf60bb8cc36b53448edd90ccd3d17d7eb9a96958f6d549ee457578d63edfaababd838009be42e2787bdbac64893eb101170a7d394b05b4c4ee095975810
-Size (pan-0.146.tar.bz2) = 2309326 bytes
-SHA1 (patch-pan-general-e-util.cc) = c252f074b139b100f3f879261b1ba894b5f3350c
-SHA1 (patch-pan_general_text-match.cc) = eaf15f3323f693d094892d3283437ad5ac3c9682
-SHA1 (patch-pan_general_text-match.h) = 6ac5a68a8b1cb472df517a8df53eee5a79e4c73c
-SHA1 (patch-pan_gui_group-prefs-dialog.cc) = ac268282f3af83ac4beb17d431eec10bb2b6eb4b
-SHA1 (patch-pan_usenet-utils_mime-utils.cc) = 6cec0237458495657752dffdb836df32e4f4da6d
+SHA1 (pan-PAN_0_147.tar.bz2) = 7bd4b8cbf6ca95af6c3249363290ed7464404957
+RMD160 (pan-PAN_0_147.tar.bz2) = e313697c2e9d35c9352c8746f8ce4c4e13123405
+SHA512 (pan-PAN_0_147.tar.bz2) = 616aa53447b8d4390ce9e0f9747783512976578bc6fe2b9d4cd772de85e0aa253ecb95f630ef3947711a06ce479fc9df635e7c8ed9278bf9448947aed4cda2c0
+Size (pan-PAN_0_147.tar.bz2) = 1794085 bytes
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/patches/patch-pan-general-e-util.cc
--- a/news/pan/patches/patch-pan-general-e-util.cc      Sun Sep 19 17:39:32 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-pan-general-e-util.cc,v 1.1 2018/11/18 14:31:56 rhialto Exp $
-
-Replace UTF-8 colons by real ones, so it works in more locales.
-
-diff --git a/pan/general/e-util.cc b/pan/general/e-util.cc
-index af5ccd0..efb7932 100644
---- pan/general/e-util.cc
-+++ pan/general/e-util.cc
-@@ -208,10 +208,10 @@ EvolutionDateMaker :: set_current_time (time_t now)
- EvolutionDateMaker :: EvolutionDateMaker (time_t now)
- {
-   // build the locale strings
--  locale_recent = g_locale_from_utf8 (_("%l∶%M %p"), -1, NULL, NULL, NULL);
--  locale_today = g_locale_from_utf8 (_("Today %l∶%M %p"), -1, NULL, NULL, NULL);
--  locale_this_week = g_locale_from_utf8 (_("%a %l∶%M %p"), -1, NULL, NULL, NULL);
--  locale_this_year = g_locale_from_utf8 (_("%b %d %l∶%M %p"), -1, NULL, NULL, NULL);
-+  locale_recent = g_locale_from_utf8 (_("%l:%M %p"), -1, NULL, NULL, NULL);
-+  locale_today = g_locale_from_utf8 (_("Today %l:%M %p"), -1, NULL, NULL, NULL);
-+  locale_this_week = g_locale_from_utf8 (_("%a %l:%M %p"), -1, NULL, NULL, NULL);
-+  locale_this_year = g_locale_from_utf8 (_("%b %d %l:%M %p"), -1, NULL, NULL, NULL);
-   locale_old = g_locale_from_utf8 (_("%b %d %Y"), -1, NULL, NULL, NULL);
- 
-   // set the current time
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/patches/patch-pan_general_text-match.cc
--- a/news/pan/patches/patch-pan_general_text-match.cc  Sun Sep 19 17:39:32 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-pan_general_text-match.cc,v 1.1 2015/08/25 08:29:10 richard Exp $
-Avoid clash with host defined ERR (on SunOS)
---- pan/general/text-match.cc.orig     2012-06-29 22:24:54.000000000 +0000
-+++ pan/general/text-match.cc
-@@ -209,7 +209,7 @@ TextMatch :: my_regexec (const StringVie
-       if (_pcre_info->set (_impl_text, state.case_sensitive))
-          _pcre_state = COMPILED;
-       else
--         _pcre_state = ERR;
-+         _pcre_state = PCRE_ERR;
-    }
- 
-    return _pcre_state != COMPILED
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/patches/patch-pan_general_text-match.h
--- a/news/pan/patches/patch-pan_general_text-match.h   Sun Sep 19 17:39:32 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-pan_general_text-match.h,v 1.1 2015/08/25 08:29:10 richard Exp $
-Avoid clash with host defined ERR (on SunOS)
---- pan/general/text-match.h.orig      2012-06-29 22:24:54.000000000 +0000
-+++ pan/general/text-match.h
-@@ -108,7 +108,7 @@ private:
-       class PcreInfo;
-       mutable PcreInfo * _pcre_info;
- 
--      enum PcreState { NEED_COMPILE, COMPILED, ERR };
-+      enum PcreState { NEED_COMPILE, COMPILED, PCRE_ERR };
-       mutable PcreState _pcre_state;
- 
- public:
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/patches/patch-pan_gui_group-prefs-dialog.cc
--- a/news/pan/patches/patch-pan_gui_group-prefs-dialog.cc      Sun Sep 19 17:39:32 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-pan_gui_group-prefs-dialog.cc,v 1.1 2019/08/01 22:23:14 rjs Exp $
-
---- pan/gui/group-prefs-dialog.cc.orig 2017-12-29 17:15:47.000000000 +0000
-+++ pan/gui/group-prefs-dialog.cc
-@@ -23,7 +23,7 @@ extern "C" {
-   #include <glib.h>
-   #include "gtk-compat.h"
- #ifdef HAVE_GTKSPELL
--  #include <enchant/enchant.h>
-+  #include <enchant-2/enchant.h>
- #endif
- }
- #include <pan/general/debug.h>
diff -r fb49c9376407 -r b9c3e2ce0943 news/pan/patches/patch-pan_usenet-utils_mime-utils.cc
--- a/news/pan/patches/patch-pan_usenet-utils_mime-utils.cc     Sun Sep 19 17:39:32 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-pan_usenet-utils_mime-utils.cc,v 1.5 2020/11/30 13:06:40 nia Exp $
-
-NetBSD iconv's argument is no longer const.
-
---- pan/usenet-utils/mime-utils.cc.orig        2019-09-29 21:01:34.000000000 +0000
-+++ pan/usenet-utils/mime-utils.cc
-@@ -17,6 +17,13 @@
-  *
-  */
- 
-+#ifdef __NetBSD__
-+#include <sys/param.h>
-+#if __NetBSD_Prereq__(9,99,17)
-+#define NETBSD_POSIX_ICONV
-+#endif
-+#endif
-+
- #include <config.h>
- #include <cctype>
- #include <cstring>
-@@ -77,7 +84,7 @@ namespace pan
-       outbuf = out + converted;
-       outleft = outlen - converted;
- 
--#if defined(__NetBSD__)
-+#if (defined(__NetBSD__) && !defined(NETBSD_POSIX_ICONV)) || defined(__sun)
-       converted = iconv (cd, &inbuf, &inleft, &outbuf, &outleft);
- #else
-       converted = iconv (cd, (char **) &inbuf, &inleft, &outbuf, &outleft);


Home | Main Index | Thread Index | Old Index