summaryrefslogtreecommitdiff
path: root/sysutils/grun
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-11-18 22:41:40 +0000
committeragc <agc@pkgsrc.org>2001-11-18 22:41:40 +0000
commit4678c7f3f145b7f2bfd2351056618d708b618802 (patch)
tree8a69b9ff5502095a4a88ac005b2e0ab1b836af3d /sysutils/grun
parent8aacbd0c86ae8136dc0b42d5f63bd26e11782dc2 (diff)
downloadpkgsrc-4678c7f3f145b7f2bfd2351056618d708b618802.tar.gz
Initial import of grun-0.9.2 into the NetBSD Packages Collection.
gRun is a GTK based Run dialog that closely resembles the Windows Run dialog, similar to xexec. However, gRun is much more powerful than xexec, looks a lot better, and has the big advantage that you can start typing a command without having to mouse-click into the text field. Provided in pkg PR 14440 by "Eric Gillespie, Jr." <epg@pretzelnet.org>, modified slightly by me.
Diffstat (limited to 'sysutils/grun')
-rw-r--r--sysutils/grun/DESCR6
-rw-r--r--sysutils/grun/Makefile19
-rw-r--r--sysutils/grun/PLIST6
-rw-r--r--sysutils/grun/distinfo5
-rw-r--r--sysutils/grun/patches/patch-aa27
5 files changed, 63 insertions, 0 deletions
diff --git a/sysutils/grun/DESCR b/sysutils/grun/DESCR
new file mode 100644
index 00000000000..16c6c242f35
--- /dev/null
+++ b/sysutils/grun/DESCR
@@ -0,0 +1,6 @@
+gRun is a GTK based Run dialog that closely resembles
+the Windows Run dialog, similar to xexec. However,
+gRun is much more powerful than xexec, looks a lot
+better, and has the big advantage that you can start
+typing a command without having to mouse-click into
+the text field.
diff --git a/sysutils/grun/Makefile b/sysutils/grun/Makefile
new file mode 100644
index 00000000000..5c8cb6fa839
--- /dev/null
+++ b/sysutils/grun/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/18 22:41:40 agc Exp $
+
+DISTNAME= grun-0.9.2
+CATEGORIES= misc
+MASTER_SITES= http://www.geocities.com/ResearchTriangle/Facility/1468/sg/
+
+MAINTAINER= epg@pretzelnet.org
+HOMEPAGE= ${MASTER_SITES}/grun.html
+COMMENT= GTK+ based Run dialog
+
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+
+post-install:
+ ${MV} ${LOCALBASE}/man/man1/grun.1x ${LOCALBASE}/man/man1/grun.1
+
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/grun/PLIST b/sysutils/grun/PLIST
new file mode 100644
index 00000000000..91179875f67
--- /dev/null
+++ b/sysutils/grun/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/18 22:41:40 agc Exp $
+bin/grun
+man/man1/grun.1
+share/grun/gassoc
+share/grun/consfile
+@dirrm share/grun
diff --git a/sysutils/grun/distinfo b/sysutils/grun/distinfo
new file mode 100644
index 00000000000..f4fa60598b3
--- /dev/null
+++ b/sysutils/grun/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/18 22:41:40 agc Exp $
+
+SHA1 (grun-0.9.2.tar.gz) = 3b4a06b75aa07aa5d19a4594566773db34ea937d
+Size (grun-0.9.2.tar.gz) = 113745 bytes
+SHA1 (patch-aa) = cd9b0f80c3144403fddd59446918bf59db356131
diff --git a/sysutils/grun/patches/patch-aa b/sysutils/grun/patches/patch-aa
new file mode 100644
index 00000000000..0a52698120f
--- /dev/null
+++ b/sysutils/grun/patches/patch-aa
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/18 22:41:41 agc Exp $
+
+Use correct header file for locale information
+
+--- grun.c 2001/11/13 14:57:16 1.1
++++ grun.c 2001/11/13 14:57:44
+@@ -50,6 +50,10 @@
+ #define ARG_BASE 1
+ #endif
+
++#ifdef HAVE_LOCALE_H
++#include <locale.h>
++#endif
++
+ #include <sys/stat.h>
+
+ #define MAX_BUFF 1024
+@@ -894,7 +898,9 @@
+
+ gtk_init(&argc, &argv);
+ #ifndef WIN32
++#ifdef HAVE_SETLOCALE
+ setlocale (LC_ALL, "");
++#endif
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+ #endif /* WIN32 */