summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-05-26 20:22:07 +0000
committercjep <cjep@pkgsrc.org>2002-05-26 20:22:07 +0000
commit9348459ce4bf044883fbb0ee271e797978473031 (patch)
treeac6846741754e55ad90ca8c25d9031daab00deab /sysutils
parent13d37e73f2b251737588f8510b7962bb8f57d158 (diff)
downloadpkgsrc-9348459ce4bf044883fbb0ee271e797978473031.tar.gz
Initial import of ROX-Session 0.1.14 to the NetBSD packages collection.
ROX-Session is a ROX application which sets up your desktop when you log in and starts any applications you ask it to. It also allows you to set various preferences such as the default font, cursor blinking and mouse behaviour. From Rui-Xiang Guo in PR#17039. Thanks! Slight change to observe hier(7).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rox-session/DESCR6
-rw-r--r--sysutils/rox-session/Makefile41
-rw-r--r--sysutils/rox-session/PLIST16
-rw-r--r--sysutils/rox-session/distinfo8
-rw-r--r--sysutils/rox-session/patches/patch-aa23
-rw-r--r--sysutils/rox-session/patches/patch-ab23
-rw-r--r--sysutils/rox-session/patches/patch-ac12
-rw-r--r--sysutils/rox-session/patches/patch-ad13
8 files changed, 142 insertions, 0 deletions
diff --git a/sysutils/rox-session/DESCR b/sysutils/rox-session/DESCR
new file mode 100644
index 00000000000..c369e59a0cc
--- /dev/null
+++ b/sysutils/rox-session/DESCR
@@ -0,0 +1,6 @@
+ROX-Session sets up your desktop when you log in, and starts any
+applications you ask it to. It allows you to set various settings, such as
+the default font, cursor blinking and mouse behaviour.
+
+It also allows you to choose a window manager and change between window
+managers without logging out.
diff --git a/sysutils/rox-session/Makefile b/sysutils/rox-session/Makefile
new file mode 100644
index 00000000000..8e41bd2a5ca
--- /dev/null
+++ b/sysutils/rox-session/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+#
+
+DISTNAME= ROX-Session-0.1.14
+PKGNAME= rox-session-0.1.14
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= rxg@netbsd.org
+HOMEPAGE= http://rox.sourceforge.net/
+COMMENT= very simple session manager
+
+DEPENDS+= rox>=1.2.0nb1:../../sysutils/rox
+
+DIST_SUBDIR= rox
+
+USE_BUILDLINK_ONLY= yes
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Session/src
+
+post-build:
+ ${CP} ${WRKSRC}/ROX-Session ${WRKDIR}/${DISTNAME}/ROX-Session
+
+pre-install:
+ ${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun.orig
+ ${RM} -rf ${WRKSRC}
+
+do-install:
+ ${INSTALL} ${WRKDIR}/${DISTNAME}/ROX-Session/ROX-Session \
+ ${PREFIX}/libexec/rox
+ ${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Session/ROX-Session
+ ${CP} -Rf ${WRKDIR}/${DISTNAME}/ROX-Session ${PREFIX}/share/rox
+ ${SED} -e "s:@PREFIX@:"${PREFIX}":g" \
+ < ${WRKDIR}/${DISTNAME}/ROX-Session/AppRun \
+ > ${PREFIX}/share/rox/ROX-Session/AppRun
+
+.include "../../textproc/libxml2/buildlink.mk"
+.include "../../x11/gtk2/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/rox-session/PLIST b/sysutils/rox-session/PLIST
new file mode 100644
index 00000000000..5976099dce3
--- /dev/null
+++ b/sysutils/rox-session/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+share/rox/ROX-Session/AppIcon.xpm
+share/rox/ROX-Session/AppInfo.xml
+share/rox/ROX-Session/AppRun
+share/rox/ROX-Session/Help/COPYING
+share/rox/ROX-Session/Help/Changes
+share/rox/ROX-Session/Help/README
+share/rox/ROX-Session/Login
+share/rox/ROX-Session/MakeDefault.sh
+share/rox/ROX-Session/Options.xml
+libexec/rox/ROX-Session
+share/rox/ROX-Session/Setup
+share/rox/ROX-Session/Styles
+share/rox/ROX-Session/WindowMans
+@dirrm share/rox/ROX-Session/Help
+@dirrm share/rox/ROX-Session
diff --git a/sysutils/rox-session/distinfo b/sysutils/rox-session/distinfo
new file mode 100644
index 00000000000..2df306c8dc1
--- /dev/null
+++ b/sysutils/rox-session/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+
+SHA1 (rox/ROX-Session-0.1.14.tgz) = c92a2877b73ccd7b8a7af04335b39e4b7ba9ff12
+Size (rox/ROX-Session-0.1.14.tgz) = 57818 bytes
+SHA1 (patch-aa) = 6db63c5b565846a5ec910dbf0bfc1ac6689b6509
+SHA1 (patch-ab) = 962b8296a41bd19950ea63eecc6b69a735738873
+SHA1 (patch-ac) = 69ebb08b32fd6c83c0a2b57e6eff7903acc03830
+SHA1 (patch-ad) = f63c0543ffde43ceaa7e3692a5bab8b8430b1023
diff --git a/sysutils/rox-session/patches/patch-aa b/sysutils/rox-session/patches/patch-aa
new file mode 100644
index 00000000000..b0f4b3a4f47
--- /dev/null
+++ b/sysutils/rox-session/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+
+--- configure.orig Sun May 26 12:06:50 2002
++++ configure
+@@ -530,18 +530,6 @@
+ # Check whether --with-platform or --without-platform was given.
+ if test "${with_platform+set}" = set; then
+ withval="$with_platform"
+-
+-else
+-
+-{ echo "configure: error:
+-
+-Please do not run 'configure' manually - instead, run the AppRun script with
+-the --compile option, like this:
+- $ ROX-Session/AppRun --compile
+-
+-Thank you.
+-" 1>&2; exit 1; }
+-
+ fi
+
+
diff --git a/sysutils/rox-session/patches/patch-ab b/sysutils/rox-session/patches/patch-ab
new file mode 100644
index 00000000000..7ec17c6acc4
--- /dev/null
+++ b/sysutils/rox-session/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+
+--- Makefile.in.orig Sat Mar 2 01:42:12 2002
++++ Makefile.in
+@@ -7,7 +7,7 @@
+
+ CC = @CC@
+ CFLAGS = @CFLAGS@ `pkg-config --cflags gtk+-2.0 libxml-2.0` -I.
+-LDFLAGS = @LDFLAGS@ `pkg-config --libs gtk+-2.0 libxml-2.0` -I.
++LDFLAGS = @LDFLAGS@ `pkg-config --libs gtk+-2.0 libxml-2.0` -I. -Wl,-R${X11BASE}/lib
+ EXEC = ${PLATFORM_DIR}/${PROG}
+
+ ############ Things to change for different programs
+@@ -21,6 +21,9 @@
+ wm.o xsettings-common.o xsettings-manager.o
+
+ ############ Things to keep the same
++
++all: ${OBJECTS}
++ ${CC} -o ${PROG} ${OBJECTS} ${LDFLAGS}
+
+ ${EXEC}: ${PLATFORM_DIR} ${OBJECTS}
+ ${CC} -o ${EXEC} ${OBJECTS} ${LDFLAGS}
diff --git a/sysutils/rox-session/patches/patch-ac b/sysutils/rox-session/patches/patch-ac
new file mode 100644
index 00000000000..3111dd17964
--- /dev/null
+++ b/sysutils/rox-session/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+
+--- session.c.orig Sun May 26 12:25:58 2002
++++ session.c
+@@ -25,6 +25,7 @@
+ #include <sys/wait.h>
+ #include <fcntl.h>
+ #include <ctype.h>
++#include <signal.h>
+
+ #include <gdk/gdkx.h>
+ #include <gtk/gtk.h>
diff --git a/sysutils/rox-session/patches/patch-ad b/sysutils/rox-session/patches/patch-ad
new file mode 100644
index 00000000000..9d7bdee320c
--- /dev/null
+++ b/sysutils/rox-session/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/05/26 20:22:07 cjep Exp $
+
+--- ../AppRun.orig Sun May 26 13:02:42 2002
++++ ../AppRun
+@@ -40,7 +40,7 @@
+ exit 1
+ esac
+
+-BIN="$APP_DIR/$PLATFORM/$PROG"
++BIN="@PREFIX@/libexec/rox/$PROG"
+
+ if [ -x "$BIN" ]; then
+ exec $DEBUGGER "$BIN" "$@"