Tuesday, December 28, 2021

[update] pan 0.149

Hi.

This diff updatges news/pan to the lastest available release.
Tested with a few newsgroups and it seems to work fine.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/news/pan/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile 9 May 2021 09:10:17 -0000 1.64
+++ Makefile 28 Dec 2021 22:39:01 -0000
@@ -2,39 +2,40 @@

COMMENT= powerful newsreader

-V= 0.140
+V= 0.149
DISTNAME= pan-${V}
CATEGORIES= news x11
-REVISION= 7

HOMEPAGE= http://pan.rebelbase.com/

MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>

-# GPLv2
+# GPLv2 - GFDLv1.1
PERMIT_PACKAGE= Yes

-WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject enchant
-WANTLIB += enchant-2 gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmime-2.6
-WANTLIB += gmodule-2.0 gnome-keyring gnutls gobject-2.0 gthread-2.0
-WANTLIB += gtk-3 gtkspell3-3 harfbuzz iconv intl m notify pango-1.0
-WANTLIB += pangocairo-1.0 z
+WANTLIB += ${COMPILER_LIBCXX} atk-1.0 c cairo cairo-gobject enchant-2
+WANTLIB += gck-1 gcr-base-3 gcr-ui-3 gdk-3 gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gmime-3.0 gmodule-2.0 gnutls gobject-2.0 gthread-2.0
+WANTLIB += gtk-3 gtkspell3-3 harfbuzz iconv intl m notify p11-kit
+WANTLIB += pango-1.0 pangocairo-1.0 secret-1 z

-COMPILER = base-clang ports-gcc base-gcc
+COMPILER= base-clang ports-gcc base-gcc

USE_GMAKE= Yes

MASTER_SITES= http://pan.rebelbase.com/download/releases/${V}/source/

-MODULES= textproc/intltool
+BUILD_DEPENDS= devel/gettext,-tools \
+ textproc/itstool

LIB_DEPENDS= devel/libnotify \
- mail/gmime \
+ mail/gmime30 \
security/gnutls \
- textproc/enchant \
textproc/gtkspell3 \
- x11/gnome/libgnome-keyring
-RUN_DEPENDS= devel/desktop-file-utils
+ x11/gnome/gcr
+
+RUN_DEPENDS= devel/desktop-file-utils \
+ x11/gtk+3,-guic

CONFIGURE_STYLE=gnu

@@ -42,6 +43,9 @@ CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"

-CONFIGURE_ARGS= --with-gtk3 --enable-libnotify --enable-gkr --with-gnutls
+CONFIGURE_ARGS= --with-gtk3 \
+ --enable-libnotify \
+ --enable-gkr \
+ --with-gnutls

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/news/pan/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo 20 Apr 2016 07:20:34 -0000 1.21
+++ distinfo 28 Dec 2021 22:39:01 -0000
@@ -1,2 +1,2 @@
-SHA256 (pan-0.140.tar.gz) = XNcElj0Y1V5oG7Hz23CCbJQ2ybfDxpyoIn4ENrs1+Sg=
-SIZE (pan-0.140.tar.gz) = 2338609
+SHA256 (pan-0.149.tar.gz) = JEUlISW8VtAi3aEjat+AroUnS0HlACxWZ7DgMnJbMrc=
+SIZE (pan-0.149.tar.gz) = 3339054
Index: patches/patch-pan_data-impl_article-filter_cc
===================================================================
RCS file: patches/patch-pan_data-impl_article-filter_cc
diff -N patches/patch-pan_data-impl_article-filter_cc
--- patches/patch-pan_data-impl_article-filter_cc 12 Apr 2018 18:10:27 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-pan_data-impl_article-filter_cc,v 1.1 2018/04/12 18:10:27 jasper Exp $
-
-https://svnweb.freebsd.org/ports/head/news/pan/files/patch-c%2B%2B11?revision=458276&view=markup
-
-Index: pan/data-impl/article-filter.cc
---- pan/data-impl/article-filter.cc.orig
-+++ pan/data-impl/article-filter.cc
-@@ -162,7 +162,7 @@ ArticleFilter :: test_article (const Data & dat
- s += xit->group;
- s += ':';
- char buf[32];
-- g_snprintf (buf, sizeof(buf), "%"G_GUINT64_FORMAT, xit->number);
-+ g_snprintf (buf, sizeof(buf), "%" G_GUINT64_FORMAT, xit->number);
- s += buf;
- s += ' ';
- }
Index: patches/patch-pan_general_string-view_h
===================================================================
RCS file: /cvs/ports/news/pan/patches/patch-pan_general_string-view_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-pan_general_string-view_h
--- patches/patch-pan_general_string-view_h 12 Apr 2018 18:10:27 -0000 1.1
+++ patches/patch-pan_general_string-view_h 28 Dec 2021 22:39:01 -0000
@@ -1,6 +1,6 @@
-$OpenBSD: patch-pan_general_string-view_h,v 1.1 2018/04/12 18:10:27 jasper Exp $
+$OpenBSD$

-https://svnweb.freebsd.org/ports/head/news/pan/files/patch-c%2B%2B11?revision=458276&view=markup
+text-match.cc:475:8
: error: no viable conversion from 'pan::StringView' to 'std::string'

Index: pan/general/string-view.h
--- pan/general/string-view.h.orig
Index: patches/patch-pan_gui_gui_cc
===================================================================
RCS file: patches/patch-pan_gui_gui_cc
diff -N patches/patch-pan_gui_gui_cc
--- patches/patch-pan_gui_gui_cc 20 Apr 2016 07:20:34 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-pan_gui_gui_cc,v 1.4 2016/04/20 07:20:34 pea Exp $
-
-Fix compiling on 64-bit.
-
---- pan/gui/gui.cc.orig Mon Apr 18 18:16:20 2016
-+++ pan/gui/gui.cc Mon Apr 18 18:16:36 2016
-@@ -2275,7 +2275,7 @@ GUI :: set_queue_size_label (unsigned int running,
- uint64_t KiB_remain;
- #else
- gulong queued, unused, stopped;
-- guint64 KiB_remain;
-+ uint64_t KiB_remain;
-

No comments:

Post a Comment