ports/76157: Update port: astro/seti_applet
KATO Tsuguru
tkato432 at yahoo.com
Wed Jan 12 17:10:31 UTC 2005
>Number: 76157
>Category: ports
>Synopsis: Update port: astro/seti_applet
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 12 17:10:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Fix build on -current
- Support GCONF_SCHEMAS
- Support SUB_LIST
New file:
files/patch-src::seti_applet.c
files/pkg-message.in
Remove file:
pkg-message
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/astro/seti_applet/Makefile astro/seti_applet/Makefile
--- /usr/ports/astro/seti_applet/Makefile Wed Dec 22 10:04:46 2004
+++ astro/seti_applet/Makefile Wed Jan 12 22:51:05 2005
@@ -17,42 +17,23 @@
LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop2
RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
-USE_REINPLACE= yes
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomepanel gnomeprefix
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack gnomepanel
-USE_LIBTOOL_VER=13
+USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-# Local variables
-#
-
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
-REINPLACE_SUB= LOCALBASE=${LOCALBASE}
-PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE}
+GCONF_SCHEMAS= seti_applet.schemas
-# Post-patch
-#
+SUB_FILES= pkg-message
-post-patch: patch-seti_applet patch-pkgmessage
-
-patch-seti_applet:
- @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+post-patch:
+ @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/seti_applet.schemas
-patch-pkgmessage:
- @${SED} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${MSG_FILE} > ${PKGMESSAGE}
-
-# Post-install
-#
-
-post-install: display-message
-
-display-message:
+post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -urN /usr/ports/astro/seti_applet/files/patch-src::seti_applet.c astro/seti_applet/files/patch-src::seti_applet.c
--- /usr/ports/astro/seti_applet/files/patch-src::seti_applet.c Thu Jan 1 09:00:00 1970
+++ astro/seti_applet/files/patch-src::seti_applet.c Wed Jan 12 22:48:10 2005
@@ -0,0 +1,10 @@
+--- src/seti_applet.c.orig Thu Mar 6 15:03:55 2003
++++ src/seti_applet.c Wed Jan 12 22:47:00 2005
+@@ -177,6 +177,7 @@
+ static void setup_percent_canvas_item(setiapplet *);
+ static void setup_units_canvas_item(setiapplet *);
+ static void setup_cputime_canvas_item(setiapplet *);
++static void setup_cputime_current_canvas_item(setiapplet *);
+ static void applet_change_orient(PanelApplet *,
+ PanelAppletOrient,
+ gpointer);
diff -urN /usr/ports/astro/seti_applet/files/pkg-message.in astro/seti_applet/files/pkg-message.in
--- /usr/ports/astro/seti_applet/files/pkg-message.in Thu Jan 1 09:00:00 1970
+++ astro/seti_applet/files/pkg-message.in Wed Jan 12 22:14:08 2005
@@ -0,0 +1,23 @@
+**** To enable start/stop of the seti at home client, please run "setiathome"
+ as your login name.
+ If you installed "setiathome" by ports or package, add, change or
+ uncomment the seti_user variable in %%LOCALBASE%%/etc/rc.setiathome.conf
+ (or %%LOCALBASE%%/etc/setiathome.conf depending on the version currently
+ installed on your computer)
+ seti_user=nobody
+ ^^^^^^
+ to your login name before setting up working directory, such as :
+ seti_user=<your_login_name>
+ If you already done this as nobody, do
+ %%LOCALBASE%%/etc/rc.d/setiathome.sh stop
+ chown -Rh <your_login_name> /var/db/setiathome
+ %%LOCALBASE%%/etc/rc.d/setiathome.sh start
+**** Known Bugs
+ For instance, default values have to be set manually using the panel
+ preferences (right-click):
+ set the value of "Basic->Directory containing the seti at home executable"
+ to /var/db/setiathome
+ check "Advanced->Use seti at home exe in a different directory"
+ and set it's value to %%LOCALBASE%%/sbin
+ Also, running xsetiathome by double-clicking the radar icon isn't
+ possible right now.
diff -urN /usr/ports/astro/seti_applet/pkg-message astro/seti_applet/pkg-message
--- /usr/ports/astro/seti_applet/pkg-message Wed Dec 22 10:04:46 2004
+++ astro/seti_applet/pkg-message Thu Jan 1 09:00:00 1970
@@ -1,23 +0,0 @@
-**** To enable start/stop of the seti at home client, please run "setiathome"
- as your login name.
- If you installed "setiathome" by ports or package, add, change or
- uncomment the seti_user variable in %%LOCALBASE%%/etc/rc.setiathome.conf
- (or %%LOCALBASE%%/etc/setiathome.conf depending on the version currently
- installed on your computer)
- seti_user=nobody
- ^^^^^^
- to your login name before setting up working directory, such as :
- seti_user=<your_login_name>
- If you already done this as nobody, do
- %%LOCALBASE%%/etc/rc.d/setiathome.sh stop
- chown -Rh <your_login_name> /var/db/setiathome
- %%LOCALBASE%%/etc/rc.d/setiathome.sh start
-**** Known Bugs
- For instance, default values have to be set manually using the panel
- preferences (right-click):
- set the value of "Basic->Directory containing the seti at home executable"
- to /var/db/setiathome
- check "Advanced->Use seti at home exe in a different directory"
- and set it's value to %%LOCALBASE%%/sbin
- Also, running xsetiathome by double-clicking the radar icon isn't
- possible right now.
diff -urN /usr/ports/astro/seti_applet/pkg-plist astro/seti_applet/pkg-plist
--- /usr/ports/astro/seti_applet/pkg-plist Wed Dec 22 10:04:46 2004
+++ astro/seti_applet/pkg-plist Wed Jan 12 22:21:24 2005
@@ -1,10 +1,5 @@
@comment $FreeBSD: ports/astro/seti_applet/pkg-plist,v 1.6 2004/12/22 01:04:46 edwin Exp $
bin/seti-applet-2
- at comment etc/gconf/gconf.xml.defaults/apps/seti_applet/%gconf.xml
- at comment etc/gconf/gconf.xml.defaults/apps/seti_applet/prefs/%gconf.xml
-etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/%gconf.xml
-etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/prefs/%gconf.xml
-etc/gconf/schemas/seti_applet.schemas
libdata/bonobo/servers/GNOME_SetiApplet_Factory.server
share/gnome/gnome-2.0/ui/GNOME_SetiApplet.xml
share/gnome/help/seti_applet/C/configuration.html
@@ -35,5 +30,3 @@
@dirrm share/gnome/help/seti_applet/C/images
@dirrm share/gnome/help/seti_applet/C
@dirrm share/gnome/help/seti_applet
- at dirrm etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/prefs
- at dirrm etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list