diff options
Diffstat (limited to 'rox-base')
-rw-r--r-- | rox-base/rox/ChangeLog | 7 | ||||
-rw-r--r-- | rox-base/rox/Manifest | 16 | ||||
-rw-r--r-- | rox-base/rox/files/digest-rox-2.7.1 | 3 | ||||
-rw-r--r-- | rox-base/rox/rox-2.7.1.ebuild | 151 |
4 files changed, 172 insertions, 5 deletions
diff --git a/rox-base/rox/ChangeLog b/rox-base/rox/ChangeLog index 07c8ff07710c..bbd33135f68b 100644 --- a/rox-base/rox/ChangeLog +++ b/rox-base/rox/ChangeLog @@ -1,6 +1,11 @@ # 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.53 2008/01/02 12:44:42 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.54 2008/01/23 14:45:26 lack Exp $ + +*rox-2.7.1 (23 Jan 2008) + + 23 Jan 2008; Jim Ramsay <lack@gentoo.org> +rox-2.7.1.ebuild: + Version bump - 2.7.1 is released 02 Jan 2008; Jim Ramsay <lack@gentoo.org> rox-2.6.1.ebuild, rox-2.7.ebuild, rox-2.7-r2.ebuild: diff --git a/rox-base/rox/Manifest b/rox-base/rox/Manifest index cd9e266417d0..843619a58196 100644 --- a/rox-base/rox/Manifest +++ b/rox-base/rox/Manifest @@ -7,6 +7,7 @@ MD5 f2e89f5a5d685a0015bb66308a0ec6b8 files/rox-2.7-nostrip.patch 664 RMD160 8b54d9493f0a4b81632a4d448b1003402859c6dc files/rox-2.7-nostrip.patch 664 SHA256 4fce67a2c336f8ce66f3eccc9ab42b52f16bb99c03e6f29369024e11821a03fc files/rox-2.7-nostrip.patch 664 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 EBUILD rox-2.6.1.ebuild 2838 RMD160 72b13c5ca858a09acd243606faacded52354b00b SHA1 c0614ddb653803973b5ed737d1952c70a05dfcbc SHA256 18f897f0e834c0901540419242940e18a3774a5df08a76d7c9832c514e5e9972 MD5 34ef49ff39710a47c2434cfa78724e99 rox-2.6.1.ebuild 2838 @@ -16,14 +17,18 @@ EBUILD rox-2.7-r2.ebuild 3623 RMD160 3a09522ae29cf615be6235ccc239062c0943a33e SH MD5 4cc186aed52f741f4e9dbcfde29a2d11 rox-2.7-r2.ebuild 3623 RMD160 3a09522ae29cf615be6235ccc239062c0943a33e rox-2.7-r2.ebuild 3623 SHA256 53e7409fe7ffb98594083023aff2dde9b9de9c3535dd4bd612a7a8b4e814117b rox-2.7-r2.ebuild 3623 +EBUILD rox-2.7.1.ebuild 3772 RMD160 08664d52fa870c7bea561d6e3ce9e5b5570093be SHA1 82d0cd1dbf8c31f0530bb5a691146bf15434e14a SHA256 db2498b97e751dd5405bb32dd58506c5106677f32c12e285bb92de7ef9580473 +MD5 7493ca47d0ffb46caa0bee2475f230e1 rox-2.7.1.ebuild 3772 +RMD160 08664d52fa870c7bea561d6e3ce9e5b5570093be rox-2.7.1.ebuild 3772 +SHA256 db2498b97e751dd5405bb32dd58506c5106677f32c12e285bb92de7ef9580473 rox-2.7.1.ebuild 3772 EBUILD rox-2.7.ebuild 2841 RMD160 ee012af42ab3bf399a778fc7394e2920ca5f03b1 SHA1 71437013e9d53c41f69bd2a7902afbd19d8288b0 SHA256 4621f45dcedebc2a856a4b76a5c85c993033a885b61134df700abbe15b179665 MD5 d4225087ed2784f4c5f90678d5273b0d rox-2.7.ebuild 2841 RMD160 ee012af42ab3bf399a778fc7394e2920ca5f03b1 rox-2.7.ebuild 2841 SHA256 4621f45dcedebc2a856a4b76a5c85c993033a885b61134df700abbe15b179665 rox-2.7.ebuild 2841 -MISC ChangeLog 12148 RMD160 609396e42c04a555428472672c23d6a03b5197c6 SHA1 4e46e71c65076a5da2c5b72443a95d93910fb370 SHA256 ae45b5be87373dd0fd30040024ce483eeb340abbd414c0f6236e213c31893f66 -MD5 7ef687b738de63da46db4e879065c052 ChangeLog 12148 -RMD160 609396e42c04a555428472672c23d6a03b5197c6 ChangeLog 12148 -SHA256 ae45b5be87373dd0fd30040024ce483eeb340abbd414c0f6236e213c31893f66 ChangeLog 12148 +MISC ChangeLog 12273 RMD160 ae608888e7ffdbad2b3b94bd1d336a6b30ca8863 SHA1 83a817b19d5b9e27387fd37c18873e3ab36eb5b1 SHA256 90474ac673fb09dd210c87a2f63814345d92f7f70c77798548d853b274da0132 +MD5 1b764dbe392d23a6a0459a41f235865b ChangeLog 12273 +RMD160 ae608888e7ffdbad2b3b94bd1d336a6b30ca8863 ChangeLog 12273 +SHA256 90474ac673fb09dd210c87a2f63814345d92f7f70c77798548d853b274da0132 ChangeLog 12273 MISC metadata.xml 157 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f SHA1 54ccd31d923f052c9111f04c1a7d8b8f04f0a7b2 SHA256 941fe96a972d5a4f49555c01cbfab71d51e81ade3a53322fee549061aa17012c MD5 94ae74afbf5ec6b3f8cdcb4ea7c917bb metadata.xml 157 RMD160 fd6d83b802caa82822e8bb4d1752063fcda9b47f metadata.xml 157 @@ -37,3 +42,6 @@ SHA256 0568d16caeb6ed526c70d3beb69c674d9c4b3592ded4845d1281cd41cd628433 files/di MD5 f4dab615e605d9428476e058ecad6f0d files/digest-rox-2.7-r2 247 RMD160 2f94fb7dbf60f13e48cc0cc6d7d93b55a2096c56 files/digest-rox-2.7-r2 247 SHA256 0568d16caeb6ed526c70d3beb69c674d9c4b3592ded4845d1281cd41cd628433 files/digest-rox-2.7-r2 247 +MD5 4fcf66c79fed9cf41a8aa97df92e499a files/digest-rox-2.7.1 253 +RMD160 2e9a87bfb7f265a7d2624004b8ad26fa77d956c8 files/digest-rox-2.7.1 253 +SHA256 0d90dd1e9a2de454b274f0d9acc3456cacfb52fe597afb23b4996dd8daff4e93 files/digest-rox-2.7.1 253 diff --git a/rox-base/rox/files/digest-rox-2.7.1 b/rox-base/rox/files/digest-rox-2.7.1 new file mode 100644 index 000000000000..5d69c6176534 --- /dev/null +++ b/rox-base/rox/files/digest-rox-2.7.1 @@ -0,0 +1,3 @@ +MD5 6302280f57d1f02c07da5637a2609a4f rox-filer-2.7.1.tar.bz2 1835501 +RMD160 f1face1871d641b7bea4b66a5de9a9a78ea7a25a rox-filer-2.7.1.tar.bz2 1835501 +SHA256 3a565cc47f8ad2cba5972e2494e9f9380b7fc68a2ba0467aef6f2e1340695f92 rox-filer-2.7.1.tar.bz2 1835501 diff --git a/rox-base/rox/rox-2.7.1.ebuild b/rox-base/rox/rox-2.7.1.ebuild new file mode 100644 index 000000000000..0905c634e926 --- /dev/null +++ b/rox-base/rox/rox-2.7.1.ebuild @@ -0,0 +1,151 @@ +# 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.7.1.ebuild,v 1.1 2008/01/23 14:45:26 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}"/${PN}-2.7-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" + # Add Mime types to the .desktop file: + echo "MimeType=x-directory/normal;inode/directory" >> \ + "${D}/usr/share/applications/rox-rox.desktop" + + # 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." +} |