Update to Gnome 2 version.

Implicitly oked by MAINTAINER ("you can mark it BROKEN too")
This commit is contained in:
marcm 2003-09-23 21:24:52 +00:00
parent 8acff498ed
commit 52c81dfbba
6 changed files with 27 additions and 146 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.3 2003/09/23 21:24:52 marcm Exp $
--- src/Makefile.in.orig 2003-09-23 11:45:16.000000000 -0700
+++ src/Makefile.in 2003-09-23 11:45:52.000000000 -0700
@@ -67,7 +67,7 @@ GMSGFMT = @GMSGFMT@
GNOME_APPLETS_CFLAGS = @GNOME_APPLETS_CFLAGS@
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
GTOP_APPLETS_CFLAGS = @GTOP_APPLETS_CFLAGS@
-GTOP_APPLETS_LIBS = @GTOP_APPLETS_LIBS@
+GTOP_APPLETS_LIBS = @GTOP_APPLETS_LIBS@ -lgtop_suid_common-2.0
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_bubblemon_c,v 1.3 2003/06/18 14:14:52 avsm Exp $
--- src/bubblemon.c.orig Sun Oct 27 07:45:31 2002
+++ src/bubblemon.c Wed Jun 18 03:35:13 2003
@@ -169,7 +169,7 @@ const char *bubblemon_getTooltip(void)
$OpenBSD: patch-src_bubblemon_c,v 1.4 2003/09/23 21:24:52 marcm Exp $
--- src/bubblemon.c.orig 2002-11-21 23:13:45.000000000 -0800
+++ src/bubblemon.c 2003-09-23 11:36:29.000000000 -0700
@@ -154,7 +154,7 @@ const char *bubblemon_getTooltip(void)
if (sysload.swapSize > 0)
{
usage2string(swapstring, sysload.swapUsed, sysload.swapSize);
@ -10,7 +10,7 @@ $OpenBSD: patch-src_bubblemon_c,v 1.3 2003/06/18 14:14:52 avsm Exp $
_("\nSwap used: %s"),
swapstring);
strcat(tooltipstring, loadstring);
@@ -177,7 +177,7 @@ const char *bubblemon_getTooltip(void)
@@ -162,7 +162,7 @@ const char *bubblemon_getTooltip(void)
if (sysload.nCpus == 1)
{
@ -19,7 +19,7 @@ $OpenBSD: patch-src_bubblemon_c,v 1.3 2003/06/18 14:14:52 avsm Exp $
_("\nCPU load: %d%%"),
bubblemon_getCpuLoadPercentage(0));
strcat(tooltipstring, loadstring);
@@ -188,7 +188,7 @@ const char *bubblemon_getTooltip(void)
@@ -173,7 +173,7 @@ const char *bubblemon_getTooltip(void)
cpu_number < sysload.nCpus;
cpu_number++)
{

View File

@ -1,26 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.3 2003/04/30 14:57:15 avsm Exp $
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
echo
echo "+--------------- $1"
echo "| To really remove $1 from your system you should also"
echo "| remove the configuration files from the ${SYSCONFDIR} directory."
echo "| If you are planning on installing $1 again in the future"
echo "| you can leave it as it is."
echo "|"
echo "| FYI, the following configuration files belongs to this package:"
echo "|"
for f in \
CORBA/servers/bubblemon-gnome1.gnorba
do
echo "| ${SYSCONFDIR}/$f"
done
echo "+--------------- $1"
echo
exit 0

View File

@ -4,7 +4,3 @@ The water level indicates how much memory is in use. The color of the liquid
indicates how much swap space is used (watery blue means none and angry red
means all). The system CPU load is indicated by bubbles floating up through
the liquid; lots of bubbles means high CPU load.
For more information about bubblemon, visit:
WWW: ${HOMEPAGE}

View File

@ -1,82 +0,0 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.4 2003/04/30 14:57:15 avsm Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
P_NAME=bubblemon
PREFIX=${PKG_PREFIX:-/usr/local}
DEST_PFX=${SYSCONFDIR}
SOURCE_PFX=${PREFIX}/share/examples/${P_NAME}
do_post() {
echo
echo "+--------------- ${P_NAME}"
# install or take note of existing config files
for f in \
CORBA/servers/bubblemon-gnome1.gnorba
do
if [ -f "${DEST_PFX}/$f" ]; then
OLD_CONFS="${OLD_CONFS} $f"
else
if ! install -m 644 ${SOURCE_PFX}/$f ${DEST_PFX}/$f; then
echo "| ERROR: The following file could not be installed, exiting: ${DEST_PFX}/$f"
exit 1
fi
NEW_CONFS="${NEW_CONFS} $f"
fi
done
# print status report
if [ -n "${NEW_CONFS}" ]; then
echo "| The following NEW configuration files have been installed:"
echo "|"
for f in ${NEW_CONFS}; do
echo "| ${DEST_PFX}/$f"
done
fi
if [ -n "${OLD_CONFS}" ]; then
if [ -n "${NEW_CONFS}" ]; then
echo "|"
fi
echo "| The following OLD configuration files was found and have NOT been overwritten:"
echo "| You should however manually compare it to it's equivalent in"
echo "|"
echo "| ${SOURCE_PFX}"
echo "|"
echo "| and update your configuration if needed."
echo "|"
for f in ${OLD_CONFS}; do
echo "| ${DEST_PFX}/$f"
done
fi
echo "+--------------- ${P_NAME}"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
do_post
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -1,10 +1,10 @@
@comment $OpenBSD: PLIST,v 1.4 2003/04/30 14:57:15 avsm Exp $
bin/bubblemon-gnome1
@comment man/hu/man1/bubblemon-gnome1.1
man/man1/bubblemon-gnome1.1
@comment man/sv/man1/bubblemon-gnome1.1
share/applets/Monitors/bubblemon-gnome1.desktop
share/examples/bubblemon/CORBA/servers/bubblemon-gnome1.gnorba
@comment $OpenBSD: PLIST,v 1.5 2003/09/23 21:24:52 marcm Exp $
lib/bonobo/servers/GNOME_BubblemonApplet.server
libexec/bubblemon-gnome2
@comment man/hu/man1/bubblemon-gnome2.1
man/man1/bubblemon-gnome2.1
@comment man/sv/man1/bubblemon-gnome2.1
share/gnome-2.0/ui/GNOME_BubblemonApplet.xml
share/locale/da/LC_MESSAGES/bubblemon.mo
share/locale/de/LC_MESSAGES/bubblemon.mo
share/locale/es/LC_MESSAGES/bubblemon.mo
@ -18,45 +18,26 @@ share/locale/no/LC_MESSAGES/bubblemon.mo
share/locale/pl/LC_MESSAGES/bubblemon.mo
share/locale/pt/LC_MESSAGES/bubblemon.mo
share/locale/ro/LC_MESSAGES/bubblemon.mo
share/locale/ru/LC_MESSAGES/bubblemon.mo
share/locale/sh/LC_MESSAGES/bubblemon.mo
share/locale/sv/LC_MESSAGES/bubblemon.mo
share/pixmaps/bubblemon.png
@comment @dirrm share/pixmaps
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@comment @dirrm share/locale/sh/LC_MESSAGES
@comment @dirrm share/locale/sh
@comment @dirrm share/locale/ru/LC_MESSAGES
@comment @dirrm share/locale/ro/LC_MESSAGES
@comment @dirrm share/locale/ro
@comment @dirrm share/locale/pt/LC_MESSAGES
@comment @dirrm share/locale/pt
@comment @dirrm share/locale/pl/LC_MESSAGES
@comment @dirrm share/locale/pl
@comment @dirrm share/locale/no/LC_MESSAGES
@comment @dirrm share/locale/no
@comment @dirrm share/locale/ko/LC_MESSAGES
@comment @dirrm share/locale/ko
@comment @dirrm share/locale/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/is/LC_MESSAGES
@comment @dirrm share/locale/is
@comment @dirrm share/locale/hu/LC_MESSAGES
@comment @dirrm share/locale/hu
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/fi/LC_MESSAGES
@comment @dirrm share/locale/fi
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@comment @dirrm share/locale/de/LC_MESSAGES
@comment @dirrm share/locale/de
@comment @dirrm share/locale/da/LC_MESSAGES
@comment @dirrm share/locale/da
@comment @dirrm share/locale
@dirrm share/examples/bubblemon/CORBA/servers
@dirrm share/examples/bubblemon/CORBA
@dirrm share/examples/bubblemon
@comment @dirrm man/sv/man1
@comment @dirrm man/sv
@comment @dirrm man/hu/man1
@comment @dirrm man/hu