Re: [gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Neil Bothwick
On Fri, 26 Aug 2005 19:48:35 -0500, Harry Putnam wrote:

 I've downloaded todays snapshot of protage and extracted
 gimp-perl. Placed it in my portage tree.  Then unmasked it with
 package.keyword file and ran `emerge -v -p gimp-perl and then without
 -p.
 
 The build pulled in 20 other perl packages and is running currently.
 Should I expect trouble from doing it this way?

Yes, if the dependencies are not in your outdated portage tree, although
it appears you got away with it this time.

Why don't you want an up to date portage tree?


-- 
Neil Bothwick

There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way
is to make it so complicated that there are no obvious deficiencies.
The first method is far more difficult -C.A.R. Hoare


pgplhNz0GATDu.pgp
Description: PGP signature


[gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Harry Putnam
Neil Bothwick [EMAIL PROTECTED] writes:


 The build pulled in 20 other perl packages and is running currently.
 Should I expect trouble from doing it this way?

 Yes, if the dependencies are not in your outdated portage tree, although
 it appears you got away with it this time.

 Why don't you want an up to date portage tree?

Its not that I don't want an updated portage tree.   Its just that
I've let my installation get fairly aged while doing other things for
the last several mnths.  

In that time I've forgotten most of what goes into keeping an updated
system running smooth.

Last time I updated portage it seems I had lots of other things arise
from that.  It took a few weeks to get running smoothly again.

Right now I didn't want to spend the time on it since I'm heavily
involved with video editing on several projects and am in the middle
of getting my property ready for sale to boot.

I would like to see an outline of what it takes to update the whole
system but as I recall its all in gentoo documentation but will
require quite extensive reading.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Mike Williams
On Saturday 27 August 2005 12:27, Harry Putnam wrote:
 I would like to see an outline of what it takes to update the whole
 system but as I recall its all in gentoo documentation but will
 require quite extensive reading.

emerge sync
emerge world -u
etc-update
revdep-rebuild

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Harry Putnam
Mike Williams [EMAIL PROTECTED] writes:

 On Saturday 27 August 2005 12:27, Harry Putnam wrote:
 I would like to see an outline of what it takes to update the whole
 system but as I recall its all in gentoo documentation but will
 require quite extensive reading.

 emerge sync
 emerge world -u
 etc-update
 revdep-rebuild

Thanks for the simple outline...  That was so encouraging that I'm
going to get this done this morning... 
Thanks for the push.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Harry Putnam
Roy Wright [EMAIL PROTECTED] writes:

 Harry Putnam wrote:

Well according to the installed docu.. there is supposed to be:

From the `Usage' html page: (Note the last item)

 Now run bbgallery to create the galleries. Without any parameters it
 will use the following default values:

* Look for images in the default directory
* Create index pages with up to 25 thumbnails
* Have up to five thumbnails in one row
* Use Gallery as title for the index pages
* Be quiet. Don't produce any output on SDTOUT
* Delay pages in the slide show for 15 seconds
* Create links to the meta index
* Thumbnails are scalled to 100 pixels
* Images are scaled to 800 pixels
* Short descriptions in the index page
* The default template will be used

I believe my troubles are arising from the fact that a required
package (Gimp::Module) is not present on my system.  It appears to be
the tool that creates the templates.

So far I've been unsuccessfull installing it via cpan as reported in
previous post.

  

 emerge gimp-perl

 On the templates, I think the missing default template is an 
 installation error. 
 I looked thru the perl script and did not see any special handling for 
 default. 
 The $P{template} is just initialized to 'default'.  On
 http://bbgallery.sourceforge.net/templates.html, only two templates are
 mentioned, monochrome and oldstyle.  Then some instruction on how to modify
 the templates.  My guess is the author intends for you to link
 /usr/lib/bbgallery/template/default to your preferred template.  Example:

But am I wrong in thinking the installation process is supposed to
create the monochrome and oldstyle sets in:

/usr/lib/bbgallery/template  ?

Here I see nothing like that happen even though I have now installed
gimp-perl.  And reinstalled bbgallery.

Can you coach me on creating these templates myself?  My perl skills
while deep enough for some fairly complex homemade scripts are not
deep enough to go thru the perl script and figure out what goes into a
template. 

Maybe I could just copy yours.. Do you have have something at:

/usr/lib/bbgallery/template?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Mike Williams
On Saturday 27 August 2005 13:03, Harry Putnam wrote:
 Thanks for the simple outline...  That was so encouraging that I'm
 going to get this done this morning...
 Thanks for the push.

No problem, it really is that simple.
Getting it done this morning is another matter, going several months without 
an update is likely to put you a long way back, meaning lots to compile. 
Thankfully you can just leave it going in the background. I almost always run 
my updates in a screen session, and if I'm working at the same time, nice'd 
19 (nice -n 19 emerge world)

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Harry Putnam
Mike Williams [EMAIL PROTECTED] writes:

 On Saturday 27 August 2005 13:03, Harry Putnam wrote:
 Thanks for the simple outline...  That was so encouraging that I'm
 going to get this done this morning...
 Thanks for the push.

 No problem, it really is that simple.
 Getting it done this morning is another matter, going several months without 
 an update is likely to put you a long way back, meaning lots to compile. 
 Thankfully you can just leave it going in the background. I almost always run 
I see it may have been a bit optimistic... hehe

 my updates in a screen session, and if I'm working at the same time, nice'd 
 19 (nice -n 19 emerge world)

Well, my good fortune to run it full throttle since I have lots of
work outside this morning.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Harry Putnam
Mike Williams [EMAIL PROTECTED] writes:


 Getting it done this morning is another matter, going several months
 without an update is likely to put you a long way back, meaning lots
 to compile.  Thankfully you can just leave it going in the
 background. I almost always run

This appears now to have been a rather hefty understatement.  I'm not
sure what time this morning I started on this but its now 6:34  where
I am and its still running strong.

This seems a bit long Is this a normal amount of time for an
update world to run (something like ten hours so far)?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bbgallery and template files

2005-08-27 Thread Patrick Börjesson
On 05/08/27 18:35, Harry Putnam wrote:
 Mike Williams [EMAIL PROTECTED] writes:
  Getting it done this morning is another matter, going several months
  without an update is likely to put you a long way back, meaning lots
  to compile.  Thankfully you can just leave it going in the
  background. I almost always run
 
 This appears now to have been a rather hefty understatement.  I'm not
 sure what time this morning I started on this but its now 6:34  where
 I am and its still running strong.
 
 This seems a bit long Is this a normal amount of time for an
 update world to run (something like ten hours so far)?

Definitely if you've kept off an update for more than a month! Things
like OpenOffice, KDE, glibc, and all the other behemoths take a while (like
up to a couple of hours, depending on CPU) to compile each. So 10 hours
is definitely not something to worry about. 

-- 
Regards,
  Patrick Börjesson

PGP signature: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21792A5D
PGP fingerprint: 74AF D4EF 6BDE CF77 16BE  6A29 CDB8 7607 2179 2A5D


pgpdCNC25ZX9V.pgp
Description: PGP signature


[gentoo-user] Re: bbgallery and template files

2005-08-26 Thread Harry Putnam
Roy Wright [EMAIL PROTECTED] writes:
[...]

 I had the same problem a couple of weeks ago.  As I needed the
 gallery at that instance, I just specified the template on the command
 line:

  bbgallery -T monochrome

That doesn't work here:
reader  bbgallery -T monochrome
ERROR: Templates not found: monochrome

 Note that there is not a default template installed into 
 /usr/lib/bbgallery.

Well according to the installed docu.. there is supposed to be:

From the `Usage' html page: (Note the last item)

 Now run bbgallery to create the galleries. Without any parameters it
 will use the following default values:

* Look for images in the default directory
* Create index pages with up to 25 thumbnails
* Have up to five thumbnails in one row
* Use Gallery as title for the index pages
* Be quiet. Don't produce any output on SDTOUT
* Delay pages in the slide show for 15 seconds
* Create links to the meta index
* Thumbnails are scalled to 100 pixels
* Images are scaled to 800 pixels
* Short descriptions in the index page
* The default template will be used

I believe my troubles are arising from the fact that a required
package (Gimp::Module) is not present on my system.  It appears to be
the tool that creates the templates.

So far I've been unsuccessfull installing it via cpan as reported in
previous post.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bbgallery and template files

2005-08-26 Thread Roy Wright

Harry Putnam wrote:


Well according to the installed docu.. there is supposed to be:


From the `Usage' html page: (Note the last item)


Now run bbgallery to create the galleries. Without any parameters it
will use the following default values:

   * Look for images in the default directory
   * Create index pages with up to 25 thumbnails
   * Have up to five thumbnails in one row
   * Use Gallery as title for the index pages
   * Be quiet. Don't produce any output on SDTOUT
   * Delay pages in the slide show for 15 seconds
   * Create links to the meta index
   * Thumbnails are scalled to 100 pixels
   * Images are scaled to 800 pixels
   * Short descriptions in the index page
   * The default template will be used

I believe my troubles are arising from the fact that a required
package (Gimp::Module) is not present on my system.  It appears to be
the tool that creates the templates.

So far I've been unsuccessfull installing it via cpan as reported in
previous post.

 


emerge gimp-perl

On the templates, I think the missing default template is an 
installation error. 
I looked thru the perl script and did not see any special handling for 
default. 
The $P{template} is just initialized to 'default'.  On

http://bbgallery.sourceforge.net/templates.html, only two templates are
mentioned, monochrome and oldstyle.  Then some instruction on how to modify
the templates.  My guess is the author intends for you to link
/usr/lib/bbgallery/template/default to your preferred template.  Example:

 ln -s /usr/lib/bbgallery/template/default 
/usr/lib/bbgallery/template/monochrome


In summary the ebuild is probably missing the gimp-perl dependency
and performing the default template link.

HTH,
Roy
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-26 Thread Harry Putnam
Roy Wright [EMAIL PROTECTED] writes:

I had searched portage before posting about gimp-perl.  It's not in
my portage tree which is somewhat out of date.  That led me to think
it was not available via the normal gentoo channel hence my attempts
to use cpan to install it.

 emerge gimp-perl

How can I get that package without a full on update of portage which I
don't want to do right now?

 On the templates, I think the missing default template is an 
 installation error. 
 I looked thru the perl script and did not see any special handling for 
 default. 
 The $P{template} is just initialized to 'default'.  On
 http://bbgallery.sourceforge.net/templates.html, only two templates are
 mentioned, monochrome and oldstyle.  Then some instruction on how to modify
 the templates.  My guess is the author intends for you to link
 /usr/lib/bbgallery/template/default to your preferred template.  Example:

  ln -s /usr/lib/bbgallery/template/default 
 /usr/lib/bbgallery/template/monochrome

 In summary the ebuild is probably missing the gimp-perl dependency
 and performing the default template link.

No such links appear after `emerge -v bbgallery'  so I guess not.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-26 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:


 emerge gimp-perl

 How can I get that package without a full on update of portage which I
 don't want to do right now?

I've downloaded todays snapshot of protage and extracted
gimp-perl. Placed it in my portage tree.  Then unmasked it with
package.keyword file and ran `emerge -v -p gimp-perl and then without
-p.

The build pulled in 20 other perl packages and is running currently.
Should I expect trouble from doing it this way?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-26 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

After installing gimp-perl and all its dependancies I've unmerged
bbgallery and re emerged it.

The result is exactly as before... I've made no progress at all.

cd to directory of *.jpg
reader  bbgallery -T monochrome
ERROR: Templates not found: monochrome

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bbgallery and template files

2005-08-25 Thread Harry Putnam
Dave Nebinger [EMAIL PROTECTED] writes:

 No templates at all.
 
 Any one here have experience with this tool or can suggest a debugging
 approach.

 First, file it as a bug as the ebuild would be incomplete.

 Second, you might need to build the package from scratch in order to
 determine if it is a build issue in general (i.e. perhaps there's some
 option you need to give to configure or make in order to get the templates).

 If you figure out how to get the templates include that with your bug
 report.

A little further input here:

building from scratch produces no errors but when the binary is run it
errors out looking for Gimp.pm which needs to be installed.

emerge doesn't list this as a dependancy.

However using cpan I attempted to install that package (Gimp::Module)
It fails to build with cpan with this error:
[...]
 
  now invoking perl to complete the configuration...
  1887: exec /usr/bin/perl Makefile.PL --writemakefile PREFIX=/usr

  FATAL: unable to deduce plugindir from gimptool script

  Running make test
Make had some problems, maybe interrupted? Won't test
  Running make install
Make had some problems, maybe interrupted? Won't install


any one see the bug?

-- 
gentoo-user@gentoo.org mailing list