ports/64824: Maintainer update: x11/gcursor 0.03 -> 0.04

Jeremy Messenger mezz7 at cox.net
Sun Mar 28 02:40:03 UTC 2004


>Number:         64824
>Category:       ports
>Synopsis:       Maintainer update: x11/gcursor 0.03 -> 0.04
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 27 18:40:02 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mezz
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ns1.mezzweb.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Thu Jan 29
23:14:45 CST 2004 mezz at mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386

>Description:
Update to 0.04

>How-To-Repeat:
n/a

>Fix:


--- gcursor.diff begins here ---
diff -ur gcursor.orig/Makefile gcursor/Makefile
--- gcursor.orig/Makefile	Tue Mar 23 14:06:48 2004
+++ gcursor/Makefile	Fri Mar 26 17:51:03 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	gcursor
-PORTVERSION=	0.03
+PORTVERSION=	0.04
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://download.qballcow.nl/programs/gcursor/
 
diff -ur gcursor.orig/distinfo gcursor/distinfo
--- gcursor.orig/distinfo	Sat Mar 13 18:28:58 2004
+++ gcursor/distinfo	Sat Mar 27 11:46:35 2004
@@ -1,2 +1,2 @@
-MD5 (gcursor-0.03.tar.gz) = 7dc17e9c3e4389c5065db8903f8d0710
-SIZE (gcursor-0.03.tar.gz) = 40334
+MD5 (gcursor-0.04.tar.gz) = b0e92fb0f1f910d0a130ed9d02be0d12
+SIZE (gcursor-0.04.tar.gz) = 78100
diff -ur gcursor.orig/files/patch-src::gcursor.c gcursor/files/patch-src::gcursor.c
--- gcursor.orig/files/patch-src::gcursor.c	Wed Mar 24 00:57:33 2004
+++ gcursor/files/patch-src::gcursor.c	Fri Mar 26 17:55:43 2004
@@ -1,6 +1,6 @@
---- src/gcursor.c.orig	Tue Feb 24 04:49:10 2004
-+++ src/gcursor.c	Tue Mar 23 23:30:06 2004
-@@ -15,7 +15,7 @@
+--- src/gcursor.c.orig	Fri Mar 26 17:51:58 2004
++++ src/gcursor.c	Fri Mar 26 17:55:16 2004
+@@ -16,7 +16,7 @@
  GConfClient *client;
  XcursorImage * cursor = NULL;
  char*current_theme = NULL;
@@ -9,38 +9,14 @@
  
  typedef struct {
  	XcursorImages *image;
-@@ -25,9 +25,7 @@
+@@ -26,9 +26,7 @@
  animation_struct animations[4];
  
  char *paths[4] = {
 -	"/usr/share/cursors/xfree/",
 -	"/usr/local/share/icons/",
 -	"/usr/share/icons/",
-+	"/usr/X11R6/lib/X11/icons/",
++	"%%X11BASE%%/lib/X11/icons/",
  	"%s/.icons/"
  };	
  
-@@ -177,8 +175,9 @@
- 	/* where gnome 2.5(.5) uses a gconf key */
- #ifdef GNOME_VERSION_2_4
- 	char *filepath;
-+	FILE *fp;
- 	filepath = g_strdup_printf("%s/.icons/default/index.theme", g_getenv("HOME"));
--	FILE *fp = fopen(filepath, "w");
-+	fp = fopen(filepath, "w");
- 	if(fp != NULL)
- 	{
- 		fprintf(fp, "[Icon Theme]\nInherits=%s\n", name);
-@@ -251,9 +250,10 @@
- 	int i = path_index;
- 	while(i > 0)
- 	{
--		dirname = g_strdup_printf(paths[i-1], g_getenv("HOME"));
--		GDir *directory = g_dir_open(dirname, 0, NULL);
-+		GDir *directory;
- 		const gchar *name = NULL;
-+		dirname = g_strdup_printf(paths[i-1], g_getenv("HOME"));
-+		directory = g_dir_open(dirname, 0, NULL);
- 		while(directory != NULL && (name = g_dir_read_name(directory)) != NULL)		
- 		{
- 			GdkPixbuf *pixbuf;
--- gcursor.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list