summaryrefslogtreecommitdiff
path: root/package/cups
AgeCommit message (Collapse)Author
2017-02-14cups: add host-pkgconf as a dependencyThomas Petazzoni
cups configure script checks for a pkg-config program. If host-pkgconf has not been built prior to cups, it uses the system pkg-config, which might potentially lead to bogus results: checking for i586-buildroot-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config With this patch applied: checking for i586-buildroot-linux-musl-pkg-config... no checking for pkg-config... /home/thomas/projets/buildroot/output/host/usr/bin/pkg-config Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-19cups: bump version to 2.2.2Vicente Olivert Riera
And tweak 0003-Sanitize-the-installation-process.patch for this new release. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03cups: bump to version 2.1.4, change upstream locationThomas Petazzoni
cups is now available from Github, with tarballs uploaded by the maintainers, so we use this new upstream location. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03cups: fix static linking with GnuTLSJörg Krause
cups forgets to link against the libs found by pkg-config if it is build with GnuTLS support. Otherwise, static build fails with: ../cups/libcups.a(tls.o): In function `http_gnutls_create_credential': cups-2.1.2/cups/tls-gnutls.c:762: undefined reference to `gnutls_x509_crt_init' [..] Fixes: http://autobuild.buildroot.net/results/205/20509b7d1edc73dc2a7622f2ae7dbf9f6665a918/ http://autobuild.buildroot.net/results/b86/b86d685caf8cf812f9505fca2de36fb8c18baee1/ Patch is sent upstream. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> [Thomas: refresh and rename patch.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-03cups: reformat patch with GitThomas Petazzoni
All patches in the cups package are Git formatted, except 0004-remove-pie.patch, so this commit makes things consistent by also making this patch Git formatted. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-12package/cups: add _PRE_CONFIGURE_HOOKS for proper autoconfBernd Kuhls
cups uses only autoconf, also using autoheader is broken: https://github.com/apple/cups/issues/4667#issuecomment-197689571 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-25cups: fix static linking problemThomas Petazzoni
In static linking configurations, cups fails to build due to the lack of Scrt1.o from uClibc toolchains. This Scrt1.o is only needed for PIE binaries. Since we don't really care about PIE binaries in the context of Buildroot, this commit solves the problem by patching cups to not generate a PIE binary. Fixes: http://autobuild.buildroot.net/results/445a401da2f63a6c43d7c166516287db6cc977ab/ Cc: Olivier Schonken <olivier.schonken@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-21package/cups: Un-deprecate, and update CUPS to 2.1.2Olivier Schonken
- Remove 0001-fix-static.patch - Fixed upstream - Remove 0002-fix-stack-protector-check.patch - Fixed upstream - Remove 0003-mantohtml.patch - Replaced by 0001-Remove-man-from-BUILDDIRS-in- configure.patch - Add 0002-Do-not-use-genstrings.patch - Add CUPS_PDFTOPS option to Config.in.legacy - This support was moved to the cups-filters package. Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> [Thomas: - rewrap patch description in patch 0001 - adjust patch 0002 to completely remove the call to genstrings instead of commenting it, and remove the potentially confusing 'echo' above it - add a third patch that sanitizes the installation process to avoid non-working stripping, owernship changes, etc.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-31packages: indentation cleanupJerzy Grzegorek
This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-16cups: deprecate package due to security issuesGustavo Zacarias
Also mark packages that depend on cups as deprecated as well for easier tracking. It would probably be better to mark it as a legacy option so users get a warning when migrating configuration files, but it would require a direct removal for that. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-05cups: fix dependency check for libX11André Hentschel
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-03package/*: rename patches according to the new policyPeter Korsgaard
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>
2014-12-24package: indentation cleanupJerzy Grzegorek
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-18package/.mk files: remove --localstatedir=/var from autotools packagesJörg Krause
Remove --localstatedir=/var from all autotools packages where it is no longer needed. Also remove --localstatedir=/var/lib/dhcp from package dhcp. localstatedir is used by dhcp to set the default directory for the leases files. This can also be done by setting --with-*-lease-file=/var/lib/dhcp/*, which is done in dhcp.mk. A custom --localstatedir is left in: * proftpd.mk * mysql.mk This is safe to do: One of the good thing with autoconf is that if you pass: --localstatedir=/var ... --localstatedir=/var/something Then /var/something will be used. So, we can set --localstatedir=/var by default in the infrastructure, and still have certain packages doing weird things override it. [Thanks to Thomas Petazzoni] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
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>
2014-10-04packages: rename FOO_INSTALL_STAGING_OPT into FOO_INSTALL_STAGING_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_STAGING_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_STAGING_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>
2014-10-04packages: rename FOO_INSTALL_TARGET_OPT into FOO_INSTALL_TARGET_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_INSTALL_TARGET_OPT. Sed command used: find * -type f | xargs sed -i 's#_INSTALL_TARGET_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>
2014-05-04cups: move localstatedir from /usr/var to /varDanomi Manchego
Prior to commit f64a1b850fc897357040bb4c58b6e5e50e71e094 ("cups: convert to autotargets"), cups was explicitely configured to put its modifiable single-machine data under /var. After that commit, the --localstatedir was not specified, so it remained at it's default value, "PREFIX/var" - making cups use "/usr/var". Using /var to store state files seems preferable to /usr/var, as /usr might be read-only on some systems. This patch re-introduces the --localstatedir specification to build cups to use /var. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-27cups: rename patches to follow BR guidelinesVicente Olivert Riera
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-27cups: fix static linkingVicente Olivert Riera
Append -lz to the cups linking libs to fix a problem like this one: ../cups/libcups.a(file.o): In function `cupsFileSeek': /home/test/test/1/output/build/cups-1.3.11/cups/file.c:1444: undefined reference to `inflateEnd' collect2: error: ld returned 1 exit status make[2]: *** [ipp] Error 1 make[2]: *** Waiting for unfinished jobs.... This solution is the same used upstream in newer versions. Fixes: http://autobuild.buildroot.net/results/f3d/f3d4f67ce7ee1d54f5bd4c87dfddb7417db614e5/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-16cups: disable php extensionGustavo Zacarias
Such an old cups version isn't compatible with newer PHP series, so just disable it. Fixes: http://autobuild.buildroot.net/results/2dc/2dc985fc7cff6bd5d20fc074db4f6f7997dd81f5/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-11Config.in files: whitespace cleanupThomas De Schampheleire
This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-06-28cups: define licenseGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-12cups: fix upstream URLJelle Sels
Signed-off-by: Jelle Sels <jellesels@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-08package: use <pkg>_CONFIG_SCRIPTS wherever possibleThomas Petazzoni
Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it does all what the package was doing. A few packages, like libxslt, are for now left out, since they need some additional fixup (for example a fixup of includedir). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-04cups: fix libdir handlingArnout Vandecappelle
Cups uses /usr/lib64 if the HOST has it, no matter if it is cross compiling for a 32bit arch, breaking the build for stuff looking in /usr/lib. The fix of commit edd2716c didn't work, it would just force /usr/lib64 if the target is 64 bit. Instead, force installation in /usr/lib regardless of the host. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-08-26cups: uses fork(), only available on MMU platformsThomas Petazzoni
Fixes http://autobuild.buildroot.net/results/6db1eb27387696bfa6b4d8ffb30eff00a2f842d0/build-end.log. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
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>
2012-06-06cups: fix libdir handlingPeter Korsgaard
Cups uses /usr/lib64 if the HOST has it, no matter if it is cross compiling for a 32bit arch, breaking the build for stuff looking in /usr/lib. Fixes http://autobuild.buildroot.net/results/4ed4f5b43d05a40ab15f141442f15da56c87be3b Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: add optional image dependenciesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: bump versionPeter Korsgaard
For newer versions than 1.3.x, the patches will need to be reworked. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: cleanup cups-config handlingPeter Korsgaard
Includedir and rpath fixes are not needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: cleanup python supportPeter Korsgaard
The CFLAGS handling isn't needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: fixup php extension buildPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01cups: convert to autotargetsPeter Korsgaard
There's still custom autoreconf handling because of autoheader errors. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-18DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, ↵Alvaro G. M
$2=FILE_NAME This modifies the definition of DOWNLOAD to receive two arguments: the first one is the full URL of the file to download, whereas the second (and optional) is the name the file will have once downloaded. Same thing with the SOURCE_CHECK_WGET and SCP functions. All calls to these functions have been changed to the shortest form of the new API, except for toolchains acquisition. Since there is quite a number of different toolchains this call to DOWNLOAD is better set to the generic one. Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Stephan Hoffmann <sho@relinux.de> Downloading Microblaze LE toolchain works on a clean install Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17support: move package/gnuconfig to support/gnuconfigThomas Petazzoni
The CONFIG_UPDATE macro is no longer defined in package/gnuconfig/gnuconfig.mk, but instead in package/Makefile.autotools.in. It it also changed a little bit to take the directory of the package sources as argument, and the AUTOTARGETS infrastructure is updated to use this macro. [Peter: drop echo in CONFIG_UPDATE] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-17support: move patch-kernel.sh and rename itThomas Petazzoni
The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13cups: avoid using non reevaluated $(STAGING_DIR)Lionel Landwerlin
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard
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>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
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>
2009-07-24xorg: use BR2_PACKAGE_XORG instead of BR2_PACKAGE_XSERVER_noneThomas Petazzoni
The BR2_PACKAGE_XSERVER_none option has gone, so use BR2_PACKAGE_XORG7 instead. It is more logical to test if BR2_PACKAGE_XORG7 is set to know if an X.org server is available, than testing if BR2_PACKAGE_XSERVER_none is set to know if an X.org server is *not* available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-05-14cups: remove version number from patchesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-14cups: fix -fstack-protector configure checkPeter Korsgaard
The configure script failed to detect toolchains without stack protector support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-14cups: add pdftops optionPeter Korsgaard
The pdftops support in cups needs C++ support, whereas the rest doesn't. Add a BR2_PACKAGE_CUPS_PDFTOPS (depending on C++ support) to enable it if needed. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-18cups: add -source targetPeter Korsgaard
2009-01-25exec-profix fix for cupsUlf Samuelsson
2009-01-25Make cups build, support perl/php optionUlf Samuelsson
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard