head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.44 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.42 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.40 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.38 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.34 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.32 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.30 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.28 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.26 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.24 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.16 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.14 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.12 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.10 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.8 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.4 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.6 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.2 pkgviews-base:1.3 buildlink2:1.2.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.2; locks; strict; comment @# @; 1.4 date 2005.01.03.14.32.32; author wiz; state dead; branches; next 1.3; 1.3 date 2002.05.20.19.09.49; author cjep; state Exp; branches; next 1.2; 1.2 date 2001.12.03.15.37.19; author skrll; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 2001.10.15.22.46.08; author skrll; state Exp; branches; next ; 1.2.2.1 date 2002.06.23.19.05.06; author jlam; state Exp; branches; next ; desc @@ 1.4 log @Remove KDE2 packages (and their dependencies) as proposed on tech-pkg. @ text @$NetBSD: patch-df,v 1.3 2002/05/20 19:09:49 cjep Exp $ --- ksysguard/ksysguardd/FreeBSD/Memory.c.orig Sat Nov 10 18:17:04 2001 +++ ksysguard/ksysguardd/FreeBSD/Memory.c Mon Nov 26 12:00:04 2001 @@@@ -32,7 +32,12 @@@@ #include #include #include +/* Everything post 1.5.x uses uvm/uvm_* includes */ +#if __NetBSD_Version__ >= 105010000 +#include +#else #include +#endif #include "Command.h" #include "Memory.h" @@@@ -82,15 +87,25 @@@@ struct vmtotal p; FILE *file; char buf[256]; + int rc; +#ifndef __NetBSD__ struct kvm_swap kswap[16]; int i, swap_count, hlen, pagesize = getpagesize(); long blocksize; +#endif len = sizeof (Total); +#ifdef __NetBSD__ + mib[0] = CTL_HW; + mib[1] = HW_PHYSMEM; + sysctl(mib, sizeof(mib), &Total, &len, NULL, 0); +#else sysctlbyname("hw.physmem", &Total, &len, NULL, 0); +#endif Total /= 1024; /* Borrowed from pstat */ +#ifndef __NetBSD__ swap_count = kvm_getswapinfo(kd, kswap, 16, SWIF_DEV_PREFIX); getbsize(&hlen, &blocksize); @@@@ -101,24 +116,42 @@@@ SUsed = CONVERT(kswap[0].ksw_used); SFree = CONVERT(kswap[0].ksw_total - kswap[0].ksw_used); } +#endif +#ifdef __NetBSD__ + /* NetBSD doesn't know about vfs.bufspace */ + Buffers = -1; +#else len = sizeof (Buffers); if ((sysctlbyname("vfs.bufspace", &Buffers, &len, NULL, 0) == -1) || !len) Buffers = 0; /* Doesn't work under FreeBSD v2.2.x */ +#endif Buffers /= 1024; +#ifdef __NetBSD__ + /* NetBSD doesn't know about vm.stats */ + Cached = -1; +#else len = sizeof (Cached); if ((sysctlbyname("vm.stats.vm.v_cache_count", &Cached, &len, NULL, 0) == -1) || !len) Cached = 0; /* Doesn't work under FreeBSD v2.2.x */ +#endif Cached *= getpagesize() / 1024; +#ifdef __NetBSD__ + /* No idea where to get them right now. + * I don't want to start kmem-digging... */ + MFree = -1; + Used = -1; +#else /* initializes the pointer to the vmmeter struct */ len = sizeof (p); sysctlbyname("vm.vmmeter", &p, &len, NULL, 0); MFree = p.t_free * getpagesize() / 1024; Used = p.t_arm * getpagesize() / 1024 + Buffers + Cached; +#endif return 0; } @ 1.3 log @Add NetBSD tags. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to KDE 2.2.2 Closes pkg/14728 from Mark Davies . Changes from him with updates from myself. From www.kde.org... The principal improvements over KDE 2.2.1, release two months ago, include: o security-related - SSL certificate loading - symlink vulnerability in .wmrc access by KDM introduced in 2.2 - security problem with eFax (used by klprfax) - potential problem in PAM invocation by KDM - potential harmful side-effect of failed KDM session starts o new features - added support for CodeWeavers' CrossOver plug-in (provides support for QuickTime, etc.) - added support for the wheelmouse for scrolling through the KGhostview PS/PDF viewer component - ability to search for multiple patterns at a time in the file search dialog - debugging multi-threaded applications with KDevelop o improvements/fixes - handling of HTTP links that redirect to FTP - POST using SSL through a proxy and sending headers through proxies - saving of recently-selected files in the file dialog - handling of non-ASCII characters over SMB - toolbar button captions with certain styles - selecting items with the mouse in Konqueror - sorting in Konqueror's textview - saving current settings as a theme in the theme manager - crashes in KMail with certain mails - crash on invoking the KDM chooser - non-Latin languages with KDevelop performance - icon loading optimized - file dialog speedups - stop spinning SMB client processes - handling of large files in Kate @ text @d1 1 @ 1.2.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @a0 1 $NetBSD: patch-df,v 1.3 2002/05/20 19:09:49 cjep Exp $ @ 1.1 log @Update to KDE 2.2.1 With apologies to Al I wouldn't know where to start with a summary of the changes between 2.1 and 2.2.1 - there are just too many. A couple of hopefully static URLS that contain useful information are http://www.kde.org/announcements/changelog2_1to2_2.html http://www.kde.org/announcements/changelog2_2to2_2_1.html Support for a.out for kde{libs,base} added by me. The libtool/a.out combination doesn't like the linking of modules into binaries. A better way of doing this will appear in future versions of KDE/pkgsrc. @ text @d1 6 a6 8 $NetBSD$ --- ksysguard/ksysguardd/FreeBSD/Memory.c.orig Fri Jul 28 00:59:28 2000 +++ ksysguard/ksysguardd/FreeBSD/Memory.c @@@@ -29,7 +29,12 @@@@ #include #include d13 7 a19 7 #include #include #include @@@@ -65,9 +70,16 @@@@ struct vmtotal p; FILE *file; char buf[256]; d21 5 d29 3 a31 3 + mib[0] = CTL_HW; + mib[1] = HW_PHYSMEM; + sysctl(mib, sizeof(mib), &Total, &len, NULL, 0); d37 8 a44 2 /* Q&D hack for swap display. Borrowed from xsysinfo-1.4 */ @@@@ -92,23 +104,40 @@@@ d46 1 a46 1 @