summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-08-16 12:28:34 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-08-16 12:28:34 +0000
commitf5487f3ebfa0d9224e70308900a805ce5bc71862 (patch)
tree86c8755f5fd01d4dd7db89c0dfe46eb10129c2db
parentAdded live ebuild for media-video/griffith to p.mask. (diff)
downloadhistorical-f5487f3ebfa0d9224e70308900a805ce5bc71862.tar.gz
historical-f5487f3ebfa0d9224e70308900a805ce5bc71862.tar.bz2
historical-f5487f3ebfa0d9224e70308900a805ce5bc71862.zip
Version bump. Added live ebuild for testing (no bundled sqlalchemy anymore).
Package-Manager: portage-2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64
-rw-r--r--media-video/griffith/ChangeLog11
-rw-r--r--media-video/griffith/Manifest6
-rw-r--r--media-video/griffith/files/0.9.7.1-fix_spellcheck.patch36
-rw-r--r--media-video/griffith/griffith-0.9.7.1.ebuild70
-rw-r--r--media-video/griffith/griffith-9999.ebuild79
5 files changed, 200 insertions, 2 deletions
diff --git a/media-video/griffith/ChangeLog b/media-video/griffith/ChangeLog
index 8d3aafecba40..279f63319947 100644
--- a/media-video/griffith/ChangeLog
+++ b/media-video/griffith/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-video/griffith
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.26 2008/07/17 19:07:41 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.27 2008/08/16 12:28:33 dev-zero Exp $
+
+*griffith-9999 (16 Aug 2008)
+*griffith-0.9.7.1 (16 Aug 2008)
+
+ 16 Aug 2008; Tiziano Müller <dev-zero@gentoo.org>
+ +files/0.9.7.1-fix_spellcheck.patch, +griffith-0.9.7.1.ebuild,
+ +griffith-9999.ebuild:
+ Version bump. Added live ebuild for testing (no bundled sqlalchemy
+ anymore).
17 Jul 2008; Alexis Ballier <aballier@gentoo.org>
griffith-0.9.6-r1.ebuild:
diff --git a/media-video/griffith/Manifest b/media-video/griffith/Manifest
index 321fbb93e9dc..e402d123e70d 100644
--- a/media-video/griffith/Manifest
+++ b/media-video/griffith/Manifest
@@ -1,8 +1,12 @@
AUX 0.9.6-moving_share_dir.patch 636 RMD160 bdd8e3da8b7b1673627af5f1f5e149f282d381e6 SHA1 1f85c237d279584492266887c9d1519b4ccd197e SHA256 bad2d45cf80db09026d8ce816f3c1e5760279d8670d28ae8a82a44abc56f6e6f
+AUX 0.9.7.1-fix_spellcheck.patch 1426 RMD160 a2636fc78ba0076d5e477be995eb25bad8293032 SHA1 4227d3d4f26f10c4633fcfecda19487ed0cee722 SHA256 76e81bff9c3003906b4fe987d918210fccb7d9dba94e93d77ee638f17918c190
DIST griffith-0.9.5.tar.gz 886950 RMD160 9a8c5d9b728997bd4d8ccefca95f769314d09b54 SHA1 8621fd96b82fd6a842192c71dbf123d33afc62c4 SHA256 3cf4a199ed945137fec08902a4e7e1415b787ce9a5fff163210ee4385fdedaed
DIST griffith-0.9.6.tar.gz 1282207 RMD160 31f4a2bc124d0b37f51f35d79d17a7cb5fd5897e SHA1 4bd2575373cd176f32a9f9e4a433ccb770307c6a SHA256 999441bcac77da30ab8e55e2de17f86cdea09a92645190759d35d55cf1b0e4ca
+DIST griffith-0.9.7.1.tar.gz 1367075 RMD160 925e6f6ebc8eb7489df935e73517c0e2120915a0 SHA1 4b021a9c5645794a28d2f87b20fabd8c3354fe01 SHA256 83c6914c60ba8c57ce2f885a32b6ca08841622ea42b91db657427c3e21ddc8d4
DIST griffith-extra-artwork-0.9.4.tar.gz 124008 RMD160 926081627d650803d4a16b140a23de4e9798321e SHA1 c518bcca5f279fc3e5f0263c29296b9ba431b54f SHA256 96bc01a05ad54aad9fabcf411809c46c78b990fc7656ea004cebdfd8ea9894fd
EBUILD griffith-0.9.5.ebuild 1601 RMD160 d25531c3ca90821493ef498ab3d089dca57399a3 SHA1 7f4b848d6bf3ed50fa71f4e8d473e8f856fde1aa SHA256 7800c38774a60d9b916e4b46a8821fc34d58c2b3f4e2e67bedea190efab1d7de
EBUILD griffith-0.9.6-r1.ebuild 1799 RMD160 ba63562ce86a0db7dff9abbef46609123b3e82f3 SHA1 546c8765de278e6664c830e8dcd363b6b4524e18 SHA256 a84a8ff22a455561961852d0c57bc310d3bfaf4c6503bddad2710c269fbaaf13
-MISC ChangeLog 3774 RMD160 8176bfbb9092c4da7a1a0940891d0e0c60703a9a SHA1 75c81fae420527c6d9cb11f4a76b3caea6a442dd SHA256 0e86305a3c7650a67b4bc2868aba1bd0531468eb2c9cd0b1b3988acb578df4f3
+EBUILD griffith-0.9.7.1.ebuild 1729 RMD160 24921e1bf097208d0a6f3afd2a6475a0e1549282 SHA1 c2343d54a378d5dfb78b2ccc71b3b004351de948 SHA256 32468068ca06306b6ea5ce682d073300b0a2c873c8101c5cee22f452f99eb34b
+EBUILD griffith-9999.ebuild 2103 RMD160 0dd15b3660103cefad42b311611ad16586693f2e SHA1 3ff7a3f1daf5fb9b2b4191503a48f8d478901648 SHA256 e0ece3d98d880bdc7e67ecd18b592b971c1465f25003feae2108de2de6a8054e
+MISC ChangeLog 4061 RMD160 4b0979ee5f59a6b1769a952da7d053b6f4500dde SHA1 2d9fce504f3f294a7142f32e7918be2490dc8246 SHA256 2445703e2233b3e6faaa650b8e8005d4dfda57618890a721f97c2330da2969cc
MISC metadata.xml 364 RMD160 5f3501ac6fd882b67b53291f7e2631d3968077ed SHA1 73295373032c01e327c1fa7339c1f49d93ad3a3d SHA256 86f68202215272aff6de504a2e4379e1ab501a87f8f8104c758ee24c203a50cd
diff --git a/media-video/griffith/files/0.9.7.1-fix_spellcheck.patch b/media-video/griffith/files/0.9.7.1-fix_spellcheck.patch
new file mode 100644
index 000000000000..466a693a8468
--- /dev/null
+++ b/media-video/griffith/files/0.9.7.1-fix_spellcheck.patch
@@ -0,0 +1,36 @@
+diff -Naur griffith-0.9.7.1.orig/griffith griffith-0.9.7.1/griffith
+--- griffith-0.9.7.1.orig/griffith 2008-08-16 13:23:13.000000000 +0200
++++ griffith-0.9.7.1/griffith 2008-08-16 13:26:25.000000000 +0200
+@@ -135,7 +135,7 @@
+ self.completion_t.set_model(self.treemodel)
+ self.completion_t.set_text_column(4)
+
+- initialize.gtkspell(self)
++ initialize.spellcheck(self)
+
+ # add default folders to some select widgets
+ if self.windows:
+diff -Naur griffith-0.9.7.1.orig/lib/initialize.py griffith-0.9.7.1/lib/initialize.py
+--- griffith-0.9.7.1.orig/lib/initialize.py 2008-08-16 13:23:13.000000000 +0200
++++ griffith-0.9.7.1/lib/initialize.py 2008-08-16 13:25:53.000000000 +0200
+@@ -664,7 +664,7 @@
+ self.column2.set_sort_column_id(1)
+ self.widgets['results']['treeview'].append_column(self.column2)
+
+-def gtkspell(self):
++def spellcheck(self):
+ global spell_support
+ spell_error = False
+ if self.posix and spell_support:
+diff -Naur griffith-0.9.7.1.orig/lib/preferences.py griffith-0.9.7.1/lib/preferences.py
+--- griffith-0.9.7.1.orig/lib/preferences.py 2008-08-16 13:23:13.000000000 +0200
++++ griffith-0.9.7.1/lib/preferences.py 2008-08-16 13:26:10.000000000 +0200
+@@ -376,7 +376,7 @@
+ self.notes_spell.detach()
+ self.plot_spell.detach()
+ elif c.get('gtkspell', False, section='spell') == True and was_false:
+- initialize.initialize_gtkspell(self)
++ initialize.spellcheck(self)
+ else:
+ pass
+
diff --git a/media-video/griffith/griffith-0.9.7.1.ebuild b/media-video/griffith/griffith-0.9.7.1.ebuild
new file mode 100644
index 000000000000..4dd6eb9a33e2
--- /dev/null
+++ b/media-video/griffith/griffith-0.9.7.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/griffith-0.9.7.1.ebuild,v 1.1 2008/08/16 12:28:33 dev-zero Exp $
+
+EAPI="1"
+
+inherit eutils python multilib
+
+ARTWORK_PV="0.9.4"
+
+DESCRIPTION="Movie collection manager"
+HOMEPAGE="http://griffith.berlios.de/"
+SRC_URI="mirror://berlios/griffith/${P/_/-}.tar.gz
+ mirror://berlios/griffith/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="csv doc spell"
+
+RDEPEND="dev-python/imaging
+ dev-python/pyxml
+ >=dev-python/pygtk-2.6.1
+ dev-python/pysqlite:2
+ >=dev-python/reportlab-1.19
+ csv? ( dev-python/chardet )
+ spell? ( >=dev-python/gnome-python-extras-2.0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook2X )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's#/pl/#/pl.UTF-8/#' \
+ docs/pl/Makefile || die "sed failed"
+
+ sed -i \
+ -e 's/ISO-8859-1/UTF-8/' \
+ lib/gconsole.py || die "sed failed"
+
+ epatch \
+ "${FILESDIR}/0.9.6-moving_share_dir.patch" \
+ "${FILESDIR}/${PV}-fix_spellcheck.patch"
+}
+
+src_compile() {
+ # Nothing to compile and default `emake` spews an error message
+ true
+}
+
+src_install() {
+ use doc || sed -i -e '/docs/d' Makefile
+
+ python_version
+ emake \
+ LIBDIR="${D}/usr/$(get_libdir)/griffith" \
+ DESTDIR="${D}" DOC2MAN=docbook2man.pl install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS
+
+ cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/"
+ emake DESTDIR="${D}" install || die "emake install artwork failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}
diff --git a/media-video/griffith/griffith-9999.ebuild b/media-video/griffith/griffith-9999.ebuild
new file mode 100644
index 000000000000..b663f4e2c4da
--- /dev/null
+++ b/media-video/griffith/griffith-9999.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/griffith-9999.ebuild,v 1.1 2008/08/16 12:28:33 dev-zero Exp $
+
+EAPI="1"
+ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/griffith/trunk"
+
+inherit eutils python multilib subversion
+
+ARTWORK_PV="0.9.4"
+
+DESCRIPTION="Movie collection manager"
+HOMEPAGE="http://griffith.berlios.de/"
+SRC_URI="mirror://berlios/griffith/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="csv doc spell"
+
+RDEPEND="dev-python/imaging
+ dev-python/pyxml
+ >=dev-python/pygtk-2.6.1
+ dev-python/pysqlite:2
+ >=dev-python/reportlab-1.19
+ >=dev-python/sqlalchemy-0.4.6
+ csv? ( dev-python/chardet )
+ spell? ( >=dev-python/gnome-python-extras-2.0 )"
+DEPEND="${RDEPEND}
+ doc? ( app-text/docbook2X )"
+
+pkg_setup() {
+ ewarn "This version is _not_ compatible with databases created with previous versions"
+ ewarn "of griffith and the database upgrade is currently (16 Aug 2008) broken."
+ ewarn "Please move your ~/.griffith away before starting."
+}
+
+src_unpack() {
+ unpack ${A}
+ subversion_src_unpack
+
+ cd "${S}"
+ sed -i \
+ -e 's#/pl/#/pl.UTF-8/#' \
+ docs/pl/Makefile || die "sed failed"
+
+ sed -i \
+ -e 's/ISO-8859-1/UTF-8/' \
+ lib/gconsole.py || die "sed failed"
+
+ sed -i \
+ -e "s|locations\['lib'\], '..')|locations\['lib'\], '..', '..', 'share', 'griffith')|" \
+ lib/initialize.py || die "sed failed"
+}
+
+src_compile() {
+ # Nothing to compile and default `emake` spews an error message
+ true
+}
+
+src_install() {
+ use doc || sed -i -e '/docs/d' Makefile
+
+ python_version
+ emake \
+ LIBDIR="${D}/usr/$(get_libdir)/griffith" \
+ DESTDIR="${D}" DOC2MAN=docbook2man.pl install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS
+
+ cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/"
+ emake DESTDIR="${D}" install || die "emake install artwork failed"
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
+}