aboutsummaryrefslogtreecommitdiff
path: root/package/jpeg
Commit message (Collapse)AuthorAgeFilesLines
* package/jpeg-turbo: allow installing toolsGravatar Clément Péron2020-04-121-0/+2
| | | | | | | | | | | | | | | | | | | Currently, the jpeg-turbo tools are forcibly removed, but they can be usefull (e.g. to test performance on the target, or to script batch conversions). Add an option to allow keeping them. Signed-off-by: Clément Péron <peron.clem@gmail.com> [yann.morin.1998@free.fr - move the option out of the choice - move the option to a Config.in.options - drop the default 'n', which is ... the default - use positive logic to define the hook - move definition of the hook in the conditional block - don't indent the hook assignment ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* package/jpeg: properly indent in menuconfigGravatar Yann E. MORIN2020-04-121-5/+5
| | | | | | | | | | | | | | | | | | | Since there is a variable definition between the definition of BR2_PACKAGE_JPEG and the choice depending on it, the choice is not indented bewlo the "jpeg support" prompt, like we like to have: [*] jpeg support jpeg variant (jpeg-turbo) ---> Move the BR2_PACKAGE_JPEG right before the choice (really, move BR2_PACKAGE_JPEG_SIMD_SUPPORT before BR2_PACKAGE_JPEG, but diff finds the move of BR2_PACKAGE_JPEG is smaller to display): [*] jpeg support jpeg variant (jpeg-turbo) ---> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* core: allow br2-external trees to provide libjpegGravatar Yann E. MORIN2019-08-041-0/+3
| | | | | | | | | | Similar to toolchains, we now offer a way for br2-external trees to provide their libjpeg implementation, which gets included in the jpeg choice. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/jpeg: better indentationGravatar Yann E. MORIN2016-12-111-4/+5
| | | | | | | | | Use easier-to-read layout; fix leading spaces. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jpeg: fix typo introduced when fixing the indentationGravatar Thomas Petazzoni2016-12-111-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jpeg-turbo: add simd support for aarch64Gravatar Peter Korsgaard2016-12-111-0/+1
| | | | | | | | | | | | | | | | | | | >From the 1.5-b1 release notes: Added ARM 64-bit (ARMv8) NEON SIMD implementations of the commonly-used compression algorithms (including the slow integer forward DCT and h2v2 & h2v1 downsampling algorithms, which are not accelerated in the 32-bit NEON implementation.) This speeds up the compression of full-color JPEGs by about 75% on average on a Cavium ThunderX processor and by about 2-2.5x on average on Cortex-A53 and Cortex-A57 cores. Add it unconditionally for all aarch64 cores, as neon support is required for all "standard" ARMv8 implementations. If an ARMv8 implementation w/o NEON ever shows up, then we will need to add a BR2_AARCH64_CPU_HAS_NEON and handle it like ARM. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jpeg-turbo: add simd support for powerpc cores with altivecGravatar Peter Korsgaard2016-12-111-1/+2
| | | | | | | | | | | | | | >From the 1.5-b1 release notes: Added full SIMD acceleration for PowerPC platforms using AltiVec VMX (128-bit SIMD) instructions. Although the performance of libjpeg-turbo on PowerPC was already good, due to the increased number of registers available to the compiler vs. x86, it was still possible to speed up compression by about 3-4x and decompression by about 2-2.5x (relative to libjpeg v6b) through the use of AltiVec instructions. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jpeg: rework jpeg-turbo simd support handlingGravatar Peter Korsgaard2016-12-111-2/+7
| | | | | | | | | | | | In preperation for adding more architectures to the jpeg-turbo simd handling, introduce a hidden BR2_PACKAGE_JPEG_SIMDS_SUPPORT symbol and use that to enable simd support and default to jpeg-turbo, instead of open coding it in both places. While we are at it, reword the help text to be more useful. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/jpeg: make it behave more like other virtual packagesGravatar Yann E. MORIN2014-06-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | Currently, the virtual package jpeg is a special virtual package, as it offers a choice for its implementation, rather than letting the user enable them manually. In so doing, it defines its _HAS option as a 'def_bool y' rather than letting each implementation 'select' it. Since we are going to generate a list of virtual packages and their providers, this defeats the heuristic used to find providers. Coming with an alternate heuristic that also matches the jpeg package is quite complex, so better and easier to make it look more like any other virtual package. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/jpeg: convert to the virtual-package infrastructureGravatar Yann E. MORIN2014-04-052-11/+4
| | | | | | | | | | | | | | Since this package is implemented via a choice rather than the usual separate-package providers, we only need BR2_PACKAGE_HAS_JPEG to be always defined when the 'jpeg' package is selected. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libjpeg: switch to package-defined providersGravatar Yann E. MORIN2013-12-252-8/+6
| | | | | | | | | | | | For the underlying reasons, see previous patch, titled: package/opengl/libegl: switch to package-defined providers Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fix header package nameGravatar Jerzy Grzegorek2013-07-271-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert headers to lower case when relevantGravatar Alexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: convert to a real packageGravatar Thomas Petazzoni2013-03-091-4/+18
| | | | | | | | | | | | | jpeg is a virtual package, but since it is listed in the dependencies of other packages, it should obey to all the normal make rules for packages. Notably, the jpeg-show-depends target is mandatory for the graph-depends script to work. Instead to implement such a make target manually, make jpeg a normal generic-package, except that it doesn't have any source. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: fix make sourceGravatar Arnout Vandecappelle2012-12-171-0/+1
| | | | | | | | 'make source' fails because the host-jpeg-source target doesn't exist anymore. Fix this by adding this target explicitly. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add selection between libjpeg and jpeg-turboGravatar Peter Korsgaard2012-12-142-12/+30
| | | | | | | | | | | Introduce a virtual 'jpeg' package, which pulls in either libjpeg or jpeg-turbo depending on a choice selection. Rename jpeg package to libjpeg so we can reuse 'jpeg' for the virtual package, making the change transparent to existing users and all the packages using libjpeg. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout 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>
* all packages: use new host-xxx-package macrosGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove redundant INSTALL_TARGET=YES declarationsGravatar Gustavo Zacarias2012-03-111-1/+0
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: Allow building of libjpeg for the hostGravatar Will Newton2012-01-261-0/+1
| | | | | | Signed-off-by: Will Newton <will.newton@imgtec.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: bump to v8dGravatar Yegor Yefremov2012-01-231-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: remove --program-prefixGravatar Yann E. MORIN2011-09-121-1/+0
| | | | | | | --program-prefix is now set in the auto-target infrastructure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: bump versionGravatar Peter Korsgaard2011-07-141-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: apply libtool patch where possibleGravatar Peter Korsgaard2011-02-171-1/+0
| | | | | | | | | | Now that we have libtool-2.2.x patch support, we can get rid of a bunch of _LIBTOOL_PATH = NO, fixing (potential) cross link issues. Notice: php not changed, as it uses a very old 1.5 version for the embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: don't add prefix to binariesGravatar Heiko Zuerker2010-12-271-0/+1
| | | | | Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: remove lgpl headerGravatar Peter Korsgaard2010-10-041-17/+0
| | | | | | | | | Buildroot as a whole is under GPL, so lets not expand each .mk file with legal matter. The git history nicely shows the origin of each file, and after the conversion to autotargets there basically isn't anything left of the original file anymore. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jpeg: bump to 8bGravatar Martin Banky2010-10-043-169/+3
| | | | | Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove unneeded _INSTALL_TARGET_OPT definitionsGravatar Thomas Petazzoni2010-09-271-1/+0
| | | | | | | | Now that <pkg>_INSTALL_TARGET_OPT always defaults to 'DESTDIR=$(TARGET_DIR) install', we can remove the <pkg>_INSTALL_TARGET_OPT definition from a lot of packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jpeg: convert old-style hooks to new-style hooksGravatar Thomas Petazzoni2010-09-121-4/+6
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jpeg: convert to autotools infrastructureGravatar Lionel Landwerlin2009-12-301-69/+8
| | | | | | [Peter: has own libtool patch, use std staging install, fix target install] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Gravatar Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-1/+1
|
* Kconfig: remove 'default n'Gravatar Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* fixed jpeg makefileGravatar John Voltz2008-03-061-6/+7
|
* Create dir before use in jpeg pkgGravatar Ulf Samuelsson2007-10-131-0/+1
|
* - just use the strip binary to avoid confusing libtool (quotes)Gravatar Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - misc cleanups (Cristian Ionescu-Idbohrn)Gravatar Bernhard Reutner-Fischer2007-08-281-2/+2
|
* - use correct include dir (Simon Pasch)Gravatar Bernhard Reutner-Fischer2007-08-281-6/+6
| | | | - cleanup while at it
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Gravatar Bernhard Reutner-Fischer2007-08-211-1/+1
| | | | toolchain/*/*.mk */Makefile.in -l)
* Remove switches if sstrip is runGravatar Ulf Samuelsson2007-08-211-1/+1
|
* Use <package>_VERSION in all <package>.mk instead of <package>_VERGravatar Ulf Samuelsson2007-07-111-2/+3
|
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSGravatar Bernhard Reutner-Fischer2007-06-271-2/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* fixup package LDFLAGS handlingGravatar Eric Andersen2007-03-131-0/+2
|
* fixup a whole steaming pile of insanity. When packages are configured,Gravatar Eric Andersen2007-01-141-2/+13
| | | | | | | | | | | | | they should be configured with --prefix=/usr and we then need to use make DESTDIR=$(STAGING_DIR) install to get things installed into the staging directory. The current situation for many packages, which use --prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled into the binary itself. This also adds in a pile of libtool fixups. Between broken pkgconfig, broken libtool handling, and broken --prefix settings, its a wonder things have worked as well as they have up till now. -Erik
* be explicit about not doing XGravatar Eric Andersen2007-01-111-0/+1
|
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Gravatar Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)