Package Details: gtkam 1.0-1

Git Clone URL: https://aur.archlinux.org/gtkam.git (read-only)
Package Base: gtkam
Description: A GTK frontend for libgphoto2
Upstream URL: http://gphoto.sourceforge.net/proj/gtkam
Licenses: GPL
Submitter: ilpianista
Maintainer: valr
Last Packager: valr
Votes: 86
Popularity: 0.014505
First Submitted: 2010-11-13 15:01
Last Updated: 2016-08-11 07:47

Latest Comments

karhu commented on 2016-08-25 09:21

Hi
I get this message when I try to update from 0.2.0-2 to 1.0-1 :

==> Vérification des signatures des fichiers sources grâce à gpg...
gtkam-1.0.tar.gz ... ÉCHEC (Clef publique inconnue 2209D6902F969C95)

Now I changed the version without PKGBUILD and "the unknown public key", just manually.

perseus commented on 2014-12-26 13:31

Thanks valr - I had just made the symlink, but will rebuild

valr commented on 2014-12-26 13:27

@perseus: you have to rebuild gtkam

perseus commented on 2014-12-26 13:17

gtkam will not start after yesterday's upgrades of:
[2014-12-25 16:59] [PACMAN] upgraded libgphoto2 (2.5.5.1-1 -> 2.5.6-1)
[2014-12-25 16:59] [PACMAN] upgraded gphoto2 (2.5.5-1 -> 2.5.6-1)

gtkam: error while loading shared libraries: libgphoto2_port.so.10: cannot open shared object file: No such file or directory

valr commented on 2014-09-25 20:00

@nbvcxz: dependency added, intltool was missing as makedepends. perl-xml-parser is a dependency of intltool. thanks for reporting.

nbvcxz commented on 2014-09-21 11:37

Noticed perl-xml-parser is still missing in makedepends. Could you correct it?

valr commented on 2013-02-24 15:41

Hi all, new version of libexif-gtk has been released, please rebuild libexif-gtk and then gtkam.

valr commented on 2013-01-20 13:51

@Spider.007: thanks for the patch! Included now.

Spider.007 commented on 2013-01-19 12:40

I received this error while building:

configure.ac:35: error: 'AM_PROG_CC_STDC': this macro is obsolete.
You should simply use the 'AC_PROG_CC' macro instead.
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
but upon 'ac_cv_prog_cc_stdc'.

It can be fixed by adding this patch: gtkam4.patch

--- gtkam-0.2.0/configure.ac 2013-01-19 13:33:34.239674133 +0100
+++ gtkam-0.2.0.new/configure.ac 2013-01-19 13:33:38.776341748 +0100
@@ -32,7 +32,6 @@
dnl Some programs we need
dnl ---------------------------------------------------------------------------
AC_PROG_CC
-AM_PROG_CC_STDC
AC_HEADER_STDC
AM_PROG_LIBTOOL
AC_PROG_INSTALL

Add it to the PKGBUILD and it will compile successfully

SanskritFritz commented on 2012-12-12 21:41

@valr: Indeed, thank you!

valr commented on 2012-12-12 20:24

@SanskritFritz, new PKGBUILD is uploaded. As far as I can see, it fixes the segfault. Cheers.

valr commented on 2012-12-12 10:17

There is a new version of gtkam 0.2.0 that has to be used with libgphoto2 2.5.0.
I have the PKGBUILD ready since weeks but I had to wait for the update of libgphoto2. I will issue it when I'm back home. Hopefully it will solve the issue.

valr commented on 2012-12-12 10:16

There is a new version of gtkam 0.2.0 that has to be used with libgphoto2 2.5.0.
I have the PKGBUILD ready since weeks but I had to wait for the update of libgphoto2. I will issue it when I'm back home. Hopefully it will solve the issue.

SanskritFritz commented on 2012-12-11 21:07

I recompiled the package upon libgphoto update, now the program won't start. Error message:
“gtkam” terminated by signal SIGSEGV (Address boundary error)

valr commented on 2012-09-26 20:48

@ManU: dependencies updated.

ManU commented on 2012-07-09 17:44

You should add libpng14 as dependency, otherwise you have to create manually a link under /usr/lib. If you remove the package, the link file stays, no clean solution.

zwastik commented on 2012-06-05 14:47

patching file src/Makefile.am
patching file configure.ac
Hunk #1 succeeded at 86 with fuzz 1.
patching file configure.ac
patching file src/Makefile.am
patching file test/Makefile.am
Perl API version v5.14.0 of threads does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/share/automake-1.12/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at /usr/share/automake-1.12/Automake/ChannelDefs.pm line 26.
Compilation failed in require at /usr/share/automake-1.12/Automake/Configure_ac.pm line 27.
BEGIN failed--compilation aborted at /usr/share/automake-1.12/Automake/Configure_ac.pm line 27.
Compilation failed in require at /usr/bin/aclocal line 38.
BEGIN failed--compilation aborted at /usr/bin/aclocal line 38.
autoreconf: aclocal failed with exit status: 255

valr commented on 2012-06-05 09:00

It looks like a perl problem, not a gtkam one:
http://comments.gmane.org/gmane.linux.arch.general/35467
https://bbs.archlinux.org/viewtopic.php?id=142586

zwastik commented on 2012-06-05 05:21

patching file src/Makefile.am
patching file configure.ac
Hunk #1 succeeded at 86 with fuzz 1.
patching file configure.ac
patching file src/Makefile.am
patching file test/Makefile.am
Perl API version v5.14.0 of threads does not match v5.16.0 at /usr/share/perl5/core_perl/XSLoader.pm line 92.
Compilation failed in require at /usr/share/automake-1.12/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at /usr/share/automake-1.12/Automake/ChannelDefs.pm line 26.
Compilation failed in require at /usr/share/automake-1.12/Automake/Configure_ac.pm line 27.
BEGIN failed--compilation aborted at /usr/share/automake-1.12/Automake/Configure_ac.pm line 27.
Compilation failed in require at /usr/bin/aclocal line 38.
BEGIN failed--compilation aborted at /usr/bin/aclocal line 38.
autoreconf: aclocal failed with exit status: 255

valr commented on 2012-05-25 19:06

Package fixed.
It seems that autotools go crazy with when generating the Makefile: GTK_LIBS became GTKAM_LIBS => package modified to avoid the problem.
And no, no, no, I will not debug automake :)

valr commented on 2012-05-24 21:54

Temporary workaround to build gtkam is to run makepkg like this:
LIBS="-lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lglib-2.0 -lgobject-2.0" makepkg

valr commented on 2012-05-09 21:46

Yep, same problem.
I see the origin but don't get the solution yet. I'll continue tomorrow.

FiX commented on 2012-05-07 13:52

Can't build:

libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam gtkam-gtkam-debug.o gtkam-gtkam-exif.o gtkam-gtkam-main.o gtkam-main.o libgtkam.a -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: libgtkam.a(libgtkam_a-gtkam-save.o): undefined reference to symbol 'gtk_adjustment_get_type'
/usr/bin/ld: note: 'gtk_adjustment_get_type' is defined in DSO /usr/lib/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gtkam] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam-gimp gtkam_gimp-gtkam-gimp.o libgtkam.a -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: warning: libpng14.so.14, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libexif-gtk.so, not found (try using -rpath or -rpath-link)
make[2]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gtkam.
==> Restart building gtkam ? [y/N]

FiX commented on 2012-05-07 13:51

Can't build:
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam gtkam-gtkam-debug.o gtkam-gtkam-exif.o gtkam-gtkam-main.o gtkam-main.o libgtkam.a -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: libgtkam.a(libgtkam_a-gtkam-save.o): undefined reference to symbol 'gtk_adjustment_get_type'
/usr/bin/ld: note: 'gtk_adjustment_get_type' is defined in DSO /usr/lib/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gtkam] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam-gimp gtkam_gimp-gtkam-gimp.o libgtkam.a -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: warning: libpng14.so.14, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libexif-gtk.so, not found (try using -rpath or -rpath-link)
make[2]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam gtkam-gtkam-debug.o gtkam-gtkam-exif.o gtkam-gtkam-main.o gtkam-main.o libgtkam.a -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: libgtkam.a(libgtkam_a-gtkam-save.o): undefined reference to symbol 'gtk_adjustment_get_type'
/usr/bin/ld: note: 'gtk_adjustment_get_type' is defined in DSO /usr/lib/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gtkam] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -Wall -g -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o gtkam-gimp gtkam_gimp-gtkam-gimp.o libgtkam.a -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lexif-gtk /usr/lib/libgphoto2.so /usr/lib/libgphoto2_port.so -lltdl -lpthread -lm -lexif
/usr/bin/ld: warning: libpng14.so.14, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libexif-gtk.so, not found (try using -rpath or -rpath-link)
make[2]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-fix/aur-gtkam/src/gtkam-0.1.18'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gtkam.
==> Restart building gtkam ? [y/N]

Aborting...
==> ERROR: Makepkg was unable to build gtkam.
==> Restart building gtkam ? [y/N]

Spider.007 commented on 2012-04-09 14:13

Doesn't build for me unless i update the package method in the PKGBUILD:

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p $pkgdir/usr/share/gtkam/pixmaps

