aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-09 11:48:04 +0800
committermarcus <marcus@FreeBSD.org>2004-04-09 11:48:04 +0800
commitd2968404deb7020aaac9393f61be3322062969a1 (patch)
treefecc7f424d3c0992049881d3b6e9bcd8a322bfab /x11
parente38d5e5ac665343f65469ab92ccdaa802e41b388 (diff)
downloadfreebsd-ports-gnome-d2968404deb7020aaac9393f61be3322062969a1.tar.gz
freebsd-ports-gnome-d2968404deb7020aaac9393f61be3322062969a1.tar.zst
freebsd-ports-gnome-d2968404deb7020aaac9393f61be3322062969a1.zip
Update to 0.05.
PR: 65342 Submitted by: maintainer
Diffstat (limited to 'x11')
-rw-r--r--x11/gcursor/Makefile7
-rw-r--r--x11/gcursor/distinfo4
-rw-r--r--x11/gcursor/files/patch-src::gcursor.c33
-rw-r--r--x11/gcursor/pkg-plist2
4 files changed, 16 insertions, 30 deletions
diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile
index 4062c481c19f..5eed4317dec0 100644
--- a/x11/gcursor/Makefile
+++ b/x11/gcursor/Makefile
@@ -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 @@ RUN_DEPENDS= file-roller:${PORTSDIR}/archivers/fileroller
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 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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 --git a/x11/gcursor/distinfo b/x11/gcursor/distinfo
index 2eb56ddbb451..9c0be4ecc43c 100644
--- a/x11/gcursor/distinfo
+++ b/x11/gcursor/distinfo
@@ -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 --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c
index 9fab694b05a3..3ba59c95315e 100644
--- a/x11/gcursor/files/patch-src::gcursor.c
+++ b/x11/gcursor/files/patch-src::gcursor.c
@@ -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 --git a/x11/gcursor/pkg-plist b/x11/gcursor/pkg-plist
index fbc44ea09e78..30952d358db5 100644
--- a/x11/gcursor/pkg-plist
+++ b/x11/gcursor/pkg-plist
@@ -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