diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2011-12-26 10:56:58 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2011-12-26 10:56:58 +0000 |
commit | cee6ec478dce840352c38ea9d3b39174bf1206ea (patch) | |
tree | 8922f8ed1a62b148960f7b1835922906bd9e67ed /app-misc/alexandria | |
parent | clean up (diff) | |
download | gentoo-2-cee6ec478dce840352c38ea9d3b39174bf1206ea.tar.gz gentoo-2-cee6ec478dce840352c38ea9d3b39174bf1206ea.tar.bz2 gentoo-2-cee6ec478dce840352c38ea9d3b39174bf1206ea.zip |
version bump for newer Ruby GTK versions, patch and information provided by Tomoh K. in bug 395117.
(Portage version: 2.1.10.41/cvs/Linux i686)
Diffstat (limited to 'app-misc/alexandria')
-rw-r--r-- | app-misc/alexandria/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/alexandria/alexandria-0.6.8.ebuild | 73 | ||||
-rw-r--r-- | app-misc/alexandria/files/alexandria-0.6.8-set_status_label.patch | 11 |
3 files changed, 92 insertions, 1 deletions
diff --git a/app-misc/alexandria/ChangeLog b/app-misc/alexandria/ChangeLog index 628cd268c3b7..6359361aa15d 100644 --- a/app-misc/alexandria/ChangeLog +++ b/app-misc/alexandria/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/alexandria # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.46 2011/12/13 19:26:15 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/ChangeLog,v 1.47 2011/12/26 10:56:58 fauli Exp $ + +*alexandria-0.6.8 (26 Dec 2011) + + 26 Dec 2011; Christian Faulhammer <fauli@gentoo.org> + +alexandria-0.6.8.ebuild, +files/alexandria-0.6.8-set_status_label.patch: + version bump for newer Ruby GTK versions, patch and information provided + by Tomoh K. in bug 395117. *alexandria-0.6.7 (13 Dec 2011) diff --git a/app-misc/alexandria/alexandria-0.6.8.ebuild b/app-misc/alexandria/alexandria-0.6.8.ebuild new file mode 100644 index 000000000000..99898e31ace1 --- /dev/null +++ b/app-misc/alexandria/alexandria-0.6.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.8.ebuild,v 1.1 2011/12/26 10:56:58 fauli Exp $ + +EAPI=4 +USE_RUBY="ruby18" + +inherit gnome2 ruby-ng + +DESCRIPTION="A GNOME application to help you manage your book collection" +HOMEPAGE="http://alexandria.rubyforge.org/" +SRC_URI="mirror://rubyforge/${PN}/${PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="evo" + +DOCS="ChangeLog README TODO doc/BUGS doc/cuecat_support.rdoc doc/FAQ doc/HACKING doc/NEWS" + +ruby_add_rdepend " + >=dev-ruby/ruby-gettext-0.6.1 + >=dev-ruby/ruby-gtk2-0.90 + >=dev-ruby/ruby-goocanvas-0.90 + >=dev-ruby/ruby-gstreamer-0.90 + >=dev-ruby/ruby-pango-0.90 + >=dev-ruby/imagesize-0.1.1 + dev-ruby/hpricot + evo? ( >=dev-ruby/revolution-0.5 )" + +ruby_add_bdepend "dev-ruby/rake" + +DEPEND="${DEPEND} + gnome-base/gconf:2 + app-text/scrollkeeper" + +RUBY_PATCHES=( + "${FILESDIR}/${P}-set_status_label.patch" + "${FILESDIR}/${PN}-0.6.6-Rakefile.patch" +) + +each_ruby_compile() { + ${RUBY} -S rake || die +} + +each_ruby_install() { + export DESTDIR="${D}" PREFIX=/usr RUBYLIBDIR="$(ruby_rbconfig_value 'sitelibdir')" + ${RUBY} -S rake install_package_staging || die +} + +all_ruby_install() { + [ -n "${DOCS}" ] && dodoc ${DOCS} || die "Failed to install documentation" +} + +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/htmlentities" + echo + elog " For Z39.50 support and the Library of Congress and" + elog " British Library book proviers:" + elog " dev-ruby/ruby-zoom" +} diff --git a/app-misc/alexandria/files/alexandria-0.6.8-set_status_label.patch b/app-misc/alexandria/files/alexandria-0.6.8-set_status_label.patch new file mode 100644 index 000000000000..55fbade8827e --- /dev/null +++ b/app-misc/alexandria/files/alexandria-0.6.8-set_status_label.patch @@ -0,0 +1,11 @@ +--- lib/alexandria/ui/dialogs/new_book_dialog.rb.orig ++++ lib/alexandria/ui/dialogs/new_book_dialog.rb +@@ -574,7 +574,7 @@ + log.debug { "update message : #{message}" } + + # @parent.appbar.status = message +- MainApp.instance.appbar.status = message # HACKish ++ MainApp.instance.ui_manager.set_status_label( message ) + #false + end + end |