summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-20 15:58:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-20 15:58:53 +0000
commitd862eac50a632f4bf3eaf5f1770b45dfef8c7ba4 (patch)
treea5a95834763de91140532d951d03af098e44090b /x11
parentUpdate to Vim 6.0 beta AS (diff)
Add launch.app 0.6.5, an application launcher for WindowMaker dock.
Notes
Notes: svn path=/head/; revision=46551
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/launch.app/Makefile26
-rw-r--r--x11/launch.app/distinfo1
-rw-r--r--x11/launch.app/files/patch-GNUmakefile53
-rw-r--r--x11/launch.app/files/patch-execute.c22
-rw-r--r--x11/launch.app/files/patch-launch.c27
-rw-r--r--x11/launch.app/pkg-comment1
-rw-r--r--x11/launch.app/pkg-descr13
-rw-r--r--x11/launch.app/pkg-plist5
9 files changed, 149 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 1672cb5d87c6..714b66bc0e2a 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -50,6 +50,7 @@
SUBDIR += kdelibs2
SUBDIR += kvidtune
SUBDIR += kworldwatch
+ SUBDIR += launch.app
SUBDIR += libdnd
SUBDIR += libhelp
SUBDIR += libsx
diff --git a/x11/launch.app/Makefile b/x11/launch.app/Makefile
new file mode 100644
index 000000000000..25cf292ee5dc
--- /dev/null
+++ b/x11/launch.app/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: launch.app
+# Date created: 20 August 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= launch.app
+PORTVERSION= 0.6.5
+CATEGORIES= x11 windowmaker
+MASTER_SITES= http://stepmaker.sourceforge.net/launch/
+DISTNAME= ${PORTNAME:S/l/L/}-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
+
+WRKSRC= ${WRKDIR}/${PORTNAME:S/l/L/}
+
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GMAKE= yes
+MAKEFILE= GNUmakefile
+MAKE_ENV= MKDIR="${MKDIR}"
+
+.include <bsd.port.mk>
diff --git a/x11/launch.app/distinfo b/x11/launch.app/distinfo
new file mode 100644
index 000000000000..763ff77c5b3d
--- /dev/null
+++ b/x11/launch.app/distinfo
@@ -0,0 +1 @@
+MD5 (Launch.app-0.6.5.tar.gz) = 7444a8d7ec3ca6f0f93840100b779509
diff --git a/x11/launch.app/files/patch-GNUmakefile b/x11/launch.app/files/patch-GNUmakefile
new file mode 100644
index 000000000000..6003e6ccaac8
--- /dev/null
+++ b/x11/launch.app/files/patch-GNUmakefile
@@ -0,0 +1,53 @@
+
+$FreeBSD$
+
+--- GNUmakefile.orig Mon Jun 4 14:56:00 2001
++++ GNUmakefile Mon Aug 20 18:56:09 2001
+@@ -1,10 +1,10 @@
+-PREFIX = /usr/local/GNUstep/Apps
++prefix = $(PREFIX)/GNUstep/Apps
+ # Comment out the line below if you don't use shadow passwords
+-SHADOW = yes
+-CFLAGS = `get-wraster-flags --cflags` -DPREFIX="\"$(PREFIX)\""
++#SHADOW = yes
++CFLAGS += `get-wraster-flags --cflags` -DPREFIX="\"$(prefix)\""
+ LDFLAGS = `get-wraster-flags --ldflags`
+-LIBS = `get-wraster-flags --libs` -L/usr/X11R6/lib -L/usr/local/GNUstep/lib -lWMaker -lWINGs -lPropList -lcrypt
+-CC = gcc -O2 -ggdb
++LIBS = `get-wraster-flags --libs` -L$(X11BASE)/lib -L$(X11BASE)/GNUstep/lib -lWMaker -lWINGs -lPropList -lcrypt
++CC ?= gcc
+ OBJS = launch.o history.o execute.o user_auth.o exec_panel.o completion.o test_file.o common_panel.o pref_panel.o info.o legal.o
+
+ all: Launch
+@@ -50,21 +50,21 @@
+ $(CC) $(CFLAGS) -c legal.c -o legal.o
+
+ install: Launch
+- strip Launch
+- mkdir -p $(PREFIX)/Launch.app
+- install -c Launch $(PREFIX)/Launch.app/Launch
+- install -m 644 Launch.tiff $(PREFIX)/Launch.app/Launch.tiff
+- install -m 644 LaunchInfo.tiff $(PREFIX)/Launch.app/LaunchInfo.tiff
+- install -m 755 openurl $(PREFIX)/Launch.app/openurl
++ #strip Launch
++ $(MKDIR) $(prefix)/Launch.app
++ $(BSD_INSTALL_PROGRAM) Launch $(prefix)/Launch.app/Launch
++ $(BSD_INSTALL_DATA) Launch.tiff $(prefix)/Launch.app/Launch.tiff
++ $(BSD_INSTALL_DATA) LaunchInfo.tiff $(prefix)/Launch.app/LaunchInfo.tiff
++ $(BSD_INSTALL_SCRIPT) openurl $(prefix)/Launch.app/openurl
+ ifeq ($(SHADOW), yes)
+- chown root.shadow $(PREFIX)/Launch.app/Launch
++ chown root:wheel $(prefix)/Launch.app/Launch
+ else
+- chown root.root $(PREFIX)/Launch.app/Launch
++ chown root:wheel $(prefix)/Launch.app/Launch
+ endif
+- chmod 4775 $(PREFIX)/Launch.app/Launch
++ chmod 4775 $(prefix)/Launch.app/Launch
+
+ uninstall:
+- rm -r $(PREFIX)/Launch.app
++ rm -r $(prefix)/Launch.app
+
+ clean:
+ rm -rf *.o Launch *~
diff --git a/x11/launch.app/files/patch-execute.c b/x11/launch.app/files/patch-execute.c
new file mode 100644
index 000000000000..04ecd3a982e2
--- /dev/null
+++ b/x11/launch.app/files/patch-execute.c
@@ -0,0 +1,22 @@
+
+$FreeBSD$
+
+--- execute.c 2001/08/20 09:08:11 1.1
++++ execute.c 2001/08/20 09:09:29
+@@ -157,13 +157,13 @@
+ pid = fork ();
+ if (pid == 0)
+ {
+- if (setuid (pw->pw_gid))
++ if (setgid (pw->pw_gid))
+ {
+ fprintf (stderr, "unable to set group id\n");
+ }
+- if (setgid (pw->pw_uid))
++ if (setuid (pw->pw_uid))
+ {
+- fprintf (stderr, "unable to set group id\n");
++ fprintf (stderr, "unable to set user id\n");
+ }
+ setenv ("HOME", pw->pw_dir, 1);
+ setenv ("USER", pw->pw_name, 1);
diff --git a/x11/launch.app/files/patch-launch.c b/x11/launch.app/files/patch-launch.c
new file mode 100644
index 000000000000..aa37fa960ee1
--- /dev/null
+++ b/x11/launch.app/files/patch-launch.c
@@ -0,0 +1,27 @@
+
+$FreeBSD$
+
+--- launch.c 2001/08/20 09:01:20 1.1
++++ launch.c 2001/08/20 09:02:33
+@@ -208,8 +208,8 @@
+ WMSynchronizeUserDefaults (udb);
+ WMSetUDStringForKey (udb, "0.65", "Version");
+ WMSynchronizeUserDefaults (udb);
+- WMSetUDStringForKey (udb, "/usr/local/GNUstep/Apps/Launch.app/openurl %s", "HTTP_App");
+- WMSetUDStringForKey (udb, "/usr/local/GNUstep/Apps/Launch.app/openurl %s", "FTP_App");
++ WMSetUDStringForKey (udb, PREFIX "/Launch.app/openurl %s", "HTTP_App");
++ WMSetUDStringForKey (udb, PREFIX "/Launch.app/openurl %s", "FTP_App");
+ WMSetUDStringForKey (udb, "xterm -e %s", "Term_Com");
+ WMSetUDBoolForKey (udb, True, "Enable_Switch");
+ WMSynchronizeUserDefaults (udb);
+@@ -220,8 +220,8 @@
+ {
+ WMSetUDStringForKey (udb, "0.65", "Version");
+ WMSynchronizeUserDefaults (udb);
+- WMSetUDStringForKey (udb, "/usr/local/GNUstep/Apps/Launch.app/openurl %s", "HTTP_App");
+- WMSetUDStringForKey (udb, "/usr/local/GNUstep/Apps/Launch.app/openurl %s", "FTP_App");
++ WMSetUDStringForKey (udb, PREFIX "/Launch.app/openurl %s", "HTTP_App");
++ WMSetUDStringForKey (udb, PREFIX "/Launch.app/openurl %s", "FTP_App");
+ WMSynchronizeUserDefaults (udb);
+ WMSaveUserDefaults (udb);
+ }
diff --git a/x11/launch.app/pkg-comment b/x11/launch.app/pkg-comment
new file mode 100644
index 000000000000..429d935804a5
--- /dev/null
+++ b/x11/launch.app/pkg-comment
@@ -0,0 +1 @@
+An application launcher for WindowMaker dock
diff --git a/x11/launch.app/pkg-descr b/x11/launch.app/pkg-descr
new file mode 100644
index 000000000000..a6ef6e748d43
--- /dev/null
+++ b/x11/launch.app/pkg-descr
@@ -0,0 +1,13 @@
+Launch.app is a small programm for executing applications, based on WINGs
+library.
+
+Features:
+
+- command history;
+- executing application under different user (e.g. root);
+- tab completion;
+- executing console applications;
+- recognition of URLs;
+- configuration.
+
+WWW: http://stepmaker.sourceforge.net/launch.html
diff --git a/x11/launch.app/pkg-plist b/x11/launch.app/pkg-plist
new file mode 100644
index 000000000000..c86de94b8420
--- /dev/null
+++ b/x11/launch.app/pkg-plist
@@ -0,0 +1,5 @@
+GNUstep/Apps/Launch.app/Launch
+GNUstep/Apps/Launch.app/Launch.tiff
+GNUstep/Apps/Launch.app/LaunchInfo.tiff
+GNUstep/Apps/Launch.app/openurl
+@dirrm GNUstep/Apps/Launch.app