1 |
lack 08/01/24 20:08:11 |
2 |
|
3 |
Modified: ChangeLog rox-2.7.ebuild rox-2.7-r2.ebuild |
4 |
Added: rox-2.7.1-r1.ebuild |
5 |
Removed: rox-2.7.1.ebuild |
6 |
Log: |
7 |
Added patch to fix detection of text/plain files. |
8 |
(Portage version: 2.1.4_rc14) |
9 |
|
10 |
Revision Changes Path |
11 |
1.55 rox-base/rox/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?rev=1.55&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?rev=1.55&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/ChangeLog?r1=1.54&r2=1.55 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v |
20 |
retrieving revision 1.54 |
21 |
retrieving revision 1.55 |
22 |
diff -u -r1.54 -r1.55 |
23 |
--- ChangeLog 23 Jan 2008 14:45:26 -0000 1.54 |
24 |
+++ ChangeLog 24 Jan 2008 20:08:10 -0000 1.55 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for rox-base/rox |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.54 2008/01/23 14:45:26 lack Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/ChangeLog,v 1.55 2008/01/24 20:08:10 lack Exp $ |
30 |
+ |
31 |
+*rox-2.7.1-r1 (24 Jan 2008) |
32 |
+ |
33 |
+ 24 Jan 2008; Jim Ramsay <lack@g.o> +files/rox-2.7-text_plain.patch, |
34 |
+ rox-2.7.ebuild, rox-2.7-r2.ebuild, -rox-2.7.1.ebuild, |
35 |
+ +rox-2.7.1-r1.ebuild: |
36 |
+ Added patch to fix detection of text/plain files. |
37 |
|
38 |
*rox-2.7.1 (23 Jan 2008) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.3 rox-base/rox/rox-2.7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?rev=1.3&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?rev=1.3&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.ebuild?r1=1.2&r2=1.3 |
48 |
|
49 |
Index: rox-2.7.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v |
52 |
retrieving revision 1.2 |
53 |
retrieving revision 1.3 |
54 |
diff -u -r1.2 -r1.3 |
55 |
--- rox-2.7.ebuild 2 Jan 2008 12:44:42 -0000 1.2 |
56 |
+++ rox-2.7.ebuild 24 Jan 2008 20:08:10 -0000 1.3 |
57 |
@@ -1,6 +1,6 @@ |
58 |
# Copyright 1999-2008 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v 1.2 2008/01/02 12:44:42 lack Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7.ebuild,v 1.3 2008/01/24 20:08:10 lack Exp $ |
62 |
|
63 |
inherit eutils multilib |
64 |
|
65 |
@@ -36,6 +36,7 @@ |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
epatch "${FILESDIR}"/${P}-nostrip.patch |
69 |
+ epatch "${FILESDIR}"/${P}-text_plain.patch |
70 |
} |
71 |
|
72 |
src_compile() { |
73 |
|
74 |
|
75 |
|
76 |
1.5 rox-base/rox/rox-2.7-r2.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.5&view=markup |
79 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?rev=1.5&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild?r1=1.4&r2=1.5 |
81 |
|
82 |
Index: rox-2.7-r2.ebuild |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild,v |
85 |
retrieving revision 1.4 |
86 |
retrieving revision 1.5 |
87 |
diff -u -r1.4 -r1.5 |
88 |
--- rox-2.7-r2.ebuild 2 Jan 2008 12:44:42 -0000 1.4 |
89 |
+++ rox-2.7-r2.ebuild 24 Jan 2008 20:08:10 -0000 1.5 |
90 |
@@ -1,6 +1,6 @@ |
91 |
# Copyright 1999-2008 Gentoo Foundation |
92 |
# Distributed under the terms of the GNU General Public License v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild,v 1.4 2008/01/02 12:44:42 lack Exp $ |
94 |
+# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.7-r2.ebuild,v 1.5 2008/01/24 20:08:10 lack Exp $ |
95 |
|
96 |
EAPI=1 |
97 |
inherit eutils multilib |
98 |
@@ -42,6 +42,7 @@ |
99 |
unpack ${A} |
100 |
cd "${S}" |
101 |
epatch "${FILESDIR}"/${P}-nostrip.patch |
102 |
+ epatch "${FILESDIR}"/${P}-text_plain.patch |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
|
107 |
|
108 |
|
109 |
1.1 rox-base/rox/rox-2.7.1-r1.ebuild |
110 |
|
111 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/rox-base/rox/rox-2.7.1-r1.ebuild?rev=1.1&view=markup |
112 |
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 |
113 |
|
114 |
Index: rox-2.7.1-r1.ebuild |
115 |
=================================================================== |
116 |
# Copyright 1999-2008 Gentoo Foundation |
117 |
# Distributed under the terms of the GNU General Public License v2 |
118 |
# $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 $ |
119 |
|
120 |
EAPI=1 |
121 |
inherit eutils multilib |
122 |
|
123 |
MY_P="rox-filer-${PV}" |
124 |
S="${WORKDIR}/${MY_P}" |
125 |
|
126 |
DESCRIPTION="ROX is a desktop environment and filer based on RISC OS." |
127 |
HOMEPAGE="http://rox.sourceforge.net/" |
128 |
SRC_URI="mirror://sourceforge/rox/${MY_P}.tar.bz2" |
129 |
|
130 |
LICENSE="GPL-2" |
131 |
SLOT="0" |
132 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
133 |
IUSE="svg +video" |
134 |
|
135 |
RDEPEND=">=x11-libs/gtk+-2.4 |
136 |
>=dev-libs/glib-2.2 |
137 |
>=dev-libs/libxml2-2.4.23 |
138 |
>=x11-misc/shared-mime-info-0.14 |
139 |
svg? ( gnome-base/librsvg )" |
140 |
|
141 |
PDEPEND="rox-base/mime-editor |
142 |
rox-base/thumbs |
143 |
video? ( rox-extra/videothumbnail )" |
144 |
|
145 |
DEPEND="${RDEPEND} |
146 |
>=rox-base/zeroinstall-injector-0.31-r1 |
147 |
>=dev-util/pkgconfig-0.20" |
148 |
|
149 |
APPNAME="ROX-Filer" |
150 |
APPDIR="/usr/$(get_libdir)/rox" |
151 |
LIBDIR="/usr/$(get_libdir)/" |
152 |
WRAPPERNAME="rox" |
153 |
MIMEDIR="/usr/share/mime" |
154 |
MIMECONFDIR="/etc/xdg/rox.sourceforge.net" |
155 |
|
156 |
src_unpack() { |
157 |
unpack ${A} |
158 |
cd "${S}" |
159 |
epatch "${FILESDIR}"/${PN}-2.7-nostrip.patch |
160 |
epatch "${FILESDIR}"/${PN}-2.7-text_plain.patch |
161 |
} |
162 |
|
163 |
src_compile() { |
164 |
|
165 |
cd ${APPNAME} |
166 |
|
167 |
# Most rox self-compiles have a 'read' call to wait for the user to |
168 |
# press return if the compile fails. |
169 |
# Find and remove this: |
170 |
sed -i.bak -e 's/\<read WAIT\>/#read/' AppRun |
171 |
|
172 |
./AppRun --compile || die "make failed" |
173 |
|
174 |
# don't need these directories anymore |
175 |
if [ -n "${KEEP_SRC}" ]; then |
176 |
pushd src |
177 |
make clean > /dev/null |
178 |
popd |
179 |
else |
180 |
rm -rf src |
181 |
fi |
182 |
rm -fr build |
183 |
|
184 |
# Restore the original AppRun |
185 |
mv AppRun.bak AppRun |
186 |
} |
187 |
|
188 |
# new streamlined install |
189 |
|
190 |
src_install() { |
191 |
doman rox.1 |
192 |
|
193 |
dodir ${APPDIR} |
194 |
cp -r ${APPNAME}/ "${D}/${APPDIR}" |
195 |
|
196 |
# add documentation to be proper |
197 |
pushd ${APPNAME}/Help |
198 |
dodoc Changes README README-es TODO |
199 |
popd |
200 |
|
201 |
# install shell script |
202 |
dodir /usr/bin |
203 |
|
204 |
cat >"${D}/usr/bin/${WRAPPERNAME}" <<EOF |
205 |
#!/bin/sh |
206 |
if [ "\${LIBDIRPATH}" ]; then |
207 |
export LIBDIRPATH="\${LIBDIRPATH}:${LIBDIR}" |
208 |
else |
209 |
export LIBDIRPATH="${LIBDIR}" |
210 |
fi |
211 |
|
212 |
if [ "\${APPDIRPATH}" ]; then |
213 |
export APPDIRPATH="\${APPDIRPATH}:${APPDIR}" |
214 |
else |
215 |
export APPDIRPATH="${APPDIR}" |
216 |
fi |
217 |
exec "${APPDIR}/${APPNAME}/AppRun" "\$@" |
218 |
EOF |
219 |
|
220 |
cat >"${D}/usr/bin/${WRAPPERNAME}uri" <<EOF |
221 |
#!/bin/sh |
222 |
exec "${APPDIR}/${APPNAME}/AppRun" -U "\$@" |
223 |
EOF |
224 |
|
225 |
fperms 0755 "/usr/bin/${WRAPPERNAME}" |
226 |
fperms 0755 "/usr/bin/${WRAPPERNAME}uri" |
227 |
|
228 |
# install rox.xml |
229 |
insinto ${MIMEDIR}/packages |
230 |
doins rox.xml |
231 |
|
232 |
# CHOICES system is gone. Now use XDG only |
233 |
# these are shell scripts and must be +x. |
234 |
exeinto ${MIMECONFDIR}/MIME-types |
235 |
doexe Choices/MIME-types/* |
236 |
|
237 |
insinto /usr/share/pixmaps |
238 |
newins ${APPNAME}/.DirIcon ${APPNAME}.png |
239 |
|
240 |
make_desktop_entry ${WRAPPERNAME} ${APPNAME} ${APPNAME} "System;FileTools;FileManager" |
241 |
# Add Mime types to the .desktop file: |
242 |
echo "MimeType=x-directory/normal;inode/directory" >> \ |
243 |
"${D}/usr/share/applications/rox-rox.desktop" |
244 |
|
245 |
# Install the 0install feed |
246 |
local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds" |
247 |
local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons" |
248 |
|
249 |
0distutils ${APPNAME}.xml > tmp.native_feed || die "0distutils feed edit failed" |
250 |
insinto "${APPDIR}/${APPNAME}" |
251 |
newins tmp.native_feed ${APPNAME}.xml |
252 |
|
253 |
local feedname |
254 |
feedname=$(0distutils -e tmp.native_feed) || die "0distutils URI escape failed" |
255 |
dosym "${APPDIR}/${APPNAME}/${APPNAME}.xml" "${NATIVE_FEED_DIR}/${feedname}" |
256 |
|
257 |
local cachedname |
258 |
cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed" |
259 |
dosym "${APPDIR}/${APPNAME}/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}" |
260 |
} |
261 |
|
262 |
pkg_postinst() { |
263 |
update-mime-database ${MIMEDIR} |
264 |
einfo "${APPNAME} has been installed in ${APPDIR}." |
265 |
einfo "To run, you may type ${WRAPPERNAME} at a prompt (within a WM) or" |
266 |
einfo "add it to an .xinit or other script during WM startup." |
267 |
} |
268 |
|
269 |
|
270 |
|
271 |
-- |
272 |
gentoo-commits@l.g.o mailing list |