From 0bb8253b38dc8638a46b66ba909c1bfd1054e1ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Nov 2022 09:13:50 +0000 Subject: gentoo auto-resync : 04:11:2022 - 09:13:50 --- dev-libs/kpathsea/Manifest | 5 +- ...210325-Fix-Wimplicit-function-declaration.patch | 31 ++++++ .../kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild | 110 +++++++++++++++++++++ dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild | 106 -------------------- dev-libs/kpathsea/metadata.xml | 5 +- 5 files changed, 148 insertions(+), 109 deletions(-) create mode 100644 dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch create mode 100644 dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild delete mode 100644 dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild (limited to 'dev-libs/kpathsea') diff --git a/dev-libs/kpathsea/Manifest b/dev-libs/kpathsea/Manifest index 47a6dc305344..8e90af409223 100644 --- a/dev-libs/kpathsea/Manifest +++ b/dev-libs/kpathsea/Manifest @@ -1,8 +1,9 @@ +AUX kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch 1340 BLAKE2B 51267e47bf043ab2b63b886d7659b4af672ae7d6f22795073bc14a3e11a3f808373d3e798d970585d1f0ba89ccda008ed8233dab8d1d36e81afe9f9dda7df8ff SHA512 49e2b1790fa1837477a3f9a6ddaa2ffc842bd3180769b058e683b1d387dc8755bc74be923414204e5b0c3feb350b0aafeaf29129fed2d212f239c57861b5db07 AUX kpathsea.conf 36 BLAKE2B 5f3ea92946c78a2a4aa336aa38783cf894859e368ec2437facdb9a814ba258097831166df15afc412d6df3fd6639fbca8f2c2f33efa5d69fde75090a9fc7dd3b SHA512 4221eda451499869a3b9b6b5c07e6866df963368481c7169645e0923f674ce6aa7bd9411303bb087fe55d99eea8b187b2a978c9f9ba0e40802f1863268566e28 AUX texmf-update-r2 6017 BLAKE2B b9ded4693768342c6fe9a0d99b6836e74b3d8b9a5bb3d335d8ecbbe5c2a45967ac880ebfc2476c04e461ca2dac3eb02ee6c41ee34a050ba94b54d9d731853ee0 SHA512 924c6a53d778b1a05252830d914c92f8d1a8d1c479cd8a065b861bf1f263d6bb529c42c365134fea19ea1d9bedf68a943d609cd89abf73912f90bbc3397fb14f DIST kpathsea-texmf.d-11.tar.xz 12616 BLAKE2B f64dcaae859d6c95d534907f69519428973fad5b7a734eec269b3cc89fc2ae527a459b4ae4d966a3394d6a95f40fac16841f59f9f6cabf2a07dcdcb98a14cba9 SHA512 eec72ecc35edd47bd9a5762f0d06212e4625eea1ee2ffc36f93885b548ca6c4e0eb65345a1ec050f3f838aed5128bb32eda509b5aadbad6643469b4955441f22 DIST texlive-20210325-source.tar.xz 54837368 BLAKE2B 66bd4bdd43ff53513004b9b9b90ababa0ab5efcf183a27864a3d39cde9cf90721456bda90c49ad6014f4b12d2e6293feaf9a8b152b85a89ffaa96bf5056347df SHA512 afd6eb24efaeac7c58d43ff24162aece919079a9ae02934509f068c7a3828223c33c14d9db11ff7fea3560b08a06f352446ba7f845eefb4a56a87b96f088f213 DIST tl-kpathsea-2021.tar.xz 32308 BLAKE2B 83052cefc5699d46ce104e4379d39eee8e86b514d25245a6104fc9940accf131790ae144ca11dbd3b99a31a06017495bb5a53afb1e49da71a2c9eec008200653 SHA512 398358b84ecb81fece969fbd3521b093f7e791feec828c218e6371c26d57956491328999517a65711d45dfb04c83fd643ef0fad6a0153590866eddf485d5c575 DIST tl-kpathsea.doc-2021.tar.xz 1066608 BLAKE2B 798ccf9953e4fa2037f81b56dfa30cf99c56c17e2942d5a0f2041b871958284f05150e5d7631b542896190f178327f009130e6bb07f60e8173ec1e9f12c4cda9 SHA512 8ecccee7ad99220f91139dcd9c2ce0bd19eb0e2fe74f0a965f68e59a28bd3de454624d6e014ef2a5c481a537acb95b08a9546a79abd8df429300043ecf973545 -EBUILD kpathsea-6.3.3_p20210325.ebuild 3310 BLAKE2B 742570b3575dd5ae4155ade4d9942ac20c17ad204238b3dd3e47876440fd070f2989ba714bde51cb22f2f860e5dd764d9211a94628945d476848aa44ec3d1857 SHA512 4a6b03cca7ba488bae72d9b402e93addef9a0056810babb0efe342fa058f16df1b56016f6535bebd08f605a5448de86e09ff4ff979bf71c556f469f7c08ff15a -MISC metadata.xml 359 BLAKE2B f8f134283ba7c09acbe2287098bf3730562d5eba164a72164f74af41454ee332ae783ebe74b795e8ef47357d25601c1e3b9956a46018327ebf9db47c9b5fa431 SHA512 5443fd37f07be32ccbc409f63b8a337888ecea5466871a071b917bedc49b07680ae83d53a4dcdeffb330a985e67e112f04a16576b790f6f02c7a30b716fc7dfb +EBUILD kpathsea-6.3.3_p20210325-r1.ebuild 3401 BLAKE2B 5970b21f3806264c1932fbcb0f2ccedea39d702991f313ef9ba247d86a8c55d2137d462271e72b5583fd91754adede9e513a3dbbb57f70142c22b085597857af SHA512 7fecf314c49f7005cd0dea295720378d8f1a6ba1c02402aed23fee4c741526c4774fd0428d642b94e8a062b5a2952f40bc4ac8a43d17b91d2dc04b18489e1b5a +MISC metadata.xml 448 BLAKE2B b21dc893e893d1436adc5c3b486139cbf75bd1dd49318b2d552692705a1398d5bcb5e9d7c8a7757abee8b995a127d56702d497d263cc8d0dd2bb2a1c7b8443c5 SHA512 de08adc50b3edccebe1b625acedca999aa7c9aa4b117aacb7d40e4e7e8d7952b4e1d684f0124127a19cb008022c9effce1cd5f38f0bd216258fac8c32c220dd5 diff --git a/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..89cf314856ae --- /dev/null +++ b/dev-libs/kpathsea/files/kpathsea-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch @@ -0,0 +1,31 @@ +Sent upstream to tlbuild mailing list. Not yet in archive. + +From: Sam James +Date: Fri, 4 Nov 2022 04:58:38 +0000 +Subject: [PATCH] Fix -Wimplicit-function-declaration + +Add includes for exit(). Clang 16 makes -Wimplicit-function-declaration an error by default. + +Signed-off-by: Sam James +--- a/configure.ac ++++ b/configure.ac +@@ -45,7 +45,8 @@ if test "x$ac_cv_func_getcwd" = xyes; then + # We only need to run this if we have getcwd. + AC_CACHE_CHECK([whether getcwd uses fork or vfork], + [kb_cv_func_getcwd_forks], +- [AC_RUN_IFELSE([AC_LANG_PROGRAM([[int fork() { exit(1); } ++ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ++ int fork() { exit(1); } + int vfork() { exit(1); } + extern char *getcwd(); + char path[100];]], +--- a/configure ++++ b/configure +@@ -13920,6 +13920,7 @@ else + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ ++#include + int fork() { exit(1); } + int vfork() { exit(1); } + extern char *getcwd(); diff --git a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild new file mode 100644 index 000000000000..45e773f12628 --- /dev/null +++ b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit texlive-common libtool prefix tmpfiles + +TEXMFD_VERSION="11" + +DESCRIPTION="Path searching library for TeX-related files" +HOMEPAGE="http://tug.org/texlive/" +SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz + https://dev.gentoo.org/~zlogene/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/${PV%_p*}" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc source static-libs" + +S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} + +TL_VERSION=2021 +EXTRA_TL_MODULES="kpathsea" +EXTRA_TL_DOC_MODULES="kpathsea.doc" + +for i in ${EXTRA_TL_MODULES} ; do + SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz" +done + +SRC_URI="${SRC_URI} doc? ( " +for i in ${EXTRA_TL_DOC_MODULES} ; do + SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz" +done +SRC_URI="${SRC_URI} ) " + +TEXMF_PATH=/usr/share/texmf-dist + +PATCHES=( + "${FILESDIR}"/${PN}-6.3.3_p20210325-Fix-Wimplicit-function-declaration.patch +) + +src_prepare() { + default + cd "${WORKDIR}/texlive-${PV#*_p}-source" || die + S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize + cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update || die + eprefixify "${S}"/texmf-update +} + +src_configure() { + # Too many regexps use A-Z a-z constructs, what causes problems with locales + # that don't have the same alphabetical order than ascii. Bug #347798 + # So we set LC_ALL to C in order to avoid problems. + export LC_ALL=C + + # Disable largefile because it seems to cause problems on big endian 32 bits + # systems... + econf \ + --disable-largefile \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install + find "${D}" -name '*.la' -delete || die + + dodir /usr/share # just in case + cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" + if use source ; then + cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" + fi + + # Take care of fmtutil.cnf and texmf.cnf + dodir /etc/texmf/{fmtutil.d,texmf.d} + + # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's + # texmf.cnf + # It will also be generated from /etc/texmf/texmf.d files by texmf-update + rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf" || die + + insinto /etc/texmf/texmf.d + doins "${WORKDIR}/texmf.d/"*.cnf + + # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files + # by texmf-update + rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die + + dosym ../../../../etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf + dosym ../../../../etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf + + newsbin "${S}/texmf-update" texmf-update + + # Keep it as that's where the formats will go + keepdir /var/lib/texmf + + dodoc ChangeLog NEWS PROJECTS README + + # The default configuration expects it to be world writable, bug #266680 + # People can still change it with texconfig though. + dotmpfiles "${FILESDIR}"/kpathsea.conf +} + +pkg_postinst() { + tmpfiles_process kpathsea.conf + etexmf-update +} + +pkg_postrm() { + etexmf-update +} diff --git a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild b/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild deleted file mode 100644 index 43a961e05eb2..000000000000 --- a/dev-libs/kpathsea/kpathsea-6.3.3_p20210325.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit texlive-common libtool prefix tmpfiles - -TEXMFD_VERSION="11" - -DESCRIPTION="Path searching library for TeX-related files" -HOMEPAGE="http://tug.org/texlive/" -SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz - https://dev.gentoo.org/~zlogene/distfiles/texlive/${PN}-texmf.d-${TEXMFD_VERSION}.tar.xz" - -LICENSE="GPL-2" -SLOT="0/${PV%_p*}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc source static-libs" - -S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} - -TL_VERSION=2021 -EXTRA_TL_MODULES="kpathsea" -EXTRA_TL_DOC_MODULES="kpathsea.doc" - -for i in ${EXTRA_TL_MODULES} ; do - SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz" -done - -SRC_URI="${SRC_URI} doc? ( " -for i in ${EXTRA_TL_DOC_MODULES} ; do - SRC_URI="${SRC_URI} https://dev.gentoo.org/~zlogene/distfiles/texlive/tl-${i}-${TL_VERSION}.tar.xz" -done -SRC_URI="${SRC_URI} ) " - -TEXMF_PATH=/usr/share/texmf-dist - -src_prepare() { - default - cd "${WORKDIR}/texlive-${PV#*_p}-source" || die - S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize - cp "${FILESDIR}/texmf-update-r2" "${S}"/texmf-update || die - eprefixify "${S}"/texmf-update -} - -src_configure() { - # Too many regexps use A-Z a-z constructs, what causes problems with locales - # that don't have the same alphabetical order than ascii. Bug #347798 - # So we set LC_ALL to C in order to avoid problems. - export LC_ALL=C - - # Disable largefile because it seems to cause problems on big endian 32 bits - # systems... - econf \ - --disable-largefile \ - $(use_enable static-libs static) -} - -src_install() { - emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install - find "${D}" -name '*.la' -delete || die - - dodir /usr/share # just in case - cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees" - if use source ; then - cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files" - fi - - # Take care of fmtutil.cnf and texmf.cnf - dodir /etc/texmf/{fmtutil.d,texmf.d} - - # Remove default texmf.cnf to ship our own, greatly based on texlive dvd's - # texmf.cnf - # It will also be generated from /etc/texmf/texmf.d files by texmf-update - rm -f "${ED}${TEXMF_PATH}/web2c/texmf.cnf" || die - - insinto /etc/texmf/texmf.d - doins "${WORKDIR}/texmf.d/"*.cnf - - # Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files - # by texmf-update - rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf" || die - - dosym ../../../../etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf - dosym ../../../../etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf - - newsbin "${S}/texmf-update" texmf-update - - # Keep it as that's where the formats will go - keepdir /var/lib/texmf - - dodoc ChangeLog NEWS PROJECTS README - - # The default configuration expects it to be world writable, bug #266680 - # People can still change it with texconfig though. - dotmpfiles "${FILESDIR}"/kpathsea.conf -} - -pkg_postinst() { - tmpfiles_process kpathsea.conf - etexmf-update -} - -pkg_postrm() { - etexmf-update -} diff --git a/dev-libs/kpathsea/metadata.xml b/dev-libs/kpathsea/metadata.xml index 52546db07960..08ee5edcf6b4 100644 --- a/dev-libs/kpathsea/metadata.xml +++ b/dev-libs/kpathsea/metadata.xml @@ -5,8 +5,11 @@ aballier@gentoo.org Alexis Ballier - + tex@gentoo.org Gentoo TeX Project + + TeX-Live/texlive-source + -- cgit v1.2.3