diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 49756 -> 49762 bytes | |||
-rw-r--r-- | app-misc/astrolog-ephemeris/Manifest | 1 | ||||
-rw-r--r-- | app-misc/astrolog-ephemeris/astrolog-ephemeris-7.60.ebuild | 26 | ||||
-rw-r--r-- | app-misc/astrolog/Manifest | 2 | ||||
-rw-r--r-- | app-misc/astrolog/astrolog-7.60.ebuild | 67 | ||||
-rw-r--r-- | app-misc/astrolog/files/astrolog-7.60-drop-resiters.patch | 36 | ||||
-rw-r--r-- | app-misc/dvorak7min/Manifest | 2 | ||||
-rw-r--r-- | app-misc/dvorak7min/dvorak7min-1.6.1-r2.ebuild | 38 | ||||
-rw-r--r-- | app-misc/dvorak7min/files/dvorak7min-1.6.1-clang16-build-fix.patch | 29 | ||||
-rw-r--r-- | app-misc/mc/Manifest | 6 | ||||
-rw-r--r-- | app-misc/mc/files/mc-4.8.28-tests.patch | 35 | ||||
-rw-r--r-- | app-misc/mc/mc-4.8.30.ebuild (renamed from app-misc/mc/mc-4.8.28-r2.ebuild) | 4 | ||||
-rw-r--r-- | app-misc/mc/mc-9999.ebuild | 123 |
13 files changed, 205 insertions, 164 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 9bd80778de0c..33d655490f9f 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/astrolog-ephemeris/Manifest b/app-misc/astrolog-ephemeris/Manifest index 620726f22e17..11852b8870e3 100644 --- a/app-misc/astrolog-ephemeris/Manifest +++ b/app-misc/astrolog-ephemeris/Manifest @@ -1,4 +1,5 @@ DIST ephemall.zip 4604012 BLAKE2B 0caee003272734a71a3f2d10871e1c034c9e9039f5cb0f09ed19d85122ba875794933d53624d6a379838a7f2c33728c2da9aaadbd91887fea018ecfc1c786557 SHA512 e7822cecb87466987107e84aae64d292dad31de9d2c268886869a37ea9e99bf81b2a530129c0f6538c6b55ad46b185e16ee0c5b0d8858acfe189f19e2595c6da EBUILD astrolog-ephemeris-5.40.ebuild 568 BLAKE2B 3a242b0e1a42141774fc58eac638cd8bee9f71d1dfee0de49369ffdd800aac01168956f30471246b25979de38dd0e3d752fbde7577a0f44ef964390941c31640 SHA512 58c9eb0512881ad47752e44d39d6bbef1f05f87b64229dce6be8e91370f290339190972d39d552e3ed29d0249b8dee13ee608b90be13257a7d97ffd02c863b12 EBUILD astrolog-ephemeris-7.40.ebuild 608 BLAKE2B d7318b3966f6cac63047f77efc96774d348b4565ed63e464198703f8c72196e00ce69eb25697546d2e75cff3f74cf9ee327099f62bbcb41d60377616585891d9 SHA512 183d1f907fa811427f34d3732824a1075fe19c62ff6f9749e26666fa7382da4e216c346c3aa4e4927dfd09397b2278fb585f6cc6d6a50824925770b8ce2eff92 +EBUILD astrolog-ephemeris-7.60.ebuild 612 BLAKE2B b0156e7794613364c84eb1807e90fd77292158d1ccc101f00589f96146794b66a3076efed06b9fcf4d0d7798d89abaa2f505d67b6ccc27a6f796c3a2fd8410fc SHA512 8f2e9afd75ded9ed34716f0cbdbeb90ffb0ddb32b73f39dbd8aa08e6d188f4a98ee491bb1a91f5144897f461ea750937c37964a869eebe48d09742a5745909ea MISC metadata.xml 250 BLAKE2B 53ce4a2ec047c91819ecc665bad106707e80e4fbd9bd20cca22843c536beea3d124922de22b9c7986e39d232fb8b1f4752d4c8ee09933fe16383b475db861126 SHA512 667b310c205f016e11407f3e3fb0ad6fb1e530651b32da15e034523b0138e5fdf93b29d64311146bfdfa5bc5108f75e238136641f366e1e0b01e995ddae36aa5 diff --git a/app-misc/astrolog-ephemeris/astrolog-ephemeris-7.60.ebuild b/app-misc/astrolog-ephemeris/astrolog-ephemeris-7.60.ebuild new file mode 100644 index 000000000000..a980fc67fd2a --- /dev/null +++ b/app-misc/astrolog-ephemeris/astrolog-ephemeris-7.60.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump with app-misc/astrolog + +DESCRIPTION="ephemeris files for optional extended accuracy of astrolog's calculations" +HOMEPAGE="https://www.astrolog.org/astrolog.htm" +SRC_URI="https://www.astrolog.org/ftp/ephem/ephemall.zip" + +LICENSE="astrolog" +SLOT="0" +# works fine on x86 - runs probably on other architectures, too +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +S="${WORKDIR}" + +RDEPEND="app-misc/astrolog" +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/astrolog + doins -r . +} diff --git a/app-misc/astrolog/Manifest b/app-misc/astrolog/Manifest index a7c5415e5165..0fb61252c5d7 100644 --- a/app-misc/astrolog/Manifest +++ b/app-misc/astrolog/Manifest @@ -1,3 +1,5 @@ +AUX astrolog-7.60-drop-resiters.patch 1354 BLAKE2B f986926b3ec4653bb17cb0363ebdf06896d68c140201a4ae714ba2aaf231717349c6e0426906e06561b1ef6f1e241d3b92d7020c357ecd438ebeeada617b9cfa SHA512 68bf5c0ade2c3cee96f198e3092930bff003e6913bfd5ae0fc16e7b381509f0bbb213c2d08009d4c9485e64be44293024a853b5efb19b837f700ffb292cb3593 DIST ast74src.zip 4483648 BLAKE2B d15d3e5d98337c5c5884973d079cffda9144a5c9f43ab48dd38f782eeef089d9fd5fb3f5a01f1d607bd2134e6a774494d4cf7d99e117d3092c8787626436e778 SHA512 540bda7ee10cde0723f6bd4afe410e4e9c59168e31dbdbd0b3b62a9e77ae83a971543fc812876258e2b7b9636f880c74b9be5497c54e7dd0e9b444bad2edbf6b EBUILD astrolog-7.40.ebuild 1864 BLAKE2B 2e7e7b1902509516c193437dec820316e516c328ec44f5275d609990a512722909b0841b7780e86d162e0475275906579c978eea30503e42bd53c56d93e10a59 SHA512 495f9325356add4eefd40bb00c3c3271cf339b8304901f19fec0978893ef1891cc86372ad456e8653ce7b5447a0489126b9cb6fe059aecc648f3a1f527274c3d +EBUILD astrolog-7.60.ebuild 1927 BLAKE2B dbef410b222c3b5490f87ec6a0b8c4113aac7f285bd92112509a0288604f09234fc9787176b0410d27ef84fcb1240eed049ec0c0b966971adccbb474e6fbbd11 SHA512 344871dde81b1ad19982cdab8e6d69b966889d3c1e19d2fa1d1a408d76fcb0844d4e4875493c7e5dd13efb79e4a5f6204ab601ea398bfb95ed1276e8df9801aa MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-misc/astrolog/astrolog-7.60.ebuild b/app-misc/astrolog/astrolog-7.60.ebuild new file mode 100644 index 000000000000..18d1dc655924 --- /dev/null +++ b/app-misc/astrolog/astrolog-7.60.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump with app-misc/astrolog-ephemeris + +inherit toolchain-funcs + +DESCRIPTION="A many featured astrology chart calculation program" +HOMEPAGE="https://www.astrolog.org/astrolog.htm" +SRC_URI="https://www.astrolog.org/ftp/ast74src.zip" + +LICENSE="astrolog" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="X" + +DEPEND="X? ( x11-libs/libX11 )" +RDEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}"/${PN}-7.60-drop-resiters.patch +) + +src_prepare() { + default + + # remove stripping of created binary, dump hardcoded CFLAGS, + # respect CC (bug #243606), and CFLAGS (bug #240057) + sed \ + -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \ + -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \ + -i Makefile || die + + # we use /usr/share/astrolog for config and (optional) ephemeris-data-files + sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die + + # if we do NOT use X, we disable it by removing the -lX11 from the Makefile + # and remove the "#define X11" and "#define MOUSE" from astrolog.h + use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile || die + sed -i -e "s:#define X11:/*#define X11:g" astrolog.h || die + sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h || die) +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin astrolog + dodoc astrolog.doc changes.doc + insinto /usr/share/astrolog + doins astrolog.as +} + +pkg_postinst() { + elog "There is a sample config file /usr/share/astrolog/astrolog.as" + elog "astrolog looks in current dir for a file astrolog.as before" + elog "using the file in /usr/share/astrolog" + elog "If you want extended accuracy of astrolog's calculations you" + elog "can emerge the optional package \"astrolog-ephemeris\" which" + elog "needs ~32.9 MB additional diskspace for the ephemeris-files" +} diff --git a/app-misc/astrolog/files/astrolog-7.60-drop-resiters.patch b/app-misc/astrolog/files/astrolog-7.60-drop-resiters.patch new file mode 100644 index 000000000000..ae399f8e099d --- /dev/null +++ b/app-misc/astrolog/files/astrolog-7.60-drop-resiters.patch @@ -0,0 +1,36 @@ +Bug: https://bugs.gentoo.org/894524 +Sent patch upstream, dev said they will take it in coming version, +https://github.com/CruiserOne/Astrolog/pull/20#issuecomment-1666693982 +--- a/placalc.cpp ++++ b/placalc.cpp +@@ -561,8 +561,8 @@ int hel(int planet, REAL8 t, REAL8 *al, REAL8 *ar, REAL8 *az, REAL8 *alp, + /* speed in radius, AU per day */
+ /* speed in z, AU per day */
+ {
+- register struct elements *e;
+- register struct eledata *d;
++ struct elements *e;
++ struct eledata *d;
+ REAL8 lk = 0.0;
+ REAL8 rk = 0.0;
+ REAL8 b, h1, sini, sinv, cosi, cosu, cosv, man, truanom, esquare,
+@@ -686,7 +686,7 @@ int hel(int planet, REAL8 t, REAL8 *al, REAL8 *ar, REAL8 *az, REAL8 *alp, + }
+
+
+-void disturb(register struct kor *k, REAL8 *al, REAL8 *ar, REAL8 lk, REAL8 rk,
++void disturb(struct kor *k, REAL8 *al, REAL8 *ar, REAL8 lk, REAL8 rk,
+ REAL8 man)
+ /* ENDMARK-terminated array of struct kor */
+ /* longitude in degrees, use a pointer to return value */
+--- a/placalc.h ++++ b/placalc.h +@@ -256,7 +256,7 @@ extern REAL8 test_near_zero(REAL8); + extern REAL8 deltat(double);
+ extern void to_mean_ekl();
+ extern int afl2planet();
+-extern void disturb(register struct kor *, REAL8 *, REAL8 *, REAL8, REAL8,
++extern void disturb(struct kor *, REAL8 *, REAL8 *, REAL8, REAL8,
+ REAL8);
+ extern REAL8 fnu(REAL8, REAL8, REAL8);
+
diff --git a/app-misc/dvorak7min/Manifest b/app-misc/dvorak7min/Manifest index 0d57588c9987..accf7e39685b 100644 --- a/app-misc/dvorak7min/Manifest +++ b/app-misc/dvorak7min/Manifest @@ -1,6 +1,8 @@ +AUX dvorak7min-1.6.1-clang16-build-fix.patch 1222 BLAKE2B 9d5ab537aac82319080fbb0f5b3ccda46f636b270cfdb7001014ee552c6813ae58ada1ceced5cc11296cf875cf452822d56b7c53b341fcbb3040df45f5ae7033 SHA512 1e85d45252b136759d129f5357fd7991033cc5ee2812242adebb96692bda822a34cf92b520c3e3773aae8fe14b2a3e391762a44aefb5e24266fdc36deabf0e99 AUX dvorak7min-1.6.1-debian-changes.patch 7956 BLAKE2B 77396f83105259f53556e6e47bc15291be00d7a822c5eecb52e95e525e10ee24f3a7cc6c731954de3b9a4228980bedc45b84f90c139c915766a53804a376f763 SHA512 274d9a33b59e18de206431b2fb4f1f37342b27dd4accb37dc16ee5470f4c6163f55c82d8b3466894ac20f3470d65ba05e8f332b0b489dc27814bcfe4270d4115 AUX dvorak7min-1.6.1-makefile-flags.patch 684 BLAKE2B 94d9a24871d88f3d18e8804b3f09f5435dd1e5c4f084322dff2bb40213dfafd1ced7c931adc439b0ab8e089f080254bdff7dc58a7efc77b42da037ed10c9cfb3 SHA512 173858e4daaba8f6f764f4c9cb4aa8e7c6d513d1dff8bc3e2753a969bad15fd4d1a9e91a7da3b9a9353c67c40209b3f316d7f4394042329205d0d80dc9e1454c AUX dvorak7min-1.6.1-ncurses-pkg-config.patch 608 BLAKE2B 0541105aba889a65ed74dcca7696a5bc0fb983778cd81cb7225317b25e17d7bac856ea325f4eed0e1724588d7d7d2fc1a271b7a2ccbc2263d565eb63b24aa7cc SHA512 85e2a05b6ec78be488c3f5bc1a29286a4fbea08bae69f0cbd1901c5f3c03de9d5340900bb898316da61277f66b6ff0a209cae66b029ff5b57166af6ddc320542 DIST dvorak7min-1.6.1.tar.gz 53115 BLAKE2B f884f1900a7de0422f076e3701f7b982d5c5cba70ae1805bd3540ebd109e9bbaaa9e439272ac530862eac9dca2c0ba67b1d0040aa58294b5cabba2fa126d04ae SHA512 17ed601f298673a51d73b2efeb1555d91337f34cfbcc099a71c11de38fecdb29747de9533abec9028c3abc9f04dc9090e4452bba1c53cdac8d65e86a760e8a7a EBUILD dvorak7min-1.6.1-r1.ebuild 822 BLAKE2B 0c6f7136df13e84db9661e73fb0b7cc89b4a46bb6118939606a0ea2a358e0e508cf29158fe5a3754a1111c1bcd40d371913fddd08d920b51a3cee4fdcb8bbaf1 SHA512 819ba083b42db6751cf69f32e48a074e6b74b5e283ee2edc73ff7ee0d989e381543bd674d910799787d6642719a747a211a83753cf83edd199036c3cb714976b +EBUILD dvorak7min-1.6.1-r2.ebuild 876 BLAKE2B 35ce3379e0620a76c519fd7f2322d795381e3e2a6e8c5258417dd3e0346f33943ef631e2ffb0c085768a670abca3ee56ac148e140b7919fbbc38cbd600a3cd10 SHA512 98d337b2cc2541f548f576e0384d21031b29db5028644e70918a8dbf63ac5b725bac2dae73f79bef07a9c862bfc9c3d0ee2b40f74cfad2cc169369bf015c8a9a MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/app-misc/dvorak7min/dvorak7min-1.6.1-r2.ebuild b/app-misc/dvorak7min/dvorak7min-1.6.1-r2.ebuild new file mode 100644 index 000000000000..9be49c11fe75 --- /dev/null +++ b/app-misc/dvorak7min/dvorak7min-1.6.1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Simple ncurses-based typing tutor for learning the Dvorak keyboard layout" +HOMEPAGE="http://www.linalco.com/comunidad.html" +SRC_URI="http://www.linalco.com/ragnar/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +BDEPEND="virtual/pkgconfig" +DEPEND="sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6.1-debian-changes.patch + "${FILESDIR}"/${PN}-1.6.1-makefile-flags.patch + "${FILESDIR}"/${PN}-1.6.1-ncurses-pkg-config.patch + "${FILESDIR}"/${PN}-1.6.1-clang16-build-fix.patch +) + +src_compile() { + tc-export PKG_CONFIG + emake \ + CC="$(tc-getCC)" \ + PROF="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + dodoc ChangeLog README +} diff --git a/app-misc/dvorak7min/files/dvorak7min-1.6.1-clang16-build-fix.patch b/app-misc/dvorak7min/files/dvorak7min-1.6.1-clang16-build-fix.patch new file mode 100644 index 000000000000..27c54dc595b7 --- /dev/null +++ b/app-misc/dvorak7min/files/dvorak7min-1.6.1-clang16-build-fix.patch @@ -0,0 +1,29 @@ +Bug: https://bugs.gentoo.org/894546 +--- a/dvorak7min.c ++++ b/dvorak7min.c +@@ -41,6 +41,7 @@ + * + */ + ++#define _GNU_SOURCE + #include <strings.h> + #include <string.h> + #include <stdlib.h> +@@ -435,7 +436,7 @@ void do_text (char * const text) + timeCurrent = time(0); + speed = calcSpeed (timeStart, timeCurrent, hits + misses); + // Use WPS/WPM as better standards +- mvprintw (LINES - 1, 0, "WPS %.2f WPM %.2f Hits: %d Misses: %d Seconds: %d Ratio: %.2f%%", speed, speed * 60, hits, misses, time(0) - timeStart, ratio); ++ mvprintw (LINES - 1, 0, "WPS %.2f WPM %.2f Hits: %d Misses: %d Seconds: %ld Ratio: %.2f%%", speed, speed * 60, hits, misses, time(0) - timeStart, ratio); + clrtoeol(); + } + } while (ch == ERR); +@@ -521,7 +522,7 @@ void do_text (char * const text) + } else { + float ratio = hits - misses; + ratio = (ratio < 0) ? 0 : (100.0 * ratio / hits); +- mvprintw (0, 0, "Elapsed time: %d seconds", timeFinish - timeStart); ++ mvprintw (0, 0, "Elapsed time: %ld seconds", timeFinish - timeStart); + mvprintw (1, 0, "Total: %d Misses: %d Ratio: %.2f%%", + hits + misses, misses, + (float)100*(hits) / (hits + misses)); diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest index 5fc7e5378268..a273a99c5de8 100644 --- a/app-misc/mc/Manifest +++ b/app-misc/mc/Manifest @@ -1,10 +1,8 @@ AUX mc-4.8.26-ncurses-mouse.patch 612 BLAKE2B ba3324dfee320a6c08c65ec8bf7784075f8a36c111ffa75129251674152cea68cde87844d5849c82111d4fad779c1d13992a7d765c4bc48b39d865ab1f89cbb6 SHA512 f97025ad7b3719b372368028ad9428e0cac67069d04e70b2e2923dd998a9f687f0807254bdc859218869e1666db80807fd53c19291e2921b420bc357e79d9406 -AUX mc-4.8.28-tests.patch 1308 BLAKE2B 37f2d2a3264386d558212741d95c68c9362676d727d4d2b47a690dd6ad97c15ff943b3950cc28456ffceda78e88645bd6f73958a592f425594e727cc383721cf SHA512 41499d5ee4a7d0bf3e08c6fad56c2d46e3761f4f7359db1351c4ca1358a9ba33be7979df55d19263214acb3ea01271278efccff72d32ea3cf8a3cfb84a964f47 AUX mc-4.8.29-autoconf-c99.patch 849 BLAKE2B 7d9eb9b7f046dac592dee09e3598620c61167365aefb41186f4d60b803f17cf151280b9bf5facef7101f5297d9faa3b269c9b759095ad6bd01f79b4a8ee38211 SHA512 983de54aa05b09c9510945f4c3b83231779ee24808ec2cbbb2ce0e2b5743bb120d85edf0e9bd0d78e5aafb42601272997c2bcef9fb606de9e043d9619eba4485 AUX mc-4.8.29-gentoo-tools.patch 413 BLAKE2B 53e3f8e5e711374bbc5e3bb868df5e3345eed8f8de4ec3cac486b63c210bb10e6832b60292c614b4bd5c65ae750c5b2c38430ac1da2c9f6febb2b686199463ff SHA512 38598f57f4905659bc5d69f4ae19510ce35e76c8e33fc5262c5c8d17742483ebd5aa61ddac29a5811e111fe8ca66e6418fa4d48567e3a4e7ec4406916834c6fa -DIST mc-4.8.28.tar.xz 2333072 BLAKE2B f4218e6c166df85b7b3736f0fd1414c9507c72074f06001f12b114ce6c6fbbf3688ab850aa70f5063eb3920736f878e113eb39a5d261ccfc3ffa9dab473a8436 SHA512 ca3b3a57281e9387cb52bf1fcfc3f39a4d5f438aafc256dc492c192678824f67c983a852c759664efc5bc6d0de471c9b3929834f8301f6302ca1ebeee513fdfd DIST mc-4.8.29.tar.xz 2368164 BLAKE2B 0ecddf33b4b7b32918484bc7efe15ef1c9dda094814c85ceabf1b4bd9343507a33932b8cd050fdae2e683f9815ab6dd802ff8eb8e2215c6264be073bc5ac7e4d SHA512 c7e219eda34197d0294748cf5fd1a5dcfedfc17c20cfcf94c4dad5170f87095845f4fc0065e2868342125039c13cc3ba617804df74186816828e93ed71c1e9a3 -EBUILD mc-4.8.28-r2.ebuild 3115 BLAKE2B 733622aa4e6674702e3b691d9d9c8153ffc6c5bf3eada7b5a96535d7f1f2990d811ea1c1e29178cd9f14bb568acdb2a873b6fd9bb976d3ebe9b35f8f2dba01b0 SHA512 105c26047006b516c5a7b657cd309a924c78590793cfe523723022d2560a4ed37b6021b63be41b9885baffa7a39164e2d84d3442e7de49c7a11a72985e2501dc +DIST mc-4.8.30.tar.xz 2380824 BLAKE2B 2bf759314abae39db7596426cba22f6eaac0efc58e7025f1a7ef1863496ea7a3c00d298d101123b9defb109e76e31fe988227fb5c1112e06051b3c7a5b3dc1b6 SHA512 f793f744eaff236c9952d477236dd775a24d9ddd7ff46940bfe2d06da5596bed91d6bd9c85250696da6dcdc0a1890dc01c736654df3f59039674eff38e12e68e EBUILD mc-4.8.29.ebuild 3169 BLAKE2B 45799991a3957bcfbce629af833b917cce30b72e8a1cdea82109f2277db5decc2d834b514917daccc0732409fb39fc9ae99f4a7200e8aa984ee2ea00d2d7fa77 SHA512 de440cd97097d9e0d90fb6756da921e51ddf56f682991bd49a5b4ec966bf230f7d0d4cdbb3d302d2621b801c2b8cc6328524fe5002dc4df13d35cbcafaab78c7 -EBUILD mc-9999.ebuild 3379 BLAKE2B 795bae9d8f9ba6bf14592a5ba6479c7b2f665bc56371269ad90b3603ccd54d4d0b8a26afcb57fb51476b89f742549b959b1ac8a9fcba0f3c6492360324f73866 SHA512 c8213de7aec56537d0225e76500b68943f3f9ac528251f27c3edc4296a6e25ff6c637a356e887dd1897dd3614fb8da9021871a1e17171ecdfd8bf7b8e955b7d1 +EBUILD mc-4.8.30.ebuild 3130 BLAKE2B 24786f5731c6e065f8f5abe9f1b971ac929dcc1eca66a8bdaebdc1e018a179506397f2d579e24bc50cb9a94d443cfa9cec80bd9ecdccef8c7a8eecf0132fe11b SHA512 51afba7b677296aa2ad847331512be954f555c2da01dc6269863873026c4a151f895ea5d35ee4b1902065e9e4a48707b62fa42140fe83d7331f43d4bbf11d01f MISC metadata.xml 623 BLAKE2B 780b4f47a79d96cfe18308032aedcf02040eb3b2b90a3241dc1a26d03c1fa6e801144b9a343731b96c9cde2554a34ed52235859851025fd074675fdb1f7c91d9 SHA512 85ab83892b0ad219dfc1112e1d3f2141c186c8cc1b274fd397a34bf68345a0821d3cf5a5421f9d6053e7e99178aa45724e1057a9386e4bdf9c5136d69232e776 diff --git a/app-misc/mc/files/mc-4.8.28-tests.patch b/app-misc/mc/files/mc-4.8.28-tests.patch deleted file mode 100644 index ccd9dc1addc9..000000000000 --- a/app-misc/mc/files/mc-4.8.28-tests.patch +++ /dev/null @@ -1,35 +0,0 @@ -START_TEST uses the variable name _i, so GCC complains about redefining it with -a different type here. - ---- mc-4.8.28/tests/lib/strutil/filevercmp.c 2022-03-20 10:02:47.000000000 +0000 -+++ mc-4.8.28/tests/lib/strutil/filevercmp.c 2022-03-27 15:31:19.812120141 +0100 -@@ -353,20 +353,20 @@ - START_TEST (filevercmp_test5) - /* *INDENT-ON* */ - { -- size_t _i; -+ size_t ii; - -- for (_i = 0; _i < filevercmp_test_ds5_len; _i++) -- for (; filevercmp_test_ds5[_i] != NULL; _i++) -+ for (ii = 0; ii < filevercmp_test_ds5_len; ii++) -+ for (; filevercmp_test_ds5[ii] != NULL; ii++) - { -- const char *i = filevercmp_test_ds5[_i]; -- size_t _j; -+ const char *i = filevercmp_test_ds5[ii]; -+ size_t jj; - -- for (_j = _i; filevercmp_test_ds5[_j] != NULL; _j++) -+ for (jj = ii; filevercmp_test_ds5[jj] != NULL; jj++) - { -- const char *j = filevercmp_test_ds5[_j]; -+ const char *j = filevercmp_test_ds5[jj]; - -- ck_assert_int_eq (test_filevercmp (i, j), 0); -- ck_assert_int_eq (test_filevercmp (j, i), 0); -+ ck_assert_int_eq (test_filevercmp (i, j), 0); -+ ck_assert_int_eq (test_filevercmp (j, i), 0); - } - } - } diff --git a/app-misc/mc/mc-4.8.28-r2.ebuild b/app-misc/mc/mc-4.8.30.ebuild index 9358a40edd7e..e1576c254b12 100644 --- a/app-misc/mc/mc-4.8.28-r2.ebuild +++ b/app-misc/mc/mc-4.8.30.ebuild @@ -7,7 +7,7 @@ inherit autotools flag-o-matic MY_P="${P/_/-}" SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" DESCRIPTION="GNU Midnight Commander is a text based file manager" HOMEPAGE="https://midnight-commander.org" @@ -49,7 +49,7 @@ S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch - "${FILESDIR}"/${P}-tests.patch #836812 + "${FILESDIR}"/${PN}-4.8.29-gentoo-tools.patch ) src_prepare() { diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild deleted file mode 100644 index 6488062b0d4b..000000000000 --- a/app-misc/mc/mc-9999.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -MY_P="${P/_/-}" -if [[ ${PV} = *9999* ]]; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/MidnightCommander/mc.git" -else - SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" -fi - -DESCRIPTION="GNU Midnight Commander is a text based file manager" -HOMEPAGE="https://midnight-commander.org" - -LICENSE="GPL-3" -SLOT="0" -IUSE="+edit gpm nls sftp +slang spell test unicode X" - -REQUIRED_USE="spell? ( edit )" - -RDEPEND=">=dev-libs/glib-2.30.0:2 - gpm? ( sys-libs/gpm ) - kernel_linux? ( sys-fs/e2fsprogs[tools(+)] ) - sftp? ( net-libs/libssh2 ) - slang? ( >=sys-libs/slang-2 ) - !slang? ( sys-libs/ncurses:=[unicode(+)?] ) - spell? ( app-text/aspell ) - X? ( x11-libs/libX11 - x11-libs/libICE - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libSM )" -DEPEND="${RDEPEND}" -BDEPEND=" - app-arch/xz-utils - virtual/pkgconfig - nls? ( sys-devel/gettext ) - test? ( dev-libs/check ) -" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - if [[ ${PV} == *9999* ]] ; then - eautoreconf - # taken from autogen.sh script - xgettext --keyword=_ --keyword=N_ --keyword=Q_ --output=- \ - $(find . -name '*.[ch]') | sed -ne '/^#:/{s/#://;s/:[0-9]*/\ - /g;s/ //g;p;}' | grep -v '^$' | sort | uniq > po/POTFILES.in \ - || die - ./version.sh "${S}" || die - fi -} - -src_configure() { - [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" - - local myeconfargs=( - --enable-charset - --enable-vfs - --with-screen=$(usex slang 'slang' "ncurses$(usex unicode 'w' '')") - $(use_enable kernel_linux vfs-undelfs) - # Today mclib does not expose any headers and is linked to - # single 'mc' binary. Thus there is no advantage of having - # a library. Let's avoid shared library altogether - # as it also conflicts with sci-libs/mc: bug #685938 - --disable-mclib - $(use_enable nls) - $(use_enable sftp vfs-sftp) - $(use_enable spell aspell) - $(use_enable test tests) - $(use_with gpm gpm-mouse) - $(use_with X x) - $(use_with edit internal-edit) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Bug #759466 - if [[ ${EUID} == 0 ]] ; then - ewarn "You are emerging ${PN} as root with 'userpriv' disabled." - ewarn "Expect some test failures, or emerge with 'FEATURES=userpriv'!" - fi - - # CK_FORK=no to avoid using fork() in check library - # as mc mocks fork() itself: bug #644462. - # - # VERBOSE=1 to make test failures contain detailed - # information. - CK_FORK=no emake check VERBOSE=1 -} -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS NEWS README - - # fix bug #334383 - if use kernel_linux && [[ ${EUID} == 0 ]] ; then - fowners root:tty /usr/libexec/mc/cons.saver - fperms g+s /usr/libexec/mc/cons.saver - fi -} - -pkg_postinst() { - if use spell && ! has_version app-dicts/aspell-en ; then - elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed." - elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini" - elog "It has to be set to one of your installed aspell dictionaries or 'NONE'" - elog - fi - elog "To enable exiting to latest working directory," - elog "put this into your ~/.bashrc:" - elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" -} |