Skip site navigation (1)Skip section navigation (2)
Date:      8 Oct 2001 12:35:40 -0700
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31144: New port: x11/xcursor
Message-ID:  <20011008193540.72809.qmail@magnesium.net>

next in thread | raw e-mail | index | archive | help

>Number:         31144
>Category:       ports
>Synopsis:       New port: x11/xcursor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 08 12:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 4.4-PRERELEASE
>Organization:
>Environment:
FreeBSD 4.4-PRERELEASE #4: Thu Sep 20 05:47:24 PDT 2001
sethk@kaneda.meowfishies.com:/usr/obj/usr/src/sys/KANEDA

>Description:
	
This is a Motif program for graphically selecting a different X cursor.
The user is presented with a grid containing buttons for each cursor
from the X11 "cursor" font.  The cursor is used as the default root
cursor after it is selected.

WWW: http://hea-www.harvard.edu/~rpete/xcursor/

- Seth
sethk@meowfishies.com

>How-To-Repeat:
	N/A
>Fix:

# 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:
#
#	x11/xcursor
#	x11/xcursor/Makefile
#	x11/xcursor/distinfo
#	x11/xcursor/pkg-comment
#	x11/xcursor/pkg-descr
#	x11/xcursor/pkg-plist
#	x11/xcursor/files
#	x11/xcursor/files/Imakefile
#	x11/xcursor/files/patch-xcursor.c
#
echo c - x11/xcursor
mkdir -p x11/xcursor > /dev/null 2>&1
echo x - x11/xcursor/Makefile
sed 's/^X//' >x11/xcursor/Makefile << 'END-of-x11/xcursor/Makefile'
X# New ports collection makefile for:	xcursor
X# Date created:		7 October 2001
X# Whom:			sethk@meowfishies.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xcursor
XPORTVERSION=	0.0
XPORTEPOCH=	20011007
XCATEGORIES=	x11
XMASTER_SITES=	http://hea-www.harvard.edu/~rpete/xcursor/
XDISTFILES=	xcursor.c XCursor
XDIST_SUBDIR=	xcursor
XEXTRACT_ONLY=
X
XMAINTAINER=	sethk@meowfishies.com
X
XNO_WRKSUBDIR=	yes
XNO_INSTALL_MANPAGES=yes
X
XUSE_IMAKE=	yes
XREQUIRES_MOTIF=	yes
X
Xpost-extract:
X	@${CP} -p ${DISTDIR}/${DIST_SUBDIR}/xcursor.c ${WRKDIR}/
X	@${CP} -p ${DISTDIR}/${DIST_SUBDIR}/XCursor ${WRKDIR}/XCursor.ad
X	@${CP} ${FILESDIR}/Imakefile ${WRKDIR}/
X.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
X	@if [ `id -u` = 0 ]; then \
X		${CHMOD} -R ug-s ${WRKDIR}; \
X		${CHOWN} -R 0:0 ${WRKDIR}; \
X	fi
X.endif
X
X.include <bsd.port.mk>
END-of-x11/xcursor/Makefile
echo x - x11/xcursor/distinfo
sed 's/^X//' >x11/xcursor/distinfo << 'END-of-x11/xcursor/distinfo'
XMD5 (xcursor/xcursor.c) = f050ec2d69f5028f9186e2e1b244a489
XMD5 (xcursor/XCursor) = 1d1dd6c1fa7243b447ae70fcdb45a30a
END-of-x11/xcursor/distinfo
echo x - x11/xcursor/pkg-comment
sed 's/^X//' >x11/xcursor/pkg-comment << 'END-of-x11/xcursor/pkg-comment'
XSelect a different X11 cursor using a Motif interface
END-of-x11/xcursor/pkg-comment
echo x - x11/xcursor/pkg-descr
sed 's/^X//' >x11/xcursor/pkg-descr << 'END-of-x11/xcursor/pkg-descr'
XThis is a Motif program for graphically selecting a different X cursor.
XThe user is presented with a grid containing buttons for each cursor
Xfrom the X11 "cursor" font.  The cursor is used as the default root
Xcursor after it is selected.
X
XWWW: http://hea-www.harvard.edu/~rpete/xcursor/
X
X- Seth
Xsethk@meowfishies.com
END-of-x11/xcursor/pkg-descr
echo x - x11/xcursor/pkg-plist
sed 's/^X//' >x11/xcursor/pkg-plist << 'END-of-x11/xcursor/pkg-plist'
Xbin/xcursor
Xlib/X11/app-defaults/XCursor
END-of-x11/xcursor/pkg-plist
echo c - x11/xcursor/files
mkdir -p x11/xcursor/files > /dev/null 2>&1
echo x - x11/xcursor/files/Imakefile
sed 's/^X//' >x11/xcursor/files/Imakefile << 'END-of-x11/xcursor/files/Imakefile'
X# Xmkmf driver for x11/xcursor
X
XSYS_LIBRARIES = $(XGLIB) $(XPMLIB) $(XMLIB)
X#if SharedLibXp
X    SYS_LIBRARIES+= -lXp
X#endif /* SharedLibXp */
XSYS_LIBRARIES+= $(XTOOLLIB) $(XONLYLIB)
X
XOBJS = xcursor.o
XSRCS = xcursor.c
X
XComplexProgramTargetNoMan(xcursor)
XInstallAppDefaults(XCursor)
X
Xinstall.man::
X
END-of-x11/xcursor/files/Imakefile
echo x - x11/xcursor/files/patch-xcursor.c
sed 's/^X//' >x11/xcursor/files/patch-xcursor.c << 'END-of-x11/xcursor/files/patch-xcursor.c'
X--- xcursor.c.orig	Mon Oct  8 12:07:54 2001
X+++ xcursor.c	Mon Oct  8 12:08:07 2001
X@@ -273,7 +273,7 @@
X  */
X void ChangeCursors( Widget w, XtPointer client_data, XtPointer call_data ) {
X 	Cursor cursor;
X-	unsigned value = client_data;
X+	unsigned value = (unsigned)client_data;
X 	if ((cursor = XCreateFontCursor(data.display,value)) != None) {
X 		XDefineCursor( data.display, data.rootwindow, cursor );
X 		XDefineCursor( data.display, XtWindow(data.shell), cursor );
X@@ -289,7 +289,7 @@
X  */
X void PaintCursor( Widget w, XtPointer client_data, XtPointer call_data) {
X 	Dimension width, height;
X-	unsigned char char_value = client_data;
X+	unsigned char char_value = (unsigned)client_data;
X 	XCharStruct cs = data.fs->per_char[(int)client_data];
X 
X 	XtVaGetValues(
END-of-x11/xcursor/files/patch-xcursor.c
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011008193540.72809.qmail>