mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
sys-apps/texinfo: Sync with Gentoo
It's from Gentoo commit 2db0391ce7d6ba34f974f57468ac79300dfc7419. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
094773e3b2
commit
3366503d7b
@ -1 +1,4 @@
|
||||
DIST texinfo-7.2.92.tar.xz 6931756 BLAKE2B 0048ddd72dddb3bc58e05f0562514e80495fd98eb4c9b1fb950c941bec729dd07ac8575a5685ea63cfa993143f2e9c1c34df89dc5feb16407dfb314d82c24bd4 SHA512 3aafc0cb035e0f72e5539473cc76d9b0795f496d24cc6e128fec54b267b5b9a1b6ba4ee721dffd014a5a17d2eac0ed440b615a9c65918e2c74ce1e601dfdf654
|
||||
DIST texinfo-7.2.92.tar.xz.sig 265 BLAKE2B ca333bd4010df6d78b36eb5b4bbe414859946c75726b16973e479a9f44bcc4f6e76d9c596f09da8e67fee06d63e1a59c028220b4db79efca6fabb4f9dcfbcb25 SHA512 259e280d13e880d3a82ef28fd670f5ef1d0bd8aacc915f9053420cc414c317e6f13d8c5501162b41ee0d7b6f5d764152a410b92bc20532fa3a89f59418600b9c
|
||||
DIST texinfo-7.2.tar.xz 6408432 BLAKE2B fc6bd020310a437a73d5723d257ca3da1d15329e9e668fa78c49ac77759c2c990d4422c2a7071b217ea214b88389a0cbb43d3fcfa5fe9bf9651270167b15c342 SHA512 8e67337ae12a552fc620c43725507a4978710ea6630e98b0f5e98eb3f79a90e191dde5225699aa6217c26f171d277461f76150f0459cd07b40c3234d2f3d89bf
|
||||
DIST texinfo-7.2.tar.xz.sig 265 BLAKE2B dc3a1b157efce581ff67b1605c646a5c78fe355176376b2ec8f5d35f0b1e28fc86ef03e73fe2f2ba4e50cc893d1ad379f6be1b8b627a6eb78560b37aeb37c880 SHA512 fcb5bcf655e16f8994b33242516cff7f5dc6684555c889fee4a4e5b01cbc9c8163d6ea5c77722b2bb8d6f65120650de4daff027bee135d1c29f82316211d8fb4
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: if your package uses the texi2dvi utility, it must depend on the
|
||||
@ -22,13 +22,24 @@ if [[ ${PV} == 9999 ]]; then
|
||||
>=dev-build/automake-1.16
|
||||
dev-build/libtool
|
||||
"
|
||||
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
|
||||
REGEN_BDEPEND=""
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
REGEN_BDEPEND=""
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/texinfo.asc
|
||||
inherit verify-sig
|
||||
|
||||
if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="
|
||||
https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
else
|
||||
SRC_URI="
|
||||
mirror://gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
fi
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
|
||||
108
sdk_container/src/third_party/portage-stable/sys-apps/texinfo/texinfo-7.2.92.ebuild
vendored
Normal file
108
sdk_container/src/third_party/portage-stable/sys-apps/texinfo/texinfo-7.2.92.ebuild
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: if your package uses the texi2dvi utility, it must depend on the
|
||||
# virtual/texi2dvi package to pull in all the right deps. The tool is not
|
||||
# usable out-of-the-box because it requires the large tex packages.
|
||||
|
||||
# Keep an eye on the release/$(ver_cut 1-2) branch upstream for backports.
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU info program and utilities"
|
||||
HOMEPAGE="https://www.gnu.org/software/texinfo/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/texinfo.git"
|
||||
REGEN_BDEPEND="
|
||||
>=dev-build/autoconf-2.62
|
||||
>=dev-build/automake-1.16
|
||||
dev-build/libtool
|
||||
"
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/texinfo.asc
|
||||
inherit verify-sig
|
||||
|
||||
if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="
|
||||
https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
else
|
||||
SRC_URI="
|
||||
mirror://gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
fi
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="nls +standalone static test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
|| ( app-doc/info-manual >=app-editors/emacs-26:* )
|
||||
>=sys-libs/ncurses-5.2-r2:=
|
||||
standalone? ( >=dev-lang/perl-5.8.1 )
|
||||
!standalone? (
|
||||
>=dev-lang/perl-5.8.1:=
|
||||
dev-libs/libunistring:=
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${REGEN_BDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.19.6 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
./autogen.sh || die
|
||||
fi
|
||||
|
||||
# Needed if a patch touches install-info.c
|
||||
#touch man/install-info.1 || die
|
||||
|
||||
if use prefix ; then
|
||||
sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die
|
||||
touch {doc,man}/{texi2dvi,texi2pdf,pdftexi2dvi}.1 || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions
|
||||
# bug #622576
|
||||
local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}"
|
||||
local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}"
|
||||
|
||||
use static && append-ldflags -static
|
||||
|
||||
# TODO:
|
||||
# --with-external-Unicode-EastAsianWidth
|
||||
# --with-external-Text-Unidecode
|
||||
# --with-external-libintl-perl
|
||||
# --enable-perl-xs
|
||||
# --enable-xs-perl-libintl for musl (7.2)?
|
||||
# --with-swig
|
||||
#
|
||||
# Also, 7.0.91 seemed to introduce a included-libunistring w/ USE=-standalone
|
||||
# but it doesn't seem to do anything?
|
||||
local myeconfargs=(
|
||||
--cache-file="${S}"/config.cache
|
||||
$(use_enable nls)
|
||||
$(use_enable !standalone perl-xs)
|
||||
$(use_enable test t2a-tests)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Note: if your package uses the texi2dvi utility, it must depend on the
|
||||
@ -22,13 +22,24 @@ if [[ ${PV} == 9999 ]]; then
|
||||
>=dev-build/automake-1.16
|
||||
dev-build/libtool
|
||||
"
|
||||
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz"
|
||||
REGEN_BDEPEND=""
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
REGEN_BDEPEND=""
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/texinfo.asc
|
||||
inherit verify-sig
|
||||
|
||||
if [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
|
||||
SRC_URI="
|
||||
https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
else
|
||||
SRC_URI="
|
||||
mirror://gnu/${PN}/${P}.tar.xz
|
||||
verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
REGEN_BDEPEND="verify-sig? ( sec-keys/openpgp-keys-texinfo )"
|
||||
fi
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
@ -78,7 +89,10 @@ src_configure() {
|
||||
# TODO:
|
||||
# --with-external-Unicode-EastAsianWidth
|
||||
# --with-external-Text-Unidecode
|
||||
# --with-external-libintl-perl
|
||||
# --enable-perl-xs
|
||||
# --enable-xs-perl-libintl for musl (7.2)?
|
||||
# --with-swig
|
||||
#
|
||||
# Also, 7.0.91 seemed to introduce a included-libunistring w/ USE=-standalone
|
||||
# but it doesn't seem to do anything?
|
||||
@ -86,6 +100,7 @@ src_configure() {
|
||||
--cache-file="${S}"/config.cache
|
||||
$(use_enable nls)
|
||||
$(use_enable !standalone perl-xs)
|
||||
$(use_enable test t2a-tests)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user