lack 08/01/24 20:08:11
Modified: ChangeLog rox-2.7.ebuild rox-2.7-r2.ebuild
Added: rox-2.7.1-r1.ebuild
Removed: rox-2.7.1.ebuild
Log:
Added patch to fix detection of text/plain files.
(Portage version: 2.1.4_rc14)
Revision Changes Path
1.55 rox-base/rox/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?rev=1.55&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?rev=1.55&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?r1=1.54&r2=1.55
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- ChangeLog 23 Jan 2008 14:45:26 -0000 1.54
+++ ChangeLog 24 Jan 2008 20:08:10 -0000 1.55
@@ -1,6 +1,13 @@
# 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.54 2008/01/23 14:45:26 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.55 2008/01/24 20:08:10 lack Exp $
+
+*rox-2.7.1-r1 (24 Jan 2008)
+
+ 24 Jan 2008; Jim Ramsay <lack@g.o> +files/rox-2.7-text_plain.patch,
+ rox-2.7.ebuild, rox-2.7-r2.ebuild, -rox-2.7.1.ebuild,
+ +rox-2.7.1-r1.ebuild:
+ Added patch to fix detection of text/plain files.
*rox-2.7.1 (23 Jan 2008)
1.3 rox-base/rox/rox-2.7.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?r1=1.2&r2=1.3
Index: rox-2.7.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rox-2.7.ebuild 2 Jan 2008 12:44:42 -0000 1.2
+++ rox-2.7.ebuild 24 Jan 2008 20:08:10 -0000 1.3
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.2 2008/01/02 12:44:42 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v 1.3 2008/01/24 20:08:10 lack Exp $
inherit eutils multilib
@@ -36,6 +36,7 @@
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-nostrip.patch
+ epatch "${FILESDIR}"/${P}-text_plain.patch
}
src_compile() {
1.5 rox-base/rox/rox-2.7-r2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?r1=1.4&r2=1.5
Index: rox-2.7-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- rox-2.7-r2.ebuild 2 Jan 2008 12:44:42 -0000 1.4
+++ rox-2.7-r2.ebuild 24 Jan 2008 20:08:10 -0000 1.5
@@ -1,6 +1,6 @@
# 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-r2.ebuild,v 1.4 2008/01/02 12:44:42 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild,v 1.5 2008/01/24 20:08:10 lack Exp $
EAPI=1
inherit eutils multilib
@@ -42,6 +42,7 @@
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-nostrip.patch
+ epatch "${FILESDIR}"/${P}-text_plain.patch
}
src_compile() {
1.1 rox-base/rox/rox-2.7.1-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.1-r1.ebuild?rev=1.1&content-type=text/plain
Index: rox-2.7.1-r1.ebuild
===================================================================
# 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-r1.ebuild,v 1.1 2008/01/24 20:08:10 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
epatch "${FILESDIR}"/${PN}-2.7-text_plain.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."
}
--
gentoo-commits@g.o mailing list
|