Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 11:38:57 +0000 (GMT)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33239: new port: x11/gxset 0.3
Message-ID:  <20011227113857.B38F22102C@kiowa.dek.spc.org>

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

>Number:         33239
>Category:       ports
>Synopsis:       new port: x11/gxset 0.3
>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:   Thu Dec 27 03:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kiowa.dek.spc.org 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Mon Dec 24 04:57:54 GMT 2001 root@kiowa.dek.spc.org:/usr/src/sys/i386/compile/KIOWA i386

>Description:
	gxset is a GTK front-end to the functionality of the XFree86
	xset(1) command line utility.
>How-To-Repeat:
>Fix:

	

--- gxset.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:
#
#	gxset
#	gxset/files
#	gxset/files/patch-aa
#	gxset/pkg-descr
#	gxset/distinfo
#	gxset/Makefile
#	gxset/pkg-comment
#	gxset/pkg-plist
#
echo c - gxset
mkdir -p gxset > /dev/null 2>&1
echo c - gxset/files
mkdir -p gxset/files > /dev/null 2>&1
echo x - gxset/files/patch-aa
sed 's/^X//' >gxset/files/patch-aa << 'END-of-gxset/files/patch-aa'
X--- src/main.c.orig	Thu Dec 27 11:29:55 2001
X+++ src/main.c	Thu Dec 27 11:33:43 2001
X@@ -30,6 +30,7 @@
X #include <getopt.h>
X 
X #include <sys/types.h>
X+#include <sys/time.h>
X #include <sys/resource.h>
X #include <sys/wait.h>
X 
X@@ -150,7 +151,7 @@
X contains(const char *s, const char *kw, XsetInputType t, int *p1, int *p2)
X {
X     const char *found;
X-    const char stmp[128];
X+    char stmp[128];
X     int itmp, itmp2;
X 
X     found = strstr(s, kw);
X@@ -655,12 +656,12 @@
X 	printf("Usage: %s [OPTION ...] FILE ...\n", g_get_prgname());
X 
X 	fputs ("\n\
X--h, --help		display this help and exit\n\
X--V, --version		output version information and exit\n\
X+-h, display this help and exit\n\
X+-V, output version information and exit\n\
X \n\
X--n, --dry-run		print xset commands to stdout\n\
X--c, --no-confirm-dialog	don't use the default confirmation dialogs\n\
X--e, --no-error-dialogs	print error messages to stderr\n\
X+-n, print xset commands to stdout\n\
X+-c, don't use the default confirmation dialogs\n\
X+-e, print error messages to stderr\n\
X \n\
X Report bugs to René Seindal <rene@seindal.dk>.\n",
X 	       stdout);
X@@ -689,8 +690,7 @@
X     gtk_set_locale ();
X     gtk_init (&argc, &argv);
X 
X-    while ((optchar = getopt_long(argc, argv, OPTSTRING, 
X-				  long_options, NULL)) != EOF)
X+    while ((optchar = getopt(argc, argv, OPTSTRING)) != EOF)
X     {
X 	switch (optchar)
X 	{
END-of-gxset/files/patch-aa
echo x - gxset/pkg-descr
sed 's/^X//' >gxset/pkg-descr << 'END-of-gxset/pkg-descr'
XFrom the author's website:
X
XGTK xset is a graphical frontend to the X command line tool xset(1). It
Xis a gtk application, designed with Glade.  GTK xset can set auto repeat,
Xkey click, bell, mouse, screen saver and DPMS parameters. It also has a
Xfont path editor.  GTK xset can save a xset command, which restores all
Xsettings, to the file file ~/.xset.sh. This file can be read from
X.xinitrc or other startup file.
X
XAuthor: rene@seindal.dk
XWWW: http://www.seindal.dk/rene/software/gxset/
X
XBruce
Xbms@spc.org
END-of-gxset/pkg-descr
echo x - gxset/distinfo
sed 's/^X//' >gxset/distinfo << 'END-of-gxset/distinfo'
XMD5 (gxset-0.3.tar.gz) = 008d313f83a85ee533650e60cc39754d
END-of-gxset/distinfo
echo x - gxset/Makefile
sed 's/^X//' >gxset/Makefile << 'END-of-gxset/Makefile'
X# New ports collection makefile for:    gxset
X# Date created:         27 December 2001
X# Whom:                 Bruce M Simpson <bms@spc.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=       gxset
XPORTVERSION=    0.3
XCATEGORIES=     x11
XMASTER_SITES=   ftp://ftp.seindal.dk/pub/rene/
X
XMAINTAINER=     bms@spc.org
X
XUSE_GMAKE=      yes
XGNU_CONFIGURE=  yes
XUSE_GTK=        yes
XUSE_XPM=        yes
XUSE_X11_PREFIX=	yes
X
XNOMAN=
X
X.include <bsd.port.mk>
END-of-gxset/Makefile
echo x - gxset/pkg-comment
sed 's/^X//' >gxset/pkg-comment << 'END-of-gxset/pkg-comment'
XGTK frontend for xset(1)
END-of-gxset/pkg-comment
echo x - gxset/pkg-plist
sed 's/^X//' >gxset/pkg-plist << 'END-of-gxset/pkg-plist'
Xbin/gxset
END-of-gxset/pkg-plist
exit
--- gxset.shar ends here ---


>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?20011227113857.B38F22102C>