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 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