diff options
author | rh <rh> | 2001-04-24 14:14:09 +0000 |
---|---|---|
committer | rh <rh> | 2001-04-24 14:14:09 +0000 |
commit | 8febe894e30855b8c1d879befdb97641a584719b (patch) | |
tree | ef7bcf3aa16020c7609f73d7631c13988e225507 /news/pan | |
parent | 05687c6fc7c2c9933b0a2b8c719411153c52df43 (diff) | |
download | pkgsrc-8febe894e30855b8c1d879befdb97641a584719b.tar.gz |
Initial import of pan-0.9.6, an advanced, threaded Gnome newsreader.
Diffstat (limited to 'news/pan')
-rw-r--r-- | news/pan/Makefile | 21 | ||||
-rw-r--r-- | news/pan/distinfo | 7 | ||||
-rw-r--r-- | news/pan/patches/patch-aa | 29 | ||||
-rw-r--r-- | news/pan/patches/patch-ab | 19 | ||||
-rw-r--r-- | news/pan/patches/patch-ac | 41 | ||||
-rw-r--r-- | news/pan/pkg/DESCR | 8 | ||||
-rw-r--r-- | news/pan/pkg/PLIST | 29 |
7 files changed, 154 insertions, 0 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile new file mode 100644 index 00000000000..a0c8b35563a --- /dev/null +++ b/news/pan/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ +# + +DISTNAME= pan-0.9.6 +CATEGORIES= news gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/pan/} + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://pan.rebelbase.com/ +COMMENT= Newsreader for Gnome + +DEPENDS+= gnome-core>1.4.0:../../x11/gnome-core +BUILD_USES_MSGFMT= YES + +USE_X11BASE= YES +USE_LIBINTL= YES +GNU_CONFIGURE= YES +CONFIGURE_ENV+= LOCALEDIR="${PKGLOCALEDIR}" +CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1 + +.include "../../mk/bsd.pkg.mk" diff --git a/news/pan/distinfo b/news/pan/distinfo new file mode 100644 index 00000000000..add7d5d9270 --- /dev/null +++ b/news/pan/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ + +SHA1 (pan-0.9.6.tar.gz) = 6418f9825b6e6ec128c8d81404455e55b7fa78b9 +Size (pan-0.9.6.tar.gz) = 1653403 bytes +SHA1 (patch-aa) = e82468db946c3ac70ec98e407a0bd9d452b44eaf +SHA1 (patch-ab) = 68fac5f6014287ce10500a8f90cb7c98e7110413 +SHA1 (patch-ac) = 5019f31d50813f3f8bb2b151ae4fd3828f98326c diff --git a/news/pan/patches/patch-aa b/news/pan/patches/patch-aa new file mode 100644 index 00000000000..cd7193e1d41 --- /dev/null +++ b/news/pan/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ + +--- configure.orig Sun Apr 22 11:51:35 2001 ++++ configure +@@ -3009,13 +3009,13 @@ + if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + CATOBJEXT=.gmo +- DATADIRNAME=share ++ DATADIRNAME=${LOCALEDIR} + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CATOBJEXT=.mo +- DATADIRNAME=lib ++ DATADIRNAME=${LOCALEDIR} + fi + rm -f conftest* + INSTOBJEXT=.mo +@@ -3244,7 +3244,7 @@ + # We need to process the po/ directory. + POSUB=po + else +- DATADIRNAME=share ++ DATADIRNAME=${LOCALEDIR} + nls_cv_header_intl=intl/libintl.h + nls_cv_header_libgt=intl/libgettext.h + fi diff --git a/news/pan/patches/patch-ab b/news/pan/patches/patch-ab new file mode 100644 index 00000000000..b2663a82780 --- /dev/null +++ b/news/pan/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ + +--- pan/util.c.orig Fri Mar 16 05:20:42 2001 ++++ pan/util.c +@@ -333,12 +333,14 @@ + + if (!g_file_test (buf, G_FILE_TEST_ISDIR)) + { ++ *(out-1) = '\0'; + if (mkdir (buf, S_IRUSR | S_IWUSR | S_IXUSR)) + { + pan_error_dialog (_("Couldn't create directory `%s': %s"), + buf, g_strerror (errno)); + break; + } ++ *(out-1) = G_DIR_SEPARATOR; + } + } + diff --git a/news/pan/patches/patch-ac b/news/pan/patches/patch-ac new file mode 100644 index 00000000000..75dc621910f --- /dev/null +++ b/news/pan/patches/patch-ac @@ -0,0 +1,41 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ + +--- pan/pan.c.orig Tue Mar 20 03:14:26 2001 ++++ pan/pan.c +@@ -117,6 +117,24 @@ + }; + + ++#ifdef __NetBSD__ ++#include <gtk/gtk.h> ++#include <pthread.h> ++ ++/* ++ * NetBSD uses non-preemptive pth, so we yield the processor periodically ++ */ ++ ++gint ++pth_nbschedule (gpointer data) ++{ ++ pthread_yield_np(); ++ ++ return TRUE; ++} ++#endif ++ ++ + static int + pan_post_gtkmain_init (gpointer null) + { +@@ -234,6 +252,11 @@ + pan_init (); + gtk_widget_show_all (Pan.window); + } ++ ++ ++#ifdef __NetBSD__ ++ gtk_timeout_add (200, pth_nbschedule, NULL); ++#endif + + gtk_main (); + diff --git a/news/pan/pkg/DESCR b/news/pan/pkg/DESCR new file mode 100644 index 00000000000..c33fc0e3a79 --- /dev/null +++ b/news/pan/pkg/DESCR @@ -0,0 +1,8 @@ + Pan is a Newsreader for Gnome whose goal is to be easy to use and +functional enough for beginners and advanced users alike. It has the +basic features of threading, reading, filtering, posting, and offline +reading, and also has a number of features for power users and +alt.binaries fans. + + It's the only Unix newsreader to get a perfect score on the Good +Net-Keeping Seal of Approval evalutions. diff --git a/news/pan/pkg/PLIST b/news/pan/pkg/PLIST new file mode 100644 index 00000000000..693da45fcbf --- /dev/null +++ b/news/pan/pkg/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/24 14:14:09 rh Exp $ +bin/pan +share/gnome/apps/Internet/pan.desktop +${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/no/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/sp/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/pan.mo +${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/pan.mo +share/pixmaps/pan.png +share/pixmaps/pan_druid.xpm |