summaryrefslogtreecommitdiff
path: root/news/pan/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-09-25 04:58:44 +0000
committerrh <rh@pkgsrc.org>2002-09-25 04:58:44 +0000
commit2fd637794d2f638c55119efff2903c25524ca4d3 (patch)
treead48f7c55b339e7d203825564af130ecb81b1ab4 /news/pan/patches
parentdcb70008c071385084a56e1752d75b714b34ba51 (diff)
downloadpkgsrc-2fd637794d2f638c55119efff2903c25524ca4d3.tar.gz
Update pan to 0.13.0. Updates and bugfixes are too numerous to list here,
but most importantly, pan now uses GTK2 instead of GNOME for its widgets.
Diffstat (limited to 'news/pan/patches')
-rw-r--r--news/pan/patches/patch-aa49
-rw-r--r--news/pan/patches/patch-ac40
2 files changed, 32 insertions, 57 deletions
diff --git a/news/pan/patches/patch-aa b/news/pan/patches/patch-aa
index a4bded92514..828acfc4f4a 100644
--- a/news/pan/patches/patch-aa
+++ b/news/pan/patches/patch-aa
@@ -1,28 +1,43 @@
-$NetBSD: patch-aa,v 1.3 2002/03/01 02:25:36 fredb Exp $
+$NetBSD: patch-aa,v 1.4 2002/09/25 04:58:45 rh Exp $
---- configure.orig Tue Dec 4 23:47:08 2001
+--- configure.orig Sun Aug 18 11:58:03 2002
+++ configure
-@@ -6387,12 +6387,12 @@
+@@ -6166,12 +6166,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}
+- DATADIRNAME=share
++ DATADIRNAME=${LOCALEDIR}
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
CATOBJEXT=.mo
-- DATADIRNAME=lib
-+ DATADIRNAME=${LOCALEDIR}
+- DATADIRNAME=lib
++ DATADIRNAME=${LOCALEDIR}
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- INSTOBJEXT=.mo
-@@ -6659,7 +6659,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
+ INSTOBJEXT=.mo
+@@ -6918,20 +6918,20 @@ fi
+ echo "$as_me:$LINENO: checking for gtkspell-2.0 = 2.0.0" >&5
+ echo $ECHO_N "checking for gtkspell-2.0 = 2.0.0... $ECHO_C" >&6
+
+- if $PKG_CONFIG --exists "gtkspell-2.0 = 2.0.0" ; then
++ if $PKG_CONFIG --exists "gtkspell-2.0 >= 2.0.0" ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ succeeded=yes
+
+ echo "$as_me:$LINENO: checking GTKSPELL_CFLAGS" >&5
+ echo $ECHO_N "checking GTKSPELL_CFLAGS... $ECHO_C" >&6
+- GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 = 2.0.0"`
++ GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 >= 2.0.0"`
+ echo "$as_me:$LINENO: result: $GTKSPELL_CFLAGS" >&5
+ echo "${ECHO_T}$GTKSPELL_CFLAGS" >&6
+
+ echo "$as_me:$LINENO: checking GTKSPELL_LIBS" >&5
+ echo $ECHO_N "checking GTKSPELL_LIBS... $ECHO_C" >&6
+- GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 = 2.0.0"`
++ GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 >= 2.0.0"`
+ echo "$as_me:$LINENO: result: $GTKSPELL_LIBS" >&5
+ echo "${ECHO_T}$GTKSPELL_LIBS" >&6
+ else
diff --git a/news/pan/patches/patch-ac b/news/pan/patches/patch-ac
deleted file mode 100644
index 0457c4983d3..00000000000
--- a/news/pan/patches/patch-ac
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2002/03/01 02:25:37 fredb Exp $
-
---- pan/pan.c.orig Fri Nov 9 10:53:07 2001
-+++ pan/pan.c
-@@ -42,6 +42,24 @@
- #include <pan/thread-watch.h>
- #include <pan/util.h>
-
-+#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 gint save_session (GnomeClient * client,
- gint phase,
- GnomeSaveStyle save_style,
-@@ -196,6 +214,10 @@
- newsrc_import (s, newsrc_filename, newsrc_port_subscribed_only);
- }
- }
-+
-+#ifdef __NetBSD__
-+ gtk_timeout_add (200, pth_nbschedule, NULL);
-+#endif
-
- gtk_main ();
-