1 |
grknight 14/05/30 02:22:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rox-2.10-r1.ebuild |
5 |
Log: |
6 |
Non-maintainer commit. Revbump to fix bug #464246. Move to autotools-utils, EAPI=5 and fix underlinking |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.83 rox-base/rox/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/rox-base/rox/ChangeLog?rev=1.83&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/rox-base/rox/ChangeLog?rev=1.83&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/rox-base/rox/ChangeLog?r1=1.82&r2=1.83 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v |
20 |
retrieving revision 1.82 |
21 |
retrieving revision 1.83 |
22 |
diff -u -r1.82 -r1.83 |
23 |
--- ChangeLog 2 Mar 2013 07:52:47 -0000 1.82 |
24 |
+++ ChangeLog 30 May 2014 02:22:15 -0000 1.83 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for rox-base/rox |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.82 2013/03/02 07:52:47 pacho Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.83 2014/05/30 02:22:15 grknight Exp $ |
31 |
+ |
32 |
+*rox-2.10-r1 (30 May 2014) |
33 |
+ |
34 |
+ 30 May 2014; Brian Evans <grknight@g.o> +rox-2.10-r1.ebuild: |
35 |
+ Non-maintainer commit. Revbump to fix bug #464246. Move to autotools-utils, |
36 |
+ EAPI=5 and fix underlinking |
37 |
|
38 |
02 Mar 2013; Pacho Ramos <pacho@g.o> -rox-2.9.ebuild, metadata.xml: |
39 |
Cleanup due http://gentoo.2317880.n4.nabble.com/rox-herd-looks-inactive-for-a |
40 |
|
41 |
|
42 |
|
43 |
1.1 rox-base/rox/rox-2.10-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/rox-base/rox/rox-2.10-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/rox-base/rox/rox-2.10-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rox-2.10-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.10-r1.ebuild,v 1.1 2014/05/30 02:22:15 grknight Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
inherit eutils multilib autotools-utils |
56 |
|
57 |
MY_P="rox-filer-${PV}" |
58 |
S="${WORKDIR}/${MY_P}" |
59 |
|
60 |
DESCRIPTION="ROX is a desktop environment and filer based on RISC OS" |
61 |
HOMEPAGE="http://rox.sourceforge.net/" |
62 |
SRC_URI="mirror://sourceforge/rox/${MY_P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
67 |
IUSE="+svg +video" |
68 |
|
69 |
RDEPEND="x11-libs/gtk+:2 |
70 |
dev-libs/glib:2 |
71 |
dev-libs/libxml2:2 |
72 |
>=x11-misc/shared-mime-info-0.14 |
73 |
svg? ( gnome-base/librsvg:2 ) |
74 |
>=rox-base/zeroinstall-injector-0.40 |
75 |
" |
76 |
|
77 |
PDEPEND="rox-base/mime-editor |
78 |
rox-base/thumbs |
79 |
video? ( rox-extra/videothumbnail )" |
80 |
|
81 |
DEPEND="${RDEPEND} |
82 |
virtual/pkgconfig" |
83 |
|
84 |
APPNAME="ROX-Filer" |
85 |
APPDIR="/usr/$(get_libdir)/rox" |
86 |
LIBDIR="/usr/$(get_libdir)/" |
87 |
WRAPPERNAME="rox" |
88 |
MIMEDIR="/usr/share/mime" |
89 |
MIMECONFDIR="/etc/xdg/rox.sourceforge.net" |
90 |
|
91 |
PATCHES=( "${FILESDIR}"/${P}-nostrip.patch ) |
92 |
ECONF_SOURCE="${S}/${APPNAME}/src" |
93 |
AUTOTOOLS_AUTORECONF="yes" |
94 |
|
95 |
src_prepare() { |
96 |
pushd "${ECONF_SOURCE}" || die |
97 |
sed -r -i "s:(AC_CHECK_LIB\(intl, gettext\)):\1\n\nAC_SEARCH_LIBS([floor],[m])\nAC_SEARCH_LIBS([dlsym],[dl]):" "configure.in" || die |
98 |
autotools-utils_src_prepare |
99 |
popd |
100 |
} |
101 |
|
102 |
# new streamlined install |
103 |
|
104 |
src_install() { |
105 |
doman rox.1 |
106 |
|
107 |
dodir ${APPDIR} |
108 |
cp -r ${APPNAME}/ "${D}/${APPDIR}" || die |
109 |
|
110 |
# add documentation to be proper |
111 |
pushd ${APPNAME}/Help |
112 |
dodoc Changes README README-es TODO |
113 |
popd |
114 |
|
115 |
# install shell script |
116 |
dodir /usr/bin |
117 |
|
118 |
cat >"${D}/usr/bin/${WRAPPERNAME}" <<EOF |
119 |
#!/bin/sh |
120 |
if [ "\${LIBDIRPATH}" ]; then |
121 |
export LIBDIRPATH="\${LIBDIRPATH}:${LIBDIR}" |
122 |
else |
123 |
export LIBDIRPATH="${LIBDIR}" |
124 |
fi |
125 |
|
126 |
if [ "\${APPDIRPATH}" ]; then |
127 |
export APPDIRPATH="\${APPDIRPATH}:${APPDIR}" |
128 |
else |
129 |
export APPDIRPATH="${APPDIR}" |
130 |
fi |
131 |
exec "${APPDIR}/${APPNAME}/AppRun" "\$@" |
132 |
EOF |
133 |
|
134 |
cat >"${D}/usr/bin/${WRAPPERNAME}uri" <<EOF |
135 |
#!/bin/sh |
136 |
exec "${APPDIR}/${APPNAME}/AppRun" -U "\$@" |
137 |
EOF |
138 |
|
139 |
fperms 0755 "/usr/bin/${WRAPPERNAME}" |
140 |
fperms 0755 "/usr/bin/${WRAPPERNAME}uri" |
141 |
|
142 |
# Do not install rox.xml - It wrecks any app with a SVG-format .DirIcon |
143 |
#insinto ${MIMEDIR}/packages |
144 |
#doins rox.xml |
145 |
|
146 |
# CHOICES system is gone. Now use XDG only |
147 |
# these are shell scripts and must be +x. |
148 |
exeinto ${MIMECONFDIR}/MIME-types |
149 |
doexe Choices/MIME-types/* |
150 |
|
151 |
insinto /usr/share/pixmaps |
152 |
newins ${APPNAME}/.DirIcon ${APPNAME}.png |
153 |
|
154 |
make_desktop_entry ${WRAPPERNAME} ${APPNAME} ${APPNAME} "System;FileTools;FileManager" |
155 |
|
156 |
# Install the 0install feed |
157 |
local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds" |
158 |
local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons" |
159 |
|
160 |
0distutils ${APPNAME}.xml > tmp.native_feed || die "0distutils feed edit failed" |
161 |
insinto "${APPDIR}/${APPNAME}" |
162 |
newins tmp.native_feed ${APPNAME}.xml |
163 |
|
164 |
local feedname |
165 |
feedname=$(0distutils -e tmp.native_feed) || die "0distutils URI escape failed" |
166 |
dosym "${APPDIR}/${APPNAME}/${APPNAME}.xml" "${NATIVE_FEED_DIR}/${feedname}" |
167 |
|
168 |
local cachedname |
169 |
cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed" |
170 |
dosym "${APPDIR}/${APPNAME}/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}" |
171 |
} |
172 |
|
173 |
pkg_postinst() { |
174 |
# Do not install rox.xml - It wrecks any app with a SVG-format .DirIcon |
175 |
#update-mime-database ${MIMEDIR} |
176 |
|
177 |
einfo "${APPNAME} has been installed in ${APPDIR}." |
178 |
einfo "To run, you may type ${WRAPPERNAME} at a prompt (within a WM) or" |
179 |
einfo "add it to an .xinit or other script during WM startup." |
180 |
} |