summaryrefslogtreecommitdiffstats
path: root/package/libv4l
Commit message (Collapse)AuthorAgeFilesLines
* libv4l: ensure libv4l gets built, fixes mediastreamer buildThomas Petazzoni2017-08-242-0/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit f837251785e9389f53d695ddb8a094707865171b ("package/libv4l: allow build of v4l2 utilities on noMMU platforms"), Hugues Fruchet added a bunch of patches to libv4l in order to allow the v4l utilities to be built on noMMU platforms. However, as part of those patches, he entirely disabled the build of libv4l in static linking configurations, because libv4l uses dlopen(). Unfortunately, this breaks the build of applications like mediastreamer in static linking configurations, and generally makes our libv4l packages a little bit awkward: you can enable it, but it doesn't install anything (in static linking configurations). A closer look shows that dlopen() is only used by libv4l for plugin support, and libv4l only provides one single plugin, and its build is already conditional. Therefore, this commit adds yet another patch to libv4l, which re-enables the build of libv4l, but disables the plugin-related logic when plugin support is disabled (and it was already automatically disabled in static linking configurations). While at it, we update the comment in libv4l.mk that lists the patches that makes autoreconf necessary. Fixes the build of mediastreamer: http://autobuild.buildroot.net/results/af091cfd0508df9395778cdc796f77e95c168410/ Cc: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lib*: fix wrapping of Config.in help textAdam Duskett2017-07-311-4/+6
| | | | | | | | | | | | | | The check-package script when ran gives warnings on text wrapping on all of these Config files. This patch cleans up all warnings related to the text wrapping for the Config files starting with lib in the package directory. The appropriate indentation is: <tab><2 spaces><62 chars> See http://nightly.buildroot.org/#writing-rules-config-in for more information. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: no libv4lconvert helper support if no fork()Hugues Fruchet2017-07-291-0/+102
| | | | | | | | | | | | | | | | Build libv4lconvert helper support only when fork() is available. Fixes [1]: CXXLD v4l2-compliance .../build/libv4l-1.12.5/lib/libv4lconvert/.libs/libv4lconvert.so: undefined reference to `fork' collect2: error: ld returned 1 exit status [1] http://autobuild.buildroot.net/results/7e8/7e8fbd99a8c091d7bbeedd16066297682bbe29fe Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Tested-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-3/+3
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: use the new gettext logicThomas Petazzoni2017-07-052-4/+1
| | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: don't link with librtBaruch Siach2017-06-202-31/+1
| | | | | | | | | | | Buildroot no longer supports toolchains with glibc older than 2.17, so there is no need to link with librt for clock_* system calls. The following patches are not renumbered. The noise is too high. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: toolchain w/ locale is not mandatoryHugues Fruchet2017-06-101-4/+0
| | | | | | | | | | | | | libv4l package builds fine even if locale is not enabled. This have been tested with stm32f469_disco_defconfig enabling build of libv4l package: +#v4l utilities +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_PACKAGE_LIBV4L=y +BR2_PACKAGE_LIBV4L_UTILS=y Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: allow build of v4l2 utilities on noMMU platformsHugues Fruchet2017-06-108-5/+452
| | | | | | | | | | | | | | | | | | | | This commit removes the dependencies on MMU and dynamic libraries. In order to build v4l2 utilities such as compliancy tools like v4l2-compliance or cec-compliance, v4-utils can now be built without dynamic libraries support. In that case the v4l-utils parts which depends on dynamic library support are not built: - libv4l & libv4lconvert libraries - libv4l plugins - rds-ctl utility - contrib test utilities The rest of the utilities are built. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2017-06-012-2/+2
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/libv4l: bump version to 1.12.5Bernd Kuhls2017-05-272-2/+2
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/libv4l: fix udev configure optionsBernd Kuhls2017-05-271-3/+0
| | | | | | | | | | | | | | | | AC_ARG_WITH([libudev] was removed in version 1.12.0: https://git.linuxtv.org/v4l-utils.git/commit/configure.ac?id=3aba7817cd1994e6da00651114368db8171eabcc Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | libv4l: add patch to link qv4l2 tool with librtThomas Petazzoni2017-05-142-0/+34
|/ | | | | | | | | | | | | The qv4l2 tool in libv4l uses clock_gettime(), so it should link against librt to build properly with old versions of glibc. Therefore, we add a patch to libv4l to fix this issue. Autoreconfiguring libv4l is now necessary since the patch touches Makefile.am. Fixes: http://autobuild.buildroot.net/results/5dff0ec19205e02f6ee373d34cb79f39ac25b609/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: drop -lrt workaroundBaruch Siach2017-03-201-2/+0
| | | | | | | | | libv4l adds the -lrt flag since upstream commit 3dcb945bfcab ("v4l2-compliance: Explicitely link against rt library"). Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l/ir-ctl: fix musl compilePeter Seiderer2017-02-141-0/+59
| | | | | | | | | | | | | | | - add copy of TEMP_FAILURE_RETRY macro - use strdup instead of strdupa Fixes [1]: ir-ctl.c:(.text+0xb06): undefined reference to `strndupa' ir-ctl.c:(.text+0xe01): undefined reference to `TEMP_FAILURE_RETRY' [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: Rename version variable to include _PACKAGE_Naumann Andreas2017-02-111-1/+1
| | | | | Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5: add choice between version 5.6.2 and 5.8.0Naumann Andreas2017-02-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 5.8.0 - add hashes - qt5 need C++11 compliant compiler since 5.7 ([1]) - use different licenses: since version 5.7 Qt removed the LGPL v2.1 option in favor of v3 with a different exception - qt5base: renamed library to EglFSDeviceIntegration ([2]) - qt5base: remove ras-pi patch, commit c0cc5052097c723d0331a7619d686af9eb93d33c fix it ([3]) - qt5base: remove 0007-eglfs-fix-eglfs_mali-compile-for-odroid-mali.patch (upstream committed [3b]) - qt5base: remove obsolete config-option -large ([4]) - qt5base: gstreamer support fully moved to qt5multimedia, so gstreamer related options are no longer passed ([5]) - add patch for python-pyqt5 to fix the build with Qt 5.8 - add tweak in libv4l to fix the build with Qt 5.8, originally provided by Peter Seiderer - add patch from Peter Seiderer fixing a build issue with freetype For 5.6.2 - moved patches to subdir, and renumber patches [1] http://blog.qt.io/blog/2016/06/16/qt-5-7-released/ [2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ec4eb4db61094179bc6a9ec26ec68fb710177053 [3] https://codereview.qt-project.org/#/c/167172/ [3b] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f1b4bd4790860e1ff5afcec111a359bc3a91cfda [4] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=84d3a21c9efe7efb2cce6d3bd14af1f9580b1108 [5] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7d4da559afb62a779b3d90a65fb679cb5433f203 Signed-off-by: Andreas Naumann <anaumann@ultratronik.de> Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> [Thomas: - tweak commit log about GStreamer related changes, suggested by Arnout - move the gcc 4.8 dependency from the main qt5 option to just the qt5.8 selection, so that qt5.6 can still be built if gcc < 4.8 is used. Noticed by Arnout. - rename the options of the version selection to not include the version number itself so that we don't have to keep legacy symbols. Noticed by Arnout. - introduce changes to qt5quickcontrols2.mk needed to handle qt5.6 vs. qt5.8, borrowed from a later patch in the series. - add patch for python-pyqt5 to fix the build with Qt 5.8. - add fix to libv4l.mk from Peter Seiderer to fix the build with Qt 5.8. - renumber patches for 5.6.2, suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: bump version to 1.12.2Adam Duskett2017-02-042-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libv4l: bump version to 1.10.1ludovic.desroches@atmel.com2016-07-112-2/+2
| | | | | Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: add optional support for libgluBernd Kuhls2016-06-121-0/+4
| | | | | | | | | libv4l has optional support for libglu: https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n166 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: add optional support for libglBernd Kuhls2016-06-121-0/+4
| | | | | | | | | libv4l has optional support for OpenGL: https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n160 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: add optional support for alsa-libBernd Kuhls2016-06-121-0/+4
| | | | | | | | | | | | | | | Add alsa-lib as optional dependency to get a reproducable build. Without this patch configure logs: checking for ALSA... no configure: WARNING: ALSA library not available After this patch alsa-lib was built before libv4l: checking for ALSA... yes Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: qt4 support depends on OpenGLBernd Kuhls2016-06-121-1/+1
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/8fc/8fc8cbc85dacebce5cb6ab13f5ff3b0764117471/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: bump version to 1.10.0Bernd Kuhls2016-02-146-340/+2
| | | | | | | Removed patches applied upstream and unneeded autoreconf call. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: update upstream status of patchesThomas Petazzoni2016-01-214-0/+12
| | | | | | | | After some effort to upstream the libv4l patches, 4 out of our 5 patches are now upstream. This commit updates those patches to indicate their upstream status. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: add patch to fix libjpeg build issueThomas Petazzoni2016-01-211-0/+53
| | | | | | | | | | | | | | | Since the bump of libjpeg to v9b, libv4l doesn't build anymore due to the change of the prototype of jpeg_mem_src(), which gets re-implemented in libv4l when the libjpeg is too old. Fixes: http://autobuild.buildroot.org/results/e7a/e7a2341cbbcf514f4cd6754a5a36cebd6556a757/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: add patches to fix musl build issues, and enable on muslThomas Petazzoni2015-12-183-5/+217
| | | | | | | | | This commit adds two patches to the libv4l package, the first one fixes the __off_t usage and the second one fixes locale-related function usage. Those two patches allow libv4l to build fine against musl, so we remove the dependency of glibc || uclibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: v4l-utils need localeBernd Kuhls2015-11-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | To reproduce the setlocale-related build error use this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y After enabling locale support the build error is fixed: BR2_TOOLCHAIN_BUILDROOT_LOCALE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_LIBV4L=y BR2_PACKAGE_LIBV4L_UTILS=y Fixes http://autobuild.buildroot.net/results/f2e/f2e4e34fb14ce355a6e92afc83024b0445f52513/ http://autobuild.buildroot.net/results/fe5/fe56063ddd2232fea7699f5117497beb3deca11e/ http://autobuild.buildroot.net/results/1be/1be55f096ddef2aa38fdba681ed97cf74905477a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: bump version to 1.8.1Vicente Olivert Riera2015-10-292-2/+2
| | | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: fix a typo to not override the LIBV4L_DEPENDENCIES variableVicente Olivert Riera2015-10-291-1/+1
| | | | | | | | | | | | | | | Otherwise host-pkgconf will not be installed and the configure script will fail with an error like this one: ./configure: line 16346: PKG_PROG_PKG_CONFIG: command not found [snip] ./configure: line 20511: syntax error near unexpected token `X11,' ./configure: line 20511: `PKG_CHECK_MODULES(X11, x11, x11_pkgconfig=yes, x11_pkgconfig=no)' Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: fix missing libintl linkingPeter Seiderer2015-10-173-0/+62
| | | | | | | | | | | | | | | | | | | Add missing libintl linking to utils/dvb and utils/keytable (patch Makefile.am and do autoreconf with host-gettext dependency). Patch submitted upstream (see [2]). Add proper gettext dependency for v4l-utils option. Fixes [1]: dvb-format-convert.o: In function `parse_opt': dvb-format-convert.c:(.text+0x46): undefined reference to `libintl_gettext' [1] http://autobuild.buildroot.net/results/40a/40a12c0d1746dcc51e4f221eefbbf31bd427cac8 [2] http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/95883 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: bump version to 1.8.0Peter Seiderer2015-10-132-2/+16
| | | | | | | | | | | - add qt, qt5base/qt5gui/qt5widgets dependency for qv4l2 (qt dependency was missing, qt5 support was added since 1.8.0) - fix fix moc/rcc/uic detection in case host versions of moc-qt5, rcc-qt5 or uic-qt5 are present Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: update v4l-utils help text (add more listed tools)Peter Seiderer2015-10-101-2/+10
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: update homepage linkBaruch Siach2015-08-171-1/+1
| | | | | | | | The official wiki page is more informative and up to date. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: disable for musl toolchainsRomain Naour2015-08-081-2/+5
| | | | | | | | | | | | | | | | | | | musl toolchains are not supported yet in libv4l but it's a work in progress. see: http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=70570c6095fa5859cecd0f9522fe7fd749f1d554 http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=403a4e2697a1ff96fe2fa16589039595f21cadf0 But it's not enough. Disable musl toolchains for libv4l 1.6.3 and wait for a new release. [Thomas: update Config.in comment to take into account the uclibc or glibc dependency.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: needs argp-standalone with musl toolchainsRomain Naour2015-08-081-1/+1
| | | | | Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: needs dynamic library supportBaruch Siach2015-07-131-2/+3
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/752/752cda64e3a4a73adfd9b383d5f42b61e4a1e641/ http://autobuild.buildroot.net/results/042/0423132222f8a8030f703bb8d755f3e9a4ee73d8/ http://autobuild.buildroot.net/results/908/9087769da17e2092c3ad2eb901ff87c1d6437e6a/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: fix uclibc-ng configure/compilePeter Seiderer2015-07-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With raspberrypi_defconfig: libv4l2rds.c:256:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < tuning->station_cnt; i++) { ^ libv4l2rds.c:256:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code >From build/libv4l-1.6.2/config.log: configure:4709: checking for .../host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc option to accept ISO C99 configure:4858: .../host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:54:9: error: unknown type name 'wchar_t' const wchar_t *name; The C99 detection problem seems more related to missing wchar_t type support than the compiler option? Adding LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' gives a lot of compile errors like: libv4lconvert.c: In function 'dev_ioctl': processing/../libv4lsyscall-priv.h:85:10: error: 'SYS_ioctl' undeclared (first use in this function) syscall(SYS_ioctl, (int)(fd), (unsigned long)(cmd), (void *)(arg)) ^ libv4lconvert.c:43:9: note: in expansion of macro 'SYS_IOCTL' return SYS_IOCTL(fd, cmd, arg); ^ processing/../libv4lsyscall-priv.h:85:10: note: each undeclared identifier is reported only once for each function it appears in syscall(SYS_ioctl, (int)(fd), (unsigned long)(cmd), (void *)(arg)) ^ libv4lconvert.c:43:9: note: in expansion of macro 'SYS_IOCTL' return SYS_IOCTL(fd, cmd, arg); ^ Adding LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' solves all configure/compile errors. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: bump version to 1.6.3Peter Seiderer2015-07-042-2/+2
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: bump to version 1.6.2Peter Seiderer2014-12-072-3/+2
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libv4l: needs headers >= 3.0Yann E. MORIN2014-11-161-2/+4
| | | | | | | | | | | | | | | | libv4l includes linux/media.h, which was introduced in v.2.6.39. So, require at least 3.0 to be sure, since we have toolchains (like the Code Sourcery Powerpc 2011.03) that still use 2.6.38 headers. Fixes: http://autobuild.buildroot.net/results/ff7/ff7977c1cea0edfd230e12b74fc2c34bac7a0e4e/ http://autobuild.buildroot.net/results/2bd/2bd30d942ec718e0a46ba2d1c043c9b6e2e6578b/ http://autobuild.buildroot.net/results/c37/c371f4de7ec4b959310ca8e08cf289385fa0feae/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: fix utilities build with older glibc versionsPeter Korsgaard2014-11-091-1/+5
| | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/9af/9af37fbf344b63b60e59ccac21e010cdf0ea219e/ http://autobuild.buildroot.net/results/bbd/bbd34d5378354e9db7822eaae8d3c4a75a67ac23/ http://autobuild.buildroot.net/results/ebb/ebbaa70e1a277162ba53c7bde8335ee998486703/ http://autobuild.buildroot.net/results/2c1/2c11f4dbb7cfadcfc6fbc267679b2b4eab867221/ And many more. The utilities use clock_gettime(), which was provided in librt in glibc < 2.17, so ensure we link against -lrt. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: needs iconvPeter Seiderer2014-10-252-0/+3
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/901/901ed0092ee0411ba77a6f1f46d161621569c7f7/ Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libv4l: bump versionPeter Korsgaard2014-10-142-1/+12
| | | | | | And add tarball hashes. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-4/+4
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: Bump version to 1.0.1Ezequiel GarcĂ­a2014-07-105-151/+79
| | | | | | | | | | | | | | | Quite some work has been done from 0.8.3 to 1.0.1, and as a result this commit is very intrusive. The biggest change is the move to an autotools package. Then, the options that enable utilities individually have been deprecated and moved to Config.in.legacy. Instead, we introduce new option to select either all the utilities. This change loses granularity in favor of maintainability. [Peter: needs host-pkgconf. Select and use argp-standalone on uClibc] Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud