1 |
wrobel 08/06/20 15:35:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gallery-2.2.5.ebuild |
5 |
Log: |
6 |
Bumped gallery to 2.2.5 (sec issue #226059). |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.137 www-apps/gallery/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.137&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.137&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?r1=1.136&r2=1.137 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v |
19 |
retrieving revision 1.136 |
20 |
retrieving revision 1.137 |
21 |
diff -u -r1.136 -r1.137 |
22 |
--- ChangeLog 22 Feb 2008 15:50:50 -0000 1.136 |
23 |
+++ ChangeLog 20 Jun 2008 15:35:35 -0000 1.137 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for www-apps/gallery |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.136 2008/02/22 15:50:50 hollow Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.137 2008/06/20 15:35:35 wrobel Exp $ |
29 |
+ |
30 |
+*gallery-2.2.5 (20 Jun 2008) |
31 |
+ |
32 |
+ 20 Jun 2008; wrobel@g.o +gallery-2.2.5.ebuild: |
33 |
+ Bumped gallery to 2.2.5 (sec issue #226059). |
34 |
|
35 |
22 Feb 2008; Benedikt Böhm <hollow@g.o> gallery-1.5.3.ebuild, |
36 |
gallery-1.5.7.ebuild, gallery-2.2.4.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 www-apps/gallery/gallery-2.2.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/gallery-2.2.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/gallery-2.2.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: gallery-2.2.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-2.2.5.ebuild,v 1.1 2008/06/20 15:35:35 wrobel Exp $ |
50 |
|
51 |
inherit webapp eutils depend.php confutils |
52 |
|
53 |
DESCRIPTION="Web based (PHP Script) photo album viewer/creator" |
54 |
HOMEPAGE="http://gallery.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
59 |
IUSE="ffmpeg gd imagemagick mysql netpbm postgres raw unzip zip" |
60 |
|
61 |
RDEPEND="media-libs/jpeg |
62 |
raw? ( >=media-gfx/dcraw-8.03 ) |
63 |
ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20051216 ) |
64 |
imagemagick? ( >=media-gfx/imagemagick-5.4.9.1-r1 ) |
65 |
netpbm? ( >=media-libs/netpbm-9.12 >=media-gfx/jhead-2.2 ) |
66 |
unzip? ( app-arch/unzip ) |
67 |
zip? ( app-arch/zip )" |
68 |
|
69 |
S="${WORKDIR}"/${PN}2 |
70 |
|
71 |
need_httpd_cgi |
72 |
need_php_httpd |
73 |
|
74 |
pkg_setup() { |
75 |
webapp_pkg_setup |
76 |
confutils_require_any gd imagemagick netpbm |
77 |
confutils_require_any mysql postgres |
78 |
|
79 |
local php_flags="pcre session" |
80 |
use mysql && php_flags="${php_flags} mysql" |
81 |
use postgres && php_flags="${php_flags} postgres" |
82 |
|
83 |
if ! PHPCHECKNODIE="yes" require_php_with_use ${php_flags} || \ |
84 |
( use gd && ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ) ; then |
85 |
eerror |
86 |
eerror "${PHP_PKG} needs to be re-installed with all of the following USE flags enabled:" |
87 |
eerror |
88 |
eerror "${php_flags}" |
89 |
eerror |
90 |
use gd && eerror "as well as with either gd or gd-external USE flag enabled." |
91 |
die "Re-install ${PHP_PKG}." |
92 |
fi |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
webapp_src_preinst |
97 |
|
98 |
dohtml README.html |
99 |
rm README.html LICENSE MANIFEST |
100 |
|
101 |
insinto "${MY_HTDOCSDIR}" |
102 |
doins -r . |
103 |
|
104 |
webapp_postinst_txt en "${FILESDIR}"/postinstall-en2.txt |
105 |
webapp_src_install |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
elog "You are strongly encouraged to back up your database" |
110 |
elog "and the g2data directory, as upgrading to 2.2 will make" |
111 |
elog "irreversible changes to both." |
112 |
elog |
113 |
elog "g2data dir: cp -Rf /path/to/g2data/ /path/to/backup" |
114 |
elog "mysql: mysqldump --opt -u username -h hostname -p database > /path/to/backup.sql" |
115 |
elog "postgres: pg_dump -h hostname --format=t database > /path/to/backup.sql" |
116 |
webapp_pkg_postinst |
117 |
} |
118 |
|
119 |
|
120 |
|
121 |
-- |
122 |
gentoo-commits@l.g.o mailing list |