1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update to 0.05.

PR:		65342
Submitted by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2004-04-09 03:48:04 +00:00
parent ebcf708742
commit 085aa76e07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106537
4 changed files with 16 additions and 30 deletions

View File

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

View File

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

View File

@ -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")),

View File

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