summaryrefslogtreecommitdiffstats
path: root/package/sane-backends
Commit message (Collapse)AuthorAgeFilesLines
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-3/+3
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. 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>
* sane-backends: disable static configurationFrank Hunleth2016-11-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | While sane-backends can be compiled statically, it requires selection of a subset of scanner backends. Without this, all backends are compiled and link errors such as the following are generated: ../backend/.libs/libsane.a(libepsonds_la-epsonds.o):(.bss+0xc): multiple definition of `source_list' ../backend/.libs/libsane.a(libepson2_la-epson2.o):(.data+0x40): first defined here ../backend/.libs/libsane.a(libepsonds_la-epsonds.o):(.data+0x10): multiple definition of `mode_params' ../backend/.libs/libsane.a(libepson2_la-epson2.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status Buildroot currently doesn't allow fine grained selection of backends, so this disables static builds. Fixes: http://autobuild.buildroot.net/results/89c/89c6e4ec1596def74e72eb071ef4bf0f1a7cc9f8/ http://autobuild.buildroot.net/results/92a/92a54c99a9ba918ece4c56d7beb985729bee700b/ http://autobuild.buildroot.net/results/1b9/1b9eac5303dfed638063f3b18dfff5571a2c4231/ http://autobuild.buildroot.net/results/366/366979d0bd21dc2bf7f0336b9653ef3fd4e11123/ Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sane-backends: fix musl build issueRomain Naour2016-11-121-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should include config.h from sanei_backend.h in order to use the correct if/else HAVE_FOO. For some reason with Glibc or uClibc there is no problem but with musl we have the following weird issue: In file included from epsonds.h:41:0, from epsonds-jpeg.c:18: ../include/sane/sanei_backend.h:99:33: error: expected ';', identifier or '(' before 'int' ../include/sane/sanei_backend.h:99:33: warning: useless type name in empty declaration That's because HAVE_SIGPROCMASK is not defined although it's correctly detected by the configure script. $ grep config.log config.log:#define HAVE_SIGPROCMASK 1 So, include config.h to avoid to redefine sigset_t. Fixes: http://autobuild.buildroot.net/results/9f1/9f1f1cb727b5c5407e69172280a3dee880e55cdf Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Frank Hunleth <fhunleth@troodon-software.com> Reviewed-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: backport upstream commit to fix musl buildThomas Petazzoni2016-08-191-0/+106
| | | | | | | | | | | This commit adds a new patch to sane-backends, backported from upstream, to fix the build with the musl C library. Fixes: http://autobuild.buildroot.net/results/86c0d172f97a09230a1b589d599c54a656dae66d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: add systemd supportVicente Olivert Riera2015-10-283-0/+52
| | | | | | | | | | The content of the saned.socket and saned@.service files is based on the instructions of the sane-backends manual. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: specify explicit path to net-snmp-configGustavo Zacarias2015-10-151-0/+1
| | | | | | | | | Otherwise if the host distro has net-snmp devel files sane-backends will find /usr/bin/net-snmp-config first and the build will break. Fixes: http://autobuild.buildroot.net/results/c38/c381c316907964787ebe1a0807399022f15d8158/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: bump to version 1.0.25Vicente Olivert Riera2015-10-074-84/+4
| | | | | | | | | | | | | - Bump version to 1.0.25 - Update hash file. The hash value provided by the alioth.debian.org URL is wrong, so use the one provided by www.sane-project.org. I have reported this upstream. - Remove unnecessary patches: 0002-remove-unsafe-headers-path.patch 0003-remove-cups-and-systemd-support.patch Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sane-backends: unbreak on toolchains without threads supportPeter Korsgaard2015-05-041-0/+3
| | | | | | | Fixes: http://autobuild.buildroot.net/results/f2a/f2a43b62aa2a720c538fc60c80c78c8ed5b04dea/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sane-backends: bump to version 1.0.24Gustavo Zacarias2015-05-016-98/+84
| | | | | | | | | | | | | | | Bump sane-backends to a "modern" 1.0.24 version. Tweak the patches to avoid autoreconf (it doesn't seem to be happy for me in gentoo). Disable cups support (checks are wrong and it's no longer required). Disable systemd support (checks are wrong and we never accounted for this). Should fix wine failure (i was unable to build sane-backends before): http://autobuild.buildroot.net/results/d01/d01a3c7786df8cfd962a27f39283851db45c6165/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sane-backends: remove unsafe headers pathRomain Naour2015-02-012-0/+30
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/deb/deb3d45416633b9217d3cc09664273687c809464/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/sane-backends: rename patches to the new naming conventionRomain Naour2015-01-102-0/+0
| | | | | Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: install to stagingAndré Hentschel2015-01-011-0/+1
| | | | | | | | Other packages might depend on sane, thus it should install its development files. Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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>
* sane-backends: add license informationGustavo Zacarias2014-06-261-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sane-backends: uses fork(), not available on noMMU systemsThomas Petazzoni2014-05-171-0/+1
| | | | | | | | | | | | | | | | | | | | | sane-backends currently doesn't build with the ADI external toolchains, due to an internal compiler failure. However, using the internal toolchain backend for Blackfin goes past this internal compiler failure, but raises the problem that sane-backends uses fork(). Sane-backends has a --enable-pthreads option that allows to use threads instead of forking in some parts of sane, but there are still some other areas of sane-backends that continue to use fork(). Since the probability of using sane-backends on a noMMU system is fairly small, we'll just disable this package for now on such architectures, until someone cares enough to investigate deeper. Fixes: http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Fix alioth.debian URLs that are brokenRyan Barnett2014-02-041-1/+1
| | | | | | | | | | | | | | Inspired by a patch from Martin Bark <martin@barkynet.com>, this fixes autobuild issues related to packages not downloading from alioth.debian URLs. This patches is meant to be "temporary" until the URLs are fixed by debian. Fixes: http://autobuild.buildroot.org/results/8c3/8c34649a7f98f60f14cff8b32fa2f8e82b1afeb6 http://autobuild.buildroot.org/results/7e3/7e34e73e40fdb0e04bd63fa889f9bc14f7e30536 Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the default value of the $(PKG)_SOURCE variableJerzy Grzegorek2013-10-061-1/+0
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com) Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sane-backends: fix download URLPeter Korsgaard2013-06-301-1/+1
| | | | | | Fixes http://autobuild.buildroot.net/results/134/134d081dfb514d3bc20ef68f4ebec7d7e4bba8dc/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sane-backends: handle sane-config scriptThomas Petazzoni2013-05-111-0/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sane-backends: fix documentation build failureGustavo Zacarias2012-12-091-1/+7
| | | | | | | | | | | Disable documentation build, it seems to break with older texlive/kpathsea versions, fixes: http://autobuild.buildroot.net/results/44327b543d8918929bf252c5284e8691fda87fd0/ Also switch to alioth mirror since the original tarball is gone from the regular site when 1.0.23 was released. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sane-backends: fix build on !x86Peter Korsgaard2012-04-241-0/+61
| | | | | | | qcam backend uses x86 specific inb/outb/ioperm interface, so replace with noops on !x86. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sane-backends: fix libv4l dependencyPeter Korsgaard2012-01-222-0/+70
| | | | | | Patch from Fedora. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sane-backends: mention in help message which libraries may be selectedArnout Vandecappelle (Essensium/Mind)2012-01-171-0/+4
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* sane-backends: make libusb optional, add optional jpeg, tiff, avahi and snmp ↵Peter Korsgaard2012-01-162-1/+23
| | | | | | deps Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* New package: sane-backendsFrank Hunleth2012-01-102-0/+20
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud