diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-28 14:24:17 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-28 14:24:17 +0800 |
commit | 05011e84990aa97de399c4cf3a690e0fb018d56d (patch) | |
tree | f28d7ca3f42488b63a1810dc23b890b9c1849533 /x11 | |
parent | a55c4bbae0a3008bd12a432027f0bf1d69d7ec00 (diff) | |
download | freebsd-ports-gnome-05011e84990aa97de399c4cf3a690e0fb018d56d.tar.gz freebsd-ports-gnome-05011e84990aa97de399c4cf3a690e0fb018d56d.tar.zst freebsd-ports-gnome-05011e84990aa97de399c4cf3a690e0fb018d56d.zip |
Update to 0.04.
PR: 64824
Submitted by: maintainer
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gcursor/Makefile | 2 | ||||
-rw-r--r-- | x11/gcursor/distinfo | 4 | ||||
-rw-r--r-- | x11/gcursor/files/patch-src::gcursor.c | 34 |
3 files changed, 8 insertions, 32 deletions
diff --git a/x11/gcursor/Makefile b/x11/gcursor/Makefile index 34362ad2c677..6b5f76e50ddf 100644 --- a/x11/gcursor/Makefile +++ b/x11/gcursor/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gcursor -PORTVERSION= 0.03 +PORTVERSION= 0.04 CATEGORIES= x11 gnome MASTER_SITES= http://download.qballcow.nl/programs/gcursor/ diff --git a/x11/gcursor/distinfo b/x11/gcursor/distinfo index a567c00d374f..2eb56ddbb451 100644 --- a/x11/gcursor/distinfo +++ b/x11/gcursor/distinfo @@ -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 --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c index 2151097401fb..39d9e8cfe601 100644 --- a/x11/gcursor/files/patch-src::gcursor.c +++ b/x11/gcursor/files/patch-src::gcursor.c @@ -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; |