head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.42 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.40 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.38 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.36 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.34 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.32 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.30 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.28 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.26 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.24 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.22 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.20 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.18 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.16 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.14 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.12 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.10 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.8 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.6 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.4 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.2 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.7.0.20 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.18 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.16 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.14 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.12 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.10 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.6 netbsd-1-5-RELEASE:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.2; locks; strict; comment @# @; 1.8 date 2005.05.18.22.02.22; author wiz; state dead; branches; next 1.7; 1.7 date 2002.03.24.20.03.37; author rh; state Exp; branches; next 1.6; 1.6 date 2000.06.21.00.47.45; author jlam; state Exp; branches; next 1.5; 1.5 date 2000.05.30.19.39.22; author drochner; state Exp; branches; next 1.4; 1.4 date 99.11.14.19.00.01; author tron; state Exp; branches; next 1.3; 1.3 date 99.08.15.14.58.59; author tron; state Exp; branches; next 1.2; 1.2 date 99.07.15.18.09.26; author chopps; state Exp; branches; next 1.1; 1.1 date 99.07.15.17.53.56; author chopps; state Exp; branches; next ; desc @@ 1.8 log @Remove gnome1 packages except as needed for gnucash. Ok'd by jmmv@@ and rh@@ (gnome 1 maintainers). @ text @$NetBSD: patch-ag,v 1.7 2002/03/24 20:03:37 rh Exp $ --- help-browser/Makefile.in.orig Sun Jan 27 09:24:00 2002 +++ help-browser/Makefile.in @@@@ -727,7 +727,7 @@@@ @@XML_I18N_MERGE_DESKTOP_RULE@@ install-exec-local: - $(INSTALL_PROGRAM) $(top_srcdir)/help-browser/gnome-download \ + $(INSTALL_SCRIPT) $(top_srcdir)/help-browser/gnome-download \ $(top_srcdir)/help-browser/gnome-convert $(DESTDIR)$(bindir)/ # Tell versions [3.59,3.63) of GNU make to not export all variables. @ 1.7 log @Update gnome-core to 1.4.0.6. Changes are bugfixes only. While at it, fix localstatedir to prevent scrollkeeper files from being installed in /var/gnome (PR pkg/13057). @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @USE_LIBTOOL instead of PKG_LIBTOOL. Fix some warts in the patches. @ text @d3 4 a6 4 --- help-browser/Makefile.in.orig Tue May 23 05:25:07 2000 +++ help-browser/Makefile.in Tue Jun 20 20:07:41 2000 @@@@ -558,7 +558,7 @@@@ help-caller.o gnome-help-browser.o: help-browser.h @ 1.5 log @update to 1.2.0 "many fixes and enhancements" @ text @d1 5 a5 3 --- help-browser/Makefile.in.orig Tue May 23 11:25:07 2000 +++ help-browser/Makefile.in Tue May 30 21:05:46 2000 @@@@ -558,8 +558,9 @@@@ a9 1 - $(top_srcdir)/help-browser/gnome-convert $(DESTDIR)$(bindir)/ d11 1 a11 2 + $(top_srcdir)/help-browser/gnome-convert \ + $(DESTDIR)$(bindir)/ a13 1 # Otherwise a system limit (for SysV at least) may be exceeded. @ 1.4 log @Only enable APM support on platforms which support it. Fixes pkg/8795 by R. C. Dowdeswell. @ text @d1 14 a14 18 $NetBSD$ --- applets/battery/read-battery.h.orig Tue Aug 24 21:41:15 1999 +++ applets/battery/read-battery.h Sun Nov 14 19:04:44 1999 @@@@ -18,7 +18,12 @@@@ #include #include #define APMDEV "/dev/apm" -#elif defined(__NetBSD__) || defined(__OpenBSD__) +#elif defined(__OpenBSD__) +#include +#include +#include +#define APMDEV "/dev/apm" +#elif defined(__NetBSD_APM__) #include #include #include @ 1.3 log @Use APM only on ports which really support it. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 1999/07/15 18:09:26 chopps Exp $ d3 12 a14 7 --- applets/battery/read-battery.c.orig Thu Jul 15 13:59:20 1999 +++ applets/battery/read-battery.c Thu Jul 15 14:41:09 1999 @@@@ -185,7 +185,44 @@@@ close(fd); return TRUE; -#else /* ! ( __linux__ || __FreeBSD__) */ d16 3 a18 40 + + struct apm_power_info aip; + int fd; + + fd = open(APMDEV, O_RDONLY); + if (fd == -1) + { + g_error (_("Cannot open /dev/apm; can't get data.")); + return FALSE; + } + + if (ioctl(fd, APM_IOC_GETPOWER, &aip) == -1) { + g_error(_("ioctl failed on /dev/apm.")); + return FALSE; + } + + *hours_remaining = aip.minutes_left / 60; + aip.minutes_left %= 60; + *minutes_remaining = aip.minutes_left; + + /* if APM is not turned on */ + if (aip.battery_state == APM_BATT_UNKNOWN) + { + g_error(_("APM battery state unknown! Cannot read battery charge information.")); + } + if (aip.ac_state == APM_AC_UNKNOWN) + { + g_error(_("APM ac state is unknown! Cannot read battery charge information.")); + } + + *ac_online = aip.ac_state == APM_AC_ON; + *percentage = aip.battery_life; + + close(fd); + return TRUE; + +#else /* ! ( __linux__ || __FreeBSD__ || __NetBSD_APM__ ) */ /* Assume always connected to power. */ *ac_online = 1; @ 1.2 log @add netbsd rcs ids @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +#elif defined(__NetBSD__) d47 1 a47 1 +#else /* ! ( __linux__ || __FreeBSD__ || __NetBSD__ ) */ @ 1.1 log @add patches for battery applet @ text @d1 2 @