summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/pan-gnome/DESCR8
-rw-r--r--news/pan-gnome/Makefile30
-rw-r--r--news/pan-gnome/PLIST34
-rw-r--r--news/pan-gnome/distinfo7
-rw-r--r--news/pan-gnome/patches/patch-aa37
-rw-r--r--news/pan-gnome/patches/patch-ac43
-rw-r--r--news/pan-gnome/patches/patch-ag12
7 files changed, 171 insertions, 0 deletions
diff --git a/news/pan-gnome/DESCR b/news/pan-gnome/DESCR
new file mode 100644
index 00000000000..c33fc0e3a79
--- /dev/null
+++ b/news/pan-gnome/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-gnome/Makefile b/news/pan-gnome/Makefile
new file mode 100644
index 00000000000..9a68984d20e
--- /dev/null
+++ b/news/pan-gnome/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/15 10:26:35 wiz Exp $
+#
+
+DISTNAME= pan-0.11.4
+PKGREVISION= 2
+CATEGORIES= news gnome
+MASTER_SITES= http://pan.rebelbase.com/download/releases/${DISTNAME:C/pan-//}/SOURCE/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://pan.rebelbase.com/
+COMMENT= Newsreader for Gnome
+
+BUILD_USES_MSGFMT= YES
+
+USE_BUILDLINK2= YES
+USE_PKGLOCALEDIR= YES
+USE_X11BASE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= LOCALEDIR="${PKGLOCALEDIR}"
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "SunOS"
+LIBS= -lcompat
+.endif
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../x11/gnome-core/buildlink2.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/news/pan-gnome/PLIST b/news/pan-gnome/PLIST
new file mode 100644
index 00000000000..b5e4a0799c6
--- /dev/null
+++ b/news/pan-gnome/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/15 10:26:35 wiz 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/el/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/et/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/hu/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/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/sk/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/uk/LC_MESSAGES/pan.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/pan.mo
+share/pixmaps/pan.png
+share/pixmaps/pan_druid.xpm
diff --git a/news/pan-gnome/distinfo b/news/pan-gnome/distinfo
new file mode 100644
index 00000000000..dc08ddecc6e
--- /dev/null
+++ b/news/pan-gnome/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/15 10:26:35 wiz Exp $
+
+SHA1 (pan-0.11.4.tar.bz2) = 3ffd3fedd960637ce883a587619ae6e9dee3979e
+Size (pan-0.11.4.tar.bz2) = 1629832 bytes
+SHA1 (patch-aa) = f2c47a0f7b121b90f2078044b4182752f02b3655
+SHA1 (patch-ac) = f895add1fe570ce617da7715dcfc394bb687f4f4
+SHA1 (patch-ag) = 68d7be7a16bbfbf02f0df29c669140d49c5de35f
diff --git a/news/pan-gnome/patches/patch-aa b/news/pan-gnome/patches/patch-aa
new file mode 100644
index 00000000000..374e9b6ec45
--- /dev/null
+++ b/news/pan-gnome/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/15 10:26:35 wiz Exp $
+
+--- configure.orig Mon Jul 15 04:21:08 2002
++++ configure
+@@ -4711,7 +4711,7 @@ fi
+
+
+
+-ALL_LINGUAS="ca da de el en_GB es et fi fr ga gl hu it ja ko lt no nl pl pt pt_BR ru sk sl sp sr sv tr uk zh_CN"
++ALL_LINGUAS="ca da de el en_GB es et fi fr ga gl hu it ja ko lt no nl pl pt pt_BR ru sk sl sp sr sv uk zh_CN"
+ echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+@@ -6689,12 +6689,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ CATOBJEXT=.gmo
+- DATADIRNAME=share
++ DATADIRNAME=${LOCALEDIR}
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ CATOBJEXT=.mo
+- DATADIRNAME=lib
++ DATADIRNAME=${LOCALEDIR}
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ INSTOBJEXT=.mo
+@@ -6964,7 +6964,7 @@ echo "${ECHO_T}found xgettext program is
+ # 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-gnome/patches/patch-ac b/news/pan-gnome/patches/patch-ac
new file mode 100644
index 00000000000..50fd2ccfc77
--- /dev/null
+++ b/news/pan-gnome/patches/patch-ac
@@ -0,0 +1,43 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/15 10:26:35 wiz Exp $
+
+--- pan/pan.c.orig Mon Jul 15 04:04:34 2002
++++ pan/pan.c
+@@ -43,6 +43,27 @@
+ #include <pan/thread-watch.h>
+ #include <pan/util.h>
+
++#ifdef __NetBSD__
++#include <pthread.h>
++
++#ifdef _PTH_PTHREAD_H_
++#include <gtk/gtk.h>
++
++/*
++ * Pth is non-preemptive, so we yield the processor periodically
++ */
++
++gint
++pth_nbschedule (gpointer data)
++{
++ pthread_yield_np();
++
++ return TRUE;
++}
++#endif
++#endif
++
++
+ static gint save_session (GnomeClient * client,
+ gint phase,
+ GnomeSaveStyle save_style,
+@@ -197,6 +218,10 @@ main (int argc, char *argv[])
+ newsrc_import (s, newsrc_filename, newsrc_port_subscribed_only);
+ }
+ }
++
++#ifdef _PTH_PTHREAD_H_
++ gtk_timeout_add (200, pth_nbschedule, NULL);
++#endif
+
+ gtk_main ();
+
diff --git a/news/pan-gnome/patches/patch-ag b/news/pan-gnome/patches/patch-ag
new file mode 100644
index 00000000000..e26351a4dae
--- /dev/null
+++ b/news/pan-gnome/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1.1.1 2003/04/15 10:26:35 wiz Exp $
+
+--- pan/text.c.orig Wed Feb 6 22:58:14 2002
++++ pan/text.c
+@@ -21,6 +21,7 @@
+ #include <config.h>
+
+ #include <ctype.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include <glib.h>