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"
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.
Re-assign a stale bug.
I'm still seeing this.
The version 1.2.0-r1 has the same problem.
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)
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?
harry, if i make patch and new ebuild will you test it ?
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 ?
Created attachment 88854 [details] bbgallery-1.2.0-r2.ebuild
Created attachment 88855 [details, diff] patch for bbgallery-1.2.0 patch has to be placed into "files" directory of ebuild.
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.
(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 ?
(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.
*** Bug 102899 has been marked as a duplicate of this bug. ***
Punted as of now!
improved ebuild committed to sunrise overlay.