OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Gthumb, More Than A Picture Viewer ...
desertrat
post Mar 29 2006, 07:33 AM
Post #16





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(desertrat @ Mar 29 2006, 08:10 AM)
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 smile.gif

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
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
Go to the top of the page
 
+Quote Post
Chero
post Mar 29 2006, 08:27 AM
Post #17





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(desertrat @ Mar 29 2006, 04:33 PM)
QUOTE(desertrat @ Mar 29 2006, 08:10 AM)
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 smile.gif

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
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
*



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.
Go to the top of the page
 
+Quote Post
desertrat
post Mar 29 2006, 11:02 AM
Post #18





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(Chero @ Mar 29 2006, 04:27 PM)
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
Go to the top of the page
 
+Quote Post
Chero
post Mar 29 2006, 09:55 PM
Post #19





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(desertrat @ Mar 29 2006, 08:02 PM)
QUOTE(Chero @ Mar 29 2006, 04:27 PM)
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
*



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.
Go to the top of the page
 
+Quote Post
desertrat
post Mar 30 2006, 10:15 AM
Post #20





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(Chero @ Mar 30 2006, 05:55 AM)
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 smile.gif

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
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.0

ie 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 sad.gif. This double compilation thing seems to be a "feature" peculiar to zgcc - why does it behave like that?

-- cheers
Go to the top of the page
 
+Quote Post
Chero
post Mar 30 2006, 10:47 AM
Post #21





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(desertrat @ Mar 30 2006, 07:15 PM)
Now you're confusing me smile.gif

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.
*


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.
Go to the top of the page
 
+Quote Post
desertrat
post Mar 30 2006, 09:04 PM
Post #22





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(Chero @ Mar 30 2006, 06:47 PM)
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 smile.gif

Anyway, to continue with my saga, even thought 'make' completed without error, 'make install' dies with the following error:
CODE
/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
SUBDIRS = \
       libgthumb       \
       src             \
       components      \
       data


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

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
# 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 smile.gif

-- cheers
Go to the top of the page
 
+Quote Post
Chero
post Mar 30 2006, 10:19 PM
Post #23





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



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.
Go to the top of the page
 
+Quote Post
desertrat
post Mar 31 2006, 12:59 AM
Post #24





Group: Members
Posts: 742
Joined: 15-October 05
From: Gulag, Siberia
Member No.: 8,322



QUOTE(Chero @ Mar 31 2006, 06:19 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.


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)
Attached File  screencap1.png ( 50.75K ) Number of downloads: 109


QUOTE
I'll check the package during the weekend.

Thanks.
Go to the top of the page
 
+Quote Post
clofland
post Mar 31 2006, 08:27 AM
Post #25





Group: Members
Posts: 245
Joined: 30-October 03
Member No.: 813



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.)
Go to the top of the page
 
+Quote Post
jerrybme
post Mar 31 2006, 01:48 PM
Post #26





Group: Members
Posts: 639
Joined: 4-September 03
From: Chicago
Member No.: 401



I too have it installed & running BUT it doesn't see any files either. No error messages from command line..

Cheers,
Jerry
Go to the top of the page
 
+Quote Post
ozuzo
post Apr 6 2006, 03:44 AM
Post #27





Group: Members
Posts: 4
Joined: 23-February 06
Member No.: 9,214



QUOTE(jerrybme @ Mar 31 2006, 11:48 PM)
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.
Go to the top of the page
 
+Quote Post
Chero
post Apr 6 2006, 11:39 AM
Post #28





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(ozuzo @ Apr 6 2006, 12:44 PM)
QUOTE(jerrybme @ Mar 31 2006, 11:48 PM)
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.
*



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

Thanks a lot.

Chero.
Go to the top of the page
 
+Quote Post
jerrybme
post Apr 7 2006, 09:35 AM
Post #29





Group: Members
Posts: 639
Joined: 4-September 03
From: Chicago
Member No.: 401



QUOTE(ozuzo @ Apr 6 2006, 05:44 AM)
QUOTE(jerrybme @ Mar 31 2006, 11:48 PM)
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.
*


Thanks, that did the trick biggrin.gif

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

Jerry
Go to the top of the page
 
+Quote Post
Meanie
post Apr 7 2006, 05:53 PM
Post #30





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(jerrybme @ Apr 8 2006, 03:35 AM)
QUOTE(ozuzo @ Apr 6 2006, 05:44 AM)
QUOTE(jerrybme @ Mar 31 2006, 11:48 PM)
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.
*


Thanks, that did the trick biggrin.gif

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

Jerry
*



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?
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th July 2014 - 03:10 AM