Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Peter Volkov (pva)" <pva@g.o>
Subject: gentoo-x86 commit in www-apps/gallery: ChangeLog gallery-2.3-r1.ebuild
Date: Tue, 27 Jan 2009 12:01:41 +0000
pva         09/01/27 12:01:41

  Modified:             ChangeLog
  Added:                gallery-2.3-r1.ebuild
  Log:
  Added sqlite support, bug #247271, thank Marcin Deranek for report. Sqlite support is a bit experimental, so I'd like it to be ~arch for some time.
  (Portage version: 2.1.6.7/cvs/Linux x86_64)

Revision  Changes    Path
1.174                www-apps/gallery/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.174&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?rev=1.174&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/ChangeLog?r1=1.173&r2=1.174

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -r1.173 -r1.174
--- ChangeLog	28 Dec 2008 21:04:58 -0000	1.173
+++ ChangeLog	27 Jan 2009 12:01:41 -0000	1.174
@@ -1,6 +1,12 @@
 # ChangeLog for www-apps/gallery
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.173 2008/12/28 21:04:58 wrobel Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/ChangeLog,v 1.174 2009/01/27 12:01:41 pva Exp $
+
+*gallery-2.3-r1 (27 Jan 2009)
+
+  27 Jan 2009; Peter Volkov <pva@g.o> +gallery-2.3-r1.ebuild:
+  Added sqlite support, bug #247271, thank Marcin Deranek for report. Sqlite
+  support is a bit experimental, so I'd like it to be ~arch for some time.
 
   28 Dec 2008; Gunnar Wrobel <wrobel@g.o> -gallery-1.5.9.ebuild:
   Removed vulnerable www-apps/gallery-1.5.9 (sec issue #249277).



1.1                  www-apps/gallery/gallery-2.3-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/gallery-2.3-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/gallery/gallery-2.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: gallery-2.3-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/gallery/gallery-2.3-r1.ebuild,v 1.1 2009/01/27 12:01:41 pva Exp $

inherit webapp eutils depend.php confutils

DESCRIPTION="Web based (PHP Script) photo album viewer/creator"
HOMEPAGE="http://gallery.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="ffmpeg gd imagemagick mysql netpbm postgres raw sqlite unzip zip"

RDEPEND="raw? ( >=media-gfx/dcraw-8.03 )
	ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20051216 )
	imagemagick? ( >media-gfx/imagemagick-6.2.4 )
	netpbm? ( >=media-libs/netpbm-9.12 >=media-gfx/jhead-2.2 )
	unzip? ( app-arch/unzip )
	zip? ( app-arch/zip )"

S=${WORKDIR}/${PN}2

need_httpd_cgi
need_php_httpd

pkg_setup() {
	webapp_pkg_setup
	confutils_require_any gd imagemagick netpbm
	confutils_require_any mysql postgres sqlite

	local php_flags="pcre session"
	use mysql && php_flags="${php_flags} mysql"
	use postgres && php_flags="${php_flags} postgres"
	use sqlite && php_flags="${php_flags} pdo"

	if ! PHPCHECKNODIE="yes" require_php_with_use ${php_flags} || \
			( use gd && ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ) ; then
		eerror
		eerror "${PHP_PKG} needs to be re-installed with all of the following USE flags enabled:"
		eerror
		eerror "${php_flags}"
		eerror
		use gd && eerror "as well as with either gd or gd-external USE flag enabled."
		die "Re-install ${PHP_PKG}."
	fi
}

src_install() {
	webapp_src_preinst

	dohtml README.html
	rm README.html LICENSE
	sed -i -e "/^LICENSE\>/d" -e "/^README\.html\>/d" MANIFEST

	insinto "${MY_HTDOCSDIR}"
	doins -r .

	webapp_postinst_txt en "${FILESDIR}/postinstall-en2.txt"
	webapp_src_install
}

pkg_postinst() {
	elog "You are strongly encouraged to back up your database"
	elog "and the g2data directory, as upgrading to 2.2 will make"
	elog "irreversible changes to both."
	elog
	elog "g2data dir: cp -Rf /path/to/g2data/ /path/to/backup"
	elog "mysql: mysqldump --opt -u username -h hostname -p database > /path/to/backup.sql"
	elog "postgres: pg_dump -h hostname --format=t database > /path/to/backup.sql"
	webapp_pkg_postinst
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in sys-fs/udev: ChangeLog udev-137.ebuild udev-9999.ebuild
Next by thread:
gentoo-x86 commit in net-firewall/pftop: pftop-0.7.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in app-admin/keepassx: ChangeLog keepassx-0.3.4.ebuild
Next by date:
gentoo-x86 commit in net-firewall/pftop: pftop-0.7.ebuild ChangeLog


Updated Jun 16, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.