summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Krotkine <dams@gentoo.org>2008-07-06 12:48:38 +0000
committerDamien Krotkine <dams@gentoo.org>2008-07-06 12:48:38 +0000
commit6c3e5735c6ec9f4f7a6760874f21fd39896153f1 (patch)
tree5d4130099da86bbb62ffe7da0e05a2f79ee66fd8 /app-misc
parentwebkit-gtk bump (diff)
downloadhistorical-6c3e5735c6ec9f4f7a6760874f21fd39896153f1.tar.gz
historical-6c3e5735c6ec9f4f7a6760874f21fd39896153f1.tar.bz2
historical-6c3e5735c6ec9f4f7a6760874f21fd39896153f1.zip
- new version 0.9.1
- added reubygems patch Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/booh/ChangeLog11
-rw-r--r--app-misc/booh/booh-0.9.1.ebuild62
-rw-r--r--app-misc/booh/files/booh-0.9.1-require_gems.patch70
3 files changed, 141 insertions, 2 deletions
diff --git a/app-misc/booh/ChangeLog b/app-misc/booh/ChangeLog
index c945092e83b1..dcabe9aafac6 100644
--- a/app-misc/booh/ChangeLog
+++ b/app-misc/booh/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/booh
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.17 2007/02/21 22:21:13 peper Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/ChangeLog,v 1.18 2008/07/06 12:48:37 dams Exp $
+
+*booh-0.9.1 (06 Jul 2008)
+
+ 06 Jul 2008; <dams@gentoo.org> +files/booh-0.9.1-require_gems.patch,
+ +booh-0.9.1.ebuild:
+ - new version 0.9.1
+ - added rubygems patch
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/app-misc/booh/booh-0.9.1.ebuild b/app-misc/booh/booh-0.9.1.ebuild
new file mode 100644
index 000000000000..6e44726fbca7
--- /dev/null
+++ b/app-misc/booh/booh-0.9.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/booh-0.9.1.ebuild,v 1.1 2008/07/06 12:48:37 dams Exp $
+
+inherit eutils bash-completion
+
+DESCRIPTION="Static HTML photo album generator"
+HOMEPAGE="http://booh.org/index.html"
+SRC_URI="http://booh.org/packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk encode exif"
+
+DEPEND="dev-lang/ruby
+ >=dev-ruby/ruby-gettext-0.8.0
+ media-gfx/exiv2
+ gtk? ( >=dev-ruby/ruby-gtk2-0.12
+ >=x11-libs/gtk+-2.8 )"
+
+RDEPEND="${DEPEND}
+ dev-ruby/rubygems
+ media-gfx/imagemagick
+ exif? ( media-gfx/exif )
+ encode? ( media-video/mplayer )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-require_gems.patch
+}
+
+src_compile() {
+ # Remove scripts requiring gtk if gtk is not used
+ if ! use gtk; then
+ rm bin/booh bin/booh-classifier bin/booh-fix-whitebalance \
+ bin/booh-gamma-correction
+ fi
+ ruby setup.rb config || die "ruby setup.rb config failed"
+ ruby setup.rb setup || die "ruby setup.rb setup failed"
+ cd ext
+ ruby extconf.rb || die "ruby extconf.rb failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ ruby setup.rb install \
+ --prefix="${D}" || die "ruby setup.rb install failed"
+ cd ext
+ emake install \
+ DESTDIR=${D} \
+ libdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']"` \
+ archdir=${D}/`ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']"` \
+ || die "emake install failed"
+ cd ..
+ domenu desktop/booh-classifier.desktop desktop/booh.desktop || die "domenu failed"
+ doicon desktop/booh-48x48.png || die "doicon failed"
+ dobashcompletion booh.bash-completion || die "dobashcompletion failed"
+ dodoc AUTHORS ChangeLog INTERNALS README VERSION THEMES \
+ || die "dodoc failed"
+}
diff --git a/app-misc/booh/files/booh-0.9.1-require_gems.patch b/app-misc/booh/files/booh-0.9.1-require_gems.patch
new file mode 100644
index 000000000000..304d9c4a4df3
--- /dev/null
+++ b/app-misc/booh/files/booh-0.9.1-require_gems.patch
@@ -0,0 +1,70 @@
+--- bin/album2booh.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/album2booh 2008-07-06 13:30:21.000000000 +0100
+@@ -33,6 +33,7 @@
+ # $ recode ISO-8859-1..UTF-8 captions.txt
+ #
+
++require 'rubygems'
+ require 'getoptlong'
+ require 'gettext'
+ include GetText
+--- bin/booh.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/booh 2008-07-06 13:30:40.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'getoptlong'
+ require 'tempfile'
+ require 'thread'
+--- bin/booh-backend.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/booh-backend 2008-07-06 13:30:51.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'getoptlong'
+ require 'gettext'
+ require 'gettext/locale'
+--- bin/booh-classifier.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/booh-classifier 2008-07-06 13:31:02.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'getoptlong'
+ require 'tempfile'
+
+--- bin/booh-fix-whitebalance.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/booh-fix-whitebalance 2008-07-06 13:31:13.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'gtk2'
+ require 'booh/libadds'
+
+--- bin/booh-gamma-correction.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/booh-gamma-correction 2008-07-06 13:31:24.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'gtk2'
+ require 'booh/libadds'
+
+--- bin/webalbum2booh.old 2008-07-06 13:28:37.000000000 +0100
++++ bin/webalbum2booh 2008-07-06 13:34:13.000000000 +0100
+@@ -19,6 +19,7 @@
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
++require 'rubygems'
+ require 'getoptlong'
+ require 'gettext'
+ include GetText