summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-12-07 14:06:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-08 20:22:11 +0000
commitc8f8d1bbb8300956f16d0e3ebc769cf7362fa802 (patch)
treef322cb500c70315e144692912a4bd586693c1826 /meta/recipes-extended/cups
parentc1c93b4ea4e76b48844ac88dfad738f55961a50e (diff)
downloadpoky-c8f8d1bbb8300956f16d0e3ebc769cf7362fa802.tar.gz
cups: update 2.3.3op2 -> 2.4.0
Mark no-hardcode-lib patch as upstreamable. (From OE-Core rev: 2d0475f9575a6679b4a9d5400220584597b84887) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r--meta/recipes-extended/cups/cups.inc7
-rw-r--r--meta/recipes-extended/cups/cups/libexecdir.patch50
-rw-r--r--meta/recipes-extended/cups/cups_2.4.0.bb (renamed from meta/recipes-extended/cups/cups_2.3.3op2.bb)2
3 files changed, 34 insertions, 25 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index ba9bc6c6a6..3175a91ce4 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -40,11 +40,11 @@ SYSTEMD_SERVICE:${PN} = "cups.socket cups.path cups.service cups-lpd.socket"
40 40
41PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ 41PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
42 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}" 42 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
43PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" 43PACKAGECONFIG[avahi] = "--with-dnssd=avahi,--with-dnsssd=no,avahi"
44PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl" 44PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
45PACKAGECONFIG[gnutls] = "--enable-gnutls,--disable-gnutls,gnutls" 45PACKAGECONFIG[gnutls] = "--with-tls=gnutls,--with-tls=no,gnutls"
46PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, libpam" 46PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, libpam"
47PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--disable-systemd,systemd" 47PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--without-systemd,systemd"
48PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd" 48PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd"
49 49
50EXTRA_OECONF = " \ 50EXTRA_OECONF = " \
@@ -57,6 +57,7 @@ EXTRA_OECONF = " \
57 --with-system-groups=lpadmin \ 57 --with-system-groups=lpadmin \
58 --with-cups-group=lp \ 58 --with-cups-group=lp \
59 --with-domainsocket=/run/cups/cups.sock \ 59 --with-domainsocket=/run/cups/cups.sock \
60 --with-pkgconfpath=${libdir}/pkgconfig \
60 DSOFLAGS='${LDFLAGS}' \ 61 DSOFLAGS='${LDFLAGS}' \
61 " 62 "
62 63
diff --git a/meta/recipes-extended/cups/cups/libexecdir.patch b/meta/recipes-extended/cups/cups/libexecdir.patch
index 2e15841b0d..7ccad94f0f 100644
--- a/meta/recipes-extended/cups/cups/libexecdir.patch
+++ b/meta/recipes-extended/cups/cups/libexecdir.patch
@@ -1,27 +1,35 @@
1Use $libexecdir instead of hardcoding $prefix/lib as this breaks multilib builds. 1From 1724f7bcdbcfdb445778f8a2e530c5c094c18c10 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Tue, 13 Jul 2021 12:56:30 +0100
4Subject: [PATCH] Use $libexecdir instead of hardcoding $prefix/lib as this
5 breaks multilib builds.
2 6
3Upstream-Status: Inappropriate 7Upstream-Status: Pending
4Signed-off-by: Ross Burton <ross.burton@arm.com> 8Signed-off-by: Ross Burton <ross.burton@arm.com>
5 9
10---
11 config-scripts/cups-directories.m4 | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
6diff --git a/config-scripts/cups-directories.m4 b/config-scripts/cups-directories.m4 14diff --git a/config-scripts/cups-directories.m4 b/config-scripts/cups-directories.m4
7index 1430af3a6..6efedc604 100644 15index 2033d47..230166e 100644
8--- a/config-scripts/cups-directories.m4 16--- a/config-scripts/cups-directories.m4
9+++ b/config-scripts/cups-directories.m4 17+++ b/config-scripts/cups-directories.m4
10@@ -265,7 +265,7 @@ case "$host_os_name" in 18@@ -239,7 +239,7 @@ AC_SUBST([CUPS_REQUESTS])
11 *-gnu) 19 AS_CASE(["$host_os_name"], [*-gnu], [
12 # GNUs 20 # GNUs
13 INSTALL_SYSV="install-sysv" 21 INSTALL_SYSV="install-sysv"
14- CUPS_SERVERBIN="$exec_prefix/lib/cups" 22- CUPS_SERVERBIN="$exec_prefix/lib/cups"
15+ CUPS_SERVERBIN="$libexecdir/cups" 23+ CUPS_SERVERBIN="$libexecdir/cups"
16 ;; 24 ], [*bsd* | darwin*], [
17 *bsd* | darwin*) 25 # *BSD and Darwin (macOS)
18 # *BSD and Darwin (macOS) 26 INSTALL_SYSV=""
19@@ -275,7 +275,7 @@ case "$host_os_name" in 27@@ -247,7 +247,7 @@ AS_CASE(["$host_os_name"], [*-gnu], [
20 *) 28 ], [*], [
21 # All others 29 # All others
22 INSTALL_SYSV="install-sysv" 30 INSTALL_SYSV="install-sysv"
23- CUPS_SERVERBIN="$exec_prefix/lib/cups" 31- CUPS_SERVERBIN="$exec_prefix/lib/cups"
24+ CUPS_SERVERBIN="$libexecdir/cups" 32+ CUPS_SERVERBIN="$libexecdir/cups"
25 ;; 33 ])
26 esac 34
27 \ No newline at end of file 35 AC_DEFINE_UNQUOTED([CUPS_SERVERBIN], ["$CUPS_SERVERBIN"], [Location of server programs.])
diff --git a/meta/recipes-extended/cups/cups_2.3.3op2.bb b/meta/recipes-extended/cups/cups_2.4.0.bb
index fc2aa702f5..42be34c4f3 100644
--- a/meta/recipes-extended/cups/cups_2.3.3op2.bb
+++ b/meta/recipes-extended/cups/cups_2.4.0.bb
@@ -2,4 +2,4 @@ require cups.inc
2 2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
4 4
5SRC_URI[sha256sum] = "deb3575bbe79c0ae963402787f265bfcf8d804a71fc2c94318a74efec86f96df" 5SRC_URI[sha256sum] = "9abecec128ca6847c5bb2d3e3d30c87b782c0697b9acf284d16fa38f80a3a6de"