summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gphoto2
Commit message (Collapse)AuthorAgeFilesLines
* libgphoto2: Edit out sysroot from CC variable in configureKhem Raj2023-05-282-6/+49
| | | | | | | | | | | Configure emits HAVE_CC variable to be used in sourcecode and its built from CC env var, CC in OE contains buildpaths in --sysroot option, therefore edit this option out in configure.ac itself and remove all other workarounds to fix this issue in recipe Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit c0a344ab713d213933d59875f74ce89612c877c3) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gphoto2: Fix build with clang16 + muslKhem Raj2023-03-022-0/+51
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gphoto2: fix Upstream-Status formattingMartin Jansa2023-01-271-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gphoto2: Upgrade to 2.5.28Khem Raj2022-09-056-69/+60
| | | | | | | | | | | | License-Update: Copyright symbol added - Copyright 1991, 1999 Free Software Foundation, Inc. + Copyright © 1991, 1999 Free Software Foundation, Inc. Also upgrade libgphoto2 to 2.5.30 Fix build with musl while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto: Fix build with libtool 2.4.7Khem Raj2022-03-191-0/+5
| | | | | | Delete old m4 macros, so autoreconf can repopulate it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-042-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-032-10/+10
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libgphoto2: upgrade 2.5.26 -> 2.5.27Wang Mingyu2021-02-281-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gphoto2: upgrade 2.5.26 -> 2.5.27Wang Mingyu2021-02-281-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: upgrade 2.5.25 -> 2.5.26zangrc2020-10-231-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gphoto2: upgrade 2.5.23 -> 2.5.26zangrc2020-10-231-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: improve reproducibilityLee Chee Yang2020-09-271-0/+6
| | | | | | | | | remove WORKDIR information from config to improve reproducibility. libgphoto2_port recheck config during compile will set the WORKDIR info again, so remove this steps after configure. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: upgrade 2.5.24 -> 2.5.25Zang Ruochen2020-05-281-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: upgrade 2.5.23 -> 2.5.24Zang Ruochen2020-03-171-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: remove executable permission bits of udev rule fileYi Zhao2020-02-171-1/+1
| | | | | | | | | Fixes systemd-udevd warning: systemd-udevd[156]: Configuration file /etc/udev/rules.d/40-libgphoto2.rules is marked executable. Please remove executable permission bits. Proceeding anyway. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: upgrade 2.5.17 -> 2.5.23Wang Mingyu2020-01-101-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gphoto2: upgrade 2.5.14 -> 2.5.23Wang Mingyu2020-01-101-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: Remove obsolete HAL filesAdrian Bunk2019-11-013-28557/+1
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: Upgrade to 2.5.17Mingli Yu2018-06-271-2/+2
| | | | | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgphoto2: 2.5.14 -> 2.5.16Andreas Müller2018-04-081-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gphoto2: update 2.5.8 -> 2.5.14Andreas Müller2017-11-193-2/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libgphoto2: update 2.5.8 -> 2.5.14Andreas Müller2017-11-198-341/+3
| | | | | | | | | | | | | 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>
* libgphoto2: Copy Makefile.in.in from gettext-nativeKhem Raj2017-09-071-1/+1
| | | | | | | 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>
* libgphoto: Replace 'lib' with ${nonarch_base_libdir}Amarnath Valluri2017-02-231-1/+1
| | | | | | | | 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>
* libgphoto2: remove bash runtime dependency.Ismo Puustinen2017-02-132-1/+150
| | | | | | | | 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>
* libgphoto2: Fix build when security flags are enabled with clangKhem Raj2016-08-222-0/+134
| | | | | | | | | | | | | | 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>
* libgphoto2: correct compatibility issues with libjpeg-turbo-1.5.0Derek Straka2016-06-222-4/+55
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libgphoto2, v4l-utils: blacklist, not compatible with libjpeg-turbo-1.5.0Martin Jansa2016-06-151-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gphoto2: Adds recipe for gphoto2 2.5.8Andreas Baak2015-07-303-0/+80
| | | | | | | | | | | | | | | | | 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>
* libgphoto2: update to 2.5.8Andreas Baak2015-07-307-1292/+15115
| | | | | | | | | | | - 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>
* meta-oe: fix the install dir for udev rules and filesYi Zhao2015-06-231-1/+1
| | | | | | | | | 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>
* libgphoto2: add bash to RDEPENDSAndreas Müller2014-10-161-0/+1
| | | | | | | | 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>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | 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>
* libgphoto2: add PACKAGECONFIG for serialMartin Jansa2013-07-301-0/+1
| | | | | | * fixes undeterministic dependency on lockdev Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libgphoto2: add configure option for gd and add PACKAGECONFIGMartin Jansa2013-07-202-1/+38
| | | | | | | * it's autodetected and pulls couple of other dependencies freetype gd libpng lockdev zlib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* libgphoto2: refix buildAndreas Müller2012-12-041-1/+2
| | | | | | | | | | | | | | | | | this manually reverts commit 92e3f684d14fd287194e78bc5e65f80504758b7d 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>
* gphoto2: fix gettext build errorKoen Kooi2012-11-291-2/+1
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libgphoto2: fix buildAndreas Müller2012-10-242-1/+51
| | | | | | | | | | | | 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>
* libgphoto2: Fix QA issuesAndreas Müller2011-12-191-1/+2
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libgphoto2 2.4.11: break runtime dependency loopKoen Kooi2011-12-171-1/+3
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libghoto2: update to 2.4.11Koen Kooi2011-06-135-2246/+2763
| | | | | | Regenerate fdi and udev rules Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* libgphoto2 2.4.8: import from OE rev a54456425ea3ce4c7cdfa958cec3ba34539cfeecKoen Kooi2011-06-134-0/+16177
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>