summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2008-04-23 18:20:26 +0000
committerHans de Graaff <graaff@gentoo.org>2008-04-23 18:20:26 +0000
commit4286daf6f8bc4b0057d6350b7d9ead36ad23ffdd (patch)
treebf76fa93c5ac577e03da86f95735896801ed6ef2 /app-misc
parentbump to newer upstream revision (diff)
downloadgentoo-2-4286daf6f8bc4b0057d6350b7d9ead36ad23ffdd.tar.gz
gentoo-2-4286daf6f8bc4b0057d6350b7d9ead36ad23ffdd.tar.bz2
gentoo-2-4286daf6f8bc4b0057d6350b7d9ead36ad23ffdd.zip
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/alexandria/ChangeLog10
-rw-r--r--app-misc/alexandria/alexandria-0.6.3.ebuild74
-rw-r--r--app-misc/alexandria/files/alexandria-0.6.3-no_amazon_3.0.diff19
3 files changed, 102 insertions, 1 deletions
diff --git a/app-misc/alexandria/ChangeLog b/app-misc/alexandria/ChangeLog
index 0f54189e8921..05b7700b6ffc 100644
--- a/app-misc/alexandria/ChangeLog
+++ b/app-misc/alexandria/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-misc/alexandria
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.22 2008/03/09 10:25:25 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.23 2008/04/23 18:20:26 graaff Exp $
+
+*alexandria-0.6.3 (23 Apr 2008)
+
+ 23 Apr 2008; Hans de Graaff <graaff@gentoo.org>
+ +files/alexandria-0.6.3-no_amazon_3.0.diff, +alexandria-0.6.3.ebuild:
+ Version bump with some additional dependencies and information on further
+ dependencies for specific book providers. Thanks to John Keeping for doing all
+ the actual work in #215337.
09 Mar 2008; Hans de Graaff <graaff@gentoo.org> -alexandria-0.6.0.ebuild:
Remove old version
diff --git a/app-misc/alexandria/alexandria-0.6.3.ebuild b/app-misc/alexandria/alexandria-0.6.3.ebuild
new file mode 100644
index 000000000000..959e5dc08b32
--- /dev/null
+++ b/app-misc/alexandria/alexandria-0.6.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.3.ebuild,v 1.1 2008/04/23 18:20:26 graaff Exp $
+
+inherit gnome2 ruby
+
+IUSE="evo"
+
+DESCRIPTION="A GNOME application to help you manage your book collection"
+HOMEPAGE="http://alexandria.rubyforge.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS="COPYING ChangeLog README TODO"
+
+RDEPEND=">=dev-lang/ruby-1.8.0
+ >=dev-ruby/ruby-gettext-0.6.1
+ >=dev-ruby/ruby-gnome2-0.16.0
+ >=dev-ruby/ruby-libglade2-0.12.0
+ >=dev-ruby/ruby-gconf2-0.12.0
+ >=dev-ruby/imagesize-0.1.1
+ evo? ( >=dev-ruby/revolution-0.5 )"
+
+DEPEND=">=dev-lang/ruby-1.8.0
+ app-text/scrollkeeper
+ dev-ruby/rake"
+
+PATCHES="${FILESDIR}/${PN}-rakefile.patch
+ ${FILESDIR}/${P}-no_amazon_3.0.diff"
+
+src_compile() {
+ rake || die
+}
+
+src_install() {
+ export PREFIX="${D}/usr"
+ rake install || die
+
+ [ -n "${DOCS}" ] && dodoc ${DOCS}
+
+ # Move the installed docs to the gentoo standard directory
+ for doc in "${D}/usr/share/doc/alexandria/*"
+ do
+ dodoc $doc
+ done
+ rm -rf "${D}/usr/share/doc/alexandria"
+}
+
+pkg_postinst() {
+ unset PREFIX
+
+ gnome2_gconf_install
+
+ # For the next line see bug #76726
+ "${ROOT}/usr/bin/gconftool-2" --shutdown
+
+ echo
+ elog "To enable some book providers you will need to emerge"
+ elog "additional packages:"
+ echo
+ elog " For the Deastore book provider:"
+ elog " dev-ruby/mechanize"
+ echo
+ elog " For Z39.50 support and the Library of Congress and"
+ elog " British Library book proviers:"
+ elog " dev-ruby/ruby-zoom"
+ echo
+ elog " For the Amazon book provider:"
+ elog " dev-ruby/hpricot"
+ echo
+}
diff --git a/app-misc/alexandria/files/alexandria-0.6.3-no_amazon_3.0.diff b/app-misc/alexandria/files/alexandria-0.6.3-no_amazon_3.0.diff
new file mode 100644
index 000000000000..09069bebcaf3
--- /dev/null
+++ b/app-misc/alexandria/files/alexandria-0.6.3-no_amazon_3.0.diff
@@ -0,0 +1,19 @@
+--- ./lib/alexandria/book_providers.rb 2008-02-21 01:11:37.000000000 +0000
++++ ./lib/alexandria/book_providers.rb 2008-04-09 19:25:58.000000000 +0100
+@@ -244,11 +244,11 @@
+ require 'alexandria/book_providers/webster_it'
+ require 'alexandria/book_providers/worldcat'
+
+- begin
+- require 'alexandria/book_providers/amazon'
+- rescue LoadError
+- log.info { "Can't load Ruby/Amazon, hence provider Amazon not available" }
+- end
++# begin
++# require 'alexandria/book_providers/amazon'
++# rescue LoadError
++# log.info { "Can't load Ruby/Amazon, hence provider Amazon not available" }
++# end
+
+ # mechanize is optional
+ begin