From 84f854373801aabfaa14457642adfcb4815549a3 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 14 Feb 2024 21:36:43 +0100 Subject: [PATCH] media-gfx/ipe: Kill old versions and update src_uri --- media-gfx/ipe/Manifest | 6 +- media-gfx/ipe/ipe-7.2.22.ebuild | 111 ------------------------------- media-gfx/ipe/ipe-7.2.24.ebuild | 112 -------------------------------- media-gfx/ipe/ipe-7.2.25.ebuild | 2 +- 4 files changed, 2 insertions(+), 229 deletions(-) delete mode 100644 media-gfx/ipe/ipe-7.2.22.ebuild delete mode 100644 media-gfx/ipe/ipe-7.2.24.ebuild diff --git a/media-gfx/ipe/Manifest b/media-gfx/ipe/Manifest index 0f30331..4456bb8 100644 --- a/media-gfx/ipe/Manifest +++ b/media-gfx/ipe/Manifest @@ -1,8 +1,4 @@ AUX ipe-outputprecision.patch 2488 BLAKE2B f6ac5918a2c23445885ecf3f6934484aaebdc90809ccf08b1b11c301ca0821726b9907fcd6a76d3501d874bda36c379c37fa611c75e97951ff460380e45c532b SHA512 0e851a4e2dae2d8deb11018da0c375ab219126072f152b29ba314a2c04b89b169eaac9981413a8144ac6119cf5f261d346c413af69e0a229e5946ad5c8b7b407 -DIST ipe-7.2.22-src.tar.gz 2011023 BLAKE2B 95ab65c7241428d35e2aa335f1b000d00ace28d6828b33331acd2c25f2d1dec7ee023a190337b73c70c1022a46a0d85d3745a179b2a14c25ce8bd30839286c22 SHA512 2a681d7936cecc973ef4fbd3a9dd438ea92ca0023a6f21540f7966aa6e19c5d0301966ebdd60f7e0204039fb80dd11c65324a5ba5ffd7b6fe23870472ccd2070 -DIST ipe-7.2.24-src.tar.gz 1031794 BLAKE2B 848d75eaf88ab4f576f71d8157e4b8735ff179fa3d9c09ca76069b7ea5fb4af7044c3d2b641b67de68efbea5ed053ff2288915dc113b8236a7aa46c6c2e22187 SHA512 4387f5d770e356f7103787c667a5ee9a588f5fa656b96e1cf33051efe62dfdd5fd3bb49f0fcbad5fd1f342e79e3dc110910e6f4a929ed57a6831b867bd84f56d DIST ipe-7.2.25-src.tar.gz 1039024 BLAKE2B 460f624fde3f170329d70616bab86651d9bead0e3096d8a8c8bcea273391ec3ef049e449bd3871a2903f2f8f4618460d9466e5275a6839806c0ea97798c43f38 SHA512 c5a6ec8a28425bac40f531294878c5f5f3ec7b61df6e7026de07a2a85b441de2b7fbf8c10e57b2cd5a7587db6595ecc80a06bec8e22bd495e75e0fb5f2c2d6c6 -EBUILD ipe-7.2.22.ebuild 2580 BLAKE2B 5a273131b4dcb5dd7386a97b9375ce72c3ad20a233a03a1b7516e208f24f1967c0928080f361727ad24bf084aa38493aff50e41987f1b1a312ba8643fab753b1 SHA512 2fcd6e9f78d74b38cc3e6a35252ff6bff6e33e26028e4a8498318c54a654f992dd8216cddb189b72b9bcda173985c873c9126fb54270d8a6bc3a1c6b56ff98d2 -EBUILD ipe-7.2.24.ebuild 2612 BLAKE2B 2bfd21d3b7b2ca45d864b54a1e5db8dc66d32786d7b30b68564bf84d22594c087d77fb27cf512409d781ac0e2f7310bb1045b3eec344a74e6ee1865aa7cf9095 SHA512 974dc8ceef59096f7ae1d6c4199b033ae8649472e3f61619fe96bbdf1dc336e61d5e45dbfe89adfd4a2e417a7468abb3378b59d25bb44726c2ac7be3f89aef9e -EBUILD ipe-7.2.25.ebuild 2630 BLAKE2B 20fd58d0a2f5cb06d901530fe56989b30e9429d145f79822ee4cfd307fbfcceef669a56a43836175b23c077eef31d232aa5aeebb17efd05c801250d9ec916e8d SHA512 51412949f7b226a701f41bec375012e8d09e872c0541e8fe450518c4bbb4b3325be983288db44aecea02767cb69c4d684a3e659a8a72294437029e30d56ce1c2 +EBUILD ipe-7.2.25.ebuild 2775 BLAKE2B 98a3588a60715683b42171dd29226cf0345a2f4f6fd6dd4e20fa494b2213d94d322671fb3372a2ca9463763a55e26cfac9f1cde02a7c7a0282ab1f4df50a8ea8 SHA512 c24b516de3f61022339f3ccd02bf08ee5619493225fcd28f670279c2fa0b074a580194e95d02c51d59be33eab9da6c3189ede870d9be5d11568f0061e9af20a2 MISC metadata.xml 243 BLAKE2B 889d08efb220a9fb8457500f5f3c33c8c737616995e19fa8b621ced4bc9d380d016413d098d4d09925c679cd23f7fbd75e495424fe6ed809a9e873014caae682 SHA512 f9051a65d7e11d7abd1b9568dbbf8be84a6ae68eb994b0c22d57dff5620047d5ad5a324057a5cf4cec10837d16024e5f21a8cf5f1a6247807f62931839eb73bc diff --git a/media-gfx/ipe/ipe-7.2.22.ebuild b/media-gfx/ipe/ipe-7.2.22.ebuild deleted file mode 100644 index 12d1310..0000000 --- a/media-gfx/ipe/ipe-7.2.22.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-3 ) -inherit lua-single toolchain-funcs - -DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" -HOMEPAGE="http://ipe.otfried.org" -SRC_URI="https://dl.bintray.com/otfried/generic/ipe/${PV%.*}/${P}-src.tar.gz" - -RESTRICT="mirror" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="highprec" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - app-text/texlive-core - media-libs/freetype:2 - x11-libs/cairo - dev-qt/qtcore:5 - dev-qt/qtwidgets:5 - sci-libs/gsl - media-libs/libjpeg-turbo - media-libs/libpng - sys-libs/zlib - " -DEPEND="${RDEPEND} - ${LUA_DEPS}" - -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/${P}/src" -COMMONDIR=/usr/share/ipe/common - -search_urw_fonts() { - # colon-separated list of paths - local texmfdist="$(kpsewhich -var-value=TEXMFDIST)" - # according to TeX directory structure - local urwdir=fonts/type1/urw - # add colon as field separator - local IFS="${IFS}:" dir - for dir in ${texmfdist}; do - if [[ -d ${dir}/${urwdir} ]]; then - URWFONTDIR="${dir}/${urwdir}" - return 0 - fi - done - return 1 -} - -src_prepare() { - sed -i \ - -e 's/fpic/fPIC/' \ - -e 's_moc_/usr/lib64/qt5/bin/moc_' \ - -e "s:\$(IPEPREFIX)/lib:\$(IPEPREFIX)/$(get_libdir):g" \ - config.mak || die - sed -i -e 's/install -s/install/' common.mak || die - - if use highprec; then - eapply "${FILESDIR}"/${PN}-outputprecision.patch - fi - - eapply_user -} - -pkg_setup() { - lua-single_pkg_setup - if search_urw_fonts; then - einfo "URW fonts found in ${URWFONTDIR}" - else - ewarn "Could not find directory containing URW fonts" - ewarn "Ipe will not function properly without them." - fi -} - -src_compile() { - emake \ - CXX=$(tc-getCXX) \ - IPEPREFIX="${EPREFIX}/usr" \ - IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" -} - -src_install() { - emake install \ - IPEPREFIX="${EPREFIX}/usr" \ - IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" \ - LUA_VERSION="$(lua_get_version)" - dodoc ../{news,readme}.txt - doicon ipe/icons/ipe.png - make_desktop_entry ipe Ipe ipe - # Link style sheets - if [ -d $COMMONDIR/styles ]; then - einfo "Linking common style sheets from $COMMONDIR" - for f in $COMMONDIR/styles/*; do - einfo " Linking ${f##*/}" - dosym $f usr/share/ipe/${PV}/styles/${f##*/} - done - - elog "Style sheets from $COMMONDIR/styles have been symlinked to" - elog "the style sheet directory of ${P}. If you add additional" - elog "style sheets later to $COMMONDIR/styles you may symlink" - elog "them by hand to '/usr/share/ipe/${PV}/styles/'." - fi -} diff --git a/media-gfx/ipe/ipe-7.2.24.ebuild b/media-gfx/ipe/ipe-7.2.24.ebuild deleted file mode 100644 index e4672e4..0000000 --- a/media-gfx/ipe/ipe-7.2.24.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-3 ) -inherit lua-single toolchain-funcs - -DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" -HOMEPAGE="http://ipe.otfried.org" -SRC_URI="https://github.com/otfried/ipe/releases/download/v${PV}/${PN}-${PV}-src.tar.gz" - -RESTRICT="mirror" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="highprec" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - app-text/texlive-core - media-libs/freetype:2 - x11-libs/cairo - dev-qt/qtcore:5 - dev-qt/qtwidgets:5 - sci-libs/gsl - media-libs/libjpeg-turbo - media-libs/libpng - sys-libs/zlib - media-libs/libspiro - " -DEPEND="${RDEPEND} - ${LUA_DEPS}" - -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}/${P}/src" -COMMONDIR=/usr/share/ipe/common - -search_urw_fonts() { - # colon-separated list of paths - local texmfdist="$(kpsewhich -var-value=TEXMFDIST)" - # according to TeX directory structure - local urwdir=fonts/type1/urw - # add colon as field separator - local IFS="${IFS}:" dir - for dir in ${texmfdist}; do - if [[ -d ${dir}/${urwdir} ]]; then - URWFONTDIR="${dir}/${urwdir}" - return 0 - fi - done - return 1 -} - -src_prepare() { - sed -i \ - -e 's/fpic/fPIC/' \ - -e 's_moc_/usr/lib64/qt5/bin/moc_' \ - -e "s:\$(IPEPREFIX)/lib:\$(IPEPREFIX)/$(get_libdir):g" \ - config.mak || die - sed -i -e 's/install -s/install/' common.mak || die - - if use highprec; then - eapply "${FILESDIR}"/${PN}-outputprecision.patch - fi - - eapply_user -} - -pkg_setup() { - lua-single_pkg_setup - if search_urw_fonts; then - einfo "URW fonts found in ${URWFONTDIR}" - else - ewarn "Could not find directory containing URW fonts" - ewarn "Ipe will not function properly without them." - fi -} - -src_compile() { - emake \ - CXX=$(tc-getCXX) \ - IPEPREFIX="${EPREFIX}/usr" \ - IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" -} - -src_install() { - emake install \ - IPEPREFIX="${EPREFIX}/usr" \ - IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \ - INSTALL_ROOT="${ED}" \ - LUA_VERSION="$(lua_get_version)" - dodoc ../{news,readme}.txt - doicon ipe/icons/ipe.png - make_desktop_entry ipe Ipe ipe - # Link style sheets - if [ -d $COMMONDIR/styles ]; then - einfo "Linking common style sheets from $COMMONDIR" - for f in $COMMONDIR/styles/*; do - einfo " Linking ${f##*/}" - dosym $f usr/share/ipe/${PV}/styles/${f##*/} - done - - elog "Style sheets from $COMMONDIR/styles have been symlinked to" - elog "the style sheet directory of ${P}. If you add additional" - elog "style sheets later to $COMMONDIR/styles you may symlink" - elog "them by hand to '/usr/share/ipe/${PV}/styles/'." - fi -} diff --git a/media-gfx/ipe/ipe-7.2.25.ebuild b/media-gfx/ipe/ipe-7.2.25.ebuild index 6b4493e..c245656 100644 --- a/media-gfx/ipe/ipe-7.2.25.ebuild +++ b/media-gfx/ipe/ipe-7.2.25.ebuild @@ -8,7 +8,7 @@ inherit lua-single toolchain-funcs DESCRIPTION="Drawing editor for creating figures in PDF or PS formats" HOMEPAGE="http://ipe.otfried.org" -SRC_URI="https://github.com/otfried/ipe/releases/download/v${PV}/${PN}-${PV}-src.tar.gz" +SRC_URI="https://src.fedoraproject.org/repo/pkgs/ipe/ipe-7.2.25-src.tar.gz/sha512/c5a6ec8a28425bac40f531294878c5f5f3ec7b61df6e7026de07a2a85b441de2b7fbf8c10e57b2cd5a7587db6595ecc80a06bec8e22bd495e75e0fb5f2c2d6c6/ipe-7.2.25-src.tar.gz" RESTRICT="mirror" -- 2.39.5