View | Details | Raw Unified | Return to bug 76157
Collapse All | Expand All

(-)astro/seti_applet/Makefile (-27 / +8 lines)
Lines 17-58 Link Here
17
LIB_DEPENDS=	gtop-2.0:${PORTSDIR}/devel/libgtop2
17
LIB_DEPENDS=	gtop-2.0:${PORTSDIR}/devel/libgtop2
18
RUN_DEPENDS=	${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
18
RUN_DEPENDS=	${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
19
19
20
USE_REINPLACE=	yes
21
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
21
USE_GNOME=	gnomehack gnomepanel gnomeprefix 
22
USE_REINPLACE=	yes
22
USE_GMAKE=	yes
23
USE_GMAKE=	yes
23
USE_GNOME=	gnomeprefix gnomehack gnomepanel
24
USE_LIBTOOL_VER=	15
24
USE_LIBTOOL_VER=13
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-L${LOCALBASE}/lib"
26
		LDFLAGS="-L${LOCALBASE}/lib"
27
27
28
# Local variables
28
GCONF_SCHEMAS=	seti_applet.schemas
29
#
30
31
MSG_FILE=	${PKGDIR}/pkg-message
32
PKGMESSAGE=	${WRKDIR}/pkg-message
33
34
REINPLACE_SUB=	LOCALBASE=${LOCALBASE}
35
PKGMESSAGE_SUB=	LOCALBASE=${LOCALBASE}
36
29
37
# Post-patch
30
SUB_FILES=	pkg-message
38
#
39
31
40
post-patch: patch-seti_applet patch-pkgmessage
32
post-patch:
41
33
	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
42
patch-seti_applet:
43
	@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
44
		${WRKSRC}/src/seti_applet.schemas
34
		${WRKSRC}/src/seti_applet.schemas
45
35
46
patch-pkgmessage:
36
post-install:
47
	@${SED} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
48
		${MSG_FILE} > ${PKGMESSAGE}
49
50
# Post-install
51
#
52
53
post-install: display-message
54
55
display-message:
56
	@${CAT} ${PKGMESSAGE}
37
	@${CAT} ${PKGMESSAGE}
57
38
58
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)astro/seti_applet/files/patch-src::seti_applet.c (+10 lines)
Line 0 Link Here
1
--- src/seti_applet.c.orig	Thu Mar  6 15:03:55 2003
2
+++ src/seti_applet.c	Wed Jan 12 22:47:00 2005
3
@@ -177,6 +177,7 @@
4
 static void setup_percent_canvas_item(setiapplet *);
5
 static void setup_units_canvas_item(setiapplet *);
6
 static void setup_cputime_canvas_item(setiapplet *);
7
+static void setup_cputime_current_canvas_item(setiapplet *);
8
 static void applet_change_orient(PanelApplet *,
9
                                  PanelAppletOrient,
10
                                  gpointer);
(-)astro/seti_applet/files/pkg-message.in (+23 lines)
Line 0 Link Here
1
****  To enable start/stop of the seti@home client, please run "setiathome"
2
      as your login name.
3
      If you installed "setiathome" by ports or package, add, change or
4
      uncomment the seti_user variable in %%LOCALBASE%%/etc/rc.setiathome.conf
5
      (or %%LOCALBASE%%/etc/setiathome.conf depending on the version currently
6
      installed on your computer)
7
            seti_user=nobody
8
                      ^^^^^^
9
      to your login name before setting up working directory, such as :
10
            seti_user=<your_login_name>
11
      If you already done this as nobody, do
12
            %%LOCALBASE%%/etc/rc.d/setiathome.sh stop
13
            chown -Rh <your_login_name> /var/db/setiathome
14
            %%LOCALBASE%%/etc/rc.d/setiathome.sh start
15
****  Known Bugs
16
      For instance, default values have to be set manually using the panel
17
      preferences (right-click):
18
	set the value of "Basic->Directory containing the seti@home executable"
19
	to /var/db/setiathome
20
	check "Advanced->Use seti@home exe in a different directory"
21
	and set it's value to %%LOCALBASE%%/sbin
22
      Also, running xsetiathome by double-clicking the radar icon isn't
23
      possible right now.
(-)astro/seti_applet/pkg-message (-23 lines)
Lines 1-23 Link Here
1
****  To enable start/stop of the seti@home client, please run "setiathome"
2
      as your login name.
3
      If you installed "setiathome" by ports or package, add, change or
4
      uncomment the seti_user variable in %%LOCALBASE%%/etc/rc.setiathome.conf
5
      (or %%LOCALBASE%%/etc/setiathome.conf depending on the version currently
6
      installed on your computer)
7
            seti_user=nobody
8
                      ^^^^^^
9
      to your login name before setting up working directory, such as :
10
            seti_user=<your_login_name>
11
      If you already done this as nobody, do
12
            %%LOCALBASE%%/etc/rc.d/setiathome.sh stop
13
            chown -Rh <your_login_name> /var/db/setiathome
14
            %%LOCALBASE%%/etc/rc.d/setiathome.sh start
15
****  Known Bugs
16
      For instance, default values have to be set manually using the panel
17
      preferences (right-click):
18
	set the value of "Basic->Directory containing the seti@home executable"
19
	to /var/db/setiathome
20
	check "Advanced->Use seti@home exe in a different directory"
21
	and set it's value to %%LOCALBASE%%/sbin
22
      Also, running xsetiathome by double-clicking the radar icon isn't
23
      possible right now.
(-)astro/seti_applet/pkg-plist (-7 lines)
Lines 1-10 Link Here
1
@comment $FreeBSD: ports/astro/seti_applet/pkg-plist,v 1.6 2004/12/22 01:04:46 edwin Exp $
1
@comment $FreeBSD: ports/astro/seti_applet/pkg-plist,v 1.6 2004/12/22 01:04:46 edwin Exp $
2
bin/seti-applet-2
2
bin/seti-applet-2
3
@comment etc/gconf/gconf.xml.defaults/apps/seti_applet/%gconf.xml
4
@comment etc/gconf/gconf.xml.defaults/apps/seti_applet/prefs/%gconf.xml
5
etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/%gconf.xml
6
etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/prefs/%gconf.xml
7
etc/gconf/schemas/seti_applet.schemas
8
libdata/bonobo/servers/GNOME_SetiApplet_Factory.server
3
libdata/bonobo/servers/GNOME_SetiApplet_Factory.server
9
share/gnome/gnome-2.0/ui/GNOME_SetiApplet.xml
4
share/gnome/gnome-2.0/ui/GNOME_SetiApplet.xml
10
share/gnome/help/seti_applet/C/configuration.html
5
share/gnome/help/seti_applet/C/configuration.html
Lines 35-39 Link Here
35
@dirrm share/gnome/help/seti_applet/C/images
30
@dirrm share/gnome/help/seti_applet/C/images
36
@dirrm share/gnome/help/seti_applet/C
31
@dirrm share/gnome/help/seti_applet/C
37
@dirrm share/gnome/help/seti_applet
32
@dirrm share/gnome/help/seti_applet
38
@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet/prefs
39
@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/seti_applet

Return to bug 76157