summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz>2004-01-14 15:03:53 +0000
committerwiz <wiz>2004-01-14 15:03:53 +0000
commit7e3e90597fb09d729d133e9fb948658325b0abe4 (patch)
tree1a65635c6f52dd7b930d08180a03eb10aeb774b7 /sysutils
parentc4b848faf476aee51d741190b8a6c2f7fb58e4e8 (diff)
downloadpkgsrc-7e3e90597fb09d729d133e9fb948658325b0abe4.tar.gz
Remove some more (not yet even buildlinked) KDE1 packages,
since KDE1 has been removed. Noted by agc.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile3
-rw-r--r--sysutils/kapm/DESCR12
-rw-r--r--sysutils/kapm/Makefile29
-rw-r--r--sysutils/kapm/PLIST21
-rw-r--r--sysutils/kapm/distinfo8
-rw-r--r--sysutils/kapm/patches/patch-aa124
-rw-r--r--sysutils/kapm/patches/patch-ab30
-rw-r--r--sysutils/kapm/patches/patch-ac29
-rw-r--r--sysutils/kapm/patches/patch-ad20
9 files changed, 1 insertions, 275 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 0ed2a9d891c..0ff58126ad8 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.212 2004/01/10 22:43:07 wiz Exp $
+# $NetBSD: Makefile,v 1.213 2004/01/14 15:03:54 wiz Exp $
COMMENT= System utilities
@@ -79,7 +79,6 @@ SUBDIR+= hfsutils
SUBDIR+= i2ocfg
SUBDIR+= idesk
SUBDIR+= isapnptools
-SUBDIR+= kapm
SUBDIR+= kdirstat
SUBDIR+= koncd
SUBDIR+= lambd
diff --git a/sysutils/kapm/DESCR b/sysutils/kapm/DESCR
deleted file mode 100644
index 4e30f10dfad..00000000000
--- a/sysutils/kapm/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-KAPM is a docking KDE utility that allows you to monitor your laptop's
-battery status and perform other APM (advanced power management)
-tasks.
-
- o Panel Docking KAPM displays a small bar on your panel depicting the
- status of your battery
-
- o Status Notification KAPM can optionally tell you when your battery
- is done charging or running low
-
- o Power Managment KAPM can suspend, standby, or power off your
- computer
diff --git a/sysutils/kapm/Makefile b/sysutils/kapm/Makefile
deleted file mode 100644
index 65278958deb..00000000000
--- a/sysutils/kapm/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.20 2003/12/26 19:55:55 wiz Exp $
-#
-
-DISTNAME= kapm-0.3.1
-PKGREVISION= 2
-CATEGORIES= sysutils x11 kde
-MASTER_SITES= ftp://bodnar42.dhs.org/pub/kapm/
-
-MAINTAINER= hubertf@NetBSD.org
-HOMEPAGE= http://bodnar42.dhs.org/kapm/
-COMMENT= Monitor a laptop's battery status and perform other APM tasks
-
-.if !exists(/usr/include/machine/apmvar.h)
-PKG_SKIP_REASON= "APM is not available for ${MACHINE_PLATFORM}"
-.endif
-
-DEPENDS+= kdebase-1.1.2nb4:../../x11/kdebase
-
-USE_X11BASE= YES # to get things near KDE
-GNU_CONFIGURE= YES
-USE_LIBTOOL= yes
-LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-
-EVAL_PREFIX+= QT1DIR=qt1
-CONFIGURE_ENV+= QTDIR=${QT1DIR}/qt1
-CONFIGURE_ENV+= MOC=${QT1DIR}/qt1/bin/moc
-CONFIGURE_ARGS+=--with-qt-dir=${QT1DIR}/qt1
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/kapm/PLIST b/sysutils/kapm/PLIST
deleted file mode 100644
index 0872417e07b..00000000000
--- a/sysutils/kapm/PLIST
+++ /dev/null
@@ -1,21 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:19 zuntum Exp $
-bin/kapm
-share/doc/kde/HTML/en/kapm/index-1.html
-share/doc/kde/HTML/en/kapm/index-2.html
-share/doc/kde/HTML/en/kapm/index-3.html
-share/doc/kde/HTML/en/kapm/index-4.html
-share/doc/kde/HTML/en/kapm/index.html
-share/doc/kde/HTML/en/kapm/index-5.html
-share/doc/kde/HTML/en/kapm/logotp3.gif
-share/doc/kde/HTML/en/kapm/index-6.html
-share/kde/applnk/System/kapm.kdelnk
-share/kde/icons/kapm.xpm
-share/kde/icons/mini/kapm.xpm
-share/kde/icons/kapm_critical.xpm
-share/kde/icons/kapm_high.xpm
-share/kde/icons/kapm_low.xpm
-share/kde/icons/kapm_unknown.xpm
-share/kde/icons/kapm_charging.gif
-share/kde/locale/de/LC_MESSAGES/kapm.mo
-share/kde/locale/ja/LC_MESSAGES/kapm.mo
-@dirrm share/doc/kde/HTML/en/kapm
diff --git a/sysutils/kapm/distinfo b/sysutils/kapm/distinfo
deleted file mode 100644
index 8d6a556fa0c..00000000000
--- a/sysutils/kapm/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.4 2002/07/18 12:48:51 agc Exp $
-
-SHA1 (kapm-0.3.1.tar.gz) = c667582a076ce0185d3f909a243e4ec7ee69ba93
-Size (kapm-0.3.1.tar.gz) = 191413 bytes
-SHA1 (patch-aa) = 1b77d78f74ff21d180313b803741669927b8b1fd
-SHA1 (patch-ab) = b78aed68c97fa0c34025b06ae3ab1c5b2f03c0ba
-SHA1 (patch-ac) = fe38363be3b1bef59145f9c3a51acb47c86f47a7
-SHA1 (patch-ad) = cdfd6ada3729e0cbe621dc41e1b2c275aac6d0bf
diff --git a/sysutils/kapm/patches/patch-aa b/sysutils/kapm/patches/patch-aa
deleted file mode 100644
index 86bdb47272b..00000000000
--- a/sysutils/kapm/patches/patch-aa
+++ /dev/null
@@ -1,124 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2002/07/18 12:48:51 agc Exp $
-
---- kapm/apm.cpp.orig Wed Oct 20 06:19:57 1999
-+++ kapm/apm.cpp
-@@ -10,6 +10,14 @@
- 6) Its packaged as an object
- */
-
-+#ifdef __NetBSD__
-+# include <assert.h>
-+# include <fcntl.h>
-+# include <sys/ioctl.h>
-+# include <machine/apmvar.h>
-+# include <string.h>
-+# include <unistd.h>
-+#endif /* __NetBSD__ */
- #include <stdio.h>
- #include <stdlib.h>
- #include "apm.h"
-@@ -29,6 +37,7 @@
-
- int apm::check() {
- #ifndef DEBUG
-+#if defined(Linux)
- FILE *str;
-
- if (!(str = fopen( APM_PROC, "r" )))
-@@ -43,6 +52,15 @@
-
- if (!(i.apm_flags & APM_32_BIT_SUPPORT))
- return 3;
-+#elif defined(__NetBSD__)
-+ int fd;
-+
-+ fd = open(APM_PROC, O_RDONLY);
-+ if (fd == -1)
-+ return 1;
-+
-+ return 0;
-+#endif /* Linux/__NetBSD__ */
- #else
- // Do initial kernel support emulation setup
-
-@@ -62,6 +80,7 @@
- void apm::read()
- {
- #ifndef DEBUG
-+#ifdef Linux
- FILE *str;
- char buffer[64];
-
-@@ -71,21 +90,61 @@
-
- sscanf( buffer, "%s %d.%d %x %x %x %x %d%% %d %s\n",
- (char *)i.driver_version,
-- &i.apm_version_major,
-- &i.apm_version_minor,
-- &i.apm_flags,
-- &i.ac_line_status,
-- (unsigned int*)(&i.battery_status),
-- &i.battery_flags,
-- (int*)(&i.battery_percentage),
-- &i.battery_time,
-- buffer ); // Scribble on our own buffer so save memories
-- i.using_minutes = (buffer[0] == *"m");
-+ &i.apm_version_major, /* HF: unused */
-+ &i.apm_version_minor, /* HF: unused */
-+ &i.apm_flags, /* HF: ? */
-+ &i.ac_line_status, /* HF: ac_state */
-+ (unsigned int*)(&i.battery_status), /* HF: battery_state */
-+ &i.battery_flags, /* HF: ? */
-+ (int*)(&i.battery_percentage), /* HF: battery_life */
-+ &i.battery_time, /* HF: minutes_left? */
-+ buffer ); // Scribble on our own buffer so save memories
-+ i.using_minutes = (buffer[0] == *"m"); /* HF: 1 */
-
- // Emulate a percentage if none is given
- if ((i.battery_percentage == -1) && (i.battery_status != -1))
- i.battery_percentage = (3 - i.battery_status) * 25;
--
-+
-+#elif defined(__NetBSD__)
-+
-+ int fd, rc;
-+ struct apm_power_info apm_pi;
-+
-+ fd = open(APM_PROC, O_RDONLY);
-+ assert(fd != -1);
-+ memset(&apm_pi, 0, sizeof(apm_pi));
-+ rc = ioctl(fd, APM_IOC_GETPOWER, &apm_pi);
-+ assert(rc != -1);
-+ close(fd);
-+
-+ (void) memset(i.driver_version, 0, sizeof(i.driver_version));
-+ (void) strcpy(i.driver_version, "NetBSD");
-+
-+ i.apm_version_major = 1;
-+ i.apm_version_minor = 1; /* May be 0 with APM_V10_ONLY
-+ - how to find out ? */
-+ i.apm_flags = 0; /* what's that? */
-+ i.ac_line_status = apm_pi.ac_state; /* one of APM_AC_OFF, APM_AC_ON,
-+ APM_AC_BACKUP, or
-+ APM_AC_UNKNOWN */
-+ i.battery_status = apm_pi.battery_state; /* one of APM_BATT_HIGH,
-+ APM_BATT_LOW,
-+ APM_BATT_CRITICAL,
-+ APM_BATT_CHARGING, or
-+ APM_BATT_UNKNOWN */
-+ i.battery_flags = 0; /* what's that? */
-+ i.battery_percentage = apm_pi.battery_life; /* percentage estimated
-+ remaining normal
-+ battery life (or 0 if
-+ the BIOS cannot provide
-+ an estimate) */
-+ i.battery_time = apm_pi.minutes_left; /* estimated remaining lifetime
-+ (or 0 if the BIOS cannot
-+ provide an estimate) */
-+ i.using_minutes = 1;
-+
-+#endif /* Linux, __NetBSD__ */
-+
- #else
- static char percent = 0;
-
diff --git a/sysutils/kapm/patches/patch-ab b/sysutils/kapm/patches/patch-ab
deleted file mode 100644
index 0bb3334a43a..00000000000
--- a/sysutils/kapm/patches/patch-ab
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 1999/11/02 21:54:47 hubertf Exp $
-
---- kapm/apm.h.orig Tue Nov 2 06:27:22 1999
-+++ kapm/apm.h Tue Nov 2 06:31:39 1999
-@@ -1,6 +1,7 @@
- /* apm.h -- Header file for sample APM interface routines
- * Created: Mon Jan 8 11:40:50 1996 by r.faith@ieee.org
- * Revised: Mon Aug 2 23:57:43 1999 by bodnar42@bodnar42.dhs.org
-+ * NetBSD: Tue Nov 2 06:30:40 1999 by hubertf@netbsd.org
- * Copyright 1996 Rickard E. Faith (r.faith@ieee.org)
- *
- * This library is free software; you can redistribute it and/or modify it
-@@ -22,10 +23,14 @@
- #ifndef APM_H
- #define APM_H
-
--#define APM_PROC "/proc/apm"
--#define APM_DEVICE "/dev/apm_bios"
-+#if defined(Linux)
-+# define APM_PROC "/proc/apm"
-+# define APM_DEVICE "/dev/apm_bios"
-
--#define APM_32_BIT_SUPPORT 0x0002
-+# define APM_32_BIT_SUPPORT 0x0002
-+#elif defined(__NetBSD__)
-+# define APM_PROC "/dev/apm"
-+#endif /* Linux/__NetBSD__ */
-
- typedef struct apm_info {
- char driver_version[10];
diff --git a/sysutils/kapm/patches/patch-ac b/sysutils/kapm/patches/patch-ac
deleted file mode 100644
index 04ea9425c5e..00000000000
--- a/sysutils/kapm/patches/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ac,v 1.2 1999/11/11 01:16:59 hubertf Exp $
-
---- kapm/kapm.cpp.orig Tue Nov 2 06:26:59 1999
-+++ kapm/kapm.cpp Tue Nov 2 06:27:36 1999
-@@ -85,15 +85,23 @@
- }
-
- void Kapm::slotSuspend() {
-+#ifdef __NetBSD__
-+ suApp("/usr/sbin/apm -z", i18n("suspend"));
-+#else /* !__NetBSD__ */
- suApp("apm -s", i18n("suspend"));
-+#endif /* __NetBSD__ */
- }
-
- void Kapm::slotStandby() {
-- suApp("apm -S", i18n("standby"));
-+ suApp("/usr/sbin/apm -S", i18n("standby")); /* -S is for NetBSD and Linux */
- }
-
- void Kapm::slotPowerOff() {
-+#ifdef __NetBSD__
-+ suApp("/sbin/halt -p", i18n("power off"), true);
-+#else /* !__NetBSD__ */
- suApp("poweroff", i18n("power off"), true);
-+#endif /* __NetBSD__ */
- }
-
- void Kapm::slotAPMStatus() {
diff --git a/sysutils/kapm/patches/patch-ad b/sysutils/kapm/patches/patch-ad
deleted file mode 100644
index a2ec71d5753..00000000000
--- a/sysutils/kapm/patches/patch-ad
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ad,v 1.1 1999/11/11 02:04:19 hubertf Exp $
-
---- kapm/sudlg.cpp.orig Thu Nov 11 02:28:45 1999
-+++ kapm/sudlg.cpp Thu Nov 11 02:29:57 1999
-@@ -78,8 +78,15 @@
-
- password = "\"" + password + "\"";
-
-+#if defined(__linux__)
- proc << "echo " << password.data() << " | ";
- proc << "su" << "-c" << "true";
-+#elif defined(__NetBSD__)
-+ proc << "echo " << password.data() << " | ";
-+ proc << "su" << "root" << "-c" << "true";
-+#else
-+#error man su
-+#endif
-
- proc.start(KProcess::Block);
-