Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 09:41:48 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        hym@cocoa.freemail.ne.jp
Subject:   ports/30372: Update: seti_applet (0.4.1)
Message-ID:  <200109060741.f867fmg92501@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         30372
>Category:       ports
>Synopsis:       Update: seti_applet (0.4.1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 06 00:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
ACME
>Environment:
System: FreeBSD gits 4.3-STABLE FreeBSD 4.3-STABLE #28: Wed Jul 25 09:04:25 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386

>Description:
	
	Makefile
		PORTVERSION bumped.
		PORTREVISION deleted.
		CONFIGURE_ARGS and CONFIGURE_ENV deleted.
		PKGMESSAGE added.
		targets reworked.

	distinfo
		updated.

	pkg-descr
		updated from the README file.

	pkg-message
		updated according to astro/setiathome port changes.

	pkg-plist
		updated.

	patch-aa (src/seti_applet.c)
		updated.

	patch-ac
	patch-ad
		deleted.

>How-To-Repeat:
	n/a
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	2001/07/14 05:53:13	1.8
+++ Makefile	2001/08/22 01:45:54
@@ -6,32 +6,60 @@
 #
 
 PORTNAME=	seti_applet
-PORTVERSION=	0.3.2
-PORTREVISION=	1
+PORTVERSION=	0.4.1
 CATEGORIES=	astro gnome
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
 
 MAINTAINER=	hym@cocoa.freemail.ne.jp
 
+# Global variables
+#
+
 LIB_DEPENDS=	gtop.1:${PORTSDIR}/devel/libgtop
 RUN_DEPENDS=	setiathome:${PORTSDIR}/astro/setiathome
 
 USE_X_PREFIX=	yes
 USE_GNOME=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_ARGS=	--datadir=${PREFIX}/share/gnome
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+
+# Local variables
+#
+
+MSG_FILE=	${PKGDIR}/pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
+FIND?=		find
+XARGS?=		xargs
+
+# Post-patch
+#
+
+post-patch: patch-configure patch-makefiles-in \
+	    patch-seti_applet patch-message
 
-pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+patch-configure:
+	@${PERL} -pi.fbsd -e 's|-lpthread|${PTHREAD_LIBS}|g; \
 		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
-		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
-		s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+patch-makefiles-in:
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${PERL} -pi.fbsd -e \
+		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g;\
+		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+patch-seti_applet:
+	@${PERL} -pi.fbsd -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+		${WRKSRC}/src/seti_applet.c
+
+patch-message:
+	@${SED} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${MSG_FILE} > ${PKGMESSAGE}
+
+# Post-install
+#
+
+post-install: display-message
 
-post-install:
-	${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${PKGMESSAGE}
+display-message:
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2000/10/12 15:47:12	1.3
+++ distinfo	2001/08/22 01:15:41
@@ -1 +1 @@
-MD5 (seti_applet-0.3.2.tar.gz) = 5811a1d41d596eb9ae17ae37568a3a7c
+MD5 (seti_applet-0.4.1.tar.gz) = dbd7b73c857a39cf26e563e962050053
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	2000/07/13 10:58:21	1.2
+++ pkg-descr	2001/08/22 01:00:24
@@ -1,4 +1,9 @@
-Displays in an applet the current status of
-any seti@home client running.
+This applet displays the progress of the seti@home client in a
+panel applet. Currently can display the percentage complete, the
+best spike, best gaussian, units completed and total CPU time spent
+running the seti@home client.
+
+Once installed, this applet should appear under Monitors->Seti Applet
+in the 'Add Applet' menu on the panel.
 
 WWW: http://seti-applet.sourceforge.net/
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/pkg-message,v
retrieving revision 1.2
diff -u -r1.2 pkg-message
--- pkg-message	2000/07/13 10:58:21	1.2
+++ pkg-message	2001/08/22 01:07:51
@@ -1,10 +1,19 @@
-	To enable start/stop seti@home client,
-	please run "setiathome" as your login name.
-	If you installed "setiathome" by ports or package,
-	change the line 9 of %%LOCALBASE%%/etc/rc.d/setiathome.sh
-		seti_user=nobody
-			  ^^^^^^
-	to your login name before setting up working directory.
-	If you already done this as nobody, do
-		%%LOCALBASE%%/etc/rc.d/setiathome.sh stop
-		chown -R "YOUR LOGIN NAME" /var/db/setiathome
+****  To enable start/stop of the seti@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
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	2000/10/02 18:19:09	1.3
+++ pkg-plist	2001/08/22 01:54:59
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 bin/seti_applet
 etc/CORBA/servers/seti_applet.gnorba
 share/gnome/applets/Monitors/seti_applet.desktop
@@ -5,6 +6,9 @@
 share/gnome/help/seti_applet/C/docbook.css
 share/gnome/help/seti_applet/C/images/adv_prop.gif
 share/gnome/help/seti_applet/C/images/basic_prop.gif
+share/gnome/help/seti_applet/C/images/new_user_details_large.gif
+share/gnome/help/seti_applet/C/images/new_user_details_small.gif
+share/gnome/help/seti_applet/C/images/new_user_detected.gif
 share/gnome/help/seti_applet/C/index.html
 share/gnome/help/seti_applet/C/operation.html
 share/gnome/help/seti_applet/C/startingsetiprocess.html
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/astro/seti_applet/files/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- files/patch-aa	2001/02/26 04:30:34	1.5
+++ files/patch-aa	2001/08/22 01:33:39
@@ -1,24 +1,28 @@
---- src/seti_applet.c.orig	Tue Oct  3 11:05:06 2000
-+++ src/seti_applet.c	Tue Oct  3 11:06:23 2000
-@@ -1442,7 +1442,7 @@
- 		g_free ( sa.seti_dir );
- 	}
- 	gnome_config_push_prefix ( path );
--	sa.seti_dir = gnome_config_get_string ( "setiapplet/setidir=/usr/local/seti" );
-+	sa.seti_dir = gnome_config_get_string ( "setiapplet/setidir=/var/db/setiathome" );
- 	sa.update_interval = gnome_config_get_int ( "setiapplet/updateinterval=3" );
- 	sa.file_update_interval = gnome_config_get_int ( "setiapplet/fileupdateinterval=120" );
- 
-@@ -1460,10 +1460,10 @@
- 		g_free ( sa.extra_params );
- 	}
- 	sa.extra_params = gnome_config_get_string ( "setiapplet/extraparams=");
--	sa.separate_exe_dir = gnome_config_get_int ( "setiapplet/separateexedir=0" );
-+	sa.separate_exe_dir = gnome_config_get_int ( "setiapplet/separateexedir=1" );
- 	if ( sa.separate_exe_dir == TRUE )
+--- src/seti_applet.c.orig	Thu Jun 28 05:00:48 2001
++++ src/seti_applet.c	Wed Aug 22 03:33:19 2001
+@@ -2046,7 +2046,7 @@
+     }
+   gnome_config_push_prefix (path);
+   sa.seti_dir =
+-    gnome_config_get_string ("setiapplet/setidir=/usr/local/seti");
++    gnome_config_get_string ("setiapplet/setidir=/var/db/setiathome");
+   sa.update_interval = gnome_config_get_int ("setiapplet/updateinterval=3");
+   sa.file_update_interval =
+     gnome_config_get_int ("setiapplet/fileupdateinterval=120");
+@@ -2075,14 +2075,14 @@
+       g_free (sa.extra_params);
+     }
+   sa.extra_params = gnome_config_get_string ("setiapplet/extraparams=");
+-  sa.separate_exe_dir = gnome_config_get_int ("setiapplet/separateexedir=0");
++  sa.separate_exe_dir = gnome_config_get_int ("setiapplet/separateexedir=1");
+   if (sa.separate_exe_dir != 0)
+     {
+       if (sa.seti_exe_dir != NULL)
  	{
--		sa.seti_exe_dir = gnome_config_get_string ( "setiapplet/setiexedir" );
-+		sa.seti_exe_dir = gnome_config_get_string ( "setiapplet/setiexedir=/usr/local/sbin" );
+ 	  g_free (sa.seti_exe_dir);
  	}
- 	sa.launch_on_start = gnome_config_get_int ( "setiapplet/launchonstart=0" );
- 	gnome_config_pop_prefix();
+-      sa.seti_exe_dir = gnome_config_get_string ("setiapplet/setiexedir");
++      sa.seti_exe_dir = gnome_config_get_string ("setiapplet/setiexedir=%%LOCALBASE%%/sbin");
+     }
+   sa.launch_on_start = gnome_config_get_int ("setiapplet/launchonstart=0");
+   gnome_config_pop_prefix ();
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109060741.f867fmg92501>