Package Details: lib32-libgphoto2 2.5.31-2

Git Clone URL: https://aur.archlinux.org/lib32-libgphoto2.git (read-only, click to copy)
Package Base: lib32-libgphoto2
Description: Digital camera access library (32-bit)
Upstream URL: http://www.gphoto.org/
Licenses: LGPL
Submitter: orumin
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 8
Popularity: 0.000836
First Submitted: 2017-07-08 20:28 (UTC)
Last Updated: 2023-12-19 13:57 (UTC)

Latest Comments

cepheus69 commented on 2024-08-21 09:10 (UTC) (edited on 2024-08-21 09:10 (UTC) by cepheus69)

The failed building info: Manjaro & gcc 14.2.1

ptp2/chdk.c:1187:41: error: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [-Wincompatible-pointer-types]
 1187 |         jpeg_mem_dest (&cinfo, &outbuf, &outlen);
      |                                         ^~~~~~~
      |                                         |
      |                                         uint64_t * {aka long long unsigned int *}
In file included from ptp2/chdk.c:32:
/usr/include/jpeglib.h:975:43: note: expected 'long unsigned int *' but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}
  975 |                            unsigned long *outsize);
      |                            ~~~~~~~~~~~~~~~^~~~~~~

NeWolf commented on 2024-06-28 17:48 (UTC)

Adding this to my PKGBUILD as a workaround: export CFLAGS="${CFLAGS} -Wno-error=incompatible-pointer-types" . After this it builds fine, however in the middle of the build it complained about missing camlib dependencies

NeWolf commented on 2024-06-28 17:35 (UTC)

fails to build with this error:


ptp2/chdk.c:1187:41: error: passing argument 3 of 'jpeg_mem_dest' from incompatible pointer type [-Wincompatible-pointer-types]
 1187 |         jpeg_mem_dest (&cinfo, &outbuf, &outlen);
      |                                         ^~~~~~~
      |                                         |
      |                                         uint64_t * {aka long long unsigned int *}
In file included from ptp2/chdk.c:32:
/usr/include/jpeglib.h:975:43: note: expected 'long unsigned int *' but argument is of type 'uint64_t *' {aka 'long long unsigned int *'}
  975 |                            unsigned long *outsize);
      |                            ~~~~~~~~~~~~~~~^~~~~~~
make[3]: *** [Makefile:4252: ptp2/la-chdk.lo] Error 1
make[3]: Leaving directory '/home/newolf/lib32-sane/lib32-libgphoto2/src/libgphoto2/camlibs'
make[2]: *** [Makefile:4801: all-recursive] Error 1
make[2]: Leaving directory '/home/newolf/lib32-sane/lib32-libgphoto2/src/libgphoto2/camlibs'
make[1]: *** [Makefile:769: all-recursive] Error 1
make[1]: Leaving directory '/home/newolf/lib32-sane/lib32-libgphoto2/src/libgphoto2'
make: *** [Makefile:593: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

rEnr3n commented on 2023-12-22 01:32 (UTC)

Does not compile on clean chroot after lib32-gd was removed.

/usr/sbin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../libjpeg.so when searching for -ljpeg
/usr/sbin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for -ljpeg
/usr/sbin/ld: cannot find -ljpeg: No such file or directory
/usr/sbin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../libjpeg.so when searching for -ljpeg
/usr/sbin/ld: skipping incompatible /usr/lib/libjpeg.so when searching for -ljpeg
collect2: error: ld returned 1 exit status

Installing lib32-libjpeg-turbo fixed it.

MarsSeed commented on 2023-12-19 14:09 (UTC)

Than you for implementing my suggestion. Appreciated!

MarsSeed commented on 2023-10-02 13:50 (UTC) (edited on 2023-12-03 23:20 (UTC) by MarsSeed)

Do you specifically want to keep post-2015 picture frame and Docupen image post-professing support in this lib32 library?

MarsSeed commented on 2023-07-27 12:50 (UTC)

lib32-gd is definitely not needed.

It is used for on-the-fly image conversion for some digital "picture frame" hardware, for which libgphoto2 introduced support in 2015, well within the 64-bit era. Also that library is utilized for Docupen scanner pen support, starting from 2020.

There is no other part of the libgphoto2 code that links to gd.

The dependency requirement for gd can be turned off with the configure --with-gdlib=no option.

sl1pkn07 commented on 2022-12-13 20:51 (UTC)

please add libgphoto2.so to provides array

greetings

quadpl_03 commented on 2017-07-13 20:32 (UTC) (edited on 2017-07-13 20:33 (UTC) by quadpl_03)

I had to do a couple things before this package would build. First, apply this patch: https://git.congatec.com/yocto/meta-openembedded/raw/5febf70d37c7e9cf55fa7de5285531a810312e3a/meta-oe/recipes-graphics/gphoto2/libgphoto2-2.4.11/0001-configure.ac-remove-AM_PO_SUBDIRS.patch Second, replace @MKINSTALLDIRS@ in some of the makefiles: find . -iname "Makefile*" | while read line; do sed -i 's|@MKINSTALLDIRS@|$(top_srcdir)/auto-aux/mkinstalldirs|g' "$line" done

sl1pkn07 commented on 2017-07-08 21:51 (UTC)

seems https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=lib32-libgphoto2#n37 is not need anymore. build ok without it greetings