make DESTDIR=${pkgdir} install
sed -i -e 's/^_//' "${pkgdir}/usr/share/applications/gtkam.desktop"
}

ALSO this package has an unlisted dependency on libpng14

Spider.007 commented on 2012-04-09 14:11

Doesn't build for me unless i update the package method in the PKGBUILD:

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p $pkgdir/usr/share/gtkam/pixmaps

make DESTDIR=${pkgdir} install
sed -i -e 's/^_//' "${pkgdir}/usr/share/applications/gtkam.desktop"
}

valr commented on 2012-03-04 20:22

Horrible solution. Really.

kiodo1981 commented on 2012-03-04 13:13

I solved this way:

Old solution:
$ yaourt -S libpng14

New solution:
$ sudo ln -s /usr/lib/libpng.so /usr/lib/libpng14.so.14

valr commented on 2012-02-18 17:53

No. 'base' and 'base-devel' groups are pre-requisite for every AUR package -> install 'base-devel'.

Anonymous comment on 2012-02-18 14:07

Please add "autoconf" as a dependencies for this package.

ninian commented on 2012-02-08 18:10

Aaaaargh, you've got it, thanks! I thought I had recompiled libexif-gtk, but obviously hadn't. Methinks I was fooled by the package version being the same. Gtkam is working fine now.

valr commented on 2012-02-08 08:30

Have you also recompiled the libexif-gtk package ?

ninian commented on 2012-02-07 22:11

Um, yes I knew that, but that's the message I get *after* doing a 'pacman -Syu' and rebuilding the gtkam package! All my other rebuilt AUR packages are fine ... Something hardwired somewhere about libpng14?

valr commented on 2012-02-06 21:28

Yes, as mentionned in: http://www.archlinux.org/news/libpnglibtiff-rebuilds-move-from-testing/
Please rebuild gtkam.

ninian commented on 2012-02-05 22:15

After libpng update on 5 Feb 2012, when running gtkam: error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory

ninian commented on 2012-02-05 22:00

After libpng update on 5 Feb 2012, when running gtkam: error while loading shared libraries: libpng14.so.14: cannot open shared object file: No such file or directory

Andyvec commented on 2011-12-29 22:20

Now compiles correctly on ARCH-64!

aaronp commented on 2011-12-28 23:55

You got it, that worked. :)

valr commented on 2011-12-28 23:14

Could you try now ? (second patch included)

aaronp commented on 2011-12-28 20:42

Build fails for me (i686).

/usr/bin/ld: libgtkam.a(libgtkam_a-gtkam-save.o): undefined reference to symbol 'gtk_adjustment_get_type'
/usr/bin/ld: note: 'gtk_adjustment_get_type' is defined in DSO /usr/lib/libgtk-x11-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgtk-x11-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gtkam] Error 1
make[2]: Leaving directory `/tmp/clyde-aaron/gtkam/gtkam/src/gtkam-0.1.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/clyde-aaron/gtkam/gtkam/src/gtkam-0.1.18'
make: *** [all] Error 2

valr commented on 2011-12-22 09:10

Sorry for the delay.
It should work now (well, at least works for me with the patch).

Andyvec commented on 2011-12-20 22:19

Any progress?
I tried to make it work, but I could't deal with the dependecies

valr commented on 2011-12-16 10:33

Well, I don't remember having faced any problem during compilation, but it seems it's missing some libs then.
A quick look at the autotools show this error:

In configure.ac:

PKG_CHECK_MODULES([GTK], [gtk+-2.0])
AC_SUBST([GTK_CFLAGS])
AC_SUBST([GTK_LIBS])

In Makefile.am:

gtkam_LDADD = \
libgtkam.a \
$(LIBEXIF_LIBS) \
$(LIBEXIF_GTK_LIBS) \
$(LIBGPHOTO2_LIBS) \
$(GTKAM_LIBS) \ <- this should be GTK_LIBS
$(BONOBO_LIBS) \
$(GNOME_LIBS) \
$(INTLLIBS)

I'll patch it tonight when I'm back at home.

kritztopf commented on 2011-12-16 09:36

Is it just me or is this line missing in the PKGBUILD?

export LDFLAGS=" -lgtk-x11-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0"

Did not compile without it.

valr commented on 2011-10-30 11:00

Changelog 0.1.18: fixed translation issues for GIMP

valr commented on 2011-08-21 08:52

Intltool is required (and so perl-xml-parser) -> added in makedepends.
Thanks

Arhat commented on 2011-08-06 09:31

I've noticed extra/perl-xml-parser is required, but not pulled in automatically by makepkg -s

valr commented on 2010-11-14 11:20

Package adopted.
Upgraded to 0.1.17.

ilpianista commented on 2010-11-13 15:02

* moved from [extra]