ports/64080: New port: deskutils/gcursor, A mouse cursor theme selector for GNOME.
Jeremy Messenger
mezz7 at cox.net
Thu Mar 11 03:40:10 UTC 2004
>Number: 64080
>Category: ports
>Synopsis: New port: deskutils/gcursor, A mouse cursor theme selector for GNOME.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 10 19:40:10 PST 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 #2: Thu Jan 29
23:14:45 CST 2004 mezz at mezz.mezzweb.com:/usr/obj/usr/src/sys/BSDROCKS i386
>Description:
GCursor is a gtk+-2 xcursor selector. It tries to have the same look and feel
as the theme-selector in the gnome-control-center. Gcursor is a temporary
solution until a decent selector is included in the gnome-control-center.
>How-To-Repeat:
n/a
>Fix:
--- gcursor.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# gcursor
# gcursor/pkg-plist
# gcursor/Makefile
# gcursor/pkg-descr
# gcursor/distinfo
# gcursor/files
# gcursor/files/patch-src::gcursor.c
#
echo c - gcursor
mkdir -p gcursor > /dev/null 2>&1
echo x - gcursor/pkg-plist
sed 's/^X//' >gcursor/pkg-plist << 'END-of-gcursor/pkg-plist'
Xbin/gcursor
Xshare/gnome/gcursor/gcursor.glade
X at dirrm share/gnome/gcursor
END-of-gcursor/pkg-plist
echo x - gcursor/Makefile
sed 's/^X//' >gcursor/Makefile << 'END-of-gcursor/Makefile'
X# New ports collection makefile for: gcursor
X# Date created: 08 March 2004
X# Whom: Mezz <mezz7 at cox.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= gcursor
XPORTVERSION= 0.03
XCATEGORIES= deskutils gnome
XMASTER_SITES= http://download.qballcow.nl/programs/gcursor/
X
XMAINTAINER= mezz7 at cox.net
XCOMMENT= A mouse cursor theme selector for GNOME
X
XBUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xcursor.pc:${PORTSDIR}/x11/XFree86-4-libraries
XRUN_DEPENDS= file-roller:${PORTSDIR}/archivers/fileroller
X
XUSE_GMAKE= yes
XUSE_X_PREFIX= yes
XUSE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
X ${WRKSRC}/src/gcursor.c
X
X.include <bsd.port.mk>
END-of-gcursor/Makefile
echo x - gcursor/pkg-descr
sed 's/^X//' >gcursor/pkg-descr << 'END-of-gcursor/pkg-descr'
XGCursor is a gtk+-2 xcursor selector. It tries to have the same look and feel
Xas the theme-selector in the gnome-control-center. Gcursor is a temporary
Xsolution until a decent selector is included in the gnome-control-center.
X
XWWW: http://qballcow.nl/?s=17
END-of-gcursor/pkg-descr
echo x - gcursor/distinfo
sed 's/^X//' >gcursor/distinfo << 'END-of-gcursor/distinfo'
XMD5 (gcursor-0.03.tar.gz) = 7dc17e9c3e4389c5065db8903f8d0710
XSIZE (gcursor-0.03.tar.gz) = 40334
END-of-gcursor/distinfo
echo c - gcursor/files
mkdir -p gcursor/files > /dev/null 2>&1
echo x - gcursor/files/patch-src::gcursor.c
sed 's/^X//' >gcursor/files/patch-src::gcursor.c << 'END-of-gcursor/files/patch-src::gcursor.c'
X--- src/gcursor.c.orig Mon Mar 8 01:16:17 2004
X+++ src/gcursor.c Mon Mar 8 01:16:51 2004
X@@ -15,7 +15,7 @@
X GConfClient *client;
X XcursorImage * cursor = NULL;
X char*current_theme = NULL;
X-int path_index = 4;
X+int path_index = 2;
X
X typedef struct {
X XcursorImages *image;
X@@ -25,9 +25,7 @@
X animation_struct animations[4];
X
X char *paths[4] = {
X- "/usr/share/cursors/xfree/",
X- "/usr/local/share/icons/",
X- "/usr/share/icons/",
X+ "%%X11BASE%%/lib/X11/icons/",
X "%s/.icons/"
X };
X
END-of-gcursor/files/patch-src::gcursor.c
exit
--- gcursor.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list