Author Topic: Gthumb, More Than A Picture Viewer ...  (Read 30746 times)

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #15 on: March 29, 2006, 10:33:15 am »
Quote
Right now I recompiling the whole kaboodle - gphoto2 & friends and possibly gthumb. If that still doesn't work then I'm going to try gtkam
I've recompiled gphoto2 & friends and they work. But gthumb still doesn't display any pics. So I tried compiling gthumb too but ended up with the following error:

Code: [Select]
creating libphotoimporter.la
(cd .libs && rm -f libphotoimporter.la && ln -s ../libphotoimporter.la libphotoimporter.la)
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/src'
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/src'
Making all in components
make[2]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components'
Making all in image-viewer
make[3]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
/usr/bin/orbit-idl-2 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-activation-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-2.0 nautilus-view-component.idl
orbit-idl-2 2.10.2 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

sh: armv5tel-cacko-linux-gcc: command not found
Error: Empty file

** (process:16716): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cf/src/gthumb-2.6.9'
make: *** [all] Error 2

Chero, did you come across this error, if so what did you do to resolve it?

BTW the reason I recompiled gphoto2 etc, instead of using Merli's is because Merli's libgphoto2-devel placed files in what seemed to be odd places and ./configure in gthumb didn't find the files.

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gthumb, More Than A Picture Viewer ...
« Reply #16 on: March 29, 2006, 11:27:35 am »
Quote
Quote
Right now I recompiling the whole kaboodle - gphoto2 & friends and possibly gthumb. If that still doesn't work then I'm going to try gtkam
I've recompiled gphoto2 & friends and they work. But gthumb still doesn't display any pics. So I tried compiling gthumb too but ended up with the following error:

Code: [Select]
creating libphotoimporter.la
(cd .libs && rm -f libphotoimporter.la && ln -s ../libphotoimporter.la libphotoimporter.la)
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/src'
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/src'
Making all in components
make[2]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components'
Making all in image-viewer
make[3]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
/usr/bin/orbit-idl-2 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-activation-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-2.0 nautilus-view-component.idl
orbit-idl-2 2.10.2 compiling
 Â mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

sh: armv5tel-cacko-linux-gcc: command not found
Error: Empty file

** (process:16716): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cf/src/gthumb-2.6.9'
make: *** [all] Error 2

Chero, did you come across this error, if so what did you do to resolve it?

BTW the reason I recompiled gphoto2 etc, instead of using Merli's is because Merli's libgphoto2-devel placed files in what seemed to be odd places and ./configure in gthumb didn't find the files.

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120867\"][{POST_SNAPBACK}][/a][/div]

You could have used the libgphoto2 in my feed, it has the includes in it, and installs in normal places.

Anyway,

Yes, I had the error :
I symlinked someplace/bin/gcc from the zgcc-image to /usr/bin/armv5tel-cacko-linux-gcc

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #17 on: March 29, 2006, 02:02:24 pm »
Quote
I symlinked someplace/bin/gcc from the zgcc-image to /usr/bin/armv5tel-cacko-linux-gcc
Thanks, that got me a bit further then I get this error:
Quote
Making all in image-viewer
make[3]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
/usr/bin/orbit-idl-2 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-activation-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-2.0 nautilus-view-component.idl
orbit-idl-2 2.10.2 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

<stdin>:33:22: Bonobo.idl: No such file or directory
nautilus-view-component.idl:54: Error: `Bonobo' undeclared identifier

** (process:9470): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cf/src/gthumb-2.6.9'
make: *** [all] Error 2
Any ideas?

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gthumb, More Than A Picture Viewer ...
« Reply #18 on: March 30, 2006, 12:55:06 am »
Quote
Quote
I symlinked someplace/bin/gcc from the zgcc-image to /usr/bin/armv5tel-cacko-linux-gcc
Thanks, that got me a bit further then I get this error:
Quote
Making all in image-viewer
make[3]: Entering directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
/usr/bin/orbit-idl-2 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-activation-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-2.0 nautilus-view-component.idl
orbit-idl-2 2.10.2 compiling
  mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule

<stdin>:33:22: Bonobo.idl: No such file or directory
nautilus-view-component.idl:54: Error: `Bonobo' undeclared identifier

** (process:9470): WARNING **: nautilus-view-component.idl compilation failed
make[3]: *** [nautilus_view_component_idl_stamp] Error 1
make[3]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components/image-viewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/cf/src/gthumb-2.6.9/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cf/src/gthumb-2.6.9'
make: *** [all] Error 2
Any ideas?

-- cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120912\"][{POST_SNAPBACK}][/a][/div]

It looks for Bonobo.idl where it can't find it.
A solution : symlink (or copy) "someplace"/share/idl from the zgcc image to /usr/share/idl

Sorry, yesterday was quite a busy day as well, guess I'll have to wait for the weekend to repackage what I have.

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #19 on: March 30, 2006, 01:15:53 pm »
Quote
It looks for Bonobo.idl where it can't find it.
A solution : symlink (or copy) "someplace"/share/idl from the zgcc image to /usr/share/idl
Now you're confusing me

Bonobo.idl already exists in /usr/share/..., but apparently it is looking for it in the zgcc image (ie /opt/native/arm/...). and hence the error when it doesn't find it.

I solved this by editing these two files:

components/image-viewer/Makefile
components/catalog-view/Makefile

I changed the line to :

Code: [Select]
VIEWER_IDL_INCLUDES = -I /usr/share/idl/bonobo-activation-2.0 -I /usr/share/idl/bonobo-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-activation-2.0 -I /opt/native/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/share/idl/bonobo-2.0ie I added /usr/share/idl/bonobo-activation-2.0 and /usr/share/idl/bonobo-2.0 to the path that it should use to look for Bonobo.idl (and other *.idl).

This allowed me to finish the 'make'without error.

Now I'm doing 'make install', and it looks like it's doing all the compilation again, which means another hour or so before it finishes . This double compilation thing seems to be a "feature" peculiar to zgcc - why does it behave like that?

-- cheers
« Last Edit: March 30, 2006, 01:17:55 pm by desertrat »
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gthumb, More Than A Picture Viewer ...
« Reply #20 on: March 30, 2006, 01:47:40 pm »
Quote
Now you're confusing me

Bonobo.idl already exists in /usr/share/..., but apparently it is looking for it in the zgcc image (ie /opt/native/arm/...). and hence the error when it doesn't find it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121094\"][{POST_SNAPBACK}][/a][/div]

Oops, it must have been the other way around. I did this some time ago when I was working on something else. Sorry to be confusing.

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #21 on: March 31, 2006, 12:04:57 am »
Quote
Oops, it must have been the other way around. I did this some time ago when I was working on something else. Sorry to be confusing.
No problem

