From 046c3c0984fd20387a9f86cdd0842fd81e70d94f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Jan 2023 11:54:41 +0000 Subject: gentoo auto-resync : 15:01:2023 - 11:54:40 --- dev-tcltk/Manifest.gz | Bin 5809 -> 5812 bytes dev-tcltk/blt/Manifest | 2 +- dev-tcltk/blt/blt-2.5.3-r1.ebuild | 139 -------------------------------------- dev-tcltk/blt/blt-2.5.3-r2.ebuild | 139 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 140 insertions(+), 140 deletions(-) delete mode 100644 dev-tcltk/blt/blt-2.5.3-r1.ebuild create mode 100644 dev-tcltk/blt/blt-2.5.3-r2.ebuild (limited to 'dev-tcltk') diff --git a/dev-tcltk/Manifest.gz b/dev-tcltk/Manifest.gz index bb8eb630cbd9..07cd4eea885b 100644 Binary files a/dev-tcltk/Manifest.gz and b/dev-tcltk/Manifest.gz differ diff --git a/dev-tcltk/blt/Manifest b/dev-tcltk/blt/Manifest index ae7de908e028..37be9bf4c1fe 100644 --- a/dev-tcltk/blt/Manifest +++ b/dev-tcltk/blt/Manifest @@ -4,5 +4,5 @@ AUX blt-2.5.3-gentoo.patch 1280 BLAKE2B 8c2107115f34b1acb384c490e893d0ef357149c1 AUX blt-2.5.3-lto.patch 877 BLAKE2B a61977113475d98fb2315ac0ab5aeae3ceb270552b19da20a333bfd2124a8ab49053f873c799c31a02752b15c7be9a7625cda270196335be33bd2bf6d0f15d65 SHA512 9b7f7fceafb226cfa6e8d758a5b01a7e52cb49c2c2ff730a82a9458a6c846a0825c500e960c96d62e4dde67ea1054b740a09d374ba3df3a293dd4fcad31870fd DIST blt-2.5.3-debian-patches.tar.gz 52252 BLAKE2B 700a2df32117ea84f9e211e18bda0d64163d24b633b0c5735808da6f3c5f32b73a69e9f1af548cca7eea4538c2aae57a87d82b2f61673e49709ac30dc036e38a SHA512 3da7831c3c8a7847e004cfb81e911883eb29f565e63f3b7ed47719ccba0a0cb593c0dbb77ff22262d5f8c4a3cb94cc074fd9c02f37729fe7763533be6677a852 DIST blt-src-2.5.3.zip 2724036 BLAKE2B c669bc033e691d1717b6b6dccf42901fed26f58bb4d2e9fffdd4e7f83eae788e1cbdb8fd1bcdc860845a569232ec26d06773146a420984d8abf5d25ee7f73dd9 SHA512 f589564cc5f790ab11ac1356b2e27659ef0e6132ffde42d4325f0aa8d8aa4269fdb9e81dd1c196017518704e4c1c78c0d4116f32afd1e6a1c60878961b8cdb26 -EBUILD blt-2.5.3-r1.ebuild 3964 BLAKE2B ebcc1190dae7630ce2ece48368a1414bbc68f6c5d2cddbcab1f919123fe62cfe51c16f2148d7e4fa27edb712ceb48cb9523bbd53733b6bb600b5fdb6951943f1 SHA512 6bc08c50d2b2a0650d726f06f636d9fbe5649aa43cca3828916466c5d310932d10ca90babe63984e8fc10598ad354bc2ef4dd242bcf49a02c66e0eba7a6cb070 +EBUILD blt-2.5.3-r2.ebuild 3948 BLAKE2B be2c483251f845628b219cf438cdc4856d6a23d0d2840c5a2635c2b11bb7d06221c2ad161556728f06167eec1fd62fafdfdf535c49205c9409ed2e97d0fb1a74 SHA512 7ba9f5d61eb3786c57ec706f4fd8484713b07a0467896d1a6355cf3c867766c8b5597022eb359d1832841394de0ea1303f1e270bf0449ab8a9362a7007938c62 MISC metadata.xml 337 BLAKE2B 516358308d0546bf002efb976c99fd297cdae8d4f9b7cc59b5eff5bb9ec530150ad0e0cf0b3cbb9a3285547683505f62d3ded7d55daba20c0935c55818155386 SHA512 1ea3c5a04ee8192793fbfb59d7532e4b8aca70c782378ad6f475445aa828680a09bb0e4f2ed0ec09df225582f545dcb32577dec58562fa307c775e9a7e10239c diff --git a/dev-tcltk/blt/blt-2.5.3-r1.ebuild b/dev-tcltk/blt/blt-2.5.3-r1.ebuild deleted file mode 100644 index 52f8652b362b..000000000000 --- a/dev-tcltk/blt/blt-2.5.3-r1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MYP=${PN}$(ver_cut 1-2) -SHVER=$(ver_rs 1 '' $(ver_cut 1-2)) - -inherit autotools flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Extension to Tk, adding new widgets, geometry managers, and misc commands" -HOMEPAGE="https://sourceforge.net/projects/wize/" -SRC_URI="mirror://sourceforge/wize/${PN}-src-${PV}.zip - https://dev.gentoo.org/~tupone/distfiles/${P}-debian-patches.tar.gz" - -IUSE="jpeg static-libs X" -SLOT="0/${SHVER}" -LICENSE="BSD" -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" - -DEPEND=" - dev-lang/tk:0= - jpeg? ( media-libs/libjpeg-turbo:0= ) - X? ( x11-libs/libX11 )" -RDEPEND="${DEPEND}" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}"/${MYP} - -MAKEOPTS+=" -j1" - -PATCHES=( - "${WORKDIR}"/patches/02-debian-all.patch - "${WORKDIR}"/patches/03-fedora-patch-2.patch - "${WORKDIR}"/patches/04-fedora-tk8.5.6.patch - "${WORKDIR}"/patches/05-tk8.5-zoomstack.patch - "${WORKDIR}"/patches/doc-typos.patch - "${WORKDIR}"/patches/tcl8.6.patch - "${WORKDIR}"/patches/tk8.6.patch - "${WORKDIR}"/patches/install.patch - "${WORKDIR}"/patches/usetclint.patch - "${WORKDIR}"/patches/usetkint.patch - "${WORKDIR}"/patches/table.patch - "${WORKDIR}"/patches/ldflags.patch - "${WORKDIR}"/patches/pkgindex.patch - "${WORKDIR}"/patches/decls.patch - "${WORKDIR}"/patches/bltnsutil.patch - "${WORKDIR}"/patches/blthash.patch - "${WORKDIR}"/patches/const.patch - "${WORKDIR}"/patches/uninitialized.patch - "${WORKDIR}"/patches/unused.patch - "${WORKDIR}"/patches/pointertoint.patch - "${WORKDIR}"/patches/autoreconf.patch - "${WORKDIR}"/patches/switch.patch - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-darwin.patch - "${FILESDIR}"/${P}-gbsd.patch - "${FILESDIR}"/${P}-lto.patch -) - -src_prepare() { - default - rm acconfig.h || die - # Set the correct libdir and drop RPATH - sed \ - -e "s:\(^libdir=\${exec_prefix}/\)lib:\1$(get_libdir):" \ - -e 's:LD_RUN_PATH=.*$:LD_RUN_PATH="":g' \ - -i configure.in || die "sed configure* failed" - sed \ - -e "/^scriptdir =/s:lib:$(get_libdir):" \ - -i Makefile.in demos/Makefile.in || die "sed Makefile.in failed" - - sed \ - -e "/AR/s:ar:$(tc-getAR):g" \ - -e 's:0444:0644:g' \ - -i generic/Makefile.in || die - - append-cflags -fPIC - - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - LC_ALL=C \ - econf \ - --x-includes="${EPREFIX}/usr/include" \ - --x-libraries="${EPREFIX}/usr/$(get_libdir)" \ - --with-blt="${EPREFIX}/usr/$(get_libdir)" \ - --with-tcl="${EPREFIX}/usr/$(get_libdir)" \ - --with-tk="${EPREFIX}/usr/$(get_libdir)" \ - --with-tclincls="${EPREFIX}/usr/include" \ - --with-tkincls="${EPREFIX}/usr/include" \ - --with-tcllibs="${EPREFIX}/usr/$(get_libdir)" \ - --with-tklibs="${EPREFIX}/usr/$(get_libdir)" \ - --with-cflags="${CFLAGS}" \ - --with-gnu-ld \ - $(use_enable jpeg) \ - $(use_with X x) \ - CC="$(tc-getCC)" -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" -} - -src_install() { - sed \ - -e "s:\.\./src/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ - -e "s:\.\./bltwish:${EPREFIX}/usr/bin/bltwish:g" \ - -e "s:/usr/local/bin/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ - -e "s:/usr/local/bin/tclsh:${EPREFIX}/usr/bin/tclsh:g" \ - -i demos/{,scripts/}*.tcl || die - - dodir \ - /usr/bin \ - /usr/$(get_libdir)/${MYP}/demos/bitmaps \ - /usr/share/man/mann \ - /usr/include - - emake INSTALL_ROOT="${D}" install - - dodoc NEWS PROBLEMS README - docinto html - dodoc html/*.html - pushd "${ED}"/usr/share/man/mann - for f in * ; do - mv ${f} ${f/.n/.nblt} || die - done - popd - - # fix for linking against shared lib with -lBLT or -lBLTlite - dosym libBLT${SHVER}$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname) - dosym libBLTlite${SHVER}$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname) - - use static-libs || \ - find "${ED}"/usr/$(get_libdir) -name "*.a" -print0 | \ - xargs -r -0 rm -fv -} diff --git a/dev-tcltk/blt/blt-2.5.3-r2.ebuild b/dev-tcltk/blt/blt-2.5.3-r2.ebuild new file mode 100644 index 000000000000..aa67d1d5dd5b --- /dev/null +++ b/dev-tcltk/blt/blt-2.5.3-r2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MYP=${PN}$(ver_cut 1-2) +SHVER=$(ver_rs 1 '' $(ver_cut 1-2)) + +inherit autotools flag-o-matic multilib toolchain-funcs + +DESCRIPTION="Extension to Tk, adding new widgets, geometry managers, and misc commands" +HOMEPAGE="https://sourceforge.net/projects/wize/" +SRC_URI="mirror://sourceforge/wize/${PN}-src-${PV}.zip + https://dev.gentoo.org/~tupone/distfiles/${P}-debian-patches.tar.gz" + +IUSE="jpeg static-libs" +SLOT="0/${SHVER}" +LICENSE="BSD" +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" + +DEPEND=" + dev-lang/tk:0= + jpeg? ( media-libs/libjpeg-turbo:0= ) + x11-libs/libX11" +RDEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}"/${MYP} + +MAKEOPTS+=" -j1" + +PATCHES=( + "${WORKDIR}"/patches/02-debian-all.patch + "${WORKDIR}"/patches/03-fedora-patch-2.patch + "${WORKDIR}"/patches/04-fedora-tk8.5.6.patch + "${WORKDIR}"/patches/05-tk8.5-zoomstack.patch + "${WORKDIR}"/patches/doc-typos.patch + "${WORKDIR}"/patches/tcl8.6.patch + "${WORKDIR}"/patches/tk8.6.patch + "${WORKDIR}"/patches/install.patch + "${WORKDIR}"/patches/usetclint.patch + "${WORKDIR}"/patches/usetkint.patch + "${WORKDIR}"/patches/table.patch + "${WORKDIR}"/patches/ldflags.patch + "${WORKDIR}"/patches/pkgindex.patch + "${WORKDIR}"/patches/decls.patch + "${WORKDIR}"/patches/bltnsutil.patch + "${WORKDIR}"/patches/blthash.patch + "${WORKDIR}"/patches/const.patch + "${WORKDIR}"/patches/uninitialized.patch + "${WORKDIR}"/patches/unused.patch + "${WORKDIR}"/patches/pointertoint.patch + "${WORKDIR}"/patches/autoreconf.patch + "${WORKDIR}"/patches/switch.patch + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-darwin.patch + "${FILESDIR}"/${P}-gbsd.patch + "${FILESDIR}"/${P}-lto.patch +) + +src_prepare() { + default + rm acconfig.h || die + # Set the correct libdir and drop RPATH + sed \ + -e "s:\(^libdir=\${exec_prefix}/\)lib:\1$(get_libdir):" \ + -e 's:LD_RUN_PATH=.*$:LD_RUN_PATH="":g' \ + -i configure.in || die "sed configure* failed" + sed \ + -e "/^scriptdir =/s:lib:$(get_libdir):" \ + -i Makefile.in demos/Makefile.in || die "sed Makefile.in failed" + + sed \ + -e "/AR/s:ar:$(tc-getAR):g" \ + -e 's:0444:0644:g' \ + -i generic/Makefile.in || die + + append-cflags -fPIC + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + LC_ALL=C \ + econf \ + --x-includes="${EPREFIX}/usr/include" \ + --x-libraries="${EPREFIX}/usr/$(get_libdir)" \ + --with-blt="${EPREFIX}/usr/$(get_libdir)" \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" \ + --with-tk="${EPREFIX}/usr/$(get_libdir)" \ + --with-tclincls="${EPREFIX}/usr/include" \ + --with-tkincls="${EPREFIX}/usr/include" \ + --with-tcllibs="${EPREFIX}/usr/$(get_libdir)" \ + --with-tklibs="${EPREFIX}/usr/$(get_libdir)" \ + --with-cflags="${CFLAGS}" \ + --with-gnu-ld \ + $(use_enable jpeg) \ + --with-X \ + CC="$(tc-getCC)" +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" +} + +src_install() { + sed \ + -e "s:\.\./src/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:\.\./bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:/usr/local/bin/bltwish:${EPREFIX}/usr/bin/bltwish:g" \ + -e "s:/usr/local/bin/tclsh:${EPREFIX}/usr/bin/tclsh:g" \ + -i demos/{,scripts/}*.tcl || die + + dodir \ + /usr/bin \ + /usr/$(get_libdir)/${MYP}/demos/bitmaps \ + /usr/share/man/mann \ + /usr/include + + emake INSTALL_ROOT="${D}" install + + dodoc NEWS PROBLEMS README + docinto html + dodoc html/*.html + pushd "${ED}"/usr/share/man/mann + for f in * ; do + mv ${f} ${f/.n/.nblt} || die + done + popd + + # fix for linking against shared lib with -lBLT or -lBLTlite + dosym libBLT${SHVER}$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname) + dosym libBLTlite${SHVER}$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname) + + use static-libs || \ + find "${ED}"/usr/$(get_libdir) -name "*.a" -print0 | \ + xargs -r -0 rm -fv +} -- cgit v1.2.3