aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-28 06:17:55 +0800
committerlioux <lioux@FreeBSD.org>2001-12-28 06:17:55 +0800
commit1e33d5c309d7eeb455031dcf49fbd8ae239e0f82 (patch)
tree4da553a748026233ac181774c6f57945ebe3970f
parent32eff4ad0de54a4fe9717eb62bf0fb87a2e69f1b (diff)
downloadfreebsd-ports-gnome-1e33d5c309d7eeb455031dcf49fbd8ae239e0f82.tar.gz
freebsd-ports-gnome-1e33d5c309d7eeb455031dcf49fbd8ae239e0f82.tar.zst
freebsd-ports-gnome-1e33d5c309d7eeb455031dcf49fbd8ae239e0f82.zip
New port gxset version 0.3: GTK frontend for xset(1)
PR: 33239 Submitted by: Bruce M Simpson <bms@spc.org>
-rw-r--r--x11/Makefile1
-rw-r--r--x11/gxset/Makefile23
-rw-r--r--x11/gxset/distinfo1
-rw-r--r--x11/gxset/files/patch-src:main.c47
-rw-r--r--x11/gxset/pkg-comment1
-rw-r--r--x11/gxset/pkg-descr14
-rw-r--r--x11/gxset/pkg-plist1
7 files changed, 88 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 9771eb11b154..796f806d63e5 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -41,6 +41,7 @@
SUBDIR += gswitchit_applet
SUBDIR += gtk-theme-switch
SUBDIR += gvid
+ SUBDIR += gxset
SUBDIR += gyroscope
SUBDIR += imwheel
SUBDIR += kb2mb2
diff --git a/x11/gxset/Makefile b/x11/gxset/Makefile
new file mode 100644
index 000000000000..c9b33a388707
--- /dev/null
+++ b/x11/gxset/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: gxset
+# Date created: 27 December 2001
+# Whom: Bruce M Simpson <bms@spc.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gxset
+PORTVERSION= 0.3
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.seindal.dk/pub/rene/
+
+MAINTAINER= bms@spc.org
+
+USE_X_PREFIX= yes
+USE_GTK= yes
+USE_XPM= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+NOMAN=
+
+.include <bsd.port.mk>
diff --git a/x11/gxset/distinfo b/x11/gxset/distinfo
new file mode 100644
index 000000000000..24264d50abab
--- /dev/null
+++ b/x11/gxset/distinfo
@@ -0,0 +1 @@
+MD5 (gxset-0.3.tar.gz) = 008d313f83a85ee533650e60cc39754d
diff --git a/x11/gxset/files/patch-src:main.c b/x11/gxset/files/patch-src:main.c
new file mode 100644
index 000000000000..4aabf19a2a89
--- /dev/null
+++ b/x11/gxset/files/patch-src:main.c
@@ -0,0 +1,47 @@
+--- src/main.c.orig Thu Dec 27 11:29:55 2001
++++ src/main.c Thu Dec 27 11:33:43 2001
+@@ -30,6 +30,7 @@
+ #include <getopt.h>
+
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #include <sys/wait.h>
+
+@@ -150,7 +151,7 @@
+ contains(const char *s, const char *kw, XsetInputType t, int *p1, int *p2)
+ {
+ const char *found;
+- const char stmp[128];
++ char stmp[128];
+ int itmp, itmp2;
+
+ found = strstr(s, kw);
+@@ -655,12 +656,12 @@
+ printf("Usage: %s [OPTION ...] FILE ...\n", g_get_prgname());
+
+ fputs ("\n\
+--h, --help display this help and exit\n\
+--V, --version output version information and exit\n\
++-h, display this help and exit\n\
++-V, output version information and exit\n\
+ \n\
+--n, --dry-run print xset commands to stdout\n\
+--c, --no-confirm-dialog don't use the default confirmation dialogs\n\
+--e, --no-error-dialogs print error messages to stderr\n\
++-n, print xset commands to stdout\n\
++-c, don't use the default confirmation dialogs\n\
++-e, print error messages to stderr\n\
+ \n\
+ Report bugs to René Seindal <rene@seindal.dk>.\n",
+ stdout);
+@@ -689,8 +690,7 @@
+ gtk_set_locale ();
+ gtk_init (&argc, &argv);
+
+- while ((optchar = getopt_long(argc, argv, OPTSTRING,
+- long_options, NULL)) != EOF)
++ while ((optchar = getopt(argc, argv, OPTSTRING)) != EOF)
+ {
+ switch (optchar)
+ {
diff --git a/x11/gxset/pkg-comment b/x11/gxset/pkg-comment
new file mode 100644
index 000000000000..ad13979e769e
--- /dev/null
+++ b/x11/gxset/pkg-comment
@@ -0,0 +1 @@
+GTK frontend for xset(1)
diff --git a/x11/gxset/pkg-descr b/x11/gxset/pkg-descr
new file mode 100644
index 000000000000..bbf21ebb32a3
--- /dev/null
+++ b/x11/gxset/pkg-descr
@@ -0,0 +1,14 @@
+From the author's website:
+
+GTK xset is a graphical frontend to the X command line tool xset(1).
+It is a gtk application, designed with Glade. GTK xset can set auto
+repeat, key click, bell, mouse, screen saver and DPMS parameters.
+It also has a font path editor. GTK xset can save a xset command,
+which restores all settings, to the file file ~/.xset.sh. This file
+can be read from .xinitrc or other startup file.
+
+Author: rene@seindal.dk
+WWW: http://www.seindal.dk/rene/software/gxset/
+
+Bruce
+bms@spc.org
diff --git a/x11/gxset/pkg-plist b/x11/gxset/pkg-plist
new file mode 100644
index 000000000000..51b39df7f9a2
--- /dev/null
+++ b/x11/gxset/pkg-plist
@@ -0,0 +1 @@
+bin/gxset