diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/9libs/9libs-1.0-r4.ebuild | 54 | ||||
-rw-r--r-- | dev-libs/9libs/9libs-1.0-r5.ebuild | 57 | ||||
-rw-r--r-- | dev-libs/9libs/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/9libs/files/9libs-1.0-clang16.patch | 8 | ||||
-rw-r--r-- | dev-libs/Manifest.gz | bin | 95940 -> 95943 bytes | |||
-rw-r--r-- | dev-libs/libtraceevent/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/libtracefs/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libtracefs/libtracefs-1.5.0.ebuild | 53 |
9 files changed, 174 insertions, 55 deletions
diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild b/dev-libs/9libs/9libs-1.0-r4.ebuild deleted file mode 100644 index bb14ac5ccbf2..000000000000 --- a/dev-libs/9libs/9libs-1.0-r4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools toolchain-funcs - -DESCRIPTION="A package of Plan 9 compatibility libraries" -HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README" -SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2" - -LICENSE="PLAN9" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -DEPEND=" - >=x11-libs/libX11-1.0.0 - >=x11-libs/libXt-1.0.0 -" -RDEPEND=" - ${DEPEND} -" -DOCS=( - README -) -PATCHES=( - "${FILESDIR}"/${PN}-va_list.patch # Bug 385387 -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - tc-export CC - - econf \ - --enable-shared \ - --disable-static \ - --includedir=/usr/include/9libs \ - --with-x -} - -src_install() { - default - - # rename some man pages to avoid collisions with dev-libs/libevent - local f - for f in add balloc bitblt cachechars event frame graphics rgbpix; do - mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die - done - - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/9libs/9libs-1.0-r5.ebuild b/dev-libs/9libs/9libs-1.0-r5.ebuild new file mode 100644 index 000000000000..21a9175d21dd --- /dev/null +++ b/dev-libs/9libs/9libs-1.0-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Plan 9 compatibility libraries" +HOMEPAGE="https://netlib.org/research/9libs/9libs-1.0.README" +SRC_URI="https://netlib.org/research/9libs/${P}.tar.bz2" + +LICENSE="PLAN9" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" +RESTRICT="test" # interactive, hangs with virtx and fails without (bug #403539) + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXt" +DEPEND=" + ${DEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${PN}-va_list.patch # Bug 385387 + "${FILESDIR}"/${P}-clang16.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing #855665 + + local econfargs=( + --enable-shared + --includedir="${EPREFIX}"/usr/include/9libs + --with-x + ) + + econf "${econfargs[@]}" +} + +src_install() { + default + + # rename some man pages to avoid collisions with dev-libs/libevent + local f + for f in add balloc bitblt cachechars event frame graphics rgbpix; do + mv "${ED}"/usr/share/man/man3/${f}.{3,3g} || die + done + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/9libs/Manifest b/dev-libs/9libs/Manifest index 76cb4c841148..8789a9376dfc 100644 --- a/dev-libs/9libs/Manifest +++ b/dev-libs/9libs/Manifest @@ -1,4 +1,5 @@ +AUX 9libs-1.0-clang16.patch 165 BLAKE2B f0b6dfebe0a556cbc5261e8c0e791d26ff17b90b009f22396b9a73b171fc19afdc81511f7c29c89a2e7768142eb14e07a173e4e39ccdb793d24e9c2643678f05 SHA512 3773503fa91686d48350e2f81a8b55f8dca1bc96eb6ec2743e5d60094e2eed7a8516c869a81c15079b336ae2dbc64cbd579e12dace1c2a837547cd34c33de81b AUX 9libs-va_list.patch 2819 BLAKE2B 641d1a22c9feecb635d470c072ee28fb4e3fd0fb54d2db3c667bf6907d38f4928cc951057df1b1dc2bc0dd4c98d2d5ff16d1b94243df9db1d96d2f52608db804 SHA512 3c441f0bca520baebe06b63e099ee4ba138257c40d3870894c910173379f0d1e52f1627e984ceac61dca76ec68ac68e75cffa919895cebd4b38d09e12f271783 DIST 9libs-1.0.tar.bz2 163744 BLAKE2B 3cc984ff83ff48969148f8fb3b78e6b85b32280634e99f552c869e650d4893a18ea2164c10ea7662a704c7d55a49bf7434caa219c3a716637895d1f3df4d2ad8 SHA512 35fdd874dbf9aca07e681d7c3f707d22a45cc8cadb2c273a1fbc5f8303886a6b512eb16fc1b81d64d7f665b16a3b19a8d678a540cd4ad453de853b90905d98d2 -EBUILD 9libs-1.0-r4.ebuild 997 BLAKE2B ec06e573a5cbe3505f9052faf8100c8c3b4873347579da9f0c46c479c929f6ec44cd4451056dd480b69d99b2f94b86d1b8d3dc977a217ec364bca045dd9eb99b SHA512 39b0ead30b4f97cd83dc8d990ff12e13e2c213c0ab288cdb97370110b19571827e6c7247ffb0bb826b844c7fafcb4d3503cc40adb93062f41d2a8349badd2673 +EBUILD 9libs-1.0-r5.ebuild 1140 BLAKE2B c471a2761b3c5eff55ecd3dfe8925d7ea2ca95a4c6b4e49cadbacd03b937dd19ee7a34d7f3f9edec7fa91242ce1341b2fbad4fa444888265f3fd014c98d279bc SHA512 2285a98ea31e4fcc7ba441b720348902d94deb2db02fbeab807a72cd637561620b1888b76930769f5b381fe81cf372425a168c70a8da38863d48eaccffe36dd0 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/dev-libs/9libs/files/9libs-1.0-clang16.patch b/dev-libs/9libs/files/9libs-1.0-clang16.patch new file mode 100644 index 000000000000..237cfc0c70c9 --- /dev/null +++ b/dev-libs/9libs/files/9libs-1.0-clang16.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/871183 +--- a/libXg/gcs.c ++++ b/libXg/gcs.c +@@ -163,3 +163,3 @@ + static GC gc0, gcn; +- static clipset = 0; ++ static int clipset = 0; + GC g; diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 6b0e98d86bce..acea7e36eeed 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/libtraceevent/Manifest b/dev-libs/libtraceevent/Manifest index 95b1c2a8e000..ca4d7657e3f4 100644 --- a/dev-libs/libtraceevent/Manifest +++ b/dev-libs/libtraceevent/Manifest @@ -1,5 +1,7 @@ DIST libtraceevent-1.5.2.tar.gz 135283 BLAKE2B e4202fc3c9b09d20bed375bc1833a4f49b63cf484e63ecf3cc5f1f3950a1de7607464e6c2ae194085e78978e5f480a7ae392a4cde739c3a244367eaf1000f70d SHA512 3804a84d2a4771335ba14a7383f977d641e6437f055837c2faece811b8ef931cfa9d38082bef48d96092aeae8cdcb543222a3042b2c11c41749dddbbb4813d94 DIST libtraceevent-1.6.2.tar.gz 135857 BLAKE2B c5384d9bb8dc5977cfb412c22d9692ed757f94dcd01b6a93e8368cd3368bf2731c0c4eff764fd81b4627925e0fd370acd509710b538842708836b5d0ce777003 SHA512 8e951f66c339de2bc78c7c7f347f9283553ae62adc9e2bb96de1ed0aaadf91d59b2e93785c5030b0dd6d946488dc5e688d504eba54d674454c808c320127cfbf +DIST libtraceevent-1.6.3.tar.gz 140072 BLAKE2B 416fa68e2604c3cc71323171b084261e38f08f630a03afda0e2ecc4860c8b08dae10b2abaa2afae54d2b4e382720b43a6616a9ab8599759de102af918eeb24fc SHA512 8064eb18dda6fdbff020759ed92e785b87d34be9ebc30cb6085785edeb8d7252cabf8d33d8738a3ec407672a3d891884d0f0b4c551fce26c76fa8eaf61b9e2f5 EBUILD libtraceevent-1.5.2-r1.ebuild 1132 BLAKE2B 1364ff0b1a0f3b74f34d544ddc3d7ed7cb7da7423488faf10d0149e14671da06e8f14308e77b8425d21465952218a13944a97ce232cf31a372f103e88555a802 SHA512 1a9fd1588c159524c18d7dd9d29cbe560bb393af542f941ac801b71c433891e421d93fff45d2f6e0b42949619fcf776b73bc404f0a6abad2c3b1c01c9d53d9d7 EBUILD libtraceevent-1.6.2.ebuild 1132 BLAKE2B 1364ff0b1a0f3b74f34d544ddc3d7ed7cb7da7423488faf10d0149e14671da06e8f14308e77b8425d21465952218a13944a97ce232cf31a372f103e88555a802 SHA512 1a9fd1588c159524c18d7dd9d29cbe560bb393af542f941ac801b71c433891e421d93fff45d2f6e0b42949619fcf776b73bc404f0a6abad2c3b1c01c9d53d9d7 +EBUILD libtraceevent-1.6.3.ebuild 1132 BLAKE2B 1364ff0b1a0f3b74f34d544ddc3d7ed7cb7da7423488faf10d0149e14671da06e8f14308e77b8425d21465952218a13944a97ce232cf31a372f103e88555a802 SHA512 1a9fd1588c159524c18d7dd9d29cbe560bb393af542f941ac801b71c433891e421d93fff45d2f6e0b42949619fcf776b73bc404f0a6abad2c3b1c01c9d53d9d7 MISC metadata.xml 363 BLAKE2B e7330c25a8a87a9811793ee730e7822000fdf1cbdda003302e5d542118204d905583a4acd07a5f37a15952bbe6265ff606d44978db823905c724b5f142d5d2ae SHA512 7be0cfa3fd15ef0cfc0647c73d69a7efc5f00d8b7f9d85c6092326d638132e7f989b855fe5f3bd9ab770e860e7858f8d462f8727b9ddeee64a0c44f7e66acf9c diff --git a/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild b/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild new file mode 100644 index 000000000000..b9bb4041b4e1 --- /dev/null +++ b/dev-libs/libtraceevent/libtraceevent-1.6.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Linux kernel trace event library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" + +RDEPEND=" + !<dev-util/trace-cmd-3.0 +" +BDEPEND=" + doc? ( app-text/xmlto app-text/asciidoc ) +" + +src_configure() { + EMAKE_FLAGS=( + "prefix=${EPREFIX}/usr" + "libdir=${EPREFIX}/usr/$(get_libdir)" + "CC=$(tc-getCC)" + "AR=$(tc-getAR)" + VERBOSE=1 + ) +} + +src_compile() { + emake "${EMAKE_FLAGS[@]}" + use doc && emake doc +} + +src_install() { + emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install + # can't prevent installation of the static lib with parameters + rm "${ED}/usr/$(get_libdir)/libtraceevent.a" || die + use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install-doc +} diff --git a/dev-libs/libtracefs/Manifest b/dev-libs/libtracefs/Manifest index 2d9bb9a2fdb9..3328a8462d62 100644 --- a/dev-libs/libtracefs/Manifest +++ b/dev-libs/libtracefs/Manifest @@ -2,6 +2,8 @@ AUX libtracefs-1.3.1-musl-pthread.patch 505 BLAKE2B 34d07b0d7527d245f459bfb0a833 AUX libtracefs-1.4.2-fix-test.patch 257 BLAKE2B 80d8dab428f5d2e4a8124437c8468c6cf941c4b3f03cae3330db684e2b01060dd5c5acacae63fa3589651cf3bf213264fd0f408c7404248a0f57ef1fe0472c92 SHA512 42068f3009e81f3648d89515ea057e58f6327794316315248a5f0ec5351c76aaffe8815a8587cbaf2d3bcb6386f2238b1a735efda685bd3ed9d675a213201174 DIST libtracefs-1.3.1.tar.gz 175453 BLAKE2B d9801c9f50513a8b2d2de57f768aec69c3e47b4c41ba1e887b28465d3a0a6bf10e5d2c60f81615615176bdb65e10ef7e2b7dee5cbb214705cc69e55bb923231c SHA512 1d8423ff1033a4ab601dd8e9fa4a801c27425234505070733641c8c9a4dd382cc6563d3fde89958f18e0bc95e2cbbdf65e69a2935fe208d5de9fd3ac26374ec1 DIST libtracefs-1.4.2.tar.gz 178382 BLAKE2B a956423370077613417812ad18da284521e8798701d558f4e419af6c43bd8a06c489525bbab26e6bc5d5d5e8fd0e6a7322d34f976a4ea560670eb594818d07fc SHA512 4a66c3cf8050de5acc4c63996cbcfa2c014e26ad6011eb89b0cff47ffbd6343637009354edf6bb173b9fd08103012774376c33fd6f642741f7990f2d6de3ea0c +DIST libtracefs-1.5.0.tar.gz 179569 BLAKE2B d69d4bb2c9cbf6dd971afaad280534ce8af4982ca76c7b12cb8432f56a01d622a5d58c827cfe86537e5db2a416ab1092c95309b77b766b183266e1ad22ad8d13 SHA512 5e936a788473c0eb373144231ef9ac139ae53b4685053dfed74157a9432d429f35b70290607679eae9f44fd858d2102a02c3beac35d8de35d856c3c1001644d3 EBUILD libtracefs-1.3.1.ebuild 1391 BLAKE2B 28d81702b711190ddfa0b62a322ab222566c1ecd7185df38e1c30a57910e976f5c7fa42aa32b322934585cdb35d9936a0736e00c5674107ee58629dada2db684 SHA512 566dbbba263d368be4c3ddcc406025bde03f92555d1717bf958a6b71d3833bffea0bb68b3dfe4b50a542108522663e4fc549473379e7447061c2ddd90ea1bbb2 EBUILD libtracefs-1.4.2.ebuild 1387 BLAKE2B b81fac4348de3bc92044a17bca680c836902a935804d8062156962bb5f9db5125631c28c61d11afe62a6349b34365a8918c1c78f4c419ff1bb34443b6699e0b9 SHA512 f7ed18ce5665c6d37a7148ff4ce3e9ac550f448c8a5699f9c346490c1624ed0ff584943c13cab52f2a2f29929a21d58abf8248db60c6f9aa57edb8f21ebf4b75 +EBUILD libtracefs-1.5.0.ebuild 1332 BLAKE2B e04d00b575e72204012ed76e0747e7a8f4f097679bbdf4c6b567f34978348ba1b05cd3dc626e93c030f4ae8a8c283cf68ade51036d68ff8a00df9ef1fcc90bd2 SHA512 c1e5ddbf5861db37d3f760acb9b02664fff89ff9d3abec944ea9bfe28b185353018d894d1abf82a9bead0ba09e9654b4cf60d4890395ed964bbfd502bfa1c847 MISC metadata.xml 363 BLAKE2B e7330c25a8a87a9811793ee730e7822000fdf1cbdda003302e5d542118204d905583a4acd07a5f37a15952bbe6265ff606d44978db823905c724b5f142d5d2ae SHA512 7be0cfa3fd15ef0cfc0647c73d69a7efc5f00d8b7f9d85c6092326d638132e7f989b855fe5f3bd9ab770e860e7858f8d462f8727b9ddeee64a0c44f7e66acf9c diff --git a/dev-libs/libtracefs/libtracefs-1.5.0.ebuild b/dev-libs/libtracefs/libtracefs-1.5.0.ebuild new file mode 100644 index 000000000000..440403770349 --- /dev/null +++ b/dev-libs/libtracefs/libtracefs-1.5.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Linux kernel trace file system library" +HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + +if [[ ${PV} =~ [9]{4,} ]]; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/" + inherit git-r3 +else + SRC_URI="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" +RDEPEND=" + >=dev-libs/libtraceevent-1.3.0 +" +DEPEND="${RDEPEND}" +# source-highlight is needed, see bug https://bugs.gentoo.org/865469 +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/xmlto app-text/asciidoc dev-util/source-highlight ) +" + +src_configure() { + EMAKE_FLAGS=( + "prefix=${EPREFIX}/usr" + "libdir=${EPREFIX}/usr/$(get_libdir)" + "CC=$(tc-getCC)" + "AR=$(tc-getAR)" + VERBOSE=1 + ) +} + +src_compile() { + emake "${EMAKE_FLAGS[@]}" + use doc && emake doc +} + +src_install() { + emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install + # can't prevent installation of the static lib with parameters + rm "${ED}/usr/$(get_libdir)/libtracefs.a" || die + # install-doc is wrong target, see https://bugs.gentoo.org/865465 + use doc && emake "${EMAKE_FLAGS[@]}" DESTDIR="${ED}" install_doc +} |