[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 2a319f2040df45d3132ae21191906b6ee404d458 Author: Sam James gentoo org> AuthorDate: Sun Mar 24 21:03:41 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 24 22:40:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a319f20 app-arch/pixz: skip lint test (cppcheck) We don't care for these wrt packaging. Closes: https://bugs.gentoo.org/915008 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7-r1.ebuild | 8 +++- app-arch/pixz/pixz-.ebuild | 8 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.7-r1.ebuild b/app-arch/pixz/pixz-1.0.7-r1.ebuild index 7e591aaa8701..42b11e22d697 100644 --- a/app-arch/pixz/pixz-1.0.7-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,6 +36,12 @@ DEPEND=" src_prepare() { default + # We're not interested in linting tests for our purposes (bug #915008) + cat > test/cppcheck-src.sh <<-EOF || die + #!/bin/sh + exit 77 + EOF + [[ ${PV} == "" ]] && eautoreconf } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 2fbeeaf35fe3..10a369c58a13 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,6 +36,12 @@ DEPEND=" src_prepare() { default + # We're not interested in linting tests for our purposes (bug #915008) + cat > test/cppcheck-src.sh <<-EOF || die + #!/bin/sh + exit 77 + EOF + [[ ${PV} == "" ]] && eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 8c0612f34306ce87915986def93614aae5802870 Author: Sam James gentoo org> AuthorDate: Thu Oct 20 04:02:55 2022 + Commit: Sam James gentoo org> CommitDate: Thu Oct 20 04:03:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c0612f3 app-arch/pixz: partially restore man page workaround for Bug: https://github.com/vasi/pixz/issues/94 Bug: https://bugs.gentoo.org/822732 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7-r1.ebuild | 3 ++- app-arch/pixz/pixz-.ebuild | 7 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7-r1.ebuild b/app-arch/pixz/pixz-1.0.7-r1.ebuild index 4cee8e634c94..7e591aaa8701 100644 --- a/app-arch/pixz/pixz-1.0.7-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.7-r1.ebuild @@ -52,5 +52,6 @@ src_configure() { src_install() { default -[[ ${PV} == "" ]] || doman src/pixz.1 + # https://github.com/vasi/pixz/issues/94 + [[ ${PV} == "" ]] || doman src/pixz.1 } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 78fd9a6c159b..2fbeeaf35fe3 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -45,3 +45,10 @@ src_configure() { econf } + +src_install() { + default + + # https://github.com/vasi/pixz/issues/94 + [[ ${PV} == "" ]] || doman src/pixz.1 +}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 1cc9cb4c6e2e6eacefeb33da4cb3eff53973cfbd Author: Sam James gentoo org> AuthorDate: Mon Oct 17 23:38:25 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 23:39:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc9cb4c app-arch/pixz: install man page Closes: https://bugs.gentoo.org/822732 Signed-off-by: Sam James gentoo.org> .../pixz/{pixz-1.0.7.ebuild => pixz-1.0.7-r1.ebuild}| 15 ++- app-arch/pixz/pixz-.ebuild | 17 +++-- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7-r1.ebuild similarity index 85% rename from app-arch/pixz/pixz-1.0.7.ebuild rename to app-arch/pixz/pixz-1.0.7-r1.ebuild index 7882044a1cad..4cee8e634c94 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit flag-o-matic -if [[ ${PV} == "" ]] ; then +if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; inherit git-r3 autotools else @@ -27,25 +27,30 @@ LIB_DEPEND=" RDEPEND=" !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) " -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} static? ( ${LIB_DEPEND} ) " -[[ ${PV} == "" ]] && BDEPEND+=" app-text/asciidoc" +[[ ${PV} == ]] && BDEPEND+=" app-text/asciidoc" src_prepare() { default + [[ ${PV} == "" ]] && eautoreconf } src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. # https://github.com/vasi/pixz/issues/67 export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } -src_test() { - emake check +src_install() { + default + +[[ ${PV} == "" ]] || doman src/pixz.1 } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index b3f2858f5bbc..ab96d59609c4 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -5,12 +5,12 @@ EAPI=7 inherit flag-o-matic -if [[ ${PV} == "" ]] ; then +if [[ ${PV} == ]] ; then EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor" @@ -27,25 +27,30 @@ LIB_DEPEND=" RDEPEND=" !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) " -DEPEND="${RDEPEND} +DEPEND=" + ${RDEPEND} static? ( ${LIB_DEPEND} ) " -[[ ${PV} == "" ]] && BDEPEND+=" app-text/asciidoc" +[[ ${PV} == ]] && BDEPEND+=" app-text/asciidoc" src_prepare() { default + [[ ${PV} == "" ]] && eautoreconf } src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. # https://github.com/vasi/pixz/issues/67 export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } -src_test() { - emake check +src_install() { + default + +[[ ${PV} == "" ]] || doman src/pixz.1 }
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 77f6e35a94d7f1ba07ff3759d4fdcc37d83650e3 Author: Sam James gentoo org> AuthorDate: Mon Oct 17 23:40:00 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 23:40:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f6e35a app-arch/pixz: drop obsolete man page workaround in Bug: https://bugs.gentoo.org/822732 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-.ebuild | 9 - 1 file changed, 9 deletions(-) diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index ab96d59609c4..78fd9a6c159b 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -43,14 +43,5 @@ src_configure() { use static && append-ldflags -static append-flags -std=gnu99 - # Workaround silly logic that breaks cross-compiles. - # https://github.com/vasi/pixz/issues/67 - export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } - -src_install() { - default - -[[ ${PV} == "" ]] || doman src/pixz.1 -}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 3117dc1b74ac882f82471da56055f19077ccd4d3 Author: WANG Xuerui gentoo org> AuthorDate: Thu May 5 07:21:25 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Thu May 5 07:48:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3117dc1b app-arch/pixz: forward ~loong Signed-off-by: WANG Xuerui gentoo.org> app-arch/pixz/pixz-.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index c6564c5abe3d..b3f2858f5bbc 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: fbe0f7a40af9fce8efaeb5839bca67e51a894e30 Author: WANG Xuerui gentoo org> AuthorDate: Thu May 5 07:21:21 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Thu May 5 07:48:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe0f7a4 app-arch/pixz: keyword 1.0.7 for ~loong Tests passed on real hardware. Signed-off-by: WANG Xuerui gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index cb614f55b91a..7882044a1cad 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 2a7e1776a99c81f357d7e5302f4fb24f16250085 Author: Sam James gentoo org> AuthorDate: Wed Feb 2 07:28:44 2022 + Commit: Sam James gentoo org> CommitDate: Wed Feb 2 07:28:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7e1776 app-arch/pixz: Stabilize 1.0.7 hppa, #832457 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index 3be55349c9ab..cb614f55b91a 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/files/, app-arch/pixz/
commit: fe7b8f570d9ec3f06d8512520afdce2146c920e4 Author: Andreas K. Huettel gentoo org> AuthorDate: Tue Jan 5 18:51:53 2021 + Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Jan 5 18:58:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7b8f57 app-arch/pixz: Remove old Bug: https://bugs.gentoo.org/707474 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas K. Huettel gentoo.org> app-arch/pixz/Manifest | 1 - .../pixz-1.0.6-avoid-unaligned-accesses.patch | 44 - app-arch/pixz/pixz-1.0.6-r1.ebuild | 46 -- 3 files changed, 91 deletions(-) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index d5f9c719c42..e3e710507a2 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1,2 +1 @@ -DIST pixz-1.0.6.tar.xz 119516 BLAKE2B 758a4985b946284587998ab2a653e51ded9838a7c77c7795c82c15c1693714468b07c2cbfd86a0c7ce7be34d9a5bd8fdc3285d503524ce299ba53179447e60ed SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7 DIST pixz-1.0.7.tar.xz 120876 BLAKE2B 23563837169611d54dc4540715537b2e16c66bd9682097e4f37957e7422b487f221603b11aa30a39fd05c77dbeddc1697ac9ffe208d984c1da885a67f79a180f SHA512 7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d diff --git a/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch b/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch deleted file mode 100644 index 24c53c9acc4..000 --- a/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch +++ /dev/null @@ -1,44 +0,0 @@ -https://github.com/vasi/pixz/pull/82 - -From 8b9a198d86e435929ed0c2246217d241ed1e707c Mon Sep 17 00:00:00 2001 -From: Matt Turner -Date: Sun, 1 Sep 2019 23:58:26 -0700 -Subject: [PATCH] Avoid unaligned accesses - -Architectures like SPARC do not allow unaligned accesses. Avoid them by -memcpy()ing the data to an aligned buffer. On x86 systems where -unaligned loads are fast, the memcpy() will be compiled away and the -same code generated as before. - src/endian.c | 8 ++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/endian.c b/src/endian.c -index 51aea58..122c7da 100644 a/src/endian.c -+++ b/src/endian.c -@@ -13,6 +13,7 @@ void xle64enc(uint8_t *d, uint64_t n) { - #elif defined(__linux__) || defined(__FreeBSD__) - - #include -+#include - #ifdef __linux__ - #include - #include -@@ -37,11 +38,14 @@ void xle64enc(uint8_t *d, uint64_t n) { - #endif - - uint64_t xle64dec(const uint8_t *d) { --return le64toh(*(uint64_t*)d); -+uint64_t tmp; -+memcpy(&tmp, d, sizeof(tmp)); -+return le64toh(tmp); - } - - void xle64enc(uint8_t *d, uint64_t n) { --*(uint64_t*)d = htole64(n); -+uint64_t tmp = htole64(n); -+memcpy(d, &tmp, sizeof(tmp)); - } - - #else diff --git a/app-arch/pixz/pixz-1.0.6-r1.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild deleted file mode 100644 index 4ef78d45feb..000 --- a/app-arch/pixz/pixz-1.0.6-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic - -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 autotools -else - SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" -fi - -DESCRIPTION="Parallel Indexed XZ compressor" -HOMEPAGE="https://github.com/vasi/pixz"; - -LICENSE="BSD-2" -SLOT="0" -IUSE="static" - -LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] - >=app-arch/xz-utils-5[static-libs(+)]" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} )" -[[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" - -PATCHES=( - "${FILESDIR}"/${P}-avoid-unaligned-accesses.patch -) - -src_prepare() { - default - [[ ${PV} == "" ]] && eautoreconf -} - -src_configure() { - use static && append-ldflags -static - append-flags -std=gnu99 - # Workaround silly logic that breaks cross-compiles. - # https://github.com/vasi/pixz/issues/67 - export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) - econf -}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 4db2a0480d14eeb0481d68fc00896ed4f0c222fb Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Dec 27 12:48:45 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Dec 27 12:51:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db2a048 app-arch/pixz: stable 1.0.7 for hppa stable wrt bug #760785 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index a8ebba1a088..7029b6dd0ab 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 77f2f8c47973a011f67b7f2254f131cf221dfeb3 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Dec 24 18:38:01 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Dec 24 18:38:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f2f8c4 app-arch/pixz: stable 1.0.7 for sparc stable wrt bug #760785 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index 1c2ae1db8be..a8ebba1a088 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 5ec84ec4700da09db34ad74ba409971edbc72cab Author: Sam James gentoo org> AuthorDate: Tue Dec 22 05:19:06 2020 + Commit: Sam James gentoo org> CommitDate: Tue Dec 22 05:19:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec84ec4 app-arch/pixz: Stabilize 1.0.7 ppc64, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index c7de0c44245..1c2ae1db8be 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 38f635631688d89e1fd8025c45b1d23099865824 Author: Sam James gentoo org> AuthorDate: Mon Dec 21 18:00:25 2020 + Commit: Sam James gentoo org> CommitDate: Mon Dec 21 18:01:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f63563 app-arch/pixz: Stabilize 1.0.7 arm64, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index 3f982f69029..c7de0c44245 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 40bb536f43d13334205ce326b02a0d1e12d272e9 Author: Sam James gentoo org> AuthorDate: Sun Dec 20 20:17:05 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 20:18:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40bb536f app-arch/pixz: Stabilize 1.0.7 arm, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index ceeffb06fed..3f982f69029 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 24226e0f11a6717dadb9dc93d11e896c16069fc6 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Dec 20 16:06:17 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Dec 20 16:30:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24226e0f app-arch/pixz: x86 stable (bug #760785) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index 8f4f7d97abe..ceeffb06fed 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: ade54da18c5e7dc3c32e387555b379c02fb0c1bb Author: Sam James gentoo org> AuthorDate: Sun Dec 20 06:32:37 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 06:32:37 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade54da1 app-arch/pixz: Stabilize 1.0.7 amd64, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index abd30f7635a..8f4f7d97abe 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: b7553fbd1a6f2d813255a49b722d8c826dbc0488 Author: Sam James gentoo org> AuthorDate: Sun Dec 20 02:14:54 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 02:14:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7553fbd app-arch/pixz: Stabilize 1.0.7 s390, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index 36bfc263a0d..abd30f7635a 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 s390 ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 564222756f16afcd7a06b137cdace9fca5041405 Author: Sam James gentoo org> AuthorDate: Sun Dec 20 02:14:38 2020 + Commit: Sam James gentoo org> CommitDate: Sun Dec 20 02:14:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56422275 app-arch/pixz: Stabilize 1.0.7 ppc, #760785 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild index c6564c5abe3..36bfc263a0d 100644 --- a/app-arch/pixz/pixz-1.0.7.ebuild +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 3b4ffa83366edb482963c79eb42fa85ac71e5a9c Author: Patrick McLean sony com> AuthorDate: Thu Aug 20 01:51:00 2020 + Commit: Patrick McLean gentoo org> CommitDate: Thu Aug 20 01:51:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4ffa83 app-arch/pixz: Sync Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Patrick McLean gentoo.org> app-arch/pixz/pixz-.ebuild | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 32751bd95c4..c6564c5abe3 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 inherit flag-o-matic @@ -20,12 +20,17 @@ LICENSE="BSD-2" SLOT="0" IUSE="static" -LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] - >=app-arch/xz-utils-5[static-libs(+)]" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" +LIB_DEPEND=" + >=app-arch/libarchive-2.8:=[static-libs(+)] + >=app-arch/xz-utils-5[static-libs(+)] +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) +" DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} )" -[[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" + static? ( ${LIB_DEPEND} ) +" +[[ ${PV} == "" ]] && BDEPEND+=" app-text/asciidoc" src_prepare() { default @@ -40,3 +45,7 @@ src_configure() { export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } + +src_test() { + emake check +}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 2b594db8a968b0c512a33f0e1c155f21279bb1e1 Author: Patrick McLean sony com> AuthorDate: Thu Aug 20 01:49:41 2020 + Commit: Patrick McLean gentoo org> CommitDate: Thu Aug 20 01:49:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b594db8 app-arch/pixz-1.0.7: Version bump Closes: https://bugs.gentoo.org/707474 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Patrick McLean gentoo.org> app-arch/pixz/Manifest | 1 + app-arch/pixz/pixz-1.0.7.ebuild | 51 + 2 files changed, 52 insertions(+) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index 97b996b1d4e..d5f9c719c42 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1 +1,2 @@ DIST pixz-1.0.6.tar.xz 119516 BLAKE2B 758a4985b946284587998ab2a653e51ded9838a7c77c7795c82c15c1693714468b07c2cbfd86a0c7ce7be34d9a5bd8fdc3285d503524ce299ba53179447e60ed SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7 +DIST pixz-1.0.7.tar.xz 120876 BLAKE2B 23563837169611d54dc4540715537b2e16c66bd9682097e4f37957e7422b487f221603b11aa30a39fd05c77dbeddc1697ac9ffe208d984c1da885a67f79a180f SHA512 7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7.ebuild new file mode 100644 index 000..c6564c5abe3 --- /dev/null +++ b/app-arch/pixz/pixz-1.0.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +if [[ ${PV} == "" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Parallel Indexed XZ compressor" +HOMEPAGE="https://github.com/vasi/pixz"; + +LICENSE="BSD-2" +SLOT="0" +IUSE="static" + +LIB_DEPEND=" + >=app-arch/libarchive-2.8:=[static-libs(+)] + >=app-arch/xz-utils-5[static-libs(+)] +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) +" +DEPEND="${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +[[ ${PV} == "" ]] && BDEPEND+=" app-text/asciidoc" + +src_prepare() { + default + [[ ${PV} == "" ]] && eautoreconf +} + +src_configure() { + use static && append-ldflags -static + append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) + econf +} + +src_test() { + emake check +}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 216bff6377ec08688806b279cd34a4c74d1ad9fd Author: Sam James gentoo org> AuthorDate: Tue Aug 18 13:30:18 2020 + Commit: Sam James gentoo org> CommitDate: Tue Aug 18 13:43:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216bff63 app-arch/pixz: Stabilize 1.0.6-r1 arm64, #737516 Signed-off-by: Sam James gentoo.org> app-arch/pixz/pixz-1.0.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6-r1.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild index b84075d033e..08b4bdc897d 100644 --- a/app-arch/pixz/pixz-1.0.6-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.6-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: aa0f9b10600074d653b7ad7b27d181e67241a10f Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 17 09:57:03 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 17 09:57:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa0f9b10 app-arch/pixz: arm stable wrt bug #737516 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> app-arch/pixz/pixz-1.0.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6-r1.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild index faee51a9f01..b84075d033e 100644 --- a/app-arch/pixz/pixz-1.0.6-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.6-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" + KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: a1adeb76ebc3ae8fc14bd5b62b29a5c098093b33 Author: Mike Frysinger gentoo org> AuthorDate: Sat Sep 28 21:01:50 2019 + Commit: Mike Frysinger gentoo org> CommitDate: Sat Sep 28 21:02:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1adeb76 app-arch/pixz: mark hppa/ia64/s390/sh stable Signed-off-by: Mike Frysinger gentoo.org> app-arch/pixz/pixz-1.0.6-r1.ebuild | 4 ++-- app-arch/pixz/pixz-.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.6-r1.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild index 7e207659629..37d6b9ffdf6 100644 --- a/app-arch/pixz/pixz-1.0.6-r1.ebuild +++ b/app-arch/pixz/pixz-1.0.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor" diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 488b2bce873..a1998849bea 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/, app-arch/pixz/files/
commit: 08b6896e6345db4ceb83e1718123e956522b4c27 Author: Matt Turner gentoo org> AuthorDate: Mon Sep 2 07:20:45 2019 + Commit: Matt Turner gentoo org> CommitDate: Mon Sep 2 07:20:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b6896e app-arch/pixz: Avoid unaligned accesses Signed-off-by: Matt Turner gentoo.org> .../pixz-1.0.6-avoid-unaligned-accesses.patch | 44 ++ .../{pixz-1.0.6.ebuild => pixz-1.0.6-r1.ebuild}| 4 ++ 2 files changed, 48 insertions(+) diff --git a/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch b/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch new file mode 100644 index 000..24c53c9acc4 --- /dev/null +++ b/app-arch/pixz/files/pixz-1.0.6-avoid-unaligned-accesses.patch @@ -0,0 +1,44 @@ +https://github.com/vasi/pixz/pull/82 + +From 8b9a198d86e435929ed0c2246217d241ed1e707c Mon Sep 17 00:00:00 2001 +From: Matt Turner +Date: Sun, 1 Sep 2019 23:58:26 -0700 +Subject: [PATCH] Avoid unaligned accesses + +Architectures like SPARC do not allow unaligned accesses. Avoid them by +memcpy()ing the data to an aligned buffer. On x86 systems where +unaligned loads are fast, the memcpy() will be compiled away and the +same code generated as before. +--- + src/endian.c | 8 ++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/src/endian.c b/src/endian.c +index 51aea58..122c7da 100644 +--- a/src/endian.c b/src/endian.c +@@ -13,6 +13,7 @@ void xle64enc(uint8_t *d, uint64_t n) { + #elif defined(__linux__) || defined(__FreeBSD__) + + #include ++#include + #ifdef __linux__ + #include + #include +@@ -37,11 +38,14 @@ void xle64enc(uint8_t *d, uint64_t n) { + #endif + + uint64_t xle64dec(const uint8_t *d) { +-return le64toh(*(uint64_t*)d); ++uint64_t tmp; ++memcpy(&tmp, d, sizeof(tmp)); ++return le64toh(tmp); + } + + void xle64enc(uint8_t *d, uint64_t n) { +-*(uint64_t*)d = htole64(n); ++uint64_t tmp = htole64(n); ++memcpy(d, &tmp, sizeof(tmp)); + } + + #else diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6-r1.ebuild similarity index 94% rename from app-arch/pixz/pixz-1.0.6.ebuild rename to app-arch/pixz/pixz-1.0.6-r1.ebuild index f4bb78275ca..7e207659629 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6-r1.ebuild @@ -27,6 +27,10 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" [[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" +PATCHES=( + "${FILESDIR}"/${P}-avoid-unaligned-accesses.patch +) + src_prepare() { default [[ ${PV} == "" ]] && eautoreconf
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: b46cf646bf07a863100351530204f275093062e0 Author: Matt Turner gentoo org> AuthorDate: Thu Aug 29 01:55:23 2019 + Commit: Matt Turner gentoo org> CommitDate: Thu Aug 29 01:55:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46cf646 app-arch/pixz-1.0.6: sparc stable Signed-off-by: Matt Turner gentoo.org> app-arch/pixz/pixz-1.0.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index bd8d4125bb5..f4bb78275ca 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: c1454b69b14f61a575420d206ff434fc2e8c4763 Author: Matt Turner gentoo org> AuthorDate: Sun Sep 16 17:30:21 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Sep 16 17:30:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1454b69 app-arch/pixz-1.0.6: ppc stable app-arch/pixz/pixz-1.0.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index c27e22add02..bd8d4125bb5 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: bebfed4539b0e614ff9935518b57fcff94465321 Author: Matt Turner gentoo org> AuthorDate: Thu Sep 13 02:30:40 2018 + Commit: Matt Turner gentoo org> CommitDate: Thu Sep 13 02:31:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebfed45 app-arch/pixz-1.0.6: ppc64 stable app-arch/pixz/pixz-1.0.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index c1aa8490634..c27e22add02 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 3c89050054adb9809e334f5efef8fc8fc8f78a7f Author: Jason Zaman gentoo org> AuthorDate: Wed May 30 11:25:40 2018 + Commit: Jason Zaman gentoo org> CommitDate: Wed May 30 11:25:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c890500 app-arch/pixz: amd64 stable Gentoo-bug: 644624 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-arch/pixz/pixz-1.0.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 7f7eb5c348f..c1aa8490634 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 11e0870e6b8cc9d9b67462f6877fcb50b6055bd7 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue May 29 11:13:58 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue May 29 11:13:58 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e0870e app-arch/pixz: x86 stable (bug #644624) Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-arch/pixz/pixz-1.0.6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 488b2bce873..7f7eb5c348f 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 9824dadc490f29b6fe004577b94cba92162d545e Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:14:00 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9824dadc app-arch/pixz: switch to release tarballs Upstream provides releases with generated autotools, so switch to that to speed up the build. app-arch/pixz/Manifest | 2 +- app-arch/pixz/pixz-1.0.6.ebuild | 12 ++-- app-arch/pixz/pixz-.ebuild | 12 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index fffe792998..3fe12b293c 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1 +1 @@ -DIST pixz-1.0.6.tar.gz 27603 SHA256 ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60 SHA512 432b4714501e4de53d5e4a9d91244cdf9b19cd3ef568d750e630cca16c91644073da6ff2ad676004e70a0a09b18dfdb9d6592420da47f0da3de64ec0757da2f7 WHIRLPOOL c796de23e0a0d78e28a03597202aa9730a2d57fa11942f705b726c48a1b42d9c7580c0efb11133fad7e461b937d1af6760f648fbf6d9a0196486753104ad161e +DIST pixz-1.0.6.tar.xz 119516 SHA256 02c50746b134fa1b1aae41fcc314d7c6f1919b3d48bcdea01bf11769f83f72e8 SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7 WHIRLPOOL cc5849746665a07e41e2f670410f00428a7ef9390e4dea83f1797efe51b1e73324002d68d74bf9c659affdcfc597ce45442da5f548d3326eb48af9fc6ce033c4 diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 7caca229a6..fe9d1a813c 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit flag-o-matic autotools +inherit flag-o-matic DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; @@ -16,21 +16,21 @@ LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] >=app-arch/xz-utils-5[static-libs(+)]" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} ) - app-text/asciidoc" + static? ( ${LIB_DEPEND} )" +[[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" if [[ ${PV} == "" ]] ; then EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 + inherit git-r3 autotools KEYWORDS="" else - SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; KEYWORDS="~amd64 ~arm ~x86" fi src_prepare() { default - eautoreconf + [[ ${PV} == "" ]] && eautoreconf } src_configure() { diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 7caca229a6..fe9d1a813c 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit flag-o-matic autotools +inherit flag-o-matic DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; @@ -16,21 +16,21 @@ LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] >=app-arch/xz-utils-5[static-libs(+)]" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} ) - app-text/asciidoc" + static? ( ${LIB_DEPEND} )" +[[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" if [[ ${PV} == "" ]] ; then EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 + inherit git-r3 autotools KEYWORDS="" else - SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; KEYWORDS="~amd64 ~arm ~x86" fi src_prepare() { default - eautoreconf + [[ ${PV} == "" ]] && eautoreconf } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: b2802449963409026ed6361d10db112fb9c24ff9 Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:17:32 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2802449 app-arch/pixz: add alpha/arm64/hppa/ia64/mips/ppc/ppc64/s390/sh/sparc love app-arch/pixz/pixz-1.0.6.ebuild | 2 +- app-arch/pixz/pixz-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index edba404e0d..488b2bce87 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor" diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index edba404e0d..488b2bce87 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then inherit git-r3 autotools else SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" fi DESCRIPTION="Parallel Indexed XZ compressor"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 36d10d69731092f1f0b827e51b2d2aff9091a2ff Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:11:41 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d10d69 app-arch/pixz: use default src_{compile,install} targets This is a standard autotools package, so use the default compile/install steps from the PM. These ad-hoc funcs look like leftovers from the much older versions. app-arch/pixz/pixz-1.0.6.ebuild | 12 +--- app-arch/pixz/pixz-.ebuild | 12 +--- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 7e31c748a8..7caca229a6 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit toolchain-funcs flag-o-matic autotools +inherit flag-o-matic autotools DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; @@ -41,13 +41,3 @@ src_configure() { export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } - -src_compile() { - emake CC="$(tc-getCC)" OPT="" -} - -src_install() { - dobin src/pixz - doman src/pixz.1 - dodoc NEWS README.md TODO -} diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 7e31c748a8..7caca229a6 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit toolchain-funcs flag-o-matic autotools +inherit flag-o-matic autotools DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; @@ -41,13 +41,3 @@ src_configure() { export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } - -src_compile() { - emake CC="$(tc-getCC)" OPT="" -} - -src_install() { - dobin src/pixz - doman src/pixz.1 - dodoc NEWS README.md TODO -}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 351d28c53dd07f1340185706421a7b5e80ba2b01 Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:09:24 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:46 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351d28c5 app-arch/pixz: drop old 1.0.3 version app-arch/pixz/Manifest | 1 - app-arch/pixz/pixz-1.0.3.ebuild | 49 - 2 files changed, 50 deletions(-) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index dc3c7b1c7d..fffe792998 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1,2 +1 @@ -DIST pixz-1.0.3.tar.gz 27105 SHA256 49f44520b411315ec4b02891eb77ba6060bdfd77ab5112e9c3e21de581c3384d SHA512 e33e038fc760a51b5bbc52c4faca2b165a5e4546438cd1bf9b41b91d6c8aabad43be367750ac1e7a7007c6d2544ce6dd4662fa60c99c763d96d918eeed002fa7 WHIRLPOOL 29ba24955280051d2d7562aca0b908c1228d0345beb7a6b1e330714ac8c39f6e86a87d60581c91a578950a9dfabbc96c59f64e8afecd2100499c64d4007f5477 DIST pixz-1.0.6.tar.gz 27603 SHA256 ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60 SHA512 432b4714501e4de53d5e4a9d91244cdf9b19cd3ef568d750e630cca16c91644073da6ff2ad676004e70a0a09b18dfdb9d6592420da47f0da3de64ec0757da2f7 WHIRLPOOL c796de23e0a0d78e28a03597202aa9730a2d57fa11942f705b726c48a1b42d9c7580c0efb11133fad7e461b937d1af6760f648fbf6d9a0196486753104ad161e diff --git a/app-arch/pixz/pixz-1.0.3.ebuild b/app-arch/pixz/pixz-1.0.3.ebuild deleted file mode 100644 index 03ad203c76..00 --- a/app-arch/pixz/pixz-1.0.3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit toolchain-funcs flag-o-matic autotools - -DESCRIPTION="Parallel Indexed XZ compressor" -HOMEPAGE="https://github.com/vasi/pixz"; -LICENSE="BSD-2" -SLOT="0" -IUSE="static" - -LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] - >=app-arch/xz-utils-5[static-libs(+)]" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} ) - app-text/asciidoc" - -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 - KEYWORDS="" -else - SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" -fi - -src_prepare() { - eautoreconf -} - -src_configure() { - use static && append-ldflags -static - append-flags -std=gnu99 - econf -} - -src_compile() { - emake CC="$(tc-getCC)" OPT="" -} - -src_install() { - dobin src/pixz - doman src/pixz.1 - dodoc README.md TODO -}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 9f0cd16cde9c14a818362307bcb6fcced4528a15 Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:16:06 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:49 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0cd16c app-arch/pixz: clean up style a bit Make the ebuild look more like other ebuilds by moving the KEYWORDS/SRC_URI settings up to the top. app-arch/pixz/pixz-1.0.6.ebuild | 23 +++ app-arch/pixz/pixz-.ebuild | 23 +++ 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index fe9d1a813c..edba404e0d 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -1,13 +1,21 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=6 +EAPI="6" inherit flag-o-matic +if [[ ${PV} == "" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; + KEYWORDS="~amd64 ~arm ~x86" +fi + DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; + LICENSE="BSD-2" SLOT="0" IUSE="static" @@ -19,15 +27,6 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" [[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 autotools - KEYWORDS="" -else - SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~amd64 ~arm ~x86" -fi - src_prepare() { default [[ ${PV} == "" ]] && eautoreconf diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index fe9d1a813c..edba404e0d 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,13 +1,21 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=6 +EAPI="6" inherit flag-o-matic +if [[ ${PV} == "" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; + KEYWORDS="~amd64 ~arm ~x86" +fi + DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; + LICENSE="BSD-2" SLOT="0" IUSE="static" @@ -19,15 +27,6 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" [[ ${PV} == "" ]] && DEPEND+=" app-text/asciidoc" -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; - inherit git-r3 autotools - KEYWORDS="" -else - SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"; - KEYWORDS="~amd64 ~arm ~x86" -fi - src_prepare() { default [[ ${PV} == "" ]] && eautoreconf
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 25fcea2f8aaba4520d635434f76f3a751d5dff6c Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:09:47 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:47 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fcea2f app-arch/pixz: fix cross-compiles app-arch/pixz/pixz-1.0.6.ebuild | 3 +++ app-arch/pixz/pixz-.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 63553def55..7e31c748a8 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -36,6 +36,9 @@ src_prepare() { src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 63553def55..7e31c748a8 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -36,6 +36,9 @@ src_prepare() { src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf }
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: ed97e43db5d1b0a118b5ef9352f68d83bae8dd01 Author: Tim Harder gentoo org> AuthorDate: Mon Aug 8 15:21:52 2016 + Commit: Tim Harder gentoo org> CommitDate: Mon Aug 8 15:25:28 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed97e43d app-arch/pixz: version bump to 1.0.6 (bug #572728) app-arch/pixz/Manifest| 1 + app-arch/pixz/{pixz-.ebuild => pixz-1.0.6.ebuild} | 7 --- app-arch/pixz/pixz-.ebuild| 7 --- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index 671dcf3..dc3c7b1 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1 +1,2 @@ DIST pixz-1.0.3.tar.gz 27105 SHA256 49f44520b411315ec4b02891eb77ba6060bdfd77ab5112e9c3e21de581c3384d SHA512 e33e038fc760a51b5bbc52c4faca2b165a5e4546438cd1bf9b41b91d6c8aabad43be367750ac1e7a7007c6d2544ce6dd4662fa60c99c763d96d918eeed002fa7 WHIRLPOOL 29ba24955280051d2d7562aca0b908c1228d0345beb7a6b1e330714ac8c39f6e86a87d60581c91a578950a9dfabbc96c59f64e8afecd2100499c64d4007f5477 +DIST pixz-1.0.6.tar.gz 27603 SHA256 ebde85148e927ed96abaeb9ab2166435c78d31e7c6b2847e8c8d6249b17f1b60 SHA512 432b4714501e4de53d5e4a9d91244cdf9b19cd3ef568d750e630cca16c91644073da6ff2ad676004e70a0a09b18dfdb9d6592420da47f0da3de64ec0757da2f7 WHIRLPOOL c796de23e0a0d78e28a03597202aa9730a2d57fa11942f705b726c48a1b42d9c7580c0efb11133fad7e461b937d1af6760f648fbf6d9a0196486753104ad161e diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild similarity index 91% copy from app-arch/pixz/pixz-.ebuild copy to app-arch/pixz/pixz-1.0.6.ebuild index 03ad203..63553de 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit toolchain-funcs flag-o-matic autotools @@ -29,6 +29,7 @@ else fi src_prepare() { + default eautoreconf } @@ -45,5 +46,5 @@ src_compile() { src_install() { dobin src/pixz doman src/pixz.1 - dodoc README.md TODO + dodoc NEWS README.md TODO } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 03ad203..63553de 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit toolchain-funcs flag-o-matic autotools @@ -29,6 +29,7 @@ else fi src_prepare() { + default eautoreconf } @@ -45,5 +46,5 @@ src_compile() { src_install() { dobin src/pixz doman src/pixz.1 - dodoc README.md TODO + dodoc NEWS README.md TODO }
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
commit: 3958da838eb311bbc276c19cf7b2af17c0028059 Author: Zero_Chaos gentoo org> AuthorDate: Mon Sep 7 21:36:59 2015 + Commit: Richard Farina gentoo org> CommitDate: Mon Sep 7 21:56:31 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3958da83 app-arch/pixz: fix header Package-Manager: portage-2.2.20.1 app-arch/pixz/pixz-1.0.3.ebuild | 2 +- app-arch/pixz/pixz-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-arch/pixz/pixz-1.0.3.ebuild b/app-arch/pixz/pixz-1.0.3.ebuild index 4a04aab..03ad203 100644 --- a/app-arch/pixz/pixz-1.0.3.ebuild +++ b/app-arch/pixz/pixz-1.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 4a04aab..03ad203 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$
[gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/files/, app-arch/pixz/
commit: 03c42cb70d8d0c35c40480d931ee1d7772ceeebc Author: Zero_Chaos gentoo org> AuthorDate: Mon Sep 7 21:36:26 2015 + Commit: Richard Farina gentoo org> CommitDate: Mon Sep 7 21:56:30 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c42cb7 app-arch/pixz: version bump and fix Package-Manager: portage-2.2.20.1 app-arch/pixz/Manifest | 2 +- app-arch/pixz/files/pixz-1.0.2-lm.patch| 25 .../pixz/{pixz-1.0.2.ebuild => pixz-1.0.3.ebuild} | 34 -- app-arch/pixz/pixz-.ebuild | 30 ++- 4 files changed, 35 insertions(+), 56 deletions(-) diff --git a/app-arch/pixz/Manifest b/app-arch/pixz/Manifest index f5ce1c9..671dcf3 100644 --- a/app-arch/pixz/Manifest +++ b/app-arch/pixz/Manifest @@ -1 +1 @@ -DIST pixz-1.0.2.tgz 21425 SHA256 af9dac41edd6bf57953471f7fcbd4793810003bf911593ba4c84f7cccb5f74af SHA512 ea3f37b725a0f08e87a6bc0af19522e92bb5b34fad49cfbfcc04e7054f4537cb09c8f3b56abda7f6d27ce64535b158a676a9e69f92141190840bd9ba255961f3 WHIRLPOOL 76b8af8833b9d87718b0a1fa5f596f6aa820b176b17cbde25f7cd0cf1f6b0cdce6c4d7b7c3d82b3f7b018a60bd6ce1ae6f43263875f0eeef5c93ae889856c60e +DIST pixz-1.0.3.tar.gz 27105 SHA256 49f44520b411315ec4b02891eb77ba6060bdfd77ab5112e9c3e21de581c3384d SHA512 e33e038fc760a51b5bbc52c4faca2b165a5e4546438cd1bf9b41b91d6c8aabad43be367750ac1e7a7007c6d2544ce6dd4662fa60c99c763d96d918eeed002fa7 WHIRLPOOL 29ba24955280051d2d7562aca0b908c1228d0345beb7a6b1e330714ac8c39f6e86a87d60581c91a578950a9dfabbc96c59f64e8afecd2100499c64d4007f5477 diff --git a/app-arch/pixz/files/pixz-1.0.2-lm.patch b/app-arch/pixz/files/pixz-1.0.2-lm.patch deleted file mode 100644 index 7db039a..000 --- a/app-arch/pixz/files/pixz-1.0.2-lm.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 6c9d6b9020c599f850c0b719cc9c041f1667671b Mon Sep 17 00:00:00 2001 -From: Dave Vasilevsky -Date: Thu, 10 Jan 2013 08:28:06 -0500 -Subject: [PATCH] Fix linking bug (issue 11) - - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index fe605f2..3b27690 100644 a/Makefile -+++ b/Makefile -@@ -12,7 +12,7 @@ MYCFLAGS = $(patsubst %,-I%/include,$(LIBPREFIX)) $(OPT) -std=gnu99 \ - MYLDFLAGS = $(patsubst %,-L%/lib,$(LIBPREFIX)) $(OPT) -Wall - - THREADS = -lpthread --LIBADD = $(THREADS) -llzma -larchive -+LIBADD = $(THREADS) -lm -llzma -larchive - - CC = gcc - COMPILE = $(CC) $(MYCFLAGS) $(CFLAGS) -c -o --- -1.8.1.2 - diff --git a/app-arch/pixz/pixz-1.0.2.ebuild b/app-arch/pixz/pixz-1.0.3.ebuild similarity index 65% rename from app-arch/pixz/pixz-1.0.2.ebuild rename to app-arch/pixz/pixz-1.0.3.ebuild index 4d3d7d5..4a04aab 100644 --- a/app-arch/pixz/pixz-1.0.2.ebuild +++ b/app-arch/pixz/pixz-1.0.3.ebuild @@ -4,20 +4,10 @@ EAPI=5 -inherit toolchain-funcs flag-o-matic eutils +inherit toolchain-funcs flag-o-matic autotools DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; - -if [[ ${PV} == "" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/pixz.git"; - inherit git-2 - KEYWORDS="" -else - SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - KEYWORDS="~amd64 ~arm ~x86" -fi - LICENSE="BSD-2" SLOT="0" IUSE="static" @@ -26,14 +16,26 @@ LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] >=app-arch/xz-utils-5[static-libs(+)]" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} )" + static? ( ${LIB_DEPEND} ) + app-text/asciidoc" + +if [[ ${PV} == "" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git"; + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/vasi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi src_prepare() { - epatch "${FILESDIR}"/${P}-lm.patch + eautoreconf } src_configure() { use static && append-ldflags -static + append-flags -std=gnu99 + econf } src_compile() { @@ -41,7 +43,7 @@ src_compile() { } src_install() { - dobin pixz - doman pixz.1 - dodoc README TODO + dobin src/pixz + doman src/pixz.1 + dodoc README.md TODO } diff --git a/app-arch/pixz/pixz-.ebuild b/app-arch/pixz/pixz-.ebuild index 5794109..4a04aab 100644 --- a/app-arch/pixz/pixz-.ebuild +++ b/app-arch/pixz/pixz-.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit toolchain-funcs flag-o-matic +inherit toolchain-funcs flag-o-matic autotools DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz"; @@ -16,32 +16,34 @@ LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)] >=app-arch/xz-utils-5[static-libs(+)]" RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} )" + static? ( ${LIB_DEPEND} ) + app-text/asciidoc" i