diff options
Diffstat (limited to 'dev-libs')
19 files changed, 1100 insertions, 10 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 39b84700ff20..66fc2e893dfd 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/hyprgraphics/Manifest b/dev-libs/hyprgraphics/Manifest new file mode 100644 index 000000000000..5681fdb01b62 --- /dev/null +++ b/dev-libs/hyprgraphics/Manifest @@ -0,0 +1,3 @@ +DIST hyprgraphics-0.1.1.gh.tar.gz 421561 BLAKE2B 1f99b2db950c700aae7273ef6a883470165e1b45656c958d5c3999080ecc8372a5114cdf3e5baa812778bd0f157683e38d44f8a3f62eb060b0e48b1ce5ac2a22 SHA512 9295ab3bfcdfed42425ca21d0b8c48f4fc6abba377eaf07ac638e077181380ae57fd352a67420540fda7c4709cae77cde563f328271e36fc38c3101e04e8fd69 +EBUILD hyprgraphics-0.1.1.ebuild 522 BLAKE2B cde19032d9cd39129f928e8979eb37d9a601f76afbc7e688252445f19165a5ccf104629bc72bacbb1f35c8590afc8398a89de6e8818e3d5bf7be520fd32d958f SHA512 b9d9ab83f73ac7d97c022f3056689448283c8c7f05d0ed6209ed30a618b2c946e79a70707402a87e4beb47dfe791941745179d0a70be1fb1fcd9306c2ce97e5c +MISC metadata.xml 763 BLAKE2B c1c538f82ef876409798f6a0e5e26ac21036f5fe1f091ea0070c3b297263964b7a18f913a7216b4dee04a6697a42e84f0779720e2295ee52d92b5e5c02adfb51 SHA512 4815765ece7c9ef568bdcfccb7a1e19c62a61e50b16794d1a834ca83a61b66ec4c39263b51a36953a990f7bf2fc69c58bd986938aed84f558430c3a1f40059f6 diff --git a/dev-libs/hyprgraphics/hyprgraphics-0.1.1.ebuild b/dev-libs/hyprgraphics/hyprgraphics-0.1.1.ebuild new file mode 100644 index 000000000000..c5c096e4cd92 --- /dev/null +++ b/dev-libs/hyprgraphics/hyprgraphics-0.1.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Hyprland graphics / resource utilities" +HOMEPAGE="https://github.com/hyprwm/hyprgraphics" +SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=gui-libs/hyprutils-0.1.1:= + media-libs/libjpeg-turbo:= + media-libs/libjxl:= + media-libs/libwebp:= + sys-apps/file + x11-libs/cairo +" +DEPEND="${RDEPEND}" diff --git a/dev-libs/hyprgraphics/metadata.xml b/dev-libs/hyprgraphics/metadata.xml new file mode 100644 index 000000000000..3c6ac7a66b0b --- /dev/null +++ b/dev-libs/hyprgraphics/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>julien@jroy.ca</email> + <name>Julien Roy</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> +Hyprgraphics is a small C++ library with graphics / resource related utilities used across the hypr* ecosystem. + </longdescription> + <upstream> + <bugs-to>https://github.com/hyprwm/hyprgraphics/issues</bugs-to> + <changelog>https://github.com/hyprwm/hyprgraphics/releases</changelog> + <remote-id type="github">hyprwm/hyprgraphics</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/hyprland-protocols/Manifest b/dev-libs/hyprland-protocols/Manifest index 65186b2cb462..ae1c1fd2250b 100644 --- a/dev-libs/hyprland-protocols/Manifest +++ b/dev-libs/hyprland-protocols/Manifest @@ -1,6 +1,6 @@ DIST hyprland-protocols-0.3.0.gh.tar.gz 7423 BLAKE2B 1ecc6625152e9bd530490d8321dcbe41396dd7306066f6cd6d97c22a0ebb2c914348b6829e8d5e210f07807a7df282a1cc63fa44a93bd08df22987850bd27a3a SHA512 15bb0c45eed1949d888d228c671139fefd48e32d634823ed8041a4901e15e73409b0fd368d4c1f6197bd6980e723b20303697ad46b1171330cfd27821118ba32 DIST hyprland-protocols-0.4.0.gh.tar.gz 8131 BLAKE2B 3187849ed4e460a06a6c88919972f1a8989f6aa2dff24209da5697dddbfcfb82898babdc275246942a9b6e79f922a58c4139870b5c68fc2d28288400cedfb80e SHA512 cc32cae0840c49a7f128150be99b3584d5e5eb417a321ae7c917a859715e263c199001f73e7642348e2ae670ed4fffeecab9649144920d90999f46e9bfb8f938 EBUILD hyprland-protocols-0.3.0.ebuild 536 BLAKE2B 2d1f7559cd73c432e0a7309f064125c8715b1276d5274c9946d47779385c4085cdcc6f4a9eb72e2e67f8940fe52ea1776c2a3f057994de2f4ed9480840493434 SHA512 d8d279d26715cabfebc962258d3d0a96d8c9f2186e21ec9f2b9fb8c144e1db7005bf990849cda396064df6ec887851088fbcaf31a0099bd558b7a86ab7d2ceec -EBUILD hyprland-protocols-0.4.0.ebuild 537 BLAKE2B 9bb30ee0635a772203ac8ed670c029ebbd8918a40bf7c5698fcdccb49f070f6da51ecdd256d88c18ba30918162a97d62a9566dfa9037660ef3ff5676363936b3 SHA512 535c76604a1108348ab09c006489a318af44fca66ba8ad03c17a68631aa76146fda5f19b79f4e43164027cd41fc9bb87c44a24bb87f3132898ee3b2dec3b1421 +EBUILD hyprland-protocols-0.4.0.ebuild 536 BLAKE2B 2d1f7559cd73c432e0a7309f064125c8715b1276d5274c9946d47779385c4085cdcc6f4a9eb72e2e67f8940fe52ea1776c2a3f057994de2f4ed9480840493434 SHA512 d8d279d26715cabfebc962258d3d0a96d8c9f2186e21ec9f2b9fb8c144e1db7005bf990849cda396064df6ec887851088fbcaf31a0099bd558b7a86ab7d2ceec EBUILD hyprland-protocols-9999.ebuild 536 BLAKE2B 2d1f7559cd73c432e0a7309f064125c8715b1276d5274c9946d47779385c4085cdcc6f4a9eb72e2e67f8940fe52ea1776c2a3f057994de2f4ed9480840493434 SHA512 d8d279d26715cabfebc962258d3d0a96d8c9f2186e21ec9f2b9fb8c144e1db7005bf990849cda396064df6ec887851088fbcaf31a0099bd558b7a86ab7d2ceec MISC metadata.xml 604 BLAKE2B f0c93ac496cc49bd5ec73419f13682a10887677d3f7cbb6ef57b8bc47e22f9f913ca3dda8daa1c2dff604fe23bd05a88ad7cdba775e7ff160180ca1279c15665 SHA512 8d4ef946ef20698a36843fc82858b324db4ecc76a0116ddf413b95b00afab16ead2daf8892600fafe6b857a169cde13354bfb4c566e132737db628db637eab2f diff --git a/dev-libs/hyprland-protocols/hyprland-protocols-0.4.0.ebuild b/dev-libs/hyprland-protocols/hyprland-protocols-0.4.0.ebuild index f5179590cd2f..0de43fcf06fb 100644 --- a/dev-libs/hyprland-protocols/hyprland-protocols-0.4.0.ebuild +++ b/dev-libs/hyprland-protocols/hyprland-protocols-0.4.0.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~riscv" + KEYWORDS="amd64 ~riscv" fi LICENSE="BSD" diff --git a/dev-libs/hyprlang/Manifest b/dev-libs/hyprlang/Manifest index 457377eeffe7..d7d85f1b6417 100644 --- a/dev-libs/hyprlang/Manifest +++ b/dev-libs/hyprlang/Manifest @@ -1,7 +1,7 @@ -DIST hyprlang-0.5.1.gh.tar.gz 56237 BLAKE2B 1d93362d4e121dc0d6e18d27456be71bed088d79646a92a74e41af7ebefd511cef05c12034eb679fd1849c3c95e50e425a52a42da75f274bf39d2956d6bd6d5e SHA512 92bf1e79c41c33e09de25f45e8abfe753736521be06fee298875a68072761bf0254d06d2d312a12b2ae750d8710f50d1666f1b3fbbb95c338398f2b9e80ce454 DIST hyprlang-0.5.2.gh.tar.gz 56383 BLAKE2B 0d7708532e5169b0b0c2d5f88927ead24941af157c668832bdc67f4e87da1737d9f17d6d26b2424519bce4b54e4912c44ef879546d699ba03e270cab73652a89 SHA512 df330da11da317ff6aac2eb4a65c81b6cf4fc85e79f117e3fc3ef6e06d4c857d03134be9fcdc4e33f4974a4b2181e45b6009dba70ed047cda38e32df289b60a7 DIST hyprlang-0.5.3.gh.tar.gz 56761 BLAKE2B 5f8803b697b2d3e8f7bb386b6a07c10c1d66f97c0e4a034d5e9eb4272b250ba0665ee92d74277fd0f85b3857954b91890c199da16c27cd594a5c4975c55c15c0 SHA512 b5ab72d0f6ddb4c190bb2c2a495fab0128de0b5432b3161785b2ef0111aaea18ca42f17bc77248a4a4ab8b86d7cdd9b3acf415d495d4fcac42cf8bab5bc87df6 -EBUILD hyprlang-0.5.1.ebuild 381 BLAKE2B 3449f78988af5f76ed48926e54f6d6b9d9fa72adc183e64fd92b3c2e18676b6e35f58c915c7ebe3de905a595fbe7967c6d17a3eacc69efa644811c39045dcfbf SHA512 68a14cd6b204b32dd9a6bc3106e74736a2f8a712dae2f0772caaf5898364718d5e86af1ae763c12d2693cffed5a62bd316378444db2c3689682a952056721399 +DIST hyprlang-0.6.0.gh.tar.gz 57475 BLAKE2B 6d9783b87e2c2cecd965b82733eb40db357b6c18be031e3e15ab7436ecedf1a93fb1fcf27bcc3edd13e14fe697e65b790b7cf06e29ffe15595e6ba9564d552fc SHA512 bd7aee527acc82accaf47fe061844103520787da638df769ec7f2978fb2334c33b01e0b37af03cd66f4a6dc447bbecb2ede8ed61fa59c59044aae4f631e90823 EBUILD hyprlang-0.5.2.ebuild 381 BLAKE2B 3449f78988af5f76ed48926e54f6d6b9d9fa72adc183e64fd92b3c2e18676b6e35f58c915c7ebe3de905a595fbe7967c6d17a3eacc69efa644811c39045dcfbf SHA512 68a14cd6b204b32dd9a6bc3106e74736a2f8a712dae2f0772caaf5898364718d5e86af1ae763c12d2693cffed5a62bd316378444db2c3689682a952056721399 -EBUILD hyprlang-0.5.3.ebuild 433 BLAKE2B 0cde59800e39290e8bf367f005c856fc23aef14f0cb8a71efb310066e39c28b523bf72d01840c6695f7a3a7cfe7d58026216e2ade01d51ab54ee2ed12505fa59 SHA512 4397f8efc34fc787bdb8fdbb586953b43ffb3a07ef173752d2c21f1764111448b8eacbe1df4712c056090ea3c4216bc2ade9109427e88e44404c2ab95edd1677 +EBUILD hyprlang-0.5.3.ebuild 432 BLAKE2B bed6274f38dd4f08ee0c66bad46c9e0248342e7e311baaaff5e609f61e31e479f82ad50e594f1be8b19a1bc4383cc878e5e445518a52dc4f1cdd109aaa14d222 SHA512 a5dc46d2e28247c048d567fd432b0d2428561841185f8100a9120ea9731729aadfc3b92ea5482583d609108bc3e8107011fb511d7de4cf429f190dbc173cf0b9 +EBUILD hyprlang-0.6.0.ebuild 435 BLAKE2B ae5d8fae9efe55a84cc2cdbae9150e07da46ede1ea8ef993c9b2731a974ab33b17e4f76c160cbf3baaa68ed21a57a693fe9c34c808c6a40dbd7ba59d23913caf SHA512 a69b2fd8ef4ae49a8daab5258f4ff23cb0a5bcaeb3c56e5fc97ca07f22ec183807feedbdb257ee063630f28908e95f5b1d9e88cb5100f12cb5eede4be5da9101 MISC metadata.xml 953 BLAKE2B 006222c4344216fe2a423b9abc57d3386e118cf1ff74b3c9b25331fbd93b25e5994f01e2dabe0b075c48553903280bccb24c0f7c541edcbece0e193b98b9ae41 SHA512 1ee7bf817216e909f5650d77b5033f74a4d105ebb1493e342b7f5d4e3de5cb0e51ebfef1ad85a1ba95f87b2343188f713563db9949f479d036815084f79538d8 diff --git a/dev-libs/hyprlang/hyprlang-0.5.3.ebuild b/dev-libs/hyprlang/hyprlang-0.5.3.ebuild index 695f9358068e..f2f3ebc0b9ee 100644 --- a/dev-libs/hyprlang/hyprlang-0.5.3.ebuild +++ b/dev-libs/hyprlang/hyprlang-0.5.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=">=gui-libs/hyprutils-0.1.1" DEPEND="${RDEPEND}" diff --git a/dev-libs/hyprlang/hyprlang-0.5.1.ebuild b/dev-libs/hyprlang/hyprlang-0.6.0.ebuild index 9884a4ce9a12..7b3f37ecbece 100644 --- a/dev-libs/hyprlang/hyprlang-0.5.1.ebuild +++ b/dev-libs/hyprlang/hyprlang-0.6.0.ebuild @@ -11,4 +11,7 @@ SRC_URI="https://github.com/hyprwm/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~riscv" +KEYWORDS="~amd64" + +RDEPEND=">=gui-libs/hyprutils-0.1.1:=" +DEPEND="${RDEPEND}" diff --git a/dev-libs/libfmt/Manifest b/dev-libs/libfmt/Manifest index b5d7c02ef8bf..057d386c9bfa 100644 --- a/dev-libs/libfmt/Manifest +++ b/dev-libs/libfmt/Manifest @@ -1,10 +1,12 @@ DIST libfmt-10.1.1.tar.gz 851454 BLAKE2B 8b1237e6de72e81ebf2ad8d3c321b6ae9352bfeeb817d2e7f4541a722cd7ecc9212a2b83276fa0aa901473e1b90a15f487feefb3ea03acdcabdfe6b6f22997a1 SHA512 288c349baac5f96f527d5b1bed0fa5f031aa509b4526560c684281388e91909a280c3262a2474d963b5d1bf7064b1c9930c6677fe54a0d8f86982d063296a54c DIST libfmt-10.2.1.tar.gz 854665 BLAKE2B 7bef719aa99464b5cb608c81ca78e23f3aed81cadfa9ed65246c4983a98f0cadb27983d42929ab4e0b5e264673e38d7658a4f7d5171e624b2431b3c6327071d9 SHA512 27df90c681ec37e55625062a79e3b83589b6d7e94eff37a3b412bb8c1473f757a8adb727603acc9185c3490628269216843b7d7bd5a3cb37f0029da5d1495ffa DIST libfmt-11.0.2.tar.gz 700956 BLAKE2B c1f7998e68770bbb93ab7211a18b4930727699b340b2f2e15dedc83e55ff02400cfd363abaec1bf63a0165f8c21cc515a4aa23c4f3bc2e65b6fbc041781f0379 SHA512 47ff6d289dcc22681eea6da465b0348172921e7cafff8fd57a1540d3232cc6b53250a4625c954ee0944c87963b17680ecbc3ea123e43c2c822efe0dc6fa6cef3 +DIST libfmt-11.1.0.tar.gz 702130 BLAKE2B c620cf6409be257895e7ab95c722eb1f99174ad5e3c0d66209343ea3a6aff3b3905dfb7f4a38fc7c5c93dfd9f98adaba749b15dbddc1d72e4909156410f447a4 SHA512 9ade20cedd848c6128fbbc725c62de13cf575ee2261eb469e31653a74bcd0e5473e755c3e25d3623c725faf76bdffaae9399b23987198dd2d96237f51f8dc88f DIST libfmt-9.1.0.tar.gz 837901 BLAKE2B ff1daa43140615b63aeb1ecd0aa1c32d24decfd5006805080293ef3db04d544c0445a30e8da0d985a6f5a25ad48ce4f6ae61e52da5ea4a4d3b031c212da38b18 SHA512 a18442042722dd48e20714ec034a12fcc0576c9af7be5188586970e2edf47529825bdc99af366b1d5891630c8dbf6f63bfa9f012e77ab3d3ed80d1a118e3b2be EBUILD libfmt-10.1.1-r1.ebuild 756 BLAKE2B 7b9b751d1d24459b2762c9f6ea8b6a2abab08649911e64ea074572cd9644d2eb258436b495566e77b1568c1c9c30f884fb3c09745d1a473f50ec5f4549d79f49 SHA512 75e81ec568882933f0ebc7aea59f25c5331b0ade5f89d926b1e96231d233ed12c5bb0c7e4ed51d5d93863b5f7ddbdd0b5d82285feea70d6c9e9554c80af3d923 EBUILD libfmt-10.2.1-r2.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 EBUILD libfmt-11.0.2.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 +EBUILD libfmt-11.1.0.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 EBUILD libfmt-9.1.0-r1.ebuild 750 BLAKE2B 3d15e8e04f952fbe6cb1ace2e81d297089035e06a6897993a2035d5b47bc0b003730964d8fe02ce2044ca13536a1174dd41a333a6eab9f541dd2d187bc17c63b SHA512 018f72730e4ba3be606a08b8cdc502b6b05f6c5e312ba8119f97c3f1627dbd2eb1af4e923a875bdcb04528bb7bd806ec54b42312c1693841175a7e5a26ecc143 EBUILD libfmt-9.1.0-r2.ebuild 774 BLAKE2B 6c448a68faae1164ead818dec1355c01b7ed7b5fac3984409acf9e9961af9ecc74a8a79651cabeeddb1dc5318dae99965e8c3f94d6883f8773fb21cfd0ba7a92 SHA512 a0e77a6c32de7f7ebfa8c88ca234cdc83c20d9612af7a16ea5b1752fb065bad91c7d5e867ed2a46794444f86384fdda82d43fb18e831f36d9e9cc16171d1760c EBUILD libfmt-9999.ebuild 787 BLAKE2B 2af8fae57e10abe207cb1dd31f80d995ff54cf89147220d327a0df3cd8d801eef479e767b9711b2a819e666995e2c932fea1af2d50168e62b3fd2e1f24130bdd SHA512 70bc875129a415f915103903181b57150cac24de0f268afba1f418b2c9d1c754f660db29ba43b0c0044292439d1777892f161f9c28cb97b552e2e5a42936dc17 diff --git a/dev-libs/libfmt/libfmt-11.1.0.ebuild b/dev-libs/libfmt/libfmt-11.1.0.ebuild new file mode 100644 index 000000000000..da45c0e71554 --- /dev/null +++ b/dev-libs/libfmt/libfmt-11.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib flag-o-matic + +DESCRIPTION="Small, safe and fast formatting library" +HOMEPAGE="https://github.com/fmtlib/fmt" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/fmtlib/fmt.git" + inherit git-r3 +else + SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}/fmt-${PV}" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="test" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + append-lfs-flags + local mycmakeargs=( + -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt" + -DFMT_LIB_DIR="$(get_libdir)" + -DFMT_TEST=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/libkdumpfile/Manifest b/dev-libs/libkdumpfile/Manifest index eb686da8b31c..5e7b29427f3a 100644 --- a/dev-libs/libkdumpfile/Manifest +++ b/dev-libs/libkdumpfile/Manifest @@ -1,6 +1,9 @@ AUX libkdumpfile-0.5.4-32-bit-tests.patch 2197 BLAKE2B 3368b373a0e8e7127bc560fdfa5b370e4a42920c04d18d05a5c60bd29ad6b33703e52e0dcaa886bc91444f5e90a11e3a97e3d64692d26430d48df5c2b43e3c3b SHA512 6cc17ef0214f8fab33e6c36df457a11c2dd1feaa18804e93fde94c7e68fe96ba3ba6869231de3215a38944025741028d696ef679d44dbcbb24d2cd363ea537db AUX libkdumpfile-0.5.4-c99.patch 1500 BLAKE2B f7879cf9d08660ce89ae3e771c36cbe07a51767288c6dbd36be2e97a795698ca381370f16d7a3ff134b147eb2c5c01efba0bf792c5da7637df6597a355f283a9 SHA512 5b67254f2f113ea6e86a4024917bf02683ae8c9a6757edbc01f26d107ff86ae30dc111285e66513f81e36fe32188b45d52927235198217de40c256ee2effadaa AUX libkdumpfile-0.5.4-disabled-compression-tests.patch 2006 BLAKE2B b4c8555ca7ea47dc5f842c71dee21967d1044d874538b8f02d30f11e6dc10306ceab52de0b0e0d3e20182234ce0a2c6a2885a528831ca7fda0d4c753620f5848 SHA512 27bcd11b409bc547eaa125736015ca319a9fbaa720b078dc7eec0274ab95302dff231048404957dea5c4cfed2854909faf23df4126efcadb767e44c5926983c4 +AUX libkdumpfile-0.5.5-bfd-include.patch 17521 BLAKE2B 2f900b524e6288cb2bca74f756ff35747704095ed4a9f28931105c24906a1e373c3d771cb9bb43957794348aa16dd3b37fbf9daf9f8187d836d97f598db9a7cf SHA512 9e9837c41815cdb5a7f1ddd9de06904aaf724c62cc1795c0d0a9586a3663f4d204e2971446fbed6ca6571f5fd5894330327081c4a2ac221fda44505faa54bde3 DIST libkdumpfile-0.5.4.tar.bz2 623108 BLAKE2B 17a425c2a0545f60574255d5ec139f60a59dd2c9c047a89f9d021afe31cae959c691b550d9ad4e10c88a11f5f1bab1a4d94dab025060dcd2598837442281b3b9 SHA512 6cdd77e3460b324f4e0641fc8f4cf1dcd8b7de4ec82a37ca11e4edfa7730f90305c2724825f8b1cf8ac2e8ad104fee1b6a36775287b084db802ae2f44a55cd85 +DIST libkdumpfile-0.5.5.tar.bz2 672321 BLAKE2B 41c2044ac7f11ab94b2c80771d28ded5dbd75693d3adffc84a96e9595b1a7b52229cac9ba6622e6715261a877fb7a90de570c791039287e6c44b8fa8e3c9e688 SHA512 35935bab7e7e9d5914b6f20efd545f89d89d7edf74c07e26057fdd07823aa73a87cde7765632289709b071d80501648c9373a202432f64ff469f95dd9a50adf3 EBUILD libkdumpfile-0.5.4-r1.ebuild 1192 BLAKE2B 52aa2fb439d4924da30e7987c069254604371e972d832cebb919a24ed51b8dfb174bcebd58ae6b2d7cada02d0b00c3864262d0a7e3c039e9a132deade418cc28 SHA512 365a38362b7795d9166d00262f3d544b5f00f87376493682431ebac8662bd1d7b3183088aadea09be662e7087c36413d39675aa10ec7d02bcc30da07e165173b +EBUILD libkdumpfile-0.5.5-r2.ebuild 1047 BLAKE2B 25dc0972851b47a220e019ca35f60540ce169e9c45379abdc0d7e33f97434c518c3451e36669dda071a9181f073e731d1b5f5510d34822c6601edc2dd3746910 SHA512 747156864e23174bce4e05888c387416f6824d2dfb4dc89bae8dfb7395f76fb7056b5456fccc195aa5acd3166e123206dbb28103e5bcf8840bdc409ea16356b0 MISC metadata.xml 326 BLAKE2B 13b23cbf5c4089460907bebe9e73dad724bfea465300417f82d20748779d865459c6791d0a6d27237db88819690b4124235721c555895b3ca0a3aa5fa63ad2cf SHA512 aae2510a5c9a7662d7beaccef7c19b42be69e34bc0a2e6fb7f31d332ec7a5389f38aef97123b2f213bd4bb3376630b6989a6d71785f0198f563f9ce5d05cfdca diff --git a/dev-libs/libkdumpfile/files/libkdumpfile-0.5.5-bfd-include.patch b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.5-bfd-include.patch new file mode 100644 index 000000000000..3524a9cd3a93 --- /dev/null +++ b/dev-libs/libkdumpfile/files/libkdumpfile-0.5.5-bfd-include.patch @@ -0,0 +1,918 @@ +https://github.com/ptesarik/libkdumpfile/pull/84 + +From 0afee0c8783978d7a470beedaef672d3b8cce41b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 26 Dec 2024 04:25:40 +0000 +Subject: [PATCH 1/3] tools: kdumpid: include config.h before <dis-asm.h> + +Before including bfd.h (or any of the headers installed by binutils), +one has to define PACKAGE_NAME and PACKAGE_VERSION for kind of painful +reasons described in binutils bug PR14243. + +This doesn't show up on some distros as they patch out the #ifdef check +in the headers, but it does on Gentoo where we don't, at least. + +Moreover, we want to include config.h before *any* headers anyway, so +that e.g. AC_SYSTEM_EXTENSIONS and various other autoconf macros work +correctly if used. + +Bug: https://sourceware.org/PR14243 +--- a/tools/kdumpid/main.c ++++ b/tools/kdumpid/main.c +@@ -14,6 +14,8 @@ + + #define _GNU_SOURCE + ++#include "config.h" ++ + #include <stdio.h> + #include <errno.h> + #include <stdlib.h> +--- a/tools/kdumpid/ppc.c ++++ b/tools/kdumpid/ppc.c +@@ -12,6 +12,8 @@ + * GNU General Public License for more details. + */ + ++#include "config.h" ++ + #include <stdarg.h> + #include <string.h> + +--- a/tools/kdumpid/ppc64.c ++++ b/tools/kdumpid/ppc64.c +@@ -12,6 +12,8 @@ + * GNU General Public License for more details. + */ + ++#include "config.h" ++ + #include <stdarg.h> + #include <string.h> + +--- a/tools/kdumpid/s390.c ++++ b/tools/kdumpid/s390.c +@@ -12,6 +12,8 @@ + * GNU General Public License for more details. + */ + ++#include "config.h" ++ + #include <stdarg.h> + #include <string.h> + +--- a/tools/kdumpid/search.c ++++ b/tools/kdumpid/search.c +@@ -12,6 +12,8 @@ + * GNU General Public License for more details. + */ + ++#include "config.h" ++ + #include <stdlib.h> + #include <string.h> + +--- a/tools/kdumpid/util.c ++++ b/tools/kdumpid/util.c +@@ -12,6 +12,8 @@ + * GNU General Public License for more details. + */ + ++#include "config.h" ++ + #include <string.h> + #include <stdlib.h> + #include <stdio.h> +--- a/tools/kdumpid/x86.c ++++ b/tools/kdumpid/x86.c +@@ -1,3 +1,5 @@ ++#include "config.h" ++ + #include <stdarg.h> + #include <stdlib.h> + #include <string.h> + +From 859fd4f8b192c06857ab5bf3c696b10acf12b162 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 26 Dec 2024 04:35:16 +0000 +Subject: [PATCH 2/3] Always include addrxlat-priv.h (or config.h) where + appropriate + +addrxlat-priv.h includes config.h for us, but we should include it first +to ensure it affects standard headers too given config.h may set feature +test macros and so on. + +Where addrxlat-priv.h is not already used, add config.h instead. +--- a/src/addrxlat/aarch64.c ++++ b/src/addrxlat/aarch64.c +@@ -28,10 +28,11 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdlib.h> + #include <string.h> + +-#include "addrxlat-priv.h" + #include <linux/version.h> + + /** Maximum virtual address bits (architectural limit). */ +--- a/src/addrxlat/arm.c ++++ b/src/addrxlat/arm.c +@@ -28,10 +28,10 @@ + not, see <http://www.gnu.org/licenses/>. + */ + +-#include <stdint.h> +- + #include "addrxlat-priv.h" + ++#include <stdint.h> ++ + /* Maximum physical address bits (architectural limit) */ + #define PHYSADDR_BITS_MAX 40 + #define PHYSADDR_MASK ADDR_MASK(PHYSADDR_BITS_MAX) +--- a/src/addrxlat/ctx.c ++++ b/src/addrxlat/ctx.c +@@ -28,12 +28,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdlib.h> + #include <string.h> + #include <stdarg.h> + +-#include "addrxlat-priv.h" +- + /** Maximum length of the static error message. */ + #define ERRBUF 64 + +--- a/src/addrxlat/ia32.c ++++ b/src/addrxlat/ia32.c +@@ -28,12 +28,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdint.h> + #include <string.h> + #include <stdlib.h> + +-#include "addrxlat-priv.h" +- + #define PGD_PSE_HIGH_SHIFT 13 + #define PGD_PSE_HIGH_BITS 8 + #define PGD_PSE_HIGH_MASK ADDR_MASK(PGD_PSE_HIGH_BITS) +--- a/src/addrxlat/map.c ++++ b/src/addrxlat/map.c +@@ -28,11 +28,11 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdlib.h> + #include <string.h> + +-#include "addrxlat-priv.h" +- + DEFINE_ALIAS(map_new); + + addrxlat_map_t * +--- a/src/addrxlat/riscv64.c ++++ b/src/addrxlat/riscv64.c +@@ -28,10 +28,11 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdlib.h> + #include <string.h> + +-#include "addrxlat-priv.h" + #include <linux/version.h> + + /** Maximum physical address bits (architectural limit) */ +--- a/src/addrxlat/step.c ++++ b/src/addrxlat/step.c +@@ -28,10 +28,10 @@ + not, see <http://www.gnu.org/licenses/>. + */ + +-#include <string.h> +- + #include "addrxlat-priv.h" + ++#include <string.h> ++ + int + addrxlat_pteval_shift(addrxlat_pte_format_t fmt) + { +--- a/src/addrxlat/sys.c ++++ b/src/addrxlat/sys.c +@@ -28,11 +28,11 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "addrxlat-priv.h" ++ + #include <stdlib.h> + #include <string.h> + +-#include "addrxlat-priv.h" +- + addrxlat_sys_t * + addrxlat_sys_new(void) + { +--- a/src/addrxlat/x86_64.c ++++ b/src/addrxlat/x86_64.c +@@ -28,10 +28,10 @@ + not, see <http://www.gnu.org/licenses/>. + */ + +-#include <stdlib.h> +- + #include "addrxlat-priv.h" + ++#include <stdlib.h> ++ + /* Maximum physical address bits (architectural limit) */ + #define PHYSADDR_BITS_MAX 52 + #define PHYSADDR_MASK ADDR_MASK(PHYSADDR_BITS_MAX) +--- a/src/errmsg.h ++++ b/src/errmsg.h +@@ -31,6 +31,8 @@ + #ifndef _ERRMSG_H + #define _ERRMSG_H 1 + ++#include "config.h" ++ + #include <stdlib.h> + #include <string.h> + #include <stdarg.h> +--- a/src/list.h ++++ b/src/list.h +@@ -31,6 +31,8 @@ + #ifndef _LIST_H + #define _LIST_H 1 + ++#include "config.h" ++ + #include <stddef.h> + + /** Cast a structure field out to the containing structure. +--- a/src/threads.h ++++ b/src/threads.h +@@ -31,6 +31,8 @@ + #ifndef _THREADS_H + #define _THREADS_H 1 + ++#include "config.h" ++ + /* Multi-threading */ + #if USE_PTHREAD + +--- a/tests/diskdump.h ++++ b/tests/diskdump.h +@@ -29,6 +29,8 @@ + #ifndef _DISKDUMP_H + #define _DISKDUMP_H 1 + ++#include "config.h" ++ + #include <stdint.h> + + #define MDF_SIGNATURE "makedumpfile" +--- a/tests/lkcd.h ++++ b/tests/lkcd.h +@@ -29,6 +29,8 @@ + #ifndef _LKCD_H + #define _LKCD_H 1 + ++#include "config.h" ++ + #include <stdint.h> + + #define DUMP_MAGIC_NUMBER 0xa8190173618f23edULL +--- a/tests/sadump.h ++++ b/tests/sadump.h +@@ -29,6 +29,8 @@ + #ifndef _SADUMP_H + #define _SADUMP_H 1 + ++#include "config.h" ++ + #include <stdint.h> + + /** Standard EFI time specification. */ +--- a/tests/testutil.h ++++ b/tests/testutil.h +@@ -29,6 +29,8 @@ + #ifndef _TESTUTIL_H + #define _TESTUTIL_H 1 + ++#include "config.h" ++ + #include <stdio.h> + #include <stdint.h> + #include <stdbool.h> + +From f2de47962860027889b773da05e876ea0e3d24f9 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 26 Dec 2024 04:39:23 +0000 +Subject: [PATCH 3/3] Always include testutil.h (or config.h) where appropriate + +testutil.h includes config.h for us, but we should include it first +to ensure it affects standard headers too given config.h may set feature +test macros and so on. + +Where testutil.h is not already used, add config.h instead. + +(Same as done earlier for addrxlat-priv.h.) +--- a/tests/addrmap.c ++++ b/tests/addrmap.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + static void + printmap(const addrxlat_map_t *map) + { +--- a/tests/addrxlat.c ++++ b/tests/addrxlat.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <ctype.h> + #include <stdio.h> + #include <stdlib.h> +@@ -33,8 +35,6 @@ + #include <getopt.h> + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + #define ALLOC_INC 32 + + static size_t nentries; +--- a/tests/attriter.c ++++ b/tests/attriter.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <string.h> + #include <stdio.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + struct attrdef { + const char *name; + const char *value; +--- a/tests/checkattr.c ++++ b/tests/checkattr.c +@@ -28,6 +28,8 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <string.h> + #include <ctype.h> + #include <stdio.h> +@@ -37,8 +39,6 @@ + #include <unistd.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + static int + check_noattr(kdump_ctx_t *ctx, char *key) + { +--- a/tests/clearattr.c ++++ b/tests/clearattr.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define ATTRPATH "linux.uts.sysname" + #define ATTRVALUE "Linux" + +--- a/tests/custom-meth.c ++++ b/tests/custom-meth.c +@@ -28,12 +28,12 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + #define STEPS 2 + #define XOR_VALUE 0xabcd + #define OFFSET 0x1111 +--- a/tests/data.c ++++ b/tests/data.c +@@ -26,13 +26,13 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <string.h> + #include <ctype.h> + #include <stdio.h> + #include <stdlib.h> + +-#include "testutil.h" +- + #define ALLOC_INC 4096 + + static int +--- a/tests/dumpdata.c ++++ b/tests/dumpdata.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> +@@ -34,8 +36,6 @@ + #include <unistd.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define CHUNKSZ 256 + #define BYTES_PER_LINE 16 + +--- a/tests/elf-prstatus-mod-x86_64.c ++++ b/tests/elf-prstatus-mod-x86_64.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdint.h> + #include <stdio.h> + #include <sys/stat.h> +@@ -35,8 +37,6 @@ + #include <endian.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + struct timeval_64 { + int64_t tv_sec; + int64_t tv_usec; +--- a/tests/err-addrxlat.c ++++ b/tests/err-addrxlat.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> +@@ -35,8 +37,6 @@ + + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + /* To test all corner cases, this string should be bigger than + * the internal fallback buffer (ERRBUF in addrxlat-priv.h) + */ +--- a/tests/fdset.c ++++ b/tests/fdset.c +@@ -26,13 +26,13 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define FILENAME_0 "fileA" + #define FILENAME_1 "fileB" + +--- a/tests/mkbinary.c ++++ b/tests/mkbinary.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <endian.h> + #include <getopt.h> + #include <stdio.h> +@@ -33,8 +35,6 @@ + #include <string.h> + #include <ctype.h> + +-#include "testutil.h" +- + static int + parseheader(struct page_data *pg, char *p) + { +--- a/tests/mkdiskdump.c ++++ b/tests/mkdiskdump.c +@@ -26,6 +26,9 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "config.h" ++#include "testutil.h" ++ + #include <string.h> + #include <endian.h> + #include <sys/time.h> +@@ -34,8 +37,6 @@ + #include <ctype.h> + #include <errno.h> + +-#include "config.h" +-#include "testutil.h" + #include "diskdump.h" + + #if USE_ZLIB +--- a/tests/mkelf.c ++++ b/tests/mkelf.c +@@ -26,6 +26,9 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "config.h" ++#include "testutil.h" ++ + #include <string.h> + #include <endian.h> + #include <sys/time.h> +@@ -36,8 +39,6 @@ + #include <ctype.h> + #include <elf.h> + +-#include "config.h" +-#include "testutil.h" + #include "diskdump.h" + + typedef int write_fn(FILE *); +--- a/tests/mklkcd.c ++++ b/tests/mklkcd.c +@@ -26,6 +26,9 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "config.h" ++#include "testutil.h" ++ + #include <string.h> + #include <endian.h> + #include <sys/time.h> +@@ -33,8 +36,6 @@ + #include <stdlib.h> + #include <ctype.h> + +-#include "config.h" +-#include "testutil.h" + #include "lkcd.h" + + #if USE_ZLIB +--- a/tests/mksadump.c ++++ b/tests/mksadump.c +@@ -26,6 +26,9 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "config.h" ++#include "testutil.h" ++ + #include <limits.h> + #include <stdio.h> + #include <stdlib.h> +@@ -33,8 +36,6 @@ + #include <ctype.h> + #include <time.h> + +-#include "config.h" +-#include "testutil.h" + #include "sadump.h" + + #define WS_CHARS " \f\n\r\t\v" +--- a/tests/multiread.c ++++ b/tests/multiread.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdlib.h> + #include <stdio.h> + #include <time.h> +@@ -36,8 +38,6 @@ + #include <pthread.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define DEFITER 1000 + #define DEFTHREADS 1 + +--- a/tests/multixlat.c ++++ b/tests/multixlat.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdlib.h> + #include <stdio.h> + #include <time.h> +@@ -35,8 +37,6 @@ + #include <unistd.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define CHUNKSZ 256 + #define BYTES_PER_LINE 16 + +--- a/tests/nometh.c ++++ b/tests/nometh.c +@@ -28,12 +28,12 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + static int + setup_pgt(addrxlat_ctx_t *ctx, addrxlat_sys_t *sys) + { +--- a/tests/param.c ++++ b/tests/param.c +@@ -26,13 +26,13 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <string.h> + #include <ctype.h> + #include <stdio.h> + #include <stdlib.h> + +-#include "testutil.h" +- + #define ARRAY_SEPARATORS " \t" + + static char +--- a/tests/slurp.c ++++ b/tests/slurp.c +@@ -26,13 +26,13 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + #include <errno.h> + +-#include "testutil.h" +- + #define WATERMARK_LOW 256 + #define WATERMARK_HIGH 1024 + +--- a/tests/subattr.c ++++ b/tests/subattr.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define ATTRDIR "linux.uts" + #define ATTRNAME "sysname" + #define ATTRPATH ATTRDIR "." ATTRNAME +--- a/tests/sys-xlat.c ++++ b/tests/sys-xlat.c +@@ -28,6 +28,8 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> +@@ -36,8 +38,6 @@ + #include <unistd.h> + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + static char *data_file; + static char *cfg_file; + +--- a/tests/thread-errstr.c ++++ b/tests/thread-errstr.c +@@ -26,6 +26,8 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> +@@ -35,8 +37,6 @@ + #include <pthread.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + static pthread_mutex_t attr_mutex = PTHREAD_MUTEX_INITIALIZER; + + static enum { +--- a/tests/typed-attr.c ++++ b/tests/typed-attr.c +@@ -26,10 +26,10 @@ + not, see <http://www.gnu.org/licenses/>. + */ + +-#include <libkdumpfile/kdumpfile.h> +- + #include "testutil.h" + ++#include <libkdumpfile/kdumpfile.h> ++ + #define ATTR_CACHE_SIZE "cache.size" + #define ATTR_SYSNAME "linux.uts.sysname" + #define ATTR_PHYS_BASE "linux.phys_base" +--- a/tests/vmci-cleanup.c ++++ b/tests/vmci-cleanup.c +@@ -26,13 +26,13 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + static const char vmcore1[] = + "DIR.SUB.VAL=test1\n"; + +--- a/tests/vmci-lines-post.c ++++ b/tests/vmci-lines-post.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define xstr(s) #s + #define str(s) xstr(s) + +--- a/tests/vmci-post.c ++++ b/tests/vmci-post.c +@@ -26,12 +26,12 @@ + not, see <http://www.gnu.org/licenses/>. + */ + ++#include "testutil.h" ++ + #include <stdio.h> + #include <string.h> + #include <libkdumpfile/kdumpfile.h> + +-#include "testutil.h" +- + #define xstr(s) #s + #define str(s) xstr(s) + +--- a/tests/xlat-os.c ++++ b/tests/xlat-os.c +@@ -28,6 +28,8 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -37,8 +39,6 @@ + + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + struct cbdata { + addrxlat_ctx_t *ctx; + addrxlat_sys_t *sys; +--- a/tests/xlatmap.c ++++ b/tests/xlatmap.c +@@ -28,14 +28,14 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> + #include <dlfcn.h> + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + #define NMAPS 15 + static addrxlat_map_t *map[NMAPS]; + +--- a/tests/xlatop.c ++++ b/tests/xlatop.c +@@ -28,12 +28,12 @@ + + #define _GNU_SOURCE + ++#include "testutil.h" ++ + #include <stdio.h> + + #include <libkdumpfile/addrxlat.h> + +-#include "testutil.h" +- + struct test { + addrxlat_fulladdr_t addr; + addrxlat_fulladdr_t expect; + diff --git a/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild new file mode 100644 index 000000000000..2c9c9ab35874 --- /dev/null +++ b/dev-libs/libkdumpfile/libkdumpfile-0.5.5-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Kernel coredump file access" +HOMEPAGE="https://github.com/ptesarik/libkdumpfile" +SRC_URI="https://github.com/ptesarik/libkdumpfile/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="|| ( LGPL-3+ GPL-2+ )" +SLOT="0/1" +KEYWORDS="~amd64" +IUSE="lzo snappy zlib zstd" + +DEPEND=" + sys-libs/binutils-libs:= + lzo? ( dev-libs/lzo ) + snappy? ( app-arch/snappy:= ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.5-bfd-include.patch +) + +src_configure() { + local myeconfargs=( + # The Python bindings within libkdumpfile are deprecated + # and don't work w/ PEP517. There's a new CFFI bindings + # project we can use if anyone asks for them. + --without-python + $(use_with lzo lzo2) + $(use_with snappy) + $(use_with zlib) + $(use_with zstd libzstd) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/nativefiledialog-extended/Manifest b/dev-libs/nativefiledialog-extended/Manifest index 6f5f415d6955..4b455b47e36b 100644 --- a/dev-libs/nativefiledialog-extended/Manifest +++ b/dev-libs/nativefiledialog-extended/Manifest @@ -1,4 +1,4 @@ AUX nativefiledialog-extended-1.2.1-libdir.patch 273 BLAKE2B ba715565733ac962905674c83cb48ead7371f55b27b58ebe39958d712d2c8675fe7bdbf533f12a99f2df5871ad864100c7a6ab9c7dbd52a0a5a014ec4796c7b8 SHA512 7b557da3606752b731ba33ad87b848d06408af40d2dd2f8fec3bb9c50199d6f691ba85324e2b0e54f960a3bea44837812fbfa8593ef5bda9f45c223a7275313a DIST nativefiledialog-extended-1.2.1.tar.gz 426161 BLAKE2B 86e759e268f30c7eda034ea97c65de09a90cda34f173091c7836a11f6a576cd5ed6414287c6e455bb875b08bde55c7e469552fe48d6db5261397349a93667b6a SHA512 4ec3e174a90354c524d9be2776422740f80b73021df94e1942e60ab4310995245554f83097b9b2dcca04d016a8548d3fc0760f73daf724c5c3d72c15cf776bed -EBUILD nativefiledialog-extended-1.2.1.ebuild 876 BLAKE2B 9621e78b39c64c62ec6e441830da969d7ce21d604828d0e6aeaf9be445f533935a123b93c9a0348dab30d1d984fd87e95c826ef5f902ad138849c627e3c89c56 SHA512 ac5c4f453a03ce56e2f2c082f3258b2da77f938c2d3771b7ac18f5aab13b1e49cfbd4a887150fffdca29f5bc9d450ec5485b330e8ad80e4df4b9808c90b3edf1 +EBUILD nativefiledialog-extended-1.2.1.ebuild 874 BLAKE2B aff76dfcb987bdcfe83134538b41e76cb5fa8d0bd8f73530bb6361ad214cd6f42b96ac5fc9e1acf155d758ceb6e83beebede75a1f6bdcdb75c8b576340677e6f SHA512 5688fa9cbc6fd15036adfc8626b6e6f18c310dc428026644bc1c75125593836b590075a6116524b81eb3d10f742adaa47edf9f39f3d3eb71c38e36d9d1dcaad9 MISC metadata.xml 465 BLAKE2B 66bebf0ec3c56f487eedbe3987bfe334a068c0e61458230ba16c02d60aabd77ed749645658c90be2cdb10f0d978d73e44e07b523567f4afa5b5166047a8d5dda SHA512 32c14192eeaa8e2832dd47473678c75b4002a849c87bd6780f8b25429bb14ead91b19c74d3c759cfaedb5f764efc6ed8c0b2d0ff4917e5f10ff2638c529e6d21 diff --git a/dev-libs/nativefiledialog-extended/nativefiledialog-extended-1.2.1.ebuild b/dev-libs/nativefiledialog-extended/nativefiledialog-extended-1.2.1.ebuild index 4b321cb51bfc..a64a2cf3bb9c 100644 --- a/dev-libs/nativefiledialog-extended/nativefiledialog-extended-1.2.1.ebuild +++ b/dev-libs/nativefiledialog-extended/nativefiledialog-extended-1.2.1.ebuild @@ -35,7 +35,7 @@ PATCHES=( src_configure() { local mycmakeargs=( - # tests are non-automated examples that open interactive dialogues + # tests are non-automated examples that open interactive dialogs -DNFD_BUILD_TESTS=no -DNFD_PORTAL=$(usex desktop-portal) ) diff --git a/dev-libs/spdlog/Manifest b/dev-libs/spdlog/Manifest index 1539acf99d46..acd7f98ad275 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -1,10 +1,11 @@ AUX spdlog-1.12.0-fix-tests.patch 554 BLAKE2B 233cadf694bbfea4aa538d3b1f5241682aaa74fccbcce94441180f5ce3374332ac77ae6c08461a118861924d84056d2075fcd8fcc7beccc81e41b1101909e223 SHA512 b78640666c940ac49f0db375544c22b6778a8e2c38208530c7a8b2fb7ed70526a212efc49a94f3498b82f9681039e97c304f956010c16913ca052369dbe56935 +AUX spdlog-1.15.0-libfmt-11.1.0.patch 1151 BLAKE2B f6d23df7a3f24d44cc4db0926a04c9dde1efc3c67d9f14f76ddb675f71fb0ac585d4a2ee3d513516e9fd25f7bc672aed06328a7cc5d9aa2dae319e267fa81d60 SHA512 61f43cdd72544c6f694226cd37d4bf56478234d4a6539536ce97aa371c3adea8012e8a4a3d66eb3435761cccbb8cbbef2872ca4214388df2d645265f04078043 AUX spdlog-force_external_fmt.patch 539 BLAKE2B 326f40d3d496e7373a77476d5aba237d8ad7828e5d21ccfc1e4183a74e3f7f2df1f61a2188a5cf0dc4c08ef9692c5de4a4589fae75c1daa4a9987d4be3f168f6 SHA512 257c7f7f56e66b88a16238a2c81887f2d5ba9692c18bf5fc371b95f44936018ec7c4a0abd0e54f38cb6a7957f82a1b95af9d238fa7fa16631f0be1980d76f692 DIST spdlog-1.13.0.tar.gz 264003 BLAKE2B 8ffeec847f082a0932f406ab44b4653661fdbe95a15f7b736367ee6d8f45ab36ca2182a9e9c6fba5c0688ab5436c16932b130541a8532cc2e5f4980e6340b929 SHA512 44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340 DIST spdlog-1.14.1.tar.gz 270896 BLAKE2B 70ac5142acfd765c649f2e34286bae3b5082db284dd1ca7c3d7424a53dd658f7d308bef0b5e0c89192fc3931f1fe5efdba91e460c7b3df836dffc22b66f821fa SHA512 d8f36a3d65a43d8c64900e46137827aadb05559948b2f5a389bea16ed1bfac07d113ee11cf47970913298d6c37400355fe6895cda8fa6dcf6abd9da0d8f199e9 DIST spdlog-1.15.0.tar.gz 276012 BLAKE2B a9d15725f63d5426a13b6f13ba4281ab70b7f6166344d8d12900fe8ba63898280ffd852b16e48b81352c4632598438fbd02f1a78d6f17e06d66c4bdc309f4b37 SHA512 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647 EBUILD spdlog-1.13.0-r2.ebuild 1148 BLAKE2B c05d4caa5a789fe2bf54195224f9360c4b473e8b2a433791089a4e99d12081bff664457b51c3006536de953f753871786570d8d12d9d27115c6cbdeefffcde77 SHA512 88869a4cf396b4e9841a1b5f0639daa3eccb346b93159f07405e0dd34c13252adee0ef44fe8fa9cb121dbffcaa3780573938d13b1e4e4c8464d7e3bdef5b5252 EBUILD spdlog-1.14.1.ebuild 1137 BLAKE2B 46c6ef72a1660cf3d2c079cdc62c245fa76d864ba37a63fbd40cf7f3ad5a34c18d5eb4a5a9d229efa568b14bf1bb371b0c3a9d51d69303fe0884f28baab88640 SHA512 6a2a27f48a6ad2cf686f7d225d6861da42f5a514c9458c63a79fade8c72adb867358de6c626e9d46c410165ccbebaab057d714cdf49a7df6864c5a89a63ef2e6 -EBUILD spdlog-1.15.0.ebuild 1145 BLAKE2B 808cceb57e793f4e2c3b6b19b2aee7475a03832c7a9f4d1f6bf730fb44e014214bd255447ca13c3b445af5baef9cb1017f21f4fba94a2d2e6ed85bbc50c30503 SHA512 6eea547bbd7f2df46d7212434a308b9ab36cce082c4049de916e58b6dd04376706e8dc48c5b3b4644a32b4963fb8530b198c3d769b6812e3afa1731deed16576 +EBUILD spdlog-1.15.0.ebuild 1193 BLAKE2B ced27389bbf637c627049ae45c0d5b2e7d537025c0503e48a7f80d6e90fd28f9aa937b687ab1bd315862405f1e2d79e3cb4ae85e4909985a5485eeb09d20a89f SHA512 45da07e59f47e37097efa478937b51494e3bf924937923c7cede0d554eb27185e0c00d867b65601ea4299fc6c27836508a9be4333a86093163d9cbdffdcfe14d EBUILD spdlog-9999.ebuild 1148 BLAKE2B c05d4caa5a789fe2bf54195224f9360c4b473e8b2a433791089a4e99d12081bff664457b51c3006536de953f753871786570d8d12d9d27115c6cbdeefffcde77 SHA512 88869a4cf396b4e9841a1b5f0639daa3eccb346b93159f07405e0dd34c13252adee0ef44fe8fa9cb121dbffcaa3780573938d13b1e4e4c8464d7e3bdef5b5252 MISC metadata.xml 615 BLAKE2B ab757ecbeac9856b7cc207e721f93bf96edd010dcc7a3e71a28e15809e1973a52ade211133302cd19378016c2384daacef574334e2d50afa8a950c210f69d1be SHA512 ad2a893a3644ac81cbd21c89cadb9676e4fb5024a706ecdc21356012a2981eca9729f8e066b4dcb34be95995c7984f1061f8007171b2d8c46953207ee71a91f0 diff --git a/dev-libs/spdlog/files/spdlog-1.15.0-libfmt-11.1.0.patch b/dev-libs/spdlog/files/spdlog-1.15.0-libfmt-11.1.0.patch new file mode 100644 index 000000000000..12b8beb219fa --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-1.15.0-libfmt-11.1.0.patch @@ -0,0 +1,35 @@ +https://github.com/gabime/spdlog/pull/3301 + +From e693420a38b58d29a56b3ea921e15b175a5f2843 Mon Sep 17 00:00:00 2001 +From: Rui Chen <rui@chenrui.dev> +Date: Wed, 25 Dec 2024 19:00:36 -0500 +Subject: [PATCH] fix: update to_string_view function for fmt 11.1 + +Signed-off-by: Rui Chen <rui@chenrui.dev> +--- + include/spdlog/common.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/include/spdlog/common.h b/include/spdlog/common.h +index aca483c20..2d73f8300 100644 +--- a/include/spdlog/common.h ++++ b/include/spdlog/common.h +@@ -365,10 +365,17 @@ SPDLOG_CONSTEXPR_FUNC spdlog::wstring_view_t to_string_view(spdlog::wstring_view + #endif + + #ifndef SPDLOG_USE_STD_FORMAT ++#if FMT_VERSION >= 110100 ++template <typename T, typename... Args> ++inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_arg<T> fmt) { ++ return fmt; ++} ++#else + template <typename T, typename... Args> + inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) { + return fmt; + } ++#endif + #elif __cpp_lib_format >= 202207L + template <typename T, typename... Args> + SPDLOG_CONSTEXPR_FUNC std::basic_string_view<T> to_string_view( + diff --git a/dev-libs/spdlog/spdlog-1.15.0.ebuild b/dev-libs/spdlog/spdlog-1.15.0.ebuild index 7698d11bc9a0..85cc51616b1c 100644 --- a/dev-libs/spdlog/spdlog-1.15.0.ebuild +++ b/dev-libs/spdlog/spdlog-1.15.0.ebuild @@ -34,6 +34,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-force_external_fmt.patch" + "${FILESDIR}/${PN}-1.15.0-libfmt-11.1.0.patch" ) multilib_src_prepare() { |