From 45392c898b8ba163e95028bd98896e77f0c73806 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Oct 2024 04:04:09 +0100 Subject: gentoo auto-resync : 15:10:2024 - 04:04:09 --- sci-calculators/Manifest.gz | Bin 3204 -> 3203 bytes sci-calculators/transcalc/Manifest | 7 +++-- .../files/transcalc-0.14-gcc14-build-fix.patch | 15 ++++++++++ sci-calculators/transcalc/metadata.xml | 1 + sci-calculators/transcalc/transcalc-0.14-r2.ebuild | 32 -------------------- sci-calculators/transcalc/transcalc-0.14-r3.ebuild | 33 +++++++++++++++++++++ sci-calculators/transcalc/transcalc-0.14.1.ebuild | 17 +++++++++++ 7 files changed, 71 insertions(+), 34 deletions(-) create mode 100644 sci-calculators/transcalc/files/transcalc-0.14-gcc14-build-fix.patch delete mode 100644 sci-calculators/transcalc/transcalc-0.14-r2.ebuild create mode 100644 sci-calculators/transcalc/transcalc-0.14-r3.ebuild create mode 100644 sci-calculators/transcalc/transcalc-0.14.1.ebuild (limited to 'sci-calculators') diff --git a/sci-calculators/Manifest.gz b/sci-calculators/Manifest.gz index 4718486746ca..4e8a6a1e32a5 100644 Binary files a/sci-calculators/Manifest.gz and b/sci-calculators/Manifest.gz differ diff --git a/sci-calculators/transcalc/Manifest b/sci-calculators/transcalc/Manifest index 88fd20806deb..a1289833dfc1 100644 --- a/sci-calculators/transcalc/Manifest +++ b/sci-calculators/transcalc/Manifest @@ -1,5 +1,8 @@ AUX transcalc-0.14-fd-perm.patch 596 BLAKE2B 4da82546d0c26e22dbed1817cefee3184bb41b7655636deeef929267422cf3ab283f2ed22f65713ae1c36b98b46ed7ac359fb8339b9443aec5f191788e03b07d SHA512 d63e4d8d5da77e97037d6014aa10a392778bdd1dfe0074ee61af94c3349c529ec965d2774e50c4ffae0fd76003429b64776fa7378d01e7a9608d1d4581b65eb5 AUX transcalc-0.14-fno-common.patch 1529 BLAKE2B 89c6363d2846b6619b9e6b286076674b6cfeb75fbce9de4c016b8f0516fe0776854b1c5cc3af4a892553afaa67e46719cd54758f3e8dfc7a773075d775c1db54 SHA512 ee5f54c3b8c5df59acfb006f6baf849419a9c308170fd372e4d4ee82ed4f527ebfa9c72be38b78ff27ace89ca71ae51c66ebc49f973995155c2f975ccad6d07b +AUX transcalc-0.14-gcc14-build-fix.patch 371 BLAKE2B b365f5a8f4a89629ffc656168a852870fd7ccfa2ce6e1fd0cd4065c5be6e10459ad50f73e1e925699c7816434de763e81227340d9a35fb437c40060bce45cd91 SHA512 3aa88630499cd823a3a3d281151a12ac0ddde836087b21c9a66a0724b3ebf604671a81386457c2bc4642bbe95eb7be926787c5487ea8d875e05ccd65710925dd +DIST transcalc-0.14.1.tar.bz2 87044 BLAKE2B af679829bd4ad122c662d7c9aa1b75ddc92d02e6afde47dd7b670c7d381090f25dc4f9018b18e86951e59fa1beb01dde4d9eaaf257fd6cd5bd2a028e07de0bd3 SHA512 32221c21cfa395db1ca6f39d87f7ab41997001c859b3ef61e161ea310da5466981057d0740d25b37c8188c866aa1b0a9d4d052bcd2a5b226006c4baa7ec4aafb DIST transcalc-0.14.tar.gz 186434 BLAKE2B 7c2a031f34ab4b64af5be6203fca350356b75502ebdd94cce0f8338c266ff09a2cd68de80960f477228ddc4ffdd1acff84d6124506f52fd282ae0b28c949706e SHA512 b8c2cfbe3ea9787a2c694732baaf0e7c734f9a58c825f3791f21527f54398fcc79e24570d4f5f5c942b138b164cc6dc39744e0a66bafd888122608b641dcfa05 -EBUILD transcalc-0.14-r2.ebuild 715 BLAKE2B a05a2e6d4f797b057ff10c5fd896f70b497753c14a5846beb07f6af27db8ed3fe42606a23e0d686f7a746fc20d11c02b7458ecfad00f5db40544bd982848d0b8 SHA512 ece5b6274621967c0e1ef92451a290e6cf707f3762d7144924d22c322d1bfac067ae86e70177a4278dd6934243191915d4017e34ca9752ae7623309ef1c53276 -MISC metadata.xml 1351 BLAKE2B 4b7f470628acccbde33177d9ec3ec10131f93503b82cba3af3931d6d0e2dd4869c8c06162d095632292820235377c7310c3a308bbf9ee7177a362d2e469f2bb6 SHA512 78d1eebd532dc30bbc07d7767bc24561d4c57cbb97b3029c70c23aad662e992cf9061c82de04e75e74cca7abc9035a24b34f60051db4f8807c60d09f48760eb6 +EBUILD transcalc-0.14-r3.ebuild 757 BLAKE2B e167dcfd5349a15d9074e6d4bb6e3dd6fe92cd0a5d77e4d4499444e4da5b4f55f494648e304a0046140b8dadfdc9a497b5b5c30383671cba18911d117285e062 SHA512 51c3a244b6ff03b5e7d259b99d267bca0b9436e656b8b2366809b22b4adccb46d26d6cfa668d0917613e09e391416f8155735186eff98a063bb08d3fad753491 +EBUILD transcalc-0.14.1.ebuild 464 BLAKE2B bf30d6876e9a5a544444a4bcd4ab021ce95fe7350d3afde4bed19db6394f376e594095666fdfffcaad05ea5f17b3aee7c7cbac7a280f075d648658533823c183 SHA512 0618173efb2e35e2f42abf213ce68356d5249229baf60ae1e1f2c2d1a93b7581a19831d0ba3d03358340fb94a7be233c4452c8bedbbf4be1835067501967535f +MISC metadata.xml 1438 BLAKE2B 2ee6ffe22874849f1611b8e61c47951ba5c172acc781174b2b767c251b16d2fbcd02bf8b159c14b74e4773df4daed2762ff00150256a003f78f2699253e76dc6 SHA512 05b38a01c550af81579aaf2ec88adaa011176bb5d9f4257b6fdeaadd37418b7f32b6174d2afe84ff1dc3248375bdd3e80c05187b7fa0be2c0c8d474b7a9de816 diff --git a/sci-calculators/transcalc/files/transcalc-0.14-gcc14-build-fix.patch b/sci-calculators/transcalc/files/transcalc-0.14-gcc14-build-fix.patch new file mode 100644 index 000000000000..2da5c78df8ad --- /dev/null +++ b/sci-calculators/transcalc/files/transcalc-0.14-gcc14-build-fix.patch @@ -0,0 +1,15 @@ +Bug: https://bugs.gentoo.org/927899 +--- a/src/print_trans.c ++++ b/src/print_trans.c +@@ -61,8 +61,9 @@ get_trans_text () + gchar *retval = NULL; + trans_label *tlabel; + int i; +- const gchar *newch1=NULL, *newch2 = NULL; +- const gchar *tmpstr=NULL; ++ gchar *newch1=NULL; ++ const gchar *newch2 = NULL; ++ gchar *tmpstr=NULL; + GString *s = g_string_new (NULL); + + diff --git a/sci-calculators/transcalc/metadata.xml b/sci-calculators/transcalc/metadata.xml index 7e1f43fa5112..6c6fde14b843 100644 --- a/sci-calculators/transcalc/metadata.xml +++ b/sci-calculators/transcalc/metadata.xml @@ -23,5 +23,6 @@ transcalc + oss-abandonware/sci-calculators/transcalc diff --git a/sci-calculators/transcalc/transcalc-0.14-r2.ebuild b/sci-calculators/transcalc/transcalc-0.14-r2.ebuild deleted file mode 100644 index b6c144a8b7ff..000000000000 --- a/sci-calculators/transcalc/transcalc-0.14-r2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Microwave and RF transmission line calculator" -HOMEPAGE="http://transcalc.sourceforge.net" -SRC_URI="http://transcalc.sourceforge.net/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND="x11-libs/gtk+:2" -DEPEND="${RDEPEND}" - -# patch from debian -PATCHES=( - "${FILESDIR}"/${P}-fd-perm.patch - "${FILESDIR}"/${P}-fno-common.patch -) - -src_prepare() { - default - - # respect flags - sed -i -e 's|^CFLAGS=|#CFLAGS=|g' configure || die - # syntax errors - sed -i \ - -e 's/ythesize/ynthesize/g' \ - src/{setup_menu.c,help.h} docs/transcalc.sgml README || die -} diff --git a/sci-calculators/transcalc/transcalc-0.14-r3.ebuild b/sci-calculators/transcalc/transcalc-0.14-r3.ebuild new file mode 100644 index 000000000000..cf095ae6a15c --- /dev/null +++ b/sci-calculators/transcalc/transcalc-0.14-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Microwave and RF transmission line calculator" +HOMEPAGE="http://transcalc.sourceforge.net" +SRC_URI="http://transcalc.sourceforge.net/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND}" + +# patch from debian +PATCHES=( + "${FILESDIR}"/${P}-fd-perm.patch + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-gcc14-build-fix.patch +) + +src_prepare() { + default + + # respect flags + sed -i -e 's|^CFLAGS=|#CFLAGS=|g' configure || die + # syntax errors + sed -i \ + -e 's/ythesize/ynthesize/g' \ + src/{setup_menu.c,help.h} docs/transcalc.sgml README || die +} diff --git a/sci-calculators/transcalc/transcalc-0.14.1.ebuild b/sci-calculators/transcalc/transcalc-0.14.1.ebuild new file mode 100644 index 000000000000..740af2f44262 --- /dev/null +++ b/sci-calculators/transcalc/transcalc-0.14.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Microwave and RF transmission line calculator" +HOMEPAGE="https://transcalc.sourceforge.net" +SRC_URI="https://gitlab.com/oss-abandonware/sci-calculators/transcalc/-/archive/${PV}/transcalc-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND}" -- cgit v1.2.3