summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2008-05-20 02:58:24 +0000
committerJim Ramsay <lack@gentoo.org>2008-05-20 02:58:24 +0000
commitc308200b514e9e7765fb8d7d194594fddd967924 (patch)
tree759f7609a30f8bf11db0c1d1724ee05393e4027f /rox-base
parentBumped to latest release. Added new dep of dom4j, might be a conditional dep ... (diff)
downloadhistorical-c308200b514e9e7765fb8d7d194594fddd967924.tar.gz
historical-c308200b514e9e7765fb8d7d194594fddd967924.tar.bz2
historical-c308200b514e9e7765fb8d7d194594fddd967924.zip
New version 2.8 is released
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'rox-base')
-rw-r--r--rox-base/rox/ChangeLog8
-rw-r--r--rox-base/rox/Manifest5
-rw-r--r--rox-base/rox/files/rox-2.8-nostrip.patch20
-rw-r--r--rox-base/rox/rox-2.8.ebuild148
4 files changed, 179 insertions, 2 deletions
diff --git a/rox-base/rox/ChangeLog b/rox-base/rox/ChangeLog
index a244df4c7841..0b503b4d28f9 100644
--- a/rox-base/rox/ChangeLog
+++ b/rox-base/rox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for rox-base/rox
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.56 2008/02/29 20:32:30 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.57 2008/05/20 02:58:23 lack Exp $
+
+*rox-2.8 (20 May 2008)
+
+ 20 May 2008; Jim Ramsay <lack@gentoo.org> +files/rox-2.8-nostrip.patch,
+ +rox-2.8.ebuild:
+ New version 2.8 is released
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> rox-2.6.1.ebuild,
rox-2.7.ebuild:
diff --git a/rox-base/rox/Manifest b/rox-base/rox/Manifest
index 18a3303ca376..ab57d3845a88 100644
--- a/rox-base/rox/Manifest
+++ b/rox-base/rox/Manifest
@@ -1,12 +1,15 @@
AUX rox-2.6.1-nostrip.patch 664 RMD160 8b54d9493f0a4b81632a4d448b1003402859c6dc SHA1 b9f0fe536442382a393e059ed8a2c830663427cb SHA256 4fce67a2c336f8ce66f3eccc9ab42b52f16bb99c03e6f29369024e11821a03fc
AUX rox-2.7-nostrip.patch 664 RMD160 8b54d9493f0a4b81632a4d448b1003402859c6dc SHA1 b9f0fe536442382a393e059ed8a2c830663427cb SHA256 4fce67a2c336f8ce66f3eccc9ab42b52f16bb99c03e6f29369024e11821a03fc
AUX rox-2.7-text_plain.patch 4049 RMD160 71d7336fa2b3eebca7273dbcc0fcc3759b25b11d SHA1 bce0d14edf94ee1c7d5badbac495f6c0df3e4e64 SHA256 60f301cc90d1bd93982a2bb7d7a12b22e9ba39cf702db1a720b893b41d6a740f
+AUX rox-2.8-nostrip.patch 664 RMD160 8b54d9493f0a4b81632a4d448b1003402859c6dc SHA1 b9f0fe536442382a393e059ed8a2c830663427cb SHA256 4fce67a2c336f8ce66f3eccc9ab42b52f16bb99c03e6f29369024e11821a03fc
DIST rox-filer-2.6.1.tar.bz2 1816711 RMD160 94a3320883c49066072d44f25f417e20739711ca SHA1 5364ac260970ecafa58f92892becf8104db025a3 SHA256 e7efefbfa8e37ba7263771bdfd0b16c9f4b47b09d301b82616012ad53eb03e02
DIST rox-filer-2.7.1.tar.bz2 1835501 RMD160 f1face1871d641b7bea4b66a5de9a9a78ea7a25a SHA1 f79acf776d2e3eb757aed1c2aa6cffa7fb901f20 SHA256 3a565cc47f8ad2cba5972e2494e9f9380b7fc68a2ba0467aef6f2e1340695f92
DIST rox-filer-2.7.tar.bz2 1829001 RMD160 f378129073b00e388559380fc551b23437cd4cbf SHA1 421a9999885b04482e3efb6da18705e6788cb4da SHA256 c43ad72760e5ef2c9150d00c7beae24c99c1df102443e87e6ccd969427a47c92
+DIST rox-filer-2.8.tar.bz2 1834202 RMD160 9f0aecde32fdd9ecc39efe80bd037b95850bb38c SHA1 7eec68a106a2605b2733025e44d890961b52ea1e SHA256 f43fd00bcce7ef86125c270826c9df48b0de3edf813826a7de8cce2c5507b268
EBUILD rox-2.6.1.ebuild 2835 RMD160 221c18c70625a0b8a9a2126604d843d9810e8d3a SHA1 851d6e50af026d29a6e42997c53fe1c1fc795e2f SHA256 4883e5dcc6108f3fd3b921e0e4faa1a889795c80cfc4ae907c367894f74447cb
EBUILD rox-2.7-r2.ebuild 3667 RMD160 7d1f26574b11e1f60f9d43ca7c8b05b590d454af SHA1 10e3312a15ec8af84f5b524b8296daae46b4821e SHA256 1bb3c3ebfab795a3073f23d929a8f0d1da9da57efaef2d818bebb7b216fdcdf4
EBUILD rox-2.7.1-r1.ebuild 3824 RMD160 76b2c9cc3f996d1bfd542d64e1993f0a73b520cc SHA1 19f604cec4b4b7344f5720e69d4e06708be1934f SHA256 f2aeef9983993a76400b55a74bc80c31a7898d84239ff8bea33a7989d51d68f1
EBUILD rox-2.7.ebuild 2882 RMD160 93c1fb6f52dc6b547bf810e121f145f92fe55205 SHA1 a7995e8f04d8bdbb71c0f6d4f32f4692be4cb557 SHA256 aee790672eea60943529f46bd1d111574a5feb83344c5b71d91cb9ce0bcea09f
-MISC ChangeLog 12677 RMD160 bf8e1242022383a197456467af71bcc1c2003efd SHA1 cc220cc997958e8e810a64f9a043ae07e4fcb6e0 SHA256 f5ae82f11027f79e2e04bc31b634f0d624ddea369ec649ce100eb2fb3d7ca540
+EBUILD rox-2.8.ebuild 3620 RMD160 95f81ed8ab0af2a59c1d434a1dde12ae891062a0 SHA1 ca118bef21bea6a80eb07b57242e3e3dfe56ad78 SHA256 ddbecc24acb36b7ec23cab424ffec16eb0aed63403a62a3f35c969f273236827
+MISC ChangeLog 12824 RMD160 7ba617e6731d60192da27185a805b20224c910ec SHA1 37b45f1665afc635ca7d600e8cbed9556737969c SHA256 90ed528be4fde13b233bf5ee17231539448d0129e9c8d5861f00c6b2295a02b6
MISC metadata.xml 157 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f SHA1 54ccd31d923f052c9111f04c1a7d8b8f04f0a7b2 SHA256 941fe96a972d5a4f49555c01cbfab71d51e81ade3a53322fee549061aa17012c
diff --git a/rox-base/rox/files/rox-2.8-nostrip.patch b/rox-base/rox/files/rox-2.8-nostrip.patch
new file mode 100644
index 000000000000..2a63ce73f160
--- /dev/null
+++ b/rox-base/rox/files/rox-2.8-nostrip.patch
@@ -0,0 +1,20 @@
+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/rox-2.8.ebuild b/rox-base/rox/rox-2.8.ebuild
new file mode 100644
index 000000000000..4ea5045fae1f
--- /dev/null
+++ b/rox-base/rox/rox-2.8.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.8.ebuild,v 1.1 2008/05/20 02:58:23 lack Exp $
+
+EAPI=1
+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 +video"
+
+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 )"
+
+PDEPEND="rox-base/mime-editor
+ rox-base/thumbs
+ video? ( rox-extra/videothumbnail )"
+
+DEPEND="${RDEPEND}
+ >=rox-base/zeroinstall-injector-0.31-r1
+ >=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"
+
+ # don't need these directories anymore
+ if [ -n "${KEEP_SRC}" ]; then
+ pushd src
+ make clean > /dev/null
+ popd
+ 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
+ pushd ${APPNAME}/Help
+ dodoc Changes README README-es TODO
+ popd
+
+ # 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
+
+ fperms 0755 "/usr/bin/${WRAPPERNAME}"
+ fperms 0755 "/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} "System;FileTools;FileManager"
+
+ # Install the 0install feed
+ local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds"
+ local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons"
+
+ 0distutils ${APPNAME}.xml > tmp.native_feed || die "0distutils feed edit failed"
+ insinto "${APPDIR}/${APPNAME}"
+ newins tmp.native_feed ${APPNAME}.xml
+
+ local feedname
+ feedname=$(0distutils -e tmp.native_feed) || die "0distutils URI escape failed"
+ dosym "${APPDIR}/${APPNAME}/${APPNAME}.xml" "${NATIVE_FEED_DIR}/${feedname}"
+
+ local cachedname
+ cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed"
+ dosym "${APPDIR}/${APPNAME}/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}"
+}
+
+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."
+}