Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/gallery: gallery-2.3-r2.ebuild ChangeLog
Date: Sat, 03 Jul 2010 13:57:03
Message-Id: 20100703135658.8740F2CE15@corvid.gentoo.org
1 mabi 10/07/03 13:56:58
2
3 Modified: ChangeLog
4 Added: gallery-2.3-r2.ebuild
5 Log:
6 eapi bump for php-5.3 (bug #298205)
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.175 www-apps/gallery/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.175&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.175&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/ChangeLog?r1=1.174&r2=1.175
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v
19 retrieving revision 1.174
20 retrieving revision 1.175
21 diff -u -r1.174 -r1.175
22 --- ChangeLog 27 Jan 2009 12:01:41 -0000 1.174
23 +++ ChangeLog 3 Jul 2010 13:56:58 -0000 1.175
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apps/gallery
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.174 2009/01/27 12:01:41 pva Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.175 2010/07/03 13:56:58 mabi Exp $
30 +
31 +*gallery-2.3-r2 (03 Jul 2010)
32 +
33 + 03 Jul 2010; Matti Bickel <mabi@g.o> +gallery-2.3-r2.ebuild:
34 + eapi bump for php-5.3 (bug #298205)
35
36 *gallery-2.3-r1 (27 Jan 2009)
37
38
39
40
41 1.1 www-apps/gallery/gallery-2.3-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/gallery-2.3-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/gallery/gallery-2.3-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gallery-2.3-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-2.3-r2.ebuild,v 1.1 2010/07/03 13:56:58 mabi Exp $
51
52 EAPI="2"
53
54 inherit webapp eutils depend.php confutils
55
56 DESCRIPTION="Web based (PHP Script) photo album viewer/creator"
57 HOMEPAGE="http://gallery.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz"
59
60 LICENSE="GPL-2"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="ffmpeg gd imagemagick mysql netpbm postgres raw sqlite unzip zip"
63
64 RDEPEND="raw? ( >=media-gfx/dcraw-8.03 )
65 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20051216 )
66 imagemagick? ( >media-gfx/imagemagick-6.2.4 )
67 netpbm? ( >=media-libs/netpbm-9.12 >=media-gfx/jhead-2.2 )
68 unzip? ( app-arch/unzip )
69 zip? ( app-arch/zip )
70 sqlite? ( dev-lang/php[pdo] )
71 gd? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) )
72 dev-lang/php[mysql=,session,postgres=]
73 || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
74
75 S=${WORKDIR}/${PN}2
76
77 need_httpd_cgi
78 need_php_httpd
79
80 pkg_setup() {
81 webapp_pkg_setup
82 confutils_require_any gd imagemagick netpbm
83 confutils_require_any mysql postgres sqlite
84 }
85
86 src_install() {
87 webapp_src_preinst
88
89 dohtml README.html
90 rm README.html LICENSE
91 sed -i -e "/^LICENSE\>/d" -e "/^README\.html\>/d" MANIFEST
92
93 insinto "${MY_HTDOCSDIR}"
94 doins -r .
95
96 webapp_postinst_txt en "${FILESDIR}/postinstall-en2.txt"
97 webapp_src_install
98 }
99
100 pkg_postinst() {
101 elog "You are strongly encouraged to back up your database"
102 elog "and the g2data directory, as upgrading to 2.2 will make"
103 elog "irreversible changes to both."
104 elog
105 elog "g2data dir: cp -Rf /path/to/g2data/ /path/to/backup"
106 elog "mysql: mysqldump --opt -u username -h hostname -p database > /path/to/backup.sql"
107 elog "postgres: pg_dump -h hostname --format=t database > /path/to/backup.sql"
108 webapp_pkg_postinst
109 }