head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.54 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.52 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.50 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.48 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.46 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.44 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.42 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.40 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.38 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.36 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.34 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.32 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.30 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.28 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.6.0.2 netbsd-1-6-1-base:1.6 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2003.04.15.10.28.46; author wiz; state dead; branches; next 1.6; 1.6 date 2002.10.27.08.31.54; author rh; state Exp; branches; next 1.5; 1.5 date 2002.10.02.03.08.51; author rh; state Exp; branches; next 1.4; 1.4 date 2002.09.25.04.58.45; author rh; state dead; branches; next 1.3; 1.3 date 2002.03.01.02.25.37; author fredb; state Exp; branches; next 1.2; 1.2 date 2001.10.15.07.24.39; author rh; state Exp; branches; next 1.1; 1.1 date 2001.04.24.14.14.09; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.04.24.14.14.09; author rh; state Exp; branches; next ; desc @@ 1.7 log @Move gtk2-pan to pan directory. @ text @$NetBSD: patch-ac,v 1.6 2002/10/27 08:31:54 rh Exp $ --- pan/pan.c.orig Mon Jul 15 04:04:34 2002 +++ pan/pan.c @@@@ -43,6 +43,27 @@@@ #include #include +#ifdef __NetBSD__ +#include + +#ifdef _PTH_PTHREAD_H_ +#include + +/* + * 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 (); @ 1.6 log @Check for pth, not NetBSD, so that this compiles with native threads. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Back out pan update and revert back to 0.11.2nb2. It appears that PTL2 is too unstable to warrant a wholesale update from 0.11 (gnome) to 0.13 (gtk2) pan-0.13.0 to be re-imported as gtk2-pan. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2002/03/01 02:25:37 fredb Exp $ d3 1 a3 1 --- pan/pan.c.orig Fri Nov 9 10:53:07 2001 d5 1 a5 1 @@@@ -42,6 +42,24 @@@@ d10 3 a13 1 +#include d16 1 a16 1 + * NetBSD uses non-preemptive pth, so we yield the processor periodically d27 1 d33 1 a33 1 @@@@ -196,6 +214,10 @@@@ d38 1 a38 1 +#ifdef __NetBSD__ @ 1.4 log @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. @ text @@ 1.3 log @Update Pan to 0.11.2. Literally *hundreds* of bug fixes and refinements documented in the "NEWS" file since the release of 0.10.0.93, only four months ago! Still point-oh, but more usable than ever before. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2001/10/15 07:24:39 rh Exp $ @ 1.2 log @Update pan to 0.10.0.92. Changes are too many to list in detail, but include tons of bugfixes and feature updates. For a detailled list, please see http://pan.rebelbase.com/#010092 @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- pan/pan.c.orig Thu Oct 4 23:39:24 2001 d30 1 a30 1 @@@@ -198,6 +216,10 @@@@ @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- pan/pan.c.orig Tue Mar 20 03:14:26 2001 d5 3 a7 3 @@@@ -117,6 +117,24 @@@@ }; d27 6 a32 6 static int pan_post_gtkmain_init (gpointer null) { @@@@ -234,6 +252,11 @@@@ pan_init (); gtk_widget_show_all (Pan.window); a33 1 + @ 1.1.1.1 log @Initial import of pan-0.9.6, an advanced, threaded Gnome newsreader. @ text @@