summaryrefslogtreecommitdiff
path: root/x11/rox-session
diff options
context:
space:
mode:
authorrxg <rxg@pkgsrc.org>2006-02-11 16:12:25 +0000
committerrxg <rxg@pkgsrc.org>2006-02-11 16:12:25 +0000
commit22785c65a4449b7c46ff93033ed88434a736eb73 (patch)
treece87c8ef9faaa2f243c64b3eeaba86cc90caefbb /x11/rox-session
parent0241189fee8279e9fc7af2bef89f089780d85d7d (diff)
downloadpkgsrc-22785c65a4449b7c46ff93033ed88434a736eb73.tar.gz
Intial import rox-session-0.1.25.
Very simple session manager for ROX.
Diffstat (limited to 'x11/rox-session')
-rw-r--r--x11/rox-session/DESCR4
-rw-r--r--x11/rox-session/Makefile68
-rw-r--r--x11/rox-session/PLIST80
-rw-r--r--x11/rox-session/distinfo8
-rw-r--r--x11/rox-session/patches/patch-aa21
-rw-r--r--x11/rox-session/patches/patch-ab13
-rw-r--r--x11/rox-session/patches/patch-ac15
7 files changed, 209 insertions, 0 deletions
diff --git a/x11/rox-session/DESCR b/x11/rox-session/DESCR
new file mode 100644
index 00000000000..8b73d454958
--- /dev/null
+++ b/x11/rox-session/DESCR
@@ -0,0 +1,4 @@
+ROX-Session sets up your desktop when you log in, and starts any application
+you ask it to. It allows you to set various settings, such as the default font,
+cursor blinking and mouse behaviour (through a separate application such as
+LookAndFeel).
diff --git a/x11/rox-session/Makefile b/x11/rox-session/Makefile
new file mode 100644
index 00000000000..3ba0d21ef20
--- /dev/null
+++ b/x11/rox-session/Makefile
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+#
+
+DISTNAME= ROX-Session-0.1.25
+PKGNAME= rox-session-0.1.25
+CATEGORIES= x11
+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-lib>=2.0.2nb2:../../devel/rox-lib
+DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Session
+DIST_SUBDIR= rox
+
+PLATFORM= ${OPSYS}-${MACHINE_ARCH}
+
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-platform=${PLATFORM:Q}
+
+PYTHON_PATCH_SCRIPTS= AutoStart.py interactive.py
+
+INSTALLATION_DIRS= share/rox/ROX-Session
+
+SUBST_CLASSES+= bin
+SUBST_MESSAGE.bin= Fixing binary path.
+SUBST_STAGE.bin= post-patch
+SUBST_FILES.bin= AppRun
+SUBST_SED.bin= -e 's,BIN="$$APP_DIR/$$PLATFORM,BIN="${PREFIX}/libexec/rox,g'
+
+SUBST_CLASSES+= path
+SUBST_MESSAGE.path= Fixing hardcoded paths.
+SUBST_STAGE.path= post-patch
+SUBST_FILES.path= AppRun
+SUBST_FILES.path+= Login
+SUBST_FILES.path+= RunROX
+SUBST_FILES.path+= setup.py
+SUBST_FILES.path+= src/choices.c
+SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
+
+SUBST_CLASSES+= lib
+SUBST_MESSAGE.lib= Fixing hardcoded paths for ROX-Lib.
+SUBST_STAGE.lib= post-patch
+SUBST_FILES.lib= findrox.py
+SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
+
+BUILD_TARGET= ../${PLATFORM}/ROX-Session
+CONFIGURE_DIRS= src
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PLATFORM}/ROX-Session ${PREFIX}/libexec/rox
+ cd ${WRKSRC} && ${PAX} -rw \
+ -s ',^\./${PLATFORM}$$,,' -s ',^\./${PLATFORM}/.*,,' \
+ -s ',^\./src$$,,' -s ',^\./src/.*,,' \
+ . ${PREFIX}/share/rox/ROX-Session
+
+.include "../../lang/python/application.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+.include "../../sysutils/py-dbus/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/rox-session/PLIST b/x11/rox-session/PLIST
new file mode 100644
index 00000000000..596b3ced6bd
--- /dev/null
+++ b/x11/rox-session/PLIST
@@ -0,0 +1,80 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+libexec/rox/ROX-Session
+share/rox/ROX-Session/.DirIcon
+share/rox/ROX-Session/AppInfo.xml
+share/rox/ROX-Session/AppRun
+share/rox/ROX-Session/AutoStart.py
+share/rox/ROX-Session/Help/COPYING
+share/rox/ROX-Session/Help/Changes
+share/rox/ROX-Session/Help/DBUS-API
+share/rox/ROX-Session/Help/Guide/.DirIcon
+share/rox/ROX-Session/Help/Guide/AppInfo.xml
+share/rox/ROX-Session/Help/Guide/AppRun
+share/rox/ROX-Session/Help/Guide/Guide.html
+share/rox/ROX-Session/Help/Guide/Tutorial.html
+share/rox/ROX-Session/Help/Guide/Tutorial2.html
+share/rox/ROX-Session/Help/Guide/applets.png
+share/rox/ROX-Session/Help/Guide/apps.png
+share/rox/ROX-Session/Help/Guide/archive.png
+share/rox/ROX-Session/Help/Guide/de/Anleitung.html
+share/rox/ROX-Session/Help/Guide/de/Leitfaden.html
+share/rox/ROX-Session/Help/Guide/de/apps.png
+share/rox/ROX-Session/Help/Guide/de/help.png
+share/rox/ROX-Session/Help/Guide/de/logout.png
+share/rox/ROX-Session/Help/Guide/de/mount.png
+share/rox/ROX-Session/Help/Guide/de/newdir.png
+share/rox/ROX-Session/Help/Guide/de/shortcut.png
+share/rox/ROX-Session/Help/Guide/edit.png
+share/rox/ROX-Session/Help/Guide/help.png
+share/rox/ROX-Session/Help/Guide/it/Guida.html
+share/rox/ROX-Session/Help/Guide/it/Tutorial.html
+share/rox/ROX-Session/Help/Guide/it/Tutorial2.html
+share/rox/ROX-Session/Help/Guide/it/applets.png
+share/rox/ROX-Session/Help/Guide/it/apps.png
+share/rox/ROX-Session/Help/Guide/it/archive.png
+share/rox/ROX-Session/Help/Guide/it/edit.png
+share/rox/ROX-Session/Help/Guide/it/help.png
+share/rox/ROX-Session/Help/Guide/it/logout.png
+share/rox/ROX-Session/Help/Guide/it/mount.png
+share/rox/ROX-Session/Help/Guide/it/newdir.png
+share/rox/ROX-Session/Help/Guide/it/panel1.png
+share/rox/ROX-Session/Help/Guide/it/runaction.png
+share/rox/ROX-Session/Help/Guide/it/save.png
+share/rox/ROX-Session/Help/Guide/it/shortcut.png
+share/rox/ROX-Session/Help/Guide/it/style.css
+share/rox/ROX-Session/Help/Guide/logout.png
+share/rox/ROX-Session/Help/Guide/mount.png
+share/rox/ROX-Session/Help/Guide/newdir.png
+share/rox/ROX-Session/Help/Guide/panel1.png
+share/rox/ROX-Session/Help/Guide/runaction.png
+share/rox/ROX-Session/Help/Guide/save.png
+share/rox/ROX-Session/Help/Guide/shortcut.png
+share/rox/ROX-Session/Help/Guide/style.css
+share/rox/ROX-Session/Help/README
+share/rox/ROX-Session/Login
+share/rox/ROX-Session/Messages/da.gmo
+share/rox/ROX-Session/Messages/de.gmo
+share/rox/ROX-Session/Messages/es.gmo
+share/rox/ROX-Session/Messages/fr.gmo
+share/rox/ROX-Session/Messages/it.gmo
+share/rox/ROX-Session/Messages/ja.gmo
+share/rox/ROX-Session/Messages/lt.gmo
+share/rox/ROX-Session/Messages/nl.gmo
+share/rox/ROX-Session/Messages/ru.gmo
+share/rox/ROX-Session/Options.xml
+share/rox/ROX-Session/RunROX
+share/rox/ROX-Session/SetupPanel
+share/rox/ROX-Session/Styles
+share/rox/ROX-Session/findrox.py
+share/rox/ROX-Session/images/rox-halt.png
+share/rox/ROX-Session/images/rox-suspend.png
+share/rox/ROX-Session/interactive.py
+share/rox/ROX-Session/logout.py
+share/rox/ROX-Session/setup.py
+@dirrm share/rox/ROX-Session/images
+@dirrm share/rox/ROX-Session/Messages
+@dirrm share/rox/ROX-Session/Help/Guide/it
+@dirrm share/rox/ROX-Session/Help/Guide/de
+@dirrm share/rox/ROX-Session/Help/Guide
+@dirrm share/rox/ROX-Session/Help
+@dirrm share/rox/ROX-Session
diff --git a/x11/rox-session/distinfo b/x11/rox-session/distinfo
new file mode 100644
index 00000000000..d305f8dd3d9
--- /dev/null
+++ b/x11/rox-session/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+
+SHA1 (rox/ROX-Session-0.1.25.tgz) = 1e8c8f6cf853422b4ba3b3249a1f10c384a757fd
+RMD160 (rox/ROX-Session-0.1.25.tgz) = 0fd5916590ca9f0af069d7c2ac51a7056e51da77
+Size (rox/ROX-Session-0.1.25.tgz) = 1027577 bytes
+SHA1 (patch-aa) = 428bde0a5e928807b072d28ccebabc6a9a0fffd3
+SHA1 (patch-ab) = bfd42d6b676f60a2d5d4d41bab139543764b1acd
+SHA1 (patch-ac) = cf4247eeab08f934685eddde573fae808f93ed0c
diff --git a/x11/rox-session/patches/patch-aa b/x11/rox-session/patches/patch-aa
new file mode 100644
index 00000000000..8687bec6d04
--- /dev/null
+++ b/x11/rox-session/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+
+--- src/dbus.c.orig 2005-11-20 16:43:11.000000000 +0800
++++ src/dbus.c
+@@ -356,14 +356,14 @@ void dbus_init(void)
+ gint stdout_pipe = -1;
+ gchar *argv[] = {"dbus-daemon-1", "--session", "--print-address", NULL};
+
+- libdbus = dlopen("libdbus-1.so.0", RTLD_LAZY | RTLD_NOLOAD);
++ libdbus = dlopen("libdbus-1.so.0", RTLD_LAZY);
+ if (!libdbus)
+ {
+ g_warning(_("Failed to open libdbus-1.so.0. "
+ "D-BUS support disabled."));
+ return;
+ }
+- libdbus_glib = dlopen("libdbus-glib-1.so.0", RTLD_LAZY | RTLD_NOLOAD);
++ libdbus_glib = dlopen("libdbus-glib-1.so.0", RTLD_LAZY);
+ if (!libdbus_glib)
+ {
+ g_warning(_("Failed to open libdbus-glib-1.so.0. "
diff --git a/x11/rox-session/patches/patch-ab b/x11/rox-session/patches/patch-ab
new file mode 100644
index 00000000000..12119efa6ac
--- /dev/null
+++ b/x11/rox-session/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+
+--- src/wm.c.orig 2006-01-30 13:25:57.000000000 +0800
++++ src/wm.c
+@@ -214,7 +214,7 @@ static void run_wm(void)
+ */
+ static const char *get_window_manager(void)
+ {
+- const char *fallbacks[] = {"xfwm4", "sawfish", "sawmill", "enlightenment", "wmaker",
++ const char *fallbacks[] = {"oroborox", "xfwm4", "sawfish", "sawmill", "enlightenment", "wmaker",
+ "icewm", "blackbox", "fluxbox", "metacity", "kwin", "kwm",
+ "fvwm2", "fvwm", "4Dwm", "twm"};
+
diff --git a/x11/rox-session/patches/patch-ac b/x11/rox-session/patches/patch-ac
new file mode 100644
index 00000000000..1ef033b8025
--- /dev/null
+++ b/x11/rox-session/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/02/11 16:12:25 rxg Exp $
+
+--- setup.py.orig 2006-01-30 13:25:33.000000000 +0800
++++ setup.py
+@@ -85,8 +85,8 @@ fi
+
+ # Load a window manager. Keep trying until we find one that works!
+
+-for wm in xfwm4 sawfish sawmill enlightenment wmaker icewm blackbox fluxbox \\
+- metacity kwin kwm fvwm2 fvwm 4Dwm twm; do
++for wm in oroborox xfwm4 sawfish sawmill enlightenment wmaker icewm blackbox \\
++ fluxbox metacity kwin kwm fvwm2 fvwm 4Dwm twm; do
+ if [ -x "`which $wm`" ]; then break; fi;
+ done
+