head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.80 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.78 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.76 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.74 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.72 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.70 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.68 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.66 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.64 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.62 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.60 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.58 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.56 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.54 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.52 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.50 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.48 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.46 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.44 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.42 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.40 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.38 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.36 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.32 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.12 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.34 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.30 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.28 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.26 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.24 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.22 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.20 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.18 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.16 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.14 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.10 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.8 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.6 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.4 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.2 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.6.0.72 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.70 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.68 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.66 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.64 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.62 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.60 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.58 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.56 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.54 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.52 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.50 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.48 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.46 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.44 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.42 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.40 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.38 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.36 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.34 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.32 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.30 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.28 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.26 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.24 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.22 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.20 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.18 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.16 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.14 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.12 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.10 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.8 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.6 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.18 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.16 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.14 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.12 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.10 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.8 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.6 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.8 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.6 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.4 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.2 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 pkgsrc-base:1.1.1.2 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2016.04.07.11.54.57; author youri; state Exp; branches; next 1.6; commitid qsueaqH8j1SdNG1z; 1.6 date 2007.11.05.19.06.03; author drochner; state Exp; branches; next 1.5; 1.5 date 2007.09.20.21.12.07; author wiz; state Exp; branches; next 1.4; 1.4 date 2005.05.18.22.02.21; author wiz; state dead; branches; next 1.3; 1.3 date 2004.04.02.12.13.57; author jmmv; state Exp; branches; next 1.2; 1.2 date 98.11.01.23.24.18; author tron; state dead; branches; next 1.1; 1.1 date 98.10.07.13.11.35; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.07.13.11.35; author agc; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2004.04.02.12.10.12; author jmmv; state Exp; branches; next ; desc @@ 1.7 log @Fix Darwin build. @ text @$NetBSD: patch-ac,v 1.6 2007/11/05 19:06:03 drochner Exp $ --- sysdeps/common/mountlist.c.orig 2011-06-01 15:40:47.000000000 +0000 +++ sysdeps/common/mountlist.c @@@@ -105,8 +105,12 @@@@ static struct mount_entry *read_filesyst #define MOUNTED_GETMNTTBL #endif +#ifdef __APPLE__ +#define statvfs statfs +#endif + -#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FreeBSD__) +#if defined (MOUNTED_GETMNTINFO) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) static const char * fstype_to_string (short t) { @@@@ -298,7 +302,11 @@@@ read_filesystem_list (void) #ifdef MOUNTED_GETMNTINFO /* 4.4BSD. */ { +#if defined(STAT_STATVFS) && !defined(__DragonFly__) + struct statvfs *fsp; +#else struct statfs *fsp; +#endif int entries; entries = getmntinfo (&fsp, MNT_NOWAIT); @@@@ -309,7 +317,7 @@@@ read_filesystem_list (void) me = (struct mount_entry *) g_malloc (sizeof (struct mount_entry)); me->me_devname = g_strdup (fsp->f_mntfromname); me->me_mountdir = g_strdup (fsp->f_mntonname); -#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) me->me_type = g_strdup (fsp->f_fstypename); #else me->me_type = g_strdup (fstype_to_string (fsp->f_type)); @@@@ -544,6 +552,7 @@@@ static gboolean ignore_mount_entry(const "devfs", "devpts", "fusectl", + "kernfs", "linprocfs", "mfs", "mntfs", @ 1.6 log @update to 2.20.0 This switches to the new gnome-2.20 branch. pkgsrc notes: -System dependant parts were reorganized upstream, in particular there if a subtree for FreeBSD now, and one for the other BSDs. I didn't pull in the DragonFly patches because I can't decide whether to base them on the freebsd or the rest. -I've changed the NetBSD code to use kinfo_proc2 almost completely. Some vm statistics reporting might be less accurate now because some fields in proc2 seem to be unmaintained by the current kernel (eg ixrss). -Also, some libgtop functions might be able to run in the non-privileged part now, but dealing with this would require even more #ifdefs, so we should consider setting up a private subtree as FreeBSD did. -I didn't verify with older NetBSDs; kvm_getproc2() has been in the tree for quite some time so I hope it will just work without the need for excessive "#if __NetBSD_Version__ > t". @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- sysdeps/common/mountlist.c.orig 2007-04-27 00:27:34.000000000 +0200 d5 2 a6 1 @@@@ -106,7 +106,7 @@@@ static struct mount_entry *read_filesyst d9 4 d19 1 a19 1 @@@@ -298,7 +298,11 @@@@ read_filesystem_list (void) d31 1 a31 1 @@@@ -309,7 +313,7 @@@@ read_filesystem_list (void) d40 1 a40 1 @@@@ -544,6 +548,7 @@@@ static gboolean ignore_mount_entry(const @ 1.5 log @Rename libgtop2 to libgtop, to match upstream name. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2006/02/28 23:48:11 joerg Exp $ d3 1 a3 1 --- sysdeps/common/mountlist.c.orig 2003-10-20 09:29:03.000000000 -0500 d35 8 @ 1.4 log @Remove gnome1 packages except as needed for gnucash. Ok'd by jmmv@@ and rh@@ (gnome 1 maintainers). @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2004/04/02 12:13:57 jmmv Exp $ d3 4 a6 3 --- include/glibtop/procstate.h.orig Tue Feb 23 06:43:11 1999 +++ include/glibtop/procstate.h Sun Aug 29 19:50:34 1999 @@@@ -36,6 +36,13 @@@@ a7 1 #define GLIBTOP_MAX_PROC_STATE 4 d9 6 a14 8 +#define GLIBTOP_PROCESS_RUNNING 1 +#define GLIBTOP_PROCESS_INTERRUPTIBLE 2 +#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 4 +#define GLIBTOP_PROCESS_ZOMBIE 8 +#define GLIBTOP_PROCESS_STOPPED 16 +#define GLIBTOP_PROCESS_SWAPPING 32 + typedef struct _glibtop_proc_state glibtop_proc_state; d16 19 a34 1 /* Name and status */ @ 1.3 log @Finish move of libgtop from devel to sysutils, incomplete due to conflicts... So I now see the package was previously here; the reason for the move is to lighten a bit the devel category, which has lots of packages. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 1999/08/30 08:54:03 jlam Exp $ @ 1.2 log @Move "libgtop" package to "devel" category. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 1998/10/07 13:11:35 agc Exp $ d3 5 a7 6 is not available on NetBSD. --- sysdeps/bsd/glibtop_machine.h 1998/10/06 16:21:44 1.1 +++ sysdeps/bsd/glibtop_machine.h 1998/10/06 16:21:49 @@@@ -31,7 +31,10 @@@@ #include d9 6 a14 1 #include d16 1 a16 5 +#ifdef __FreeBSD__ #include +#endif __BEGIN_DECLS d18 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of libgtop-0.26 into the Packages Collection. This is part of the GNOME project, and is used to retrieve system information, such as CPU usage etc. This is not yet complete, but is functional to the point where the whole thing compiles and installs. Someone else can pick this up and run with it now. @ text @@ 1.1.1.2 log @Move libgtop to the sysutils category, coming from devel. This is version 1.0.13nb4. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 1999/08/30 08:54:03 jlam Exp $ d3 6 a8 3 --- include/glibtop/procstate.h.orig Tue Feb 23 06:43:11 1999 +++ include/glibtop/procstate.h Sun Aug 29 19:50:34 1999 @@@@ -36,6 +36,13 @@@@ d10 5 a14 1 #define GLIBTOP_MAX_PROC_STATE 4 d16 1 a16 8 +#define GLIBTOP_PROCESS_RUNNING 1 +#define GLIBTOP_PROCESS_INTERRUPTIBLE 2 +#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 4 +#define GLIBTOP_PROCESS_ZOMBIE 8 +#define GLIBTOP_PROCESS_STOPPED 16 +#define GLIBTOP_PROCESS_SWAPPING 32 + typedef struct _glibtop_proc_state glibtop_proc_state; a17 1 /* Name and status */ @