Anyway, to continue with my saga, even thought 'make' completed without error, 'make install' dies with the following error:
Code: [Select]
/usr/bin/ginstall: cannot stat `gthumb-C.omf.out': No such file or directory
make[5]: *** [install-data-hook-omf] Error 1

I edited the main Makefile to remove the directories I didn't want compiled (the 'doc' directory is the cause of the above error), leaving:
Code: [Select]
SUBDIRS = \
        libgthumb       \
        src             \
        components      \
        data

This time 'make install' finished. But sadly gthumb still refuses to display any images  

I give up. Since gthumb provides a lot of functionality that I don't need (albums, comments), and some that are duplicated by other apps (editing), I decided to write a simple replacement for the feature that I really need - the transfer of images from the camera. So here it is:
Code: [Select]
# wrappers for gphoto2
CAMERAPICS=/mnt/ide3/Documents/media/work/camera

# get all pictures from camera
function allpics
{
    CWD=`pwd`
    cd $CAMERAPICS
    gphoto2 -P
    cd $CWD
    xzgv $CAMERAPICS &
}

# get only new pictures from camera
function newpics
{
    CWD=`pwd`
    cd $CAMERAPICS
    gphoto2 --new -P
    cd $CWD
    xzgv $CAMERAPICS &
}

# delete all pictures on camera
function delpics
{
    gphoto2 -D -R
}

Enjoy

-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gthumb, More Than A Picture Viewer ...
« Reply #22 on: March 31, 2006, 01:19:17 am »
Sorry to copy contents of another site, but I just hope this isn't why you don't see the piccies :

A comment I found on gthumb :
Quote
The description of gthumb seems to imply that it cannot display the image in 'Folder' mode like in the Gwenview and GQview screenshots.

This is not true. That 'mode' can be enabled via the menu entry View > Show/Hide > Image Preview.

However, I understand why the article writer made that mistake.

I have been using GThumb for more than a year (probably closer than 2 or 3 years) and I am still confused by the system of display modes ( "Folders" , "Catalog" or "Image" ) combined with the multiple ways to enable/disable the image preview , the EXIF info, and the user comment.

For example, in "Folders" mode, there are 4 buttons on the top-right of the image preview:

    (1) display the image
    (2) display the Exif
    (3) display the User comment
    (4) disable the Image Preview

It is far too easy to click on (4) by mistake. The result is that the image preview pane is completely gone and must be reenabled via the menu. It took me weeks to figure out why image was sometime disapearing. Very confusing.

Even worse! in "Image" mode, the image preview only has 2 buttons:

    (1) Show/Hide a 'double' pane with Exif on the left and the User Comment on the right ()
    (2) Close

When you click on (2) which often happen by mistake when you try to click (1) the effect is to return to the mode from where the image was called ("Folder" or "Catalogs").

To be even more confusing, the menu View > Show/Hide can also be used to enable/disable the thumbnails pane and the directory pane in "Folder" and "Catalogs" mode.

I'll check the package during the weekend.

Have fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #23 on: March 31, 2006, 03:59:18 am »
Quote
Sorry to copy contents of another site, but I just hope this isn't why you don't see the piccies :

A comment I found on gthumb :
Quote
The description of gthumb seems to imply that it cannot display the image in 'Folder' mode like in the Gwenview and GQview screenshots.

This is not true. That 'mode' can be enabled via the menu entry View > Show/Hide > Image Preview.
For those interested here is the original article.

It seems that that comment is focused mainly on enabling the preview image. My problem is that I don't even see any filenames, let alone thumbnails or preview image.

See attached screenshot, it shows gthumb and xzgv both opened on the same directory which contains a bunch of pics (jpegs). As you can see, xzgv has no problem with showing the thumbnails and displaying a preview. But gthumb shows nothing in all three panels (file-browser, thumbnails & preview)
 [ Invalid Attachment ]

Quote
I'll check the package during the weekend.
Thanks.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

clofland

  • Full Member
  • ***
  • Posts: 247
    • View Profile
    • http://www.lofland.net/
Gthumb, More Than A Picture Viewer ...
« Reply #24 on: March 31, 2006, 11:27:24 am »
Yes, that is the EXACT same issue I have. Your screen shot mirrors mine. Gthumb just doesn't see any files, at all.

It also doesn't help that the navigation by keyboard seems to be completly obfuscated. I am hoping, though, that if gthumb sees some files, then the naviagation will start to make more sense.

Chero, have you tried navigating with they keyboard? (I hate to bring in another issue before the first is fixed though.)
C-760 Last Running pdaXrom 1.1.0beta3
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #25 on: March 31, 2006, 04:48:41 pm »
I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

Cheers,
Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

ozuzo

  • Newbie
  • *
  • Posts: 4
    • View Profile
Gthumb, More Than A Picture Viewer ...
« Reply #26 on: April 06, 2006, 07:44:55 am »
Quote
I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

This took me a bit of time, but you need to have the shared-mime-info package installed as well. After that, I got pictures.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Gthumb, More Than A Picture Viewer ...
« Reply #27 on: April 06, 2006, 03:39:28 pm »
Quote
Quote
I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

This took me a bit of time, but you need to have the shared-mime-info package installed as well. After that, I got pictures.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122017\"][{POST_SNAPBACK}][/a][/div]

I'm glad you found this, I didn't have the time to look into it myself.

Thanks a lot.

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Gthumb, More Than A Picture Viewer ...
« Reply #28 on: April 07, 2006, 01:35:55 pm »
Quote
Quote
I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

This took me a bit of time, but you need to have the shared-mime-info package installed as well. After that, I got pictures.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122017\"][{POST_SNAPBACK}][/a][/div]
Thanks, that did the trick  

Nice app Chero, great for showing photos to friends, love the slideshow feature!

Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Gthumb, More Than A Picture Viewer ...
« Reply #29 on: April 07, 2006, 09:53:14 pm »
Quote
Quote
Quote
I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

This took me a bit of time, but you need to have the shared-mime-info package installed as well. After that, I got pictures.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122017\"][{POST_SNAPBACK}][/a][/div]
Thanks, that did the trick  

Nice app Chero, great for showing photos to friends, love the slideshow feature!

Jerry
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122248\"][{POST_SNAPBACK}][/a][/div]

I absolute love this app, it is very useful. however, i noticed something that is a bit annoying. when you try to delete a file, it seems to mimic windoze and moves it to the trash, but since there is no trash it gives me a warning and asks if i want to delete instead. could that feature be changed to just plain delete?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K