1 |
commit: 7ee14b4b13114bd009f46551bf644a104f69cfb3 |
2 |
Author: Till Schäfer <till2.schaefer <AT> uni-dortmund <DOT> de> |
3 |
AuthorDate: Wed Apr 25 15:02:37 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 27 09:40:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee14b4b |
7 |
|
8 |
www-apps/davical: use official release tarball |
9 |
|
10 |
drop outdated versions |
11 |
|
12 |
Closes: https://bugs.gentoo.org/653988 |
13 |
|
14 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
15 |
|
16 |
www-apps/davical/Manifest | 6 +- |
17 |
www-apps/davical/davical-1.0.2-r2.ebuild | 70 ---------------------- |
18 |
www-apps/davical/davical-1.1.0-r1.ebuild | 71 ----------------------- |
19 |
www-apps/davical/davical-1.1.1-r2.ebuild | 69 ---------------------- |
20 |
www-apps/davical/davical-1.1.3.1-r2.ebuild | 71 ----------------------- |
21 |
www-apps/davical/davical-1.1.7.ebuild | 8 ++- |
22 |
www-apps/davical/files/awl-locations.patch | 93 ------------------------------ |
23 |
www-apps/davical/files/awl_location.patch | 21 ------- |
24 |
www-apps/davical/files/inc_path.patch | 28 --------- |
25 |
9 files changed, 6 insertions(+), 431 deletions(-) |
26 |
|
27 |
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest |
28 |
index bc9270c1403..5e6249b3a8e 100644 |
29 |
--- a/www-apps/davical/Manifest |
30 |
+++ b/www-apps/davical/Manifest |
31 |
@@ -1,5 +1 @@ |
32 |
-DIST davical-1.0.2.tar.gz 2739740 BLAKE2B 1f8c117d52d577a4364407e35552ca59aeaaea812e0cff76525a65cbfc70ab2e235f1dc38198c16a5cc7869a3592923a72821cff1dd737b85238fbe10629a5d2 SHA512 8eb1df963b0e3aa87c28e75001c4301698abff74fd4581bdc826bfad8d8e1cd5aa0b641c668dbecc2f85ca8f3bca8ec9a508d268881da004cbb84017c2604dcb |
33 |
-DIST davical-1.1.0.tar.gz 2967572 BLAKE2B e36f5d20323996f48173c3cde32d4b8600dd019fb13f649edc053588679bea5b1753df70db4997277db251a8ef862cece9a32e230c48929cb8728109de3cb3cd SHA512 5c272418b5c324d0ea4cbdd9c1124171ecd1fe1f3df4953569b02a47359469539205ff48e92aa19abaa667bb7c69f1b8b8196d79e549645009ac0b7bbddd7c18 |
34 |
-DIST davical-1.1.1.tar.gz 2979425 BLAKE2B 06dd2bda2459b113c94d19128979da2ed6fc06442591812116afd69aee94ab7ac2ebb31b58afe2d4335f8e49bb1f52d2fcfac7a8a31b6643f11143c4ef61521b SHA512 6f0b2a13ba6698ea1a7d16988c795888820a08d125ac3d622b6c9fc21f831b698e8ce2c9c7ae25e64252f38502e473daabbd0626c5b2450646efb7cdb7f5b31e |
35 |
-DIST davical-1.1.3.1.tar.gz 3031220 BLAKE2B 1a4bd7d2c027647095e76033f6689c31da3626a8862a8ab80287e48879c41348fc8dd18a59a2e8e02bf1ceb1d0c7ae8ae5ffce6cb720051a145048f0fb3903e5 SHA512 1944c4750799e9388adcaf1d5df6a2a5daccc34dd7274673a6b27cf0c32b2357d3cdd6d7c0928ea182408ce5111530f6b0e2eb6d882eb47ee1dcfa6eb8d4fe4b |
36 |
-DIST davical-1.1.7.tar.gz 1818904 BLAKE2B ce6ffca5786963e2363832d994380f066812d2cd49c729270dcd92b98214c9a5be7b20ff678947ae7b300c39bdc31c5adb39cbb3d54c0bad4109809947b65811 SHA512 2bec19a85da5d626dcabc47c0c3a76e435d42a26da3e3a747a072c79a4dd955c012864580ad7ecd17b6c901acbebd77d17be9c74cef8ca19b12cba4b442c1d70 |
37 |
+DIST davical-1.1.7.tar.xz 1347368 BLAKE2B 74418e99190db94dbb95fe9bdbed8f468cf98070a6ef86cb5af1f6460a97eb8c2faede7858a38b9728c5b3e400c6340f1abf3f00ae757847d8996b22e709f70e SHA512 d66388479259a8369f3a648a9d81f1e2f5488f6a3c4415360c133b21b6c6d4b4d433d5f94a635cffdaa0385a56c24176fa660ee8653d75246604655ccdd1a455 |
38 |
|
39 |
diff --git a/www-apps/davical/davical-1.0.2-r2.ebuild b/www-apps/davical/davical-1.0.2-r2.ebuild |
40 |
deleted file mode 100644 |
41 |
index 2705cea8265..00000000000 |
42 |
--- a/www-apps/davical/davical-1.0.2-r2.ebuild |
43 |
+++ /dev/null |
44 |
@@ -1,70 +0,0 @@ |
45 |
-# Copyright 1999-2016 Gentoo Foundation |
46 |
-# Distributed under the terms of the GNU General Public License v2 |
47 |
- |
48 |
-EAPI=5 |
49 |
- |
50 |
-inherit webapp eutils |
51 |
- |
52 |
-DESCRIPTION="A CalDAV and CardDAV Server" |
53 |
-HOMEPAGE="http://davical.org/" |
54 |
-SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" |
55 |
- |
56 |
-LICENSE="GPL-2" |
57 |
-KEYWORDS="~amd64 ~x86" |
58 |
-IUSE="doc" |
59 |
- |
60 |
-DEPEND=">=dev-php/awl-0.51 |
61 |
- sys-devel/gettext" |
62 |
-RDEPEND=" |
63 |
- app-admin/pwgen |
64 |
- dev-lang/php:*[calendar,curl,pdo,postgres,xml] |
65 |
- dev-perl/DBI |
66 |
- dev-perl/DBD-Pg |
67 |
- dev-perl/YAML |
68 |
- >=dev-php/awl-0.51 |
69 |
- www-servers/apache" |
70 |
- |
71 |
-need_httpd |
72 |
- |
73 |
-src_prepare() { |
74 |
- epatch "${FILESDIR}/awl_location.patch" |
75 |
- epatch "${FILESDIR}/inc_path.patch" |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- emake built-po |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- webapp_src_preinst |
84 |
- |
85 |
- dodoc INSTALL README debian/README.Debian \ |
86 |
- testing/README.regression_tests TODO debian/changelog |
87 |
- |
88 |
- einfo "Installing web files" |
89 |
- insinto "${MY_HTDOCSDIR}" |
90 |
- doins -r htdocs/* htdocs/.htaccess |
91 |
- |
92 |
- einfo "Installing main files and i18n" |
93 |
- insinto "${MY_HOSTROOTDIR}/${PN}" |
94 |
- doins -r inc locale || die "doins failed" |
95 |
- rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die |
96 |
- |
97 |
- einfo "Installing sql files" |
98 |
- insinto "${MY_SQLSCRIPTSDIR}" |
99 |
- doins -r dba/* |
100 |
- |
101 |
- if use doc ; then |
102 |
- einfo "Installing documentation" |
103 |
- dohtml -r docs/api/ docs/website/ |
104 |
- fi |
105 |
- |
106 |
- insinto /etc/${PN} |
107 |
- doins config/* "${FILESDIR}/vhost-example" |
108 |
- |
109 |
- webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
110 |
- webapp_src_install |
111 |
- |
112 |
- fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" |
113 |
- fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" |
114 |
-} |
115 |
|
116 |
diff --git a/www-apps/davical/davical-1.1.0-r1.ebuild b/www-apps/davical/davical-1.1.0-r1.ebuild |
117 |
deleted file mode 100644 |
118 |
index 43091254bcf..00000000000 |
119 |
--- a/www-apps/davical/davical-1.1.0-r1.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,71 +0,0 @@ |
122 |
-# Copyright 1999-2016 Gentoo Foundation |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=5 |
126 |
- |
127 |
-inherit webapp eutils |
128 |
- |
129 |
-DESCRIPTION="A CalDAV and CardDAV Server" |
130 |
-HOMEPAGE="http://davical.org/" |
131 |
-SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" |
132 |
- |
133 |
-LICENSE="GPL-2" |
134 |
-KEYWORDS="~amd64 ~x86" |
135 |
-IUSE="doc" |
136 |
- |
137 |
-DEPEND=" |
138 |
- >=dev-php/awl-0.51 |
139 |
- sys-devel/gettext |
140 |
- " |
141 |
-RDEPEND="app-admin/pwgen |
142 |
- dev-lang/php:*[calendar,curl,pdo,postgres,xml] |
143 |
- dev-perl/DBI |
144 |
- dev-perl/DBD-Pg |
145 |
- dev-perl/YAML |
146 |
- >=dev-php/awl-0.51 |
147 |
- www-servers/apache" |
148 |
- |
149 |
-need_httpd |
150 |
- |
151 |
-src_prepare() { |
152 |
- epatch "${FILESDIR}/awl_location.patch" |
153 |
- epatch "${FILESDIR}/inc_path.patch" |
154 |
-} |
155 |
- |
156 |
-src_compile() { |
157 |
- emake built-po |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- webapp_src_preinst |
162 |
- |
163 |
- dodoc INSTALL README debian/README.Debian \ |
164 |
- testing/README.regression_tests TODO debian/changelog |
165 |
- |
166 |
- einfo "Installing web files" |
167 |
- insinto "${MY_HTDOCSDIR}" |
168 |
- doins -r htdocs/* htdocs/.htaccess |
169 |
- |
170 |
- einfo "Installing main files and i18n" |
171 |
- insinto "${MY_HOSTROOTDIR}/${PN}" |
172 |
- doins -r inc locale |
173 |
- rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die |
174 |
- |
175 |
- einfo "Installing sql files" |
176 |
- insinto "${MY_SQLSCRIPTSDIR}" |
177 |
- doins -r dba/* |
178 |
- |
179 |
- if use doc ; then |
180 |
- einfo "Installing documentation" |
181 |
- dohtml -r docs/api/ docs/website/ |
182 |
- fi |
183 |
- |
184 |
- insinto /etc/${PN} |
185 |
- doins config/* "${FILESDIR}/vhost-example" |
186 |
- |
187 |
- webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
188 |
- webapp_src_install |
189 |
- |
190 |
- fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" |
191 |
- fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" |
192 |
-} |
193 |
|
194 |
diff --git a/www-apps/davical/davical-1.1.1-r2.ebuild b/www-apps/davical/davical-1.1.1-r2.ebuild |
195 |
deleted file mode 100644 |
196 |
index 0826a035786..00000000000 |
197 |
--- a/www-apps/davical/davical-1.1.1-r2.ebuild |
198 |
+++ /dev/null |
199 |
@@ -1,69 +0,0 @@ |
200 |
-# Copyright 1999-2016 Gentoo Foundation |
201 |
-# Distributed under the terms of the GNU General Public License v2 |
202 |
- |
203 |
-EAPI=5 |
204 |
- |
205 |
-inherit webapp eutils |
206 |
- |
207 |
-DESCRIPTION="A CalDAV and CardDAV Server" |
208 |
-HOMEPAGE="http://davical.org/" |
209 |
-SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz" |
210 |
- |
211 |
-LICENSE="GPL-2" |
212 |
-KEYWORDS="~amd64 ~x86" |
213 |
-IUSE="doc" |
214 |
- |
215 |
-DEPEND=">=dev-php/awl-0.51 |
216 |
- sys-devel/gettext" |
217 |
-RDEPEND="app-admin/pwgen |
218 |
- dev-lang/php:*[calendar,curl,pdo,postgres,xml] |
219 |
- dev-perl/DBI |
220 |
- dev-perl/DBD-Pg |
221 |
- dev-perl/YAML |
222 |
- >=dev-php/awl-0.51 |
223 |
- virtual/httpd-php" |
224 |
- |
225 |
-need_httpd |
226 |
- |
227 |
-src_prepare() { |
228 |
- epatch "${FILESDIR}/awl_location.patch" |
229 |
- epatch "${FILESDIR}/inc_path.patch" |
230 |
-} |
231 |
- |
232 |
-src_compile() { |
233 |
- emake built-po |
234 |
-} |
235 |
- |
236 |
-src_install() { |
237 |
- webapp_src_preinst |
238 |
- |
239 |
- dodoc INSTALL README debian/README.Debian \ |
240 |
- testing/README.regression_tests TODO debian/changelog |
241 |
- |
242 |
- einfo "Installing web files" |
243 |
- insinto "${MY_HTDOCSDIR}" |
244 |
- doins -r htdocs/* htdocs/.htaccess |
245 |
- |
246 |
- einfo "Installing main files and i18n" |
247 |
- insinto "${MY_HOSTROOTDIR}/${PN}" |
248 |
- doins -r inc locale |
249 |
- rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die |
250 |
- |
251 |
- einfo "Installing sql files" |
252 |
- insinto "${MY_SQLSCRIPTSDIR}" |
253 |
- doins -r dba/* |
254 |
- |
255 |
- if use doc ; then |
256 |
- einfo "Installing documentation" |
257 |
- dohtml -r docs/api/ docs/website/ |
258 |
- fi |
259 |
- |
260 |
- insinto /etc/${PN} |
261 |
- doins config/* "${FILESDIR}/vhost-example" |
262 |
- |
263 |
- webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
264 |
- webapp_src_install |
265 |
- |
266 |
- fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" |
267 |
- fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" |
268 |
-} |
269 |
|
270 |
diff --git a/www-apps/davical/davical-1.1.3.1-r2.ebuild b/www-apps/davical/davical-1.1.3.1-r2.ebuild |
271 |
deleted file mode 100644 |
272 |
index 03ec48493ae..00000000000 |
273 |
--- a/www-apps/davical/davical-1.1.3.1-r2.ebuild |
274 |
+++ /dev/null |
275 |
@@ -1,71 +0,0 @@ |
276 |
-# Copyright 1999-2016 Gentoo Foundation |
277 |
-# Distributed under the terms of the GNU General Public License v2 |
278 |
- |
279 |
-EAPI=5 |
280 |
- |
281 |
-inherit webapp eutils |
282 |
- |
283 |
-DESCRIPTION="A CalDAV and CardDAV Server" |
284 |
-HOMEPAGE="http://davical.org/" |
285 |
-SRC_URI="https://gitlab.com/${PN}-project/${PN}/repository/archive.tar.gz?ref=r${PV} -> ${PN}-${PV}.tar.gz" |
286 |
- |
287 |
-LICENSE="GPL-2" |
288 |
-KEYWORDS="~amd64 ~x86" |
289 |
-IUSE="doc" |
290 |
- |
291 |
-DEPEND=">=dev-php/awl-0.55 |
292 |
- sys-devel/gettext" |
293 |
-RDEPEND="app-admin/pwgen |
294 |
- dev-lang/php:*[calendar,curl,pdo,postgres,xml] |
295 |
- dev-perl/DBI |
296 |
- dev-perl/DBD-Pg |
297 |
- dev-perl/YAML |
298 |
- >=dev-php/awl-0.55 |
299 |
- virtual/httpd-php" |
300 |
- |
301 |
-S="${WORKDIR}/${PN}.git" |
302 |
- |
303 |
-need_httpd |
304 |
- |
305 |
-src_prepare() { |
306 |
- epatch "${FILESDIR}/awl-locations.patch" |
307 |
- epatch "${FILESDIR}/inc_path.patch" |
308 |
-} |
309 |
- |
310 |
-src_compile() { |
311 |
- emake built-po |
312 |
-} |
313 |
- |
314 |
-src_install() { |
315 |
- webapp_src_preinst |
316 |
- |
317 |
- dodoc INSTALL README debian/README.Debian \ |
318 |
- testing/README.regression_tests TODO debian/changelog |
319 |
- |
320 |
- einfo "Installing web files" |
321 |
- insinto "${MY_HTDOCSDIR}" |
322 |
- doins -r htdocs/* htdocs/.htaccess |
323 |
- |
324 |
- einfo "Installing main files and i18n" |
325 |
- insinto "${MY_HOSTROOTDIR}/${PN}" |
326 |
- doins -r inc locale |
327 |
- rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die |
328 |
- |
329 |
- einfo "Installing sql files" |
330 |
- insinto "${MY_SQLSCRIPTSDIR}" |
331 |
- doins -r dba/* |
332 |
- |
333 |
- if use doc ; then |
334 |
- einfo "Installing documentation" |
335 |
- dohtml -r docs/api/ docs/website/ |
336 |
- fi |
337 |
- |
338 |
- insinto /etc/${PN} |
339 |
- doins config/* "${FILESDIR}/vhost-example" |
340 |
- |
341 |
- webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" |
342 |
- webapp_src_install |
343 |
- |
344 |
- fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh" |
345 |
- fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database" |
346 |
-} |
347 |
|
348 |
diff --git a/www-apps/davical/davical-1.1.7.ebuild b/www-apps/davical/davical-1.1.7.ebuild |
349 |
index fbd56f271c6..f247e7e3b45 100644 |
350 |
--- a/www-apps/davical/davical-1.1.7.ebuild |
351 |
+++ b/www-apps/davical/davical-1.1.7.ebuild |
352 |
@@ -3,11 +3,11 @@ |
353 |
|
354 |
EAPI=6 |
355 |
|
356 |
-inherit webapp vcs-snapshot |
357 |
+inherit webapp |
358 |
|
359 |
DESCRIPTION="A CalDAV and CardDAV Server" |
360 |
-HOMEPAGE="http://davical.org/" |
361 |
-SRC_URI="https://gitlab.com/${PN}-project/${PN}/repository/archive.tar.gz?ref=r${PV} -> ${PN}-${PV}.tar.gz" |
362 |
+HOMEPAGE="https://davical.org/" |
363 |
+SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" |
364 |
|
365 |
LICENSE="GPL-2" |
366 |
KEYWORDS="~amd64 ~x86" |
367 |
@@ -24,6 +24,8 @@ RDEPEND="app-admin/pwgen |
368 |
|
369 |
need_httpd |
370 |
|
371 |
+S="${WORKDIR}" |
372 |
+ |
373 |
src_compile() { |
374 |
emake built-locale |
375 |
} |
376 |
|
377 |
diff --git a/www-apps/davical/files/awl-locations.patch b/www-apps/davical/files/awl-locations.patch |
378 |
deleted file mode 100644 |
379 |
index e0105bffbd2..00000000000 |
380 |
--- a/www-apps/davical/files/awl-locations.patch |
381 |
+++ /dev/null |
382 |
@@ -1,93 +0,0 @@ |
383 |
-diff --git a/dba/create-database.sh b/dba/create-database.sh |
384 |
-index b1dd1fa..d25f9d9 100755 |
385 |
---- a/dba/create-database.sh |
386 |
-+++ b/dba/create-database.sh |
387 |
-@@ -10,22 +10,29 @@ DBADIR="`dirname \"$0\"`" |
388 |
- |
389 |
- INSTALL_NOTE_FN="`mktemp -t tmp.XXXXXXXXXX`" |
390 |
- |
391 |
--testawldir() { |
392 |
-- [ -f "${1}/dba/awl-tables.sql" ] |
393 |
--} |
394 |
- |
395 |
--# |
396 |
--# Attempt to locate the AWL directory |
397 |
--AWLDIR="${DBADIR}/../../awl" |
398 |
--if ! testawldir "${AWLDIR}"; then |
399 |
-- AWLDIR="/usr/share/awl" |
400 |
-- if ! testawldir "${AWLDIR}"; then |
401 |
-- AWLDIR="/usr/local/share/awl" |
402 |
-- if ! testawldir "${AWLDIR}"; then |
403 |
-- echo "Unable to find AWL libraries" |
404 |
-- exit 1 |
405 |
-+# Candidate locations of the AWL directory |
406 |
-+awldirs="${DBADIR}/../../awl |
407 |
-+/usr/share/awl |
408 |
-+/usr/share/php/awl |
409 |
-+/usr/local/share/awl" |
410 |
-+ |
411 |
-+# Disable globbing and use newline as seperator |
412 |
-+set -f; IFS=' |
413 |
-+' |
414 |
-+for d in $awldirs ; do |
415 |
-+ if [ -f "${d}/dba/awl-tables.sql" ] ; then |
416 |
-+ AWLDIR="${d}" |
417 |
-+ break |
418 |
- fi |
419 |
-- fi |
420 |
-+done |
421 |
-+ |
422 |
-+# Renable file globbing and reset seperator |
423 |
-+set +f; unset IFS |
424 |
-+ |
425 |
-+if [ -z "${AWLDIR}" ] ; then |
426 |
-+ echo "Unable to find AWL libraries" |
427 |
-+ exit 1 |
428 |
- fi |
429 |
- |
430 |
- export AWL_DBAUSER=davical_dba |
431 |
-diff --git a/scripts/po/rebuild-translations.sh b/scripts/po/rebuild-translations.sh |
432 |
-index 7191615..809fa8c 100755 |
433 |
---- a/scripts/po/rebuild-translations.sh |
434 |
-+++ b/scripts/po/rebuild-translations.sh |
435 |
-@@ -10,17 +10,30 @@ |
436 |
- PODIR="po" |
437 |
- LOCALEDIR="locale" |
438 |
- APPLICATION="davical" |
439 |
--AWL_LOCATION="../awl" |
440 |
-- |
441 |
--if [ ! -d "${AWL_LOCATION}" ]; then |
442 |
-- AWL_LOCATION="`find .. -type d -name 'awl-*.*'`" |
443 |
-- if [ ! -d "${AWL_LOCATION}" ]; then |
444 |
-- AWL_LOCATION=/usr/share/awl |
445 |
-- if [ ! -d "${AWL_LOCATION}" ]; then |
446 |
-- echo "I can't find a location for the AWL libraries and I need those strings too" |
447 |
-- exit 1 |
448 |
-+ |
449 |
-+awldirs="../awl |
450 |
-+`find .. -type d -name 'awl-*.*'` |
451 |
-+/usr/share/awl |
452 |
-+/usr/share/php/awl |
453 |
-+/usr/local/share/awl" |
454 |
-+ |
455 |
-+# Disable globbing and use newline as seperator |
456 |
-+set -f; IFS=' |
457 |
-+' |
458 |
-+ |
459 |
-+for d in $awldirs ; do |
460 |
-+ if [ -d "${d}" ] ; then |
461 |
-+ AWL_LOCATION="${d}" |
462 |
-+ break |
463 |
- fi |
464 |
-- fi |
465 |
-+done |
466 |
-+ |
467 |
-+# Renable file globbing and reset seperator |
468 |
-+set +f; unset IFS |
469 |
-+ |
470 |
-+if [ -z "${AWL_LOCATION}" ] ; then |
471 |
-+ echo "I can't find a location for the AWL libraries and I need those strings too" |
472 |
-+ exit 1 |
473 |
- fi |
474 |
- |
475 |
- egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 |
476 |
|
477 |
diff --git a/www-apps/davical/files/awl_location.patch b/www-apps/davical/files/awl_location.patch |
478 |
deleted file mode 100644 |
479 |
index 7eee3d8fcfb..00000000000 |
480 |
--- a/www-apps/davical/files/awl_location.patch |
481 |
+++ /dev/null |
482 |
@@ -1,21 +0,0 @@ |
483 |
---- scripts/po/rebuild-translations.sh.orig 2011-09-29 21:23:48.122625252 +0200 |
484 |
-+++ scripts/po/rebuild-translations.sh 2011-09-29 21:49:55.642929743 +0200 |
485 |
-@@ -10,7 +10,7 @@ |
486 |
- PODIR="po" |
487 |
- LOCALEDIR="locale" |
488 |
- APPLICATION="davical" |
489 |
--AWL_LOCATION="../awl" |
490 |
-+AWL_LOCATION="/usr/share/php/awl/inc" |
491 |
- |
492 |
- if [ ! -d "${AWL_LOCATION}" ]; then |
493 |
- AWL_LOCATION="`find .. -type d -name 'awl-*.*'`" |
494 |
-@@ -25,7 +25,8 @@ |
495 |
- |
496 |
- egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1 |
497 |
- sed "s:../awl:${AWL_LOCATION}:" ${PODIR}/pofilelist.txt >> ${PODIR}/pofilelist.tmp1 |
498 |
--sort ${PODIR}/pofilelist.tmp1 | uniq > ${PODIR}/pofilelist.tmp |
499 |
-+sed "s:/awl/inc/:/awl/:" ${PODIR}/pofilelist.tmp1 >> ${PODIR}/pofilelist.tmp2 |
500 |
-+sort ${PODIR}/pofilelist.tmp2 | uniq > ${PODIR}/pofilelist.tmp |
501 |
- xgettext --no-location --add-comments=Translators --keyword=translate --keyword=i18n --output=${PODIR}/messages.tmp -s -f ${PODIR}/pofilelist.tmp |
502 |
- sed 's.^"Content-Type: text/plain; charset=CHARSET\\n"."Content-Type: text/plain; charset=UTF-8\\n".' ${PODIR}/messages.tmp > ${PODIR}/messages.pot |
503 |
- rm ${PODIR}/messages.tmp ${PODIR}/pofilelist.tmp ${PODIR}/pofilelist.tmp1 |
504 |
|
505 |
diff --git a/www-apps/davical/files/inc_path.patch b/www-apps/davical/files/inc_path.patch |
506 |
deleted file mode 100644 |
507 |
index 2230249df0f..00000000000 |
508 |
--- a/www-apps/davical/files/inc_path.patch |
509 |
+++ /dev/null |
510 |
@@ -1,28 +0,0 @@ |
511 |
---- htdocs/always.php.orig 2012-01-05 21:28:16.382878446 +0100 |
512 |
-+++ htdocs/always.php 2012-01-05 21:30:06.828431957 +0100 |
513 |
-@@ -48,7 +48,7 @@ |
514 |
- // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt'); // An array of locales to try, or just a single locale |
515 |
- // $c->local_tzid = 'Pacific/Auckland'; // Perhaps we should read from /etc/timezone - I wonder how standard that is? |
516 |
- $c->default_locale = 'en'; |
517 |
--$c->locale_path = '../locale'; |
518 |
-+$c->locale_path = '../../davical/locale'; |
519 |
- $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']); |
520 |
- $c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']); |
521 |
- $c->default_privileges = array('read-free-busy', 'schedule-deliver'); |
522 |
-@@ -80,6 +80,7 @@ |
523 |
- '../../awl/inc' |
524 |
- , '/usr/share/awl/inc' // Where it ends up on Debian |
525 |
- , '/usr/share/php/awl/inc' // Fedora's standard for PHP libraries |
526 |
-+ , '/usr/share/php5/awl/inc' // Gentoo's standard for PHP5 libraries |
527 |
- , '/usr/local/share/awl/inc' |
528 |
- ); |
529 |
- foreach( $try_paths AS $awl_include_path ) { |
530 |
-@@ -95,7 +96,7 @@ |
531 |
- } |
532 |
- |
533 |
- // Ensure that ../inc is in our included paths as early as possible |
534 |
--set_include_path( '../inc'. PATH_SEPARATOR. get_include_path()); |
535 |
-+set_include_path( '../../davical/inc'. PATH_SEPARATOR. get_include_path()); |
536 |
- |
537 |
- |
538 |
- /** We actually discovered this and worked around it earlier, but we can't log it until the utilties are loaded */ |