summaryrefslogtreecommitdiffstats
path: root/package/zlib
Commit message (Collapse)AuthorAgeFilesLines
* package/zlib: zlib-ng only available on some archsYann E. MORIN2018-02-251-0/+8
| | | | | | | | | | | | | Upstream has code only for those architectures, with no fallback generic code, so we must restrict zlib-ng to only those four archs... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Nicolas Cavallari <Nicolas.Cavallari@green-communications.fr> Cc: Adam Duskett <aduskett@gmail.com> Cc: Stefan Fröberg <stefan.froberg@petroprogram.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [Thomas: fix typoes in the Config.in option name.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* zlib-ng: new packageStefan Fröberg2018-01-031-0/+10
| | | | | | | | zlib-ng, a fast Zlib replacement Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> [Thomas: drop host variant.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: switch to a virtual packageStefan Fröberg2018-01-033-75/+32
| | | | | | | | | | | The existing zlib package is renamed to libzlib, and zlib is turned into a virtual package. This is done in preparation to the introduction of zlib-ng as an alternative implementation. Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> [Thomas: define BR2_PACKAGE_PROVIDES_HOST_ZLIB as suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zlib: add license hashSamuel Martin2017-11-051-0/+2
| | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use SPDX short identifier for zlib licenseRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for zlib license is Zlib. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/zlib( )?(license)?/Zlib/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: bump to version 1.2.11Gustavo Zacarias2017-01-162-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/zlib: bump version to 1.2.10Bernd Kuhls2017-01-032-3/+3
| | | | | | | | Changed _SITE url to the upstream project site because Sourceforge does not provide the tarball for 1.2.10 as of now. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zlib: update homepage linkBaruch Siach2016-12-181-1/+1
| | | | | | | Avoid redirect. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zlib: use $(HOST_MAKE_ENV) when calling $(MAKE1)Gustavo Zacarias2016-12-131-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zlib: use $(TARGET_MAKE_ENV) when calling $(MAKE1)Gustavo Zacarias2016-12-131-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: kill pointless text justificationGustavo Zacarias2015-04-231-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/zlib: allow shared-only buildsYann E. MORIN2014-12-201-0/+13
| | | | | | | | | | | | | | | | | Currently, we can build a static-only zlib, but not a shared-only one. This is because zlib's build-system is a custom ./configure (not using autotools), and does not allow building/installing only the shared library. Simply remove the .a as a post-staging install hook. We don't care removing it from target, since it is not used at link time to build other packages, and it is anyway removed later before assembling the filesystem images anyway. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* zlib: add hash fileGustavo Zacarias2014-10-191-0/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove package clean commandsThomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-12/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zlib: bump to version 1.2.8Jerzy Grzegorek2013-07-201-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> 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>
* packages: remove all := signsThomas Petazzoni2013-01-201-4/+4
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* freetype, libfuse, libpng, x11vnc, zlib: get rid of BR2_SOURCEFORGE_MIRRORStefan Froberg2012-08-241-1/+1
| | | | | Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: add license informationSimon Dawson2012-08-211-0/+2
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* 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>
* all packages: use new host-xxx-package macrosArnout 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>
* zlib: bump to version 1.2.7Gustavo Zacarias2012-06-101-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: bump versionPeter Korsgaard2012-02-132-28/+5
| | | | | | Patch is now upstream. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS 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>
* zlib: always build host version dynamicallyPeter Korsgaard2011-07-201-2/+0
| | | | | | | | | Host libraries should always be built using dynamic linking, rather than static if BR2_PREFER_STATIC_LIB is enabled, as that then breaks dependent libraries expecting a shared library. Reported-by: Andy Kennedy <andy.kennedy@adtran.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: disable call to ldconfigThomas Petazzoni2011-01-261-3/+3
| | | | | | | | | | | By default, zlib installation procedure calls ldconfig, which takes time uselessly. ldconfig is only useful if you install libraries on the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or /lib), so calling it after installing libraries in $(STAGING_DIR), $(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: really fix install for static only buildsPeter Korsgaard2010-12-121-0/+24
| | | | | | | | | | Commit ab2f5567c1 (cleanup, fix install for static only build) forgot to add the patch for static only builds, even though the commit message mentioned it. Thanks to Mike for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: don't point libdir/includedir at stagingPeter Korsgaard2010-11-241-2/+0
| | | | | | Fixes 'make install'. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: cleanup, fix install for static only buildPeter Korsgaard2010-11-241-23/+21
| | | | | | | Use 'make install' for installation, add a patch to make it work for static only builds, and add uninstall/clean targets while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Fix buildLionel Landwerlin2010-09-201-2/+2
| | | | | | | Using "make -j $(N)" with N > 1 sometimes breaks zlib build. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Bump to 1.2.5Paul Jones2010-07-273-126/+1
| | | | | | | Closes #1981 Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: enable compilation on the hostThomas Petazzoni2010-02-231-0/+25
| | | | | | | | zlib is needed on the host, to build xlib_libfontenc on the host, to build xapp_mkfontscale on the host, in order to finally build xfonts encodings on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: fix headers installation in target directoryLionel Landwerlin2010-01-281-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: rework on top of the generic infrastructureThomas Petazzoni2009-12-151-64/+29
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: fix typoPeter Korsgaard2009-10-041-1/+1
| | | | | | | Fix typo introduced by 1e32e0700a (remove dedicated target-headers option). Noticed by Alexander Clouter <alex@digriz.org.uk>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: remove dedicated target-headers optionPeter Korsgaard2009-10-032-12/+1
| | | | | | | Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES is enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Replace negative logic in Makefile with positiveMichael Roth2009-09-301-5/+5
| | | | | | | | Positive logic is easier to read and understand than something like 'if not option=yes then foo else bar'. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.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 helperPeter Korsgaard2009-01-161-1/+1
|
* zlib: install using cp instead of install for zlib librariesHans-Christian Egtvedt2008-12-111-1/+1
| | | | | | | | This patch will install zlib keeping the symlinks. The usage of $(INSTALL) here did not take into account symbolic links. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* have zlib respect BR2_PREFER_STATIC_LIBPeter Korsgaard2008-12-081-6/+19
| | | | | | | | The ARM uClinux BFLT format apparently doesn't support shared libs nor -fPIC. So let's distinguish between shared and non shared builds by having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB. Signed-off-by: Nicolas Pitre <nico@cam.org>
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-2/+2
|
* Fix zlib install broken by previous commit. SorryThiago A. Corrêa2008-10-311-5/+6
|
* Make sure directories are created during install to STAGING_DIR and ↵Thiago A. Corrêa2008-10-311-10/+8
| | | | TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.
* package: global largefile CFLAGS handlingPeter Korsgaard2008-08-041-5/+1
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-2/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
OpenPOWER on IntegriCloud