Commit Graph

26 Commits

Author SHA1 Message Date
Adrian Bunk
ccd88c0c04 libgphoto2: Remove obsolete HAL files
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Mingli Yu
e43a831e21 libgphoto2: Upgrade to 2.5.17
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27 22:17:33 -07:00
Andreas Müller
faba84ac94 libgphoto2: 2.5.14 -> 2.5.16
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-08 17:00:06 -07:00
Andreas Müller
514c779625 gphoto2: update 2.5.8 -> 2.5.14
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-19 13:36:24 -08:00
Andreas Müller
6757fc3c88 libgphoto2: update 2.5.8 -> 2.5.14
changes from patches

* 0001-scripts-remove-bashisms.patch
* 0002-correct-jpeg-memsrcdest-support.patch
* avoid_using_sprintf.patch

were found in the code so assume they are upstream

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-19 13:35:51 -08:00
Khem Raj
57acffff3c libgphoto2: Copy Makefile.in.in from gettext-native
virtual/gettext is not including virtual/gettext anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:36 +02:00
Amarnath Valluri
9b97a8ba82 libgphoto: Replace 'lib' with ${nonarch_base_libdir}
Make use of bitbake variable for udev ruls folder. This change makes the recipe
more portable.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-23 23:22:58 +01:00
Ismo Puustinen
9fb591a6af libgphoto2: remove bash runtime dependency.
The bash scripts in upstream were converted to sh scripts. This allows
dropping the strict bash runtime dependency.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:21 +01:00
Khem Raj
30eb09f3bb libgphoto2: Fix build when security flags are enabled with clang
clang is more pedantic and throws below errors

../../libgphoto2-2.5.8/camlibs/ptp2/chdk.c:1131:14: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
        sprintf(lua,luascript); /* This expands the %q inside the string too ... do not optimize away. */
                    ^~~~~~~~~

Backport a patch to silence the warnings where it avoids
the use of sprintf all the way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:49:23 +02:00
Derek Straka
9222832866 libgphoto2: correct compatibility issues with libjpeg-turbo-1.5.0
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-22 17:12:37 +02:00
Martin Jansa
0561402920 libgphoto2, v4l-utils: blacklist, not compatible with libjpeg-turbo-1.5.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-15 12:13:17 +02:00
Andreas Baak
e36e36b16e gphoto2: Adds recipe for gphoto2 2.5.8
gphoto2 is a command line frontend for libgphoto2.
The patch 0001-configure.ac-remove-AM_PO_SUBDIRS is very similar
to the corresponding patch in the libgphoto2 recipe and is required
to make the tool compile.
Without the patch 0002-Look-for-popt-with-GP_CHECK_LIBARY-function,
the popt library would be taken from the host system.
In the EXTRA_OECONF, the --with-jpeg-prefix is required to avoid
the host system's jpeg library to be found.
--without-cdk is required since the cdk headers are not found anywhere.
According to gphoto2's configure.ac file, removing cdk
removes "interactive access to the camera's configuration".
Pure pure command-line access is retained, though.

Signed-off-by: Andreas Baak <andreas.baak@gmail.com>
2015-07-30 21:11:04 +02:00
Andreas Baak
61e5f07bf2 libgphoto2: update to 2.5.8
- Added build dependencies zlib and libxml2
- Adapted 0001-configure-ac-remove-AM_PO_SUBDIRS.patch
- Removed patch allow.to.disable.gd.patch:
  Removing libgd is now possible using the
  configure flag "--without-gdlib"
- Regenerated .fdi and .rules files

Signed-off-by: Andreas Baak <andreas.baak@gmail.com>
2015-07-30 21:11:04 +02:00
Yi Zhao
8f7ee00291 meta-oe: fix the install dir for udev rules and files
When enable multilib, some packages try to install udev rules and
related files into /lib64/udev/ directory. But these files should
be installed in /lib/udev/ directory even on multilib.
Use ${nonarch_base_libdir} instead of ${base_libdir} to fix it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-06-23 12:40:10 +02:00
Andreas Müller
fa04f43dee libgphoto2: add bash to RDEPENDS
fix

libgphoto2-2.4.11: libgphoto2 requires /bin/bash, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2014-10-16 07:01:01 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa
c61f5fad02 libgphoto2: add PACKAGECONFIG for serial
* fixes undeterministic dependency on lockdev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:12 +02:00
Martin Jansa
cf3449958c libgphoto2: add configure option for gd and add PACKAGECONFIG
* it's autodetected and pulls couple of other dependencies
  freetype gd libpng lockdev zlib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:30 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Andreas Müller
2da6650639 libgphoto2: refix build
this manually reverts

commit 92e3f684d1
Author: Koen Kooi <koen@dominion.thruhere.net>
Date:   Wed Nov 21 14:42:02 2012 +0000

    gphoto2: fix gettext build error

which should go into danny only [1].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-November/042668.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-12-04 10:45:19 +01:00
Koen Kooi
92e3f684d1 gphoto2: fix gettext build error
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-11-29 11:03:36 +01:00
Andreas Müller
5febf70d37 libgphoto2: fix build
autoconf.bbclass forces building po dirs by copying po/Makefile.in.in. We have
to care for libgphoto2_port/po/Makefile.in.in too and have to remove
AM_PO_SUBDIRS() from configure.ac since that causes

| autoreconf: running: aclocal --system-acdir=/home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/aclocal-copy/ --automake-acdir=/home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ --force -I auto-m4 -I m4m
| configure.ac:230: error: `po-directories' is already registered with AC_CONFIG_COMMANDS.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-24 08:27:46 +02:00
Andreas Müller
4ae696e7dd libgphoto2: Fix QA issues
Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-19 10:19:34 +01:00
Koen Kooi
3e9f18f7b0 libgphoto2 2.4.11: break runtime dependency loop
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-12-17 18:33:51 +01:00
Koen Kooi
670fe1cb4d libghoto2: update to 2.4.11
Regenerate fdi and udev rules

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-13 11:50:39 +02:00
Koen Kooi
58b79786c6 libgphoto2 2.4.8: import from OE rev a54456425ea3ce4c7cdfa958cec3ba34539cfeec
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-13 11:28:45 +02:00