Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 21:36:40 -0500 (CDT)
From:      Jeremy Messenger <mezz7@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65342: Maintainer update: x11/gcursor 0.04 -> 0.05
Message-ID:  <200404090236.i392aeLL013740@ns1.mezzweb.com>
Resent-Message-ID: <200404090310.i393AGAY069832@freefall.freebsd.org>

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

>Number:         65342
>Category:       ports
>Synopsis:       Maintainer update: x11/gcursor 0.04 -> 0.05
>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:   Thu Apr 08 20:10:16 PDT 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 #0: Tue Mar 30
01:17:23 CST 2004 mezz@mezz.mezzweb.com:/usr/src/sys/i386/compile/BSDROCKS i386

>Description:
Update to 0.05.

>How-To-Repeat:
n/a

>Fix:


--- gcursor.diff begins here ---
diff -ur gcursor.orig/Makefile gcursor/Makefile
--- gcursor.orig/Makefile	Mon Apr  5 14:06:26 2004
+++ gcursor/Makefile	Thu Apr  8 21:55:43 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	gcursor
-PORTVERSION=	0.04
-PORTREVISION=	2
+PORTVERSION=	0.05
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://download.qballcow.nl/programs/gcursor/
 
@@ -19,7 +18,7 @@
 
 USE_GMAKE=	yes
 USE_X_PREFIX=	yes
-USE_GNOME=	gnomehack gnomeprefix gnometarget libgnomeui
+USE_GNOME=	gnomehack gnomeprefix gnometarget intlhack libgnomeui
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
@@ -27,5 +26,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
 			${WRKSRC}/src/gcursor.c
+	@${REINPLACE_CMD} -e 's|share/applications|share/gnome/capplets|g' \
+			${WRKSRC}/data/Makefile.in
 
 .include <bsd.port.mk>
diff -ur gcursor.orig/distinfo gcursor/distinfo
--- gcursor.orig/distinfo	Sun Mar 28 00:24:16 2004
+++ gcursor/distinfo	Thu Apr  8 17:44:53 2004
@@ -1,2 +1,2 @@
-MD5 (gcursor-0.04.tar.gz) = b0e92fb0f1f910d0a130ed9d02be0d12
-SIZE (gcursor-0.04.tar.gz) = 78100
+MD5 (gcursor-0.05.tar.gz) = 945fb7548eb412a1bcb5dd83a7287fb4
+SIZE (gcursor-0.05.tar.gz) = 97544
diff -ur gcursor.orig/files/patch-src::gcursor.c gcursor/files/patch-src::gcursor.c
--- gcursor.orig/files/patch-src::gcursor.c	Mon Apr  5 13:22:14 2004
+++ gcursor/files/patch-src::gcursor.c	Thu Apr  8 18:00:49 2004
@@ -1,31 +1,14 @@
---- src/gcursor.c.orig	Fri Mar 26 12:54:55 2004
-+++ src/gcursor.c	Mon Apr  5 13:21:52 2004
-@@ -16,7 +16,7 @@
- GConfClient *client;
- XcursorImage * cursor = NULL;
- char*current_theme = NULL;
--int path_index = 4;
-+int path_index = 2;
+--- src/gcursor.c.orig	Thu Apr  8 10:25:03 2004
++++ src/gcursor.c	Thu Apr  8 18:00:14 2004
+@@ -32,10 +32,7 @@
  
- typedef struct {
- 	XcursorImages *image;
-@@ -26,9 +26,7 @@
- animation_struct animations[4];
- 
- char *paths[4] = {
+ #warning move this into gconf
+ char *paths[] = {
 -	"/usr/share/cursors/xfree/",
+-	"/usr/X11R6/lib/X11/icons/",
 -	"/usr/local/share/icons/",
 -	"/usr/share/icons/",
 +	"%%X11BASE%%/lib/X11/icons/",
- 	"%s/.icons/"
+ 	"%s/.icons/",
+ 	NULL
  };	
- 
-@@ -348,7 +346,7 @@
- 				GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_LARGE_TOOLBAR);
- 	}
- 
--	if(animations[1].image->images != NULL && animations[1].image->nimage != 0)
-+	if(animations[1].image != NULL && animations[1].image->nimage != 0)
- 	{
- 		pixbuf = get_pixbuf_from_cursor_image(animations[1].image->images[animations[1].pos]);
- 		gtk_image_set_from_pixbuf(GTK_IMAGE(glade_xml_get_widget(main_window, "example_2")),
diff -ur gcursor.orig/pkg-plist gcursor/pkg-plist
--- gcursor.orig/pkg-plist	Sat Mar 13 18:28:58 2004
+++ gcursor/pkg-plist	Thu Apr  8 21:56:30 2004
@@ -1,3 +1,5 @@
 bin/gcursor
+share/gnome/capplets/gcursor.desktop
 share/gnome/gcursor/gcursor.glade
+share/locale/de/LC_MESSAGES/gcursor.mo
 @dirrm share/gnome/gcursor
--- gcursor.diff ends here ---


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



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