1 |
hollow 08/09/01 07:47:36 |
2 |
|
3 |
Modified: ChangeLog mediawiki-1.11.2.ebuild |
4 |
mediawiki-1.12.0.ebuild mediawiki-1.11.1.ebuild |
5 |
Added: mediawiki-1.13.0.ebuild |
6 |
Log: |
7 |
fix #218051; version bump |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.110 www-apps/mediawiki/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/ChangeLog?rev=1.110&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/ChangeLog?rev=1.110&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/ChangeLog?r1=1.109&r2=1.110 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v |
20 |
retrieving revision 1.109 |
21 |
retrieving revision 1.110 |
22 |
diff -u -r1.109 -r1.110 |
23 |
--- ChangeLog 23 Aug 2008 04:54:30 -0000 1.109 |
24 |
+++ ChangeLog 1 Sep 2008 07:47:36 -0000 1.110 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for www-apps/mediawiki |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.109 2008/08/23 04:54:30 cardoe Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.110 2008/09/01 07:47:36 hollow Exp $ |
30 |
+ |
31 |
+*mediawiki-1.13.0 (01 Sep 2008) |
32 |
+ |
33 |
+ 01 Sep 2008; Benedikt Böhm <hollow@g.o> mediawiki-1.11.1.ebuild, |
34 |
+ mediawiki-1.11.2.ebuild, mediawiki-1.12.0.ebuild, |
35 |
+ +mediawiki-1.13.0.ebuild: |
36 |
+ fix #218051; version bump |
37 |
|
38 |
23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml: |
39 |
add GLEP 56 USE flag desc from use.local.desc |
40 |
|
41 |
|
42 |
|
43 |
1.7 www-apps/mediawiki/mediawiki-1.11.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.2.ebuild?rev=1.7&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.2.ebuild?rev=1.7&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.2.ebuild?r1=1.6&r2=1.7 |
48 |
|
49 |
Index: mediawiki-1.11.2.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.2.ebuild,v |
52 |
retrieving revision 1.6 |
53 |
retrieving revision 1.7 |
54 |
diff -u -r1.6 -r1.7 |
55 |
--- mediawiki-1.11.2.ebuild 3 Apr 2008 10:06:02 -0000 1.6 |
56 |
+++ mediawiki-1.11.2.ebuild 1 Sep 2008 07:47:36 -0000 1.7 |
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/www-apps/mediawiki/mediawiki-1.11.2.ebuild,v 1.6 2008/04/03 10:06:02 hollow Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.2.ebuild,v 1.7 2008/09/01 07:47:36 hollow Exp $ |
62 |
|
63 |
EAPI="1" |
64 |
inherit webapp depend.php versionator eutils |
65 |
@@ -19,7 +19,7 @@ |
66 |
RDEPEND="${DEPEND} |
67 |
math? ( |
68 |
app-text/dvipng |
69 |
- virtual/tetex |
70 |
+ virtual/tex-base |
71 |
virtual/ghostscript |
72 |
media-gfx/imagemagick |
73 |
) |
74 |
|
75 |
|
76 |
|
77 |
1.4 www-apps/mediawiki/mediawiki-1.12.0.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild?rev=1.4&view=markup |
80 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild?rev=1.4&content-type=text/plain |
81 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild?r1=1.3&r2=1.4 |
82 |
|
83 |
Index: mediawiki-1.12.0.ebuild |
84 |
=================================================================== |
85 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild,v |
86 |
retrieving revision 1.3 |
87 |
retrieving revision 1.4 |
88 |
diff -u -r1.3 -r1.4 |
89 |
--- mediawiki-1.12.0.ebuild 26 Jun 2008 11:15:46 -0000 1.3 |
90 |
+++ mediawiki-1.12.0.ebuild 1 Sep 2008 07:47:36 -0000 1.4 |
91 |
@@ -1,6 +1,6 @@ |
92 |
# Copyright 1999-2008 Gentoo Foundation |
93 |
# Distributed under the terms of the GNU General Public License v2 |
94 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild,v 1.3 2008/06/26 11:15:46 armin76 Exp $ |
95 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.12.0.ebuild,v 1.4 2008/09/01 07:47:36 hollow Exp $ |
96 |
|
97 |
EAPI="1" |
98 |
inherit webapp depend.php versionator eutils |
99 |
@@ -19,7 +19,7 @@ |
100 |
RDEPEND="${DEPEND} |
101 |
math? ( |
102 |
app-text/dvipng |
103 |
- virtual/tetex |
104 |
+ virtual/tex-base |
105 |
virtual/ghostscript |
106 |
media-gfx/imagemagick |
107 |
) |
108 |
|
109 |
|
110 |
|
111 |
1.8 www-apps/mediawiki/mediawiki-1.11.1.ebuild |
112 |
|
113 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild?rev=1.8&view=markup |
114 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild?rev=1.8&content-type=text/plain |
115 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild?r1=1.7&r2=1.8 |
116 |
|
117 |
Index: mediawiki-1.11.1.ebuild |
118 |
=================================================================== |
119 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild,v |
120 |
retrieving revision 1.7 |
121 |
retrieving revision 1.8 |
122 |
diff -u -r1.7 -r1.8 |
123 |
--- mediawiki-1.11.1.ebuild 3 Apr 2008 10:06:02 -0000 1.7 |
124 |
+++ mediawiki-1.11.1.ebuild 1 Sep 2008 07:47:36 -0000 1.8 |
125 |
@@ -1,6 +1,6 @@ |
126 |
# Copyright 1999-2008 Gentoo Foundation |
127 |
# Distributed under the terms of the GNU General Public License v2 |
128 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild,v 1.7 2008/04/03 10:06:02 hollow Exp $ |
129 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.11.1.ebuild,v 1.8 2008/09/01 07:47:36 hollow Exp $ |
130 |
|
131 |
EAPI="1" |
132 |
inherit webapp depend.php versionator eutils |
133 |
@@ -19,7 +19,7 @@ |
134 |
RDEPEND="${DEPEND} |
135 |
math? ( |
136 |
app-text/dvipng |
137 |
- virtual/tetex |
138 |
+ virtual/tex-base |
139 |
virtual/ghostscript |
140 |
media-gfx/imagemagick |
141 |
) |
142 |
|
143 |
|
144 |
|
145 |
1.1 www-apps/mediawiki/mediawiki-1.13.0.ebuild |
146 |
|
147 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.13.0.ebuild?rev=1.1&view=markup |
148 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mediawiki/mediawiki-1.13.0.ebuild?rev=1.1&content-type=text/plain |
149 |
|
150 |
Index: mediawiki-1.13.0.ebuild |
151 |
=================================================================== |
152 |
# Copyright 1999-2008 Gentoo Foundation |
153 |
# Distributed under the terms of the GNU General Public License v2 |
154 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.13.0.ebuild,v 1.1 2008/09/01 07:47:36 hollow Exp $ |
155 |
|
156 |
EAPI="1" |
157 |
inherit webapp depend.php versionator eutils |
158 |
|
159 |
MY_BRANCH=$(get_version_component_range 1-2) |
160 |
|
161 |
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" |
162 |
HOMEPAGE="http://www.mediawiki.org" |
163 |
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz" |
164 |
|
165 |
LICENSE="GPL-2" |
166 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
167 |
IUSE="imagemagick math mysql postgres restrict +ocamlopt" |
168 |
|
169 |
DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" |
170 |
RDEPEND="${DEPEND} |
171 |
math? ( |
172 |
app-text/dvipng |
173 |
virtual/tex-base |
174 |
virtual/ghostscript |
175 |
media-gfx/imagemagick |
176 |
) |
177 |
imagemagick? ( media-gfx/imagemagick )" |
178 |
|
179 |
RESTRICT="test" |
180 |
|
181 |
need_httpd_cgi |
182 |
need_php_httpd |
183 |
|
184 |
pkg_setup() { |
185 |
webapp_pkg_setup |
186 |
local flags="pcre session xml" |
187 |
use mysql && flags="${flags} mysql" |
188 |
use postgres && flags="${flags} postgres" |
189 |
if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \ |
190 |
! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then |
191 |
die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external" |
192 |
fi |
193 |
|
194 |
# see Bug 204812 |
195 |
if use ocamlopt && use math && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then |
196 |
eerror "In order to build ${PN} with native code support from ocaml" |
197 |
eerror "You first need to have a native code ocaml compiler." |
198 |
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on." |
199 |
die "Please install ocaml with ocamlopt useflag" |
200 |
fi |
201 |
} |
202 |
|
203 |
src_unpack() { |
204 |
unpack ${A} |
205 |
cd "${S}" |
206 |
|
207 |
# XXX: besides, is/was this patch really that required? if so, why? (trapni) |
208 |
# epatch ${FILESDIR}/jobindexlength-mysql.patch |
209 |
|
210 |
if use restrict ; then |
211 |
epatch "${FILESDIR}/access_restrict_${PV}.patch" |
212 |
fi |
213 |
} |
214 |
|
215 |
src_compile() { |
216 |
if use math; then |
217 |
einfo "Compiling math support" |
218 |
cd math || die |
219 |
if ! use ocamlopt; then |
220 |
sed -i -e "s/ocamlopt/ocamlc/" Makefile |
221 |
sed -i -e "s/cmxa/cma/" Makefile |
222 |
sed -i -e "s/cmx/cmo/g" Makefile |
223 |
fi |
224 |
emake || die |
225 |
else |
226 |
einfo "No math support enabled. Skipping." |
227 |
fi |
228 |
|
229 |
# TODO: think about includes/zhtable/ support |
230 |
} |
231 |
|
232 |
src_install() { |
233 |
webapp_src_preinst |
234 |
|
235 |
# copy the app's main files excluding math support, docs, and tests |
236 |
local DIRS=( |
237 |
"bin" |
238 |
"config" |
239 |
"extensions" |
240 |
"images" |
241 |
"includes" |
242 |
"includes/api" |
243 |
"includes/cbt" |
244 |
"includes/filerepo" |
245 |
"includes/media" |
246 |
"includes/normal" |
247 |
"includes/templates" |
248 |
"includes/zhtable" |
249 |
"languages" |
250 |
"languages/classes" |
251 |
"languages/messages" |
252 |
"locale" |
253 |
"maintenance" |
254 |
"maintenance/archives" |
255 |
"maintenance/dtrace" |
256 |
"maintenance/language" |
257 |
"maintenance/ora" |
258 |
"maintenance/postgres" |
259 |
"maintenance/postgres/archives" |
260 |
"maintenance/storage" |
261 |
"serialized" |
262 |
"skins" |
263 |
"skins/chick" |
264 |
"skins/common" |
265 |
"skins/common/images" |
266 |
"skins/common/images/icons" |
267 |
"skins/disabled" |
268 |
"skins/htmldump" |
269 |
"skins/monobook" |
270 |
"skins/myskin" |
271 |
"skins/simple" |
272 |
) |
273 |
|
274 |
insinto ${MY_HTDOCSDIR} |
275 |
doins *.php *.inc *.phtml |
276 |
for DIR in ${DIRS[*]}; do |
277 |
insinto ${MY_HTDOCSDIR}/${DIR} |
278 |
doins ${DIR}/* |
279 |
[[ -f ${DIR}/.htaccess ]] && doins ${DIR}/.htaccess |
280 |
done |
281 |
|
282 |
# installing some docs |
283 |
local DOCS="AdminSettings.sample FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE" |
284 |
dodoc ${DOCS} docs/*.txt |
285 |
rm -f ${DOCS} COPYING docs/*.txt |
286 |
|
287 |
docinto php-memcached |
288 |
dodoc docs/php-memcached/* |
289 |
|
290 |
# If imagemagick is enabled then setup for image upload. |
291 |
# We ensure the directory is prepared for writing. The post- |
292 |
# install instructions guide the user to enable the feature. |
293 |
if use imagemagick; then |
294 |
webapp_serverowned ${MY_HTDOCSDIR}/images |
295 |
fi |
296 |
|
297 |
# If we've enabled math USE-flag, install math support. |
298 |
# We ensure the directories are prepared for writing. The post- |
299 |
# install instructions guide the user to enable the feature. |
300 |
if use math; then |
301 |
einfo "Installing math support" |
302 |
exeinto ${MY_HTDOCSDIR}/math |
303 |
doexe math/texvc |
304 |
|
305 |
# Docs |
306 |
docinto math |
307 |
dodoc math/{README,TODO} |
308 |
|
309 |
# Working directories. Server writeable. |
310 |
dodir ${MY_HTDOCSDIR}/images/math |
311 |
webapp_serverowned ${MY_HTDOCSDIR}/images/math |
312 |
dodir ${MY_HTDOCSDIR}/images/tmp |
313 |
webapp_serverowned ${MY_HTDOCSDIR}/images/tmp |
314 |
fi |
315 |
|
316 |
webapp_postinst_txt en "${FILESDIR}/postinstall-1.11-en.txt" |
317 |
webapp_src_install |
318 |
} |