From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/librsvg/files/, gnome-base/librsvg/
Date: Sat, 9 Nov 2024 10:11:18 +0000 (UTC) [thread overview]
Message-ID: <1731147047.5c3fde3d2ed0b76356131adfa7ba6ed8fd29cf1f.sam@gentoo> (raw)
commit: 5c3fde3d2ed0b76356131adfa7ba6ed8fd29cf1f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 10:09:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 10:10:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3fde3d
gnome-base/librsvg: add 2.58.5
01ba4dc61965ef7658a24728841c04c9a1ce4871 added a max version of rust-1.79.0
because tests were using an old version of the 'time' crate which broke
w/ >=rust-1.80.
Bump to 2.58.5 and while here, patch Cargo.lock to update the crate
so we can drop the cap.
Signed-off-by: Sam James <sam <AT> gentoo.org>
gnome-base/librsvg/Manifest | 5 +
.../files/librsvg-2.58.5-time-rust-1.80.patch | 27 ++
gnome-base/librsvg/librsvg-2.58.5.ebuild | 426 +++++++++++++++++++++
3 files changed, 458 insertions(+)
diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest
index 4a744eb33dcb..93b89f47b303 100644
--- a/gnome-base/librsvg/Manifest
+++ b/gnome-base/librsvg/Manifest
@@ -28,6 +28,7 @@ DIST bstr-1.9.0.crate 380170 BLAKE2B 06ae5065a5d566b6333e911a5b97e3999ad2f0bc19b
DIST bumpalo-3.14.0.crate 82400 BLAKE2B 13bde02e2e60ea3099f4e46ff679d07b2e8046740c1855bb81fe8d20a4ef0fb26e565da724f628a00c9154ef16ffc9018f67433d2a32544564b66803b5bab223 SHA512 179c116a5320c5f21163c343ed48add36089d806e35bc303318dcfe09ba1d5f02bf8012726d0c2cb76a73fae05a7c887a91e18f9e5ff3b9f9ad8a2f12838757b
DIST bytemuck-1.14.0.crate 44933 BLAKE2B afd34f2becc41484e7bf71fb4a9f0925870a4f2d9d59daff9e91bada000462baeced4314e469a508d4413a8f2442d83a5f3082193653403fbee1340ab5c3f6c5 SHA512 f072a97e5de93228435bb362363ac1af0738b7927832b02a837f44eb21b0b089589b61e73004a06c5e4d4601e66bb42e67b9f707bbf13429a40b6250a0f05ae5
DIST bytemuck-1.14.2.crate 46935 BLAKE2B 945d537ce392946eec903abfc05af15f40dd599e785a5da75b7626476b73ab1983720b5398839fcca124e97ce2966117a1a1d07d381b79f43eac055a3abeb6a1 SHA512 6e586b46517065f0ea9454ffceb99ccaee8368458741d3b077ea7390b931beb3c7d66e881e6e16d61dcbcf9188f695b3a83c92f2d15aacd7cbf14d68fd4d9d3f
+DIST bytemuck-1.16.3.crate 49539 BLAKE2B 5e9a4c9e5bb1ec5398670edad455fa54b08955b48390d784c29c7ba153db4d0fb25c4d14f445ed28c443379a761354b1d9eb8c9c6e2a2930f5fb3f9085ad45b2 SHA512 17bf35d082c8009ce6ae24ae681715d8fd303f728f9bb2a0702096fd8635b5e7294eeea5375217a8276ba6136a16f94eb670c5d5baba9020674dc958173342f8
DIST byteorder-1.5.0.crate 23288 BLAKE2B 7f85a7948406844070a2c8202e0bd52f73b3dfc7c666a97046128044eb9352195afb80e2bf894c0742ad109e4473339de1365d09591de70dfec6c8c02a8e1453 SHA512 96caf981177f6ded9f27f025922cb94eb0cd9de5303bd91680099912d922092e77b7361efa70011e84f1595e443193e4f1b354443b9980c123f6ae573b236f7f
DIST cairo-rs-0.18.3.crate 54190 BLAKE2B cdd1136972174462334142c0ecada99fab75a20883fd8ed99295d6f2196b35e75f7c44463a587beb1310e4aaaec64f23ccf82125617bcec5a71fdabb5bf547bd SHA512 14164ac540f69fb685004be09e30a68e7d5af6ad4e553e720cb975cfc2a8e7c86df9446dd811f8ce0993be1dab838e14a60f2737457939a93f81ab58e1ec6b63
DIST cairo-rs-0.19.1.crate 52239 BLAKE2B b833b2b9d9f1b5a60f817489b9e6a54a405e537b647c3216a5f7a70a67cece39396d48f6c6b99b509ddc7bc07c6b28a7dc5570ad9b509e4d6e7af78cd0046b3d SHA512 ab6eede387c9c802bc6bdfbcd25e703c2d4eacfbd54463ed2c0476bec9d4995d373a62cce01e610d73ab9b8cfbb6b297ea4f5d05557e9099a28f67c8161653c3
@@ -160,6 +161,7 @@ DIST libm-0.2.8.crate 113450 BLAKE2B fc4a55ecc0d4a558b9014b58861341887679c696af6
DIST librsvg-2.40.21.tar.xz 1655860 BLAKE2B a3fd7915d39984057e860da90115d9d95cef97e61d3f5e4c3aaaf399c4b3bfe781e6a7b969958ae84a3b7f2c788576fe26f56b037ca0a6a2e059b53f2bd1b9fc SHA512 db0563d8e0edaae642a6b2bcd239cf54191495058ac8c7ff614ebaf88c0e30bd58dbcd41f58d82a9d5ed200ced45fc5bae22f2ed3cf3826e9348a497009e1280
DIST librsvg-2.57.3.tar.xz 5688408 BLAKE2B cf7a56874c235fed8ddd32cb49573bd73ca5f875891b37a7ba029e92133eb698d896a18e62b66f8f56cb62840302a78a27977c95b3809853399e418c6973340b SHA512 d85e085fe7546812aaa58670fa9690aad81736394b69c8c3050bd2f215727430b29055204fc721b4514c000cf8dad0e7785d6d5b57623ce0528900b8ad0cdde7
DIST librsvg-2.58.2.tar.xz 6218136 BLAKE2B 51540ced23e379d7a0f2a0676b1b6a7ac68ce38c77c321789ed345da64966e25977112e1866a20c69014b90451c11efa0c7f4f6fa263db89273c8ecf6f19cda9 SHA512 4aaa04b6a488895344232487cee7945c4feedf29f756252e05656d9362c7d799dfa8157b57f1299646eec438c3d712f01ab873e9f9b4efe540a817802c70c668
+DIST librsvg-2.58.5.tar.xz 6194788 BLAKE2B 59ba9c58a595458bb985dc632aa4ab8ae7e204cd5d546a70884a5c4ecf7e28a7216eff9c03e5f9bb7848a775a8ffafe61f3ab5ba9ae5365cfc2f6333fc41e750 SHA512 3ae72f90ea2d696902120d7100fd5681906b1e732f0d59caaef84a6858060614438be461ecb80cce6f6144bccb2058fd184af360387fd35a070e8b12ea2e94a9
DIST linked-hash-map-0.5.6.crate 15049 BLAKE2B 0f30e388633c60433dcbee353507f1c6857bd210f0b61a4d166a9b95067bdadaebe49d5fca4fa6ce13072e26037c6f75d46cc30cf8dc3c9cfcb3f33b33630093 SHA512 031a87645381c96beff33572e4bac1a9877e52fd2f99d39918fbede17d72291b35e2eb69e07edec20c3058554c35cc38fe85b8f175c2a3c69366136fcc71f707
DIST linux-raw-sys-0.4.12.crate 1465800 BLAKE2B 2f70a344c427093fd55732b68239f771cf6563edfe2db4b2f50cdbc904dfc7565b30bf06454b91482eaeea787b9cd4214979665bfa32f3c1c586551333cf4d2e SHA512 d9564d02d5f41356478066592e438629adb3275df0e5a1a44030cc99bf8856b8af64f18f27371f84122a828b34712aae16495a1a16050fbdbece6d95e9cdace9
DIST linux-raw-sys-0.4.13.crate 1493855 BLAKE2B 1298a038276e2424eda9873c642fb43d864b343b03b7962446122d2dbea94d58d9fb2b93e890769e6fe4092378755413ed6afba81ce56fd61e512146e44148a3 SHA512 3918da6b667a08ef8a51aa0b087129e2dc5ab101669cbba7690fc98ae2659a36861bf9410a3b87d18522a7549d43ac169b995ea192d3073f7249305a809cac62
@@ -309,9 +311,11 @@ DIST thiserror-impl-1.0.56.crate 15367 BLAKE2B 6fad787eb1e2c0f25fee7bef160be794f
DIST tiff-0.9.1.crate 1423953 BLAKE2B d01949cc3a76a32f2e802a151a4c1d4bbe47c7f217f198f940293d02fd6a1a6d3087c66b3fbc099da3e155f959774d2a9d4d8c5f5f00cd6486f5f44571a1dedd SHA512 82419e671c6a896f1d639d46a3c5a019e3bff6c75d961b838f5311e5ecb31c3baafc5f88fe928e88f6b3b31881a867ea4ca9905f43e3e24f77f183260dc27b93
DIST time-0.3.30.crate 120289 BLAKE2B 917b71ea8362ca14f2564706919e7e62ebd3e8024d48ebcd9ac9799368a12f425b982a7739a73c025155d5dd0650ef8c9fd4642c60a9111294cad7ac2e30672c SHA512 268f0c779e2a44431932aa407f39878ff1412e287f9678574537fe7185f12faf7605c5ef433aa6d364bf77894e819ff3953f870ef7ad208b7203f1c58eccc4e5
DIST time-0.3.34.crate 118430 BLAKE2B 6d04a20596c9b0961ca104748d9d360f07b16059719d7410fdf1a7a0d5f2aa02aaebf640999464835964bbded2d3257d79c4b0ca3080fbecf13dd2d0aa6962fc SHA512 3997e1b8d9be2f54184ebc9e1355d4b65f0b7bc9439b2b29e4a4acd86ad3a3aa019261112a24d998d76a7f66b266a86536fa50412279911b14d4d7aa7078c116
+DIST time-0.3.36.crate 119805 BLAKE2B d4da96368ab8565373d034edce261e0d8867036f2ba87e84b5e4a506a70ed3b62b93ba10734aecb39847e258cf7008b6ae57f92df8d0e5229cd3fec488d14caf SHA512 83da6e27691d1f0ef37ed276528e927686a06dab4811b6e29d625ef7a0f7c30fbb86896d74a2b087726e7a24a951b0a83aa1f5f22d711ead54f447d36ac47133
DIST time-core-0.1.2.crate 7191 BLAKE2B c477ad3410ff29f3bf4a38fc6ac4a043d49b6d2bdf5cf309ffcd2eec3bb6e4c4b62156ee7f069f0b37ea31c163bc75ccbf35abc1db2833cdd4912135e60ddfc9 SHA512 3861724c23cb806829a01186deb5217ae8252c20af622975264e6670cff528f42155039e4937756a9eb312a5580ffab07949437d5504d684a0e70755046cac52
DIST time-macros-0.2.15.crate 23568 BLAKE2B ed16207f302e03095e726f0087f9f7c1514cd71b68a17ac804424c526349838171f3bda62d442b8429a89adb084cca1a4117828c3d66d20f2ff8272d7cb2d3a6 SHA512 d6da54996ab99a46b2b2cef83cec62eca2462490db439ba9814502f7d5ecc3018eb266b29453d601677a0ef39797da77a106d407e0e5de3b110ec1c5ae2f3c6b
DIST time-macros-0.2.17.crate 24443 BLAKE2B 5045af9352961db0c97cae2f6ca3e8d2c4f89a129c7ac2ec1d8d20804292aa9f2901a61f910a564954614b68f39311bd381deeb66fed8bdac423227d077f3d14 SHA512 c81747f0b74e68d3b3f36d378ac5911dece8c6b511e5ac793807f854cc31c812b927d0df941f55ff90d3d67512d0ac6a5f63f2de4322c81b05da42f46b4a661c
+DIST time-macros-0.2.18.crate 24361 BLAKE2B 09fa325be0b1a5b922285f035484b0de8e339306b49595c87f6374e46459d6777c6db4b12c1a0c6ea9795ae8c741188fbb81208d0499a651760b9f5089323fc7 SHA512 557786115add272290be8305ab79c44f5b4425b64eb698492fe300f15879d9e013c66933cae8aa8faad9c109e2917e7a0e43c8a5eed7f4b0f0fdad092089efe4
DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9
DIST tinyvec-1.6.0.crate 45991 BLAKE2B e9699d4d80a78978f0ebfd049f5b33d7f23d401cf4f4439ccb168e8c0e322473ad0ea7e2ff0ff69e9aac3e5c4c9ae5a7102185533bfbf96dbe77b3526e700bc9 SHA512 e5acaf353c58c60ae5556130a934f1048abb79cf6668ae467d308bac44b689d8a9997227ea879f4b5fe50f29cde8761801b088d7149bcd063b973056c381921c
DIST tinyvec_macros-0.1.1.crate 5865 BLAKE2B 2bf4f68ca11dc19c72232951605a4c809b34ff38ee365ee4f592a3c41360e23c9330cfba961e2692a0ad568fef4aaaac51c40808d491178cf7a0c4b5a1c5d484 SHA512 10008c7b3a3d50c94b9c370015b76ee082f5dfb6dcacf014dc2f2dbe92f903618d10d0202b21f48fcf98a94ae76fb712db55a5e8ad353645d378cf0e6ec74f7e
@@ -380,4 +384,5 @@ DIST winnow-0.5.28.crate 150758 BLAKE2B 10ea6c613e474b48da3af7fd2b6459e6ac1bd75f
DIST winnow-0.5.39.crate 159300 BLAKE2B 671f588b28d6a11919967d03227395cafd4b2d9afe5e76fb947e4a90937d25c1e8a486d228dd1a6de4ee99e8ff4ffd515b9e8b14fb54a6136b0c9cb3eb4be388 SHA512 76d4762a0258719c2212f0ba1e2a91098548d18b12dc79cf90e99a847eec3eae05e821effd7f5b2e68f482ccebc6ae8d7877e91b3db863886e007631e8af2c83
DIST xml5ever-0.17.0.crate 41208 BLAKE2B 42be2b72566bf44d3cf70b365aee45a6c8034c20e4e18c5f71ed51be3a02dc63ccd2545bd41cdb9c019ea34e8419dbb93888ee41bd9b38f2a41c7bf63e27c323 SHA512 0c67244411811a3e82fe58d341b371b938ce6e45ec1af2bd8615c0f0a9628fa662ec0eb130de2ae199d32c7778f0c2d2b80221812dc33831b93333dcde5a682e
DIST yeslogic-fontconfig-sys-4.0.1.crate 6694 BLAKE2B a78e56725245af764e31dbfc7e337dae5ab50e0af8d23a6f2ab5f5744b15208567bbaa742876d76fede07f7313fcce8e9c0c06aa9936cee16b902d8e7a641395 SHA512 b1626e259d8535c0189535eb240b92c798330c01866f33231ca9baba07b3da792cc5390221c826c67df9c6e6c0ae64568f1dbd70b9841750e233dab2bd27f506
+DIST yeslogic-fontconfig-sys-5.0.0.crate 6718 BLAKE2B 949fa4eab74fca63b0bd110a9c8f96707d8e924ca7ec29e6a07c463d70f25ea3ba5f28614bff09e4aa78295f5f00b62bd39f8ac10c5cbb384711d19384828eaf SHA512 a956133ce286502032746e7c37ad9532f011d911deafd2e5d108827bdbe0765068c013fa0c08eaf7410317596302487dbbbe2878915ca08e0f71e3156c32c5bd
DIST zune-inflate-0.2.54.crate 37973 BLAKE2B 8bdb532fae0da1d61fc9fc72ea72a9339116e1952e76ba7376f0ba0ea65101b88cd1e4766f516f21028a5ea3459e5590e7a54175a47f136cc572ed9abec2da2f SHA512 0de30f310121c1fed42612b7bcb50631d699195a77c7ce4094729f502e63d1ae38034d6054d95b6825e7e9a2afb7bb614ff123e12736163fee04a46ef1dc56bd
diff --git a/gnome-base/librsvg/files/librsvg-2.58.5-time-rust-1.80.patch b/gnome-base/librsvg/files/librsvg-2.58.5-time-rust-1.80.patch
new file mode 100644
index 000000000000..6003a5a67cec
--- /dev/null
+++ b/gnome-base/librsvg/files/librsvg-2.58.5-time-rust-1.80.patch
@@ -0,0 +1,27 @@
+Needed for compat w/ >=rust-1.80. The time crate is only used for tests.
+--- a/Cargo.lock
++++ b/Cargo.lock
+@@ -2177,9 +2177,9 @@ dependencies = [
+
+ [[package]]
+ name = "time"
+-version = "0.3.34"
++version = "0.3.36"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
++checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
+ dependencies = [
+ "deranged",
+ "itoa",
+@@ -2198,9 +2198,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
+
+ [[package]]
+ name = "time-macros"
+-version = "0.2.17"
++version = "0.2.18"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
++checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
+ dependencies = [
+ "num-conv",
+ "time-core",
diff --git a/gnome-base/librsvg/librsvg-2.58.5.ebuild b/gnome-base/librsvg/librsvg-2.58.5.ebuild
new file mode 100644
index 000000000000..ca992d8e036d
--- /dev/null
+++ b/gnome-base/librsvg/librsvg-2.58.5.ebuild
@@ -0,0 +1,426 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..13} )
+
+CRATES="
+ adler@1.0.2
+ aho-corasick@1.1.2
+ android-tzdata@0.1.1
+ android_system_properties@0.1.5
+ anes@0.1.6
+ anstream@0.6.11
+ anstyle-parse@0.2.3
+ anstyle-query@1.0.2
+ anstyle-wincon@3.0.2
+ anstyle@1.0.6
+ anyhow@1.0.79
+ approx@0.5.1
+ assert_cmd@2.0.13
+ autocfg@1.1.0
+ bit-set@0.5.3
+ bit-vec@0.6.3
+ bit_field@0.10.2
+ bitflags@1.3.2
+ bitflags@2.4.2
+ block@0.1.6
+ bstr@1.9.0
+ bumpalo@3.14.0
+ bytemuck@1.16.3
+ byteorder@1.5.0
+ cairo-rs@0.19.1
+ cairo-sys-rs@0.19.1
+ cast@0.3.0
+ cc@1.0.83
+ cfg-expr@0.15.6
+ cfg-if@1.0.0
+ chrono@0.4.33
+ ciborium-io@0.2.2
+ ciborium-ll@0.2.2
+ ciborium@0.2.2
+ clap@4.4.18
+ clap_builder@4.4.18
+ clap_complete@4.4.10
+ clap_derive@4.4.7
+ clap_lex@0.6.0
+ color_quant@1.1.0
+ colorchoice@1.0.0
+ core-foundation-sys@0.8.6
+ crc32fast@1.3.2
+ criterion-plot@0.5.0
+ criterion@0.5.1
+ crossbeam-deque@0.8.5
+ crossbeam-epoch@0.9.18
+ crossbeam-utils@0.8.19
+ crunchy@0.2.2
+ cssparser-macros@0.6.1
+ cssparser@0.31.2
+ cstr@0.2.11
+ data-url@0.3.1
+ deranged@0.3.11
+ derive_more@0.99.17
+ difflib@0.4.0
+ dlib@0.5.2
+ doc-comment@0.3.3
+ dtoa-short@0.3.4
+ dtoa@1.0.9
+ either@1.9.0
+ encoding_rs@0.8.33
+ equivalent@1.0.1
+ errno@0.3.8
+ exr@1.72.0
+ fastrand@2.0.1
+ fdeflate@0.3.4
+ flate2@1.0.28
+ float-cmp@0.9.0
+ flume@0.11.0
+ fnv@1.0.7
+ form_urlencoded@1.2.1
+ futf@0.1.5
+ futures-channel@0.3.30
+ futures-core@0.3.30
+ futures-executor@0.3.30
+ futures-io@0.3.30
+ futures-macro@0.3.30
+ futures-task@0.3.30
+ futures-util@0.3.30
+ fxhash@0.2.1
+ gdk-pixbuf-sys@0.19.0
+ gdk-pixbuf@0.19.0
+ getrandom@0.2.12
+ gif@0.12.0
+ gio-sys@0.19.0
+ gio@0.19.0
+ glib-macros@0.19.0
+ glib-sys@0.19.0
+ glib@0.19.0
+ gobject-sys@0.19.0
+ half@2.3.1
+ hashbrown@0.14.3
+ heck@0.4.1
+ hermit-abi@0.3.5
+ iana-time-zone-haiku@0.1.2
+ iana-time-zone@0.1.60
+ idna@0.5.0
+ image@0.24.8
+ indexmap@2.2.2
+ is-terminal@0.4.10
+ itertools@0.10.5
+ itertools@0.12.1
+ itoa@1.0.10
+ jpeg-decoder@0.3.1
+ js-sys@0.3.68
+ language-tags@0.3.2
+ lazy_static@1.4.0
+ lebe@0.5.2
+ libc@0.2.153
+ libloading@0.8.1
+ libm@0.2.8
+ linked-hash-map@0.5.6
+ linux-raw-sys@0.4.13
+ locale_config@0.3.0
+ lock_api@0.4.11
+ log@0.4.20
+ lopdf@0.32.0
+ mac@0.1.1
+ malloc_buf@0.0.6
+ markup5ever@0.11.0
+ matches@0.1.10
+ matrixmultiply@0.3.8
+ md5@0.7.0
+ memchr@2.7.1
+ minimal-lexical@0.2.1
+ miniz_oxide@0.7.2
+ nalgebra-macros@0.2.1
+ nalgebra@0.32.3
+ new_debug_unreachable@1.0.4
+ nom@7.1.3
+ normalize-line-endings@0.3.0
+ num-complex@0.4.5
+ num-conv@0.1.0
+ num-integer@0.1.46
+ num-rational@0.4.1
+ num-traits@0.2.18
+ objc-foundation@0.1.1
+ objc@0.2.7
+ objc_id@0.1.1
+ once_cell@1.19.0
+ oorandom@11.1.3
+ pango-sys@0.19.0
+ pango@0.19.0
+ pangocairo-sys@0.19.0
+ pangocairo@0.19.1
+ parking_lot@0.12.1
+ parking_lot_core@0.9.9
+ paste@1.0.14
+ percent-encoding@2.3.1
+ phf@0.10.1
+ phf@0.11.2
+ phf_codegen@0.10.0
+ phf_generator@0.10.0
+ phf_generator@0.11.2
+ phf_macros@0.11.2
+ phf_shared@0.10.0
+ phf_shared@0.11.2
+ pin-project-lite@0.2.13
+ pin-utils@0.1.0
+ pkg-config@0.3.29
+ plotters-backend@0.3.5
+ plotters-svg@0.3.5
+ plotters@0.3.5
+ png@0.17.11
+ powerfmt@0.2.0
+ ppv-lite86@0.2.17
+ precomputed-hash@0.1.1
+ predicates-core@1.0.6
+ predicates-tree@1.0.9
+ predicates@3.1.0
+ proc-macro-crate@3.1.0
+ proc-macro2@1.0.78
+ proptest@1.4.0
+ qoi@0.4.1
+ quick-error@1.2.3
+ quick-error@2.0.1
+ quote@1.0.35
+ rand@0.8.5
+ rand_chacha@0.3.1
+ rand_core@0.6.4
+ rand_xorshift@0.3.0
+ rawpointer@0.2.1
+ rayon-core@1.12.1
+ rayon@1.8.1
+ rctree@0.6.0
+ redox_syscall@0.4.1
+ regex-automata@0.4.5
+ regex-syntax@0.8.2
+ regex@1.10.3
+ rgb@0.8.37
+ rustix@0.38.31
+ rusty-fork@0.3.0
+ ryu@1.0.16
+ safe_arch@0.7.1
+ same-file@1.0.6
+ scopeguard@1.2.0
+ selectors@0.25.0
+ serde@1.0.196
+ serde_derive@1.0.196
+ serde_json@1.0.113
+ serde_spanned@0.6.5
+ servo_arc@0.3.0
+ simba@0.8.1
+ simd-adler32@0.3.7
+ siphasher@0.3.11
+ slab@0.4.9
+ smallvec@1.13.1
+ spin@0.9.8
+ stable_deref_trait@1.2.0
+ string_cache@0.8.7
+ string_cache_codegen@0.5.2
+ strsim@0.10.0
+ syn@1.0.109
+ syn@2.0.48
+ system-deps@6.2.0
+ target-lexicon@0.12.13
+ tempfile@3.10.0
+ tendril@0.4.3
+ termtree@0.4.1
+ thiserror-impl@1.0.56
+ thiserror@1.0.56
+ tiff@0.9.1
+ time-core@0.1.2
+ time-macros@0.2.18
+ time@0.3.36
+ tinytemplate@1.2.1
+ tinyvec@1.6.0
+ tinyvec_macros@0.1.1
+ toml@0.8.10
+ toml_datetime@0.6.5
+ toml_edit@0.21.1
+ toml_edit@0.22.4
+ typenum@1.17.0
+ unarray@0.1.4
+ unicode-bidi@0.3.15
+ unicode-ident@1.0.12
+ unicode-normalization@0.1.22
+ url@2.5.0
+ utf-8@0.7.6
+ utf8parse@0.2.1
+ version-compare@0.1.1
+ wait-timeout@0.2.0
+ walkdir@2.4.0
+ wasi@0.11.0+wasi-snapshot-preview1
+ wasm-bindgen-backend@0.2.91
+ wasm-bindgen-macro-support@0.2.91
+ wasm-bindgen-macro@0.2.91
+ wasm-bindgen-shared@0.2.91
+ wasm-bindgen@0.2.91
+ web-sys@0.3.68
+ weezl@0.1.8
+ wide@0.7.15
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-util@0.1.6
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+ windows-core@0.52.0
+ windows-sys@0.48.0
+ windows-sys@0.52.0
+ windows-targets@0.48.5
+ windows-targets@0.52.0
+ windows_aarch64_gnullvm@0.48.5
+ windows_aarch64_gnullvm@0.52.0
+ windows_aarch64_msvc@0.48.5
+ windows_aarch64_msvc@0.52.0
+ windows_i686_gnu@0.48.5
+ windows_i686_gnu@0.52.0
+ windows_i686_msvc@0.48.5
+ windows_i686_msvc@0.52.0
+ windows_x86_64_gnu@0.48.5
+ windows_x86_64_gnu@0.52.0
+ windows_x86_64_gnullvm@0.48.5
+ windows_x86_64_gnullvm@0.52.0
+ windows_x86_64_msvc@0.48.5
+ windows_x86_64_msvc@0.52.0
+ winnow@0.5.39
+ xml5ever@0.17.0
+ yeslogic-fontconfig-sys@5.0.0
+ zune-inflate@0.2.54
+"
+
+RUST_MIN_VER="1.71.1"
+RUST_USEDEP='${MULTILIB_USEDEP}'
+
+inherit multilib-minimal cargo gnome2 python-any-r1 rust-toolchain vala
+
+DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
+HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg https://gitlab.gnome.org/GNOME/librsvg"
+SRC_URI+=" ${CARGO_CRATE_URIS}"
+
+LICENSE="LGPL-2.1+"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0
+ Unicode-DFS-2016
+"
+
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+IUSE="gtk-doc +introspection +vala"
+REQUIRED_USE="
+ gtk-doc? ( introspection )
+ vala? ( introspection )
+"
+
+RDEPEND="
+ >=x11-libs/cairo-1.17.0[glib,svg(+),${MULTILIB_USEDEP}]
+ >=media-libs/freetype-2.9:2[${MULTILIB_USEDEP}]
+ >=x11-libs/gdk-pixbuf-2.20:2[introspection?,${MULTILIB_USEDEP}]
+ >=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}]
+ >=media-libs/harfbuzz-2.0.0:=[${MULTILIB_USEDEP}]
+ >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
+ >=x11-libs/pango-1.50.0[${MULTILIB_USEDEP}]
+
+ introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ x11-libs/gdk-pixbuf
+ ${PYTHON_DEPS}
+ $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')
+ gtk-doc? ( dev-util/gi-docgen )
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+
+ dev-libs/gobject-introspection-common
+ dev-libs/vala-common
+"
+# dev-libs/gobject-introspection-common, dev-libs/vala-common needed by eautoreconf
+
+QA_FLAGS_IGNORED="
+ usr/bin/rsvg-convert
+ usr/lib.*/librsvg.*
+"
+
+PATCHES=(
+ "${FILESDIR}"/librsvg-2.58.5-time-rust-1.80.patch
+)
+
+pkg_setup() {
+ rust_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ use vala && vala_setup
+ gnome2_src_prepare
+}
+
+src_configure() {
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ local myconf=(
+ --disable-static
+ --disable-debug
+ $(multilib_native_use_enable gtk-doc)
+ $(multilib_native_use_enable introspection)
+ $(multilib_native_use_enable vala)
+ --enable-pixbuf-loader
+ )
+
+ if ! multilib_is_native_abi; then
+ myconf+=(
+ # Set the rust target, which can differ from CHOST
+ RUST_TARGET="$(rust_abi)"
+ # RUST_TARGET is only honored if cross_compiling, but non-native ABIs aren't cross as
+ # far as C parts and configure auto-detection are concerned as CHOST equals CBUILD
+ cross_compiling=yes
+ )
+ fi
+
+ ECONF_SOURCE=${S} \
+ gnome2_src_configure "${myconf[@]}"
+
+ if multilib_is_native_abi; then
+ ln -s "${S}"/doc/html doc/html || die
+ fi
+}
+
+src_compile() {
+ multilib-minimal_src_compile
+}
+
+multilib_src_compile() {
+ gnome2_src_compile
+}
+
+src_test() {
+ multilib-minimal_src_test
+}
+
+src_install() {
+ multilib-minimal_src_install
+}
+
+multilib_src_install() {
+ gnome2_src_install
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete || die
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
+ mv "${ED}"/usr/share/doc/Rsvg-2.0 "${ED}"/usr/share/gtk-doc/html/ || die
+ fi
+}
+
+pkg_postinst() {
+ multilib_foreach_abi gnome2_pkg_postinst
+}
+
+pkg_postrm() {
+ multilib_foreach_abi gnome2_pkg_postrm
+}
next reply other threads:[~2024-11-09 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-09 10:11 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 11:07 [gentoo-commits] repo/gentoo:master commit in: gnome-base/librsvg/files/, gnome-base/librsvg/ Sam James
2023-06-19 15:30 Matt Turner
2022-04-27 3:27 Matt Turner
2016-07-02 13:31 Pacho Ramos
2015-09-05 12:51 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1731147047.5c3fde3d2ed0b76356131adfa7ba6ed8fd29cf1f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox