Now creates a .desktop file for integration into XDG menus
authorJim Ramsay <lack@gentoo.org>
Wed, 31 Jan 2007 19:40:30 +0000 (19:40 +0000)
committerJim Ramsay <lack@gentoo.org>
Wed, 31 Jan 2007 19:40:30 +0000 (19:40 +0000)
Package-Manager: portage-2.1.2-r4

rox-base/rox/ChangeLog
rox-base/rox/Manifest
rox-base/rox/files/digest-rox-2.5-r1 [new file with mode: 0644]
rox-base/rox/rox-2.5-r1.ebuild [new file with mode: 0644]

index 524141d0c7eb637d4dfccf8bf3f28620a3095e8c..d77fc9fe1fe683fbef7e453df8cb4d5f55ef6b83 100644 (file)
@@ -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.29 2006/11/23 19:59:19 blubb Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.30 2007/01/31 19:40:30 lack Exp $
+
+*rox-2.5-r1 (31 Jan 2007)
+
+  31 Jan 2007; Jim Ramsay <lack@gentoo.org> +rox-2.5-r1.ebuild:
+  Now creates a .desktop file for integration into XDG menus
 
   23 Nov 2006; <blubb@gentoo.org> rox-2.5.ebuild:
   stable on amd64
index d7192b0ec0ee8726a43cf53027d1b75e3415f1b8..42251a5dc695790c9c5894cada767f5bbfa85bed 100644 (file)
@@ -18,14 +18,18 @@ EBUILD rox-2.3.ebuild 2313 RMD160 69ba6f1cdeefef4106165b3c437a81c6fb8def2c SHA1
 MD5 6e7f423c7917b80342c978dc01a71435 rox-2.3.ebuild 2313
 RMD160 69ba6f1cdeefef4106165b3c437a81c6fb8def2c rox-2.3.ebuild 2313
 SHA256 e085a9d604293cae34cfef080cbfd3a75d04ac3b8523885d8961bd2e8db1b0da rox-2.3.ebuild 2313
+EBUILD rox-2.5-r1.ebuild 2468 RMD160 6e36f5b1676199ff6b1e4ad7dc78927407c1fc97 SHA1 bdb8bdd3b88029bf09a3b98af838e2da2385bd59 SHA256 51e31f4ba3f7122ff6fd8236966746a65a268e10c433dd800b357766fbf892a4
+MD5 9d8afb38d5e0225124b995b11774b38b rox-2.5-r1.ebuild 2468
+RMD160 6e36f5b1676199ff6b1e4ad7dc78927407c1fc97 rox-2.5-r1.ebuild 2468
+SHA256 51e31f4ba3f7122ff6fd8236966746a65a268e10c433dd800b357766fbf892a4 rox-2.5-r1.ebuild 2468
 EBUILD rox-2.5.ebuild 2321 RMD160 7aa6702cb4b7a35d3d85988960586aadc4f6cc08 SHA1 a08a2ca365ec76cd9150caede2a5f51b65bbce68 SHA256 90dfb535ab2b35b0f942e6f1575eba97bd7ea942815df775749fe76e387ea64b
 MD5 d0b244cbf2aeaec0c05c666ee7eb5e4f rox-2.5.ebuild 2321
 RMD160 7aa6702cb4b7a35d3d85988960586aadc4f6cc08 rox-2.5.ebuild 2321
 SHA256 90dfb535ab2b35b0f942e6f1575eba97bd7ea942815df775749fe76e387ea64b rox-2.5.ebuild 2321
-MISC ChangeLog 8935 RMD160 f611a170c1443c9105ad01f2d0c44d3c04440f3d SHA1 a678ac1b472359e6c56dd07916571506caf8715c SHA256 87e2e153b4991b9e80125c91113fa2be1e789db3acf506c3c89ecabe3cad3027
-MD5 cad8b60215bb56a6375f01e5952bfc84 ChangeLog 8935
-RMD160 f611a170c1443c9105ad01f2d0c44d3c04440f3d ChangeLog 8935
-SHA256 87e2e153b4991b9e80125c91113fa2be1e789db3acf506c3c89ecabe3cad3027 ChangeLog 8935
+MISC ChangeLog 9087 RMD160 19af4d7c53843b8e686f4930d9ebff6e00af4a00 SHA1 93c70b24fa4034b6d7da58d6974169a00545bec0 SHA256 ad1abf7cf721a08cd5a8c311004b71ab144bcbcff6df248863a11fb7d01daf10
+MD5 86186b5a14420c0eb0c806a360eed88f ChangeLog 9087
+RMD160 19af4d7c53843b8e686f4930d9ebff6e00af4a00 ChangeLog 9087
+SHA256 ad1abf7cf721a08cd5a8c311004b71ab144bcbcff6df248863a11fb7d01daf10 ChangeLog 9087
 MISC metadata.xml 157 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f SHA1 54ccd31d923f052c9111f04c1a7d8b8f04f0a7b2 SHA256 941fe96a972d5a4f49555c01cbfab71d51e81ade3a53322fee549061aa17012c
 MD5 94ae74afbf5ec6b3f8cdcb4ea7c917bb metadata.xml 157
 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f metadata.xml 157
@@ -39,3 +43,6 @@ SHA256 d5a2e198159ddcd9d6980085bf7579be44e25a32b47b2730752a81682b55267e files/di
 MD5 129b0aba331c1b60b4f4d36dc9ec6285 files/digest-rox-2.5 247
 RMD160 e88ed5793da89d95aa649731e02ac493946768c8 files/digest-rox-2.5 247
 SHA256 80aa922b52d2abdb4c36a84de64c7898fbe8ac09f547d26e969e4e32b015e3cb files/digest-rox-2.5 247
+MD5 129b0aba331c1b60b4f4d36dc9ec6285 files/digest-rox-2.5-r1 247
+RMD160 e88ed5793da89d95aa649731e02ac493946768c8 files/digest-rox-2.5-r1 247
+SHA256 80aa922b52d2abdb4c36a84de64c7898fbe8ac09f547d26e969e4e32b015e3cb files/digest-rox-2.5-r1 247
diff --git a/rox-base/rox/files/digest-rox-2.5-r1 b/rox-base/rox/files/digest-rox-2.5-r1
new file mode 100644 (file)
index 0000000..55fba56
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 56e6a29f2dbdf11d6f4b74a3f03ff959 rox-filer-2.5.tar.bz2 1785317
+RMD160 a0d2f9fcc3eca8063b77d93460a19ab38600e815 rox-filer-2.5.tar.bz2 1785317
+SHA256 d91120d78e770c9c09822560dacb42fca641d092cbe52064ca7232f089062921 rox-filer-2.5.tar.bz2 1785317
diff --git a/rox-base/rox/rox-2.5-r1.ebuild b/rox-base/rox/rox-2.5-r1.ebuild
new file mode 100644 (file)
index 0000000..fe2d3ff
--- /dev/null
@@ -0,0 +1,109 @@
+# 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.5-r1.ebuild,v 1.1 2007/01/31 19:40:30 lack Exp $
+
+inherit eutils
+
+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"
+
+# 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
+       >=dev-util/pkgconfig-0.20
+       svg? ( gnome-base/librsvg )"
+
+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 )"
+
+IUSE="svg"
+ROXAPPDIR="/usr/lib/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 ROX-Filer
+
+       # 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 ${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/*
+
+       insinto /usr/share/pixmaps
+       newins ROX-Filer/.DirIcon ROX-Filer.png
+
+       make_desktop_entry rox ROX-Filer ROX-Filer.png "System;Utility;Core;ROX"
+}
+
+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."
+}