Summary: | net-print/cups-2.3.3-r2: doesn't respect unset LINGUAS variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | i.Dark_Templar <idarktemplar> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://www.gentoo.org/support/news-items/2016-06-23-l10n-use_expand.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cups.ebuild.patch |
Description
i.Dark_Templar
2021-02-17 21:12:23 UTC
Created attachment 687825 [details, diff] cups.ebuild.patch This patch fixes issue for me. Diff: --- /usr/portage/net-print/cups/cups-2.3.3-r2.ebuild 2021-01-22 18:09:17.000000000 +0300 +++ net-print/cups/cups-2.3.3-r2.ebuild 2021-02-20 20:43:49.846276455 +0300 @@ -150,8 +150,6 @@ multilib_src_configure() { export DSOFLAGS="${LDFLAGS}" - einfo LINGUAS=\"${LINGUAS}\" - # explicitly specify compiler wrt bug 524340 # # need to override KRB5CONFIG for proper flags @@ -167,7 +165,6 @@ --with-cups-user=lp --with-cups-group=lp --with-docdir="${EPREFIX}"/usr/share/cups/html - --with-languages="${LINGUAS}" --with-system-groups=lpadmin --with-xinetd="${EPREFIX}"/etc/xinetd.d $(multilib_native_use_enable acl) @@ -187,6 +184,12 @@ $(multilib_is_native_abi && echo --enable-libpaper || echo --disable-libpaper) ) + if [ -n "${LINGUAS+x}" ] ; then + myeconfargs+=( + --with-languages="${LINGUAS}" + ) + fi + if tc-is-static-only; then myeconfargs+=( --disable-shared The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6d1abb628f060426d6871edd65aa0ec70cee12 commit 8f6d1abb628f060426d6871edd65aa0ec70cee12 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2021-10-28 09:49:01 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2021-10-28 09:49:13 +0000 net-print/cups: Multiple bug fixes - Fix missing dep on avahi[dbus] (#695438) - Ensure server path is always correct (#615438) - Recommend sys-auth/nss-mdns when needed (#634048) - Fix /run paths (#685308) - Respect empty LINGUAS (#771162) - Fix empty dirs handling (#798855) - Fix printing on some Samsung devices (#801316) - Apply other upstream accepted patches widely tested on Fedora and Debian. Closes: https://bugs.gentoo.org/695438 Thanks-to: Mart Raudsepp Closes: https://bugs.gentoo.org/615438 Thanks-to: Stefan Schmid Closes: https://bugs.gentoo.org/634048 Closes: https://bugs.gentoo.org/685308 Thanks-to: Bertrand Jacquin Closes: https://bugs.gentoo.org/771162 Thanks-to: i.Dark_Templar Closes: https://bugs.gentoo.org/798855 Thanks-to: Marco Scardovi (scardracs) Closes: https://bugs.gentoo.org/801316 Thanks-to: Gentlenoob Thanks-to: mehw Thanks-to: Volkmar W. Pogatzki Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org> net-print/cups/cups-2.3.3_p2-r3.ebuild | 326 +++++++++++++++++++++ .../files/cups-2.3.3-enforcing-read-limits.patch | 29 ++ .../cups/files/cups-2.3.3-ipp-retry-validate.patch | 43 +++ net-print/cups/files/cups-2.3.3-manpage.patch | 23 ++ net-print/cups/files/cups-2.3.3-timeout.patch | 26 ++ net-print/cups/files/cupsd.init.d-r4 | 22 ++ 6 files changed, 469 insertions(+) |