summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2006-06-11 13:07:02 +0000
committerDaniel Black <dragonheart@gentoo.org>2006-06-11 13:07:02 +0000
commit93f1551a20c30c96845deea564b676ecb7c7ba8a (patch)
tree7e938d26552e9c05b33b6d34fc50f3da87aec564 /rox-base/rox
parentAdjust ebuilds to kde_src_unpack() patch handling changes. (diff)
downloadgentoo-2-93f1551a20c30c96845deea564b676ecb7c7ba8a.tar.gz
gentoo-2-93f1551a20c30c96845deea564b676ecb7c7ba8a.tar.bz2
gentoo-2-93f1551a20c30c96845deea564b676ecb7c7ba8a.zip
permission fix as per bug #130353
(Portage version: 2.1)
Diffstat (limited to 'rox-base/rox')
-rw-r--r--rox-base/rox/ChangeLog7
-rw-r--r--rox-base/rox/files/digest-rox-2.4.1-r13
-rw-r--r--rox-base/rox/rox-2.4.1-r1.ebuild74
3 files changed, 83 insertions, 1 deletions
diff --git a/rox-base/rox/ChangeLog b/rox-base/rox/ChangeLog
index 65ef3057a8ec..c75b35c09a7b 100644
--- a/rox-base/rox/ChangeLog
+++ b/rox-base/rox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for rox-base/rox
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.17 2006/04/27 04:31:48 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.18 2006/06/11 13:07:02 dragonheart Exp $
+
+*rox-2.4.1-r1 (11 Jun 2006)
+
+ 11 Jun 2006; Daniel Black <dragonheart@gentoo.org> +rox-2.4.1-r1.ebuild:
+ permission fix as per bug #130353 thanks to Peter Hyman
27 Apr 2006; Jason Wever <weeve@gentoo.org> rox-2.4.1.ebuild:
Re-added ~sparc keyword as it mysteriously went missing.
diff --git a/rox-base/rox/files/digest-rox-2.4.1-r1 b/rox-base/rox/files/digest-rox-2.4.1-r1
new file mode 100644
index 000000000000..31a59c38ccbd
--- /dev/null
+++ b/rox-base/rox/files/digest-rox-2.4.1-r1
@@ -0,0 +1,3 @@
+MD5 0d43b7fcd0325936fdf036230837f21b rox-2.4.1.tgz 2366048
+RMD160 083facc66d10bce157eb1964c6387aac89b01013 rox-2.4.1.tgz 2366048
+SHA256 627922e99beb224eb0b5e5a70b28a2d2b9d7d65562c2564d8c28f9a2f136919c rox-2.4.1.tgz 2366048
diff --git a/rox-base/rox/rox-2.4.1-r1.ebuild b/rox-base/rox/rox-2.4.1-r1.ebuild
new file mode 100644
index 000000000000..43636d855388
--- /dev/null
+++ b/rox-base/rox/rox-2.4.1-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.4.1-r1.ebuild,v 1.1 2006/06/11 13:07:02 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="ROX is a desktop environment and filer based on RISC OS."
+HOMEPAGE="http://rox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rox/${P}.tgz"
+
+# mark all as testing
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND=">=x11-libs/gtk+-2.4
+ >=dev-libs/glib-2.2
+ >=dev-libs/libxml2-2.4.23
+ >=x11-misc/shared-mime-info-0.14
+ svg? ( gnome-base/librsvg )"
+
+IUSE="svg"
+ROXAPPDIR="/usr/lib/rox"
+MIMEDIR="/usr/share/mime"
+MIMECONFDIR="/etc/xdg/rox.sourceforge.net"
+
+src_compile() {
+
+ cd ROX-Filer
+ ./AppRun --compile || die "make failed"
+ (cd src; make clean) > /dev/null
+ # don't need this directory anymore
+ rm -fr build
+}
+
+# new streamlined install
+
+src_install() {
+ doman rox.1
+
+ dodir ${ROXAPPDIR}
+ cp -r ROX-Filer/ ${D}/${ROXAPPDIR}
+
+ # add documentation to be proper
+ ( cd ROX-Filer/Help
+ dodoc Changes COPYING README README-es TODO
+ )
+
+ # install shell script
+ dodir /usr/bin
+
+ cat > "${D}/usr/bin/rox" << EOF
+#!/bin/sh
+exec ${ROXAPPDIR}/ROX-Filer/AppRun "\$@"
+EOF
+
+ chmod 0755 ${D}/usr/bin/rox
+
+ # install rox.xml
+ insinto ${MIMEDIR}/packages
+ doins rox.xml
+
+ # CHOICES system is gone. Now use XDG only
+ # these are shell scripts and must be +x.
+ exeinto ${MIMECONFDIR}/MIME-types
+ doexe Choices/MIME-types/*
+}
+
+pkg_postinst() {
+ update-mime-database ${MIMEDIR}
+ einfo "${P} has been installed in ${ROXAPPDIR}."
+ einfo "To run, you may type rox at a prompt (within a WM) or"
+ einfo "add it to an .xinit or other script during WM startup."
+}