aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2/files
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-09-03 02:22:56 +0800
committerume <ume@FreeBSD.org>2002-09-03 02:22:56 +0800
commitf87756f890fe068e5fff2b23f352ec3abc8cb146 (patch)
tree0245301a4aa680931147c7833b86f70230e5e4bf /sysutils/gkrellm2/files
parent6a7a1eaa4c5df4f6b0656ca5443baee7556f3278 (diff)
downloadfreebsd-ports-gnome-f87756f890fe068e5fff2b23f352ec3abc8cb146.tar.gz
freebsd-ports-gnome-f87756f890fe068e5fff2b23f352ec3abc8cb146.tar.zst
freebsd-ports-gnome-f87756f890fe068e5fff2b23f352ec3abc8cb146.zip
Update GKrellM to 2.0.0 after repocopy.
Diffstat (limited to 'sysutils/gkrellm2/files')
-rw-r--r--sysutils/gkrellm2/files/gkrellmd.sh24
-rw-r--r--sysutils/gkrellm2/files/patch-Makefile23
-rw-r--r--sysutils/gkrellm2/files/patch-ad28
-rw-r--r--sysutils/gkrellm2/files/patch-ae13
-rw-r--r--sysutils/gkrellm2/files/patch-af56
-rw-r--r--sysutils/gkrellm2/files/patch-ag28
-rw-r--r--sysutils/gkrellm2/files/patch-server::Makefile16
-rw-r--r--sysutils/gkrellm2/files/patch-server::gkrellmd.h14
-rw-r--r--sysutils/gkrellm2/files/patch-src:Makefile22
9 files changed, 124 insertions, 100 deletions
diff --git a/sysutils/gkrellm2/files/gkrellmd.sh b/sysutils/gkrellm2/files/gkrellmd.sh
new file mode 100644
index 000000000000..7172640e6386
--- /dev/null
+++ b/sysutils/gkrellm2/files/gkrellmd.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# Start or stop gkrellmd
+# $FreeBSD$
+
+PREFIX=%%PREFIX%%
+
+case "$1" in
+start)
+ if [ -x ${PREFIX}/sbin/gkrellmd -a \
+ -f ${PREFIX}/etc/gkrellmd.conf ]; then
+ ${PREFIX}/sbin/gkrellmd &
+ echo -n ' gkrellmd'
+ fi
+ ;;
+stop)
+ killall gkrellmd && echo -n ' gkrellmd'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/sysutils/gkrellm2/files/patch-Makefile b/sysutils/gkrellm2/files/patch-Makefile
new file mode 100644
index 000000000000..a8821370b6f6
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-Makefile
@@ -0,0 +1,23 @@
+Index: Makefile
+diff -u Makefile.orig Makefile
+--- Makefile.orig Fri Aug 2 11:56:08 2002
++++ Makefile Fri Aug 30 01:12:10 2002
+@@ -74,13 +74,13 @@
+ #GTOP_LIBS_D = -L$(GTOP_PREFIX)/lib -lgtop -lgtop_common -lgtop_sysdeps
+ #export GTOP_INCLUDE GTOP_LIBS GTOP_LIBS_D
+
+-INSTALLDIR = /usr/local/bin
+-SINSTALLDIR = $(INSTALLDIR)
+-MANDIR = /usr/local/share/man/man1
+-SMANDIR = $(MANDIR)
++INSTALLDIR ?= /usr/local/bin
++SINSTALLDIR ?= $(INSTALLDIR)
++MANDIR ?= /usr/local/share/man/man1
++SMANDIR ?= $(MANDIR)
+ MANMODE = 644
+ MANDIRMODE = 755
+-INCLUDEDIR = /usr/local/include
++INCLUDEDIR ?= /usr/local/include
+ INCLUDEMODE = 644
+ INCLUDEDIRMODE = 755
+
diff --git a/sysutils/gkrellm2/files/patch-ad b/sysutils/gkrellm2/files/patch-ad
deleted file mode 100644
index 247f6baa3cd3..000000000000
--- a/sysutils/gkrellm2/files/patch-ad
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: Makefile.top
-diff -u Makefile.top.orig Makefile.top
---- Makefile.top.orig Thu Dec 6 01:25:04 2001
-+++ Makefile.top Thu Dec 6 03:33:13 2001
-@@ -30,7 +30,7 @@
- #
- # Default
- #--------
--GTK_CONFIG = gtk-config
-+#GTK_CONFIG = gtk-config
- EXTRAOBJS = md5c.o
- BINMODE = 755
-
-@@ -122,12 +122,12 @@
-
- freebsd2:
- (cd po && ${MAKE} all)
-- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \
-+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \
- EXTRAOBJS= SYS_LIBS="-lkvm -lmd" gkrellm )
-
- freebsd3 freebsd4 freebsd5 freebsd:
- (cd po && ${MAKE} all)
-- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \
-+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \
- EXTRAOBJS= SYS_LIBS="-lkvm -ldevstat -lmd" gkrellm )
-
- netbsd:
diff --git a/sysutils/gkrellm2/files/patch-ae b/sysutils/gkrellm2/files/patch-ae
deleted file mode 100644
index 511ded6343b6..000000000000
--- a/sysutils/gkrellm2/files/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: src/Makefile.src
-diff -u src/Makefile.src.orig src/Makefile.src
---- src/Makefile.src.orig Mon Jul 1 11:13:04 2002
-+++ src/Makefile.src Mon Jul 1 20:50:11 2002
-@@ -21,7 +21,7 @@
- GTK_LIB = `$(GTK_CONFIG) --libs gthread`
- IMLIB_LIB = `imlib-config --libs-gdk`
-
--FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
-+FLAGS = -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
- FLAGS+= $(PTHREAD_INC)
-
- LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
diff --git a/sysutils/gkrellm2/files/patch-af b/sysutils/gkrellm2/files/patch-af
index ad9ad5b78321..507b75f6f2c0 100644
--- a/sysutils/gkrellm2/files/patch-af
+++ b/sysutils/gkrellm2/files/patch-af
@@ -1,14 +1,14 @@
Index: gkrellm.1
diff -u gkrellm.1.orig gkrellm.1
---- gkrellm.1.orig Thu Jul 12 08:23:47 2001
-+++ gkrellm.1 Mon Jul 30 20:51:15 2001
+--- gkrellm.1.orig Sun Aug 11 08:23:17 2002
++++ gkrellm.1 Thu Aug 29 16:41:57 2002
@@ -1,4 +1,4 @@
--.TH gkrellm 1 "Febuary 3, 2001" "Olympus GNU/Linux" "User's Manual"
-+.TH gkrellm 1 "Febuary 3, 2001" "FreeBSD" "User's Manual"
+-.TH gkrellm 1 "March 14, 2002" "GNU/Linux" "User's Manual"
++.TH gkrellm 1 "March 14, 2001" "FreeBSD" "User's Manual"
.SH "NAME"
gkrellm \- The GNU Krell Monitors
-@@ -365,7 +365,7 @@
+@@ -399,7 +399,7 @@
ppp is connecting, and the on state is the ppp link connected.
The phone line lock is determined by the existence of the modem
lock file
@@ -17,12 +17,12 @@ diff -u gkrellm.1.orig gkrellm.1
which assumes pppd is using
.IR /dev/modem.
However, if your pppd setup does not use
-@@ -374,11 +374,11 @@
+@@ -408,11 +408,11 @@
.PP
.RS
.nf
--ln -s /var/lock/LCK..ttySx ~/.gkrellm/LCK..modem
-+ln -s /var/spool/lock/LCK..cuaaS ~/.gkrellm/LCK..modem
+-ln -s /var/lock/LCK..ttySx ~/.gkrellm2/LCK..modem
++ln -s /var/spool/lock/LCK..cuaaS ~/.gkrellm2/LCK..modem
.fi
.RE
.IP
@@ -31,45 +31,39 @@ diff -u gkrellm.1.orig gkrellm.1
state is detected by the existence of
.IR /var/run/pppX.pid
and the time stamp of this file is the base for the on line time.
-@@ -839,7 +839,7 @@
+@@ -1059,7 +1059,7 @@
.PP
.B gkrellm
also searches
--.IR /usr/share/gkrellm/themes
-+.IR /usr/X11R6/share/gkrellm/themes
+-.IR /usr/share/gkrellm2/themes
++.IR /usr/X11R6/share/gkrellm2/themes
for any system wide themes installed as part of a distribution.
Finally, a theme you simply want to check out can be untarred anywhere and
used by running:
-@@ -864,12 +864,12 @@
+@@ -1085,7 +1085,7 @@
The directories
- .IR /usr/local/lib/gkrellm/plugins
+ .IR /usr/local/lib/gkrellm2/plugins
and
--.IR /usr/lib/gkrellm/plugins
-+.IR /usr/X11R6/libexec/gkrellm/plugins
+-.IR /usr/lib/gkrellm2/plugins
++.IR /usr/X11R6/libexec/gkrellm2/plugins
are also searched for plugins to install.
- For compatibility with pre 1.0.6 versions, plugins from the directories
- .IR /usr/local/share/gkrellm/plugins
- and
--.IR /usr/share/gkrellm/plugins
-+.IR /usr/X11R6/libexec/gkrellm/plugins
- are still installed, but this is not compatible with the FHS.
.PP
Some plugins may be available only as source files and they will
-@@ -890,7 +890,7 @@
- .I ~/.gkrellm/plugins
+@@ -1127,7 +1127,7 @@
+ .I ~/.gkrellm2/plugins
User plugin directory.
.TP
--.I /usr/lib/gkrellm/plugins
-+.I /usr/X11R6/libexec/gkrellm/plugins
+-.I /usr/lib/gkrellm2/plugins
++.I /usr/X11R6/libexec/gkrellm2/plugins
System wide plugin directory.
.TP
- .I /usr/local/lib/gkrellm/plugins
-@@ -899,7 +899,7 @@
- .I ~/.gkrellm/themes
+ .I /usr/local/lib/gkrellm2/plugins
+@@ -1136,7 +1136,7 @@
+ .I ~/.gkrellm2/themes
User theme directory.
.TP
--.I /usr/share/gkrellm/themes
-+.I /usr/X11R6/share/gkrellm/themes
+-.I /usr/share/gkrellm2/themes
++.I /usr/X11R6/share/gkrellm2/themes
System wide theme directory.
.TP
- .I /usr/local/share/gkrellm/themes
+ .I /usr/local/share/gkrellm2/themes
diff --git a/sysutils/gkrellm2/files/patch-ag b/sysutils/gkrellm2/files/patch-ag
deleted file mode 100644
index 59031f3a2a86..000000000000
--- a/sysutils/gkrellm2/files/patch-ag
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: Makefile.top_enable_nls
-diff -u Makefile.top_enable_nls.orig Makefile.top_enable_nls
---- Makefile.top_enable_nls.orig Wed Dec 5 16:41:15 2001
-+++ Makefile.top_enable_nls Thu Dec 6 03:35:21 2001
-@@ -30,7 +30,7 @@
- #
- # Default
- #--------
--GTK_CONFIG = gtk-config
-+#GTK_CONFIG = gtk-config
- EXTRAOBJS = md5c.o
- BINMODE = 755
-
-@@ -122,12 +122,12 @@
-
- freebsd2:
- (cd po && ${MAKE} all)
-- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \
-+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \
- EXTRAOBJS= SYS_LIBS="-lkvm -lmd" gkrellm )
-
- freebsd3 freebsd4 freebsd5 freebsd:
- (cd po && ${MAKE} all)
-- (cd src && ${MAKE} GTK_CONFIG=gtk12-config GTOP_LIBS= GTOP_INCLUDE= \
-+ (cd src && ${MAKE} GTK_CONFIG=${GTK_CONFIG} GTOP_LIBS= GTOP_INCLUDE= \
- EXTRAOBJS= SYS_LIBS="-lkvm -ldevstat -lmd" gkrellm )
-
- netbsd:
diff --git a/sysutils/gkrellm2/files/patch-server::Makefile b/sysutils/gkrellm2/files/patch-server::Makefile
new file mode 100644
index 000000000000..b73e250c2188
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-server::Makefile
@@ -0,0 +1,16 @@
+Index: server/Makefile
+diff -u server/Makefile.orig server/Makefile
+--- server/Makefile.orig Tue Aug 6 21:56:11 2002
++++ server/Makefile Thu Aug 29 17:03:46 2002
+@@ -13,9 +13,9 @@
+ GLIB12_INCLUDE = `glib-config --cflags gthread`
+ GLIB12_LIB = `glib-config --libs gthread`
+
+-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
++FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE) -I$(LOCALBASE)/include
+ ifeq ($(glib12),1)
+-FLAGS = -O2 -I.. $(GLIB12_INCLUDE) $(GTOP_INCLUDE)
++FLAGS = -I.. $(GLIB12_INCLUDE) $(GTOP_INCLUDE) -I$(LOCALBASE)/include
+ endif
+
+ FLAGS+= $(PTHREAD_INC)
diff --git a/sysutils/gkrellm2/files/patch-server::gkrellmd.h b/sysutils/gkrellm2/files/patch-server::gkrellmd.h
new file mode 100644
index 000000000000..9fab2531ff6a
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-server::gkrellmd.h
@@ -0,0 +1,14 @@
+Index: server/gkrellmd.h
+diff -u server/gkrellmd.h.orig server/gkrellmd.h
+--- server/gkrellmd.h.orig Tue Aug 13 01:58:55 2002
++++ server/gkrellmd.h Thu Aug 29 18:47:14 2002
+@@ -107,7 +107,9 @@
+ #define GKRELLMD_CONFIG "gkrellmd.conf"
+
+ #if !defined(WIN32)
++#if !defined(GKRELLMD_SYS_ETC)
+ #define GKRELLMD_SYS_ETC "/etc"
++#endif
+ #define GKRELLMD_LOCAL_ETC "/usr/local/etc"
+ #endif
+
diff --git a/sysutils/gkrellm2/files/patch-src:Makefile b/sysutils/gkrellm2/files/patch-src:Makefile
new file mode 100644
index 000000000000..b1bbf3b3dfa9
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-src:Makefile
@@ -0,0 +1,22 @@
+Index: src/Makefile
+diff -u src/Makefile.orig src/Makefile
+--- src/Makefile.orig Sat Aug 10 13:29:09 2002
++++ src/Makefile Thu Aug 29 23:40:18 2002
+@@ -21,7 +21,7 @@
+
+ PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0`
+
+-FLAGS = -O2 -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
++FLAGS = -I.. $(PKG_INCLUDE) $(GTOP_INCLUDE)
+ FLAGS+= $(PTHREAD_INC)
+
+ LIBS = $(PKG_LIB) $(GTOP_LIBS) $(SMC_LIBS) $(SYS_LIBS)
+@@ -85,7 +85,7 @@
+ $(INSTALL) -c -m $(INCLUDEMODE) $(GKRELLM_INCLUDES) $(INCLUDEDIR)/gkrellm2
+ $(INSTALL) -d -m $(MANDIRMODE) $(MANDIR)
+ $(INSTALL) -c -m $(MANMODE) ../gkrellm.1 $(MANDIR)/gkrellm.1
+- $(INSTALL) -c -m $(MANMODE) ../gkrellmd.1 $(SMANDIR)/gkrellmd.1
++ $(INSTALL) -c -m $(MANMODE) ../gkrellmd.1 $(SMANDIR)/gkrellmd.8
+
+ install_darwin:
+ $(MAKE) install STRIP=