From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBEF5158020 for ; Sat, 26 Nov 2022 21:39:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20207E0882; Sat, 26 Nov 2022 21:39:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 074A6E0882 for ; Sat, 26 Nov 2022 21:39:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31EBA3413D3 for ; Sat, 26 Nov 2022 21:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7037D617 for ; Sat, 26 Nov 2022 21:39:03 +0000 (UTC) From: "Piotr Karbowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Piotr Karbowski" Message-ID: <1669498656.c1c6619fe78c334f9b45baeaa8b8300696656c46.slashbeast@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/zsh/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/zsh/zsh-5.9-r2.ebuild app-shells/zsh/zsh-9999.ebuild X-VCS-Directories: app-shells/zsh/ X-VCS-Committer: slashbeast X-VCS-Committer-Name: Piotr Karbowski X-VCS-Revision: c1c6619fe78c334f9b45baeaa8b8300696656c46 X-VCS-Branch: master Date: Sat, 26 Nov 2022 21:39:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad46981d-b961-43b0-baa9-0edf738c6ec7 X-Archives-Hash: cd4b9b8a674e314322c5042c98c294f9 commit: c1c6619fe78c334f9b45baeaa8b8300696656c46 Author: Piotr Karbowski gentoo org> AuthorDate: Sat Nov 26 21:37:36 2022 +0000 Commit: Piotr Karbowski gentoo org> CommitDate: Sat Nov 26 21:37:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1c6619f app-shells/zsh: drop unicode USE flag. THe unicode USE flag makes absolute no sense since the ncurses we really depends on will support unicode regardless of this flag, on the top of that without unicode support tests are failing. The unicode support is now always enabled. Closes: https://bugs.gentoo.org/653704 Signed-off-by: Piotr Karbowski gentoo.org> .../zsh/{zsh-9999.ebuild => zsh-5.9-r2.ebuild} | 33 +++++++++++++++++----- app-shells/zsh/zsh-9999.ebuild | 6 ++-- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-5.9-r2.ebuild similarity index 87% copy from app-shells/zsh/zsh-9999.ebuild copy to app-shells/zsh/zsh-5.9-r2.ebuild index 3493b711314b..6a06814f4b79 100644 --- a/app-shells/zsh/zsh-9999.ebuild +++ b/app-shells/zsh/zsh-5.9-r2.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="https://www.zsh.org/" LICENSE="ZSH gdbm? ( GPL-2 )" SLOT="0" -IUSE="caps debug doc examples gdbm maildir pcre static unicode" +IUSE="caps debug doc examples gdbm maildir pcre static" RDEPEND=" >=sys-libs/ncurses-5.1:0= @@ -50,6 +50,15 @@ if [[ ${PV} == *9999 ]] ; then )" fi +PATCHES=( + # Add openrc specific options for init.d completion + "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff + # Please refer gentoo bug #833981 + "${FILESDIR}"/${PN}-5.9-musl-V09datetime-test-fix.patch + # bug #869539 + "${FILESDIR}"/${PN}-5.9-clang-15-configure.patch +) + src_prepare() { if [[ ${PV} != *9999 ]]; then # fix zshall problem with soelim @@ -58,9 +67,6 @@ src_prepare() { soelim Doc/zshall.1.soelim > Doc/zshall.1 || die fi - # add openrc specific options for init.d completion - eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff - default hprefixify configure.ac @@ -80,11 +86,11 @@ src_configure() { --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions --enable-function-subdirs --with-tcsetpgrp - --with-term-lib="$(usex unicode 'tinfow ncursesw' 'tinfo ncurses')" + --enable-multibyte + --with-term-lib='tinfow ncursesw' $(use_enable maildir maildir-support) $(use_enable pcre) $(use_enable caps cap) - $(use_enable unicode multibyte) $(use_enable gdbm) ) @@ -127,11 +133,24 @@ src_compile() { default if [[ ${PV} == *9999 ]] && use doc ; then - emake -C Doc everything pdf dvi + emake -C Doc everything fi } src_test() { + # Fixes tests A03quoting.ztst B03print.ztst on musl + # Please refer: + # https://www.zsh.org/mla/workers/2021/msg00805.html + # Test E02xtrace fails on musl, so we are removing it. + # Closes: https://bugs.gentoo.org/833981 + if use elibc_musl ; then + unset LC_ALL + unset LC_COLLATE + unset LC_NUMERIC + unset LC_MESSAGES + unset LANG + rm "${S}"/Test/E02xtrace.ztst || die + fi addpredict /dev/ptmx local i for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-9999.ebuild index 3493b711314b..98399ff00b86 100644 --- a/app-shells/zsh/zsh-9999.ebuild +++ b/app-shells/zsh/zsh-9999.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="https://www.zsh.org/" LICENSE="ZSH gdbm? ( GPL-2 )" SLOT="0" -IUSE="caps debug doc examples gdbm maildir pcre static unicode" +IUSE="caps debug doc examples gdbm maildir pcre static" RDEPEND=" >=sys-libs/ncurses-5.1:0= @@ -79,12 +79,12 @@ src_configure() { --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions --enable-function-subdirs + --enable-multibyte --with-tcsetpgrp - --with-term-lib="$(usex unicode 'tinfow ncursesw' 'tinfo ncurses')" + --with-term-lib='tinfow ncursesw' $(use_enable maildir maildir-support) $(use_enable pcre) $(use_enable caps cap) - $(use_enable unicode multibyte) $(use_enable gdbm) )