summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sanda <ps@twin.jikos.cz>2016-06-08 12:02:21 -0700
committerPavel Sanda <ps@twin.jikos.cz>2016-06-08 12:02:21 -0700
commit935c11db12a070968ef7f28c7f17f0dc1d6c6e83 (patch)
treeebec5dce4ce696bf15205b8de81f0ffef71f7181
parentrush shell moved and fixed from sunrise (diff)
downloadrebutia-935c11db12a070968ef7f28c7f17f0dc1d6c6e83.tar.gz
rebutia-935c11db12a070968ef7f28c7f17f0dc1d6c6e83.tar.bz2
rebutia-935c11db12a070968ef7f28c7f17f0dc1d6c6e83.zip
move bbgallery from sunrise
-rw-r--r--app-misc/bbgallery/ChangeLog17
-rw-r--r--app-misc/bbgallery/Manifest5
-rw-r--r--app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild48
-rw-r--r--app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch48
-rw-r--r--app-misc/bbgallery/metadata.xml5
5 files changed, 123 insertions, 0 deletions
diff --git a/app-misc/bbgallery/ChangeLog b/app-misc/bbgallery/ChangeLog
new file mode 100644
index 0000000..fdc57b9
--- /dev/null
+++ b/app-misc/bbgallery/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-misc/bbgallery
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Mar 2009; Christian Ruppert (idl0r) <spooky85@gmail.com>
+ bbgallery-1.2.0-r2.ebuild, +files/bbgallery-1.2.0-path-fix.patch,
+ -files/bbgallery-1.2.0.patch:
+ fixed SRC_URI, renamed patch, made variable INSPATH local, added missing die
+ statements, added doc useflag
+
+ 21 Jul 2007; David Shakaryan <omp@gentoo.org> bbgallery-1.2.0-r2.ebuild:
+ Fix whitespace.
+
+ 04 Feb 2007; Pavel Sanda (ps) <ps at twin.jikos.cz>
+ +bbgallery-1.2.0-r2.ebuild, +files/bbgallery-1.2.0.patch, +metadata.xml:
+ New Ebuild for bug 158671
+
diff --git a/app-misc/bbgallery/Manifest b/app-misc/bbgallery/Manifest
new file mode 100644
index 0000000..a1f86aa
--- /dev/null
+++ b/app-misc/bbgallery/Manifest
@@ -0,0 +1,5 @@
+AUX bbgallery-1.2.0-path-fix.patch 2593 RMD160 39195481c8d83a8c779fc7b2e7c6cc99bba663ad SHA1 fde9600510ca895f198754dd50726c73c8ca0ad6 SHA256 83e7de9fe1ac30030e622ba3005cad4988b43155639325eec925256b6797d13e
+DIST bbgallery-1.2.0.tar.bz2 33157 RMD160 b4a10092c817cd53ca6ee7eb760e39ec937d3747 SHA1 c571dbd66da1e29331ba61bfb14ca6056ece7d7f SHA256 89d4398fd44e679c2f201ae483f85eaf2cc9acb6e681dc12c25171f8783f91ee
+EBUILD bbgallery-1.2.0-r2.ebuild 1057 RMD160 10bebc988ebff81818a9f94a5b3f8f98046884a4 SHA1 093b27a78695c271ab59e2ba801eb9070e3d72c6 SHA256 edcd2d64920fc0fd2dd12d57b13a7c512ff0db7d2c7871f5d0cd5feb8c667fa3
+MISC ChangeLog 645 RMD160 43f0c250eff040e0047c47da2503a57b87f4b7d8 SHA1 1fd3a85d83c7d9c509f73287c2d521809c9dc37a SHA256 9308cdfeabb8c3b4006d1aea1afb169fe76e20108849fc7eb3dfd7f572484625
+MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
diff --git a/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild b/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild
new file mode 100644
index 0000000..c465228
--- /dev/null
+++ b/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Webpage image gallery creation perl script"
+HOMEPAGE="http://bbgallery.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RDEPEND="dev-lang/perl
+ media-gfx/imagemagick
+ dev-perl/URI
+ dev-perl/libwww-perl
+ dev-perl/HTML-Template
+ dev-perl/HTML-Parser"
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-path-fix.patch"
+}
+
+src_install() {
+ local inspath="/usr/share/${PN}"
+
+ dobin ${PN} || die "dobin failed"
+ newbin Contrib/JPG2jpg.pl JPG2jpg || die "newbin failed"
+
+ exeinto "${inspath}"
+ doexe gimp_scale.pl || die "doexe failed"
+
+ insinto "${inspath}"
+ doins -r template/ || die "doins failed"
+ dosym "${inspath}"/template/monochrome "${inspath}"/template/default \
+ || die "dosym failed"
+
+ dodoc CHANGELOG CREDITS README || die "dodoc failed"
+ if use doc; then
+ dohtml -r doc/ || die "dohtml failed"
+ fi
+}
diff --git a/app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch b/app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch
new file mode 100644
index 0000000..19c92b3
--- /dev/null
+++ b/app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch
@@ -0,0 +1,48 @@
+diff -u --new-file --recursive bbgallery-1.2.0/mkgallery.pl bbgallery-1.2.0.patched/mkgallery.pl
+--- bbgallery-1.2.0/mkgallery.pl 2003-03-16 00:07:00.000000000 +0100
++++ bbgallery-1.2.0.patched/mkgallery.pl 2006-06-10 20:26:49.000000000 +0200
+@@ -43,7 +43,7 @@
+ slide_delay => 15, # delay between two slides (sec)
+ meta => 0, # create meta index
+ metalink => 1, # create link to meta index in galleries
+- gimp => 1, # use Gimp or ImageMagick to scale?
++ gimp => 0, # use Gimp or ImageMagick to scale?
+ quality => 100, # JPEG quality for scaled images
+ raw_captions => 0, # omit underscore replacement for image captions?
+ short_dsc => 1, # enable short descriptions?
+@@ -54,7 +54,7 @@
+ my %P = %{$P};
+ my $version = "%%%VERSION%%%"; # Version Number
+ my $instprefix = "%%%INSTPREFIX%%%";
+-my $template_dir = "$instprefix/lib/bbgallery/template";
++my $template_dir = "$instprefix/share/bbgallery/template";
+ # ----------------------------------------------------------------------
+ # S U B R O U T I N E S
+ # ----------------------------------------------------------------------
+@@ -193,7 +193,7 @@
+ mkdir ( "$P{img_dir}/scaled", 0777 );
+
+ if ( $P{gimp} ) {
+- system ( "$instprefix/lib/bbgallery/gimp_scale.pl -img_dir $P{img_dir} -out_dir $P{img_dir}/scaled " .
++ system ( "$instprefix/share/bbgallery/gimp_scale.pl -img_dir $P{img_dir} -out_dir $P{img_dir}/scaled " .
+ "-prefix sc_ -size $P{sc_size} -verbose $P{verbose} -force $P{force} -quality $P{quality}" );
+ } else {
+ im_scale ( $P{img_dir}, "$P{img_dir}/scaled", "sc_", $P{sc_size}, $P{verbose}, $P{force}, $P{quality} );
+@@ -203,7 +203,7 @@
+ sub create_thumbs () {
+ mkdir ( "$P{img_dir}/thumbs", 0777 );
+ if ( $P{gimp} ) {
+- system ( "$instprefix/lib/bbgallery/gimp_scale.pl -img_dir $P{img_dir} -out_dir $P{img_dir}/thumbs " .
++ system ( "$instprefix/share/bbgallery/gimp_scale.pl -img_dir $P{img_dir} -out_dir $P{img_dir}/thumbs " .
+ "-prefix th_ -size $P{th_size} -verbose $P{verbose} -force $P{force} -quality $P{quality}" );
+ } else {
+ im_scale ( $P{img_dir}, "$P{img_dir}/thumbs", "th_", $P{th_size}, $P{verbose}, $P{force}, $P{quality} );
+@@ -643,7 +643,7 @@
+ --no-save Do not save configuration in image direcorty
+
+ For more detailed instructions point your browser to
+- $instprefix/lib/bbgallery/doc/usage.html
++ $instprefix/share/bbgallery/doc/usage.html
+
+ END
+ }
diff --git a/app-misc/bbgallery/metadata.xml b/app-misc/bbgallery/metadata.xml
new file mode 100644
index 0000000..31dc017
--- /dev/null
+++ b/app-misc/bbgallery/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>