mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Add launch.app 0.6.5, an application launcher for WindowMaker dock.
This commit is contained in:
parent
73b31b701e
commit
d862eac50a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46551
@ -50,6 +50,7 @@
|
||||
SUBDIR += kdelibs2
|
||||
SUBDIR += kvidtune
|
||||
SUBDIR += kworldwatch
|
||||
SUBDIR += launch.app
|
||||
SUBDIR += libdnd
|
||||
SUBDIR += libhelp
|
||||
SUBDIR += libsx
|
||||
|
26
x11/launch.app/Makefile
Normal file
26
x11/launch.app/Makefile
Normal file
@ -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>
|
1
x11/launch.app/distinfo
Normal file
1
x11/launch.app/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Launch.app-0.6.5.tar.gz) = 7444a8d7ec3ca6f0f93840100b779509
|
53
x11/launch.app/files/patch-GNUmakefile
Normal file
53
x11/launch.app/files/patch-GNUmakefile
Normal file
@ -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 *~
|
22
x11/launch.app/files/patch-execute.c
Normal file
22
x11/launch.app/files/patch-execute.c
Normal file
@ -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);
|
27
x11/launch.app/files/patch-launch.c
Normal file
27
x11/launch.app/files/patch-launch.c
Normal file
@ -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);
|
||||
}
|
1
x11/launch.app/pkg-comment
Normal file
1
x11/launch.app/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
An application launcher for WindowMaker dock
|
13
x11/launch.app/pkg-descr
Normal file
13
x11/launch.app/pkg-descr
Normal file
@ -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
|
5
x11/launch.app/pkg-plist
Normal file
5
x11/launch.app/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user