diff options
author | Jim Ramsay <lack@gentoo.org> | 2007-01-30 16:59:22 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2007-01-30 16:59:22 +0000 |
commit | acf0545d5c281d32bf9fdc61adf5de75045ca1f0 (patch) | |
tree | 4c55284d83e03620d08d6a194acec97aa995cdf9 /rox-base/rox-session | |
parent | x86 stable wrt bug 164080 (diff) | |
download | gentoo-2-acf0545d5c281d32bf9fdc61adf5de75045ca1f0.tar.gz gentoo-2-acf0545d5c281d32bf9fdc61adf5de75045ca1f0.tar.bz2 gentoo-2-acf0545d5c281d32bf9fdc61adf5de75045ca1f0.zip |
Version bump - 0.29 is released
(Portage version: 2.1.2-r4)
Diffstat (limited to 'rox-base/rox-session')
-rw-r--r-- | rox-base/rox-session/ChangeLog | 8 | ||||
-rw-r--r-- | rox-base/rox-session/files/ROX-Session | 3 | ||||
-rw-r--r-- | rox-base/rox-session/files/digest-rox-session-0.29 | 3 | ||||
-rw-r--r-- | rox-base/rox-session/files/rox-start | 42 | ||||
-rw-r--r-- | rox-base/rox-session/files/rox.desktop | 6 | ||||
-rw-r--r-- | rox-base/rox-session/rox-session-0.29.ebuild | 62 |
6 files changed, 120 insertions, 4 deletions
diff --git a/rox-base/rox-session/ChangeLog b/rox-base/rox-session/ChangeLog index 526031853f79..051b0743c248 100644 --- a/rox-base/rox-session/ChangeLog +++ b/rox-base/rox-session/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for rox-base/rox-session # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-session/ChangeLog,v 1.16 2007/01/25 04:15:33 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-session/ChangeLog,v 1.17 2007/01/30 16:59:22 lack Exp $ + +*rox-session-0.29 (30 Jan 2007) + + 30 Jan 2007; Jim Ramsay <lack@gentoo.org> -files/ROX-Session, + +files/rox.desktop, +files/rox-start, +rox-session-0.29.ebuild: + Version bump - 0.29 is released 25 Jan 2007; Steve Dibb <beandog@gentoo.org> rox-session-0.1.21.ebuild, rox-session-0.27-r1.ebuild: diff --git a/rox-base/rox-session/files/ROX-Session b/rox-base/rox-session/files/ROX-Session deleted file mode 100644 index 1bb74e16f5bf..000000000000 --- a/rox-base/rox-session/files/ROX-Session +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -exec /usr/share/ROX-Session/AppRun "$@" diff --git a/rox-base/rox-session/files/digest-rox-session-0.29 b/rox-base/rox-session/files/digest-rox-session-0.29 new file mode 100644 index 000000000000..36005c537831 --- /dev/null +++ b/rox-base/rox-session/files/digest-rox-session-0.29 @@ -0,0 +1,3 @@ +MD5 0d8458e02a13dc041e4bff4e786ade91 rox-session-0.29.tar.bz2 130948 +RMD160 1a9cbd125db8b3c949a04e798ebefa482b0e57ee rox-session-0.29.tar.bz2 130948 +SHA256 c0899a372d7d39c787ae2cc3e02649dd1d6957156829f1689c7d3600f6e0d5b6 rox-session-0.29.tar.bz2 130948 diff --git a/rox-base/rox-session/files/rox-start b/rox-base/rox-session/files/rox-start new file mode 100644 index 000000000000..e2105396656a --- /dev/null +++ b/rox-base/rox-session/files/rox-start @@ -0,0 +1,42 @@ +#!/bin/sh +# This file was created by ROX-Session. + +if [ -d "$HOME/bin" ]; then + PATH="${HOME}/bin:${PATH}" + export PATH +fi + +# Step 1: Try to run ROX-Session. If it works, stop right here. + +if [ -x "/usr/lib/rox/ROX-Session/AppRun" ]; then + exec "/usr/lib/rox/ROX-Session/AppRun" -w < /dev/null +fi + +# Step 2: It didn't work. Try to provide a failsafe login so the user +# can fix things. + +# 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 + if [ -x "`which $wm`" ]; then break; fi; +done + +"$wm" & + +xmessage -file - << END +rox-start: failed to run /usr/lib/rox/ROX-Session/AppRun + +If you installed this from the rox-session ebuild, this shouldn't ever +happen. Please report this bug to http://bugs.gentoo.org/ + +I'll try to give you an xterm and a filer window instead - try to find +and run ROX-Session to fix the problem. Close the xterm to logout. + +If all else fails, delete your .xsession and .xinitrc files to get the +system defaults. + +Good luck! +END +rox & +exec xterm diff --git a/rox-base/rox-session/files/rox.desktop b/rox-base/rox-session/files/rox.desktop new file mode 100644 index 000000000000..2b98f1a4ff9c --- /dev/null +++ b/rox-base/rox-session/files/rox.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=ROX +Comment=This session logs you into the ROX desktop +Exec=/usr/bin/rox-start +Type=XSession diff --git a/rox-base/rox-session/rox-session-0.29.ebuild b/rox-base/rox-session/rox-session-0.29.ebuild new file mode 100644 index 000000000000..e965fc8ab540 --- /dev/null +++ b/rox-base/rox-session/rox-session-0.29.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-session/rox-session-0.29.ebuild,v 1.1 2007/01/30 16:59:22 lack Exp $ + +ROX_LIB_VER="2.0.0" +inherit eutils rox + +DESCRIPTION="Rox-Session is a really simple session manager" +HOMEPAGE="http://rox.sourceforge.net/rox_session.html" +SRC_URI="mirror://sourceforge/rox/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="|| ( >=dev-python/dbus-python-0.71 + ( >=sys-apps/dbus-0.3 <sys-apps/dbus-0.90 ) )" + +MY_PN="ROX-Session" +APPNAME=${MY_PN} + +pkg_setup() { + if ! has_version dev-python/dbus-python && \ + ! built_with_use sys-apps/dbus python + then + einfo "Rox-Session requires dbus to be built with python support." + einfo "Please rebuild dbus with USE=\"python\"." + die "python dbus modules missing" + fi +} + +pkg_preinst() { + # need to fixup some permissions + cd ${D}/usr/lib/rox/${APPNAME} + chmod 0755 browser Login RunROX SetupPanel +} + +src_install() { + rox_src_install + + dobin "${FILESDIR}/rox-start" + + dodir /usr/share/xsessions + insinto /usr/share/xsessions + doins "${FILESDIR}/rox.desktop" + + dodir /etc/X11/Sessions + echo "/usr/bin/rox-start" > "${D}/etc/X11/Sessions/ROX" + fperms a+x /etc/X11/Sessions/ROX +} + +pkg_postinst() { + echo + einfo "ROX-Session has been installed into /usr/lib/rox/${APPNAME}." + einfo "Please review its documentation about proper use. A symlink" + einfo "for the executable has been created as /usr/bin/${APPNAME}." + echo + einfo "It has also been installed as an X Session, so you should be" + einfo "able to select it in the Session list of gdm or kdm" +} + |