From d1d8adbfd346340c3784c72a9fa0868dde6ff736 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Jul 2022 15:01:59 +0100 Subject: gentoo auto-resync : 27:07:2022 - 15:01:59 --- app-admin/Manifest.gz | Bin 32844 -> 32846 bytes app-admin/xstow/Manifest | 5 ++- app-admin/xstow/files/xstow-1.1.0-clang.patch | 37 ++++++++++++++++++ app-admin/xstow/metadata.xml | 1 + app-admin/xstow/xstow-1.1.0.ebuild | 53 ++++++++++++++++++++++++++ 5 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 app-admin/xstow/files/xstow-1.1.0-clang.patch create mode 100644 app-admin/xstow/xstow-1.1.0.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 8ce37ce8a5d4..3d8d6c3afa5c 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/xstow/Manifest b/app-admin/xstow/Manifest index c9ca92b40c6d..48ca01c8ddae 100644 --- a/app-admin/xstow/Manifest +++ b/app-admin/xstow/Manifest @@ -1,7 +1,10 @@ AUX 99xstow 65 BLAKE2B c3d3dae69e0ed5251a996ddfb164795718974e1c2464176e680373fab25ceeb8a22392ac8de0dd489462e28bc48512c151f3f438ddc7f9bd093d5c63b46ba29b SHA512 0ade954fc07ba98be74d79e8ce842fc4e3e12f83d59f76eb78810251cc9e1612d963401be99f38002d94a2a32c9c2a32429f73d7ee69e97c12f6a05db14a3476 AUX xstow-1.0.1-gcc12-clang.patch 1016 BLAKE2B e14b1e6af041fa6c4f0bde9466a7cbba0def66e064cf05eb015643f83395b14e12e9556ae945f3cf4d4e1d08df43b8d334b30bef10f1f3b938d27e54f3fe1114 SHA512 e5861676c5093219048cba1d63c62d3e2c1768553277aba17fad472799c312d9deb54a9864174e30dbb3a72eb923970dcc0dc150b96977da187ced8e8628888a AUX xstow-1.0.1-ncurses.patch 1070 BLAKE2B 58782b144bf997d88e1480f7743afb8d6dc2e814a4a412bb0d0ebf8cc83ae0d1aab5605228e7a6228e0aec6b8fca83104249e80e7f2406aafe2f9ab8408cf6eb SHA512 63fce626ad5b376a5aa2d335fdd4d73ce3a1b7fccc5a6ff5ab92182d6f3ca40417926b9d35f3447ed73f386d3022d6dc81ec39a2f790fea46b681d344fdad389 +AUX xstow-1.1.0-clang.patch 1092 BLAKE2B b00444730f525ce39c2692e7f1ab120b40d1e671d88c1c4f9b2b85f0c97ef34a89f12ba47c8eabd53464d05e5e3a94f28f84c3ce277072a983c34e188f149edd SHA512 804df13381f1d0f365303547c1b8e8b5fa2dd06e357596bd65ba349fe6b63e906491e78a19a6bf9190e7e8a81ae26b77a66f0f5290ff5b640f91024eca136537 DIST xstow-1.0.2.tar.bz2 151622 BLAKE2B 45123c2cb018605c2e47940707384ea1824ddf4f542cfad6a73bfc3559803ca6ec7811252221ad80125e1821cac6d65bcc106b4acf294c4fa453e8043c78cf04 SHA512 319dcd57290fcee9fd66811e64af73ddab8abb11d47c0cb79d3e11f1ecdf18ab9511b3a0690621061d2613193cd4895f3bddb3d741159c23c14d278a8a8bf9dd +DIST xstow-1.1.0.tar.bz2 187761 BLAKE2B ed3822e638aedf8900a3baba62a5af9de9d7b98dcdf27ca81a6898353b9f5c7f767ec7d8e68ead4d5ef318af5a6eda2b1cc68a5c80a6a8ad2b9c8adf03ae3377 SHA512 30f2e0be0c2aba668b4cc781fe69ac74c2460cc681c6b47a55ee66af5c0f2ac14dee9fe2e95a288ce06059378407a2b99d2156430a5a6dcbf06def793f579015 EBUILD xstow-1.0.2-r1.ebuild 1283 BLAKE2B d808e405f774c50dd5939076c87fc8827267dc4933e76088bc3b136d2017045c77cf1d26eabd043a02038240d0164ac533634581ea7ece0766f43fd7a07268f9 SHA512 ed6510d9b59242f42694989461807a70035098b572be64aff02f2cffc214a154b31036c65473a1e5675e5ead49b6d822e39998d6e277d6a35d42a776dbc63c33 EBUILD xstow-1.0.2.ebuild 1232 BLAKE2B b4c313abba4222528ce1f7f92c3a75386ff82344089399706516b0820298a0c96e65296dbb1b72625cc782afb3c88bb5447ec4e2e15f2636a2d9aee7fcc41129 SHA512 cf5b480a23372a207f9c779c1de2c766b1adce38446e1ab8d7dd9d58eabeb55162a4d63abda6ad4e5234b3cc6d9155696171b0c8dceec77e296c268d2b24aafc -MISC metadata.xml 243 BLAKE2B a06cbed4fff7b21d4f77f230217c539a20af83bd7e33bf636528a509eaef9becdcf3057d475ddcce21ec4ff77e8b0b342dc542ea000e4030100f9a01f74beedf SHA512 5fde535be5478318f25eee6c74260f2bbb525fd1e9dea4e5bb2a0ef079e4f07d66bdd3de5bd6ddf2608f9d82b6c29f6bdfe3ac62a5d9d0c9539f661dc084f1ad +EBUILD xstow-1.1.0.ebuild 1228 BLAKE2B 8377d219bfbb3bc49d88f7a7805fb856d3804e1e53f728981c353e8b1e5078cd046ef11c731e3863c812e968453e4fb3a2ed20002dc29e0f3b0235f8d3be99dc SHA512 bb130993e00eace835a49b1d343be12d7f0ecf6a29e03b6defca93e90a1b792f7539b572fdc1d6202e4936867a4fd7163b17ab47feb81d1b49c9589d266ba6c1 +MISC metadata.xml 301 BLAKE2B aace14f4b6ef5f8874f165c8bf5f6c3df1c8a259a54f48cf8805a62baa9530bdeea7dbe85a9c445151fdac6a53674f1967bf960ef0c9b26e4ccc8923d89cef55 SHA512 dafc481314893bacf1024daa509819b09d99f7f7c2bbb0613ac092cc0e14eb61ec708ba1a6d5b3d48774855707481745d0da462b94a973dd88a22ec64cc667de diff --git a/app-admin/xstow/files/xstow-1.1.0-clang.patch b/app-admin/xstow/files/xstow-1.1.0-clang.patch new file mode 100644 index 000000000000..0f880b00cb91 --- /dev/null +++ b/app-admin/xstow/files/xstow-1.1.0-clang.patch @@ -0,0 +1,37 @@ +https://github.com/majorkingleo/xstow/commit/bdcbdb6f6e0f35ed0a0df50f0a9d19441af9c866 + +From: Martin Oberzalek +Date: Wed, 27 Jul 2022 09:25:03 +0200 +Subject: [PATCH] Fixed compilation with clang + +--- a/src/cpputils/cpputilsshared/cpputilsformat/format2.h ++++ b/src/cpputils/cpputilsshared/cpputilsformat/format2.h +@@ -40,7 +40,7 @@ namespace Tools { + bool _is_string; + + public: +- BaseArg( bool is_int_, bool is_string_ ) ++ BaseArg( bool is_int_ = false, bool is_string_ = false ) + : _is_int( is_int_ ), + _is_string( is_string_ ) + {} +--- a/src/cpputils/cpputilsshared/leoini.h ++++ b/src/cpputils/cpputilsshared/leoini.h +@@ -278,12 +278,11 @@ namespace Leo + std::string::size_type end = s.find( ']', start ); + + if( start == std::string::npos || +- end == std::string::npos ) +- s = ""; +- else +- s = s.substr( start+1, start-end -1 ); +- +- return s2x(s); ++ end == std::string::npos ) { ++ return s2x(""); ++ } else { ++ return s2x( s.substr( start+1, start-end -1 ) ); ++ } + } + } // namespace Leo + diff --git a/app-admin/xstow/metadata.xml b/app-admin/xstow/metadata.xml index 8915e8ac0ac4..22daf571c552 100644 --- a/app-admin/xstow/metadata.xml +++ b/app-admin/xstow/metadata.xml @@ -3,6 +3,7 @@ + majorkingleo/xstow xstow diff --git a/app-admin/xstow/xstow-1.1.0.ebuild b/app-admin/xstow/xstow-1.1.0.ebuild new file mode 100644 index 000000000000..5a06f7a62ad8 --- /dev/null +++ b/app-admin/xstow/xstow-1.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Replacement for GNU stow with extensions" +HOMEPAGE="http://xstow.sourceforge.net/" +SRC_URI="mirror://sourceforge/xstow/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ncurses" + +DEPEND="ncurses? ( sys-libs/ncurses:= )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-clang.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_with ncurses curses) +} + +src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install + dodoc AUTHORS ChangeLog NEWS README TODO + + # Create new STOWDIR + keepdir /var/lib/xstow + + # Install env.d file to add STOWDIR to PATH and LDPATH + doenvd "${FILESDIR}"/99xstow +} + +pkg_postinst() { + elog "We now recommend that you use /var/lib/xstow as your STOWDIR" + elog "instead of /usr/local in order to avoid conflicts with the" + elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264" + elog "(regarding app-admin/stow, equally applicable to XStow) for" + elog "more details on this change." + elog "For your convenience, PATH has been updated to include" + elog "/var/lib/bin." +} -- cgit v1.2.3