Roalt Dot Com
gthumb import per date Print
Sunday, 14 June 2009

About 11/2 year ago, I helped the gthumb development by adding some functionality that I needed, and is also useful for others: The ability to import the photos from your digital camera to your computer and sort them by the date taken. The current functionality could only import all photos into one folder. 

My experience is that I want my photos sorted in a subfolder for each activity I photograph. In general this means that I want the sorted by the day the photos are taken.

 I offered my help to the gthumb-team via the bugzilla website after finding a similar bug report (431187).I implemented the main functionality with help from Matthias Hawran and  Michael Chudobiak (and others as well), and the result is the following option in gthumb:

Image

Unfortunately, the development of other features of gthumb got into a bit of a slowdown, and up until now the gthumb development branch (called the trunk) was not getting into the main GNOME releases. However, since this month, a new mailinglist for gthumb has opened and it looks that this makes it easier for the developers to communicate. I'm sure this will speed up the development of gthumb, and getting new features into the main GNOME release sooner.

To get this new trunk functionality running in Ubuntu Jaunty Jackalope 9.04, I've created the following HOWTO. Note that gthumb trunk development is highly experimental, so don't use is with your sole copy of your honeymoon pictures.

HOWTO install gthumb trunk on Ubuntu Jaunty Jackalope 9.04

sudo apt-get install git-core autoconf libgnome2-dev libgtk2.0-dev libgnomeui-dev libexiv2-dev libglade2-dev gnome-common libgphoto2-2-dev libgnomedesktop2.20-cil gnome-devel

(it could be that not all packages above needs to be included as gnome-devel may already include those packages above, I added gnome-devel later to get all dependencies resolved)

(alternatives to get extra functionality:

    $ sudo apt-get install  libopenraw-dev

)

$ mkdir -p $HOME/src/gthumb_trunk

$ cd $HOME/src/gthumb_trunk

git clone git://git.gnome.org/gthumb

cd gthumb

./autogen.sh

Note: you might need to specify some options here to configure it for the right place if you use a different distribution. For instance for Fedora 11 you can use:

		./autogen.sh --prefix=/usr CFLAGS="-ggdb" --libdir '/usr/lib64' --build 
x86_64

Otherwise, libgthumb can end up in the wrong place.
(tip by Michael Chudobiak)

#Configuration:
#
#    Source code location:     .
#    Compiler:                 gcc
#    Have gdk-x11:             yes
#    Have XRender:             yes
#    Have XTest:               false
#    Have libtiff:             no
#    Have libgphoto:           yes
#    Have libopenraw:          no
#    Have gstreamer:           no
#    Use Mac OS X menu:        no

$ make

$ sudo make install

$ sudo ldconfig

The new gthumb version will be installed in /usr/local. To make sure you use this version, you could de-install the default gthumb version via synaptic. Check the Gthumb photo import screen to see if you have the above functionality.
Add Comments
 
 
Next >
© 2010 Roalt Dot Com