head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.52 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.50 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.48 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q2:1.11.0.46 pkgsrc-2011Q2-base:1.11 pkgsrc-2009Q4:1.11.0.44 pkgsrc-2009Q4-base:1.11 pkgsrc-2008Q4:1.11.0.42 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.40 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.38 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.36 pkgsrc-2008Q2-base:1.11 pkgsrc-2008Q1:1.11.0.34 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.32 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.30 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.28 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.26 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.24 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.22 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.20 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.18 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.11.0.16 pkgsrc-2005Q4-base:1.11 pkgsrc-2005Q3:1.11.0.14 pkgsrc-2005Q3-base:1.11 pkgsrc-2005Q2:1.11.0.12 pkgsrc-2005Q2-base:1.11 pkgsrc-2005Q1:1.11.0.10 pkgsrc-2005Q1-base:1.11 pkgsrc-2004Q4:1.11.0.8 pkgsrc-2004Q4-base:1.11 pkgsrc-2004Q3:1.11.0.6 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.4 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.11.0.2 pkgsrc-2004Q1-base:1.11 pkgsrc-2003Q4:1.10.0.10 pkgsrc-2003Q4-base:1.10 netbsd-1-6-1:1.10.0.6 netbsd-1-6-1-base:1.10 netbsd-1-6:1.10.0.8 netbsd-1-6-RELEASE-base:1.10 pkgviews:1.10.0.4 pkgviews-base:1.10 buildlink2:1.10.0.2 buildlink2-base:1.10 netbsd-1-5-PATCH003:1.10 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.9 netbsd-1-4-PATCH003:1.9 netbsd-1-4-PATCH002:1.9 comdex-fall-1999:1.7 netbsd-1-4-PATCH001:1.7 netbsd-1-4-RELEASE:1.6 netbsd-1-3-PATCH003:1.5 FreeBSD-current-1997-11-29:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.11 date 2004.01.10.22.43.09; author wiz; state dead; branches; next 1.10; 1.10 date 2001.09.10.08.23.19; author skrll; state Exp; branches; next 1.9; 1.9 date 99.12.11.23.21.51; author jdolecek; state Exp; branches; next 1.8; 1.8 date 99.11.12.04.50.00; author hubertf; state Exp; branches; next 1.7; 1.7 date 99.06.04.00.05.51; author tron; state Exp; branches; next 1.6; 1.6 date 99.03.04.22.44.42; author tron; state Exp; branches; next 1.5; 1.5 date 98.08.07.11.18.06; author agc; state Exp; branches; next 1.4; 1.4 date 98.06.25.23.27.51; author tron; state Exp; branches; next 1.3; 1.3 date 98.03.21.01.54.05; author tron; state dead; branches; next 1.2; 1.2 date 97.12.29.03.58.16; author hubertf; state Exp; branches; next 1.1; 1.1 date 97.12.29.03.54.29; author hubertf; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 97.12.29.03.54.29; author hubertf; state Exp; branches; next ; desc @@ 1.11 log @Remove KDE1 packages (and dependencies) from pkgsrc, since the KDE authors have dropped support for it and have not been backporting security fixes. As proposed on tech-pkg numerous times (last one: Dec 27 2003). @ text @$NetBSD: patch-ad,v 1.10 2001/09/10 08:23:19 skrll Exp $ --- kcontrol/info/memory.cpp.orig Fri Jul 23 22:56:59 1999 +++ kcontrol/info/memory.cpp @@@@ -30,6 +30,23 @@@@ freeMem->setAutoResize(TRUE); freeMem->setFont(courierFont); +#ifdef __NetBSD__ + activeMem = new QLabel(klocale->translate("Active memory"), this); + activeMem->move(STARTX,STARTY+2*DY); + activeMem->setAutoResize(TRUE); + activeMem = new QLabel("0k", this); + activeMem->move(STARTX2,STARTY+2*DY); + activeMem->setAutoResize(TRUE); + activeMem->setFont(courierFont); + + inactiveMem = new QLabel(klocale->translate("Inactive memory"), this); + inactiveMem->move(STARTX,STARTY+3*DY); + inactiveMem->setAutoResize(TRUE); + inactiveMem = new QLabel("0k", this); + inactiveMem->move(STARTX2,STARTY+3*DY); + inactiveMem->setAutoResize(TRUE); + inactiveMem->setFont(courierFont); +#else sharedMem = new QLabel(i18n("Shared memory"), this); sharedMem->move(STARTX,STARTY+2*DY); sharedMem->setAutoResize(TRUE); @@@@ -45,6 +62,7 @@@@ bufferMem->move(STARTX2,STARTY+3*DY); bufferMem->setAutoResize(TRUE); bufferMem->setFont(courierFont); +#endif swapMem = new QLabel(i18n("Swap memory"), this); swapMem->move(STARTX,STARTY+5*DY); @@@@ -88,6 +106,8 @@@@ #include "memory_sgi.cpp" #elif __FreeBSD__ #include "memory_fbsd.cpp" +#elif __NetBSD__ +#include "memory_netbsd.cpp" #elif hpux #include "memory_hpux.cpp" #else @ 1.10 log @Normalise patch format. patchdiff now works. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @today's KDE pullups @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.8 1999/11/12 04:50:00 hubertf Exp $ d3 2 a4 5 Pulled into KDE, though needed serious rework, as the internal interface changed in KDE2. jdolecek 1999-12-11 --- ./kcontrol/info/memory.cpp Fri Jul 23 23:56:59 1999 +++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kcontrol/info/memory.cpp Fri Nov 12 05:10:32 1999 @ 1.8 log @Fix patch fuzz insanity. @ text @d1 1 a1 1 $NetBSD$ d3 3 @ 1.7 log @Update "kdebase" package to version 1.1.1. @ text @d3 43 a45 20 --- kdm/Makefile.in.orig Wed Apr 28 17:20:50 1999 +++ kdm/Makefile.in Fri Jun 4 01:01:03 1999 @@@@ -102,7 +102,7 @@@@ LIBXDMCP = @@LIBXDMCP@@ LIBZ = @@LIBZ@@ LIB_KAB = @@LIB_KAB@@ -LIB_KDECORE = @@LIB_KDECORE@@ +LIB_KDECORE = @@prefix@@/lib/libkdecore.a -lXext $(LIB_QT) LIB_KDEUI = @@LIB_KDEUI@@ LIB_KDEUTIL = @@LIB_KDEUTIL@@ LIB_KFILE = @@LIB_KFILE@@ @@@@ -234,7 +234,7 @@@@ LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@@ -CFLAGS = @@CFLAGS@@ +CFLAGS = @@CFLAGS@@ -DPREFIX=\"${prefix}\" COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) @ 1.6 log @Stop "kdm" from core dumping unter 1.3/1.3.x. @ text @d3 3 a5 3 --- kdm/Makefile.in.orig Sat Feb 6 18:49:17 1999 +++ kdm/Makefile.in Thu Mar 4 21:30:30 1999 @@@@ -100,7 +100,7 @@@@ d14 4 a17 4 @@@@ -255,7 +255,7 @@@@ CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) CXXLINK = $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@@ d20 3 a22 3 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ @ 1.5 log @Add NetBSD RCS Ids. @ text @d3 12 a14 3 --- kdm/Makefile.in.orig Sun Apr 19 01:22:07 1998 +++ kdm/Makefile.in Fri Jun 26 00:27:10 1998 @@@@ -217,7 +217,7 @@@@ @ 1.4 log @Get "kdm" to work properly. @ text @d1 2 @ 1.3 log @Update to KDE Beta 3 'Huesten'. @ text @d1 11 a11 119 --- kcontrol/Makefile.in.orig Sun Nov 23 01:03:11 1997 +++ kcontrol/Makefile.in Thu Dec 18 01:17:52 1997 @@@@ -307,7 +307,7 @@@@ install-data-local: $(mkinstalldirs) $(kde_bindir) - $(INSTALL_PROGRAM) kcontrol $(kde_bindir)/kcontrol + $(INSTALL_SCRIPT) kcontrol $(kde_bindir)/kcontrol uninstall-local: rm -f $(kde_bindir)/kcontrol --- kcontrol/info/memory.cpp.orig Thu Dec 18 00:43:43 1997 +++ kcontrol/info/memory.cpp Thu Dec 18 00:47:50 1997 @@@@ -81,6 +81,8 @@@@ #include "memory_sgi.cpp" #elif __FreeBSD__ #include "memory_fbsd.cpp" +#elif __NetBSD__ +#include "memory_nbsd.cpp" #else // Default for unsupported systems --- kcontrol/info/processor.cpp.orig Thu Dec 18 00:56:53 1997 +++ kcontrol/info/processor.cpp Thu Dec 18 00:58:27 1997 @@@@ -13,6 +13,8 @@@@ #include "processor_sgi.cpp" #elif __FreeBSD__ #include "processor_fbsd.cpp" +#elif __NetBSD__ +#include "processor_nbsd.cpp" #else // Default for unsupportet systems --- /dev/null Thu Dec 18 00:28:16 1997 +++ kcontrol/info/memory_nbsd.cpp Thu Dec 18 00:53:11 1997 @@@@ -0,0 +1,25 @@@@ +#include +#include +#include + +void KMemoryWidget::update() +{ + int mib[2],memory; size_t len;char blah[10]; + + mib[0]=CTL_HW;mib[1]=HW_PHYSMEM; + len=sizeof(memory); + sysctl(mib,2,&memory,&len,NULL,0); + + snprintf(blah,10,"%d",memory); + // Numerical values + totalMem->setText(format(memory)); + /* To: questions@@freebsd.org + Anyone have any ideas on how to calculate this */ + freeMem->setText("Unknown"); + sharedMem->setText(("Unknown")); + bufferMem->setText(("Unknown")); + /* To count swap space, you'd need to -lkvm kcc, and make it suid root, + let's not do that */ + swapMem->setText(("Unknown")); + freeSwapMem->setText(("Unknown")); +} --- /dev/null Thu Dec 18 00:28:16 1997 +++ kcontrol/info/processor_nbsd.cpp Thu Dec 18 01:00:48 1997 @@@@ -0,0 +1,55 @@@@ +#include +#include +#include +#include + +/* stdio.h has NULL, but also a lot of extra cruft */ +#ifndef NULL +#define NULL 0L +#endif + +/* Again avoid the cruft in stdlib.h since malloc() isn't gonna change + too often */ +/* void *malloc __P((size_t)); */ + +KProcessorWidget::KProcessorWidget(QWidget *parent, const char *name) + : KConfigWidget(parent, name) +{ + QString str; + + /* Stuff for sysctl */ + char *buf,*mhz,*cpustring; + int mib[2],machspeed; + size_t len; + /* */ + + cpustring=(char *)malloc(128); + lBox = new QListBox(this); + lBox->setGeometry(20,20,400,280); + lBox->setFont(QFont("Courier")); + + mib[0] = CTL_HW; + mib[1] = HW_MODEL; + sysctl(mib,2,NULL,&len,NULL,0); + buf=(char*)malloc(len); + sysctl(mib,2,buf,&len,NULL,0); + /* Get the CPU speed, heh, heh, undocumented sysctls rule + but I dunno if this works on 2.2 machines. */ + mib[0] = CTL_MACHDEP; mib[1] = 107; + len=sizeof(machspeed); + sysctl(mib,2,&machspeed,&len,NULL,0); + /* Format the integer into correct xxx.xx MHz */ + mhz=(char *)malloc(20); + snprintf(mhz,20,"%d.%02d",(machspeed+4999)/1000000, + ((machspeed+4999)/10000)%100); + if (strcmp(mhz,"0.0")==0) + /* We dunno how fast it's running */ + snprintf(cpustring,128,"%s, unknown speed",buf); + else + snprintf(cpustring,128,"%s running at %s MHz",buf,mhz); + /* Put everything in the listbox */ + lBox->insertItem(buf); + /* Clean up after ourselves */ + free(mhz); free(cpustring); +} + @ 1.2 log @Update for NetBSD, by boquist@@cs.chalmers.se. @ text @@ 1.1 log @Initial revision @ text @d1 119 a119 11 *** kwm/main.C~ Sat Dec 6 11:19:12 1997 --- kwm/main.C Sat Dec 6 11:19:14 1997 *************** *** 326,329 **** --- 326,331 ---- static int NumLockMask = 0; if (!NumLockMask){ + + if (!XKeysymToKeycode(qt_xdisplay(), keysym)) return; XModifierKeymap* xmk = XGetModifierMapping(qt_xdisplay()); int i; @ 1.1.1.1 log @Base modules for the KDE integrated X11 desktop @ text @@