summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-11-30 21:36:27 +0000
committerJim Ramsay <lack@gentoo.org>2007-11-30 21:36:27 +0000
commit6ad7798a2777c49d8aa68b11593a75c452ec042e (patch)
tree9666b15da29baef835822c2f82fd412bb40d2829 /rox-base/rox
parentRemove xmlto dep. since it's not used. (diff)
downloadgentoo-2-6ad7798a2777c49d8aa68b11593a75c452ec042e.tar.gz
gentoo-2-6ad7798a2777c49d8aa68b11593a75c452ec042e.tar.bz2
gentoo-2-6ad7798a2777c49d8aa68b11593a75c452ec042e.zip
New version: Rox-2.7 is released
(Portage version: 2.1.3.18)
Diffstat (limited to 'rox-base/rox')
-rw-r--r--rox-base/rox/ChangeLog9
-rw-r--r--rox-base/rox/files/digest-rox-2.73
-rw-r--r--rox-base/rox/files/rox-2.6-nostrip.patch20
-rw-r--r--rox-base/rox/files/rox-2.7-nostrip.patch (renamed from rox-base/rox/files/rox-2.5-nostrip.patch)0
-rw-r--r--rox-base/rox/rox-2.7.ebuild124
5 files changed, 135 insertions, 21 deletions
diff --git a/rox-base/rox/ChangeLog b/rox-base/rox/ChangeLog
index 8b9a60e707b0..b3b00f4a75f4 100644
--- a/rox-base/rox/ChangeLog
+++ b/rox-base/rox/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for rox-base/rox
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.47 2007/11/29 15:23:44 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.48 2007/11/30 21:36:26 lack Exp $
+
+*rox-2.7 (30 Nov 2007)
+
+ 30 Nov 2007; Jim Ramsay <lack@gentoo.org> -files/rox-2.5-nostrip.patch,
+ -files/rox-2.6-nostrip.patch, +files/rox-2.7-nostrip.patch,
+ +rox-2.7.ebuild:
+ New version: Rox-2.7 is released
29 Nov 2007; Jim Ramsay <lack@gentoo.org> -rox-2.6.ebuild:
Version cleanup
diff --git a/rox-base/rox/files/digest-rox-2.7 b/rox-base/rox/files/digest-rox-2.7
new file mode 100644
index 000000000000..b0b67dd7b832
--- /dev/null
+++ b/rox-base/rox/files/digest-rox-2.7
@@ -0,0 +1,3 @@
+MD5 6bdebb307c56173a0031ae3b0df6c6ac rox-filer-2.7.tar.bz2 1829001
+RMD160 f378129073b00e388559380fc551b23437cd4cbf rox-filer-2.7.tar.bz2 1829001
+SHA256 c43ad72760e5ef2c9150d00c7beae24c99c1df102443e87e6ccd969427a47c92 rox-filer-2.7.tar.bz2 1829001
diff --git a/rox-base/rox/files/rox-2.6-nostrip.patch b/rox-base/rox/files/rox-2.6-nostrip.patch
deleted file mode 100644
index 2a63ce73f160..000000000000
--- a/rox-base/rox/files/rox-2.6-nostrip.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: ROX-Filer/src/Makefile.in
-===================================================================
---- ROX-Filer/src/Makefile.in (revision 4834)
-+++ ROX-Filer/src/Makefile.in (working copy)
-@@ -51,10 +51,12 @@
- ${PROG}: ${OBJECTS}
- ${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
- mv "${PROG}" "${PLATFORM_DIR}"
-+
-+${PROG}.dbg: ${PROG}
- -(cd "${PLATFORM_DIR}" && \
-- objcopy --only-keep-debug ROX-Filer ROX-Filer.dbg && \
-- strip ROX-Filer && \
-- objcopy --add-gnu-debuglink=ROX-Filer.dbg ROX-Filer)
-+ objcopy --only-keep-debug ${PROG} ${PROG}.dbg && \
-+ strip ${PROG} && \
-+ objcopy --add-gnu-debuglink=${PROG}.dbg ${PROG})
-
- clean:
- rm -f *.o Makefile.bak
diff --git a/rox-base/rox/files/rox-2.5-nostrip.patch b/rox-base/rox/files/rox-2.7-nostrip.patch
index 2a63ce73f160..2a63ce73f160 100644
--- a/rox-base/rox/files/rox-2.5-nostrip.patch
+++ b/rox-base/rox/files/rox-2.7-nostrip.patch
diff --git a/rox-base/rox/rox-2.7.ebuild b/rox-base/rox/rox-2.7.ebuild
new file mode 100644
index 000000000000..629020c0dadd
--- /dev/null
+++ b/rox-base/rox/rox-2.7.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v 1.1 2007/11/30 21:36:26 lack Exp $
+
+inherit eutils multilib
+
+MY_P="rox-filer-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="ROX is a desktop environment and filer based on RISC OS."
+HOMEPAGE="http://rox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rox/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="svg"
+
+RDEPEND=">=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 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.20"
+
+APPNAME="ROX-Filer"
+APPDIR="/usr/$(get_libdir)/rox"
+LIBDIR="/usr/$(get_libdir)/"
+WRAPPERNAME="rox"
+MIMEDIR="/usr/share/mime"
+MIMECONFDIR="/etc/xdg/rox.sourceforge.net"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-nostrip.patch
+}
+
+src_compile() {
+
+ cd ${APPNAME}
+
+ # Most rox self-compiles have a 'read' call to wait for the user to
+ # press return if the compile fails.
+ # Find and remove this:
+ sed -i.bak -e 's/\<read WAIT\>/#read/' AppRun
+
+ ./AppRun --compile || die "make failed"
+ (cd src; make clean) > /dev/null
+ # don't need these directories anymore
+ if [ -n "${KEEP_SRC}" ]; then
+ (cd src; make clean) > /dev/null
+ else
+ rm -rf src
+ fi
+ rm -fr build
+
+ # Restore the original AppRun
+ mv AppRun.bak AppRun
+}
+
+# new streamlined install
+
+src_install() {
+ doman rox.1
+
+ dodir ${APPDIR}
+ cp -r ${APPNAME}/ "${D}/${APPDIR}"
+
+ # add documentation to be proper
+ ( cd ${APPNAME}/Help
+ dodoc Changes README README-es TODO
+ )
+
+ # install shell script
+ dodir /usr/bin
+
+ cat >"${D}/usr/bin/${WRAPPERNAME}" <<EOF
+#!/bin/sh
+if [[ "\${LIBDIRPATH}" ]]; then
+ export LIBDIRPATH="\${LIBDIRPATH}:${LIBDIR}"
+else
+ export LIBDIRPATH="${LIBDIR}"
+fi
+
+if [[ "\${APPDIRPATH}" ]]; then
+ export APPDIRPATH="\${APPDIRPATH}:${APPDIR}"
+else
+ export APPDIRPATH="${APPDIR}"
+fi
+exec "${APPDIR}/${APPNAME}/AppRun" "\$@"
+EOF
+
+ cat >"${D}/usr/bin/${WRAPPERNAME}uri" <<EOF
+#!/bin/sh
+exec "${APPDIR}/${APPNAME}/AppRun" -U "\$@"
+EOF
+
+ chmod 0755 "${D}/usr/bin/${WRAPPERNAME}"
+ chmod 0755 "${D}/usr/bin/${WRAPPERNAME}uri"
+
+ # 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/*
+
+ insinto /usr/share/pixmaps
+ newins ${APPNAME}/.DirIcon ${APPNAME}.png
+
+ make_desktop_entry ${WRAPPERNAME} ${APPNAME} ${APPNAME}.png "System;Utility;Core;ROX"
+}
+
+pkg_postinst() {
+ update-mime-database ${MIMEDIR}
+ einfo "${APPNAME} has been installed in ${APPDIR}."
+ einfo "To run, you may type ${WRAPPERNAME} at a prompt (within a WM) or"
+ einfo "add it to an .xinit or other script during WM startup."
+}