Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51694 - bbgallery missing templates
Summary: bbgallery missing templates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: REMOVED
Keywords: PMASKED
: 102899 (view as bug list)
Depends on: 102899
Blocks:
  Show dependency tree
 
Reported: 2004-05-21 14:32 UTC by Ákos Maróy
Modified: 2007-02-10 15:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bbgallery-1.2.0.ebuild.patch (patch,318 bytes, patch)
2004-05-26 13:27 UTC, Bruce Guenter
Details | Diff
bbgallery-1.2.0-r2.ebuild (bbgallery-1.2.0-r2.ebuild,1.12 KB, text/plain)
2006-06-10 11:58 UTC, pavel sanda
Details
patch for bbgallery-1.2.0 (bbgallery-1.2.0-imagemagick.patch,803 bytes, patch)
2006-06-10 12:02 UTC, pavel sanda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ákos Maróy 2004-05-21 14:32:51 UTC
after emerging bbgallery, the emerge tool does not install the templates for bbgallery:

$ equery files bbgallery
Searching for packages matching 'bbgallery'...
Contents of app-misc/bbgallery-1.2.0:
/usr/share/doc/bbgallery-1.2.0/html/usage.html
/usr/bin/bbgallery
/usr
/usr/share/doc/bbgallery-1.2.0/html/templates.html
/usr/share/doc/bbgallery-1.2.0/CREDITS.gz
/usr/share/doc/bbgallery-1.2.0/html
/usr/share/doc/bbgallery-1.2.0/html/index.html
/usr/bin
/usr/share/doc/bbgallery-1.2.0/html/download.html
/usr/share/doc/bbgallery-1.2.0
/usr/lib/bbgallery
/usr/lib
/usr/share/doc/bbgallery-1.2.0/README.gz
/usr/share
/usr/bin/JPG2jpg
/usr/lib/bbgallery/gimp_scale.pl
/usr/share/doc/bbgallery-1.2.0/html/installation.html
/usr/share/doc
/usr/share/doc/bbgallery-1.2.0/CHANGELOG.gz


whereas the original bbgallery-1.2.0.tar.bz2 containes a template directory, that should be installed under /usr/lib/bbgallery/template, according to the bbgallery documentation: http://bbgallery.sourceforge.net/templates.html

Reproducible: Always
Steps to Reproduce:
1. install bbgallery
2. try to refer to one of the stock templates, e.g. bbgallery -T oldstyle
3. see the error report

Actual Results:  
$ bbgallery -T oldstyle
ERROR: Templates not found: oldstyle


Expected Results:  
bbgallery should use the specified (stock) template

$ emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://212.219.247.20/sites/www.ibiblio.org/gentoo/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 avi berkdb canna cdr cjk crypt cscope cups
curl dvd dvdr encode esd foomaticdb freewnn gdbm gif gnome gphoto2 gpm gtk gtk2
imlib irda java jpeg junit libg++ libwww lirc mad mbox mikmod motif mozilla mpeg
ncurses nls nvidia oggvorbis opengl oss pam pda pdflib perl png postgres python
quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb
x86 xml2 xmms xv zlib"
Comment 1 Bruce Guenter 2004-05-26 13:27:22 UTC
Created attachment 32095 [details, diff]
bbgallery-1.2.0.ebuild.patch

This patch installs the included bbgallery templates into /usr/lib/bbgallery,
as required by the program.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-11 07:31:55 UTC
Re-assign a stale bug. 
Comment 3 MAL 2005-09-26 03:18:54 UTC
I'm still seeing this.
Comment 4 Heinrich Nirschl 2005-10-25 09:12:09 UTC
The version 1.2.0-r1 has the same problem.
Comment 5 pavel sanda 2006-03-08 14:50:33 UTC
patch  #1 for 1.2.0 is not enough, because link to default template is needed.
i.e. after cp -a.. :
ln -s ${D}/usr/lib/bbgallery/template/monochrome ${D}/usr/lib/bbgallery/template/default

using 1.2.0-r1 has also problems. i had emerged gimp, but hadn't gimp-perl and 
ebuild didnt catch that dependency, so i had to emerge it manually.

last but not least. when i emerged all the parts and run in one sample directory
with jpg's it crashed with he following message:
gimp_scale.pl: protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/Gimp/Net.pm line 67. (ERROR)
protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/Gimp/Net.pm line 67.
gimp_scale.pl: protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/Gimp/Net.pm line 67. (ERROR)
protocol error (1) at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/Gimp/Net.pm line 67.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.6/i686-linux/HTML/Entities.pm line 458.
Use of uninitialized value in concatenation (.) or string at /usr/bin/bbgallery line 222.

i have tried to install it manually from tarball, but it didnt helped so 
this bug is probably not caused by wrong installation via ebuild.


however when using imagemagick instead of gimp, it works now after the link mentioned above.
(i'm working on x86 platform)
Comment 6 Harry Putnam 2006-06-10 09:53:09 UTC
As of 06/10/06 the missing template bug is still present.
Should this package on portage for install with such a known
major bug?
Comment 7 pavel sanda 2006-06-10 11:09:06 UTC
harry, if i make patch and new ebuild will you test it ?
Comment 8 pavel sanda 2006-06-10 11:55:44 UTC
i made new ebuild and trivial patch, so that bbgallery will use imagemagick by default  - instead of gimp which no longer works with bbgalery.

can anybody test it ?
Comment 9 pavel sanda 2006-06-10 11:58:25 UTC
Created attachment 88854 [details]
bbgallery-1.2.0-r2.ebuild
Comment 10 pavel sanda 2006-06-10 12:02:34 UTC
Created attachment 88855 [details, diff]
patch for bbgallery-1.2.0

patch has to be placed into "files" directory of ebuild.
Comment 11 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-04 14:27:49 UTC
I'm glad that there are a bunch of people interested in keeping this ebuild alive, but there hasn't been an interested developer in some time; I'd like to ask that you put the ebuild into sunrise instead so that it stays available to users.

However due to the lack of developer interest (bug open for 2+ years with no commits) I will schedule this for removal.
Comment 12 pavel sanda 2006-08-04 16:27:18 UTC
(In reply to comment #11)
...
> I'd like to
> ask that you put the ebuild into sunrise instead so that it stays available to
> users.

i dont understand this sentence. i made .r2 ebuild which, at least on my box, 
works.

it is more simple to go through the removal procedure, than to comit those two 
files into the tree ? 
Comment 13 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-04 16:59:31 UTC
(In reply to comment #12)
> (In reply to comment #11)
> ...
> > I'd like to
> > ask that you put the ebuild into sunrise instead so that it stays available to
> > users.
> 
> i dont understand this sentence. i made .r2 ebuild which, at least on my box, 
> works.
> 
> it is more simple to go through the removal procedure, than to comit those two 
> files into the tree ? 
> 

Yeah, because there is no developer to oversee the package, thats why this bug has sat open for two years.  No I will not just commit stuff and call it *fixed* because the real problem is there is no developer to care for this package.

Comment 14 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-18 22:11:37 UTC
*** Bug 102899 has been marked as a duplicate of this bug. ***
Comment 15 Christian Heim (RETIRED) gentoo-dev 2006-09-27 09:32:59 UTC
Punted as of now!
Comment 16 pavel sanda 2007-02-10 15:03:44 UTC
improved ebuild committed to sunrise overlay.