[gentoo-commits] proj/riscv:master commit in: www-client/chromium/, www-client/chromium/files/

2024-04-28 Thread Yixun Lan
commit: 32c8c053f44a354a120c90e102c2b0f1f561fbf8
Author: Andrew Cameron  gmail  com>
AuthorDate: Mon Apr 15 10:31:52 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Apr 28 12:54:17 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=32c8c053

www-client/chromium/: Update to 123.0.6312.122

Closes: https://github.com/gentoo/riscv/pull/14
Signed-off-by: Andrew Cameron  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/Manifest   |   4 +-
 ...12.58.ebuild => chromium-123.0.6312.122.ebuild} | 112 +++--
 .../chromium/files/chromium-123-qt-gui-check.patch |  31 ++
 3 files changed, 115 insertions(+), 32 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index fd20d18..3786d14 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,9 +1,9 @@
 DIST chromium-123-clang.tar.xz 50178332 BLAKE2B 
4b5c4f81a83c7b0c809c93a713e869fde6fe559477665cb3b2f03c62d2175f821b81fb03b0ddd127c6eaf77c41011b4de06561f09a58384153d80fe2b3aa7427
 SHA512 
17108b9579f16d0da383bd5e41d012f94bcb8445a517ff823aa49b66d3861b0a124b6cce6183fbc64e8050f1ebcd65a9daa2acbda5fdaa42390bfbf4ecb16bd3
 DIST chromium-123-rust.tar.xz 145295100 BLAKE2B 
ae6603a0e0218e4e39d3e8b7aa48a2cd946c90779dac48be26582926963c8a10a48e3e58fd00a23cb8cd9a3584d9d4a142e843f93c761e862253817635f18c2c
 SHA512 
b4f8dce6d74be4be495d9948d7593ec9664c0b93e87456fab33d3ae5ac0e486a4e8576b26a9ab9890285a7c0d566afb803b98225c0692b6cac9f623a10b954a2
 DIST chromium-123.0.6312.105.tar.xz 3481204616 BLAKE2B 
8adbc4a0c96ea53b45b26a48c8eb94e29b31b981471a0d5fda4cdea1f7aa69714a9e5a5729a61a49a92b6322889ee794b4c7ac5e243bc495ff5bd04cdc59f616
 SHA512 
a1abbba78c96fd7bc44a23b21d8180ebff015d17abcb186dece595513fda9d4443ac67498a78181589884c384a48e6c3abfe72e6ee806fdfc764d05f13fb5cb6
-DIST chromium-123.0.6312.58.tar.xz 3465099244 BLAKE2B 
d0b85e740924a33350c5b6d3a6d1e94c8b946c52ac760237b2391127c99326c64b50de29751850dc368331b66402ab0c4fc65b9aeef09302857a1f5300a0d17b
 SHA512 
4cb08767b8a6fe268c44bd7b621632c71f7d2f3f6c1b7bae9e0373dfc2eada397ab511a068582c2d17bbf3ee9ff16f05fccd454d610d63dd2fd14d6ca355a0c0
+DIST chromium-123.0.6312.122.tar.xz 3488275388 BLAKE2B 
9f7e6c4984a41dbed6849eee08d4f6b8241c86ece0250d67786038980f3d7f208897f42b279c20ffbb965e8e49427ce74e896c34b40390321780b9cc2ba685ce
 SHA512 
23e13d1d5758aa771f4c66e1a55068438e7c4890456dcb0b7a1fc1839b750e612e29d59e744c8b773935757aad01b78a5fecc3e03057a8acbb7e997dbb98f007
 DIST chromium-patches-123.tar.bz2 4697 BLAKE2B 
8a7dd76edb23afb7b2f65084696bce5d6e54d63ca34c4590052db1086ed0a422b1efde863c4daad4e2526f329eb65276b9ad5406017cd97fb75b1a9556c1f933
 SHA512 
ea47255deac1893896f64496629d34c7092f266a175b8400fcf4f01b9d038ae240e911bff488558bb28e6f5795bbcf276adf20ed1e0ccb8ac99f9ddd260742f9
 DIST chromium-ppc64le-gentoo-patches-1.tar.xz 5636 BLAKE2B 
1d898939df023c59285b27bee552470483ea06375d1ee8d6947b89c5927c23cc7bfec6b49f3b376ece931d11a56f8e2a45791e0f92ad61974fc8c34c1082d89c
 SHA512 
8a71cb007e47cda8e5fe5d185729389e65c48bd322c8ee8b3986bee8571427b959628f2666bda646a3f89ae64197c0957d3626845ff03461dbd5dee4c964d07c
 DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 
5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d
 SHA512 
9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c
-DIST chromium_122.0.6261.57-1raptor0~deb12u1.debian.tar.xz 551860 BLAKE2B 
b3f9bef07a38061553816d6f0faf610cc19cc8565605bb520c163906a02e91795a6c6ae05c92ebbb6ccaf95e130438c8bf3c70d26a04951e8438074edb48b63d
 SHA512 
6037a47e1011304ee33447ac11fa84a3355176b5452ad9f7132eebf2527eb3e4fc42635e148731b77b17db243b42172203feacb0443e6071dc9cc7c52d41f7d6
+DIST chromium_123.0.6312.105-1raptor0~deb12u1.debian.tar.xz 579484 BLAKE2B 
587082358377f7bc0dca0dec83772abb7e040ad894ca4d456a294b7f5c19297acbc5b1dac725d3c1dbaaeefd480328c6c06c607438e560aa6359c1e98c4b1c9c
 SHA512 
6b670a139e284cc96da65ff3c1b3e715cd9b436de2404792d619cfad23e2040fd931e7cc49f0b1ac17e11522804a4c9a621cb943e0dab33fb5bf422e954c5421
 DIST chromium_123.0.6312.86-1raptor0~deb12u1.debian.tar.xz 579124 BLAKE2B 
a27996211fbed198480e50934e39b0eda4c39e5e78a03f9b290cb90a6c8d7003b6aa828bf35e6744e9d7aa9a922f43baa77d6c9768140baf5749a797c2dad664
 SHA512 
cfb51fd910f3330100a2dc9ea993d537f126329ff2c590744954a3bfbb712d7bf1d7ad9066628aba5d28c98f2f9b069cf02f8c6048d2ad0a1a376468bdbd9196

diff --git a/www-client/chromium/chromium-123.0.6312.58.ebuild 
b/www-client/chromium/chromium-123.0.6312.122.ebuild
similarity index 91%
rename from www-client/chromium/chromium-123.0.6312.58.ebuild
rename to www-client/chromium/chromium-123.0.6312.122.ebuild
index 3ab7690..d9b1d00 100644
--- a/www-client/chromium/chromium-123.0.6312.58.ebuild
+++ b/www-client/chromium/chromium-123.0.6312.122.ebuild
@@ -6,15 +6,16 @@ EAPI=8
 PYTHON_COMPAT=( python3_{11..12} )
 

[gentoo-commits] proj/riscv:master commit in: www-client/chromium/files/, www-client/chromium/

2024-04-11 Thread Yixun Lan
commit: afda4a50bf7de01b268a57d527896effc924e93f
Author: Andrew Cameron  gmail  com>
AuthorDate: Wed Apr 10 21:38:04 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 12 03:45:24 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=afda4a50

www-client/chromium: Update to 123.0.6312.105

Closes: https://github.com/gentoo/riscv/pull/13
Signed-off-by: Andrew Cameron  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/Manifest   |2 +
 www-client/chromium/chromium-123.0.6312.105.ebuild | 1453 
 .../files/chromium-124-libwebp-shim-sharpyuv.patch |   36 +
 3 files changed, 1491 insertions(+)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 3e9db3c..fd20d18 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,7 +1,9 @@
 DIST chromium-123-clang.tar.xz 50178332 BLAKE2B 
4b5c4f81a83c7b0c809c93a713e869fde6fe559477665cb3b2f03c62d2175f821b81fb03b0ddd127c6eaf77c41011b4de06561f09a58384153d80fe2b3aa7427
 SHA512 
17108b9579f16d0da383bd5e41d012f94bcb8445a517ff823aa49b66d3861b0a124b6cce6183fbc64e8050f1ebcd65a9daa2acbda5fdaa42390bfbf4ecb16bd3
 DIST chromium-123-rust.tar.xz 145295100 BLAKE2B 
ae6603a0e0218e4e39d3e8b7aa48a2cd946c90779dac48be26582926963c8a10a48e3e58fd00a23cb8cd9a3584d9d4a142e843f93c761e862253817635f18c2c
 SHA512 
b4f8dce6d74be4be495d9948d7593ec9664c0b93e87456fab33d3ae5ac0e486a4e8576b26a9ab9890285a7c0d566afb803b98225c0692b6cac9f623a10b954a2
+DIST chromium-123.0.6312.105.tar.xz 3481204616 BLAKE2B 
8adbc4a0c96ea53b45b26a48c8eb94e29b31b981471a0d5fda4cdea1f7aa69714a9e5a5729a61a49a92b6322889ee794b4c7ac5e243bc495ff5bd04cdc59f616
 SHA512 
a1abbba78c96fd7bc44a23b21d8180ebff015d17abcb186dece595513fda9d4443ac67498a78181589884c384a48e6c3abfe72e6ee806fdfc764d05f13fb5cb6
 DIST chromium-123.0.6312.58.tar.xz 3465099244 BLAKE2B 
d0b85e740924a33350c5b6d3a6d1e94c8b946c52ac760237b2391127c99326c64b50de29751850dc368331b66402ab0c4fc65b9aeef09302857a1f5300a0d17b
 SHA512 
4cb08767b8a6fe268c44bd7b621632c71f7d2f3f6c1b7bae9e0373dfc2eada397ab511a068582c2d17bbf3ee9ff16f05fccd454d610d63dd2fd14d6ca355a0c0
 DIST chromium-patches-123.tar.bz2 4697 BLAKE2B 
8a7dd76edb23afb7b2f65084696bce5d6e54d63ca34c4590052db1086ed0a422b1efde863c4daad4e2526f329eb65276b9ad5406017cd97fb75b1a9556c1f933
 SHA512 
ea47255deac1893896f64496629d34c7092f266a175b8400fcf4f01b9d038ae240e911bff488558bb28e6f5795bbcf276adf20ed1e0ccb8ac99f9ddd260742f9
 DIST chromium-ppc64le-gentoo-patches-1.tar.xz 5636 BLAKE2B 
1d898939df023c59285b27bee552470483ea06375d1ee8d6947b89c5927c23cc7bfec6b49f3b376ece931d11a56f8e2a45791e0f92ad61974fc8c34c1082d89c
 SHA512 
8a71cb007e47cda8e5fe5d185729389e65c48bd322c8ee8b3986bee8571427b959628f2666bda646a3f89ae64197c0957d3626845ff03461dbd5dee4c964d07c
 DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 
5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d
 SHA512 
9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c
 DIST chromium_122.0.6261.57-1raptor0~deb12u1.debian.tar.xz 551860 BLAKE2B 
b3f9bef07a38061553816d6f0faf610cc19cc8565605bb520c163906a02e91795a6c6ae05c92ebbb6ccaf95e130438c8bf3c70d26a04951e8438074edb48b63d
 SHA512 
6037a47e1011304ee33447ac11fa84a3355176b5452ad9f7132eebf2527eb3e4fc42635e148731b77b17db243b42172203feacb0443e6071dc9cc7c52d41f7d6
+DIST chromium_123.0.6312.86-1raptor0~deb12u1.debian.tar.xz 579124 BLAKE2B 
a27996211fbed198480e50934e39b0eda4c39e5e78a03f9b290cb90a6c8d7003b6aa828bf35e6744e9d7aa9a922f43baa77d6c9768140baf5749a797c2dad664
 SHA512 
cfb51fd910f3330100a2dc9ea993d537f126329ff2c590744954a3bfbb712d7bf1d7ad9066628aba5d28c98f2f9b069cf02f8c6048d2ad0a1a376468bdbd9196

diff --git a/www-client/chromium/chromium-123.0.6312.105.ebuild 
b/www-client/chromium/chromium-123.0.6312.105.ebuild
new file mode 100644
index 000..5388d0d
--- /dev/null
+++ b/www-client/chromium/chromium-123.0.6312.105.ebuild
@@ -0,0 +1,1453 @@
+# Copyright 2009-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_REQ_USE="xml(+)"
+
+# PACKAGING NOTES
+
+# Google roll their bundled Clang every two weeks, and the bundled Rust
+# is rolled regularly and depends on that. While we do our best to build
+# with system Clang, we will eventually hit the point where we need to use
+# the bundled Clang due to the use of prerelease features. We've been lucky
+# enough so far that this hasn't been an issue.
+
+# We try and avoid forcing the use of the custom/bundled libcxx, but sometimes
+# it is unavoidable. Remember to force the use of Clang when this is forced.
+
+# GCC is _not_ supported upstream, though patches are welcome. We do our
+# best to enable builds with GCC but reserve the right to force Clang
+# builds if we can't keep up with upstream's changes. Please 

[gentoo-commits] proj/riscv:master commit in: www-client/chromium/files/, www-client/chromium/

2024-04-11 Thread Yixun Lan
commit: 755ae4bd759dfafd7fe64890f3294f2a64a94485
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 11 04:17:27 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Apr 11 04:17:46 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=755ae4bd

www-client/chromium: drop 98.0.4750.0

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/Manifest   |   3 -
 www-client/chromium/chromium-98.0.4750.0.ebuild| 968 -
 www-client/chromium/files/11cpuinfo.patch  |  11 -
 .../files/chromium-108-EnumTable-crash.patch   |  76 --
 .../chromium/files/chromium-119-minizip-cast.patch |  23 -
 .../files/chromium-119.0.6045.159-icu-74.patch |  21 -
 .../files/chromium-93-InkDropHost-crash.patch  |  25 -
 .../files/chromium-96-EnumTable-crash.patch|  76 --
 .../files/chromium-96-freetype-unbundle.patch  |  10 -
 .../files/chromium-98-EnumTable-crash.patch|  76 --
 .../chromium/files/chromium-98-system-libdrm.patch |  34 -
 .../chromium/files/chromium-glibc-2.34.patch   |  50 --
 .../chromium/files/chromium-shim_headers.patch |  48 -
 13 files changed, 1421 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 7b7e129..3e9db3c 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,9 +1,6 @@
 DIST chromium-123-clang.tar.xz 50178332 BLAKE2B 
4b5c4f81a83c7b0c809c93a713e869fde6fe559477665cb3b2f03c62d2175f821b81fb03b0ddd127c6eaf77c41011b4de06561f09a58384153d80fe2b3aa7427
 SHA512 
17108b9579f16d0da383bd5e41d012f94bcb8445a517ff823aa49b66d3861b0a124b6cce6183fbc64e8050f1ebcd65a9daa2acbda5fdaa42390bfbf4ecb16bd3
 DIST chromium-123-rust.tar.xz 145295100 BLAKE2B 
ae6603a0e0218e4e39d3e8b7aa48a2cd946c90779dac48be26582926963c8a10a48e3e58fd00a23cb8cd9a3584d9d4a142e843f93c761e862253817635f18c2c
 SHA512 
b4f8dce6d74be4be495d9948d7593ec9664c0b93e87456fab33d3ae5ac0e486a4e8576b26a9ab9890285a7c0d566afb803b98225c0692b6cac9f623a10b954a2
 DIST chromium-123.0.6312.58.tar.xz 3465099244 BLAKE2B 
d0b85e740924a33350c5b6d3a6d1e94c8b946c52ac760237b2391127c99326c64b50de29751850dc368331b66402ab0c4fc65b9aeef09302857a1f5300a0d17b
 SHA512 
4cb08767b8a6fe268c44bd7b621632c71f7d2f3f6c1b7bae9e0373dfc2eada397ab511a068582c2d17bbf3ee9ff16f05fccd454d610d63dd2fd14d6ca355a0c0
-DIST chromium-98-extra-patchset-0.tar.xz 187228 BLAKE2B 
094c716b274de559f848ed7f55cd2584892b6d43ba0e79bc3b458bb56320a0de7bd06bed475404004b83e464dc5554987318783eb7bd4838a84e69788e30c567
 SHA512 
565a69262e353b2eda8bc7c97c88e78972e047146b810f3d9f09bb19aa963a0600a104cfdacafd8794e2b393cb31381b8e73086c246b6b1267defd065367fced
-DIST chromium-98-patchset-3.tar.xz 6164 BLAKE2B 
be4fa2997e13e89a0c8db1e99fa80adb937c0c02f1e18bd0ec93bdbdd484da4a8507baf13c5e6e602d5f5ecb2921f33bc3afdc3c3103b1b5314b62f59c1a71ad
 SHA512 
47026635ca5c2e1d3965c82a449077380e6518b33e16b83bd105085cca50f512d08027eebd34d7ce5ce39d988f0120deccfb72697abac0d41e4502b6ad8abdf3
-DIST chromium-98.0.4750.0.tar.xz 1230864580 BLAKE2B 
b8b5d05bf15a9429f3f5fa851415d21f6e757a99fce9ac47bdeb7f534f9eefc77d13c5f8ba93bfa140bdb536c13e1b6141ac4d7e0f17b742039c403044789c56
 SHA512 
7f8cc349aa50af0d149ba08e5ed60171e94943bbd52cb0f820f3c7d56749d9e2fd6d71761262ac012cfcad1f7e4f63c0404f39f044df531e776ae6fce951544f
 DIST chromium-patches-123.tar.bz2 4697 BLAKE2B 
8a7dd76edb23afb7b2f65084696bce5d6e54d63ca34c4590052db1086ed0a422b1efde863c4daad4e2526f329eb65276b9ad5406017cd97fb75b1a9556c1f933
 SHA512 
ea47255deac1893896f64496629d34c7092f266a175b8400fcf4f01b9d038ae240e911bff488558bb28e6f5795bbcf276adf20ed1e0ccb8ac99f9ddd260742f9
 DIST chromium-ppc64le-gentoo-patches-1.tar.xz 5636 BLAKE2B 
1d898939df023c59285b27bee552470483ea06375d1ee8d6947b89c5927c23cc7bfec6b49f3b376ece931d11a56f8e2a45791e0f92ad61974fc8c34c1082d89c
 SHA512 
8a71cb007e47cda8e5fe5d185729389e65c48bd322c8ee8b3986bee8571427b959628f2666bda646a3f89ae64197c0957d3626845ff03461dbd5dee4c964d07c
 DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 
5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d
 SHA512 
9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c

diff --git a/www-client/chromium/chromium-98.0.4750.0.ebuild 
b/www-client/chromium/chromium-98.0.4750.0.ebuild
deleted file mode 100644
index e12c50a..000
--- a/www-client/chromium/chromium-98.0.4750.0.ebuild
+++ /dev/null
@@ -1,968 +0,0 @@
-# Copyright 2009-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="xml"
-
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu 
he
-   hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 
sr
-   sv sw ta te th tr uk vi zh-CN zh-TW"
-
-inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils 

[gentoo-commits] proj/riscv:master commit in: www-client/chromium/

2024-04-11 Thread Yixun Lan
commit: dc4718a297a3d2d0688fc250475ff99baddf63e7
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 11 04:19:11 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 12 03:47:49 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=dc4718a2

www-client/chromium: sync metadata.xml

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/metadata.xml | 28 +++-
 1 file changed, 19 insertions(+), 9 deletions(-)

diff --git a/www-client/chromium/metadata.xml b/www-client/chromium/metadata.xml
index dcdaa4c..46230c5 100644
--- a/www-client/chromium/metadata.xml
+++ b/www-client/chromium/metadata.xml
@@ -5,21 +5,31 @@
chrom...@gentoo.org
Chromium in Gentoo Project

+   
+   kan...@gentoo.org
+   Matt Jolly
+   

-   Enable JavaScript type-checking for 
Chrome's web technology-based UI. Requires Java.
-   Split build into more shared 
libraries to speed up linking. Mostly intended for debugging and development, 
NOT RECOMMENDED for general use.
+   (binpkg only) Use Chromium FFmpeg 
fork (media-video/ffmpeg-chromium) rather than mainline FFmpeg 
(media-video/ffmpeg)
Enable DCHECK feature with severity 
configurable at runtime. Mostly intended for debugging and development, NOT 
RECOMMENDED for general use.
+   Build with GTK4 headers.
Build Ozone only with headless backend, 
NOT RECOMMENDED for general use.
Enable support for Google Hangouts 
features such as screen sharing
+   Use bundled libc++ instead of libstdc++ for 
building.
+   Build with Link Time Optimizations (via 
clang's ThinLTO)
Enable Official build instead of 
Developer build.
-   Disable optimized assembly code that is not 
PIC friendly
+   Allow building on a PaX-enabled 
kernel
+   Build with Profile Guided Optimizations 
(2-stage compilation)
Enable codecs for 
patent-encumbered audio and video formats.
-   Enable support for remote desktop and 
screen cast using media-video/pipewire
-   Build the SUID sandbox, which is only needed 
on CONFIG_USER_NS=n kernels
-   Use system ffmpeg instead of the 
bundled one
-   Use system harfbuzz instead of the 
bundled one.
-   Use system icu instead of the bundled 
one
-   Use system libpng instead of the 
bundled one.
+   Use system 
media-libs/harfbuzz instead of the bundled library.
+   Use system dev-libs/icu 
instead of the bundled one
+   Use system media-libs/libpng 
instead of the bundled library
+   Use system toolchain instead of 
the bundled one (if possible)
+   Use system app-arch/zstd 
instead of the bundled one.
Unsupported closed-source DRM capability 
(required by Netflix VOD)

+   
+   chromium/chromium
+   Matt.Jolly/chromium-patches
+   
 



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-09 Thread Florian Schmaus
commit: 1c440c97a791230166990bef4dc8c1e9fe2d433e
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr  9 14:19:16 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr  9 14:19:16 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=1c440c97

app-emulation/qtrvsim: treeclean, migrated to ::gentoo

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/Manifest |  1 -
 app-emulation/qtrvsim/metadata.xml |  8 
 app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild | 25 -
 3 files changed, 34 deletions(-)

diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest
deleted file mode 100644
index 762a7e2..000
--- a/app-emulation/qtrvsim/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST qtrvsim-0.9.7.tar.gz 1421805 BLAKE2B 
9128dbe513860eafd01e0f37a99547797d385b57a404e06aea310404012e66e6be802920cdea62acb914d355fc842cd3759fc794d2cd417257b941f9ec62fbec
 SHA512 
0d53e21681630cbf97db472472bd96dfe4914e0d275a1094cb18a7f0372cef23b0dea3c33092b6ab6d2403737070ef0b6f2b1f5d9d35eea8923b24a80ac6adfe

diff --git a/app-emulation/qtrvsim/metadata.xml 
b/app-emulation/qtrvsim/metadata.xml
deleted file mode 100644
index cd68118..000
--- a/app-emulation/qtrvsim/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   
-   cvut/qtrvsim
-   
-

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
deleted file mode 100644
index 88e56ac..000
--- a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="RISC-V CPU simulator for education"
-HOMEPAGE="https://github.com/cvut/qtrvsim;
-SRC_URI="https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
-   dev-qt/qtbase:6[gui,widgets]
-   virtual/libelf:=
-"
-RDEPEND="${DEPEND}"
-
-CMAKE_SKIP_TESTS=(
-   # Fails in 0.9.7, but not in master.
-   cli_stalls
-)



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-09 Thread Florian Schmaus
commit: cafda1d6d25b054d79b07abf9588fba443939ab5
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr  9 13:03:26 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr  9 13:03:33 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=cafda1d6

app-emulation/qtrvsim: skip failing cli_stalls test

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
index 79b1e41..88e56ac 100644
--- a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
+++ b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
@@ -18,3 +18,8 @@ DEPEND="
virtual/libelf:=
 "
 RDEPEND="${DEPEND}"
+
+CMAKE_SKIP_TESTS=(
+   # Fails in 0.9.7, but not in master.
+   cli_stalls
+)



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-09 Thread Florian Schmaus
commit: 8a766ba54cb6632b28b43d14ebebe8626696e757
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr  9 12:46:36 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr  9 13:03:32 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=8a766ba5

app-emulation/qtrvsim: declare dependency on qtbase[gui,widgests]

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
index fee07ec..79b1e41 100644
--- a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
+++ b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 DEPEND="
-   dev-qt/qtbase:6
+   dev-qt/qtbase:6[gui,widgets]
virtual/libelf:=
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-09 Thread Florian Schmaus
commit: 4b95140aacddacf64028c53e6fa552845e23f250
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr  9 12:46:55 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr  9 13:03:32 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=4b95140a

app-emulation/qtrvsim: drop 0.9.5

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/Manifest |  1 -
 app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild | 20 
 2 files changed, 21 deletions(-)

diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest
index 654a094..762a7e2 100644
--- a/app-emulation/qtrvsim/Manifest
+++ b/app-emulation/qtrvsim/Manifest
@@ -1,2 +1 @@
-DIST qtrvsim-0.9.5.tar.gz 1328020 BLAKE2B 
3e390af0db8ee0cce8267c3923efb965f7bebd07be7e154ac45906f830f020115e86ec42faa179abc53c819ade9168a22cf6a01529b15a3c0cd9473068559ac5
 SHA512 
f888d159131c6ea4f48cfc4b34f406a15e122c8422bc0f0dae24275a7487a1a0df16008dc8e2c74105b49710816b07e5bea90334f6f06851aa4d1f53078172b5
 DIST qtrvsim-0.9.7.tar.gz 1421805 BLAKE2B 
9128dbe513860eafd01e0f37a99547797d385b57a404e06aea310404012e66e6be802920cdea62acb914d355fc842cd3759fc794d2cd417257b941f9ec62fbec
 SHA512 
0d53e21681630cbf97db472472bd96dfe4914e0d275a1094cb18a7f0372cef23b0dea3c33092b6ab6d2403737070ef0b6f2b1f5d9d35eea8923b24a80ac6adfe

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
deleted file mode 100644
index 3b644a1..000
--- a/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-DESCRIPTION="RISC-V CPU simulator for education"
-HOMEPAGE="https://github.com/cvut/qtrvsim;
-SRC_URI="https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="dev-qt/qtgui
-   dev-qt/qtwidgets
-   virtual/libelf
-   "
-RDEPEND="${DEPEND}"
-BDEPEND=""



[gentoo-commits] proj/riscv:master commit in: app-emulation/riscv-pk/

2024-04-04 Thread Florian Schmaus
commit: b9ffa429a024656fae22e7c5d63bcee28e0a4d99
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 09:49:45 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 09:49:45 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=b9ffa429

app-emulation/riscv-pk: new package, add 1.0.0_p20240423

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/riscv-pk/Manifest|  1 +
 app-emulation/riscv-pk/metadata.xml| 20 +
 .../riscv-pk/riscv-pk-1.0.0_p20240423.ebuild   | 52 ++
 3 files changed, 73 insertions(+)

diff --git a/app-emulation/riscv-pk/Manifest b/app-emulation/riscv-pk/Manifest
new file mode 100644
index 000..779a290
--- /dev/null
+++ b/app-emulation/riscv-pk/Manifest
@@ -0,0 +1 @@
+DIST riscv-pk-1.0.0_p20240423.tar.gz 325581 BLAKE2B 
9ef2f606f167fa8cf23d2d6d3db65f09d3e0e9214977c0953be951a9918dd149e96b089317b22b9b968804a45358a1996c782e960f33b470501497bcf67eb8f8
 SHA512 
4825d04d3ca5e57d3acd10e4c27ec8015b48db980674703e6b7dfd98d83113bf29a594d9f55954d30d2ff4880f69b2cfd1c7294a1ebf761fbcde1be0ea850d39

diff --git a/app-emulation/riscv-pk/metadata.xml 
b/app-emulation/riscv-pk/metadata.xml
new file mode 100644
index 000..c711a44
--- /dev/null
+++ b/app-emulation/riscv-pk/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   The RISC-V Proxy Kernel, pk, is a lightweight application 
execution environment that can host
+   statically-linked RISC-V ELF binaries. It is designed to 
support tethered RISC-V implementations
+   with limited I/O capability and thus handles I/O-related system 
calls by proxying them to a host
+   computer.
+
+   This package also contains the Berkeley Boot Loader, bbl, which 
is a supervisor execution
+   environment for tethered RISC-V systems. It is designed to host 
the RISC-V Linux port.
+   
+   
+   Florian Schmaus
+   f...@gentoo.org
+   
+   
+   riscv-software-src/riscv-pk
+   
+

diff --git a/app-emulation/riscv-pk/riscv-pk-1.0.0_p20240423.ebuild 
b/app-emulation/riscv-pk/riscv-pk-1.0.0_p20240423.ebuild
new file mode 100644
index 000..31b2c6c
--- /dev/null
+++ b/app-emulation/riscv-pk/riscv-pk-1.0.0_p20240423.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="RISC-V Proxy Kernel"
+HOMEPAGE="https://github.com/riscv-software-src/riscv-pk;
+
+LICENSE="BSD"
+SLOT="0"
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-pk.git;
+else
+   MY_COMMIT=9637e60b96b21a7f85a85bf033b87f64fb823b6c
+   if [[ -v MY_COMMIT ]]; then
+   
SRC_URI="https://github.com/riscv-software-src/riscv-pk/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/riscv-pk-${MY_COMMIT}"
+   else
+   
SRC_URI="https://github.com/riscv-software-src/riscv-pk/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+   fi
+   KEYWORDS="~amd64"
+fi
+
+pkg_setup() {
+   if ! has_version cross-riscv64-linux-gnu/gcc && [[ ! -v 
I_HAVE_RISCV_LINUX_GNU_GCC ]]; then
+   die "Building the RISC-V Proxy Kernel (pk) requires 
cross-riscv64-linux-gnu/gcc"
+   fi
+}
+
+src_prepare() {
+   default
+
+   # TODO: consider using filter-flags instead.
+   unset CFLAGS CXXFLAGS
+}
+
+src_configure() {
+   mkdir build || die
+   cd build || die
+
+   ../configure --prefix="${EPREFIX}"/usr/share --host=riscv64-linux-gnu 
|| die
+}
+
+src_compile() {
+   emake -C build
+}
+
+src_install() {
+   emake -C build DESTDIR="${D}" install
+}



[gentoo-commits] proj/riscv:master commit in: metadata/

2024-04-04 Thread Florian Schmaus
commit: b4ff4101f0d3b0d0ec5e70fc079f110c5f5fedb8
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 08:38:11 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 08:38:32 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=b4ff4101

metadata: add gitignore

Signed-off-by: Florian Schmaus  gentoo.org>

 metadata/.gitignore | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metadata/.gitignore b/metadata/.gitignore
new file mode 100644
index 000..d48f533
--- /dev/null
+++ b/metadata/.gitignore
@@ -0,0 +1,2 @@
+/md5-cache/
+/pkg_desc_index



[gentoo-commits] proj/riscv:master commit in: profiles/

2024-04-04 Thread Florian Schmaus
commit: f42949043149a2c38a147a1aa38662d21d8cea9d
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 08:37:46 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 08:37:46 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f4294904

profiles: add gitignore

Signed-off-by: Florian Schmaus  gentoo.org>

 profiles/.gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/.gitignore b/profiles/.gitignore
new file mode 100644
index 000..4fa37a5
--- /dev/null
+++ b/profiles/.gitignore
@@ -0,0 +1 @@
+/use.local.desc



[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2024-04-04 Thread Florian Schmaus
commit: f6f9506c1ea79c02b156090f3a18828170085daa
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 08:34:33 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 08:34:33 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f6f9506c

app-emulation/spike: add 1.1.0_p20240324

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/spike/Manifest |  1 +
 app-emulation/spike/spike-1.1.0_p20240324.ebuild | 34 
 2 files changed, 35 insertions(+)

diff --git a/app-emulation/spike/Manifest b/app-emulation/spike/Manifest
index 5a0d0a6..c132c53 100644
--- a/app-emulation/spike/Manifest
+++ b/app-emulation/spike/Manifest
@@ -1 +1,2 @@
 DIST spike-1.0.0.tar.gz 283500 BLAKE2B 
a25f5faad1fa76e131f2477c5c103a738a0a5c6a4bec0a147d9233acc3e9ef60d52621e83d54e4025fa50ab402a294564cfdf4244651c14dd1b852fe3d16becf
 SHA512 
e5755fc2bb38d5cb11d340f612f82207f6f77599b4cd38206c70cdb211f43108694ce2807822bccb77de308bb78b60a23978de972c2c8394601712ff1153267c
+DIST spike-1.1.0_p20240324.tar.gz 511200 BLAKE2B 
c925a5e1775d3ffd0d14009a42a7d4d20bd4013e4b95c1ce4551ab6d55d5d3bb8b52df04f237c17d07a439925a7acf18500d2ca34f046e8870bce3b88fccef45
 SHA512 
6d9bd4f903962a29661cde2e1b26f1457db2fd3602079e433f24bc077c1188cba354570a8f0d2b0c2e1a24445346f4fe73618be7ff93f0962ffd060094956563

diff --git a/app-emulation/spike/spike-1.1.0_p20240324.ebuild 
b/app-emulation/spike/spike-1.1.0_p20240324.ebuild
new file mode 100644
index 000..4ce8063
--- /dev/null
+++ b/app-emulation/spike/spike-1.1.0_p20240324.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The RISC-V ISA Simulator"
+HOMEPAGE="https://github.com/riscv-software-src/riscv-isa-sim;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git;
+else
+   MY_COMMIT=3427b459f88d2334368a1abbdf5a3000957f08e8
+   if [[ -v MY_COMMIT ]]; then
+   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/riscv-isa-sim-${MY_COMMIT}"
+   else
+   
SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   fi
+   KEYWORDS="~amd64"
+fi
+
+DEPEND="sys-apps/dtc"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+
+   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" \
+   Makefile.in || die
+}



[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2024-04-04 Thread Florian Schmaus
commit: 88ab64b043d7721c55cce5a84bd6e56f26d764d9
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 08:34:16 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 08:34:16 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=88ab64b0

app-emulation/spike: drop stabilize-allarches from metadata

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/spike/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-emulation/spike/metadata.xml b/app-emulation/spike/metadata.xml
index e806b9b..4f0e3af 100644
--- a/app-emulation/spike/metadata.xml
+++ b/app-emulation/spike/metadata.xml
@@ -10,7 +10,6 @@
d...@gentoo.org
Yixun Lan

-   

riscv/riscv-isa-sim




[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2024-04-04 Thread Florian Schmaus
commit: e4c2c2c16bb1baca18cc049a717e61bf5dc95329
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Apr  4 08:36:51 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Apr  4 08:36:51 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=e4c2c2c1

app-emulation/spike: sync live

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/spike/spike-.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/app-emulation/spike/spike-.ebuild 
b/app-emulation/spike/spike-.ebuild
index 528cc70..4ce8063 100644
--- a/app-emulation/spike/spike-.ebuild
+++ b/app-emulation/spike/spike-.ebuild
@@ -13,8 +13,13 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git;
 else
-   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz
 -> ${P}.gh.htar.gz"
-   S="${WORKDIR}/${PN}-${COMMIT}"
+   MY_COMMIT=3427b459f88d2334368a1abbdf5a3000957f08e8
+   if [[ -v MY_COMMIT ]]; then
+   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${MY_COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/riscv-isa-sim-${MY_COMMIT}"
+   else
+   
SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   fi
KEYWORDS="~amd64"
 fi
 



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-03 Thread Florian Schmaus
commit: 5a3d415f0ec67f3ddf82e18ef19d77e0ed87f688
Author: Florian Schmaus  gentoo  org>
AuthorDate: Wed Apr  3 19:03:40 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Apr  3 19:04:03 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5a3d415f

app-emulation/qtrvsim: add 0.9.7

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/Manifest |  1 +
 app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild | 20 
 2 files changed, 21 insertions(+)

diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest
index 1626220..654a094 100644
--- a/app-emulation/qtrvsim/Manifest
+++ b/app-emulation/qtrvsim/Manifest
@@ -1 +1,2 @@
 DIST qtrvsim-0.9.5.tar.gz 1328020 BLAKE2B 
3e390af0db8ee0cce8267c3923efb965f7bebd07be7e154ac45906f830f020115e86ec42faa179abc53c819ade9168a22cf6a01529b15a3c0cd9473068559ac5
 SHA512 
f888d159131c6ea4f48cfc4b34f406a15e122c8422bc0f0dae24275a7487a1a0df16008dc8e2c74105b49710816b07e5bea90334f6f06851aa4d1f53078172b5
+DIST qtrvsim-0.9.7.tar.gz 1421805 BLAKE2B 
9128dbe513860eafd01e0f37a99547797d385b57a404e06aea310404012e66e6be802920cdea62acb914d355fc842cd3759fc794d2cd417257b941f9ec62fbec
 SHA512 
0d53e21681630cbf97db472472bd96dfe4914e0d275a1094cb18a7f0372cef23b0dea3c33092b6ab6d2403737070ef0b6f2b1f5d9d35eea8923b24a80ac6adfe

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
new file mode 100644
index 000..fee07ec
--- /dev/null
+++ b/app-emulation/qtrvsim/qtrvsim-0.9.7.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="RISC-V CPU simulator for education"
+HOMEPAGE="https://github.com/cvut/qtrvsim;
+SRC_URI="https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+   dev-qt/qtbase:6
+   virtual/libelf:=
+"
+RDEPEND="${DEPEND}"



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2024-04-03 Thread Florian Schmaus
commit: 73906a428c64a83718ea38ed759747bf7e0ddadd
Author: Florian Schmaus  gentoo  org>
AuthorDate: Wed Apr  3 19:01:27 2024 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Apr  3 19:04:02 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=73906a42

app-emulation/qtrvsim: add upstream informatino to metadata

Signed-off-by: Florian Schmaus  gentoo.org>

 app-emulation/qtrvsim/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-emulation/qtrvsim/metadata.xml 
b/app-emulation/qtrvsim/metadata.xml
index 115e9d6..cd68118 100644
--- a/app-emulation/qtrvsim/metadata.xml
+++ b/app-emulation/qtrvsim/metadata.xml
@@ -2,4 +2,7 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

+   
+   cvut/qtrvsim
+   
 



[gentoo-commits] proj/riscv:master commit in: dev-debug/valgrind/, dev-util/valgrind/, dev-util/valgrind/files/, ...

2024-03-20 Thread Yixun Lan
commit: 5cc28159a5492c2ef147f050a1016e0a6e2cce6f
Author: Alexander Puck Neuwirth  neuwirth-informatik  
de>
AuthorDate: Thu Feb 29 07:20:14 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar 21 03:25:02 2024 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5cc28159

dev-debug/valgrind: moved from dev-util

Closes: https://github.com/gentoo/riscv/pull/11
Signed-off-by: Alexander Puck Neuwirth  neuwirth-informatik.de>
Signed-off-by: Yixun Lan  gentoo.org>

 .../files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch | 0
 {dev-util => dev-debug}/valgrind/files/valgrind-3.7.0-respect-flags.patch | 0
 {dev-util => dev-debug}/valgrind/metadata.xml | 0
 {dev-util => dev-debug}/valgrind/valgrind-.ebuild | 0
 4 files changed, 0 insertions(+), 0 deletions(-)

diff --git 
a/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
b/dev-debug/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
similarity index 100%
rename from 
dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
rename to 
dev-debug/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch

diff --git a/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch 
b/dev-debug/valgrind/files/valgrind-3.7.0-respect-flags.patch
similarity index 100%
rename from dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
rename to dev-debug/valgrind/files/valgrind-3.7.0-respect-flags.patch

diff --git a/dev-util/valgrind/metadata.xml b/dev-debug/valgrind/metadata.xml
similarity index 100%
rename from dev-util/valgrind/metadata.xml
rename to dev-debug/valgrind/metadata.xml

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-debug/valgrind/valgrind-.ebuild
similarity index 100%
rename from dev-util/valgrind/valgrind-.ebuild
rename to dev-debug/valgrind/valgrind-.ebuild



[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2023-12-11 Thread Yixun Lan
commit: 8b21b333b47aa122742dff4252990d4f8678e99a
Author: unlsycn  unlsycn  com>
AuthorDate: Sun Dec 10 16:36:10 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 11 13:42:33 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=8b21b333

app-emulation/spike: fix spike-

Closes: https://github.com/gentoo/riscv/pull/10
Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/spike/spike-.ebuild | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/app-emulation/spike/spike-.ebuild 
b/app-emulation/spike/spike-.ebuild
index 830475e..5743f06 100644
--- a/app-emulation/spike/spike-.ebuild
+++ b/app-emulation/spike/spike-.ebuild
@@ -1,21 +1,30 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
-inherit autotools git-r3 multilib
+EAPI=8
 
 DESCRIPTION="The RISC-V ISA Simulator"
-HOMEPAGE="https://github.com/riscv/riscv-isa-sim/;
-EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim;
+HOMEPAGE="https://github.com/riscv-software-src/riscv-isa-sim;
 
 LICENSE="BSD"
 SLOT="0/${PV}"
 IUSE=""
 
-DEPEND=""
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git;
+else
+   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   S="${WORKDIR}/${PN}-${COMMIT}"
+   KEYWORDS="~amd64"
+fi
+
+DEPEND="sys-apps/dtc"
+RDEPEND="${DEPEND}"
+BDEPEND=""
 
 src_prepare() {
default
-   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir):g" Makefile.in || die
-   eautoreconf
+
+   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" Makefile.in 
|| die
 }



[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2023-12-11 Thread Yixun Lan
commit: a769721a368c9382884c5aaf67e3951802793654
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 11 13:42:22 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 11 13:43:25 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=a769721a

app-emulation/spike: drop empty variables && update

Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/spike/spike-1.0.0.ebuild | 3 ---
 app-emulation/spike/spike-.ebuild  | 7 +++
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/app-emulation/spike/spike-1.0.0.ebuild 
b/app-emulation/spike/spike-1.0.0.ebuild
index 053302e..e34b82f 100644
--- a/app-emulation/spike/spike-1.0.0.ebuild
+++ b/app-emulation/spike/spike-1.0.0.ebuild
@@ -11,9 +11,6 @@ 
SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz
 LICENSE="BSD"
 SLOT="0/${PV}"
 KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND=""
 
 S="${WORKDIR}/riscv-isa-sim-${PV}"
 src_prepare() {

diff --git a/app-emulation/spike/spike-.ebuild 
b/app-emulation/spike/spike-.ebuild
index 5743f06..528cc70 100644
--- a/app-emulation/spike/spike-.ebuild
+++ b/app-emulation/spike/spike-.ebuild
@@ -8,23 +8,22 @@ HOMEPAGE="https://github.com/riscv-software-src/riscv-isa-sim;
 
 LICENSE="BSD"
 SLOT="0/${PV}"
-IUSE=""
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim.git;
 else
-   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+   
SRC_URI="https://github.com/riscv-software-src/riscv-isa-sim/archive/${COMMIT}.tar.gz
 -> ${P}.gh.htar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64"
 fi
 
 DEPEND="sys-apps/dtc"
 RDEPEND="${DEPEND}"
-BDEPEND=""
 
 src_prepare() {
default
 
-   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" Makefile.in 
|| die
+   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir)/spike:g" \
+   Makefile.in || die
 }



[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2023-08-30 Thread Yixun Lan
commit: 5c02b20a71fbb3ef6d1fb41daa9d01a86325ad09
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Aug 30 09:33:59 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug 30 09:34:02 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5c02b20a

app-emulation/spike: update EAPI=8

Fix ebuild cache regeneration error,

Closes: https://bugs.gentoo.org/913315
Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/spike/spike-1.0.0.ebuild | 4 ++--
 app-emulation/spike/spike-.ebuild  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-emulation/spike/spike-1.0.0.ebuild 
b/app-emulation/spike/spike-1.0.0.ebuild
index 7da7a73..053302e 100644
--- a/app-emulation/spike/spike-1.0.0.ebuild
+++ b/app-emulation/spike/spike-1.0.0.ebuild
@@ -1,8 +1,8 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
-inherit eutils autotools
+EAPI="8"
+inherit autotools
 
 DESCRIPTION="The RISC-V ISA Simulator"
 HOMEPAGE="https://github.com/riscv/riscv-isa-sim/;

diff --git a/app-emulation/spike/spike-.ebuild 
b/app-emulation/spike/spike-.ebuild
index 31faa2b..830475e 100644
--- a/app-emulation/spike/spike-.ebuild
+++ b/app-emulation/spike/spike-.ebuild
@@ -1,12 +1,12 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
-inherit eutils autotools git-r3 multilib
+EAPI="8"
+inherit autotools git-r3 multilib
 
 DESCRIPTION="The RISC-V ISA Simulator"
 HOMEPAGE="https://github.com/riscv/riscv-isa-sim/;
-EGIT_REPO_URI="https://github.com/riscv/riscv-isa-sim;
+EGIT_REPO_URI="https://github.com/riscv-software-src/riscv-isa-sim;
 
 LICENSE="BSD"
 SLOT="0/${PV}"



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2023-04-27 Thread Yixun Lan
commit: fb69d14b59c89a2b50d7e080c034bbc8e0d3ed9e
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Apr 28 00:30:44 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 28 00:30:44 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=fb69d14b

app-emulation/qtrvsim: fix libelf dep

Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
index 1ee6dc5..3b644a1 100644
--- a/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
+++ b/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64"
 
 DEPEND="dev-qt/qtgui
dev-qt/qtwidgets
+   virtual/libelf
"
 RDEPEND="${DEPEND}"
 BDEPEND=""



[gentoo-commits] proj/riscv:master commit in: app-emulation/qtrvsim/

2023-04-27 Thread Yixun Lan
commit: 67c378ffab4dd43e7708c21925d389c992e64a65
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Apr 27 23:57:57 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Apr 27 23:57:57 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=67c378ff

app-emulation/qtrvsim: qt riscv sim

Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/qtrvsim/Manifest |  1 +
 app-emulation/qtrvsim/metadata.xml |  5 +
 app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild | 19 +++
 3 files changed, 25 insertions(+)

diff --git a/app-emulation/qtrvsim/Manifest b/app-emulation/qtrvsim/Manifest
new file mode 100644
index 000..1626220
--- /dev/null
+++ b/app-emulation/qtrvsim/Manifest
@@ -0,0 +1 @@
+DIST qtrvsim-0.9.5.tar.gz 1328020 BLAKE2B 
3e390af0db8ee0cce8267c3923efb965f7bebd07be7e154ac45906f830f020115e86ec42faa179abc53c819ade9168a22cf6a01529b15a3c0cd9473068559ac5
 SHA512 
f888d159131c6ea4f48cfc4b34f406a15e122c8422bc0f0dae24275a7487a1a0df16008dc8e2c74105b49710816b07e5bea90334f6f06851aa4d1f53078172b5

diff --git a/app-emulation/qtrvsim/metadata.xml 
b/app-emulation/qtrvsim/metadata.xml
new file mode 100644
index 000..115e9d6
--- /dev/null
+++ b/app-emulation/qtrvsim/metadata.xml
@@ -0,0 +1,5 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+

diff --git a/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild 
b/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
new file mode 100644
index 000..1ee6dc5
--- /dev/null
+++ b/app-emulation/qtrvsim/qtrvsim-0.9.5.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+DESCRIPTION="RISC-V CPU simulator for education"
+HOMEPAGE="https://github.com/cvut/qtrvsim;
+SRC_URI="https://github.com/cvut/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-qt/qtgui
+   dev-qt/qtwidgets
+   "
+RDEPEND="${DEPEND}"
+BDEPEND=""



[gentoo-commits] proj/riscv:master commit in: app-office/libreoffice/files/, app-office/libreoffice/

2023-04-08 Thread Yixun Lan
commit: 8ae3693b79cfe35825515e7ba137fde9e2a654bf
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Apr  8 21:16:06 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Apr  8 21:16:06 2023 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=8ae3693b

app-office/libreoffice: drop it, as already pushed to official portage

Signed-off-by: Yixun Lan  gentoo.org>

 app-office/libreoffice/Manifest|  24 -
 .../files/libreoffice-5.3.4.2-kioclient5.patch |  11 -
 .../files/libreoffice-6.1-nomancompress.patch  |  29 -
 .../files/libreoffice-7.2.0.4-qt5detect.patch  |  13 -
 .../files/libreoffice-7.3.5.2-gpgme-1.18.0.patch   |  48 --
 .../libreoffice-7.3.5.2-poppler-22.09.0.patch  |  46 --
 app-office/libreoffice/files/libreoffice.confd |   5 -
 app-office/libreoffice/files/libreoffice.initd |  14 -
 app-office/libreoffice/libreoffice-7.3.7.2.ebuild  | 657 -
 app-office/libreoffice/metadata.xml|  23 -
 10 files changed, 870 deletions(-)

diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest
deleted file mode 100644
index 9d54652..000
--- a/app-office/libreoffice/Manifest
+++ /dev/null
@@ -1,24 +0,0 @@
-DIST 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip 3519470 BLAKE2B 
ccfdf6b7f88f22d3ec7898c529c374f13059979450aabdccc9781ca91dd27d0119dfec3d33dda073c2973fa4a8aacae13924c9a67e38a1422c48bfee41b6f3e8
 SHA512 
a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a
-DIST 185d60944ea767075d27247c3162b3bc-unowinreg.dll 12288 BLAKE2B 
c067f60d0ee325feae4f168ad0f84602708fe724a1d9a9a054ed4991992c1d4637b31083cf569326b8aac1ec598e71ec65fb31ee16233b9c736e97ef062b47d7
 SHA512 
854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c
-DIST 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip 1180582 BLAKE2B 
b2b91f608cccdc823c11ce946ecf12b8cb7b1218fa8763ed7b64cf2567114f0703b4103a4eb2369874a4006112396470d1a0a72e6f186c9fac629cbca0fe18d6
 SHA512 
9fe106bbdb55365f589246e5a0d10bbe9b35224132b66a1823dc6361633a67f2acc0e8c393dc7ed70d086858d16d242b8806b8b2184c98e3d20d0be85bed9c44
-DIST 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip 9796 BLAKE2B 
a30b0225313b23092bc57ccd989f26ea04a323dcb17a0ea8baaa6a21b5d5e2b6e29fcae9d18ecd043073030e104ad56c86a115760590f57eda86c22c9fe478b0
 SHA512 
4a48f1e32907fb2dee601cda3cd7a0d7198b2d51f2a572b647f1e93f901fd511eef3567676e52dfb1723a2cdfbc01f2015ca0bb22903b0bc1476dd618cc9aa8a
-DIST 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip 153157 BLAKE2B 
e02fced286aab6f6597b04bba37186e6f7d0793ef807c4530e15da5464e9302880278472fdc79dc27a9be15600127bebe30651a6027ef1b0a7cfc40ce56a395a
 SHA512 
a7c3044a0a7c67881f78eddc4b3faf05e29b20755a59cdbb9a0a49bd21be5aaa95d4ea5eaabdd6f005a421981fb7c55fee590d4c9592fe363ba27ae590652bd4
-DIST 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip 5750610 BLAKE2B 
b9f3ef8baa6fe11b2aef25ee6ebe36d7f4c0e688022f27c6a0186a94d909c4c2166ffe5d70644207f56971888e2478e57cd1e76a252abf3825987350c4c7de45
 SHA512 
8eaa9eed3bff16a16483d0754756c181089eb705ea34ded7f9f6db90a591cbce3f0551f28d097bd2f44de813cb818720c430e79e516939e0398b72bf4614f4cd
-DIST 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip 1521926 BLAKE2B 
d2769842c180997055648a8b1a33cc89988b74628bad8aa012242e0c1afa5b5b8568323c107187072207ee69bd841ba4ca3bbfe27ef65223ddc729d1a1aa6590
 SHA512 
ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f
-DIST 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip 762419 BLAKE2B 
9cbcda7d7644ede32a19b7bd5e29cae348229b9396a205809db480ed67bf12d243652d4ec3bf817f6d369e594a6d6ac3ebebfd03a80ed94f3106f78421d00077
 SHA512 
12ab17a4db3f7c834b21e59ff6f6f6456630d8626db7fb908867b20204295d4fba8969e79a3694ca66cb24e9f0e5a0fa4b9d2d3f748691b7f93985f9e666ce5f
-DIST 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip 2938721 BLAKE2B 
86cf869561f653e449611ca2f014b340d7d0cba46b7d37a9455cbbc184b6a5c7e0e26ac84909aef08ae8639a402cef3bfc93ec901de018060f16413eaff0f748
 SHA512 
17ba9d2c0376fb7326d53bb1e3796610176a1af426d1b9073b5f7cf06c93d865e585c495e75c52fb8e426d7c453e751356a9ca9a54dc821ddadb6c8160ed5ba6
-DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 BLAKE2B 
51db6bd90585b13857ecb494c805c9fb6874e1e65d7aee73d23e1716670836a14b376bcca810f96fd55b0ed653b2660a268030f246c822cbb04f867ef763a3b3
 SHA512 
2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a
-DIST ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip 2929311 BLAKE2B 
02f59a60592d92f97f1098b501617d1408cabeab7b5a85b2f20ade584536e71823c392ce86084a944cada86310d48afb475535b47420f9b54eff582ce1d77d85
 SHA512 
58c1aa3965bf3a5f5d0facb67a5e42cec04e3f74e59cd7348ea2a9f6d9cafdce5552677c6b6d9c4cf2b31f52751695f2e53b2cee658e5f2eacb1393534a53c0e
-DIST 

[gentoo-commits] proj/riscv:master commit in: app-office/libreoffice/, app-office/libreoffice/files/

2022-12-01 Thread Yixun Lan
commit: 6aef1b70c70a0b4060659f8798568157a0c8b520
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Dec  1 11:35:49 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Dec  1 11:35:49 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=6aef1b70

app-office/libreoffice: import 7.3.7.2 from portage tree

Signed-off-by: Yixun Lan  gentoo.org>

 app-office/libreoffice/Manifest|4 +-
 .../libreoffice-7.2.6.2-poppler-22.03.0.patch  |   33 -
 ...Add-missing-nSize-set-for-Poppler-22.04.0.patch |   31 -
 ...t-FreeBSD-patch-for-Poppler-22.04.0-build.patch |   78 -
 .../files/libreoffice-7.3.6.2-riscv64.patch| 1964 
 ...e-7.3.6.2.ebuild => libreoffice-7.3.7.2.ebuild} |8 +-
 6 files changed, 3 insertions(+), 2115 deletions(-)

diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest
index e41d0f5..691b425 100644
--- a/app-office/libreoffice/Manifest
+++ b/app-office/libreoffice/Manifest
@@ -18,7 +18,7 @@ DIST eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip 
427800 BLAKE2B d3ac085a3
 DIST f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip 211919 BLAKE2B 
2c72493e44d3ad1714d294fb7baaa85d33fef2eb4ce75bf507b65f78f1d9d399bb5eb72cee188a8abc4b234eb2845a26755791fb3ac104ffe6e55013ab41ca8b
 SHA512 
c1a15ebbfe817ec79d4b3f1c97d096bf8511737d7d35d97302856ccfb3de14a1cd16bd31000415d9ab24bbd9ef770d37855cee4b819ff0e8fca2f2766920a114
 DIST libcmis-0.5.2.tar.xz 484404 BLAKE2B 
7de242393c28fc8289bb598b34e704eb2affaaa8b9e470e10044dbfd3812391f29e1421df8d7ac3869955698ddbc9575feebcfbac27bb074a60ccc0527dca1c3
 SHA512 
295ab15115e75b1f6074f17d3538afe0de9b2b77ab454f5c63cb05e8df11886d82942fbf21ba01486052e3f6c75b0636b99d8e660cd3472dc4b87c31d3cd557b
 DIST libreoffice-7.3.5.2-patchset-01.tar.xz 12700 BLAKE2B 
353f6552d31616dfeb32287173bbd70366045ec437c8735e701bff357032f5ef2358920c5d8495142551116999b034db6611a72536edf14fe13ea9cace3a931c
 SHA512 
dbd8b4b494159845efbe9ad76d5822188b9868aff8ef488793f4e2b0f2f0290942322651e8b53dd71db81cba559e3510732801d0c643cb2af9526cb1e1837891
-DIST libreoffice-7.3.6.2.tar.xz 256616324 BLAKE2B 
52456e529ae2898101824882f124a5b039a1dfb98fd77dfceef39a41a3af871123c56b83a73d0aaf92e1cea57f35af442ca0a17814a1374538a9495ac601cee0
 SHA512 
8f61e9c09b344cf120bc6f9463344b28644e52738360ddeb1a29d9d2294d24132b070902a089531869e11487f5a7153fc4752e6636af7ef57269d23c8187ec86
+DIST libreoffice-7.3.7.2.tar.xz 256653492 BLAKE2B 
aa3e096ba46d6e23b0e6439a435a6d75fdc9da309885a28d96dc5a4fc05d854a8e4f633d9f4d623af18f6a80ca036409fb26b9a9843fb9a18144468b58ef5ad4
 SHA512 
f7b6279f5ef9f5ad8290d2bdf4fd54f8df7775a21094ba762dbd9299effab31d4f2c6dff9f4b3d9c5673596931df1d16b195474b547007bfc9a396c47e5e181c
 DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B 
f03c7ddeb53c5ca3fd23401679601fcf2c4037ba17be4eb7b784c7ce7ebb71a24b8ab4aac8b7da8c6b1f14dd23bc1294ba85ff4f70ad271fb4ee3c5372e10883
 SHA512 
785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f
-DIST libreoffice-help-7.3.6.2.tar.xz 112209384 BLAKE2B 
629a9dae6464adb33ed4494df8cbf59305a686b0bab21d55e3c139b87c5e3eee3e77ef1f22be84973d6e51a1ffb74aa74fd7f91b82223b2e3cc6d3bc900e7305
 SHA512 
7a98e8d3b146638bdb608d86b617bb45ff2649957ad9391aadfbb32fb18a4c8d15675bd24076dbb2b635569bfdab988f7cac461cfe04e53b3febfb2aa35d6189
+DIST libreoffice-help-7.3.7.2.tar.xz 112210852 BLAKE2B 
3a3148d6ff9c743c97c0371290b3264f8e9eb8eb5aba3176b2e88f296abc2856f364866ba6ebb9f6364b5c98255c8593d23e3d54db6bcc27eecde53ac9a1b393
 SHA512 
c223ee49626e36b11a86c077001efc27ca2df9aa10ddb068e04c8ab8a0ea1942ca71b97c2f7379bf856ba7d12a5ca94f2fd8d8058703e2276af3595b75049030
 DIST skia-m97-a7230803d64ae9d44f4e1282444801119a3ae967.tar.xz 11826600 BLAKE2B 
2985ba0318fd72ac216fda33c6961eaa8ee649d2a850eb736accbd91fbc9cee7dc4e5752b2696a35204770a188412e2ecd0cc128cec324c682f9bc35e68358b3
 SHA512 
fbf5cfef66991565dbad928091a4e795a5b5b79a1e062a98ab9135b9972827de703c449507957294e7471c422c2e2ed239d6df61ffb9b9581a9ca3d848687a76

diff --git 
a/app-office/libreoffice/files/libreoffice-7.2.6.2-poppler-22.03.0.patch 
b/app-office/libreoffice/files/libreoffice-7.2.6.2-poppler-22.03.0.patch
deleted file mode 100644
index be4a399..000
--- a/app-office/libreoffice/files/libreoffice-7.2.6.2-poppler-22.03.0.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 001ec0e10616a3a55fa7898bb68c983e94b7ce66 Mon Sep 17 00:00:00 2001
-From: foutrelis 
-Date: Wed, 2 Mar 2022 12:58:09 +
-Subject: [PATCH] upgpkg: libreoffice-fresh 7.3.0-7: poppler 22.03.0 rebuild
-
-diff --git a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx 
b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
-index ad6320139..e5f6d9c68 100644
 a/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
-+++ b/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
-@@ -138,6 +138,15 @@ int main(int argc, char **argv)
- _setmode( _fileno( g_binary_out ), _O_BINARY );
- #endif
- 
-+#if POPPLER_CHECK_VERSION(22, 

[gentoo-commits] proj/riscv:master commit in: app-office/libreoffice/

2022-12-01 Thread Yixun Lan
commit: f128a8938b302e58c9abfd05325494e058f70492
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Dec  1 11:37:20 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Dec  1 11:37:20 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f128a893

app-office/libreoffice: add the riscv64 support

backport the riscv64 patch[0] set to version 7.3.7.2,

slightly modified it to slove the conflicts with the loong patch

[0] 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=bc9487f745befde6534fd46058e119256952323d

Signed-off-by: Yixun Lan  gentoo.org>

 app-office/libreoffice/Manifest   | 2 +-
 app-office/libreoffice/libreoffice-7.3.7.2.ebuild | 8 +---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest
index 691b425..9d54652 100644
--- a/app-office/libreoffice/Manifest
+++ b/app-office/libreoffice/Manifest
@@ -17,7 +17,7 @@ DIST dtoa-20180411.tgz 48893 BLAKE2B 
4a03dc67e44353ae1c0653c8305d2df9bcfef16b48d
 DIST eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip 427800 BLAKE2B 
d3ac085a39ee9798182b70ba650fa954234b964e33278ac4fe3f84f8c3218ad49f12d139079328036b4f9d80cde967888c0a66393c34dedf27af69dac02c5aff
 SHA512 
9091d3628d9c75c068507537afc9e10bfb79c1abfd36ad697af3d592a1cc049ba6640f665bfc53cc520b6a26c21d70b0275106843444b441484c2178f2784743
 DIST f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip 211919 BLAKE2B 
2c72493e44d3ad1714d294fb7baaa85d33fef2eb4ce75bf507b65f78f1d9d399bb5eb72cee188a8abc4b234eb2845a26755791fb3ac104ffe6e55013ab41ca8b
 SHA512 
c1a15ebbfe817ec79d4b3f1c97d096bf8511737d7d35d97302856ccfb3de14a1cd16bd31000415d9ab24bbd9ef770d37855cee4b819ff0e8fca2f2766920a114
 DIST libcmis-0.5.2.tar.xz 484404 BLAKE2B 
7de242393c28fc8289bb598b34e704eb2affaaa8b9e470e10044dbfd3812391f29e1421df8d7ac3869955698ddbc9575feebcfbac27bb074a60ccc0527dca1c3
 SHA512 
295ab15115e75b1f6074f17d3538afe0de9b2b77ab454f5c63cb05e8df11886d82942fbf21ba01486052e3f6c75b0636b99d8e660cd3472dc4b87c31d3cd557b
-DIST libreoffice-7.3.5.2-patchset-01.tar.xz 12700 BLAKE2B 
353f6552d31616dfeb32287173bbd70366045ec437c8735e701bff357032f5ef2358920c5d8495142551116999b034db6611a72536edf14fe13ea9cace3a931c
 SHA512 
dbd8b4b494159845efbe9ad76d5822188b9868aff8ef488793f4e2b0f2f0290942322651e8b53dd71db81cba559e3510732801d0c643cb2af9526cb1e1837891
+DIST libreoffice-7.3.7.2-patchset-01.tar.xz 17232 BLAKE2B 
a5f92d81a174bff48fe26e9a65e549930ba1b6bc5c871b66003e09c657b5a4cae7906e5858e3e5b76f58bd0f257d930fe2eba46f4e5fa99264dc0650f032f8dd
 SHA512 
29e4778f281cbcb861e01914f0a2552b4a6373d647a83d16c670b9eedd52011939592d0e60fefc20befe891a5daf29c54f071248c356aae59fc66019c7357f9f
 DIST libreoffice-7.3.7.2.tar.xz 256653492 BLAKE2B 
aa3e096ba46d6e23b0e6439a435a6d75fdc9da309885a28d96dc5a4fc05d854a8e4f633d9f4d623af18f6a80ca036409fb26b9a9843fb9a18144468b58ef5ad4
 SHA512 
f7b6279f5ef9f5ad8290d2bdf4fd54f8df7775a21094ba762dbd9299effab31d4f2c6dff9f4b3d9c5673596931df1d16b195474b547007bfc9a396c47e5e181c
 DIST libreoffice-branding-gentoo-0.8.tar.xz 151568 BLAKE2B 
f03c7ddeb53c5ca3fd23401679601fcf2c4037ba17be4eb7b784c7ce7ebb71a24b8ab4aac8b7da8c6b1f14dd23bc1294ba85ff4f70ad271fb4ee3c5372e10883
 SHA512 
785031a699b1d1895ce4b50ffc3ddf645f3a0ef9acdf37facfd18cf75db9484cb8f53a50abb63d6006ead76a80b6ff5aa99661063245ebb84bd64013d713de7f
 DIST libreoffice-help-7.3.7.2.tar.xz 112210852 BLAKE2B 
3a3148d6ff9c743c97c0371290b3264f8e9eb8eb5aba3176b2e88f296abc2856f364866ba6ebb9f6364b5c98255c8593d23e3d54db6bcc27eecde53ac9a1b393
 SHA512 
c223ee49626e36b11a86c077001efc27ca2df9aa10ddb068e04c8ab8a0ea1942ca71b97c2f7379bf856ba7d12a5ca94f2fd8d8058703e2276af3595b75049030

diff --git a/app-office/libreoffice/libreoffice-7.3.7.2.ebuild 
b/app-office/libreoffice/libreoffice-7.3.7.2.ebuild
index 5d536f2..587e017 100644
--- a/app-office/libreoffice/libreoffice-7.3.7.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.3.7.2.ebuild
@@ -18,7 +18,7 @@ DEV_URI="
 ADDONS_URI="https://dev-www.libreoffice.org/src/;
 
 BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
-PATCHSET="${PN}-7.3.5.2-patchset-01.tar.xz"
+PATCHSET="${PN}-7.3.7.2-patchset-01.tar.xz"
 
 [[ ${MY_PV} == ** ]] && inherit git-r3
 inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 
multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
@@ -26,8 +26,10 @@ inherit autotools bash-completion-r1 check-reqs flag-o-matic 
java-pkg-opt-2 mult
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org;
 SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
-[[ -n ${PATCHSET} ]] && SRC_URI+=" 
https://dev.gentoo.org/~xen0n/distfiles/app-office/libreoffice/${PATCHSET};
-
+PATCH_URIS=(
+   
https://dev.gentoo.org/~{dlan,xen0n}/distfiles/app-office/libreoffice/${PATCHSET}
+)
+[[ -n ${PATCHSET} ]] && SRC_URI+=" ${PATCH_URIS[@]}"
 # Split modules following git/tarballs; Core MUST be first!
 # Help is used for the image generator
 # 

[gentoo-commits] proj/riscv:master commit in: sys-firmware/u-boot-bin/

2022-11-22 Thread Yixun Lan
commit: 1b126b3e64b4ba42ebfd808912a8617a87bc670d
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Nov 23 01:05:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Nov 23 01:05:00 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=1b126b3e

sys-firmware/u-boot-bin: version bump, 2022.10

Signed-off-by: Yixun Lan  gentoo.org>

 sys-firmware/u-boot-bin/Manifest| 2 +-
 .../{u-boot-bin-2022.10_rc5.ebuild => u-boot-bin-2022.10.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-firmware/u-boot-bin/Manifest b/sys-firmware/u-boot-bin/Manifest
index 2b43d78..ba379ea 100644
--- a/sys-firmware/u-boot-bin/Manifest
+++ b/sys-firmware/u-boot-bin/Manifest
@@ -1 +1 @@
-DIST u-boot-bin-2022.10_rc5.tar.xz 281164 BLAKE2B 
26193f48b6913fd834677f38fde9546d0aae37818371287c336153c8831069922d21854e57024ea63dfc5d0057fedaaf0063f21b8d6c9f20661c3b333569fa6f
 SHA512 
40c951e498df5fa883d961254cf9f4ae1ffef9132c2b23aea06be8f5db5d5649ae78a81a387ffd70c79e77c206967439a7f3708dabef17ded5310b224e26273e
+DIST u-boot-bin-2022.10.tar.xz 281356 BLAKE2B 
130bf5c59585355d2fd1c5b62a225cd2f0e82f8221065f0d640649abb52e1c091ef8d3512067253c4be85e787724a1e591557c2289545b032177c39af2b4170d
 SHA512 
4aec0a1a7c7bffa3a5b990e96ebbb3c2fe7e32f3ae5a1d96df8a7d537e63fc77e25c60146be67e3308b9e5b92e3d42732b78e59ab8f2eeb79c5dadcdcb731a5d

diff --git a/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc5.ebuild 
b/sys-firmware/u-boot-bin/u-boot-bin-2022.10.ebuild
similarity index 100%
rename from sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc5.ebuild
rename to sys-firmware/u-boot-bin/u-boot-bin-2022.10.ebuild



[gentoo-commits] proj/riscv:master commit in: app-office/libreoffice/, app-office/libreoffice/files/

2022-10-12 Thread Yixun Lan
commit: 85f216842196ad85d1efbb0e9b782fb10e03081e
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Oct 12 20:56:33 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 12 20:59:52 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=85f21684

app-office/libreoffice: add riscv64 support

the patch is still under review..
pushed this package here to give users more testing

Signed-off-by: Yixun Lan  gentoo.org>

 .../files/libreoffice-7.3.6.2-riscv64.patch| 1964 
 app-office/libreoffice/libreoffice-7.3.6.2.ebuild  |3 +
 2 files changed, 1967 insertions(+)

diff --git a/app-office/libreoffice/files/libreoffice-7.3.6.2-riscv64.patch 
b/app-office/libreoffice/files/libreoffice-7.3.6.2-riscv64.patch
new file mode 100644
index 000..0937fbe
--- /dev/null
+++ b/app-office/libreoffice/files/libreoffice-7.3.6.2-riscv64.patch
@@ -0,0 +1,1964 @@
+Subject: [PATCH] libreoffice-riscv64
+
+https://gerrit.libreoffice.org/c/core/+/137445
+
+---
+ bridges/Library_cpp_uno.mk|   9 +
+ .../cpp_uno/gcc3_linux_riscv64/call.hxx   |  35 +
+ .../source/cpp_uno/gcc3_linux_riscv64/call.s  |  72 ++
+ .../cpp_uno/gcc3_linux_riscv64/cpp2uno.cxx| 723 ++
+ .../cpp_uno/gcc3_linux_riscv64/except.cxx | 297 +++
+ .../cpp_uno/gcc3_linux_riscv64/share.hxx  |  89 +++
+ .../cpp_uno/gcc3_linux_riscv64/uno2cpp.cxx| 595 ++
+ configure.ac  |  10 +-
+ jvmfwk/inc/vendorbase.hxx |   2 +
+ solenv/gbuild/platform/LINUX_RISCV64_GCC.mk   |  15 +
+ 10 files changed, 1845 insertions(+), 2 deletions(-)
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/call.hxx
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/call.s
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/cpp2uno.cxx
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/except.cxx
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/share.hxx
+ create mode 100644 bridges/source/cpp_uno/gcc3_linux_riscv64/uno2cpp.cxx
+ create mode 100644 solenv/gbuild/platform/LINUX_RISCV64_GCC.mk
+
+diff --git a/bridges/Library_cpp_uno.mk b/bridges/Library_cpp_uno.mk
+index a76d2b8..ce27a7e 100644
+--- a/bridges/Library_cpp_uno.mk
 b/bridges/Library_cpp_uno.mk
+@@ -120,6 +120,15 @@ bridge_noopt_objects := cpp2uno uno2cpp
+ bridge_exception_objects := except
+ endif
+ 
++else ifeq ($(CPUNAME),RISCV64)
++
++ifneq ($(filter LINUX,$(OS)),)
++bridges_SELECTED_BRIDGE := gcc3_linux_riscv64
++bridge_asm_objects := call
++bridge_noopt_objects := cpp2uno uno2cpp
++bridge_exception_objects := except
++endif
++
+ else ifeq ($(CPUNAME),POWERPC)
+ 
+ ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
+diff --git a/bridges/source/cpp_uno/gcc3_linux_riscv64/call.hxx 
b/bridges/source/cpp_uno/gcc3_linux_riscv64/call.hxx
+new file mode 100644
+index 000..dc84d56
+--- /dev/null
 b/bridges/source/cpp_uno/gcc3_linux_riscv64/call.hxx
+@@ -0,0 +1,35 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
*/
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++
++#pragma once
++
++#include 
++
++#include 
++
++namespace {
++
++  extern "C" typelib_TypeClass cpp_vtable_call(
++  sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset,
++  void ** gpreg, void ** fpreg, void ** ovrflw,
++  sal_uInt64 * pRegisterReturn /* space for register return */ );
++
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/bridges/source/cpp_uno/gcc3_linux_riscv64/call.s 
b/bridges/source/cpp_uno/gcc3_linux_riscv64/call.s
+new file mode 100644
+index 000..2bddfc1
+--- /dev/null
 b/bridges/source/cpp_uno/gcc3_linux_riscv64/call.s
+@@ -0,0 +1,72 @@
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software 

[gentoo-commits] proj/riscv:master commit in: app-office/libreoffice/files/, app-office/libreoffice/

2022-10-12 Thread Yixun Lan
commit: 33edb3a6f5d753a2e84bf2e23338bc164a142b98
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep 29 01:10:15 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 12 20:55:45 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=33edb3a6

app-office/libreoffice: import from portage

copy from 4a4787e7f0c without modification

Signed-off-by: Yixun Lan  gentoo.org>

 app-office/libreoffice/Manifest|  24 +
 .../files/libreoffice-5.3.4.2-kioclient5.patch |  11 +
 .../files/libreoffice-6.1-nomancompress.patch  |  29 +
 .../files/libreoffice-7.2.0.4-qt5detect.patch  |  13 +
 .../libreoffice-7.2.6.2-poppler-22.03.0.patch  |  33 ++
 ...Add-missing-nSize-set-for-Poppler-22.04.0.patch |  31 +
 ...t-FreeBSD-patch-for-Poppler-22.04.0-build.patch |  78 +++
 .../files/libreoffice-7.3.5.2-gpgme-1.18.0.patch   |  48 ++
 .../libreoffice-7.3.5.2-poppler-22.09.0.patch  |  46 ++
 app-office/libreoffice/files/libreoffice.confd |   5 +
 app-office/libreoffice/files/libreoffice.initd |  14 +
 app-office/libreoffice/libreoffice-7.3.6.2.ebuild  | 658 +
 app-office/libreoffice/metadata.xml|  23 +
 13 files changed, 1013 insertions(+)

diff --git a/app-office/libreoffice/Manifest b/app-office/libreoffice/Manifest
new file mode 100644
index 000..e41d0f5
--- /dev/null
+++ b/app-office/libreoffice/Manifest
@@ -0,0 +1,24 @@
+DIST 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip 3519470 BLAKE2B 
ccfdf6b7f88f22d3ec7898c529c374f13059979450aabdccc9781ca91dd27d0119dfec3d33dda073c2973fa4a8aacae13924c9a67e38a1422c48bfee41b6f3e8
 SHA512 
a231eba4a1baca11766ef292ab45e302081115477fe23018652882923308856835cf8c9ecba61a5cf22543474ccef3136965d794a90c9e4e9e6dcc21f9af6e1a
+DIST 185d60944ea767075d27247c3162b3bc-unowinreg.dll 12288 BLAKE2B 
c067f60d0ee325feae4f168ad0f84602708fe724a1d9a9a054ed4991992c1d4637b31083cf569326b8aac1ec598e71ec65fb31ee16233b9c736e97ef062b47d7
 SHA512 
854b8ae29b57b40ba6bb6ff66e723a0e8dad053fcc2849f0ad763cd8a31352f4aeba9636fd4e3f0f2a0cd985a6f49b4261b9ace68d6be821ed42cfa7a73eb13c
+DIST 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip 1180582 BLAKE2B 
b2b91f608cccdc823c11ce946ecf12b8cb7b1218fa8763ed7b64cf2567114f0703b4103a4eb2369874a4006112396470d1a0a72e6f186c9fac629cbca0fe18d6
 SHA512 
9fe106bbdb55365f589246e5a0d10bbe9b35224132b66a1823dc6361633a67f2acc0e8c393dc7ed70d086858d16d242b8806b8b2184c98e3d20d0be85bed9c44
+DIST 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip 9796 BLAKE2B 
a30b0225313b23092bc57ccd989f26ea04a323dcb17a0ea8baaa6a21b5d5e2b6e29fcae9d18ecd043073030e104ad56c86a115760590f57eda86c22c9fe478b0
 SHA512 
4a48f1e32907fb2dee601cda3cd7a0d7198b2d51f2a572b647f1e93f901fd511eef3567676e52dfb1723a2cdfbc01f2015ca0bb22903b0bc1476dd618cc9aa8a
+DIST 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip 153157 BLAKE2B 
e02fced286aab6f6597b04bba37186e6f7d0793ef807c4530e15da5464e9302880278472fdc79dc27a9be15600127bebe30651a6027ef1b0a7cfc40ce56a395a
 SHA512 
a7c3044a0a7c67881f78eddc4b3faf05e29b20755a59cdbb9a0a49bd21be5aaa95d4ea5eaabdd6f005a421981fb7c55fee590d4c9592fe363ba27ae590652bd4
+DIST 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip 5750610 BLAKE2B 
b9f3ef8baa6fe11b2aef25ee6ebe36d7f4c0e688022f27c6a0186a94d909c4c2166ffe5d70644207f56971888e2478e57cd1e76a252abf3825987350c4c7de45
 SHA512 
8eaa9eed3bff16a16483d0754756c181089eb705ea34ded7f9f6db90a591cbce3f0551f28d097bd2f44de813cb818720c430e79e516939e0398b72bf4614f4cd
+DIST 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip 1521926 BLAKE2B 
d2769842c180997055648a8b1a33cc89988b74628bad8aa012242e0c1afa5b5b8568323c107187072207ee69bd841ba4ca3bbfe27ef65223ddc729d1a1aa6590
 SHA512 
ec5ae23c8fe2f5efc377f7a9665039afadf28b4d8f2791379296766a5fbc9a3bf7548f9b0e3b3b07762229ec733a92ccbb69791ee0318c9c6f78f8e847253d3f
+DIST 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip 762419 BLAKE2B 
9cbcda7d7644ede32a19b7bd5e29cae348229b9396a205809db480ed67bf12d243652d4ec3bf817f6d369e594a6d6ac3ebebfd03a80ed94f3106f78421d00077
 SHA512 
12ab17a4db3f7c834b21e59ff6f6f6456630d8626db7fb908867b20204295d4fba8969e79a3694ca66cb24e9f0e5a0fa4b9d2d3f748691b7f93985f9e666ce5f
+DIST 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip 2938721 BLAKE2B 
86cf869561f653e449611ca2f014b340d7d0cba46b7d37a9455cbbc184b6a5c7e0e26ac84909aef08ae8639a402cef3bfc93ec901de018060f16413eaff0f748
 SHA512 
17ba9d2c0376fb7326d53bb1e3796610176a1af426d1b9073b5f7cf06c93d865e585c495e75c52fb8e426d7c453e751356a9ca9a54dc821ddadb6c8160ed5ba6
+DIST a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip 23150 BLAKE2B 
51db6bd90585b13857ecb494c805c9fb6874e1e65d7aee73d23e1716670836a14b376bcca810f96fd55b0ed653b2660a268030f246c822cbb04f867ef763a3b3
 SHA512 
2d3835f7ac356805025cafedcad97faa48d0f5da386e6ac7b7451030059df8e2fdb0861ade07a576ebf9fb5b88a973585ab0437944b06aac9289d6898ba8586a
+DIST ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip 2929311 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: sys-firmware/u-boot-bin/

2022-09-28 Thread Yixun Lan
commit: 68f077522579fb6ee6a8435be3097f342c3d3544
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep 29 01:06:10 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Sep 29 01:06:10 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=68f07752

sys-firmware/u-boot-bin: version bump to rc5

Signed-off-by: Yixun Lan  gentoo.org>

 sys-firmware/u-boot-bin/Manifest| 2 +-
 .../{u-boot-bin-2022.10_rc3.ebuild => u-boot-bin-2022.10_rc5.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-firmware/u-boot-bin/Manifest b/sys-firmware/u-boot-bin/Manifest
index faaa6ae..2b43d78 100644
--- a/sys-firmware/u-boot-bin/Manifest
+++ b/sys-firmware/u-boot-bin/Manifest
@@ -1 +1 @@
-DIST u-boot-bin-2022.10_rc3.tar.xz 281172 BLAKE2B 
e59890ac85687f7b9241f04b70f8bb722dfd0c448e1a6778b4f23f0b670f92300b210e578bf9b8811712cc146b9c375b0edde19d05e44a381f9bf141d71556c1
 SHA512 
74ecfefc3c2be397bef4890a814808333e890e5eefc9666e3cc5d45832acfc1a5726e8fd352c61415e56008f25b857ba40896670882002b72e6b54cb5065a644
+DIST u-boot-bin-2022.10_rc5.tar.xz 281164 BLAKE2B 
26193f48b6913fd834677f38fde9546d0aae37818371287c336153c8831069922d21854e57024ea63dfc5d0057fedaaf0063f21b8d6c9f20661c3b333569fa6f
 SHA512 
40c951e498df5fa883d961254cf9f4ae1ffef9132c2b23aea06be8f5db5d5649ae78a81a387ffd70c79e77c206967439a7f3708dabef17ded5310b224e26273e

diff --git a/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild 
b/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc5.ebuild
similarity index 100%
rename from sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild
rename to sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc5.ebuild



[gentoo-commits] proj/riscv:master commit in: sys-firmware/u-boot-bin/

2022-09-08 Thread Yixun Lan
commit: 65d237d4c0ba087125f6a47c7a9b4e184ab4cda1
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep  8 14:06:26 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Sep  8 14:06:26 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=65d237d4

sys-firmware/u-boot-bin: initial binary release for riscv64 qemu vm

Signed-off-by: Yixun Lan  gentoo.org>

 sys-firmware/u-boot-bin/Manifest  |  1 +
 sys-firmware/u-boot-bin/metadata.xml  |  5 +
 sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild | 16 
 3 files changed, 22 insertions(+)

diff --git a/sys-firmware/u-boot-bin/Manifest b/sys-firmware/u-boot-bin/Manifest
new file mode 100644
index 000..faaa6ae
--- /dev/null
+++ b/sys-firmware/u-boot-bin/Manifest
@@ -0,0 +1 @@
+DIST u-boot-bin-2022.10_rc3.tar.xz 281172 BLAKE2B 
e59890ac85687f7b9241f04b70f8bb722dfd0c448e1a6778b4f23f0b670f92300b210e578bf9b8811712cc146b9c375b0edde19d05e44a381f9bf141d71556c1
 SHA512 
74ecfefc3c2be397bef4890a814808333e890e5eefc9666e3cc5d45832acfc1a5726e8fd352c61415e56008f25b857ba40896670882002b72e6b54cb5065a644

diff --git a/sys-firmware/u-boot-bin/metadata.xml 
b/sys-firmware/u-boot-bin/metadata.xml
new file mode 100644
index 000..115e9d6
--- /dev/null
+++ b/sys-firmware/u-boot-bin/metadata.xml
@@ -0,0 +1,5 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+

diff --git a/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild 
b/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild
new file mode 100644
index 000..1f87eeb
--- /dev/null
+++ b/sys-firmware/u-boot-bin/u-boot-bin-2022.10_rc3.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="U-boot binary firmware which can be used by qemu as bios"
+HOMEPAGE="https://www.denx.de/project/u-boot/;
+SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""



[gentoo-commits] proj/riscv:master commit in: app-emulation/kvmtool/

2022-09-05 Thread Yixun Lan
commit: 7bcdf60177d90ae6176b7ca8ebd0afc2a8ed8659
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Sep  6 02:03:55 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Sep  6 02:03:55 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7bcdf601

app-emulation/kvmtool: switch official repo

Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/kvmtool/kvmtool-.ebuild | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/app-emulation/kvmtool/kvmtool-.ebuild 
b/app-emulation/kvmtool/kvmtool-.ebuild
index b5f35de..90c16c9 100644
--- a/app-emulation/kvmtool/kvmtool-.ebuild
+++ b/app-emulation/kvmtool/kvmtool-.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git;
 inherit git-r3 linux-info
 
 DESCRIPTION="A lightweight tool for hosting KVM guests"
@@ -41,8 +42,6 @@ pkg_pretend() {
if use riscv && kernel_is lt 5 16; then
ewarn "RISC-V KVM official support landed in kernel 
5.16,"
ewarn "and requires the hypervisor extension."
-   ewarn "Try out https://github.com/kvm-riscv/linux in 
qemu"
-   ewarn "if your kernel/hardware doesn't support it"
fi
 
if ! linux_config_exists; then
@@ -53,15 +52,6 @@ pkg_pretend() {
fi
 }
 
-src_unpack() {
-   if use riscv ; then
-   EGIT_REPO_URI="https://github.com/kvm-riscv/kvmtool.git;
-   else
-   
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git;
-   fi
-   git-r3_src_unpack
-}
-
 src_prepare() {
default
sed -e 's/^CFLAGS\t:=/CFLAGS := $(CFLAGS)/' \



[gentoo-commits] proj/riscv:master commit in: www-client/firefox/

2022-08-30 Thread Yixun Lan
commit: 6dfcc6b766b3e60f8828f5fa05a54145a32421d5
Author: Alex Fan  gmail  com>
AuthorDate: Sun Aug 28 05:34:55 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug 31 02:27:56 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=6dfcc6b7

www-client/firefox: drop 98.0.2

Closes: https://github.com/gentoo/riscv/pull/8
Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 www-client/firefox/Manifest  |  198 ++---
 www-client/firefox/firefox-98.0.2.ebuild | 1258 --
 2 files changed, 99 insertions(+), 1357 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 65fce67..c8e20c7 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,99 +1,99 @@
-DIST firefox-98-patches-04j.tar.xz 17532 BLAKE2B 
da525840a0850a504d69dd8d758bd32c0146653450e5ca1023f43909fa3149424f48abfa98e8152875e44d72852a0310afbb42dc2684e3eecf666cdf6d84223d
 SHA512 
db1b352c61ac784d44e197280b33e9088286571a66df6415ba28e5c910c67853053f56cd9c27faff2de77e13939e5d3e221ec4384e34881127e43a5cc315d357
-DIST firefox-98.0.2-ach.xpi 449114 BLAKE2B 
79c1f755fe5ba6e0aabe7f79af24165ab8a589a13edecfb1addb21db318de946b11a87677ee68e3373930e3490bb77e5768d2a7dc59f362967555eea437f782d
 SHA512 
dae2b44134d7424ec55dfe3b18c68add16e67e139543055527cfacb3f9aa21ab00fe096c32131119acae0f5873408daa5b832bac2516fc4ea597a0e36745ae35
-DIST firefox-98.0.2-af.xpi 415426 BLAKE2B 
98b4d8a1fe0c10ac94792291e44a8727fb6f4ab722fa128af8d29fc2cbd8b5c9bfeae96f8f7608ed1428c90d09a72ab2a60f7d91b3e5a551d711fd2e9e3ef2b3
 SHA512 
09548a40ca600d2010ee2bc794a2db8f9a10df4a6c142e0cf01587e3d39ab9f332e6e258f91f588cd145c42c652b0c90eb421e439235490923776f5b219450d2
-DIST firefox-98.0.2-an.xpi 495404 BLAKE2B 
e7f03affb3468ad1558462f5be5e80a8a86b3fdc2cfe51ac5e2e1bb5e96c43d1615847ad87ec77e963f7e0df16785c576e2a5699c188cc9a023232190f8d75a1
 SHA512 
3ce820252b38887918bc797a031face2d19cca8ed7870ee4b3bf5ea9764e852de473ac97d2055763647ad23adc57b752c0365ef122975b9cdb008b532263d713
-DIST firefox-98.0.2-ar.xpi 564962 BLAKE2B 
a98ddeb1a47e27813d98bf1f6379d5993fb99ca87cc4edf3ceb3df9dabb8bb0ed7cc9085683f5284bac30f19e60ab8c68d768ea18d40f577cd7aa644baaf5ff6
 SHA512 
8074da6c1df49184bc6b06ab184caf31be127f43a5b7c3de5d191833f3d737a65c53317cac0d6c43a6c7074332007fa63305d6d14f52e51920792d1aacd67f52
-DIST firefox-98.0.2-ast.xpi 493534 BLAKE2B 
fcaae7f3cc0b66bad309b55bee96f60b4f59e93254cf246e1be6fd4ff4c8a879fbbcea596987a5efc89f034b2fd3aa6274d2e01222bd780c277adeecf6dfa5d4
 SHA512 
fb9fa854eab5ea44698da18fc77b75f5c781e0ac53f748416bb2f9617ebf80f00596c167cf09449e13616f1a9165781192ab0f3ad61046a409bb1b04503353d1
-DIST firefox-98.0.2-az.xpi 484500 BLAKE2B 
b4a4d3425db2900482b1fc141c248954be1e476c10720e94b9d8c401c118cdd11bc9207ea5b8ff201715539bb0f77ece424173ce95bb362e31ec7921b8646d04
 SHA512 
47cb63559055f35370b9407bd2d24e7f2351d4e40beb87d4d352f4fc93c8108f1f7a9c262b01dc2be5d603dc2f626a06581fab58c26bff85c92eaa11d6e31296
-DIST firefox-98.0.2-be.xpi 622449 BLAKE2B 
e610536b177582084c68e37c527ee005c61e326d41aa9e25b733abe1fd0d372250d7cd36bc92dc92d28efb5487a9296b9664ddb5ccc5df79f9695ebd57501849
 SHA512 
2fe3e5c2c4a7aa024746aebd8bb91e4985b55a721cf0ad2de0b62fad1c1575d549168dace6c0585757cac1cd59f31a1d452328b9e073852dc25e68a449b16240
-DIST firefox-98.0.2-bg.xpi 564861 BLAKE2B 
a2bc430e77803d9edbd1748df0e4afbb0de5e290fb9e862feb80668be8e7b69bc98deed901608847ef36537d795bd5c857b4c84b33e31dcf83268788fe23495a
 SHA512 
30af19d470a4978f72fdeb645a5b0c68e1fbe9ee70a77fd275be62eea15fec7842f2e36c9718eb3467d4c6eefd10f09e1481900157f298933263c1619dffddab
-DIST firefox-98.0.2-bn.xpi 554271 BLAKE2B 
64c79a313b69b9379f4dec13f279849f1df3efffb2d6d97d8fcef71b479f8d9c17ccf8d40b2b480d96bd0b1419b956dfc604854c6d601ec33bf9a416795f8792
 SHA512 
99827acb8457849b41313f7fb324611528f45dfe04bc08c9468c92cbfb5895665fb6a580f0b34055792c800fa8c1c4bdd29aa451db17833de2e71c7883d2f961
-DIST firefox-98.0.2-br.xpi 529022 BLAKE2B 
1202457cf966b623ba4f93e0ce9504da69147e08b3b74b552f5f6a87e0f6b6eec3413f381cb7bf4f6723d821dd24a55e91457158fbf6fed094681aa4ee9f5931
 SHA512 
143775cd7bab34bce5abc6598e5676c25a6c6b0ee7acea75978b2cdb637ce771017575101788f6876acdb9272c4de10e2bed57624570e34abefcf597562d8177
-DIST firefox-98.0.2-bs.xpi 459067 BLAKE2B 
77bb6c2916fc591ffbb27616be3a4b48386486032b65d1adf7cd907af2771f86e7a0432e6ae2341803c703dde62efef0400e201287c85aa148b89f1d2b934663
 SHA512 
b5d13abe08985f347e8cf2740099a1b9afba1b814da4e9878eec2309fcb440020ab1a2f269b7759812ef475d94bb297775ed169848ff7f893ba06300390a4ba1
-DIST firefox-98.0.2-ca-valencia.xpi 536649 BLAKE2B 
3b9e7c2319a0fdf9c56a84fa80d531eb1629c3584b1e21f93a4dfccf7c067334fe66feb44c9d4f79b877d66a6690564f01d28d8dbec844c150bab5369d9c2dba
 SHA512 
a9252eb384867b6cac5b56aa6795af5e4105c3dc1323398830f3bb8e967834d2eb24461310db9dad3def1052da253343b9cdf6d209e560b1c4d41ae56e325470
-DIST firefox-98.0.2-ca.xpi 529102 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: sys-apps/kexec-tools/files/

2022-08-21 Thread Yixun Lan
commit: 9bd3aaeeaf5a9d6f1bfb851e535c802ada2f7c83
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Aug 21 23:44:04 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Aug 21 23:45:00 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=9bd3aaee

sys-apps/kexec-tools: fix memory location issue

the initrd should be put at low address
http://lists.infradead.org/pipermail/linux-riscv/2022-August/018398.html

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch 
b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
index 1fab497..66f4bf8 100644
--- a/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
+++ b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
@@ -699,7 +699,7 @@ index 000..d05c47d
 + initrd_base + initrd_size);
 +
 +  dbgprintf("Base addr for initrd image: 0x%lX\n", initrd_base);
-+  min_usable = initrd_base;
++  max_usable = initrd_base;
 +  }
 +
 +  /* Add device tree */



[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/

2022-08-18 Thread Yixun Lan
commit: 5669bb8614bcc28fe7567b5a60fb4b91f97296ee
Author: Han Gao  gmail  com>
AuthorDate: Wed Aug 10 06:40:11 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 18 07:49:23 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5669bb86

dev-qt/qtwebengine: sync maintree

Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest|  3 +-
 .../files/qtwebengine-5.15.2-extra_gn.patch| 12 --
 ...webengine-5.15.3_p20220406-gcc12-includes.patch | 32 +++
 .../qtwebengine-5.15.3_p20220505-extra-gn.patch| 10 +
 ...gine-5.15.5_p20220618-fixup-CVE-2022-0796.patch | 48 ++
 ebuild => qtwebengine-5.15.5_p20220618.ebuild} | 22 ++
 6 files changed, 104 insertions(+), 23 deletions(-)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
index ca85627..282326e 100644
--- a/dev-qt/qtwebengine/Manifest
+++ b/dev-qt/qtwebengine/Manifest
@@ -1,5 +1,4 @@
 DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B 
aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6
 SHA512 
3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db792488098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e
 DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
-DIST qtwebengine-5.15.3-riscv-0.tar.xz 189688 BLAKE2B 
987b09aa79d1bb425e23a9d4573d46dc1f470b7abf169a446317b68b42a131fa9fb3f1839d0589858a91949759ec1909b0488deeb40863a362fd28307c7b5bb0
 SHA512 
1e6aaa13118eaba839e82482f30ba14843bcd67bc4c42a38bf09e1f89bb53175dedcf74ddbd68ea9821dc36645f23de3e63211de2a82962ae6ada49f520bc4f6
 DIST qtwebengine-5.15.3_p20220406-patchset.tar.xz 35480 BLAKE2B 
ce6aeebbb3255196611130d04ee7a3907ba45d6d2a283f2433e2176cf67e473e74137b180de0a9998762cc54439bb06825815e81e9f95f9413ce2956ac9308b7
 SHA512 
47e29a1429dce2db324929af91c8ef8421c75ae48f5a491db71b434f8017a5b1e7475e9938989e331e8e012220852848565242e09747892e1a8a8d3ab7386840
-DIST qtwebengine-5.15.3_p20220406.tar.xz 318979648 BLAKE2B 
3aba9293c52f96379cfe37c418c7a29a28e2fc0a8526d35452bef28c03b101054131d0daf75f07f058f80fbd42678b6bd24733573318169908f1d5e18d147db8
 SHA512 
80bf51b547cc8e15473652327a0cb753211911e8c98b1cb8b2cd696af923e79eccdc74aa4b68b6184c74ceb3a9bd708c7313f48eab4381ebeaac8192daa163b6
+DIST qtwebengine-5.15.5_p20220618.tar.xz 320131236 BLAKE2B 
842322c94737cdf647277ccf226c0d015ac0b362af54c4298cbad6b4494aa4ef0e73830577fb391be31c91b4331b85f407ec58641897a7cc7237e7623043577d
 SHA512 
b1bab7aa5edc7f7b9d4f8338a05dbbd55ae6e0312e1a7e6061895bd7a98c67780127c20db1dbbc81664bf483a5b8f7ed887cedd1baaa1a0259e28fd4b13d6944

diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch
deleted file mode 100644
index 0488122..000
--- a/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/core/gn_run.pro b/src/core/gn_run.pro
-index 3d6fda80e..3d0bc86fe 100644
 a/src/core/gn_run.pro
-+++ b/src/core/gn_run.pro
-@@ -38,5 +38,6 @@ build_pass|!debug_and_release {
- }
- 
-+gn_args += $$(EXTRA_GN)
- gn_args = $$system_quote($$gn_args)
- gn_src_root = 
$$system_quote($$system_path($$QTWEBENGINE_ROOT/$$getChromiumSrcDir()))
- gn_build_root = $$system_quote($$system_path($$OUT_PWD/$$getConfigDir()))
- gn_python = "--script-executable=$$pythonPathForSystem()"

diff --git 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220406-gcc12-includes.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220406-gcc12-includes.patch
new file mode 100644
index 000..cd47656
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220406-gcc12-includes.patch
@@ -0,0 +1,32 @@
+https://build.opensuse.org/package/view_file/KDE:Qt:5.15/libqt5-qtwebengine/0001-skia-Some-includes-to-fix-build-with-GCC-12.patch?expand=1
+https://bugs.gentoo.org/840326
+
+From 68799a1e0815b20ca59ce354a55280399257a201 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt 
+Date: Fri, 25 Mar 2022 15:29:28 +0100
+Subject: [PATCH] skia: Some includes to fix build with GCC 12
+
+Those includes got introduced upstream for other reasons and fixed building
+with GCC 12 as a side effect.
+--- a/src/3rdparty/chromium/third_party/skia/include/core/SkColor.h
 b/src/3rdparty/chromium/third_party/skia/include/core/SkColor.h
+@@ -12,6 +12,8 @@
+ #include "include/core/SkScalar.h"
+ #include "include/core/SkTypes.h"
+ 
++#include 
++
+ /** \file SkColor.h
+ 
+ Types, consts, functions, and macros for colors.
+--- 

[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/

2022-08-18 Thread Yixun Lan
commit: ee1fce21c9395edf6cbbf8b0a8afab36c15f816d
Author: Han Gao  gmail  com>
AuthorDate: Wed Aug 10 06:42:39 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 18 07:49:31 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=ee1fce21

dev-qt/qtwebengine: add riscv support

Closes: https://github.com/gentoo/riscv/pull/7
Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest| 1 +
 dev-qt/qtwebengine/qtwebengine-5.15.5_p20220618.ebuild | 9 ++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
index 282326e..b74ebef 100644
--- a/dev-qt/qtwebengine/Manifest
+++ b/dev-qt/qtwebengine/Manifest
@@ -1,4 +1,5 @@
 DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B 
aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6
 SHA512 
3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db792488098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e
 DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
+DIST qtwebengine-5.15.3-riscv-0.tar.xz 189688 BLAKE2B 
987b09aa79d1bb425e23a9d4573d46dc1f470b7abf169a446317b68b42a131fa9fb3f1839d0589858a91949759ec1909b0488deeb40863a362fd28307c7b5bb0
 SHA512 
1e6aaa13118eaba839e82482f30ba14843bcd67bc4c42a38bf09e1f89bb53175dedcf74ddbd68ea9821dc36645f23de3e63211de2a82962ae6ada49f520bc4f6
 DIST qtwebengine-5.15.3_p20220406-patchset.tar.xz 35480 BLAKE2B 
ce6aeebbb3255196611130d04ee7a3907ba45d6d2a283f2433e2176cf67e473e74137b180de0a9998762cc54439bb06825815e81e9f95f9413ce2956ac9308b7
 SHA512 
47e29a1429dce2db324929af91c8ef8421c75ae48f5a491db71b434f8017a5b1e7475e9938989e331e8e012220852848565242e09747892e1a8a8d3ab7386840
 DIST qtwebengine-5.15.5_p20220618.tar.xz 320131236 BLAKE2B 
842322c94737cdf647277ccf226c0d015ac0b362af54c4298cbad6b4494aa4ef0e73830577fb391be31c91b4331b85f407ec58641897a7cc7237e7623043577d
 SHA512 
b1bab7aa5edc7f7b9d4f8338a05dbbd55ae6e0312e1a7e6061895bd7a98c67780127c20db1dbbc81664bf483a5b8f7ed887cedd1baaa1a0259e28fd4b13d6944

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.5_p20220618.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.5_p20220618.ebuild
index b1d2486..240159b 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.5_p20220618.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.5_p20220618.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="Library for rendering dynamic web content in Qt5 
C++ and QML applic
 HOMEPAGE="https://www.qt.io/;
 
 if [[ ${QT5_BUILD_TYPE} == release ]]; then
-   KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
if [[ ${PV} == ${QT5_PV}_p* ]]; then
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz;
S="${WORKDIR}/${P}"
@@ -29,7 +29,8 @@ fi
 # ppc64 patchset based on https://github.com/chromium-ppc64le releases
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.15.2_p20211019-jumbo-build.patch.bz2

https://dev.gentoo.org/~asturm/distfiles/${PN}-5.15.3_p20220406-patchset.tar.xz
-   ppc64? ( 
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz
 )"
+   ppc64? ( 
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz
 )
+   riscv? ( 
https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-5.15.3-riscv-0.tar.xz
 )"
 
 IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio 
screencast +system-ffmpeg +system-icu widgets"
 REQUIRED_USE="designer? ( widgets )"
@@ -113,6 +114,8 @@ PATCHES=(
"${WORKDIR}/${PN}-5.15.2_p20211019-jumbo-build.patch" # bug 813957
"${WORKDIR}/${PN}-5.15.3_p20220406-patchset" # bug 698988 (py2--), 
pipewire-3
"${FILESDIR}/${P}-fixup-CVE-2022-0796.patch" # bug 853097
+   "${WORKDIR}/${PN}-5.15.3-riscv-general.patch"
+   "${WORKDIR}/${PN}-5.15.3-riscv-v8.patch"
 )
 
 qtwebengine_check-reqs() {
@@ -132,7 +135,7 @@ qtwebengine_check-reqs() {
# Estimate the amount of RAM required
# Multiplier is *10 because Bash doesn't do floating point maths.
# Let's crudely assume ~2GB per compiler job for GCC.
-   local multiplier=20
+   local multiplier=8
 
# And call it ~1.5GB for Clang.
if tc-is-clang ; then



[gentoo-commits] proj/riscv:master commit in: licenses/

2022-07-10 Thread Yixun Lan
commit: c7210fe40d338ff7f8f0c8d25b8ce45779040e35
Author: Alex Fan  gmail  com>
AuthorDate: Sun Jul 10 10:37:59 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Jul 10 11:36:00 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c7210fe4

licenses: add MulanPSL-2.0

Closes: https://github.com/gentoo/riscv/pull/6
Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 licenses/MulanPSL-2.0 | 125 ++
 1 file changed, 125 insertions(+)

diff --git a/licenses/MulanPSL-2.0 b/licenses/MulanPSL-2.0
new file mode 100644
index 000..0d8d380
--- /dev/null
+++ b/licenses/MulanPSL-2.0
@@ -0,0 +1,125 @@
+木兰宽松许可证, 第2版
+木兰宽松许可证, 第2版
+
+2020年1月 http://license.coscl.org.cn/MulanPSL2
+
+您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
+
+0.   定义
+
+“软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
+
+“贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
+
+“贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
+
+“法人实体” 是指提交贡献的机构及其“关联实体”。
+
+“关联实体” 
是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
+
+1.   授予版权许可
+
+每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可以复制、使用、修改、分发其“贡献”,不论修改与否。
+
+2.   授予专利许可
+
+每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权行动之日终止。
+
+3.   无商标许可
+
+“本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定的声明义务而必须使用除外。
+
+4.   分发限制
+
+您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
+
+5.   免责声明与责任限制
+
+“软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于何种法律理论,即使其曾被建议有此种损失的可能性。
+
+6.   语言
+
+“本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文版为准。
+
+条款结束
+
+如何将木兰宽松许可证,第2版,应用到您的软件
+
+如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
+
+1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
+
+2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
+
+3, 请将如下声明文本放入每个源文件的头部注释中。
+
+Copyright (c) [Year] [name of copyright holder]
+[Software Name] is licensed under Mulan PSL v2.
+You can use this software according to the terms and conditions of the Mulan 
PSL v2.
+You may obtain a copy of Mulan PSL v2 at:
+ http://license.coscl.org.cn/MulanPSL2
+THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
+MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
+See the Mulan PSL v2 for more details.
+Mulan Permissive Software License,Version 2
+Mulan Permissive Software License,Version 2 (Mulan PSL v2)
+
+January 2020 http://license.coscl.org.cn/MulanPSL2
+
+Your reproduction, use, modification and distribution of the Software shall be 
subject to Mulan PSL v2 (this License) with the following terms and conditions:
+
+0. Definition
+
+Software means the program and related documents which are licensed under this 
License and comprise all Contribution(s).
+
+Contribution means the copyrightable work licensed by a particular Contributor 
under this License.
+
+Contributor means the Individual or Legal Entity who licenses its 
copyrightable work under this License.
+
+Legal Entity means the entity making a Contribution and all its Affiliates.
+
+Affiliates means entities that control, are controlled by, or are under common 
control with the acting entity under this License, ‘control’ means direct or 
indirect ownership of at least fifty percent (50%) of the voting power, capital 
or other securities of controlled or commonly controlled entity.
+
+1. Grant of Copyright License
+
+Subject to the terms and conditions of this License, each Contributor hereby 
grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable 
copyright license to reproduce, use, modify, or distribute its Contribution, 
with modification or not.
+
+2. Grant of Patent License
+
+Subject to the terms and conditions of this License, each Contributor hereby 
grants to you a perpetual, worldwide, royalty-free, non-exclusive, irrevocable 
(except for revocation under this Section) patent license to make, have made, 
use, offer for sale, sell, import or otherwise transfer its Contribution, where 
such patent license is only limited to the patent claims owned or controlled by 
such Contributor now or in future which will be necessarily infringed by its 
Contribution alone, or by combination of the Contribution with the Software to 
which the Contribution was contributed. The patent license shall not apply to 
any modification of the Contribution, and any other combination which includes 
the Contribution. If you or your Affiliates directly or indirectly institute 
patent litigation (including a cross claim or counterclaim in a litigation) or 
other patent enforcement activities against any individual or entity by 
alleging that the 

[gentoo-commits] proj/riscv:master commit in: profiles/, app-emulation/nemu-xiangshan/

2022-07-09 Thread Yixun Lan
commit: 48c29e11f606cda2bbaafdfe6a6d69ff4f5a1a47
Author: Alex Fan  gmail  com>
AuthorDate: Wed Jul  6 11:44:20 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  9 09:49:19 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=48c29e11

app-emulation/nemu-xiangshan: correct LICENSE to MulanPSL-2.0

Closes: https://github.com/gentoo/riscv/pull/5
Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild | 3 +--
 profiles/license_groups | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild 
b/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild
index fb8c93e..576c0d3 100644
--- a/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild
+++ b/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild
@@ -35,8 +35,7 @@ inherit savedconfig readme.gentoo-r1
 DESCRIPTION="NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator 
for teaching"
 HOMEPAGE="https://github.com/OpenXiangShan/NEMU;
 
-# no license specified in upstream
-LICENSE="GPL-2"
+LICENSE="MulanPSL-2.0"
 SLOT="0"
 IUSE="savedconfig"
 

diff --git a/profiles/license_groups b/profiles/license_groups
new file mode 100644
index 000..f93aecc
--- /dev/null
+++ b/profiles/license_groups
@@ -0,0 +1 @@
+OSI-APPROVED MulanPSL-2.0



[gentoo-commits] proj/riscv:master commit in: app-emulation/nemu-xiangshan/, app-emulation/nemu-xiangshan/files/

2022-07-09 Thread Yixun Lan
commit: 7a3751af7b4c0043ad4e5ef675d5e72c00217d59
Author: Alex Fan  gmail  com>
AuthorDate: Thu Jun  9 13:54:47 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  9 09:49:01 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7a3751af

app-emulation/nemu-xiangshan: initial import

scripts/gcpt_restore requires cross-compilation, not built
by ebuild for now

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 .../files/nemu-xiangshan-add-syncconfig.patch  |  14 +++
 .../nemu-xiangshan-disable-git-tracking.patch  |  13 +++
 app-emulation/nemu-xiangshan/metadata.xml  |   8 ++
 .../nemu-xiangshan/nemu-xiangshan-.ebuild  | 124 +
 4 files changed, 159 insertions(+)

diff --git 
a/app-emulation/nemu-xiangshan/files/nemu-xiangshan-add-syncconfig.patch 
b/app-emulation/nemu-xiangshan/files/nemu-xiangshan-add-syncconfig.patch
new file mode 100644
index 000..537c3de
--- /dev/null
+++ b/app-emulation/nemu-xiangshan/files/nemu-xiangshan-add-syncconfig.patch
@@ -0,0 +1,14 @@
+diff --git a/scripts/config.mk b/scripts/config.mk
+index 7b85f49..f8d994e 100644
+--- a/scripts/config.mk
 b/scripts/config.mk
+@@ -26,6 +26,9 @@ $(MCONF):
+ $(FIXDEP):
+   $(Q)$(MAKE) $(silent) -C $(FIXDEP_PATH)
+ 
++syncconfig: $(CONF) $(FIXDEP)
++  $(Q)$(CONF) $(silent) --syncconfig $(Kconfig)
++
+ menuconfig: $(MCONF) $(CONF) $(FIXDEP)
+   $(Q)$(MCONF) $(Kconfig)
+   $(Q)$(CONF) $(silent) --syncconfig $(Kconfig)

diff --git 
a/app-emulation/nemu-xiangshan/files/nemu-xiangshan-disable-git-tracking.patch 
b/app-emulation/nemu-xiangshan/files/nemu-xiangshan-disable-git-tracking.patch
new file mode 100644
index 000..80ff5c5
--- /dev/null
+++ 
b/app-emulation/nemu-xiangshan/files/nemu-xiangshan-disable-git-tracking.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/git.mk b/scripts/git.mk
+index 5400e61..8e0a353 100644
+--- a/scripts/git.mk
 b/scripts/git.mk
+@@ -7,8 +7,4 @@ GITFLAGS = -q --author='tracer-ics2021 ' 
--no-verify --allow-
+ 
+ # prototype: git_commit(msg)
+ define git_commit
+-  -@git add $(NEMU_HOME)/.. -A --ignore-errors
+-  -@while (test -e .git/index.lock); do sleep 0.1; done
+-  -@(echo "> $(1)" && echo $(STUID) && hostnamectl && uptime) | git 
commit -F - $(GITFLAGS)
+-  -@sync
+ endef

diff --git a/app-emulation/nemu-xiangshan/metadata.xml 
b/app-emulation/nemu-xiangshan/metadata.xml
new file mode 100644
index 000..decc6f6
--- /dev/null
+++ b/app-emulation/nemu-xiangshan/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+  
+OpenXiangShan/NEMU
+  
+

diff --git a/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild 
b/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild
new file mode 100644
index 000..fb8c93e
--- /dev/null
+++ b/app-emulation/nemu-xiangshan/nemu-xiangshan-.ebuild
@@ -0,0 +1,124 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISABLE_AUTOFORMATTING="true"
+DOC_CONTENTS='
+   nemu-xiangshan mini config HOWTO
+
+Note: nemu-xiangshan is configurable via mconf, like the linux kernel.
+Without user config, this ebuild will target minimum riscv64
+You are encouraged to configure it on your own. Here are a couple of ways:
+
+1) USE="-savedconfig" and set/unset the remaining flags to obtain the features
+you want, and possibly a lot more.
+
+2) You can create your own configuration file by doing:
+
+FEATURES="keepwork" USE="savedconfig -*" emerge nemu-xiangshan
+cd /var/tmp/portage/app-emulation/nemu-xiangshan*/work/nemu-xiangshan*
+make menuconfig
+
+Now configure nemu-xiangshan as you want.  Finally save your config file:
+
+cp config/.config /etc/portage/savedconfig/app-emulation/nemu-xiangshan-${PV}
+
+where ${PV} is the current version.  You can then run emerge again with
+your configuration by doing:
+
+USE="savedconfig" emerge nemu-xiangshan
+'
+
+inherit savedconfig readme.gentoo-r1
+
+DESCRIPTION="NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator 
for teaching"
+HOMEPAGE="https://github.com/OpenXiangShan/NEMU;
+
+# no license specified in upstream
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="savedconfig"
+
+EGIT_REPO_URI="https://github.com/OpenXiangShan/NEMU.git;
+EGIT_SUBMODULES=(
+   ready-to-run
+)
+inherit git-r3
+
+DEPEND="
+   sys-apps/dtc
+   media-libs/libsdl2
+   sys-libs/zlib
+   sys-libs/readline:=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-disable-git-tracking.patch
+   "${FILESDIR}"/${PN}-add-syncconfig.patch
+)
+
+QA_PREBUILT="
+   usr/share/${PN}/ready-to-run/coremark-2-iteration.bin
+   usr/share/${PN}/ready-to-run/linux.bin
+   usr/share/${PN}/ready-to-run/riscv64-nemu-interpreter-dual-so
+   usr/share/${PN}/ready-to-run/linux-0xa.bin
+   usr/share/${PN}/ready-to-run/microbench.bin
+   

[gentoo-commits] proj/riscv:master commit in: app-emulation/nemu-xiangshan/

2022-07-09 Thread Yixun Lan
commit: f39f53ea3c80d3dc59839cedb6c9258562e3e024
Author: Alex Fan  gmail  com>
AuthorDate: Thu Jun  9 14:03:19 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  9 09:49:01 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f39f53ea

app-emulation/nemu-xiangshan: add myself as a maintainer

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/nemu-xiangshan/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-emulation/nemu-xiangshan/metadata.xml 
b/app-emulation/nemu-xiangshan/metadata.xml
index decc6f6..30de2ed 100644
--- a/app-emulation/nemu-xiangshan/metadata.xml
+++ b/app-emulation/nemu-xiangshan/metadata.xml
@@ -1,7 +1,14 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+  
+alex.fa...@gmail.com
+Alex Fan
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 OpenXiangShan/NEMU
   



[gentoo-commits] proj/riscv:master commit in: sys-apps/kexec-tools/, sys-apps/kexec-tools/files/

2022-07-02 Thread Yixun Lan
commit: 31108ac2c9aa23918f46ff3f56e3084d0bb725f2
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Jul  2 09:35:25 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  2 09:36:03 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=31108ac2

sys-apps/kexec-tools: add riscv support

Signed-off-by: Yixun Lan  gentoo.org>

 .../files/kexec-tools-2.0.24-riscv.patch   | 1513 
 sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild |9 +-
 2 files changed, 1516 insertions(+), 6 deletions(-)

diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch 
b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
new file mode 100644
index 000..1fab497
--- /dev/null
+++ b/sys-apps/kexec-tools/files/kexec-tools-2.0.24-riscv.patch
@@ -0,0 +1,1513 @@
+From 6975082921e577ed5034e56010d2b433aeaf6907 Mon Sep 17 00:00:00 2001
+From: Nick Kossifidis 
+Date: Tue, 5 Oct 2021 15:01:19 +0300
+Subject: [PATCH] RISC-V: Add support for riscv kexec/kdump on kexec-tools
+
+This patch adds support for loading the ELF kernel image. It parses
+the current/provided device tree to determine the system's memory
+layout, and /proc/iomem for the various kernel segments.
+
+Tested on Qemu's rv64 virt machine.
+
+Signed-off-by: Nick Kossifidis 
+---
+ configure.ac|   3 +
+ include/elf.h   |   3 +-
+ kexec/Makefile  |   1 +
+ kexec/arch/riscv/Makefile   |  35 ++
+ kexec/arch/riscv/crashdump-riscv.c  | 140 
+ kexec/arch/riscv/include/arch/options.h |  43 +++
+ kexec/arch/riscv/kexec-elf-riscv.c  | 255 ++
+ kexec/arch/riscv/kexec-riscv.c  | 364 +++
+ kexec/arch/riscv/kexec-riscv.h  |  32 ++
+ kexec/dt-ops.c  | 442 +++-
+ kexec/dt-ops.h  |   7 +
+ kexec/kexec-syscall.h   |   4 +
+ purgatory/Makefile  |   1 +
+ purgatory/arch/riscv/Makefile   |   7 +
+ 14 files changed, 1335 insertions(+), 2 deletions(-)
+ create mode 100644 kexec/arch/riscv/Makefile
+ create mode 100644 kexec/arch/riscv/crashdump-riscv.c
+ create mode 100644 kexec/arch/riscv/include/arch/options.h
+ create mode 100644 kexec/arch/riscv/kexec-elf-riscv.c
+ create mode 100644 kexec/arch/riscv/kexec-riscv.c
+ create mode 100644 kexec/arch/riscv/kexec-riscv.h
+ create mode 100644 purgatory/arch/riscv/Makefile
+
+diff --git a/configure.ac b/configure.ac
+index cf8e8a2..d21552c 100644
+--- a/configure.ac
 b/configure.ac
+@@ -58,6 +58,9 @@ case $target_cpu in
+   hppa*)
+   ARCH="hppa"
+   ;;
++  riscv32|riscv64 )
++  ARCH="riscv"
++  ;;
+   * )
+   AC_MSG_ERROR([unsupported architecture $target_cpu])
+   ;;
+diff --git a/include/elf.h b/include/elf.h
+index b7677a2..123f167 100644
+--- a/include/elf.h
 b/include/elf.h
+@@ -259,7 +259,8 @@ typedef struct
+ #define EM_ARC_A5 93  /* ARC Cores Tangent-A5 */
+ #define EM_XTENSA 94  /* Tensilica Xtensa Architecture */
+ #define EM_AARCH64183 /* ARM AARCH64 */
+-#define EM_NUM184
++#define EM_RISCV  243 /* RISC-V */
++#define EM_NUM244
+ 
+ /* If it is necessary to assign new unofficial EM_* values, please
+pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the
+diff --git a/kexec/Makefile b/kexec/Makefile
+index e69e309..ca17831 100644
+--- a/kexec/Makefile
 b/kexec/Makefile
+@@ -88,6 +88,7 @@ include $(srcdir)/kexec/arch/mips/Makefile
+ include $(srcdir)/kexec/arch/cris/Makefile
+ include $(srcdir)/kexec/arch/ppc/Makefile
+ include $(srcdir)/kexec/arch/ppc64/Makefile
++include $(srcdir)/kexec/arch/riscv/Makefile
+ include $(srcdir)/kexec/arch/s390/Makefile
+ include $(srcdir)/kexec/arch/sh/Makefile
+ include $(srcdir)/kexec/arch/x86_64/Makefile
+diff --git a/kexec/arch/riscv/Makefile b/kexec/arch/riscv/Makefile
+new file mode 100644
+index 000..f26cc90
+--- /dev/null
 b/kexec/arch/riscv/Makefile
+@@ -0,0 +1,35 @@
++#
++# kexec riscv
++#
++riscv_KEXEC_SRCS =  kexec/arch/riscv/kexec-riscv.c
++riscv_KEXEC_SRCS += kexec/arch/riscv/kexec-elf-riscv.c
++riscv_KEXEC_SRCS += kexec/arch/riscv/crashdump-riscv.c
++
++riscv_MEM_REGIONS = kexec/mem_regions.c
++
++riscv_DT_OPS += kexec/dt-ops.c
++
++riscv_ARCH_REUSE_INITRD =
++
++riscv_CPPFLAGS += -I $(srcdir)/kexec/
++
++dist += kexec/arch/riscv/Makefile $(riscv_KEXEC_SRCS) \
++  kexec/arch/riscv/kexec-riscv.h  \
++  kexec/arch/riscv/include/arch/options.h
++
++ifdef HAVE_LIBFDT
++
++LIBS += -lfdt
++
++else
++
++include $(srcdir)/kexec/libfdt/Makefile.libfdt
++
++libfdt_SRCS += $(LIBFDT_SRCS:%=kexec/libfdt/%)
++
++riscv_CPPFLAGS += -I$(srcdir)/kexec/libfdt
++
++riscv_KEXEC_SRCS += $(libfdt_SRCS)
++

[gentoo-commits] proj/riscv:master commit in: sys-apps/kexec-tools/, sys-apps/kexec-tools/files/

2022-07-02 Thread Yixun Lan
commit: dd7015229da7ba9823e0d446231d6bd4c819c396
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Jul  2 09:34:07 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  2 09:34:20 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=dd701522

sys-apps/kexec-tools: import original 2.0.24 from official tree

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/kexec-tools/Manifest  |   1 +
 sys-apps/kexec-tools/files/90_kexec|   9 +
 sys-apps/kexec-tools/files/README.Gentoo   |  33 
 sys-apps/kexec-tools/files/kexec-r2.init   | 200 +
 .../kexec-tools-2.0.4-disable-kexec-test.patch |  17 ++
 .../files/kexec-tools-2.0.4-out-of-source.patch|  24 +++
 sys-apps/kexec-tools/files/kexec.conf  |  16 ++
 sys-apps/kexec-tools/files/kexec.conf-2.0.4|  34 
 sys-apps/kexec-tools/files/kexec.service   |  16 ++
 sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild | 124 +
 sys-apps/kexec-tools/metadata.xml  |  13 ++
 11 files changed, 487 insertions(+)

diff --git a/sys-apps/kexec-tools/Manifest b/sys-apps/kexec-tools/Manifest
new file mode 100644
index 000..d6b3aa3
--- /dev/null
+++ b/sys-apps/kexec-tools/Manifest
@@ -0,0 +1 @@
+DIST kexec-tools-2.0.24.tar.xz 303808 BLAKE2B 
8188602f1b843c1dccc0307131f8c9ec0426c6cb3de898040352c1fed5f6d4bd7c58a0c2bf54290b91c8fe3401180df682959ee6c41693d07acc199c087c7db2
 SHA512 
ef7cf78246e2d729d81a3649791a5a23c385353cc75cbe8ef279616329fdaccc876d614c7f51e1456822a13a11520296070d9897467d24310399909e049c3822

diff --git a/sys-apps/kexec-tools/files/90_kexec 
b/sys-apps/kexec-tools/files/90_kexec
new file mode 100644
index 000..40bad42
--- /dev/null
+++ b/sys-apps/kexec-tools/files/90_kexec
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+version="$1" ; shift
+image="$1" ; shift
+
+exec sed \
+   -e "s:\"vmlinuz-.*\":\"vmlinuz-${version}\":" \
+   -e "s:/boot/initramfs-.*\.img:/boot/initramfs-${version}\.img:" \
+   -i /etc/kexec.conf

diff --git a/sys-apps/kexec-tools/files/README.Gentoo 
b/sys-apps/kexec-tools/files/README.Gentoo
new file mode 100644
index 000..7735e32
--- /dev/null
+++ b/sys-apps/kexec-tools/files/README.Gentoo
@@ -0,0 +1,33 @@
+Usage
+=
+
+Do
+ $ man 8 kexec
+for full understanding of the underlying kexec command.
+Gentoo offers a wrapper to the bare kexec command through
+/etc/init.d/kexec.
+
+Configuration
+-
+
+Configuration is done in /etc/conf.d/kexec, which is self-documented.
+
+Usage
+-
+
+In Gentoo, kexec is invoked, i.e., the new kernel will be booted when
+rebooting, by reboot (8) command or by pressing Ctrl+Alt+Del.
+
+If you want to use kexec once, just run
+ $ /etc/init.d/kexec start
+
+It'll reserve kexec call at reboot. Later on, you can reboot anytime,
+letting kexec starts another (or the same) kernel. When all is done in
+the runlevel 6 - killing processes, unmounting volumes, etc - kexec
+starts the new kernel instead of doing the normal hardware reboot.
+
+If you want kexec to be run every time you reboot, add it to a runlevel:
+ $ rc-update add kexec 
+
+If you want to reboot in the normal way this time, do:
+ $ touch /nokexec

diff --git a/sys-apps/kexec-tools/files/kexec-r2.init 
b/sys-apps/kexec-tools/files/kexec-r2.init
new file mode 100644
index 000..0578f51
--- /dev/null
+++ b/sys-apps/kexec-tools/files/kexec-r2.init
@@ -0,0 +1,200 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Set up some defaults.
+: "${LOAD_DURING_SHUTDOWN:=yes}"
+: "${BOOTPART:=/boot}"
+: "${DONT_MOUNT_BOOT:=no}"
+
+depend() {
+   need localmount
+}
+
+auto_prefix_bootpath() {
+   # Only auto-add prefix to relative paths.
+   case $1 in
+   */*) echo "$1";;
+   *)   echo "${BOOTPART}/$1" ;;
+   esac
+}
+
+get_genkernel_arch() {
+   case $1 in
+   x86_64) echo "amd64" ;;
+   i[3456]86) echo "x86" ;;
+   *) echo "$1" ;;
+   esac
+}
+
+image_path() {
+   # Do no sanity checking if the user has set a value.
+   if [ -n "${KNAME}" ]; then
+   auto_prefix_bootpath "${KNAME}"
+   return
+   fi
+
+   local x kver="$(uname -r)" karch="$(uname -m)"
+   local gkarch="$(get_genkernel_arch $karch)"
+   for x in \
+   "bzImage" \
+   "vmlinux" \
+   "vmlinuz" \
+   "kernel" \
+   "bzImage-${kver}" \
+   "vmlinux-${kver}" \
+   "vmlinuz-${kver}" \
+   "kernel-genkernel-${karch}-${kver}" \
+   "kernel-genkernel-${gkarch}-${kver}" \
+   "kernel-${kver}" \
+   "kernel-${karch}"; do
+   if [ -e "${BOOTPART}/${x}" ]; then
+   echo "${BOOTPART}/${x}"
+   return
+   fi
+   done
+

[gentoo-commits] proj/riscv:master commit in: sys-apps/kexec-tools/

2022-07-02 Thread Yixun Lan
commit: f3278d7aa754f3e32444e815e62db6b047ab3af8
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Jul  2 11:43:50 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jul  2 11:44:04 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f3278d7a

sys-apps/kexec-tools: keyword 2.0.24 for ~riscv

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild 
b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
index 7251c1b..264a5b8 100644
--- a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
 else

SRC_URI="https://www.kernel.org/pub/linux/utils/kernel/kexec/${P/_/-}.tar.xz;
[[ "${PV}" == *_rc* ]] || \
-   KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 fi
 
 DESCRIPTION="Load another kernel from the currently executing Linux kernel"



[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/

2022-04-26 Thread Yixun Lan
commit: 5bc5d928ca9cc648700aa5f6546638195d162983
Author: Han Gao  gmail  com>
AuthorDate: Mon Apr 25 21:02:23 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 26 06:56:11 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5bc5d928

dev-qt/qtwebengine: add riscv patch

Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
index 2cc0403..802ae75 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220406.ebuild
@@ -29,6 +29,7 @@ fi
 # ppc64 patchset based on https://github.com/chromium-ppc64le releases
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.15.2_p20211019-jumbo-build.patch.bz2

https://dev.gentoo.org/~asturm/distfiles/${PN}-5.15.3_p20220406-patchset.tar.xz
+   riscv? ( 
https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-5.15.3-riscv-0.tar.xz
 )
ppc64? ( 
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz
 )"
 
 IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio 
screencast +system-ffmpeg +system-icu widgets"
@@ -111,6 +112,8 @@ PATCHES=(
"${FILESDIR}/${PN}-5.15.3_p20220329-clang14.patch" # by FreeBSD, bug 
836604
"${WORKDIR}/${PN}-5.15.2_p20211019-jumbo-build.patch" # bug 813957
"${WORKDIR}/${PN}-5.15.3_p20220406-patchset" # bug 698988 (py2--), 
pipewire-3
+   "${WORKDIR}/${PN}-5.15.3-riscv-general.patch"
+   "${WORKDIR}/${PN}-5.15.3-riscv-v8.patch"
 )
 
 qtwebengine_check-reqs() {
@@ -130,7 +133,7 @@ qtwebengine_check-reqs() {
# Estimate the amount of RAM required
# Multiplier is *10 because Bash doesn't do floating point maths.
# Let's crudely assume ~2GB per compiler job for GCC.
-   local multiplier=20
+   local multiplier=8
 
# And call it ~1.5GB for Clang.
if tc-is-clang ; then



[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/files/, dev-qt/qtwebengine/

2022-04-26 Thread Yixun Lan
commit: 74c82e6fb38650a3ef7c533a7668a31a71d39c23
Author: Han Gao  gmail  com>
AuthorDate: Mon Apr 25 21:04:57 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 26 06:56:22 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=74c82e6f

dev-qt/qtwebengine: drop old version

Closes: https://github.com/gentoo/riscv/pull/4
Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest|   1 -
 ...ngine-5.15.2_p20211210-sandbox-glibc-2.34.patch |  27 ---
 .../qtwebengine-5.15.3_p20220310.ebuild| 268 -
 3 files changed, 296 deletions(-)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
index dc9b5d7..ca85627 100644
--- a/dev-qt/qtwebengine/Manifest
+++ b/dev-qt/qtwebengine/Manifest
@@ -1,6 +1,5 @@
 DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B 
aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6
 SHA512 
3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db792488098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e
 DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
 DIST qtwebengine-5.15.3-riscv-0.tar.xz 189688 BLAKE2B 
987b09aa79d1bb425e23a9d4573d46dc1f470b7abf169a446317b68b42a131fa9fb3f1839d0589858a91949759ec1909b0488deeb40863a362fd28307c7b5bb0
 SHA512 
1e6aaa13118eaba839e82482f30ba14843bcd67bc4c42a38bf09e1f89bb53175dedcf74ddbd68ea9821dc36645f23de3e63211de2a82962ae6ada49f520bc4f6
-DIST qtwebengine-5.15.3_p20220310.tar.xz 319290976 BLAKE2B 
0a0e74e7d94e59d81687ceb4d791034d43daaeef887894acedc2d2568a8c74e4b7303440518d377c16de21a546e2609fdd89ab64c0664c230df4657cec9d399c
 SHA512 
e57c7c51d0f27d116d2dc80043cb563a1dbce2357221ba87ae3c3b0e8c781e3ef09f69b8f6f20fcb7d85d596ae312b2f85ebc35ba7ee283ab30caa8f796fe2d6
 DIST qtwebengine-5.15.3_p20220406-patchset.tar.xz 35480 BLAKE2B 
ce6aeebbb3255196611130d04ee7a3907ba45d6d2a283f2433e2176cf67e473e74137b180de0a9998762cc54439bb06825815e81e9f95f9413ce2956ac9308b7
 SHA512 
47e29a1429dce2db324929af91c8ef8421c75ae48f5a491db71b434f8017a5b1e7475e9938989e331e8e012220852848565242e09747892e1a8a8d3ab7386840
 DIST qtwebengine-5.15.3_p20220406.tar.xz 318979648 BLAKE2B 
3aba9293c52f96379cfe37c418c7a29a28e2fc0a8526d35452bef28c03b101054131d0daf75f07f058f80fbd42678b6bd24733573318169908f1d5e18d147db8
 SHA512 
80bf51b547cc8e15473652327a0cb753211911e8c98b1cb8b2cd696af923e79eccdc74aa4b68b6184c74ceb3a9bd708c7313f48eab4381ebeaac8192daa163b6

diff --git 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20211210-sandbox-glibc-2.34.patch
 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20211210-sandbox-glibc-2.34.patch
deleted file mode 100644
index aac512a..000
--- 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.2_p20211210-sandbox-glibc-2.34.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Patch taken from www-client/chromium:
-https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-glibc-2.34.patch
-
-Dropped parts already upstream.
-
-diff --git a/src/3rdparty/chromium/sandbox/linux/services/credentials.cc 
b/src/3rdparty/chromium/sandbox/linux/services/credentials.cc
-index ca6b595..1c1ee42 100644
 a/src/3rdparty/chromium/sandbox/linux/services/credentials.cc
-+++ b/src/3rdparty/chromium/sandbox/linux/services/credentials.cc
-@@ -11,6 +11,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -100,7 +101,8 @@ bool ChrootToSafeEmptyDir() {
-   // TODO(crbug.com/1247458) Broken in MSan builds after LLVM f1bb30a4956f.
-   clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
- 
--  char tls_buf[PTHREAD_STACK_MIN] = {0};
-+  char tls_buf[PTHREAD_STACK_MIN];
-+  memset(tls_buf, 0, PTHREAD_STACK_MIN);
-   tls = tls_buf;
- #endif
- 

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild
deleted file mode 100644
index 507c247..000
--- a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild
+++ /dev/null
@@ -1,268 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="xml(+)"
-inherit check-reqs estack flag-o-matic multiprocessing python-any-r1 qt5-build 
toolchain-funcs
-
-DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML 
applications"
-HOMEPAGE="https://www.qt.io/;
-
-if [[ ${QT5_BUILD_TYPE} == release ]]; then
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-   if [[ ${PV} == ${QT5_PV}_p* ]]; then
-   SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz;

[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/

2022-04-26 Thread Yixun Lan
commit: 29caf025e40ccc3e701974a4785e0fe353af9ea6
Author: Han Gao  gmail  com>
AuthorDate: Mon Apr 25 16:10:44 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 26 06:56:11 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=29caf025

dev-qt/qtwebengine: sync gentoo main tree

Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest|   2 +
 .../qtwebengine-5.15.3_p20220329-clang14.patch |  42 
 .../qtwebengine-5.15.3_p20220406-ffmpeg5.patch | 169 +
 dev-qt/qtwebengine/metadata.xml|  13 +-
 .../qtwebengine-5.15.3_p20220406.ebuild| 274 +
 5 files changed, 492 insertions(+), 8 deletions(-)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
index f69e1d9..dc9b5d7 100644
--- a/dev-qt/qtwebengine/Manifest
+++ b/dev-qt/qtwebengine/Manifest
@@ -2,3 +2,5 @@ DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 
BLAKE2B aa101d14446f3
 DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
 DIST qtwebengine-5.15.3-riscv-0.tar.xz 189688 BLAKE2B 
987b09aa79d1bb425e23a9d4573d46dc1f470b7abf169a446317b68b42a131fa9fb3f1839d0589858a91949759ec1909b0488deeb40863a362fd28307c7b5bb0
 SHA512 
1e6aaa13118eaba839e82482f30ba14843bcd67bc4c42a38bf09e1f89bb53175dedcf74ddbd68ea9821dc36645f23de3e63211de2a82962ae6ada49f520bc4f6
 DIST qtwebengine-5.15.3_p20220310.tar.xz 319290976 BLAKE2B 
0a0e74e7d94e59d81687ceb4d791034d43daaeef887894acedc2d2568a8c74e4b7303440518d377c16de21a546e2609fdd89ab64c0664c230df4657cec9d399c
 SHA512 
e57c7c51d0f27d116d2dc80043cb563a1dbce2357221ba87ae3c3b0e8c781e3ef09f69b8f6f20fcb7d85d596ae312b2f85ebc35ba7ee283ab30caa8f796fe2d6
+DIST qtwebengine-5.15.3_p20220406-patchset.tar.xz 35480 BLAKE2B 
ce6aeebbb3255196611130d04ee7a3907ba45d6d2a283f2433e2176cf67e473e74137b180de0a9998762cc54439bb06825815e81e9f95f9413ce2956ac9308b7
 SHA512 
47e29a1429dce2db324929af91c8ef8421c75ae48f5a491db71b434f8017a5b1e7475e9938989e331e8e012220852848565242e09747892e1a8a8d3ab7386840
+DIST qtwebengine-5.15.3_p20220406.tar.xz 318979648 BLAKE2B 
3aba9293c52f96379cfe37c418c7a29a28e2fc0a8526d35452bef28c03b101054131d0daf75f07f058f80fbd42678b6bd24733573318169908f1d5e18d147db8
 SHA512 
80bf51b547cc8e15473652327a0cb753211911e8c98b1cb8b2cd696af923e79eccdc74aa4b68b6184c74ceb3a9bd708c7313f48eab4381ebeaac8192daa163b6

diff --git 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch
new file mode 100644
index 000..c1a98d0
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.3_p20220329-clang14.patch
@@ -0,0 +1,42 @@
+From 0825e7bc64e47d87e1f1026cc80c933550f114f5 Mon Sep 17 00:00:00 2001
+From: Dimitry Andric 
+Date: Mon, 14 Feb 2022 13:55:25 +0100
+Subject: www/qt5-webengine: fix build with clang 14
+
+Fixes compile error:
+
+In file included from 
gen/third_party/blink/renderer/platform/platform_jumbo_63.cc:8:
+src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:122:15:
 error: anonymous non-C-compatible type given name for linkage purposes by 
typedef declaration after its linkage was computed; add a tag name here to 
establish linkage prior to definition
+typedef struct {
+  ^
+   UTextWithBuffer
+src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:123:3:
 note: type is not C-compatible due to this member declaration
+  DISALLOW_NEW();
+  ^~
+src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/allocator/allocator.h:40:2:
 note: expanded from macro 'DISALLOW_NEW'
+ public:  \
+ ^~~
+src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:126:3:
 note: type is given name 'UTextWithBuffer' for linkage purposes by this 
typedef declaration
+} UTextWithBuffer;
+  ^
+
+PR:261949
+Approved by:   adridg (maintainer)
+MFH:   2022Q1
+
+--- 
a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc
 
b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc
+@@ -119,11 +119,11 @@ enum TextContext { kNoContext, kPriorContext, kPrimary
+ 
+ const int kTextBufferCapacity = 16;
+ 
+-typedef struct {
++struct UTextWithBuffer {
+   DISALLOW_NEW();
+   UText text;
+   UChar buffer[kTextBufferCapacity];
+-} UTextWithBuffer;
++};
+ 
+ static inline int64_t TextPinIndex(int64_t& index, int64_t limit) {
+   if (index < 0)

diff --git 

[gentoo-commits] proj/riscv:master commit in: www-client/firefox/

2022-04-20 Thread Yixun Lan
commit: a070281021cefd755158072623aed2d6b719f958
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Apr 20 13:21:41 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Apr 20 13:22:49 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=a0702810

www-client/firefox: drop 94.0_beta1

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/firefox/Manifest  |  100 ---
 www-client/firefox/firefox-94.0_beta1.ebuild | 1187 --
 2 files changed, 1287 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 74e132c..65fce67 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,103 +1,3 @@
-DIST firefox-94-patches-80.tar.xz 21016 BLAKE2B 
0cd63b474a8f747020a91234cdc857b5ca0b2681105c5a56824c942dcf33a96f7c09eac2d65e52e678dcf841248179450dc90e7ad829129acfcdecec9aa157b1
 SHA512 
08734840864e6603466bc91ed1ea3db9c6ee506b581a28a0e8d3c6e73039dad83526ffa65a3c888e80eb4f74680727e081f306e1dce06a0fa70c9b4db55fa282
-DIST firefox-94-patches-riscv.tar.xz 2959424 BLAKE2B 
f6193c2039cc45ae9793fb84fbba10f47ca428229196d253c5b1aa3f03a4f5e23971aeaffa51cbe4b96ccf42c23fd20151b11e5ae12bab19aaf4097fb1007ffe
 SHA512 
c643effeb834ae396dd1bacbc36c9c655739eb3410c3bab43417b5784568c7cde469b608637c951936c9175b0e37cf7c2b5aa01f3cb8ba56f8e5e748c8694c6e
-DIST firefox-94.0b1_beta1-ach.xpi 446928 BLAKE2B 
e9b9b4bfdf674a61a1cf6fa69f0359e598e0279ebc71328d0d7fa73bd7c769c71d68dab32c284fe94d4f642817cfe5180157fe706c4aec9f8db9fb0b253172b7
 SHA512 
467a31a314e923b772a8843ad97016b24659c7c8c0ef1c7c514d5e18a85eec2cdd22f10439ae940379969fef86340c3d20ae847840d87d5886f55f0a6f4708cd
-DIST firefox-94.0b1_beta1-af.xpi 418382 BLAKE2B 
3f31a99f20d22efc5f8c75f62057e55cfa4dab4ca8d315889f42d9b8ba6efaf992e0f2ed32174f387f818e5613d3d7fe2e034c90229ee574fe5f364339e3525e
 SHA512 
6707759bf9a4c993d633dae60849293a362afaf025e9efebb00f5b84ff6980655221cc27d9e6d6329bb3cda26043dde7248cc92dc29f805660421816bc290728
-DIST firefox-94.0b1_beta1-an.xpi 493974 BLAKE2B 
2e7e74f61e45f2570a9abb929ec7ce7c7895e4b8cad71b698ebbb1f6c59404194a5848bdedf6fd40c76d525c6cbcc27b1b643d7c23ce76257c8a3f1faaa7481a
 SHA512 
c1a15d49b2eb1198acb393de4f32baf8105664099cee1c80a08483da2c701dcf8c418b1c4476adf8a83bc08aeaf49834b71d2c71d68599f4d38adefe94d416bd
-DIST firefox-94.0b1_beta1-ar.xpi 552725 BLAKE2B 
3f9a009f5991c8c15ae0e22ce21168ec5e29eff9064de720758c8161e2debac7e0c329faa1639a2f11860c24cab179ddb23e71295368df04d81e8b786bb4a175
 SHA512 
cd05fc34230cf5cc0d524a04ad87beee608bbe068450b431ccb512e76951acac2277a87783fddc95c958b86490b3e2c1d2860262be2dd653c5eedab420f5a58c
-DIST firefox-94.0b1_beta1-ast.xpi 492333 BLAKE2B 
6812583c95763457807403b9eda65d85f0dd3d2f902203b1df26c8ac652447f477eab52b1e01d6f5816bb8803c1d884e171414cf1105e3f40a801bbd458df72f
 SHA512 
5812f1371fea91f5af48860ffee197006209ad8f2cdc56a34133145622dbfcb8e4ee44bcc6a423880a59f5243220a69eddd16aa56841f14f85a6bdd01267fb5d
-DIST firefox-94.0b1_beta1-az.xpi 482454 BLAKE2B 
50a4b99bcc3cc2efc28f0c959400369e4149be23a2b2566079a49e0776e935db4d5fa10b267c022a97ee96cf644479b4a7f5cf017e02458c33fd9c6d8ddb36af
 SHA512 
13f1bac2ecb81ec6a633e0cf61dae4801bf92786750be56560d9c3f071d0f9e566426e14c5aa573f79397b1747d444f70b2815286b7d431842efde4cff6456c5
-DIST firefox-94.0b1_beta1-be.xpi 608858 BLAKE2B 
2109d83d560101bff3ea0e0d00c40e67cbdd77d2464ce4ca1159af28854dd3ed812397b688c3251cd19e7cc78b31fd8ad9180823f59bd434daa143dbe95c7111
 SHA512 
0aae96c72c137ac7b7f5288a4cfa98470297ed2008850ab80bdb73ef96e670f88e7c91a8a88d1301b60d2be40509285ead8d55dab5fdd0524a5613ba2f89295d
-DIST firefox-94.0b1_beta1-bg.xpi 560284 BLAKE2B 
83b691acea18c690d330f68361a340d6e9c7244176f1c75cd0a933900964e2a8645a7145a155a05ff46792d700386f6c4914ea25b6bcb8f3b236852c852c37e8
 SHA512 
1b6c068a2552eb9ca19802ef021ff9a96f76b6ff84fae4c650685e655a763c15e2142eee02d5ac5c49aef9b1d5a19ccc3864f8825821ab15891043fbcffbb32a
-DIST firefox-94.0b1_beta1-bn.xpi 549118 BLAKE2B 
aac3a21d1fd51105581738fe2c4cb5e9ffc5b05aaf156d25369d75d70be7328ba9ca0e49e97c586c1c8a72359c943236a20ce129427fddb26ec7737a80ff8ad9
 SHA512 
489ca5ed1352d3bd47312ad4dabad5b7b53e2b5ceab7e2a5961cb14e7078c64065ef290f008ee5ce5199a94a3b43b99f299d00b2d4641b6cd6294024e2b33f0d
-DIST firefox-94.0b1_beta1-br.xpi 513599 BLAKE2B 
d9a9031ff0f8ebb52295a5e9562532eefde7f4dcc416614a3d2c0b176f20824a6261816ee622d952539a8c6ee6129dc9656452d37f50a855ace2d4554e208c2c
 SHA512 
e371c6266746ee557a0bb919f589b61fd8fe2e4cf87d186300e6d181dd20283638bc583a600a9a541bcdbcfbf9d44717117e32e9d082415b3bfaa47c8395f442
-DIST firefox-94.0b1_beta1-bs.xpi 457231 BLAKE2B 
d68fd74e5afd6e78a72f2cefa963327475fe0729c4b8cd925297e6f539af289552dd4c54aba0a58d71432bca9a6587ab4895731c2f0062e70eef907a3f65af04
 SHA512 
8ade57e1bb6708196aad782d3bd3406e473f0bab52cfb28bb87cf9a11249df7fab9e39bd460cb47c1cef21a8b100213f9f38f38c93cac84ebb12fafd05623c8b
-DIST firefox-94.0b1_beta1-ca-valencia.xpi 522593 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: www-client/firefox/

2022-04-20 Thread Yixun Lan
commit: 75dc910cf365b9c2a130ac7e84c86bba3a908d9d
Author: Yu Gu  gmail  com>
AuthorDate: Wed Apr 20 13:05:30 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Apr 20 13:14:49 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=75dc910c

www-client/firefox: import ebuild from gentoo's official tree

original version without modification here

Signed-off-by: Yu Gu  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 www-client/firefox/Manifest  |   99 +++
 www-client/firefox/firefox-98.0.2.ebuild | 1256 ++
 2 files changed, 1355 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index a7f7936..74e132c 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -98,3 +98,102 @@ DIST firefox-94.0b1_beta1-xh.xpi 420863 BLAKE2B 
baa325cd8f2e04d6686d04a58ec2bfb0
 DIST firefox-94.0b1_beta1-zh-CN.xpi 564714 BLAKE2B 
7678cb9198f8966f06f4bfe794e5face4e454c9ff09e83edc7db3505a22a24212f1a8fd57cddd91e20a224d9e5381da7ededed9a2f99b116da91e721125c718c
 SHA512 
e99d8212cea02cfe124613b3c33bf3041fcaa9abf64bcb70d4146ebc18648671a5ecb008057703bfbe8252b2c072f0a7c3644bb2ca4e9d2b391a022b04966344
 DIST firefox-94.0b1_beta1-zh-TW.xpi 565288 BLAKE2B 
43247ebd18a469135cdbbf011aa4a90805823a663c8249a560ae5dc34f620505fe0e4e6d9ce55590e2ed1fb5d4f8121eb6f2d7093bc38db46872cff7b388a4c2
 SHA512 
724a9a092a5dc12af346926b53c9efa992f7dcb72a28a858ff6a36f1ae35d1505b642edc07d2f9e1bbdfcb0750238b780bd05e93e9e5704f99a403e7c1a16e4e
 DIST firefox-94.0b1_beta1.source.tar.xz 390066204 BLAKE2B 
a737ef0544efef068757aec6187deb927ff0335f096be6d448117e8d4c90e84b121c597e7a33295660bd24db2551da518942df9330e41c84d0a2a6ae1a21e51e
 SHA512 
5f258f010eb0f9ae198d373abf71209734308f57d4c913873dc71ae1a8d7fba0bf255ae4305d16410d14fb19288e55718a83043d15013aec7d39f55ffb329f4a
+DIST firefox-98-patches-04j.tar.xz 17532 BLAKE2B 
da525840a0850a504d69dd8d758bd32c0146653450e5ca1023f43909fa3149424f48abfa98e8152875e44d72852a0310afbb42dc2684e3eecf666cdf6d84223d
 SHA512 
db1b352c61ac784d44e197280b33e9088286571a66df6415ba28e5c910c67853053f56cd9c27faff2de77e13939e5d3e221ec4384e34881127e43a5cc315d357
+DIST firefox-98.0.2-ach.xpi 449114 BLAKE2B 
79c1f755fe5ba6e0aabe7f79af24165ab8a589a13edecfb1addb21db318de946b11a87677ee68e3373930e3490bb77e5768d2a7dc59f362967555eea437f782d
 SHA512 
dae2b44134d7424ec55dfe3b18c68add16e67e139543055527cfacb3f9aa21ab00fe096c32131119acae0f5873408daa5b832bac2516fc4ea597a0e36745ae35
+DIST firefox-98.0.2-af.xpi 415426 BLAKE2B 
98b4d8a1fe0c10ac94792291e44a8727fb6f4ab722fa128af8d29fc2cbd8b5c9bfeae96f8f7608ed1428c90d09a72ab2a60f7d91b3e5a551d711fd2e9e3ef2b3
 SHA512 
09548a40ca600d2010ee2bc794a2db8f9a10df4a6c142e0cf01587e3d39ab9f332e6e258f91f588cd145c42c652b0c90eb421e439235490923776f5b219450d2
+DIST firefox-98.0.2-an.xpi 495404 BLAKE2B 
e7f03affb3468ad1558462f5be5e80a8a86b3fdc2cfe51ac5e2e1bb5e96c43d1615847ad87ec77e963f7e0df16785c576e2a5699c188cc9a023232190f8d75a1
 SHA512 
3ce820252b38887918bc797a031face2d19cca8ed7870ee4b3bf5ea9764e852de473ac97d2055763647ad23adc57b752c0365ef122975b9cdb008b532263d713
+DIST firefox-98.0.2-ar.xpi 564962 BLAKE2B 
a98ddeb1a47e27813d98bf1f6379d5993fb99ca87cc4edf3ceb3df9dabb8bb0ed7cc9085683f5284bac30f19e60ab8c68d768ea18d40f577cd7aa644baaf5ff6
 SHA512 
8074da6c1df49184bc6b06ab184caf31be127f43a5b7c3de5d191833f3d737a65c53317cac0d6c43a6c7074332007fa63305d6d14f52e51920792d1aacd67f52
+DIST firefox-98.0.2-ast.xpi 493534 BLAKE2B 
fcaae7f3cc0b66bad309b55bee96f60b4f59e93254cf246e1be6fd4ff4c8a879fbbcea596987a5efc89f034b2fd3aa6274d2e01222bd780c277adeecf6dfa5d4
 SHA512 
fb9fa854eab5ea44698da18fc77b75f5c781e0ac53f748416bb2f9617ebf80f00596c167cf09449e13616f1a9165781192ab0f3ad61046a409bb1b04503353d1
+DIST firefox-98.0.2-az.xpi 484500 BLAKE2B 
b4a4d3425db2900482b1fc141c248954be1e476c10720e94b9d8c401c118cdd11bc9207ea5b8ff201715539bb0f77ece424173ce95bb362e31ec7921b8646d04
 SHA512 
47cb63559055f35370b9407bd2d24e7f2351d4e40beb87d4d352f4fc93c8108f1f7a9c262b01dc2be5d603dc2f626a06581fab58c26bff85c92eaa11d6e31296
+DIST firefox-98.0.2-be.xpi 622449 BLAKE2B 
e610536b177582084c68e37c527ee005c61e326d41aa9e25b733abe1fd0d372250d7cd36bc92dc92d28efb5487a9296b9664ddb5ccc5df79f9695ebd57501849
 SHA512 
2fe3e5c2c4a7aa024746aebd8bb91e4985b55a721cf0ad2de0b62fad1c1575d549168dace6c0585757cac1cd59f31a1d452328b9e073852dc25e68a449b16240
+DIST firefox-98.0.2-bg.xpi 564861 BLAKE2B 
a2bc430e77803d9edbd1748df0e4afbb0de5e290fb9e862feb80668be8e7b69bc98deed901608847ef36537d795bd5c857b4c84b33e31dcf83268788fe23495a
 SHA512 
30af19d470a4978f72fdeb645a5b0c68e1fbe9ee70a77fd275be62eea15fec7842f2e36c9718eb3467d4c6eefd10f09e1481900157f298933263c1619dffddab
+DIST firefox-98.0.2-bn.xpi 554271 BLAKE2B 
64c79a313b69b9379f4dec13f279849f1df3efffb2d6d97d8fcef71b479f8d9c17ccf8d40b2b480d96bd0b1419b956dfc604854c6d601ec33bf9a416795f8792
 SHA512 
99827acb8457849b41313f7fb324611528f45dfe04bc08c9468c92cbfb5895665fb6a580f0b34055792c800fa8c1c4bdd29aa451db17833de2e71c7883d2f961
+DIST 

[gentoo-commits] proj/riscv:master commit in: virtual/linux-sources/

2022-04-04 Thread Yixun Lan
commit: 3194e35cc6741dce6f21c703a1bb8ce29837ea88
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Apr  4 12:09:55 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Apr  4 12:09:55 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=3194e35c

virtual/linux-sources: removed

Signed-off-by: Yixun Lan  gentoo.org>

 virtual/linux-sources/linux-sources-3-r6.ebuild | 26 -
 virtual/linux-sources/metadata.xml  | 16 ---
 2 files changed, 42 deletions(-)

diff --git a/virtual/linux-sources/linux-sources-3-r6.ebuild 
b/virtual/linux-sources/linux-sources-3-r6.ebuild
deleted file mode 100644
index 98f57dd..000
--- a/virtual/linux-sources/linux-sources-3-r6.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Virtual for Linux kernel sources"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="firmware"
-
-RDEPEND="
-   firmware? ( sys-kernel/linux-firmware )
-   || (
-   sys-kernel/gentoo-sources
-   sys-kernel/vanilla-sources
-   sys-kernel/git-sources
-   sys-kernel/mips-sources
-   sys-kernel/pf-sources
-   sys-kernel/rt-sources
-   sys-kernel/zen-sources
-   sys-kernel/raspberrypi-sources
-   sys-kernel/sifive-sources
-   sys-kernel/gentoo-kernel
-   sys-kernel/gentoo-kernel-bin
-   sys-kernel/vanilla-kernel
-   )"

diff --git a/virtual/linux-sources/metadata.xml 
b/virtual/linux-sources/metadata.xml
deleted file mode 100644
index cf6d1af..000
--- a/virtual/linux-sources/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   bluen...@gentoo.org
-   Anthony G. Basile
-   
-   
-   ker...@gentoo.org
-   Gentoo Kernel Project
-   
-   
-   Install linux kernel firmware
-   
-   
-



[gentoo-commits] proj/riscv:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2022-04-04 Thread Yixun Lan
commit: 40b1dc94e0b30a2a4a557f8b4d0249ab86dc037a
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Apr  4 12:02:37 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Apr  4 12:02:37 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=40b1dc94

dev-util/valgrind: experimental support for riscv

https://github.com/petrpavlu/valgrind-riscv64

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 ...5.0-Build-ldst_multiple-test-with-fno-pie.patch |  22 
 .../files/valgrind-3.7.0-respect-flags.patch   |  13 +++
 dev-util/valgrind/metadata.xml |  24 +
 dev-util/valgrind/valgrind-.ebuild | 120 +
 4 files changed, 179 insertions(+)

diff --git 
a/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
b/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
new file mode 100644
index 000..4417665
--- /dev/null
+++ 
b/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
@@ -0,0 +1,22 @@
+From beab8d9f8d65230567270331017184c8762faa42 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Mon, 4 Nov 2019 09:12:16 -0800
+Subject: [PATCH] Build ldst_multiple test with -fno-pie
+
+Bug: https://bugs.gentoo.org/685070
+---
+ none/tests/ppc32/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/none/tests/ppc32/Makefile.am b/none/tests/ppc32/Makefile.am
+index 11697c99a..222efd3f2 100644
+--- a/none/tests/ppc32/Makefile.am
 b/none/tests/ppc32/Makefile.am
+@@ -156,3 +156,4 @@ test_isa_2_07_part2_LDADD = -lm
+ test_tm_LDADD = -lm
+ test_touch_tm_LDADD = -lm
+ 
++ldst_multiple_CFLAGS = $(AM_CFLAGS) -fno-pie
+-- 
+2.23.0
+

diff --git a/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch 
b/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
new file mode 100644
index 000..860e09c
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
@@ -0,0 +1,13 @@
+diff -Naur valgrind-3.7.0.orig//mpi/Makefile.am valgrind-3.7.0/mpi/Makefile.am
+--- valgrind-3.7.0.orig//mpi/Makefile.am   2011-10-26 17:24:23.0 
-0400
 valgrind-3.7.0/mpi/Makefile.am 2011-11-10 16:03:14.0 -0500
+@@ -7,9 +7,6 @@
+ CC = $(MPI_CC)
+ DEFS =
+ DEFAULT_INCLUDES =
+-CPPFLAGS =
+-CFLAGS =
+-LDFLAGS =
+ 
+ EXTRA_DIST = \
+   mpiwrap_type_test.c

diff --git a/dev-util/valgrind/metadata.xml b/dev-util/valgrind/metadata.xml
new file mode 100644
index 000..446b8b7
--- /dev/null
+++ b/dev-util/valgrind/metadata.xml
@@ -0,0 +1,24 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   
+   
+   Valgrind is a GPL'd tool to help you find memory-management 
problems
+   in your programs. When a program is run under Valgrind's 
supervision,
+   all reads and writes of memory are checked, and calls to
+   malloc/new/free/delete are intercepted. As a result, Valgrind 
can
+   detect problems such as
+
+   - Use of uninitialised memory
+   - Reading/writing memory after it has been free'd
+   - Reading/writing off the end of malloc'd blocks
+   - Reading/writing inappropriate areas on the stack
+   - Memory leaks -- where pointers to malloc'd blocks are lost 
forever
+   - Passing of uninitialised and/or unaddressible memory to 
system calls
+   - Mismatched use of malloc/new/new [] vs free/delete/delete []
+   - Some abuses of the POSIX Pthreads API
+   
+

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
new file mode 100644
index 000..6d6dab4
--- /dev/null
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://github.com/petrpavlu/valgrind-riscv64;
+   EGIT_BRANCH="riscv64-linux"
+   inherit git-r3
+else
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+fi
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   # Correct hard coded doc location
+   sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
+
+   # Don't force multiarch stuff on OSX, bug #306467
+   sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
+
+   # Respect CFLAGS, LDFLAGS
+   eapply 

[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-04-04 Thread Yixun Lan
commit: bdd411274f21ce427a7769a717cea2f6cb42b3a7
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Apr  4 12:09:37 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Apr  4 12:09:37 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=bdd41127

sys-kernel/sifive-sources: drop this, just use gentoo-sources

Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest | 10 ---
 sys-kernel/sifive-sources/metadata.xml | 14 -
 .../sifive-sources/sifive-sources-5.16.15.ebuild   | 34 --
 .../sifive-sources/sifive-sources-5.17.0.ebuild| 34 --
 4 files changed, 92 deletions(-)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
deleted file mode 100644
index 1e07859..000
--- a/sys-kernel/sifive-sources/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-DIST genpatches-5.16-16.base.tar.xz 747884 BLAKE2B 
753592e7d39dc64cd8567df14449bdc7bcea37a2d7ff6b508d6f5a22053bdb7e1a80f3ec0a2aea7560191a239bc93d94db4618e3d4e43b4a2537b2cbf92aab3a
 SHA512 
8f184d6e708f7a8828fe0e7c9ff249293158047fb38bd8ebdc2eeb76388bfb370f0ea832ce19352e3180d6bae624fed97bcc6e3abc3492fa5e4a0a55159a4ba8
-DIST genpatches-5.16-16.experimental.tar.xz 5420 BLAKE2B 
285aa3d5dc2a968372f641a7c660c17841dae22837788b5923405dab40a8d9fc0029d655468fbc3c783c19d99ccb11fd89f8a80281332d1fe932d74342fa6c78
 SHA512 
2576b279b4e429e3fbb4465ce3a6d7c47c81ee6f7882dce428f4d626e73f8f28c58662a60c0313aa20fe185fad71019fcb6bb10e3954a3074dc6a4043ca9abac
-DIST genpatches-5.16-16.extras.tar.xz 3800 BLAKE2B 
05b8ec6533b54f39ebb66402d88dba619601f9edf73a769f765c3acbccf88513fb8a17dfe58e490762013543fcc980e2ca285f23d6c0a71cf871941d523bcc76
 SHA512 
e0acbf026bbe216bbe3856b7f99fd391b7a2a856ab2e6cf7b3fbc91811a8c1d622dec2d2e2ced5790d388fb17dadbd086a074f814af59b69c7287024c604bb50
-DIST genpatches-5.17-1.base.tar.xz 7588 BLAKE2B 
d0046364d4f26368f627d920552e1a67c6b5f25cf5b101ba6b04bf395482d3341deb65d2207159faab9028abc3a8e615746474072dec34d38732296a77d893f1
 SHA512 
b4f355f9006457374b212d5b79442d0d7fd371064943947ed2b64f0b1fd6357ac7e367249e11827444ea73f0ef1f015a7741d4ace38ae1d68fdcc67f00af0fd2
-DIST genpatches-5.17-1.experimental.tar.xz 5404 BLAKE2B 
a28f67bbea63d27ac7a79aeccb025992d21ff821ce6c6eca8db5f089565a540fafe9cb7c3066572a250d0f05bc84ed2211e2f893abaf44ea4aea5f7cea2c2416
 SHA512 
d7c6845962734ae4a9700be49f5bf3c70053ee273bff272256ea592c5ac47499903ad5b72368a258ed64a22bd12d87b6f1552a22cebe3685f98243670be11004
-DIST genpatches-5.17-1.extras.tar.xz 3800 BLAKE2B 
7c7c955dbbc2aa6fe8b39f84c993f76aa117b5f218a2de9ff15a165c2d15d253a5adca5c979e5fd887d9b76cbfd2c9c70cc6f2d6d493fad011337e7a941cb498
 SHA512 
c47a545e6ac510e87f8239afc5b23aefb2956de3446a0e16b79396fb1c335456638101fd615446220987278bc1f68d1154958018793056699270d2250731c47d
-DIST linux-5.16.tar.xz 123114100 BLAKE2B 
07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb
 SHA512 
7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
-DIST linux-5.17.tar.xz 128399340 BLAKE2B 
82dc4a45cc25c781ac67aa6ed1e4c369544154960f41c4634d47621f381159687a227054976d078524cda28884d395a15f7542fe44ca74ce98ca6ff54a81d6d0
 SHA512 
89f0a7ca69d20a539d4b612a7028a30a5e98b402e4b6b88516f14237e5da4b626d7929eab8b40fccc90766e8f3bae87e9858a19077ffad20d8204acf18794f5b
-DIST sifive-patches-5.16.15-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397
-DIST sifive-patches-5.17.0-0.patch.xz 1516 BLAKE2B 
7141ff5acecd0f40b8a50f64cf720e745321a72c642ad23660949725f7a1a01300a811026875b8b6020784915f9661f65befbbfb83c172d679963331ef02c633
 SHA512 
bd23fcce60576344241cb6bbfaa9a29a5768ab79a5aa0e2ba7a77cdab36052ea6ba8da5bbf15dd3adbf1d5d93e337569b07483117080163362bfef31404d049e

diff --git a/sys-kernel/sifive-sources/metadata.xml 
b/sys-kernel/sifive-sources/metadata.xml
deleted file mode 100644
index 74ee2d6..000
--- a/sys-kernel/sifive-sources/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-
-  ker...@gentoo.org
-  Gentoo Kernel Project
-
-
-  Apply experimental patches; for more information, 
see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental;.
-
-
-  cpe:/o:linux:linux_kernel
-
-

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild
deleted file mode 100644
index 5f96e4f..000
--- a/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-ETYPE="sources"

[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/

2022-03-24 Thread Yixun Lan
commit: 20714d617ef73390f25f6fec89f148ba5c336081
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar 25 04:46:04 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar 25 04:46:04 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=20714d61

dev-qt/qtwebengine: import from gentoo's official tree

original version without modification here

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest|   3 +
 ...qtwebengine-5.15.2-disable-fatal-warnings.patch |  12 +
 .../files/qtwebengine-5.15.2-enable-ppc64.patch|  37 +++
 .../files/qtwebengine-5.15.2-extra_gn.patch|  12 +
 ...ine-5.15.2_p20210224-chromium-87-v8-icu68.patch | 192 +++
 .../qtwebengine-5.15.2_p20210224-disable-git.patch |  15 ++
 ...qtwebengine-5.15.2_p20210521-clang-libc++.patch |  10 +
 ...gine-5.15.2_p20211015-pdfium-system-lcms2.patch |  79 ++
 ...ngine-5.15.2_p20211210-sandbox-glibc-2.34.patch |  27 +++
 dev-qt/qtwebengine/metadata.xml|  34 +++
 .../qtwebengine-5.15.3_p20220310.ebuild| 265 +
 11 files changed, 686 insertions(+)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
new file mode 100644
index 000..24d4c40
--- /dev/null
+++ b/dev-qt/qtwebengine/Manifest
@@ -0,0 +1,3 @@
+DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B 
aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6
 SHA512 
3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db792488098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e
+DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
+DIST qtwebengine-5.15.3_p20220310.tar.xz 319290976 BLAKE2B 
0a0e74e7d94e59d81687ceb4d791034d43daaeef887894acedc2d2568a8c74e4b7303440518d377c16de21a546e2609fdd89ab64c0664c230df4657cec9d399c
 SHA512 
e57c7c51d0f27d116d2dc80043cb563a1dbce2357221ba87ae3c3b0e8c781e3ef09f69b8f6f20fcb7d85d596ae312b2f85ebc35ba7ee283ab30caa8f796fe2d6

diff --git 
a/dev-qt/qtwebengine/files/qtwebengine-5.15.2-disable-fatal-warnings.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-disable-fatal-warnings.patch
new file mode 100644
index 000..b0f5f3d
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-disable-fatal-warnings.patch
@@ -0,0 +1,12 @@
+diff --git a/src/buildtools/config/common.pri 
b/src/buildtools/config/common.pri
+index cf990c79..910a88ca 100644
+--- a/src/buildtools/config/common.pri
 b/src/buildtools/config/common.pri
+@@ -26,6 +26,7 @@ gn_args += \
+ skia_use_dawn=false \
+ toolkit_views=false \
+ treat_warnings_as_errors=false \
++fatal_linker_warnings=false \
+ use_allocator_shim=false \
+ use_allocator=\"none\" \
+ use_custom_libcxx=false \

diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.2-enable-ppc64.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-enable-ppc64.patch
new file mode 100644
index 000..4fb19cc
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-enable-ppc64.patch
@@ -0,0 +1,37 @@
+From 463f1234c57a36e78ff666bd55094a9d4e68f296 Mon Sep 17 00:00:00 2001
+From: q66 
+Date: Sat, 18 Jan 2020 23:52:55 +0100
+Subject: [PATCH 1/3] Enable ppc64 builds
+
+---
+ configure.pri  | 1 +
+ mkspecs/features/functions.prf | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/configure.pri b/configure.pri
+index 3a144e3f8..cabe8b24a 100644
+--- a/configure.pri2021-02-24 10:45:58.0 +0100
 -  2021-03-07 21:18:43.124754796 +0100
+@@ -144,6 +144,7 @@
+ contains(QT_ARCH, "arm")|contains(QT_ARCH, "arm64"): return(true)
+ contains(QT_ARCH, "mips"): return(true)
+ contains(QT_ARCH, "mips64"): return(true)
++contains(QT_ARCH, "power64"): return(true)
+ qtLog("Architecture not supported.")
+ return(false)
+ }
+diff --git a/mkspecs/features/functions.prf b/mkspecs/features/functions.prf
+index 512e2523b..e31123654 100644
+--- a/mkspecs/features/functions.prf   2021-02-24 10:45:58.0 +0100
 -  2021-03-07 21:19:21.345036293 +0100
+@@ -107,6 +107,7 @@
+ contains(qtArch, "mips"): return(mipsel)
+ contains(qtArch, "mips64"): return(mips64el)
+ contains(qtArch, "mips64el"): return(mips64el)
++contains(qtArch, "power64"): return(ppc64)
+ return(unknown)
+ }
+ 
+-- 
+2.26.0
+

diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch 
b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch
new file mode 100644
index 000..0488122
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch
@@ -0,0 +1,12 

[gentoo-commits] proj/riscv:master commit in: dev-qt/qtwebengine/

2022-03-24 Thread Yixun Lan
commit: 45541db3ba10d2245663953add1fe08402e621df
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar 25 04:47:21 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar 25 04:47:21 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=45541db3

dev-qt/qtwebengine: add riscv support

take patches from archlinux's riscv repo
https://github.com/felixonmars/archriscv-packages/qt5-webengine/

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 dev-qt/qtwebengine/Manifest| 1 +
 dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-qt/qtwebengine/Manifest b/dev-qt/qtwebengine/Manifest
index 24d4c40..f69e1d9 100644
--- a/dev-qt/qtwebengine/Manifest
+++ b/dev-qt/qtwebengine/Manifest
@@ -1,3 +1,4 @@
 DIST qtwebengine-5.15.2-r1-chromium87-ppc64le.tar.xz 28784 BLAKE2B 
aa101d14446f3282fda8932cc75a249d88b79319f0886d95777292776d94ac5f4fc114c3893b2801fbba6abb14f381172bb14b15b5ffef12413db3a16e4d1ca6
 SHA512 
3324e0076eb18e2ae2248428d2730cfb3413761514b2bb57e25b8db792488098d9f7cebfa08f1a3b39b1d0a382aafed75c5ae8273918909335957921305e
 DIST qtwebengine-5.15.2_p20211019-jumbo-build.patch.bz2 2930 BLAKE2B 
fca1d1406874d04eafb64bb4d8730512a6307ba44fb99d76f428ca1bd4a303758e0c3bd8f92a59f7bcf62e5b767c5a8ed239028bdb74ad7a8b62abf88d38c101
 SHA512 
61cbfbe4ff340b75ea8d356e031e932ac03fe65dd00ff897ca4b0185d1d989490daf75ffeaaabb3e92c870c11c7ff8ad2cd6372f5363b3d774b8ecca6d89
+DIST qtwebengine-5.15.3-riscv-0.tar.xz 189688 BLAKE2B 
987b09aa79d1bb425e23a9d4573d46dc1f470b7abf169a446317b68b42a131fa9fb3f1839d0589858a91949759ec1909b0488deeb40863a362fd28307c7b5bb0
 SHA512 
1e6aaa13118eaba839e82482f30ba14843bcd67bc4c42a38bf09e1f89bb53175dedcf74ddbd68ea9821dc36645f23de3e63211de2a82962ae6ada49f520bc4f6
 DIST qtwebengine-5.15.3_p20220310.tar.xz 319290976 BLAKE2B 
0a0e74e7d94e59d81687ceb4d791034d43daaeef887894acedc2d2568a8c74e4b7303440518d377c16de21a546e2609fdd89ab64c0664c230df4657cec9d399c
 SHA512 
e57c7c51d0f27d116d2dc80043cb563a1dbce2357221ba87ae3c3b0e8c781e3ef09f69b8f6f20fcb7d85d596ae312b2f85ebc35ba7ee283ab30caa8f796fe2d6

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild
index 8c44a49..507c247 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.3_p20220310.ebuild
@@ -28,6 +28,7 @@ fi
 
 # ppc64 patchset based on https://github.com/chromium-ppc64le releases
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-5.15.2_p20211019-jumbo-build.patch.bz2
+   
https://dev.gentoo.org/~dlan/distfiles/${CATEGORY}/${PN}/${PN}-5.15.3-riscv-0.tar.xz
ppc64? ( 
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-5.15.2-r1-chromium87-ppc64le.tar.xz
 )"
 
 IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio 
+system-ffmpeg +system-icu widgets"
@@ -107,6 +108,8 @@ PATCHES=(
"${FILESDIR}/${PN}-5.15.2_p20210224-disable-git.patch" # downstream 
snapshot fix
"${FILESDIR}/${PN}-5.15.2_p20211015-pdfium-system-lcms2.patch" # by 
Debian, QTBUG-61746
"${WORKDIR}/${PN}-5.15.2_p20211019-jumbo-build.patch" # bug 813957
+   "${WORKDIR}/${PN}-5.15.3-riscv-general.patch"
+   "${WORKDIR}/${PN}-5.15.3-riscv-v8.patch"
 )
 
 qtwebengine_check-reqs() {
@@ -126,7 +129,7 @@ qtwebengine_check-reqs() {
# Estimate the amount of RAM required
# Multiplier is *10 because Bash doesn't do floating point maths.
# Let's crudely assume ~2GB per compiler job for GCC.
-   local multiplier=20
+   local multiplier=8
 
# And call it ~1.5GB for Clang.
if tc-is-clang ; then



[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-03-24 Thread Yixun Lan
commit: c30f8d9e7f4fa4b950d907e15afc4f999832997e
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar 25 04:02:14 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar 25 04:02:14 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c30f8d9e

sys-kernel/sifive-sources: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest |  9 --
 .../sifive-sources/sifive-sources-5.15.23.ebuild   | 35 --
 .../sifive-sources/sifive-sources-5.16.14.ebuild   | 34 -
 3 files changed, 78 deletions(-)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index f628c7e..1e07859 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -1,19 +1,10 @@
-DIST genpatches-5.15-25.base.tar.xz 1018612 BLAKE2B 
493b8c695f2bfcdfa36712143ffad423883273b48e0ae45db226d9e12b809764538716fa8dc257d0cb211f9db50f6af437cc8d19dde0e8af5a10accf85a3b4be
 SHA512 
f268ace309d283079e0f491a3a77de56d4a18fa31bba643be4d215f931baf6a251d1e28c358d4b606b0ea15fc34e71f6b13901f5eb95f18ebad79f384bb6e5a9
-DIST genpatches-5.15-25.experimental.tar.xz 5420 BLAKE2B 
44293344502125562bbda7ee9bedc05141a9b78ffb8fc3178e857a1a638f6943abe9f235679e858646d69e3a470cd047845efd2703f187aade8f2197f4ce
 SHA512 
4a229d0ad358732af9bd09eb93f6e80aad3a20c0bc64bb083a1e64472fcff89db761a396c9ecaf03b6e52976fb61d96db39023120b6fe463222767d0f2230059
-DIST genpatches-5.15-25.extras.tar.xz 3876 BLAKE2B 
17a20913e907e6b6a87afdd7775b7f9811bc3eed5374b957244242fdbc655519606063656bb8e5f51ded3168f73e99832d0cdf66e830811dc1e5ea0c0b8a2582
 SHA512 
1b8f4424996351a70c26f5a90c2490078c1a8daa80da578e2e3b3d1c4be6a4474d40cbd2e6fae8b1f1b9389cdaf2257e01a14ac6c2f7ece8a883d74a686e
-DIST genpatches-5.16-15.base.tar.xz 709572 BLAKE2B 
bb6e5656cee01af674e30c5dbf66d6d538122161c69a21951f5b514c9d372a7ba40d653ee8c25358875fe4feaaea272cc849b6d07ede548d912b8672531e2815
 SHA512 
ad2daebb4d7602c8426b9990c9a2148715247917bf32a0310676b02f38f82b306b4469660836718747705074c8616fc2b083e9c6fdcb982a94be3bb06c7c05a4
-DIST genpatches-5.16-15.experimental.tar.xz 5424 BLAKE2B 
8ab77c5903f502534ad472f9387bc3c466911b633d2264dff0bf622ba86f55f5e606fc328a8de760857f2ef1c8d0a7b611608d65db502a6d94ed1c01cd5b85ab
 SHA512 
24b4a46fc694e05aa25e199f97c4b88428c31ac94563f6e145f8d6848b0447c9548e03c958c823add6457d6eaaaebb4c9ced132740a9685a620d1b61f7ae9005
-DIST genpatches-5.16-15.extras.tar.xz 3800 BLAKE2B 
b4142537d04eed518b9a7e827879b7e427d8c0a06710dd72f9f84e1990db72dd48382c67a9e0cf24f9b104b8cddf4d28739fd93e705b97952e364b3693ff1671
 SHA512 
773543f9989255ce2fb3f6f32aa546f2109eb52e2e816572e027a8428f93bb9c72baadc59ee3019edd03fc97339d30c34c2d8b50b2e1d0e5383b1633b2c0e169
 DIST genpatches-5.16-16.base.tar.xz 747884 BLAKE2B 
753592e7d39dc64cd8567df14449bdc7bcea37a2d7ff6b508d6f5a22053bdb7e1a80f3ec0a2aea7560191a239bc93d94db4618e3d4e43b4a2537b2cbf92aab3a
 SHA512 
8f184d6e708f7a8828fe0e7c9ff249293158047fb38bd8ebdc2eeb76388bfb370f0ea832ce19352e3180d6bae624fed97bcc6e3abc3492fa5e4a0a55159a4ba8
 DIST genpatches-5.16-16.experimental.tar.xz 5420 BLAKE2B 
285aa3d5dc2a968372f641a7c660c17841dae22837788b5923405dab40a8d9fc0029d655468fbc3c783c19d99ccb11fd89f8a80281332d1fe932d74342fa6c78
 SHA512 
2576b279b4e429e3fbb4465ce3a6d7c47c81ee6f7882dce428f4d626e73f8f28c58662a60c0313aa20fe185fad71019fcb6bb10e3954a3074dc6a4043ca9abac
 DIST genpatches-5.16-16.extras.tar.xz 3800 BLAKE2B 
05b8ec6533b54f39ebb66402d88dba619601f9edf73a769f765c3acbccf88513fb8a17dfe58e490762013543fcc980e2ca285f23d6c0a71cf871941d523bcc76
 SHA512 
e0acbf026bbe216bbe3856b7f99fd391b7a2a856ab2e6cf7b3fbc91811a8c1d622dec2d2e2ced5790d388fb17dadbd086a074f814af59b69c7287024c604bb50
 DIST genpatches-5.17-1.base.tar.xz 7588 BLAKE2B 
d0046364d4f26368f627d920552e1a67c6b5f25cf5b101ba6b04bf395482d3341deb65d2207159faab9028abc3a8e615746474072dec34d38732296a77d893f1
 SHA512 
b4f355f9006457374b212d5b79442d0d7fd371064943947ed2b64f0b1fd6357ac7e367249e11827444ea73f0ef1f015a7741d4ace38ae1d68fdcc67f00af0fd2
 DIST genpatches-5.17-1.experimental.tar.xz 5404 BLAKE2B 
a28f67bbea63d27ac7a79aeccb025992d21ff821ce6c6eca8db5f089565a540fafe9cb7c3066572a250d0f05bc84ed2211e2f893abaf44ea4aea5f7cea2c2416
 SHA512 
d7c6845962734ae4a9700be49f5bf3c70053ee273bff272256ea592c5ac47499903ad5b72368a258ed64a22bd12d87b6f1552a22cebe3685f98243670be11004
 DIST genpatches-5.17-1.extras.tar.xz 3800 BLAKE2B 
7c7c955dbbc2aa6fe8b39f84c993f76aa117b5f218a2de9ff15a165c2d15d253a5adca5c979e5fd887d9b76cbfd2c9c70cc6f2d6d493fad011337e7a941cb498
 SHA512 
c47a545e6ac510e87f8239afc5b23aefb2956de3446a0e16b79396fb1c335456638101fd615446220987278bc1f68d1154958018793056699270d2250731c47d
-DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 

[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-03-24 Thread Yixun Lan
commit: b21f1b03ab7d8b13ac92fc1a1486372d4f8a10be
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar 25 04:01:27 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar 25 04:01:27 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=b21f1b03

sys-kernel/sifive-sources: version bump, 5.17.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest |  5 
 .../sifive-sources/sifive-sources-5.17.0.ebuild| 34 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index 7ceb3f0..f628c7e 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -7,8 +7,13 @@ DIST genpatches-5.16-15.extras.tar.xz 3800 BLAKE2B 
b4142537d04eed518b9a7e827879b
 DIST genpatches-5.16-16.base.tar.xz 747884 BLAKE2B 
753592e7d39dc64cd8567df14449bdc7bcea37a2d7ff6b508d6f5a22053bdb7e1a80f3ec0a2aea7560191a239bc93d94db4618e3d4e43b4a2537b2cbf92aab3a
 SHA512 
8f184d6e708f7a8828fe0e7c9ff249293158047fb38bd8ebdc2eeb76388bfb370f0ea832ce19352e3180d6bae624fed97bcc6e3abc3492fa5e4a0a55159a4ba8
 DIST genpatches-5.16-16.experimental.tar.xz 5420 BLAKE2B 
285aa3d5dc2a968372f641a7c660c17841dae22837788b5923405dab40a8d9fc0029d655468fbc3c783c19d99ccb11fd89f8a80281332d1fe932d74342fa6c78
 SHA512 
2576b279b4e429e3fbb4465ce3a6d7c47c81ee6f7882dce428f4d626e73f8f28c58662a60c0313aa20fe185fad71019fcb6bb10e3954a3074dc6a4043ca9abac
 DIST genpatches-5.16-16.extras.tar.xz 3800 BLAKE2B 
05b8ec6533b54f39ebb66402d88dba619601f9edf73a769f765c3acbccf88513fb8a17dfe58e490762013543fcc980e2ca285f23d6c0a71cf871941d523bcc76
 SHA512 
e0acbf026bbe216bbe3856b7f99fd391b7a2a856ab2e6cf7b3fbc91811a8c1d622dec2d2e2ced5790d388fb17dadbd086a074f814af59b69c7287024c604bb50
+DIST genpatches-5.17-1.base.tar.xz 7588 BLAKE2B 
d0046364d4f26368f627d920552e1a67c6b5f25cf5b101ba6b04bf395482d3341deb65d2207159faab9028abc3a8e615746474072dec34d38732296a77d893f1
 SHA512 
b4f355f9006457374b212d5b79442d0d7fd371064943947ed2b64f0b1fd6357ac7e367249e11827444ea73f0ef1f015a7741d4ace38ae1d68fdcc67f00af0fd2
+DIST genpatches-5.17-1.experimental.tar.xz 5404 BLAKE2B 
a28f67bbea63d27ac7a79aeccb025992d21ff821ce6c6eca8db5f089565a540fafe9cb7c3066572a250d0f05bc84ed2211e2f893abaf44ea4aea5f7cea2c2416
 SHA512 
d7c6845962734ae4a9700be49f5bf3c70053ee273bff272256ea592c5ac47499903ad5b72368a258ed64a22bd12d87b6f1552a22cebe3685f98243670be11004
+DIST genpatches-5.17-1.extras.tar.xz 3800 BLAKE2B 
7c7c955dbbc2aa6fe8b39f84c993f76aa117b5f218a2de9ff15a165c2d15d253a5adca5c979e5fd887d9b76cbfd2c9c70cc6f2d6d493fad011337e7a941cb498
 SHA512 
c47a545e6ac510e87f8239afc5b23aefb2956de3446a0e16b79396fb1c335456638101fd615446220987278bc1f68d1154958018793056699270d2250731c47d
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
 DIST linux-5.16.tar.xz 123114100 BLAKE2B 
07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb
 SHA512 
7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
+DIST linux-5.17.tar.xz 128399340 BLAKE2B 
82dc4a45cc25c781ac67aa6ed1e4c369544154960f41c4634d47621f381159687a227054976d078524cda28884d395a15f7542fe44ca74ce98ca6ff54a81d6d0
 SHA512 
89f0a7ca69d20a539d4b612a7028a30a5e98b402e4b6b88516f14237e5da4b626d7929eab8b40fccc90766e8f3bae87e9858a19077ffad20d8204acf18794f5b
 DIST sifive-patches-5.15.23-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697
 DIST sifive-patches-5.16.14-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397
 DIST sifive-patches-5.16.15-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397
+DIST sifive-patches-5.17.0-0.patch.xz 1516 BLAKE2B 
7141ff5acecd0f40b8a50f64cf720e745321a72c642ad23660949725f7a1a01300a811026875b8b6020784915f9661f65befbbfb83c172d679963331ef02c633
 SHA512 

[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-03-18 Thread Yixun Lan
commit: 4c9e6e6f5ed69512f508e8f83126f4ae74a4d5dc
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Mar 19 00:36:57 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Mar 19 00:36:57 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=4c9e6e6f

sys-kernel/sifive-sources: version bump, 5.16.15

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest |  4 +++
 .../sifive-sources/sifive-sources-5.16.15.ebuild   | 34 ++
 2 files changed, 38 insertions(+)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index 29e183c..7ceb3f0 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -4,7 +4,11 @@ DIST genpatches-5.15-25.extras.tar.xz 3876 BLAKE2B 
17a20913e907e6b6a87afdd7775b7
 DIST genpatches-5.16-15.base.tar.xz 709572 BLAKE2B 
bb6e5656cee01af674e30c5dbf66d6d538122161c69a21951f5b514c9d372a7ba40d653ee8c25358875fe4feaaea272cc849b6d07ede548d912b8672531e2815
 SHA512 
ad2daebb4d7602c8426b9990c9a2148715247917bf32a0310676b02f38f82b306b4469660836718747705074c8616fc2b083e9c6fdcb982a94be3bb06c7c05a4
 DIST genpatches-5.16-15.experimental.tar.xz 5424 BLAKE2B 
8ab77c5903f502534ad472f9387bc3c466911b633d2264dff0bf622ba86f55f5e606fc328a8de760857f2ef1c8d0a7b611608d65db502a6d94ed1c01cd5b85ab
 SHA512 
24b4a46fc694e05aa25e199f97c4b88428c31ac94563f6e145f8d6848b0447c9548e03c958c823add6457d6eaaaebb4c9ced132740a9685a620d1b61f7ae9005
 DIST genpatches-5.16-15.extras.tar.xz 3800 BLAKE2B 
b4142537d04eed518b9a7e827879b7e427d8c0a06710dd72f9f84e1990db72dd48382c67a9e0cf24f9b104b8cddf4d28739fd93e705b97952e364b3693ff1671
 SHA512 
773543f9989255ce2fb3f6f32aa546f2109eb52e2e816572e027a8428f93bb9c72baadc59ee3019edd03fc97339d30c34c2d8b50b2e1d0e5383b1633b2c0e169
+DIST genpatches-5.16-16.base.tar.xz 747884 BLAKE2B 
753592e7d39dc64cd8567df14449bdc7bcea37a2d7ff6b508d6f5a22053bdb7e1a80f3ec0a2aea7560191a239bc93d94db4618e3d4e43b4a2537b2cbf92aab3a
 SHA512 
8f184d6e708f7a8828fe0e7c9ff249293158047fb38bd8ebdc2eeb76388bfb370f0ea832ce19352e3180d6bae624fed97bcc6e3abc3492fa5e4a0a55159a4ba8
+DIST genpatches-5.16-16.experimental.tar.xz 5420 BLAKE2B 
285aa3d5dc2a968372f641a7c660c17841dae22837788b5923405dab40a8d9fc0029d655468fbc3c783c19d99ccb11fd89f8a80281332d1fe932d74342fa6c78
 SHA512 
2576b279b4e429e3fbb4465ce3a6d7c47c81ee6f7882dce428f4d626e73f8f28c58662a60c0313aa20fe185fad71019fcb6bb10e3954a3074dc6a4043ca9abac
+DIST genpatches-5.16-16.extras.tar.xz 3800 BLAKE2B 
05b8ec6533b54f39ebb66402d88dba619601f9edf73a769f765c3acbccf88513fb8a17dfe58e490762013543fcc980e2ca285f23d6c0a71cf871941d523bcc76
 SHA512 
e0acbf026bbe216bbe3856b7f99fd391b7a2a856ab2e6cf7b3fbc91811a8c1d622dec2d2e2ced5790d388fb17dadbd086a074f814af59b69c7287024c604bb50
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
 DIST linux-5.16.tar.xz 123114100 BLAKE2B 
07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb
 SHA512 
7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
 DIST sifive-patches-5.15.23-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697
 DIST sifive-patches-5.16.14-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397
+DIST sifive-patches-5.16.15-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild
new file mode 100644
index 000..5f96e4f
--- /dev/null
+++ b/sys-kernel/sifive-sources/sifive-sources-5.16.15.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="16"
+K_NOSETEXTRAVERSION="1"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa 

[gentoo-commits] proj/riscv:master commit in: virtual/linux-sources/

2022-03-18 Thread Yixun Lan
commit: 11f5f94bde5bcff28dcf8092fb20e53009cc983e
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Mar 19 00:38:58 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Mar 19 00:38:58 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=11f5f94b

virtual/linux-sources: add sifive-sources

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 virtual/linux-sources/linux-sources-3-r6.ebuild | 26 +
 virtual/linux-sources/metadata.xml  | 16 +++
 2 files changed, 42 insertions(+)

diff --git a/virtual/linux-sources/linux-sources-3-r6.ebuild 
b/virtual/linux-sources/linux-sources-3-r6.ebuild
new file mode 100644
index 000..98f57dd
--- /dev/null
+++ b/virtual/linux-sources/linux-sources-3-r6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Virtual for Linux kernel sources"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+IUSE="firmware"
+
+RDEPEND="
+   firmware? ( sys-kernel/linux-firmware )
+   || (
+   sys-kernel/gentoo-sources
+   sys-kernel/vanilla-sources
+   sys-kernel/git-sources
+   sys-kernel/mips-sources
+   sys-kernel/pf-sources
+   sys-kernel/rt-sources
+   sys-kernel/zen-sources
+   sys-kernel/raspberrypi-sources
+   sys-kernel/sifive-sources
+   sys-kernel/gentoo-kernel
+   sys-kernel/gentoo-kernel-bin
+   sys-kernel/vanilla-kernel
+   )"

diff --git a/virtual/linux-sources/metadata.xml 
b/virtual/linux-sources/metadata.xml
new file mode 100644
index 000..cf6d1af
--- /dev/null
+++ b/virtual/linux-sources/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   
+   
+   ker...@gentoo.org
+   Gentoo Kernel Project
+   
+   
+   Install linux kernel firmware
+   
+   
+



[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-03-12 Thread Yixun Lan
commit: fc74018a69101cf5b364c970653fd3eddf85a2c8
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Mar 12 12:03:49 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Mar 12 12:03:49 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=fc74018a

sys-kernel/sifive-sources: version bump 5.16.14

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest |  5 
 .../sifive-sources/sifive-sources-5.16.14.ebuild   | 34 ++
 2 files changed, 39 insertions(+)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index fa37d55..29e183c 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -1,5 +1,10 @@
 DIST genpatches-5.15-25.base.tar.xz 1018612 BLAKE2B 
493b8c695f2bfcdfa36712143ffad423883273b48e0ae45db226d9e12b809764538716fa8dc257d0cb211f9db50f6af437cc8d19dde0e8af5a10accf85a3b4be
 SHA512 
f268ace309d283079e0f491a3a77de56d4a18fa31bba643be4d215f931baf6a251d1e28c358d4b606b0ea15fc34e71f6b13901f5eb95f18ebad79f384bb6e5a9
 DIST genpatches-5.15-25.experimental.tar.xz 5420 BLAKE2B 
44293344502125562bbda7ee9bedc05141a9b78ffb8fc3178e857a1a638f6943abe9f235679e858646d69e3a470cd047845efd2703f187aade8f2197f4ce
 SHA512 
4a229d0ad358732af9bd09eb93f6e80aad3a20c0bc64bb083a1e64472fcff89db761a396c9ecaf03b6e52976fb61d96db39023120b6fe463222767d0f2230059
 DIST genpatches-5.15-25.extras.tar.xz 3876 BLAKE2B 
17a20913e907e6b6a87afdd7775b7f9811bc3eed5374b957244242fdbc655519606063656bb8e5f51ded3168f73e99832d0cdf66e830811dc1e5ea0c0b8a2582
 SHA512 
1b8f4424996351a70c26f5a90c2490078c1a8daa80da578e2e3b3d1c4be6a4474d40cbd2e6fae8b1f1b9389cdaf2257e01a14ac6c2f7ece8a883d74a686e
+DIST genpatches-5.16-15.base.tar.xz 709572 BLAKE2B 
bb6e5656cee01af674e30c5dbf66d6d538122161c69a21951f5b514c9d372a7ba40d653ee8c25358875fe4feaaea272cc849b6d07ede548d912b8672531e2815
 SHA512 
ad2daebb4d7602c8426b9990c9a2148715247917bf32a0310676b02f38f82b306b4469660836718747705074c8616fc2b083e9c6fdcb982a94be3bb06c7c05a4
+DIST genpatches-5.16-15.experimental.tar.xz 5424 BLAKE2B 
8ab77c5903f502534ad472f9387bc3c466911b633d2264dff0bf622ba86f55f5e606fc328a8de760857f2ef1c8d0a7b611608d65db502a6d94ed1c01cd5b85ab
 SHA512 
24b4a46fc694e05aa25e199f97c4b88428c31ac94563f6e145f8d6848b0447c9548e03c958c823add6457d6eaaaebb4c9ced132740a9685a620d1b61f7ae9005
+DIST genpatches-5.16-15.extras.tar.xz 3800 BLAKE2B 
b4142537d04eed518b9a7e827879b7e427d8c0a06710dd72f9f84e1990db72dd48382c67a9e0cf24f9b104b8cddf4d28739fd93e705b97952e364b3693ff1671
 SHA512 
773543f9989255ce2fb3f6f32aa546f2109eb52e2e816572e027a8428f93bb9c72baadc59ee3019edd03fc97339d30c34c2d8b50b2e1d0e5383b1633b2c0e169
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
+DIST linux-5.16.tar.xz 123114100 BLAKE2B 
07a90cc640ff89e1359c06cee8c38abd33e51f9b9a89833e31a1d2750526fda4a59e8884db3c1ea63df0a37f0d3de6b5a922b014b7313d8abce20d90ac08adcb
 SHA512 
7a257dd576bc8493595ec7d6f3c9cb6e22c772a8b2dbe735d2485c4f5c56e26a08695546e7e0f1f1cd04a533f25e829361958d4da0b98bf0ba8094dd57a85aaf
 DIST sifive-patches-5.15.23-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697
+DIST sifive-patches-5.16.14-0.patch.xz 2664 BLAKE2B 
597d0fb7ce7acfb23512f606486488c5f00fd01d5e97d9c64c0c2c30b3750cd86bc3aa546f0c0cbd009fdcf4951c8830b4207dc65609a4ed7a822dddc9f9
 SHA512 
611d48e59f78dfad2800870a80cb7ec3a6a55ce7378288200dca9d0490ade273282c4576b98e44f9bbfefb3b6d431028a2b1fee76234d669a733f85b0721a397

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.16.14.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.16.14.ebuild
new file mode 100644
index 000..e97b5b1
--- /dev/null
+++ b/sys-kernel/sifive-sources/sifive-sources-5.16.14.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="15"
+K_NOSETEXTRAVERSION="1"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches;
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the 
${KV_MAJOR}.${KV_MINOR} kernel tree"
+SIFIVE_PATCH="sifive-patches-${PV}-0.patch.xz"
+SIFIVE_URI="https://dev.gentoo.org/~dlan/distfiles/genpatches/${SIFIVE_PATCH};
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} 

[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-03-08 Thread Yixun Lan
commit: f79edff907015ddd8352723df5ee1f8113f32e2e
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Mar  1 13:22:40 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Mar  1 13:22:40 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f79edff9

sys-kernel/sifive-sources: version bump, 5.15.23

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest| 8 
 ...ifive-sources-5.15.13.ebuild => sifive-sources-5.15.23.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index 468ddd0..fa37d55 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -1,5 +1,5 @@
-DIST genpatches-5.15-15.base.tar.xz 662744 BLAKE2B 
8eed543eaa9a3c4778d4fb196877820305dd0fae7857c719fd68f04b2fe7fb0d6b7e19ae7a157adc7cd301f0e7f35e8c0fee7bf58f4104c0a802a6e2e2f6204c
 SHA512 
f0253d9cc063a8d29f3796dfe1eba7109ba89340d1e4178149c4786e36bc01e12f00a48968b9109438ea349b1ca1f486ae35d0103c08577892fcb83befa514cf
-DIST genpatches-5.15-15.experimental.tar.xz 69396 BLAKE2B 
924847ea024a087946b5840df8ebb8771f2facb5275a880e6599e92bca255c3366f38fe025f812bf31bc68e23927f394118e45255eec62753cbd898203bd6f67
 SHA512 
66de1e8ab3200448e7fbc35631846d241eb8e8e1ab21a4d96d3dd49d23b2c8ee17241a9f88e9a53e23babe30f3fb35b94cdf8ee89833c27cb9213521c29e3c57
-DIST genpatches-5.15-15.extras.tar.xz 3852 BLAKE2B 
0329c5eb48a8a7abaa686d62fae617d2a4066577aeaebc787ed2547de293f7203576fbbe9075d6289c774a2c95f26c085b3011df84dbd1d36d6b652644db3656
 SHA512 
b5930766e7f7b0adbea14d44526f570e058d8121b14b548e50ce185c1c49a1c5d20d2cd9b21c196066b8291b782693cbe38cac9f822ec1c015729e3edbb787f6
+DIST genpatches-5.15-25.base.tar.xz 1018612 BLAKE2B 
493b8c695f2bfcdfa36712143ffad423883273b48e0ae45db226d9e12b809764538716fa8dc257d0cb211f9db50f6af437cc8d19dde0e8af5a10accf85a3b4be
 SHA512 
f268ace309d283079e0f491a3a77de56d4a18fa31bba643be4d215f931baf6a251d1e28c358d4b606b0ea15fc34e71f6b13901f5eb95f18ebad79f384bb6e5a9
+DIST genpatches-5.15-25.experimental.tar.xz 5420 BLAKE2B 
44293344502125562bbda7ee9bedc05141a9b78ffb8fc3178e857a1a638f6943abe9f235679e858646d69e3a470cd047845efd2703f187aade8f2197f4ce
 SHA512 
4a229d0ad358732af9bd09eb93f6e80aad3a20c0bc64bb083a1e64472fcff89db761a396c9ecaf03b6e52976fb61d96db39023120b6fe463222767d0f2230059
+DIST genpatches-5.15-25.extras.tar.xz 3876 BLAKE2B 
17a20913e907e6b6a87afdd7775b7f9811bc3eed5374b957244242fdbc655519606063656bb8e5f51ded3168f73e99832d0cdf66e830811dc1e5ea0c0b8a2582
 SHA512 
1b8f4424996351a70c26f5a90c2490078c1a8daa80da578e2e3b3d1c4be6a4474d40cbd2e6fae8b1f1b9389cdaf2257e01a14ac6c2f7ece8a883d74a686e
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST sifive-patches-5.15.13-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697
+DIST sifive-patches-5.15.23-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.15.23.ebuild
similarity index 97%
rename from sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild
rename to sys-kernel/sifive-sources/sifive-sources-5.15.23.ebuild
index ab28dfe..36014e0 100644
--- a/sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild
+++ b/sys-kernel/sifive-sources/sifive-sources-5.15.23.ebuild
@@ -4,7 +4,7 @@
 EAPI="8"
 ETYPE="sources"
 K_WANT_GENPATCHES="base extras experimental"
-K_GENPATCHES_VER="15"
+K_GENPATCHES_VER="25"
 K_SECURITY_UNSUPPORTED="1"
 K_NOSETEXTRAVERSION="1"
 



[gentoo-commits] proj/riscv:master commit in: /

2022-01-13 Thread Yixun Lan
commit: cfb2680dcdf000c7164e6255dc1e0f8a6d2ca8d8
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan 14 07:16:35 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 14 07:18:44 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=cfb2680d

Add and README declaration

Signed-off-by: Yixun Lan  gentoo.org>

 README.rst | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/README.rst b/README.rst
new file mode 100644
index 000..c788cc9
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,19 @@
+==
+Gentoo RISC-V Overlay
+==
+
+.. NOTE: If editing this, be sure to update the line numbers in
+ 'doc/introduction'
+
+This is a Gentoo overlay dedicated for RISC-V architecture, and collecting
+highly experimental ebuilds which aren't ready for official main portage tree.
+
+.. important::
+
+   Although the team have tried their best to test all packages, there is no 
guarentee
+   that they will always work properly! Do backup before use in case of data 
loss.
+
+License
+-
+
+Distributed under the terms of the GNU General Public License v2



[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2022-01-13 Thread Yixun Lan
commit: 2bebdfe28f2fcb445796da066a6f59835b48f6ea
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan 14 06:48:58 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan 14 06:48:58 2022 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=2bebdfe2

sys-kernel/sifive-sources: version bump 5.15.13

the sifive patchset is not changed, same as 5.15.11

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest| 8 
 ...ifive-sources-5.15.11.ebuild => sifive-sources-5.15.13.ebuild} | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
index afa2d1f..468ddd0 100644
--- a/sys-kernel/sifive-sources/Manifest
+++ b/sys-kernel/sifive-sources/Manifest
@@ -1,5 +1,5 @@
-DIST genpatches-5.15-13.base.tar.xz 604984 BLAKE2B 
c674c2eefbc18f2a8d182fa95606714b9a74420d7a3ebb32138b714743f11a7c7b278d77d33747bd1fa1a46e8f8e8364a9238ce3acee6134f889fae267ab0239
 SHA512 
0741c183cf8def586fc17fcb2a44d81dd5494ac9430a5ca07d239079f41a7a24bb686406e0ecfccdeb8a38e33e99831d2b355d0e8e65e8dd2e30db5f4b0bbe4d
-DIST genpatches-5.15-13.experimental.tar.xz 69424 BLAKE2B 
db1fa9e3535b955eefc9824053b05f16baa8492715ed012df87373cdb73391e36530618968302082122c9e40678a393f83b89bc2dece09fedead0aacdac3f5e5
 SHA512 
5abb903dc816d5f17c119dec6edea03571fb8293bd5a5a51bc3f7cbeee11e025915eae9c7ca0a25518d8a9d7efbfddf98c38265e4e8200dc10938edaa2003567
-DIST genpatches-5.15-13.extras.tar.xz 3852 BLAKE2B 
131550ddf5d1d67808b98040e88bb75d9020ee99b7907d0b79839a366c52e83c5bee6a322f12363ca0cfa9816d17b36002b5ace1620ef80b386ee8c09fd23866
 SHA512 
79fe958fcd5b3c4c7406374431e28a482b7512214c0ddbbf24d5f4a42e7feafb3f235f266b0023e666348c2c1888d1c678d726403b2f873d55991e5aaef4b74c
+DIST genpatches-5.15-15.base.tar.xz 662744 BLAKE2B 
8eed543eaa9a3c4778d4fb196877820305dd0fae7857c719fd68f04b2fe7fb0d6b7e19ae7a157adc7cd301f0e7f35e8c0fee7bf58f4104c0a802a6e2e2f6204c
 SHA512 
f0253d9cc063a8d29f3796dfe1eba7109ba89340d1e4178149c4786e36bc01e12f00a48968b9109438ea349b1ca1f486ae35d0103c08577892fcb83befa514cf
+DIST genpatches-5.15-15.experimental.tar.xz 69396 BLAKE2B 
924847ea024a087946b5840df8ebb8771f2facb5275a880e6599e92bca255c3366f38fe025f812bf31bc68e23927f394118e45255eec62753cbd898203bd6f67
 SHA512 
66de1e8ab3200448e7fbc35631846d241eb8e8e1ab21a4d96d3dd49d23b2c8ee17241a9f88e9a53e23babe30f3fb35b94cdf8ee89833c27cb9213521c29e3c57
+DIST genpatches-5.15-15.extras.tar.xz 3852 BLAKE2B 
0329c5eb48a8a7abaa686d62fae617d2a4066577aeaebc787ed2547de293f7203576fbbe9075d6289c774a2c95f26c085b3011df84dbd1d36d6b652644db3656
 SHA512 
b5930766e7f7b0adbea14d44526f570e058d8121b14b548e50ce185c1c49a1c5d20d2cd9b21c196066b8291b782693cbe38cac9f822ec1c015729e3edbb787f6
 DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
-DIST sifive-patches-5.15.11-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697
+DIST sifive-patches-5.15.13-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild
similarity index 94%
rename from sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild
rename to sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild
index e0bd086..ab28dfe 100644
--- a/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild
+++ b/sys-kernel/sifive-sources/sifive-sources-5.15.13.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
 ETYPE="sources"
 K_WANT_GENPATCHES="base extras experimental"
-K_GENPATCHES_VER="13"
+K_GENPATCHES_VER="15"
 K_SECURITY_UNSUPPORTED="1"
 K_NOSETEXTRAVERSION="1"
 



[gentoo-commits] proj/riscv:master commit in: mail-client/thunderbird/files/icon/, mail-client/thunderbird/, ...

2021-12-30 Thread Yixun Lan
commit: 653b0c1176a39311f52dc73abdf957a2d250d749
Author: Alex Fan  gmail  com>
AuthorDate: Sun Dec 26 02:37:46 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 06:27:29 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=653b0c11

mail-client/thunderbird: initial import

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 mail-client/thunderbird/Manifest   |   65 ++
 .../files/disable-auto-update.policy.json  |5 +
 mail-client/thunderbird/files/distribution.ini |9 +
 .../thunderbird/files/gentoo-default-prefs.js  |7 +
 .../thunderbird/files/gentoo-hwaccel-prefs.js  |3 +
 .../thunderbird/files/icon/thunderbird-r2.desktop  |   30 +
 mail-client/thunderbird/files/thunderbird-r1.sh|  116 ++
 .../thunderbird/files/thunderbird-wayland.sh   |7 +
 mail-client/thunderbird/files/thunderbird-x11.sh   |7 +
 mail-client/thunderbird/files/thunderbird.sh   |  128 +++
 mail-client/thunderbird/metadata.xml   |   36 +
 .../thunderbird/thunderbird-91.4.0-r1.ebuild   | 1130 
 12 files changed, 1543 insertions(+)

diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
new file mode 100644
index 000..1632b29
--- /dev/null
+++ b/mail-client/thunderbird/Manifest
@@ -0,0 +1,65 @@
+DIST firefox-91esr-patches-03.tar.xz 17204 BLAKE2B 
6ef1aa70708f9e5a5926f712d449bb40c86d449389a5d4c1730ada065d4af252b08cd17eafaee7cc01ea0c50c53b272c38a047760d3cf94ba34375ff77af534c
 SHA512 
2c02a6ba36934f796a7b2d3ded0b68689ce4b21f21396004e829102bcc56e302c89357d18c4f353c62f45865dccde27230cdb016d99c42b3ae12b4e5a6a02e6d
+DIST thunderbird-91.4.0-af.xpi 560247 BLAKE2B 
af3a2fc1920244ebd4de83b4f074fbf203ccc59343c74bc7ec2cc3dc3d4e1ca6ac72f821e32be8ec1805dd34ebc20d532791de938ad92a467c7af4e8e1224b7b
 SHA512 
e32b3261ad097a0633fe4a5f36f1d9d8f547f5da737ef84248a439093cc4817d67ee66781552ee63a0cfbb4c6096a155dbd9a348a8033dbc32b2b1ee36cded21
+DIST thunderbird-91.4.0-ar.xpi 660313 BLAKE2B 
70411d5ee7732b1be976e91fb3c7244e5c06c111d3f5eb26fee548d5cfd4b66f97eeaa50d67580e58ea0bff08eee5deaafacf6b5ac6a89ce315c5834c6822e31
 SHA512 
007c9cddb50ef8dbbed6e118b607cd48eb5e93be60953d121adb3d6f0b358d6aed5db9cc17d7236d88f531c93ee84a56be23a98a2b23a5aed58cf8ef58c41fbe
+DIST thunderbird-91.4.0-ast.xpi 577052 BLAKE2B 
3b8b5d0f23080dd8fa894af8e20508d1d6eb8d48b7ddaa8f22a58c54b30557e78a8d8d70499c338219c5b3c759aa2e9ff25c6ed2058d00d6dd032a7be5283634
 SHA512 
2b48118251da81317f3555ce03b1af928a8e6415331b7fdcd64f33ab28f3782f81ad26c21aeebb6a91ae2db37a29329b85b4a2305b794b3c0503487f5bfbf4b0
+DIST thunderbird-91.4.0-be.xpi 687228 BLAKE2B 
cbac83707cc31b67f7bd1dfb78630182273d4de0a038fdfc6687d5f9e4bbee2c0f6ed178b8c443046eb974e1f25123480277cba5eea37948d2b64619447f2f12
 SHA512 
7575fb577ad7d7ccaed3d593c3453c057e8b702b7726e5a57a0f86bf43013ec3f784db882c834aa36f49c1f4f8fec475a5c8614240d284cbeb5a90c451c32a4c
+DIST thunderbird-91.4.0-bg.xpi 686416 BLAKE2B 
d513ddc6ca618466c5ad10096bb5f971db7e3191c86a5dbb1dcb2f701e55f6c58f0f2cde7d9f92254ef76a35ab540e9bd248222edb44cea3af5cfd1a05576b0e
 SHA512 
6179c248bf149260816bc095c86ed5520f6d0eda6da6b44b30e0709aee63b76e2ef9ba66fefc7671d9be1c52a3113c77dfeb29647752c00b12d56cfe82f633ff
+DIST thunderbird-91.4.0-br.xpi 616018 BLAKE2B 
1d9e436ef4c9753de14b139c9125e207d39aaf0a008d408589e79bcf416467e8d8114930274f1595a7dceb12eb36a4070952dc273429873fa7639413f732dbea
 SHA512 
bb1753fe3fe58d556571be0175c76e49c0e27bbccaa7dd25001253f33d126d4a254e7000cea0085c9ad31f86863794179295adc4512b0f3060625a7e4ba0aa6d
+DIST thunderbird-91.4.0-ca.xpi 641158 BLAKE2B 
9fdb1da8796e3f3949df80e3f707a30fb8214d696728e8726cab414c4b123aa16aa3482471657a10bf9c930dd8c66a9b5b42a6c41470094ccaef4315dc63baa3
 SHA512 
f77552682e332fee6ae9a25fa1357ff4ed37c718d7b795a0d5660ae8d29ea5f918dbe3e86ae0fd5cd1914ea183db67bc6ada7f5f250fc292460c158f8ef20635
+DIST thunderbird-91.4.0-cak.xpi 647216 BLAKE2B 
306e4b471bcff4735ff2f4376b879aa2311b42b71b9246ee4e119257a83255df31ff816c2483a1221fb72a36dca7165067a224e5d8edbfdc22d2aa63304f2116
 SHA512 
26af8ff785c84eea0022bba873d30e00f09058203a7530d6a7f8bd999fd1350a9be48a517d6c227b10a3e42e205e1125d0ec05c935506f8278e4ea3163c81ede
+DIST thunderbird-91.4.0-cs.xpi 698288 BLAKE2B 
da6652fac4e8b751aaad8b97ace06fb0c5d8fa6200e36742005f6d304ed002f6855df9cc9bb5dd2e19907562bf489998a2de1ad46cae790042d6d1e54405e091
 SHA512 
3f66c6ee4fdc4d0749e89026664dcca01f2afd48c4633a08d9cd7cd8005f7c55f8b0e88c0bec6a91be1a0a3d67e26a9cf2f6f031f32aa6066a7e7cafc1b22417
+DIST thunderbird-91.4.0-cy.xpi 673997 BLAKE2B 
8f9ff9e51e4e013658630267c28450af2783af39f663a5317d1676f93322d0c53d6dfaafed9e27e25f035babeb323c0a9405504922ce61a22c4f3112ac0516a7
 SHA512 
4f8c31c7a9fa10830022d9154c89046eebf6bbbe171a1e9e163a6994a75f10cfbdeeefe5fa7e156189d38a4df9e563b0afaaf32cda130b3570c833d849a7ede4
+DIST thunderbird-91.4.0-da.xpi 655952 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: mail-client/thunderbird/

2021-12-30 Thread Yixun Lan
commit: 961c09600b58a22e4eaa54d5d4592f535659c7d4
Author: Alex Fan  gmail  com>
AuthorDate: Sun Dec 26 02:54:31 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Dec 30 08:44:45 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=961c0960

mail-client/thunderbird: add 94.0_beta1 experimental support for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 mail-client/thunderbird/Manifest   | 131 +++--
 ...4.0-r1.ebuild => thunderbird-94.0_beta1.ebuild} |  10 +-
 2 files changed, 72 insertions(+), 69 deletions(-)

diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 1632b29..c4595e9 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,65 +1,66 @@
-DIST firefox-91esr-patches-03.tar.xz 17204 BLAKE2B 
6ef1aa70708f9e5a5926f712d449bb40c86d449389a5d4c1730ada065d4af252b08cd17eafaee7cc01ea0c50c53b272c38a047760d3cf94ba34375ff77af534c
 SHA512 
2c02a6ba36934f796a7b2d3ded0b68689ce4b21f21396004e829102bcc56e302c89357d18c4f353c62f45865dccde27230cdb016d99c42b3ae12b4e5a6a02e6d
-DIST thunderbird-91.4.0-af.xpi 560247 BLAKE2B 
af3a2fc1920244ebd4de83b4f074fbf203ccc59343c74bc7ec2cc3dc3d4e1ca6ac72f821e32be8ec1805dd34ebc20d532791de938ad92a467c7af4e8e1224b7b
 SHA512 
e32b3261ad097a0633fe4a5f36f1d9d8f547f5da737ef84248a439093cc4817d67ee66781552ee63a0cfbb4c6096a155dbd9a348a8033dbc32b2b1ee36cded21
-DIST thunderbird-91.4.0-ar.xpi 660313 BLAKE2B 
70411d5ee7732b1be976e91fb3c7244e5c06c111d3f5eb26fee548d5cfd4b66f97eeaa50d67580e58ea0bff08eee5deaafacf6b5ac6a89ce315c5834c6822e31
 SHA512 
007c9cddb50ef8dbbed6e118b607cd48eb5e93be60953d121adb3d6f0b358d6aed5db9cc17d7236d88f531c93ee84a56be23a98a2b23a5aed58cf8ef58c41fbe
-DIST thunderbird-91.4.0-ast.xpi 577052 BLAKE2B 
3b8b5d0f23080dd8fa894af8e20508d1d6eb8d48b7ddaa8f22a58c54b30557e78a8d8d70499c338219c5b3c759aa2e9ff25c6ed2058d00d6dd032a7be5283634
 SHA512 
2b48118251da81317f3555ce03b1af928a8e6415331b7fdcd64f33ab28f3782f81ad26c21aeebb6a91ae2db37a29329b85b4a2305b794b3c0503487f5bfbf4b0
-DIST thunderbird-91.4.0-be.xpi 687228 BLAKE2B 
cbac83707cc31b67f7bd1dfb78630182273d4de0a038fdfc6687d5f9e4bbee2c0f6ed178b8c443046eb974e1f25123480277cba5eea37948d2b64619447f2f12
 SHA512 
7575fb577ad7d7ccaed3d593c3453c057e8b702b7726e5a57a0f86bf43013ec3f784db882c834aa36f49c1f4f8fec475a5c8614240d284cbeb5a90c451c32a4c
-DIST thunderbird-91.4.0-bg.xpi 686416 BLAKE2B 
d513ddc6ca618466c5ad10096bb5f971db7e3191c86a5dbb1dcb2f701e55f6c58f0f2cde7d9f92254ef76a35ab540e9bd248222edb44cea3af5cfd1a05576b0e
 SHA512 
6179c248bf149260816bc095c86ed5520f6d0eda6da6b44b30e0709aee63b76e2ef9ba66fefc7671d9be1c52a3113c77dfeb29647752c00b12d56cfe82f633ff
-DIST thunderbird-91.4.0-br.xpi 616018 BLAKE2B 
1d9e436ef4c9753de14b139c9125e207d39aaf0a008d408589e79bcf416467e8d8114930274f1595a7dceb12eb36a4070952dc273429873fa7639413f732dbea
 SHA512 
bb1753fe3fe58d556571be0175c76e49c0e27bbccaa7dd25001253f33d126d4a254e7000cea0085c9ad31f86863794179295adc4512b0f3060625a7e4ba0aa6d
-DIST thunderbird-91.4.0-ca.xpi 641158 BLAKE2B 
9fdb1da8796e3f3949df80e3f707a30fb8214d696728e8726cab414c4b123aa16aa3482471657a10bf9c930dd8c66a9b5b42a6c41470094ccaef4315dc63baa3
 SHA512 
f77552682e332fee6ae9a25fa1357ff4ed37c718d7b795a0d5660ae8d29ea5f918dbe3e86ae0fd5cd1914ea183db67bc6ada7f5f250fc292460c158f8ef20635
-DIST thunderbird-91.4.0-cak.xpi 647216 BLAKE2B 
306e4b471bcff4735ff2f4376b879aa2311b42b71b9246ee4e119257a83255df31ff816c2483a1221fb72a36dca7165067a224e5d8edbfdc22d2aa63304f2116
 SHA512 
26af8ff785c84eea0022bba873d30e00f09058203a7530d6a7f8bd999fd1350a9be48a517d6c227b10a3e42e205e1125d0ec05c935506f8278e4ea3163c81ede
-DIST thunderbird-91.4.0-cs.xpi 698288 BLAKE2B 
da6652fac4e8b751aaad8b97ace06fb0c5d8fa6200e36742005f6d304ed002f6855df9cc9bb5dd2e19907562bf489998a2de1ad46cae790042d6d1e54405e091
 SHA512 
3f66c6ee4fdc4d0749e89026664dcca01f2afd48c4633a08d9cd7cd8005f7c55f8b0e88c0bec6a91be1a0a3d67e26a9cf2f6f031f32aa6066a7e7cafc1b22417
-DIST thunderbird-91.4.0-cy.xpi 673997 BLAKE2B 
8f9ff9e51e4e013658630267c28450af2783af39f663a5317d1676f93322d0c53d6dfaafed9e27e25f035babeb323c0a9405504922ce61a22c4f3112ac0516a7
 SHA512 
4f8c31c7a9fa10830022d9154c89046eebf6bbbe171a1e9e163a6994a75f10cfbdeeefe5fa7e156189d38a4df9e563b0afaaf32cda130b3570c833d849a7ede4
-DIST thunderbird-91.4.0-da.xpi 655952 BLAKE2B 
7b4068cfcd45cfc34eaa26767787b649ee6cfd57539aa5763ae92b69ad759ed076793de1825ff2b2a71f0db6119116b3db7c54481cd14349452c3d3a32b12451
 SHA512 
4fbac163911ca6208c056cfc6659bbc8931c97fc08782ebbfb603297bcd061359f7a93526b604c0f939f9d48e63cb9834326c026db1ef5be3a45725050cb9006
-DIST thunderbird-91.4.0-de.xpi 687004 BLAKE2B 
35e0de30d41356e0ddbb01d0889d6abf2bbb2c119f7b82a01c3d36409da1d53cc62342633f222cd8762fb6da9547848c72a8932fa452d189bdebb4c8118d
 SHA512 
2ffac5512986d18ec276450b30d00e56e8d8bc208ac2fc5538b4e18997c8195306a6178b99c8870fbd4e2f16a773fff4aa0c6f73cb1e7e36c8774fadb3e1d789
-DIST thunderbird-91.4.0-dsb.xpi 707237 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: www-client/firefox/

2021-12-28 Thread Yixun Lan
commit: acb23d939725c3ec29a6ba6fe60d188c84d2da4a
Author: Alex Fan  gmail  com>
AuthorDate: Sun Dec 26 04:04:14 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 06:24:45 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=acb23d93

www-client/firefox: restore multilanguage support

Signed-off-by: Yixun Lan  gentoo.org>
Signed-off-by: Alex Fan  gmail.com>

 www-client/firefox/Manifest  | 97 
 www-client/firefox/firefox-94.0_beta1.ebuild | 43 +++-
 2 files changed, 139 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 7d36b38..a7f7936 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,3 +1,100 @@
 DIST firefox-94-patches-80.tar.xz 21016 BLAKE2B 
0cd63b474a8f747020a91234cdc857b5ca0b2681105c5a56824c942dcf33a96f7c09eac2d65e52e678dcf841248179450dc90e7ad829129acfcdecec9aa157b1
 SHA512 
08734840864e6603466bc91ed1ea3db9c6ee506b581a28a0e8d3c6e73039dad83526ffa65a3c888e80eb4f74680727e081f306e1dce06a0fa70c9b4db55fa282
 DIST firefox-94-patches-riscv.tar.xz 2959424 BLAKE2B 
f6193c2039cc45ae9793fb84fbba10f47ca428229196d253c5b1aa3f03a4f5e23971aeaffa51cbe4b96ccf42c23fd20151b11e5ae12bab19aaf4097fb1007ffe
 SHA512 
c643effeb834ae396dd1bacbc36c9c655739eb3410c3bab43417b5784568c7cde469b608637c951936c9175b0e37cf7c2b5aa01f3cb8ba56f8e5e748c8694c6e
+DIST firefox-94.0b1_beta1-ach.xpi 446928 BLAKE2B 
e9b9b4bfdf674a61a1cf6fa69f0359e598e0279ebc71328d0d7fa73bd7c769c71d68dab32c284fe94d4f642817cfe5180157fe706c4aec9f8db9fb0b253172b7
 SHA512 
467a31a314e923b772a8843ad97016b24659c7c8c0ef1c7c514d5e18a85eec2cdd22f10439ae940379969fef86340c3d20ae847840d87d5886f55f0a6f4708cd
+DIST firefox-94.0b1_beta1-af.xpi 418382 BLAKE2B 
3f31a99f20d22efc5f8c75f62057e55cfa4dab4ca8d315889f42d9b8ba6efaf992e0f2ed32174f387f818e5613d3d7fe2e034c90229ee574fe5f364339e3525e
 SHA512 
6707759bf9a4c993d633dae60849293a362afaf025e9efebb00f5b84ff6980655221cc27d9e6d6329bb3cda26043dde7248cc92dc29f805660421816bc290728
+DIST firefox-94.0b1_beta1-an.xpi 493974 BLAKE2B 
2e7e74f61e45f2570a9abb929ec7ce7c7895e4b8cad71b698ebbb1f6c59404194a5848bdedf6fd40c76d525c6cbcc27b1b643d7c23ce76257c8a3f1faaa7481a
 SHA512 
c1a15d49b2eb1198acb393de4f32baf8105664099cee1c80a08483da2c701dcf8c418b1c4476adf8a83bc08aeaf49834b71d2c71d68599f4d38adefe94d416bd
+DIST firefox-94.0b1_beta1-ar.xpi 552725 BLAKE2B 
3f9a009f5991c8c15ae0e22ce21168ec5e29eff9064de720758c8161e2debac7e0c329faa1639a2f11860c24cab179ddb23e71295368df04d81e8b786bb4a175
 SHA512 
cd05fc34230cf5cc0d524a04ad87beee608bbe068450b431ccb512e76951acac2277a87783fddc95c958b86490b3e2c1d2860262be2dd653c5eedab420f5a58c
+DIST firefox-94.0b1_beta1-ast.xpi 492333 BLAKE2B 
6812583c95763457807403b9eda65d85f0dd3d2f902203b1df26c8ac652447f477eab52b1e01d6f5816bb8803c1d884e171414cf1105e3f40a801bbd458df72f
 SHA512 
5812f1371fea91f5af48860ffee197006209ad8f2cdc56a34133145622dbfcb8e4ee44bcc6a423880a59f5243220a69eddd16aa56841f14f85a6bdd01267fb5d
+DIST firefox-94.0b1_beta1-az.xpi 482454 BLAKE2B 
50a4b99bcc3cc2efc28f0c959400369e4149be23a2b2566079a49e0776e935db4d5fa10b267c022a97ee96cf644479b4a7f5cf017e02458c33fd9c6d8ddb36af
 SHA512 
13f1bac2ecb81ec6a633e0cf61dae4801bf92786750be56560d9c3f071d0f9e566426e14c5aa573f79397b1747d444f70b2815286b7d431842efde4cff6456c5
+DIST firefox-94.0b1_beta1-be.xpi 608858 BLAKE2B 
2109d83d560101bff3ea0e0d00c40e67cbdd77d2464ce4ca1159af28854dd3ed812397b688c3251cd19e7cc78b31fd8ad9180823f59bd434daa143dbe95c7111
 SHA512 
0aae96c72c137ac7b7f5288a4cfa98470297ed2008850ab80bdb73ef96e670f88e7c91a8a88d1301b60d2be40509285ead8d55dab5fdd0524a5613ba2f89295d
+DIST firefox-94.0b1_beta1-bg.xpi 560284 BLAKE2B 
83b691acea18c690d330f68361a340d6e9c7244176f1c75cd0a933900964e2a8645a7145a155a05ff46792d700386f6c4914ea25b6bcb8f3b236852c852c37e8
 SHA512 
1b6c068a2552eb9ca19802ef021ff9a96f76b6ff84fae4c650685e655a763c15e2142eee02d5ac5c49aef9b1d5a19ccc3864f8825821ab15891043fbcffbb32a
+DIST firefox-94.0b1_beta1-bn.xpi 549118 BLAKE2B 
aac3a21d1fd51105581738fe2c4cb5e9ffc5b05aaf156d25369d75d70be7328ba9ca0e49e97c586c1c8a72359c943236a20ce129427fddb26ec7737a80ff8ad9
 SHA512 
489ca5ed1352d3bd47312ad4dabad5b7b53e2b5ceab7e2a5961cb14e7078c64065ef290f008ee5ce5199a94a3b43b99f299d00b2d4641b6cd6294024e2b33f0d
+DIST firefox-94.0b1_beta1-br.xpi 513599 BLAKE2B 
d9a9031ff0f8ebb52295a5e9562532eefde7f4dcc416614a3d2c0b176f20824a6261816ee622d952539a8c6ee6129dc9656452d37f50a855ace2d4554e208c2c
 SHA512 
e371c6266746ee557a0bb919f589b61fd8fe2e4cf87d186300e6d181dd20283638bc583a600a9a541bcdbcfbf9d44717117e32e9d082415b3bfaa47c8395f442
+DIST firefox-94.0b1_beta1-bs.xpi 457231 BLAKE2B 
d68fd74e5afd6e78a72f2cefa963327475fe0729c4b8cd925297e6f539af289552dd4c54aba0a58d71432bca9a6587ab4895731c2f0062e70eef907a3f65af04
 SHA512 
8ade57e1bb6708196aad782d3bd3406e473f0bab52cfb28bb87cf9a11249df7fab9e39bd460cb47c1cef21a8b100213f9f38f38c93cac84ebb12fafd05623c8b
+DIST firefox-94.0b1_beta1-ca-valencia.xpi 522593 BLAKE2B 

[gentoo-commits] proj/riscv:master commit in: app-emulation/kvmtool/

2021-12-28 Thread Yixun Lan
commit: 55b1587fdd0b22ee7ee1ec48b77d832ffb2bdea1
Author: Alex Fan  gmail  com>
AuthorDate: Mon Dec 27 07:25:52 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 06:25:01 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=55b1587f

app-emulation/kvmtool: add riscv kernel version check

Signed-off-by: Yixun Lan  gentoo.org>
Signed-off-by: Alex Fan  gmail.com>

 app-emulation/kvmtool/kvmtool-.ebuild | 20 ++--
 app-emulation/kvmtool/metadata.xml|  5 +
 2 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/app-emulation/kvmtool/kvmtool-.ebuild 
b/app-emulation/kvmtool/kvmtool-.ebuild
index 964e836..b5f35de 100644
--- a/app-emulation/kvmtool/kvmtool-.ebuild
+++ b/app-emulation/kvmtool/kvmtool-.ebuild
@@ -1,5 +1,5 @@
+# Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# adapted from 
https://data.gpo.zugaina.org/defiance/app-emulation/kvmtool/kvmtool-.ebuild
 
 EAPI=8
 
@@ -34,9 +34,17 @@ CONFIG_CHECK="
 "
 
 pkg_pretend() {
-   if use kernel_linux && kernel_is lt 2 6 25; then
-   eerror "This version of KVM requires a host kernel of 2.6.25 or 
higher."
-   elif use kernel_linux; then
+   if use kernel_linux ; then
+   if kernel_is lt 2 6 25; then
+   eerror "This version of KVM requires a host kernel of 
2.6.25 or higher."
+   fi
+   if use riscv && kernel_is lt 5 16; then
+   ewarn "RISC-V KVM official support landed in kernel 
5.16,"
+   ewarn "and requires the hypervisor extension."
+   ewarn "Try out https://github.com/kvm-riscv/linux in 
qemu"
+   ewarn "if your kernel/hardware doesn't support it"
+   fi
+
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
@@ -55,7 +63,7 @@ src_unpack() {
 }
 
 src_prepare() {
-   eapply_user
+   default
sed -e 's/^CFLAGS\t:=/CFLAGS := $(CFLAGS)/' \
-e 's/^LDFLAGS\t:=/LDFLAGS := $(LDFLAGS)/' -i Makefile
 }
@@ -66,6 +74,6 @@ src_compile() {
 
 src_install() {
dobin lkvm vm || die
-   dodoc COPYING README Documentation/virtio-console.txt || die
+   dodoc README Documentation/virtio-console.txt || die
doman Documentation/${PN}.1
 }

diff --git a/app-emulation/kvmtool/metadata.xml 
b/app-emulation/kvmtool/metadata.xml
new file mode 100644
index 000..115e9d6
--- /dev/null
+++ b/app-emulation/kvmtool/metadata.xml
@@ -0,0 +1,5 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+



[gentoo-commits] proj/riscv:master commit in: app-emulation/kvmtool/

2021-12-28 Thread Yixun Lan
commit: b8071d60cbe3bac9f737fc3cefc649c47dbc2494
Author: Alex Fan  gmail  com>
AuthorDate: Mon Dec 27 07:04:51 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 06:24:56 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=b8071d60

app-emulation/kvmtool: initial import

Signed-off-by: Yixun Lan  gentoo.org>
Signed-off-by: Alex Fan  gmail.com>

 app-emulation/kvmtool/kvmtool-.ebuild | 71 +++
 1 file changed, 71 insertions(+)

diff --git a/app-emulation/kvmtool/kvmtool-.ebuild 
b/app-emulation/kvmtool/kvmtool-.ebuild
new file mode 100644
index 000..964e836
--- /dev/null
+++ b/app-emulation/kvmtool/kvmtool-.ebuild
@@ -0,0 +1,71 @@
+# Distributed under the terms of the GNU General Public License v2
+# adapted from 
https://data.gpo.zugaina.org/defiance/app-emulation/kvmtool/kvmtool-.ebuild
+
+EAPI=8
+
+inherit git-r3 linux-info
+
+DESCRIPTION="A lightweight tool for hosting KVM guests"
+HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/;
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="riscv? ( sys-apps/dtc )"
+BDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}"
+
+function ctarget() {
+   CTARGET="${ARCH}"
+   use amd64 && CTARGET='x86_64'
+   echo $CTARGET
+}
+
+CONFIG_CHECK="
+   SERIAL_8250 SERIAL_8250_CONSOLE
+   VIRTIO VIRTIO_PCI
+   VIRTIO_RING VIRTIO_PCI
+   VIRTIO_BLK VIRTIO_NET
+   ~VIRTIO_BALLOON
+   ~VIRTIO_CONSOLE
+   ~HW_RANDOM_VIRTIO
+   ~FB_VESA
+"
+
+pkg_pretend() {
+   if use kernel_linux && kernel_is lt 2 6 25; then
+   eerror "This version of KVM requires a host kernel of 2.6.25 or 
higher."
+   elif use kernel_linux; then
+   if ! linux_config_exists; then
+   eerror "Unable to check your kernel for KVM support"
+   else
+   check_extra_config
+   fi
+   fi
+}
+
+src_unpack() {
+   if use riscv ; then
+   EGIT_REPO_URI="https://github.com/kvm-riscv/kvmtool.git;
+   else
+   
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git;
+   fi
+   git-r3_src_unpack
+}
+
+src_prepare() {
+   eapply_user
+   sed -e 's/^CFLAGS\t:=/CFLAGS := $(CFLAGS)/' \
+   -e 's/^LDFLAGS\t:=/LDFLAGS := $(LDFLAGS)/' -i Makefile
+}
+
+src_compile() {
+   V=1 ARCH=$(ctarget) emake
+}
+
+src_install() {
+   dobin lkvm vm || die
+   dodoc COPYING README Documentation/virtio-console.txt || die
+   doman Documentation/${PN}.1
+}



[gentoo-commits] proj/riscv:master commit in: sys-kernel/sifive-sources/

2021-12-26 Thread Yixun Lan
commit: 07223c13144d05b3854b29ea74c6c1660ad7cb19
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 27 06:12:16 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 27 06:12:16 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=07223c13

sys-kernel/sifive-sources: kernel source for sifive unmatched/unleashed

the kernel source based on sys-kernel/gentoo-sources with sifive patches
applied. original patches took from [1]

[1] https://github.com/sifive/meta-sifive
43d97cbe5c6b47702f2edcaa01cef7b371663db2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-kernel/sifive-sources/Manifest |  5 
 sys-kernel/sifive-sources/metadata.xml | 14 +
 .../sifive-sources/sifive-sources-5.15.11.ebuild   | 35 ++
 3 files changed, 54 insertions(+)

diff --git a/sys-kernel/sifive-sources/Manifest 
b/sys-kernel/sifive-sources/Manifest
new file mode 100644
index 000..afa2d1f
--- /dev/null
+++ b/sys-kernel/sifive-sources/Manifest
@@ -0,0 +1,5 @@
+DIST genpatches-5.15-13.base.tar.xz 604984 BLAKE2B 
c674c2eefbc18f2a8d182fa95606714b9a74420d7a3ebb32138b714743f11a7c7b278d77d33747bd1fa1a46e8f8e8364a9238ce3acee6134f889fae267ab0239
 SHA512 
0741c183cf8def586fc17fcb2a44d81dd5494ac9430a5ca07d239079f41a7a24bb686406e0ecfccdeb8a38e33e99831d2b355d0e8e65e8dd2e30db5f4b0bbe4d
+DIST genpatches-5.15-13.experimental.tar.xz 69424 BLAKE2B 
db1fa9e3535b955eefc9824053b05f16baa8492715ed012df87373cdb73391e36530618968302082122c9e40678a393f83b89bc2dece09fedead0aacdac3f5e5
 SHA512 
5abb903dc816d5f17c119dec6edea03571fb8293bd5a5a51bc3f7cbeee11e025915eae9c7ca0a25518d8a9d7efbfddf98c38265e4e8200dc10938edaa2003567
+DIST genpatches-5.15-13.extras.tar.xz 3852 BLAKE2B 
131550ddf5d1d67808b98040e88bb75d9020ee99b7907d0b79839a366c52e83c5bee6a322f12363ca0cfa9816d17b36002b5ace1620ef80b386ee8c09fd23866
 SHA512 
79fe958fcd5b3c4c7406374431e28a482b7512214c0ddbbf24d5f4a42e7feafb3f235f266b0023e666348c2c1888d1c678d726403b2f873d55991e5aaef4b74c
+DIST linux-5.15.tar.xz 121913744 BLAKE2B 
3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b83a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83
 SHA512 
d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
+DIST sifive-patches-5.15.11-0.patch.xz 4384 BLAKE2B 
ddef97f48ca464eae336a6645cbea675da769945600c28c36e722ef30a2b2071e723d68dac8a2184979670c46d5c1a18447134b9b8fa836bdc3a1151f23d64dd
 SHA512 
884a7e1d004a0f6e4700ffe4cd173ed7a57330a6c2a76d5a46bdbf4ebdb1c53799f9f690ddec973098bb7487ebbd9e6b74c06dc3c8b8ad3706033399db87a697

diff --git a/sys-kernel/sifive-sources/metadata.xml 
b/sys-kernel/sifive-sources/metadata.xml
new file mode 100644
index 000..74ee2d6
--- /dev/null
+++ b/sys-kernel/sifive-sources/metadata.xml
@@ -0,0 +1,14 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  ker...@gentoo.org
+  Gentoo Kernel Project
+
+
+  Apply experimental patches; for more information, 
see "https://wiki.gentoo.org/wiki/Project:Kernel/Experimental;.
+
+
+  cpe:/o:linux:linux_kernel
+
+

diff --git a/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild 
b/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild
new file mode 100644
index 000..e0bd086
--- /dev/null
+++ b/sys-kernel/sifive-sources/sifive-sources-5.15.11.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="13"
+K_SECURITY_UNSUPPORTED="1"
+K_NOSETEXTRAVERSION="1"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches;
+IUSE="experimental"
+
+DESCRIPTION="Full sources including the Gentoo patchset for the 
${KV_MAJOR}.${KV_MINOR} kernel tree"
+SIFIVE_PATCH="sifive-patches-${PV}-0.patch.xz"
+SIFIVE_URI="https://dev.gentoo.org/~dlan/distfiles/genpatches/${SIFIVE_PATCH};
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${SIFIVE_URI}"
+
+UNIPATCH_LIST="${DISTDIR}/${SIFIVE_PATCH}"
+UNIPATCH_STRICTORDER="yes"
+
+pkg_postinst() {
+   kernel-2_pkg_postinst
+   einfo "For more info on this patchset, and how to report problems, see:"
+   einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+   kernel-2_pkg_postrm
+}



[gentoo-commits] proj/riscv:master commit in: www-client/firefox/

2021-12-19 Thread Yixun Lan
commit: e394ab0e8892c527333de973ac4233166d93f59f
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 20 01:33:59 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 20 02:08:06 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=e394ab0e

www-client/firefox: initial experimental ebuild for riscv

basic website surfing just work fine, also able to show video display

riscv patch based on https://github.com/makotokato/gecko-dev
branch: riscv64, commit: d9f2aeae0095

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/firefox/Manifest|  201 +---
 ...-91.4.0-r1.ebuild => firefox-94.0_beta1.ebuild} |  155 +--
 www-client/firefox/firefox-95.0-r1.ebuild  | 1237 
 3 files changed, 36 insertions(+), 1557 deletions(-)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 4e5b6a4..7d36b38 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,198 +1,3 @@
-DIST firefox-91.4.0esr-ach.xpi 451228 BLAKE2B 
525aac7e80d504b87a565f045f6ffefb5b8743d9f0606564d6c10dd2ba6ede526d451bd08bdf9ff4abea578f55cbf7dde1c0542ff8ac3640c3c8bda920d146fb
 SHA512 
42be3bdc43b561b2148fcc08be8c4645c6ec15ebc1d689489f922c31234df2a88fa1dd481b7d8122c822b8487e2d1cd4e7a546909000603cc1d056afa83ff5e5
-DIST firefox-91.4.0esr-af.xpi 425096 BLAKE2B 
8af222eee5d909eeaa76168a1601e59abf870e1d351b49495074c27eb12e1fe1160293aaa972633002a9e9bdae02a555e395f962de8fd9283ce86556ac73d6de
 SHA512 
1a82f635d36a646973b0f08b1746bd476283f6e807ac31ef9fef48e59130367c7e138ba92038f7f2778c8f4455f9d6726871bbb9d563495b68b0e3f72cf1bd02
-DIST firefox-91.4.0esr-an.xpi 497865 BLAKE2B 
c4903662ae08d04a5193f4355ab273d09b71fefe3ed69f93ee80b577ea76ca0ff1921f31c8d4de852569a41d6eef54ae039d6557437761fce42d5c7babc632b9
 SHA512 
35da11f247f7180e2c5e720a1989d57bf575c7c8844b231c38b598c0df166891b9fbc86360fe7865908eee7f4119c037664f74002093a056e601fc65634361cb
-DIST firefox-91.4.0esr-ar.xpi 557243 BLAKE2B 
e1f4dd28e26227ef345673ac6b69eccbb3083d619fe0ad691586f2c132912589552e3a2d463efae30ac109d3bcef7a2b94aba78b0dd89b4a1ddec9537adb2e14
 SHA512 
cc5e9e60cc65314fef7c6b001a773f8ae7763342ba2979606dc4ef3efeab2af5cfe0443c953dd0796a2cc4f5bcd4671a6223fb921559d455794ac3c2606751fd
-DIST firefox-91.4.0esr-ast.xpi 496964 BLAKE2B 
6cd56181f48260dc85982220d32599c5d99fc7607ee17cf607976d945b8fc04217e9bb5ed150db6e8b0d691c6d219f9adbe9e26fc52af8af106b1b635caec105
 SHA512 
619f8f5d96d325a068cd27589de9cf230be74b613d8cb983e4833cfc59641b5e716a3d7f1ea69027e1baea4ab5a34f21f836141e5bfc4d8257c8d81077c29804
-DIST firefox-91.4.0esr-az.xpi 487259 BLAKE2B 
533a12abce11c5d39eb21291aae74efe0ca1a77a2169ce5be11cc64864b1cda5b28f04153c1f0c1c368b5183b248aca9596fc0c8e19466a5dc433ea5a54cdd54
 SHA512 
ea239697a214b6756e091655608514f3746a6ac0661cabe0241004d90854baf7d0f3191de361216dec70db00534bdd432495fc45531c1ba1162bf61d35ad4e5f
-DIST firefox-91.4.0esr-be.xpi 617852 BLAKE2B 
0e9fa980b3bc459e3b9bb7f3e63c6c3b21a2ae30995412b62dd55d2865c5e8144d5bb236a884680839a227e2e5456b107cb4c39ef1220b6186ab8ed8649eb170
 SHA512 
848d39d99f72bdc0b470c9e0a9a347edc3a661a43342e68085c33974bbac0d7085548fadb391fa4eec12aa24d4e577e670899d503a70bcbd02d83032b4d6c8b3
-DIST firefox-91.4.0esr-bg.xpi 566071 BLAKE2B 
ce4def1ff088bba14618de255e33dcafe2c0e1116f5d58166361f1f8a27a7c608e5ebead3270766111598c2d43ce5a9b413798c4aa722960bcbd7da07386538f
 SHA512 
e964a9ca742de974334b5f9a54dc3a0e6d7488a181ae7696a6130e2307d85cf1d39307ee4442bc663dab7a9a4d1850117a5eaac22e670852cedde4a18d2e0c46
-DIST firefox-91.4.0esr-bn.xpi 554437 BLAKE2B 
f0b7e820e5a06f9ba829fe61b903d8d363eb4793f8ba7463096ea9acd68abab500465c52ca9d577fda0b9f36eefcbdf62a4811be15abe9e2ed3af752853c5980
 SHA512 
95bed68b2e1c2954a8447cf5d782c9e650bd06e522163341890aa7e751ebd906404dfa8fa68e66749c0a69e5a1a17fabec827ecc0fac2bcd3db5ed4cb423346f
-DIST firefox-91.4.0esr-br.xpi 522501 BLAKE2B 
b2b2e43d3d6a0dce53b8fa6329951bb3ae14513a53f42078545c1bac0b42ed3854e367bfa9ddeeabea995c6f0c2709150dfeae474b6c9d22465057ae2c6cfbd1
 SHA512 
f4a4a21ccb7b7609dd7050f5fac57834b3806916ae2fe5a8d46dfea43715a80387ae776edc84cd151b2913ba0b3250896b2e0667dbcde5501873512a9897db26
-DIST firefox-91.4.0esr-bs.xpi 461651 BLAKE2B 
173ae71acf7d349526871b71a17742723d5ec4ca8a4e4786c7e60611579aa1dc2d7d3aa98db263a0d6e3e9246b45fb1f923662691df5c0e7b9bf4119abb3bc5a
 SHA512 
98227011b4167c3635507c1d3984854e049bc12f7d9ac27678bcc8c3db2c00df461d1b937c30e0ccade7fb90cff10ca354be84050f63730b05e6261bedc18c5e
-DIST firefox-91.4.0esr-ca-valencia.xpi 527261 BLAKE2B 
08da181d15b6859851f294a97548685797e6de5a954615990bae0fb0de0f8a8af4267516397e7773e6d239734c12dfeb5c3597ed66e917cdd35b7ee929a27522
 SHA512 
e91197cff0a966fa294f9e7027eff1134b196489ff5ccf943f3c91a0deccc60a9b4acd02e932074196e5fcaf3702453058aca1f5efe57766d44cd21a7ea35082
-DIST firefox-91.4.0esr-ca.xpi 527631 BLAKE2B 
d759ba35fe9940a21ac969b9386f236ada30b5ea4ccfa702714de5aa2310a150db48a2dc5e2c46087e4d0d2abb51e60672eba9b9e8e941d3c33d2529328c13eb
 SHA512 

[gentoo-commits] proj/riscv:master commit in: www-client/chromium/

2021-12-14 Thread Yixun Lan
commit: 0a2b2ff877ee502f1739ad035826eea14f77d45c
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Dec 14 09:09:11 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 15 01:27:45 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=0a2b2ff8

www-client/chromium: 98.0.4750.0 with riscv support

basic web surf is fine, but have segfault while playing video[1]

[1] eg, https://www.bilibili.com

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/Manifest |   6 +-
 www-client/chromium/chromium-96.0.4664.93.ebuild | 963 ---
 www-client/chromium/chromium-97.0.4692.45.ebuild | 957 --
 www-client/chromium/chromium-98.0.4750.0.ebuild  |   7 +-
 4 files changed, 7 insertions(+), 1926 deletions(-)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 9786162..ddd15dd 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,7 +1,3 @@
-DIST chromium-96-patchset-4.tar.xz 4812 BLAKE2B 
5d82d212b8ec1689be6f4a7a0646256311d06c17e74ee0e5b2035c32125a5235e4b6b7605cefffa367cc53e651be17b75f5e339149b4c80dca50cd959b1623f1
 SHA512 
a72c1bb2c58e9e2912a641093c153f01ad7239dc971c7c96481ba4164204afe41741f3253e8af03070dab8276179784dc6a11761b39ad7902ed2553016778282
-DIST chromium-96-ppc64le-1.tar.xz 29224 BLAKE2B 
3369a3b15eb4f42761e01758135995a1f34e40cecbfc0372a4bc17b393d50b276ea5a0813d1c57f73f0dd34cf2a021356d25c2b4dcaa95998ffc082545dc915c
 SHA512 
256d64fbf192e55d77c6580d36766a67dadfbd0f1e34e49bfc6d55114da7f2252d783db0dd09123996a71a01ec4a3d5c70fd1a5c8852db135857b8495f7cfbf1
-DIST chromium-96.0.4664.93.tar.xz 1209670724 BLAKE2B 
ebc99f6232fb65874dc73af6157c7175c1b7bf98f800819c343bdb37c42f49369b6af0146a093663a09a2588652eeb196526e9de776098f69e5ba8d75d205e69
 SHA512 
3441380372014dc338418f494fcd7407dd3888cea07af3415c9e8ff2c3547abbd516ae03eb4b831b89923817046a6d1549fb9558db9aa271aa0ba397e514c0b3
-DIST chromium-97-patchset-4.tar.xz 4240 BLAKE2B 
450d013b6fd68f7e0bcb21a2b0828d531eda86965e636fe24fc36c2e7e1f74fe93f27f0d4b1d03e67c605797e28db37de4949ff78d5106e07b0362bec4bc5d8a
 SHA512 
181c706c83bdbe07b2e7f02b654922a860aea761ad267e6545fb7d56b66373b003c1c79fae5cd45eeb3be8917782fa45df1c05bbb00e170f0146e7385f4246c4
-DIST chromium-97.0.4692.45.tar.xz 1213732240 BLAKE2B 
cd722330f4f84f29331974a0663fc39b021fb4cc7b1e96e4c355397bf7e37386938e5be05618c37692d29e8cfb514fdd069cbdf9ca44073d8da10fafaba598f8
 SHA512 
bac8367c7494dea46477d70af9dc2f8fa360936c4996cea92c623a503f2965a24afc1f83c15ccfa10bb3d331d21ed65f9c73799c0efe5b6180767ae36c17c2e1
+DIST chromium-98-extra-patchset-0.tar.xz 187228 BLAKE2B 
094c716b274de559f848ed7f55cd2584892b6d43ba0e79bc3b458bb56320a0de7bd06bed475404004b83e464dc5554987318783eb7bd4838a84e69788e30c567
 SHA512 
565a69262e353b2eda8bc7c97c88e78972e047146b810f3d9f09bb19aa963a0600a104cfdacafd8794e2b393cb31381b8e73086c246b6b1267defd065367fced
 DIST chromium-98-patchset-3.tar.xz 6164 BLAKE2B 
be4fa2997e13e89a0c8db1e99fa80adb937c0c02f1e18bd0ec93bdbdd484da4a8507baf13c5e6e602d5f5ecb2921f33bc3afdc3c3103b1b5314b62f59c1a71ad
 SHA512 
47026635ca5c2e1d3965c82a449077380e6518b33e16b83bd105085cca50f512d08027eebd34d7ce5ce39d988f0120deccfb72697abac0d41e4502b6ad8abdf3
 DIST chromium-98.0.4750.0.tar.xz 1230864580 BLAKE2B 
b8b5d05bf15a9429f3f5fa851415d21f6e757a99fce9ac47bdeb7f534f9eefc77d13c5f8ba93bfa140bdb536c13e1b6141ac4d7e0f17b742039c403044789c56
 SHA512 
7f8cc349aa50af0d149ba08e5ed60171e94943bbd52cb0f820f3c7d56749d9e2fd6d71761262ac012cfcad1f7e4f63c0404f39f044df531e776ae6fce951544f

diff --git a/www-client/chromium/chromium-96.0.4664.93.ebuild 
b/www-client/chromium/chromium-96.0.4664.93.ebuild
deleted file mode 100644
index 54fa899..000
--- a/www-client/chromium/chromium-96.0.4664.93.ebuild
+++ /dev/null
@@ -1,963 +0,0 @@
-# Copyright 2009-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="xml"
-
-CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu 
he
-   hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 
sr
-   sv sw ta te th tr uk vi zh-CN zh-TW"
-
-inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils 
python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
-
-DESCRIPTION="Open-source version of Google Chrome web browser"
-HOMEPAGE="https://chromium.org/;
-PATCHSET="4"
-PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
-PPC64LE_PATCHSET="1"
-SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
-   
https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz
-   ppc64? ( https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-$(ver_cut 
1)-ppc64le-${PPC64LE_PATCHSET}.tar.xz )"
-
-LICENSE="BSD"
-SLOT="0/stable"
-KEYWORDS="amd64 arm64 ~x86"
-IUSE="component-build cups cpu_flags_arm_neon debug +hangouts headless 
+js-type-check 

[gentoo-commits] proj/riscv:master commit in: www-client/chromium/files/, www-client/chromium/

2021-12-14 Thread Yixun Lan
commit: 8c94b1452b69a7673c69e1985d8e5747f8b938f2
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Dec 14 08:37:56 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Dec 14 08:38:01 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=8c94b145

www-client/chromium: initial import chromium-98

from commit: c4437ce25f70c016fb51c438f421ddafd580ad9a

Signed-off-by: Yixun Lan  gentoo.org>

 www-client/chromium/Manifest   |   7 +
 www-client/chromium/chromium-96.0.4664.93.ebuild   | 963 +
 www-client/chromium/chromium-97.0.4692.45.ebuild   | 957 
 www-client/chromium/chromium-98.0.4750.0.ebuild| 963 +
 .../files/chromium-93-InkDropHost-crash.patch  |  25 +
 .../files/chromium-96-EnumTable-crash.patch|  76 ++
 .../files/chromium-96-freetype-unbundle.patch  |  10 +
 .../files/chromium-98-EnumTable-crash.patch|  76 ++
 .../chromium/files/chromium-98-system-libdrm.patch |  34 +
 www-client/chromium/files/chromium-browser.xml |  13 +
 .../chromium/files/chromium-glibc-2.34.patch   |  50 ++
 www-client/chromium/files/chromium-launcher-r7.sh  |  59 ++
 .../chromium/files/chromium-shim_headers.patch |  48 +
 ...ium-use-oauth2-client-switches-as-default.patch |  17 +
 www-client/chromium/files/chromium.default |   5 +
 www-client/chromium/metadata.xml   |  25 +
 16 files changed, 3328 insertions(+)

diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
new file mode 100644
index 000..9786162
--- /dev/null
+++ b/www-client/chromium/Manifest
@@ -0,0 +1,7 @@
+DIST chromium-96-patchset-4.tar.xz 4812 BLAKE2B 
5d82d212b8ec1689be6f4a7a0646256311d06c17e74ee0e5b2035c32125a5235e4b6b7605cefffa367cc53e651be17b75f5e339149b4c80dca50cd959b1623f1
 SHA512 
a72c1bb2c58e9e2912a641093c153f01ad7239dc971c7c96481ba4164204afe41741f3253e8af03070dab8276179784dc6a11761b39ad7902ed2553016778282
+DIST chromium-96-ppc64le-1.tar.xz 29224 BLAKE2B 
3369a3b15eb4f42761e01758135995a1f34e40cecbfc0372a4bc17b393d50b276ea5a0813d1c57f73f0dd34cf2a021356d25c2b4dcaa95998ffc082545dc915c
 SHA512 
256d64fbf192e55d77c6580d36766a67dadfbd0f1e34e49bfc6d55114da7f2252d783db0dd09123996a71a01ec4a3d5c70fd1a5c8852db135857b8495f7cfbf1
+DIST chromium-96.0.4664.93.tar.xz 1209670724 BLAKE2B 
ebc99f6232fb65874dc73af6157c7175c1b7bf98f800819c343bdb37c42f49369b6af0146a093663a09a2588652eeb196526e9de776098f69e5ba8d75d205e69
 SHA512 
3441380372014dc338418f494fcd7407dd3888cea07af3415c9e8ff2c3547abbd516ae03eb4b831b89923817046a6d1549fb9558db9aa271aa0ba397e514c0b3
+DIST chromium-97-patchset-4.tar.xz 4240 BLAKE2B 
450d013b6fd68f7e0bcb21a2b0828d531eda86965e636fe24fc36c2e7e1f74fe93f27f0d4b1d03e67c605797e28db37de4949ff78d5106e07b0362bec4bc5d8a
 SHA512 
181c706c83bdbe07b2e7f02b654922a860aea761ad267e6545fb7d56b66373b003c1c79fae5cd45eeb3be8917782fa45df1c05bbb00e170f0146e7385f4246c4
+DIST chromium-97.0.4692.45.tar.xz 1213732240 BLAKE2B 
cd722330f4f84f29331974a0663fc39b021fb4cc7b1e96e4c355397bf7e37386938e5be05618c37692d29e8cfb514fdd069cbdf9ca44073d8da10fafaba598f8
 SHA512 
bac8367c7494dea46477d70af9dc2f8fa360936c4996cea92c623a503f2965a24afc1f83c15ccfa10bb3d331d21ed65f9c73799c0efe5b6180767ae36c17c2e1
+DIST chromium-98-patchset-3.tar.xz 6164 BLAKE2B 
be4fa2997e13e89a0c8db1e99fa80adb937c0c02f1e18bd0ec93bdbdd484da4a8507baf13c5e6e602d5f5ecb2921f33bc3afdc3c3103b1b5314b62f59c1a71ad
 SHA512 
47026635ca5c2e1d3965c82a449077380e6518b33e16b83bd105085cca50f512d08027eebd34d7ce5ce39d988f0120deccfb72697abac0d41e4502b6ad8abdf3
+DIST chromium-98.0.4750.0.tar.xz 1230864580 BLAKE2B 
b8b5d05bf15a9429f3f5fa851415d21f6e757a99fce9ac47bdeb7f534f9eefc77d13c5f8ba93bfa140bdb536c13e1b6141ac4d7e0f17b742039c403044789c56
 SHA512 
7f8cc349aa50af0d149ba08e5ed60171e94943bbd52cb0f820f3c7d56749d9e2fd6d71761262ac012cfcad1f7e4f63c0404f39f044df531e776ae6fce951544f

diff --git a/www-client/chromium/chromium-96.0.4664.93.ebuild 
b/www-client/chromium/chromium-96.0.4664.93.ebuild
new file mode 100644
index 000..54fa899
--- /dev/null
+++ b/www-client/chromium/chromium-96.0.4664.93.ebuild
@@ -0,0 +1,963 @@
+# Copyright 2009-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml"
+
+CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu 
he
+   hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 
sr
+   sv sw ta te th tr uk vi zh-CN zh-TW"
+
+inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils 
python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
+
+DESCRIPTION="Open-source version of Google Chrome web browser"
+HOMEPAGE="https://chromium.org/;
+PATCHSET="4"
+PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
+PPC64LE_PATCHSET="1"
+SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
+   

[gentoo-commits] proj/riscv:master commit in: app-emulation/spike/

2021-04-16 Thread Yixun Lan
commit: a4a20ad9cc291ddfa88cd7421747b342c3f8af38
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Apr 16 08:38:41 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Apr 16 08:38:41 2021 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=a4a20ad9

app-emulation/spike: add golden reference RISC-V ISA simulator

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 app-emulation/spike/Manifest   |  1 +
 app-emulation/spike/metadata.xml   | 17 +
 app-emulation/spike/spike-1.0.0.ebuild | 25 +
 app-emulation/spike/spike-.ebuild  | 21 +
 4 files changed, 64 insertions(+)

diff --git a/app-emulation/spike/Manifest b/app-emulation/spike/Manifest
new file mode 100644
index 000..5a0d0a6
--- /dev/null
+++ b/app-emulation/spike/Manifest
@@ -0,0 +1 @@
+DIST spike-1.0.0.tar.gz 283500 BLAKE2B 
a25f5faad1fa76e131f2477c5c103a738a0a5c6a4bec0a147d9233acc3e9ef60d52621e83d54e4025fa50ab402a294564cfdf4244651c14dd1b852fe3d16becf
 SHA512 
e5755fc2bb38d5cb11d340f612f82207f6f77599b4cd38206c70cdb211f43108694ce2807822bccb77de308bb78b60a23978de972c2c8394601712ff1153267c

diff --git a/app-emulation/spike/metadata.xml b/app-emulation/spike/metadata.xml
new file mode 100644
index 000..e806b9b
--- /dev/null
+++ b/app-emulation/spike/metadata.xml
@@ -0,0 +1,17 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Spike, the RISC-V ISA Simulator, implements a functional model 
of
+   one or more RISC-V harts. It is named after the golden spike 
used to
+   celebrate the completion of the US transcontinental railway.
+   
+   
+   d...@gentoo.org
+   Yixun Lan
+   
+   
+   
+   riscv/riscv-isa-sim
+   
+

diff --git a/app-emulation/spike/spike-1.0.0.ebuild 
b/app-emulation/spike/spike-1.0.0.ebuild
new file mode 100644
index 000..7da7a73
--- /dev/null
+++ b/app-emulation/spike/spike-1.0.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit eutils autotools
+
+DESCRIPTION="The RISC-V ISA Simulator"
+HOMEPAGE="https://github.com/riscv/riscv-isa-sim/;
+SRC_URI="https://github.com/riscv/riscv-isa-sim/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+
+S="${WORKDIR}/riscv-isa-sim-${PV}"
+src_prepare() {
+   default
+   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir):g" Makefile.in || die
+   sed -i -e "/" \
+   fesvr/dtm.cc riscv/devices.h || die
+   eautoreconf
+}

diff --git a/app-emulation/spike/spike-.ebuild 
b/app-emulation/spike/spike-.ebuild
new file mode 100644
index 000..31faa2b
--- /dev/null
+++ b/app-emulation/spike/spike-.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit eutils autotools git-r3 multilib
+
+DESCRIPTION="The RISC-V ISA Simulator"
+HOMEPAGE="https://github.com/riscv/riscv-isa-sim/;
+EGIT_REPO_URI="https://github.com/riscv/riscv-isa-sim;
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+   default
+   sed -i -e "/install_libs_dir/s:/lib:/$(get_libdir):g" Makefile.in || die
+   eautoreconf
+}



[gentoo-commits] proj/riscv:master commit in: sys-libs/glibc/files/, sys-libs/glibc/files/2.25/, sys-libs/glibc/files/2.19/, ...

2020-09-11 Thread Andreas K. Hüttel
commit: b8f671b0afd2db40863f2ca8150a963c03eac667
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:05:16 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:05:31 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=b8f671b0

sys-libs/glibc: remove copy

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/glibc/Manifest|5 -
 .../2.19/glibc-2.19-ia64-gcc-4.8-reloc-hack.patch  |   32 -
 .../2.19/glibc-2.19-kernel-2.6.16-compat.patch |   85 --
 .../2.19/glibc-2.19-kernel-2.6.16-hide-pipe2.patch |   16 -
 .../glibc/files/2.25/glibc-2.25-gentoo-chk_fail.c  |  303 
 sys-libs/glibc/files/host.conf-1   |   24 -
 sys-libs/glibc/files/nscd-1|   85 --
 sys-libs/glibc/files/nscd.service  |   15 -
 sys-libs/glibc/files/nscd.tmpfilesd|4 -
 sys-libs/glibc/glibc-2.32-r1.ebuild| 1505 
 sys-libs/glibc/metadata.xml|   23 -
 11 files changed, 2097 deletions(-)

diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest
deleted file mode 100644
index 783470a..000
--- a/sys-libs/glibc/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST backport-rv32.txz 26416 BLAKE2B 
7a6b593859f88a3c040f06324dace4cc6137d14d4580fad9ea285829666d761c3dd01c190746e86846c219423124c77a55bc57b6e56efe6401a9c99d7fa445cd
 SHA512 
d08dc02c4f0a3c5a15c57fbb5190588121c0e0728e6ab2119483407a98625efe58b3c83b44d750b0146171e63dcf8a6dbb6d1a057d042f794eed9adbd1f0293e
-DIST gcc-multilib-bootstrap-20180511.tar.xz 2392908 BLAKE2B 
f3cf614399368acd8908f60d894c6344a2fa09383b30c1633a0682bc668367c8a2f8c6fec2d41b6e2178d709a2bd8db57e8b2ab56ba263c7d56f819c15acd061
 SHA512 
98c766e913693ab42ff790557acde2a36a8001e2648046a685b21964200df8d4d52d8452d499c0068c6648284d086ce062c2d36e2c6c2fd8aacd232d193f2853
-DIST glibc-2.32-patches-1.tar.xz 7640 BLAKE2B 
849bdc1108e1f68f307bb9673f5ecda7c5470815f7d2de7956d529b638aafd4a8f37c22f79bc89d8e5f2efd51878927d3999d80586ec1074c46a52b6e148ea18
 SHA512 
a206d69693c3d9c527e17307b413aed05bcdefdf2537bb16af97ef31e85e4c48812971b60c00107b6a7c4bdc83c7e8ba1c9ea96f5641520852f98928f1018349
-DIST glibc-2.32.tar.xz 16744512 BLAKE2B 
a56b4afbb35315c5cd6dca0f62e44455dceae3e6e88a8453621f9a5394a60ddf10ca9309b2db0911830c7fd77e3faa5d94694eb94d5b2c05fc5285cef52255da
 SHA512 
8460c155b7003e04f18dabece4ed9ad77445fa2288a7dc08e80a8fc4c418828af29e0649951bd71a54ea2ad2d4da7570aafd9bdfe4a37e9951b772b442afe50b
-DIST locale-gen-2.10.tar.gz 7747 BLAKE2B 
49f569c5ae5260fca128503bc6f22d6f6f1cda817920c41fdadadf1527bbb4f3eb161f79fa729830666a4673e9092f99f4685ec8fcac8ddea0b8242bca9c1f4f
 SHA512 
e350e60d458d67638e3090711fca05af6fafac06c51b97648244549f8a0621dab7543f09dc7ad4c62392f13bdae8e5875dc6d0b6c3d83efc29d116bc2eef92db

diff --git a/sys-libs/glibc/files/2.19/glibc-2.19-ia64-gcc-4.8-reloc-hack.patch 
b/sys-libs/glibc/files/2.19/glibc-2.19-ia64-gcc-4.8-reloc-hack.patch
deleted file mode 100644
index 72a616a..000
--- a/sys-libs/glibc/files/2.19/glibc-2.19-ia64-gcc-4.8-reloc-hack.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://bugs.gentoo.org/503838
-http://gcc.gnu.org/PR60465
-https://sourceware.org/ml/libc-alpha/2015-12/msg00556.html
-https://trofi.github.io/posts/189-glibc-on-ia64-or-how-relocations-bootstrap.html
-
-newer versions of gcc generate relocations in the elf_get_dynamic_info func
-which glibc relies on to populate some info structs.  those structs are then
-used by ldso to process relocations in itself.  glibc requires that there are
-no relocations until that point (*after* elf_get_dynamic_info), so we end up
-crashing during elf_get_dynamic_info because the relocation has not yet been
-processed.
-
-this hack shuffles the code in a way that tricks gcc into not generating the
-relocation.  we need to figure out something better for upstream.
-
 a/elf/get-dynamic-info.h
-+++ b/elf/get-dynamic-info.h
-@@ -66,8 +66,12 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
-   info[DT_VALTAGIDX (dyn->d_tag) + DT_NUM + DT_THISPROCNUM
-+ DT_VERSIONTAGNUM + DT_EXTRANUM] = dyn;
-   else if ((d_tag_utype) DT_ADDRTAGIDX (dyn->d_tag) < DT_ADDRNUM)
--  info[DT_ADDRTAGIDX (dyn->d_tag) + DT_NUM + DT_THISPROCNUM
--   + DT_VERSIONTAGNUM + DT_EXTRANUM + DT_VALNUM] = dyn;
-+  {
-+d_tag_utype i =
-+DT_ADDRTAGIDX (dyn->d_tag) + DT_NUM + DT_THISPROCNUM
-++ DT_VERSIONTAGNUM + DT_EXTRANUM + DT_VALNUM;
-+info[i] = dyn;
-+  }
-   ++dyn;
- }
- 

diff --git a/sys-libs/glibc/files/2.19/glibc-2.19-kernel-2.6.16-compat.patch 
b/sys-libs/glibc/files/2.19/glibc-2.19-kernel-2.6.16-compat.patch
deleted file mode 100644
index bf75f80..000
--- a/sys-libs/glibc/files/2.19/glibc-2.19-kernel-2.6.16-compat.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-Remove newer symbols that does not work on linux-2.6.16.
-
-This is only for Prefix standalone.
-
-Index: 

[gentoo-commits] proj/riscv:master commit in: eclass/

2020-09-11 Thread Andreas K. Hüttel
commit: 0c65bf3a8be23a1087252ab0b5c684360ac30d1b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 15:02:28 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 15:02:28 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=0c65bf3a

eclass: Moved to main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 eclass/multilib-build.eclass | 694 ---
 eclass/multilib.eclass   | 554 --
 2 files changed, 1248 deletions(-)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
deleted file mode 100644
index dc4f8a2..000
--- a/eclass/multilib-build.eclass
+++ /dev/null
@@ -1,694 +0,0 @@
-# Copyright 2013-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# @ECLASS: multilib-build.eclass
-# @MAINTAINER:
-# gx86-multilib team 
-# @AUTHOR:
-# Author: Michał Górny 
-# @SUPPORTED_EAPIS: 4 5 6 7
-# @BLURB: flags and utility functions for building multilib packages
-# @DESCRIPTION:
-# The multilib-build.eclass exports USE flags and utility functions
-# necessary to build packages for multilib in a clean and uniform
-# manner.
-#
-# Please note that dependency specifications for multilib-capable
-# dependencies shall use the USE dependency string in ${MULTILIB_USEDEP}
-# to properly request multilib enabled.
-
-if [[ ! ${_MULTILIB_BUILD} ]]; then
-
-# EAPI=4 is required for meaningful MULTILIB_USEDEP.
-case ${EAPI:-0} in
-   4|5|6|7) ;;
-   *) die "EAPI=${EAPI} is not supported" ;;
-esac
-
-[[ ${EAPI} == [45] ]] && inherit eutils
-inherit multibuild multilib
-
-# @ECLASS-VARIABLE: _MULTILIB_FLAGS
-# @INTERNAL
-# @DESCRIPTION:
-# The list of multilib flags and corresponding ABI values. If the same
-# flag is reused for multiple ABIs (e.g. x86 on Linux), multiple
-# ABIs may be separated by commas.
-#
-# Please contact multilib before modifying this list. This way we can
-# ensure that every *preliminary* work is done and the multilib can be
-# extended safely.
-_MULTILIB_FLAGS=(
-   abi_x86_32:x86,x86_fbsd,x86_freebsd,x86_linux,x86_macos,x86_solaris
-   
abi_x86_64:amd64,amd64_fbsd,x64_freebsd,amd64_linux,x64_macos,x64_solaris
-   abi_x86_x32:x32
-   abi_mips_n32:n32
-   abi_mips_n64:n64
-   abi_mips_o32:o32
-#  abi_ppc_32:ppc,ppc_aix,ppc_macos
-#  abi_ppc_64:ppc64
-   abi_riscv_lp64d:lp64d
-   abi_riscv_lp64:lp64
-   abi_riscv_ilp32d:ilp32d
-   abi_riscv_ilp32:ilp32
-   abi_s390_32:s390
-   abi_s390_64:s390x
-)
-readonly _MULTILIB_FLAGS
-
-# @ECLASS-VARIABLE: MULTILIB_COMPAT
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# List of multilib ABIs supported by the ebuild. If unset, defaults to
-# all ABIs supported by the eclass.
-#
-# This variable is intended for use in prebuilt multilib packages that
-# can provide binaries only for a limited set of ABIs. If ABIs need to
-# be limited due to a bug in source code, package.use.mask is to be used
-# instead. Along with MULTILIB_COMPAT, KEYWORDS should contain '-*'.
-#
-# Note that setting this variable effectively disables support for all
-# other ABIs, including other architectures. For example, specifying
-# abi_x86_{32,64} disables support for MIPS as well.
-#
-# The value of MULTILIB_COMPAT determines the value of IUSE. If set, it
-# also enables REQUIRED_USE constraints.
-#
-# Example use:
-# @CODE
-# # Upstream provides binaries for x86 & amd64 only
-# MULTILIB_COMPAT=( abi_x86_{32,64} )
-# @CODE
-
-# @ECLASS-VARIABLE: MULTILIB_USEDEP
-# @OUTPUT_VARIABLE
-# @DESCRIPTION:
-# The USE-dependency to be used on dependencies (libraries) needing
-# to support multilib as well.
-#
-# Example use:
-# @CODE
-# RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}]
-#  net-libs/libbar[ssl,${MULTILIB_USEDEP}]"
-# @CODE
-
-# @ECLASS-VARIABLE: MULTILIB_ABI_FLAG
-# @OUTPUT_VARIABLE
-# @DESCRIPTION:
-# The complete ABI name. Resembles the USE flag name.
-#
-# This is set within multilib_foreach_abi(),
-# multilib_parallel_foreach_abi() and multilib-minimal sub-phase
-# functions.
-#
-# It may be null (empty) when the build is done on ABI not controlled
-# by a USE flag (e.g. on non-multilib arch or when using multilib
-# portage). The build will always be done for a single ABI then.
-#
-# Example value:
-# @CODE
-# abi_x86_64
-# @CODE
-
-_multilib_build_set_globals() {
-   local flags=( "${_MULTILIB_FLAGS[@]%:*}" )
-
-   if [[ ${MULTILIB_COMPAT[@]} ]]; then
-   # Validate MULTILIB_COMPAT and filter out the flags.
-   local f
-   for f in "${MULTILIB_COMPAT[@]}"; do
-   if ! has "${f}" "${flags[@]}"; then
-   die "Invalid value in MULTILIB_COMPAT: ${f}"
-   fi
-   done
-
-   flags=( "${MULTILIB_COMPAT[@]}" )
-
-   REQUIRED_USE="|| ( ${flags[*]} )"
-   fi
-
-   local 

[gentoo-commits] proj/riscv:master commit in: sys-apps/sandbox/files/, sys-apps/sandbox/

2020-09-11 Thread Andreas K. Hüttel
commit: 84864034a3b40fe885f9b0fd0d945afa0271e7f7
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:13:22 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:13:22 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=84864034

sys-apps/sandbox: remove copy

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/sandbox/Manifest|  7 
 sys-apps/sandbox/files/09sandbox |  1 -
 sys-apps/sandbox/metadata.xml|  8 
 sys-apps/sandbox/sandbox-2.12.ebuild | 76 
 sys-apps/sandbox/sandbox-2.13.ebuild | 76 
 sys-apps/sandbox/sandbox-2.14.ebuild | 76 
 sys-apps/sandbox/sandbox-2.15.ebuild | 76 
 sys-apps/sandbox/sandbox-2.17.ebuild | 72 --
 sys-apps/sandbox/sandbox-2.18.ebuild | 74 ---
 sys-apps/sandbox/sandbox-2.20.ebuild | 74 ---
 10 files changed, 540 deletions(-)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
deleted file mode 100644
index f724c70..000
--- a/sys-apps/sandbox/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
-DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
-DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
-DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
-DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
-DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
-DIST sandbox-2.20.tar.xz 428400 BLAKE2B 
11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615
 SHA512 
06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208

diff --git a/sys-apps/sandbox/files/09sandbox b/sys-apps/sandbox/files/09sandbox
deleted file mode 100644
index 9181eb0..000
--- a/sys-apps/sandbox/files/09sandbox
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PROTECT_MASK="/etc/sandbox.d"

diff --git a/sys-apps/sandbox/metadata.xml b/sys-apps/sandbox/metadata.xml
deleted file mode 100644
index 1cdc968..000
--- a/sys-apps/sandbox/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-
-  sand...@gentoo.org
-  Sandbox Maintainers
-
-

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
deleted file mode 100644
index 2f83340..000
--- a/sys-apps/sandbox/sandbox-2.12.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
-
-DESCRIPTION="sandbox'd LD_PRELOAD hack"
-HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
-SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE=""
-
-DEPEND="app-arch/xz-utils
-   >=app-misc/pax-utils-0.1.19" #265376
-RDEPEND=""
-
-has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
-
-sandbox_death_notice() {
-   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, try this:"

[gentoo-commits] proj/riscv:master commit in: profiles/default/linux/riscv/17.0/rv32imac/, ...

2020-09-11 Thread Andreas K. Hüttel
commit: 2782c318b5e808c74f7af61e30c3ebd94aedb40b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 15:39:05 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 15:39:05 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=2782c318

profiles/default: Moved to main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/default/linux/riscv/17.0/rv32imac/eapi  | 1 -
 profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi| 1 -
 profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent  | 2 --
 profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi   | 1 -
 profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent | 2 --
 profiles/default/linux/riscv/17.0/rv32imac/parent| 3 ---
 profiles/default/linux/riscv/17.0/rv64gc/eapi| 1 -
 profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi   | 1 -
 profiles/default/linux/riscv/17.0/rv64gc/lp64/parent | 2 --
 profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi  | 1 -
 profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent| 2 --
 profiles/default/linux/riscv/17.0/rv64gc/parent  | 3 ---
 profiles/default/linux/riscv/eapi| 1 -
 profiles/default/linux/riscv/parent  | 2 --
 14 files changed, 23 deletions(-)

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent
deleted file mode 100644
index a29c20c..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../arch/riscv/rv32imac/ilp32

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent
deleted file mode 100644
index f30144c..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../arch/riscv/rv32imac/ilp32d

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/parent
deleted file mode 100644
index 747b901..000
--- a/profiles/default/linux/riscv/17.0/rv32imac/parent
+++ /dev/null
@@ -1,3 +0,0 @@
-../..
-../../../../../arch/riscv/rv32imac
-gentoo:releases/17.0

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent
deleted file mode 100644
index 0273fe5..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../arch/riscv/rv64gc/lp64

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent
deleted file mode 100644
index f497f65..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent
+++ /dev/null
@@ -1,2 +0,0 @@
-..
-../../../../../../arch/riscv/rv64gc/lp64d

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/parent
deleted file mode 100644
index 92ef9cf..000
--- a/profiles/default/linux/riscv/17.0/rv64gc/parent
+++ /dev/null
@@ -1,3 +0,0 @@
-../..
-../../../../../arch/riscv/rv64gc
-gentoo:releases/17.0

diff --git a/profiles/default/linux/riscv/eapi 
b/profiles/default/linux/riscv/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/default/linux/riscv/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/default/linux/riscv/parent 

[gentoo-commits] proj/riscv:master commit in: dev-libs/gmp/files/, dev-libs/mpc/, dev-libs/mpfr/, dev-libs/gmp/

2020-09-11 Thread Andreas K. Hüttel
commit: 6202d03054621513617ea4e63485b2995e388d16
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:14:35 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:14:35 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=6202d030

dev-libs/*: remove copies

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 dev-libs/gmp/Manifest  |   2 -
 .../gmp/files/gmp-6.1.0-noexecstack-detect.patch   |  23 -
 dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch |  21 -
 dev-libs/gmp/gmp-6.2.0-r1.ebuild   | 105 -
 dev-libs/gmp/metadata.xml  |  15 ---
 dev-libs/mpc/Manifest  |   2 -
 dev-libs/mpc/metadata.xml  |   8 --
 dev-libs/mpc/mpc-1.1.0-r1.ebuild   |  28 --
 dev-libs/mpc/mpc-1.2.0.ebuild  |  28 --
 dev-libs/mpfr/Manifest |   2 -
 dev-libs/mpfr/metadata.xml |   8 --
 dev-libs/mpfr/mpfr-4.0.2.ebuild|  58 
 dev-libs/mpfr/mpfr-4.1.0.ebuild|  32 ---
 13 files changed, 332 deletions(-)

diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
deleted file mode 100644
index eb46a81..000
--- a/dev-libs/gmp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gmp-6.2.0.tar.xz 2012444 BLAKE2B 
928141cf7b0b70f78b66e7bc52aecd39a5fc30e8865b6de6effb5b061ade05a5a51b4680ef2f36ea0d682b319d54ceb1c6c8ef93bde6c2eef2e8b826a34602c3
 SHA512 
a066f0456f0314a1359f553c49fc2587e484ff8ac390ff88537266a146ea373f97a1c0ba24608bf6756f4eab11c9056f103c8deb99e5b57741b4f7f0ec44b90c
-DIST gmp-man-6.2.0.pdf 828998 BLAKE2B 
0bf56bf0a6f1aac0e1fb9a5a37552f846a2d4a01bfd3f5b5c531d42a9afc48c19552e08971785805f59e3f2a5fd89e3f986f841dca2e340813596cfd76574e61
 SHA512 
25d129efedd329cd2d4535557c6912191f587bfd8ef028618b4ca6199ec7bf7a9ae862e7f5e5b5448c86888452a39fc7bf95cf9c18311858dd1aa9ae1c716239

diff --git a/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch 
b/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch
deleted file mode 100644
index 558ba60..000
--- a/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-gmp's -Wa,--noexecstack check is based on glibc's, so backport a change
-that went into it there:
-https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=215a87451d1fd623fd2699fa57f16f8ab6f6a2f3
-https://sourceware.org/bugzilla/show_bug.cgi?id=6428
-
-this is to workaround broken clang assembler that fails w/CFLAGS=-g:
-http://crbug.com/585930
-https://llvm.org/bugs/show_bug.cgi?id=11740
-
-patch has been sent upstream too:
-https://gmplib.org/list-archives/gmp-bugs/2016-February/003916.html
-
 a/configure
-+++ b/configure
-@@ -11339,7 +11339,7 @@ EOF
-   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-   test $ac_status = 0; }; } \
-  && grep .note.GNU-stack conftest.s >/dev/null \
-- && { ac_try='${CC} $CFLAGS $CPPFLAGS -Wa,--noexecstack
-+ && { ac_try='${CC} $ASMFLAGS -Wa,--noexecstack
--c -o conftest.o conftest.s >/dev/null'
-   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
-   (eval $ac_try) 2>&5

diff --git a/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch 
b/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch
deleted file mode 100644
index 8960464..000
--- a/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 gmp-6.0.0/gmp-h.in.orig2015-01-16 22:25:51.0 +0100
-+++ gmp-6.0.0/gmp-h.in 2015-01-16 22:26:40.0 +0100
-@@ -360,14 +360,14 @@
- GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
- inline semantics, unless -fgnu89-inline is used.  */
- #ifdef __GNUC__
--#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
--  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
-+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
- #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
--#else
-+#define __GMP_INLINE_PROTOTYPES  1
-+#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && 
__STDC_VERSION__ >= 199901L)
- #define __GMP_EXTERN_INLINE  extern __inline__
--#endif
- #define __GMP_INLINE_PROTOTYPES  1
- #endif
-+#endif
- 
- /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1
-strict ANSI mode.  Inlining is done even when not optimizing (ie. -O0

diff --git a/dev-libs/gmp/gmp-6.2.0-r1.ebuild b/dev-libs/gmp/gmp-6.2.0-r1.ebuild
deleted file mode 100644
index 4417fec..000
--- a/dev-libs/gmp/gmp-6.2.0-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic eutils libtool multilib-minimal toolchain-funcs
-
-MY_PV=${PV/_p*}
-MY_PV=${MY_PV/_/-}
-MY_P=${PN}-${MY_PV}

[gentoo-commits] proj/riscv:master commit in: profiles/desc/

2020-09-11 Thread Andreas K. Hüttel
commit: 088fd7baff734f166f0a30fb361ee8b1e463f8c9
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 15:40:51 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 15:40:51 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=088fd7ba

profiles: moved abi useflag def to main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/desc/abi_riscv.desc | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/profiles/desc/abi_riscv.desc b/profiles/desc/abi_riscv.desc
deleted file mode 100644
index f11a1da..000
--- a/profiles/desc/abi_riscv.desc
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains descriptions of ABI_RISCV USE_EXPAND flags.
-
-# Keep it sorted. Please do not add anything without prior discussion
-# on gentoo-dev.
-lp64d - 64-bit (rv64) double hard-float libraries
-lp64 - 64-bit (rv64) soft-float libraries
-ilp32d - 32-bit (rv32) double hard-float libraries
-ilp32 - 32-bit (rv32) soft-float libraries



[gentoo-commits] proj/riscv:master commit in: sys-devel/gcc/files/4.1.0/, sys-devel/gcc/files/3.3.4/, ...

2020-09-11 Thread Andreas K. Hüttel
commit: ae02e82f6f5bc8e3241e48973a4e26c73079a130
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:12:20 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:12:52 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=ae02e82f

sys-devel/gcc: remove copy

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-devel/gcc/Manifest |  2 -
 .../gcc/files/3.3.4/libffi-without-libgcj.patch| 22 --
 .../files/3.4.3/libffi-nogcj-lib-path-fix.patch| 40 --
 .../gcc/files/3.4.3/libffi-without-libgcj.patch| 40 --
 .../gcc/files/3.4.4/gcc-3.4.4-cross-compile.patch  | 63 
 .../gcc/files/4.1.0/gcc-4.1.0-cross-compile.patch  | 40 --
 .../gcc-4.1.0-fast-math-i386-Os-workaround.patch   | 64 
 sys-devel/gcc/files/gcc-4.9.4-bootstrap.patch  | 66 
 sys-devel/gcc/files/gcc-9.2.0-neg-insn-cost.patch  | 29 
 sys-devel/gcc/files/gcc-configure-LANG.patch   | 64 
 sys-devel/gcc/files/gcc-configure-texinfo.patch| 16 
 sys-devel/gcc/files/gcc-spec-env-r1.patch  | 87 --
 sys-devel/gcc/files/gcc-spec-env.patch | 42 ---
 sys-devel/gcc/gcc-10.2.0-r1.ebuild | 18 -
 sys-devel/gcc/metadata.xml | 36 -
 15 files changed, 629 deletions(-)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
deleted file mode 100644
index ac1a8f2..000
--- a/sys-devel/gcc/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gcc-10.2.0-patches-2.tar.bz2 17701 BLAKE2B 
bed0cf2dcb6b2e35dbd86c43db617cfa0a0973b3d55bd6e12baf9e6495afd0fec855fefd223172c23f11449769996c18359abacfac36f62681310c861d5d2850
 SHA512 
6ebf5875ecc9f10dea67d4793fcc47178ddd6abe8959fc0390c6ff967fba7318013b4bf251abf451999b86697e97390c8698685b12086956c8e6bc2e97708bc9
-DIST gcc-10.2.0.tar.xz 75004144 BLAKE2B 
1d79397330354e61439283cac96a109bf78ffc726265442e6d3ec131f107589ab7349d6612836edd8c8512f7bcc1d901a65a0d5d925d28a5bf3ef5cc3f9787ee
 SHA512 
42ae38928bd2e8183af445da34220964eb690b675b1892bbeb7cd5bb62be499011ec9a93397dba5e2fb681afadfc6f2767d03b9035b44ba9be807187ae6dc65e

diff --git a/sys-devel/gcc/files/3.3.4/libffi-without-libgcj.patch 
b/sys-devel/gcc/files/3.3.4/libffi-without-libgcj.patch
deleted file mode 100644
index 507d42f..000
--- a/sys-devel/gcc/files/3.3.4/libffi-without-libgcj.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 configure.in.old   2004-06-26 07:01:06.0 +0200
-+++ configure.in   2004-06-26 07:02:55.0 +0200
-@@ -52,8 +52,7 @@
- host_tools="texinfo byacc flex bison binutils ld gas gcc sid sim gdb make 
patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake 
libtool grep diff rcs fileutils shellutils time textutils wdiff find uudecode 
hello tar gzip indent recode release sed utils guile perl gawk findutils 
snavigator libtool gettext zip fastjar"
- 
- # libgcj represents the runtime libraries only used by gcj.
--libgcj="target-libffi \
--  target-boehm-gc \
-+libgcj="target-boehm-gc \
-   target-zlib \
-   target-qthreads \
-   target-libjava"
-@@ -66,7 +65,8 @@
-   target-newlib \
-   ${libstdcxx_version} \
-   target-libf2c \
--  ${libgcj}
-+  ${libgcj} \
-+  target-libffi \
-   target-libobjc"
- 
- # these tools are built using the target libs, and are intended to run only

diff --git a/sys-devel/gcc/files/3.4.3/libffi-nogcj-lib-path-fix.patch 
b/sys-devel/gcc/files/3.4.3/libffi-nogcj-lib-path-fix.patch
deleted file mode 100644
index b5195e4..000
--- a/sys-devel/gcc/files/3.4.3/libffi-nogcj-lib-path-fix.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -ur gcc-3.4.3/libffi/Makefile.in gcc-3.4.3-ffi-fixes/libffi/Makefile.in
 gcc-3.4.3/libffi/Makefile.in   2003-11-22 08:41:32.0 -0500
-+++ gcc-3.4.3-ffi-fixes/libffi/Makefile.in 2004-11-28 17:31:50.0 
-0500
-@@ -89,7 +89,7 @@
- libffi_basedir = @libffi_basedir@
- tool_include_dir = @tool_include_dir@
- toolexecdir = @toolexecdir@
--toolexeclibdir = @toolexeclibdir@
-+toolexeclibdir = @toolexeclibdir@/@gcc_version@
- 
- AUTOMAKE_OPTIONS = cygnus
- 
-diff -ur gcc-3.4.3/libffi/configure gcc-3.4.3-ffi-fixes/libffi/configure
 gcc-3.4.3/libffi/configure 2004-05-18 05:08:39.0 -0400
-+++ gcc-3.4.3-ffi-fixes/libffi/configure   2004-11-28 17:48:19.0 
-0500
-@@ -3800,8 +3800,8 @@
-   toolexecdir='$(exec_prefix)/$(target_alias)'
-   toolexeclibdir='$(toolexecdir)/lib'
- else
--  toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
--  toolexeclibdir='$(libdir)'
-+  toolexecdir='$(libdir)/gcc/$(target_alias)'
-+  toolexeclibdir='$(libdir)/gcc/$(target_alias)/$(gcc-version)'
- fi
- multi_os_directory=`$CC -print-multi-os-directory`
- case $multi_os_directory in
-diff -ur gcc-3.4.3/libffi/configure.in 

[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv64gc/lp64d/, profiles/arch/riscv/rv64gc/, ...

2020-09-11 Thread Andreas K. Hüttel
commit: 7ef4dcca5d316f15663165a25aef5bd608ab8c0e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 15:29:13 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 15:29:13 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7ef4dcca

profiles: arch/riscv moved to main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/eapi   |   1 -
 profiles/arch/riscv/make.defaults  |  48 
 profiles/arch/riscv/package.accept_keywords|   7 --
 profiles/arch/riscv/package.mask   |   5 -
 profiles/arch/riscv/package.use.mask   | 124 -
 profiles/arch/riscv/packages   |   5 -
 profiles/arch/riscv/packages.build |   3 -
 profiles/arch/riscv/parent |   1 -
 profiles/arch/riscv/rv32imac/eapi  |   1 -
 profiles/arch/riscv/rv32imac/ilp32/eapi|   1 -
 profiles/arch/riscv/rv32imac/ilp32/make.defaults   |  12 --
 .../arch/riscv/rv32imac/ilp32/package.use.force|   5 -
 profiles/arch/riscv/rv32imac/ilp32/use.force   |   5 -
 profiles/arch/riscv/rv32imac/ilp32/use.mask|  10 --
 profiles/arch/riscv/rv32imac/ilp32d/eapi   |   1 -
 profiles/arch/riscv/rv32imac/ilp32d/make.defaults  |  15 ---
 .../arch/riscv/rv32imac/ilp32d/package.use.force   |   5 -
 profiles/arch/riscv/rv32imac/ilp32d/use.mask   |  10 --
 profiles/arch/riscv/rv32imac/make.defaults |  23 
 profiles/arch/riscv/rv32imac/parent|   2 -
 profiles/arch/riscv/rv32imac/use.force |   5 -
 profiles/arch/riscv/rv32imac/use.mask  |   6 -
 profiles/arch/riscv/rv64gc/eapi|   1 -
 profiles/arch/riscv/rv64gc/lp64/eapi   |   1 -
 profiles/arch/riscv/rv64gc/lp64/make.defaults  |  17 ---
 profiles/arch/riscv/rv64gc/lp64/package.use.force  |   5 -
 profiles/arch/riscv/rv64gc/lp64/use.force  |   5 -
 profiles/arch/riscv/rv64gc/lp64/use.mask   |  10 --
 profiles/arch/riscv/rv64gc/lp64d/eapi  |   1 -
 profiles/arch/riscv/rv64gc/lp64d/make.defaults |  15 ---
 profiles/arch/riscv/rv64gc/lp64d/package.use.force |   5 -
 profiles/arch/riscv/rv64gc/lp64d/use.mask  |  10 --
 profiles/arch/riscv/rv64gc/make.defaults   |  23 
 profiles/arch/riscv/rv64gc/parent  |   2 -
 profiles/arch/riscv/rv64gc/use.force   |   5 -
 profiles/arch/riscv/rv64gc/use.mask|   8 --
 profiles/arch/riscv/use.force  |   9 --
 profiles/arch/riscv/use.mask   |  48 
 38 files changed, 460 deletions(-)

diff --git a/profiles/arch/riscv/eapi b/profiles/arch/riscv/eapi
deleted file mode 100644
index 7ed6ff8..000
--- a/profiles/arch/riscv/eapi
+++ /dev/null
@@ -1 +0,0 @@
-5

diff --git a/profiles/arch/riscv/make.defaults 
b/profiles/arch/riscv/make.defaults
deleted file mode 100644
index 3a7d4ac..000
--- a/profiles/arch/riscv/make.defaults
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Main RISC-V profile directory. Common settings for all riscv profiles.
-
-# This is not a complete profile. Use the subdirectories!
-
-ARCH="riscv"
-ACCEPT_KEYWORDS="riscv ~riscv"
-
-CFLAGS="-O2 -pipe"
-CXXFLAGS="${CFLAGS}"
-FFLAGS="${CFLAGS}"
-FCFLAGS="${CFLAGS}"
-
-SYMLINK_LIB="no"
-
-# Flags for lp64d
-LIBDIR_lp64d="lib64/lp64d"
-CFLAGS_lp64d="-mabi=lp64d"
-LDFLAGS_lp64d="-m elf64lriscv"
-CHOST_lp64d="riscv64-unknown-linux-gnu"
-
-# Flags for lp64
-LIBDIR_lp64="lib64/lp64"
-CFLAGS_lp64="-mabi=lp64"
-LDFLAGS_lp64="-m elf64lriscv_lp64"
-CHOST_lp64="riscv64-unknown-linux-gnu"
-
-# Flags for ilp32d
-LIBDIR_ilp32d="lib32/ilp32d"
-CFLAGS_ilp32d="-mabi=ilp32d -march=rv32imafdc"
-LDFLAGS_ilp32d="-m elf32lriscv"
-CHOST_ilp32d="riscv32-unknown-linux-gnu"
-
-# Flags for ilp32
-LIBDIR_ilp32="lib32/ilp32"
-CFLAGS_ilp32="-mabi=ilp32 -march=rv32imac"
-LDFLAGS_ilp32="-m elf32lriscv_ilp32"
-CHOST_ilp32="riscv32-unknown-linux-gnu"
-
-# Since many people will want to test this in qemu...
-FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
-
-# The following stuff is, e.g., defined in subdirs:
-# ABI
-# DEFAULT_ABI
-# MULTILIB_ABIS

diff --git a/profiles/arch/riscv/package.accept_keywords 
b/profiles/arch/riscv/package.accept_keywords
deleted file mode 100644
index 3ebc00a..000
--- a/profiles/arch/riscv/package.accept_keywords
+++ /dev/null
@@ -1,7 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Even if someone makes Portage accept other keywords, here
-# we need specific versions / patches for riscv!
-sys-devel/gcc -amd64 -~amd64
-sys-libs/glibc -amd64 -~amd64

diff --git a/profiles/arch/riscv/package.mask b/profiles/arch/riscv/package.mask
deleted file mode 100644

[gentoo-commits] proj/riscv:master commit in: sys-libs/zlib/files/, sys-libs/zlib/

2020-09-11 Thread Andreas K. Hüttel
commit: da4b4c097c3385038ef0d02c373e7b2f7e2e6c7b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:05:59 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:05:59 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=da4b4c09

sys-libs/zlib: remove copy

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/zlib/Manifest |   1 -
 .../zlib-1.2.11-fix-deflateParams-usage.patch  |  67 ---
 .../zlib-1.2.11-minizip-drop-crypt-header.patch|  38 ---
 sys-libs/zlib/metadata.xml |  14 ---
 sys-libs/zlib/zlib-1.2.11-r2.ebuild| 123 -
 5 files changed, 243 deletions(-)

diff --git a/sys-libs/zlib/Manifest b/sys-libs/zlib/Manifest
deleted file mode 100644
index 1db6ff6..000
--- a/sys-libs/zlib/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST zlib-1.2.11.tar.gz 607698 BLAKE2B 
6bfc4bca5dcadba8a0d4121a2b3ed0bfe440c261003521862c8e6381f1a6f0a72d3fc037351d30afd7ef321e8e8d2ec817c046ac749f2ca0c97fbdc2f7e840b7
 SHA512 
73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae

diff --git a/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch 
b/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
deleted file mode 100644
index 1876484..000
--- a/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From f9694097dd69354b03cb8af959094c7f260db0a1 Mon Sep 17 00:00:00 2001
-From: Mark Adler 
-Date: Mon, 16 Jan 2017 09:49:35 -0800
-Subject: [PATCH] Permit a deflateParams() parameter change as soon as
- possible.
-
-This commit allows a parameter change even if the input data has
-not all been compressed and copied to the application output
-buffer, so long as all of the input data has been compressed to
-the internal pending output buffer. This also allows an immediate
-deflateParams change so long as there have been no deflate calls
-since initialization or reset.

- deflate.c |  6 +++---
- zlib.h| 11 ++-
- 2 files changed, 9 insertions(+), 8 deletions(-)
-
-diff --git a/deflate.c b/deflate.c
-index b63311a5..20bda4f6 100644
 a/deflate.c
-+++ b/deflate.c
-@@ -494,7 +494,7 @@ int ZEXPORT deflateResetKeep (strm)
- s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
- #endif
- adler32(0L, Z_NULL, 0);
--s->last_flush = Z_NO_FLUSH;
-+s->last_flush = -2;
- 
- _tr_init(s);
- 
-@@ -587,12 +587,12 @@ int ZEXPORT deflateParams(strm, level, strategy)
- func = configuration_table[s->level].func;
- 
- if ((strategy != s->strategy || func != configuration_table[level].func) 
&&
--s->high_water) {
-+s->last_flush != -2) {
- /* Flush the last buffer: */
- int err = deflate(strm, Z_BLOCK);
- if (err == Z_STREAM_ERROR)
- return err;
--if (strm->avail_out == 0)
-+if (strm->avail_in || (s->strstart - s->block_start) + s->lookahead)
- return Z_BUF_ERROR;
- }
- if (s->level != level) {
-diff --git a/zlib.h b/zlib.h
-index 5daf4f28..577d81e3 100644
 a/zlib.h
-+++ b/zlib.h
-@@ -712,11 +712,12 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
-used to switch between compression and straight copy of the input data, or
-to switch to a different kind of input data requiring a different strategy.
-If the compression approach (which is a function of the level) or the
--   strategy is changed, and if any input has been consumed in a previous
--   deflate() call, then the input available so far is compressed with the old
--   level and strategy using deflate(strm, Z_BLOCK).  There are three 
approaches
--   for the compression levels 0, 1..3, and 4..9 respectively.  The new level
--   and strategy will take effect at the next call of deflate().
-+   strategy is changed, and if there have been any deflate() calls since the
-+   state was initialized or reset, then the input available so far is
-+   compressed with the old level and strategy using deflate(strm, Z_BLOCK).
-+   There are three approaches for the compression levels 0, 1..3, and 4..9
-+   respectively.  The new level and strategy will take effect at the next call
-+   of deflate().
- 
-  If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
-not have enough output space to complete, then the parameter change will 
not

diff --git a/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch 
b/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch
deleted file mode 100644
index 2e0a93e..000
--- a/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-https://bugs.gentoo.org/658536
-https://github.com/madler/zlib/pull/229
-
-From e490ddad3091574a0c2e3b5a66a8fee9a7ab212f Mon Sep 17 00:00:00 2001
-From: Pavel Raiskup 
-Date: Sun, 19 Feb 2017 16:42:12 +0100

[gentoo-commits] proj/riscv:master commit in: profiles/

2020-09-11 Thread Andreas K. Hüttel
commit: d4192c859683f43aa03ead1b4c7def46b018a8ba
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri Sep 11 16:02:54 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri Sep 11 16:03:22 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=d4192c85

profiles.desc: remove, obsolete

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/profiles.desc | 5 -
 1 file changed, 5 deletions(-)

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
deleted file mode 100644
index 8cfd1ee..000
--- a/profiles/profiles.desc
+++ /dev/null
@@ -1,5 +0,0 @@
-riscv  default/linux/riscv/17.0/rv64gc dev
-riscv  default/linux/riscv/17.0/rv64gc/lp64d   stable
-riscv  default/linux/riscv/17.0/rv64gc/lp64stable
-riscv  default/linux/riscv/17.0/rv32imac/ilp32dstable
-riscv  default/linux/riscv/17.0/rv32imac/ilp32 stable



[gentoo-commits] proj/riscv:master commit in: sys-apps/sandbox/, sys-apps/sandbox/files/

2020-09-06 Thread Andreas K. Hüttel
commit: f0c55bde8cb53958a4c4d0ead294c1102da3b9e0
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Sep  6 10:42:58 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Sep  6 10:42:58 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=f0c55bde

sys-apps/sandbox: Copy to overlay for additional abis

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-apps/sandbox/Manifest|  7 
 sys-apps/sandbox/files/09sandbox |  1 +
 sys-apps/sandbox/metadata.xml|  8 
 sys-apps/sandbox/sandbox-2.12.ebuild | 76 
 sys-apps/sandbox/sandbox-2.13.ebuild | 76 
 sys-apps/sandbox/sandbox-2.14.ebuild | 76 
 sys-apps/sandbox/sandbox-2.15.ebuild | 76 
 sys-apps/sandbox/sandbox-2.17.ebuild | 72 ++
 sys-apps/sandbox/sandbox-2.18.ebuild | 74 +++
 sys-apps/sandbox/sandbox-2.20.ebuild | 74 +++
 10 files changed, 540 insertions(+)

diff --git a/sys-apps/sandbox/Manifest b/sys-apps/sandbox/Manifest
new file mode 100644
index 000..f724c70
--- /dev/null
+++ b/sys-apps/sandbox/Manifest
@@ -0,0 +1,7 @@
+DIST sandbox-2.12.tar.xz 424252 BLAKE2B 
55eb06cbc15ad9ff8b0c272b8d071591ce3533a6ff807719df79131e6c966d60c3b37d9d8e4e1d466df0992836c4594bf6927b496ecb343a71d7b0656219a6d7
 SHA512 
98bd2ee8807d81e65ee0c9f11cfaf2b37da2ee4d8763c68d18c0ff6b14f3cc847ae2d3a0aa30cbe86063a2108ed4d4dcf7cc3fc4f37cb7549d266d4c1989c2a9
+DIST sandbox-2.13.tar.xz 424968 BLAKE2B 
efcbf527853e8cfe8b3fec026041f55f51cba78029f92195ec76a45e84cb2b6cc129267c6e50608584607de72a86b2e7836e77f20677de9b94bb5c40999e4712
 SHA512 
46ad79335e51a1ec0aaa34ab5eeabe9d007818c518682409c5aaf97d49ec23021ece8fa53264ce5332cdd04ef6b3fd9beff0dc0a3cb5dfe2f9b6a6e359f8c1cf
+DIST sandbox-2.14.tar.xz 426992 BLAKE2B 
a30984f613b773cb5e53b2b0297ada32d11797699418aebf3014e11f3ec2b69a1c4b4e22ce96c28b1df022617cab6787cfe61f84b37ed61e966ac425eae1c7eb
 SHA512 
b84584cffc54678646798bc58d8b60cdc10a0a58c9f1a49276dcac205a06dd7a2e664d2a9c40c78b48eae8ac36e3ac498ba35674f10e6e06c3c2bab777e05ced
+DIST sandbox-2.15.tar.xz 426948 BLAKE2B 
e40bb728192ef3793a9129bc88a63878516b0977a19effd5b02ded644ec6fe1627fab34786b22024957d96725fc5c53f488f7b09119be7b7ca91692dcee985dc
 SHA512 
7249b594864267311ce8e2c04275df49c6d8e8e811dde5780f7f676cb43928728b9abed77beb8f5ee32061efcdb03753cce44d5bf1827bd519d6be8fa54912e6
+DIST sandbox-2.17.tar.xz 431700 BLAKE2B 
461404f5b98ac83d9e5bc63fc7251cdfbb04a0ccedb340a7a5b8595b68ab34034a56c0a0cfa8478961c9282f6450de89ef5b512b13d427a7f63c17a4141cbcbf
 SHA512 
b5d7a76d894471f6610b41aa05f007d257c69ae5c90f8db455d626e0d1209b9d276678c36e90d2e4214d15074512be182b4f5f905ed2b7e236ff714cbf51958f
+DIST sandbox-2.18.tar.xz 427760 BLAKE2B 
26199ff8f919dcecdfdb74d508e0802e2e929a003ff1caddc54c1ea0f7887938c4f69065e585d61f7e96b29be26a34a1cdb62b397309e993511097ecaebe0620
 SHA512 
1775d4d6f80d414ab94eafae73966c12c4dd80857e21f0849703a3230ddb80501d8e574b14296e554932766cd71aa7b48a802fc388aaab43ba882ee7d005a60d
+DIST sandbox-2.20.tar.xz 428400 BLAKE2B 
11761631ce8e2e495adb41508f308bce875d416ec978e3eb3cb491d3d3a464d7653b8b81d4dcc7e5cd31e8a55069aafa263b85008651ee1d7318f32407fa4615
 SHA512 
06db36fc85bacf9a3a094c434b73277d8cdde986f2fad7676c42e8f84b3b8b653a1f4b1ec4af9fa1ff5484177419e18f5621275f56a8fbf3973ece524dd6d208

diff --git a/sys-apps/sandbox/files/09sandbox b/sys-apps/sandbox/files/09sandbox
new file mode 100644
index 000..9181eb0
--- /dev/null
+++ b/sys-apps/sandbox/files/09sandbox
@@ -0,0 +1 @@
+CONFIG_PROTECT_MASK="/etc/sandbox.d"

diff --git a/sys-apps/sandbox/metadata.xml b/sys-apps/sandbox/metadata.xml
new file mode 100644
index 000..1cdc968
--- /dev/null
+++ b/sys-apps/sandbox/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  sand...@gentoo.org
+  Sandbox Maintainers
+
+

diff --git a/sys-apps/sandbox/sandbox-2.12.ebuild 
b/sys-apps/sandbox/sandbox-2.12.ebuild
new file mode 100644
index 000..2f83340
--- /dev/null
+++ b/sys-apps/sandbox/sandbox-2.12.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic multilib-minimal multiprocessing pax-utils
+
+DESCRIPTION="sandbox'd LD_PRELOAD hack"
+HOMEPAGE="https://www.gentoo.org/proj/en/portage/sandbox/;
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+   >=app-misc/pax-utils-0.1.19" #265376
+RDEPEND=""
+
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || 
EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+   ewarn "If configure failed with a 'cannot run C compiled programs' 
error, 

[gentoo-commits] proj/riscv:master commit in: dev-libs/mpfr/, dev-libs/gmp/, dev-libs/mpc/, dev-libs/gmp/files/

2020-09-06 Thread Andreas K. Hüttel
commit: c536aa491eb010d0278d22cc75725eab1dd627da
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Sep  6 10:39:30 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Sep  6 10:39:30 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c536aa49

dev-libs/{gmp,mpc,mpfr}: Copy from main tree to get additional abis

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 dev-libs/gmp/Manifest  |   2 +
 .../gmp/files/gmp-6.1.0-noexecstack-detect.patch   |  23 +
 dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch |  21 +
 dev-libs/gmp/gmp-6.2.0-r1.ebuild   | 105 +
 dev-libs/gmp/metadata.xml  |  15 +++
 dev-libs/mpc/Manifest  |   2 +
 dev-libs/mpc/metadata.xml  |   8 ++
 dev-libs/mpc/mpc-1.1.0-r1.ebuild   |  28 ++
 dev-libs/mpc/mpc-1.2.0.ebuild  |  28 ++
 dev-libs/mpfr/Manifest |   2 +
 dev-libs/mpfr/metadata.xml |   8 ++
 dev-libs/mpfr/mpfr-4.0.2.ebuild|  58 
 dev-libs/mpfr/mpfr-4.1.0.ebuild|  32 +++
 13 files changed, 332 insertions(+)

diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest
new file mode 100644
index 000..eb46a81
--- /dev/null
+++ b/dev-libs/gmp/Manifest
@@ -0,0 +1,2 @@
+DIST gmp-6.2.0.tar.xz 2012444 BLAKE2B 
928141cf7b0b70f78b66e7bc52aecd39a5fc30e8865b6de6effb5b061ade05a5a51b4680ef2f36ea0d682b319d54ceb1c6c8ef93bde6c2eef2e8b826a34602c3
 SHA512 
a066f0456f0314a1359f553c49fc2587e484ff8ac390ff88537266a146ea373f97a1c0ba24608bf6756f4eab11c9056f103c8deb99e5b57741b4f7f0ec44b90c
+DIST gmp-man-6.2.0.pdf 828998 BLAKE2B 
0bf56bf0a6f1aac0e1fb9a5a37552f846a2d4a01bfd3f5b5c531d42a9afc48c19552e08971785805f59e3f2a5fd89e3f986f841dca2e340813596cfd76574e61
 SHA512 
25d129efedd329cd2d4535557c6912191f587bfd8ef028618b4ca6199ec7bf7a9ae862e7f5e5b5448c86888452a39fc7bf95cf9c18311858dd1aa9ae1c716239

diff --git a/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch 
b/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch
new file mode 100644
index 000..558ba60
--- /dev/null
+++ b/dev-libs/gmp/files/gmp-6.1.0-noexecstack-detect.patch
@@ -0,0 +1,23 @@
+gmp's -Wa,--noexecstack check is based on glibc's, so backport a change
+that went into it there:
+https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=215a87451d1fd623fd2699fa57f16f8ab6f6a2f3
+https://sourceware.org/bugzilla/show_bug.cgi?id=6428
+
+this is to workaround broken clang assembler that fails w/CFLAGS=-g:
+http://crbug.com/585930
+https://llvm.org/bugs/show_bug.cgi?id=11740
+
+patch has been sent upstream too:
+https://gmplib.org/list-archives/gmp-bugs/2016-February/003916.html
+
+--- a/configure
 b/configure
+@@ -11339,7 +11339,7 @@ EOF
+   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; } \
+  && grep .note.GNU-stack conftest.s >/dev/null \
+- && { ac_try='${CC} $CFLAGS $CPPFLAGS -Wa,--noexecstack
++ && { ac_try='${CC} $ASMFLAGS -Wa,--noexecstack
+-c -o conftest.o conftest.s >/dev/null'
+   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
+   (eval $ac_try) 2>&5

diff --git a/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch 
b/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch
new file mode 100644
index 000..8960464
--- /dev/null
+++ b/dev-libs/gmp/files/gmp-6.1.2-gcc-apple-4.0.1.patch
@@ -0,0 +1,21 @@
+--- gmp-6.0.0/gmp-h.in.orig2015-01-16 22:25:51.0 +0100
 gmp-6.0.0/gmp-h.in 2015-01-16 22:26:40.0 +0100
+@@ -360,14 +360,14 @@
+ GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
+ inline semantics, unless -fgnu89-inline is used.  */
+ #ifdef __GNUC__
+-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
+-  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
++#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
+ #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
+-#else
++#define __GMP_INLINE_PROTOTYPES  1
++#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && 
__STDC_VERSION__ >= 199901L)
+ #define __GMP_EXTERN_INLINE  extern __inline__
+-#endif
+ #define __GMP_INLINE_PROTOTYPES  1
+ #endif
++#endif
+ 
+ /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1
+strict ANSI mode.  Inlining is done even when not optimizing (ie. -O0

diff --git a/dev-libs/gmp/gmp-6.2.0-r1.ebuild b/dev-libs/gmp/gmp-6.2.0-r1.ebuild
new file mode 100644
index 000..4417fec
--- /dev/null
+++ b/dev-libs/gmp/gmp-6.2.0-r1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic eutils libtool multilib-minimal toolchain-funcs
+
+MY_PV=${PV/_p*}

[gentoo-commits] proj/riscv:master commit in: sys-libs/zlib/, sys-libs/zlib/files/

2020-09-05 Thread Andreas K. Hüttel
commit: 98db05471db283f4897c2537ae5456e62cf5483b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 20:59:36 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 20:59:36 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=98db0547

sys-libs/zlib: Copy from main tree to get additional abis

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sys-libs/zlib/Manifest |   1 +
 .../zlib-1.2.11-fix-deflateParams-usage.patch  |  67 +++
 .../zlib-1.2.11-minizip-drop-crypt-header.patch|  38 +++
 sys-libs/zlib/metadata.xml |  14 +++
 sys-libs/zlib/zlib-1.2.11-r2.ebuild| 123 +
 5 files changed, 243 insertions(+)

diff --git a/sys-libs/zlib/Manifest b/sys-libs/zlib/Manifest
new file mode 100644
index 000..1db6ff6
--- /dev/null
+++ b/sys-libs/zlib/Manifest
@@ -0,0 +1 @@
+DIST zlib-1.2.11.tar.gz 607698 BLAKE2B 
6bfc4bca5dcadba8a0d4121a2b3ed0bfe440c261003521862c8e6381f1a6f0a72d3fc037351d30afd7ef321e8e8d2ec817c046ac749f2ca0c97fbdc2f7e840b7
 SHA512 
73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae

diff --git a/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch 
b/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
new file mode 100644
index 000..1876484
--- /dev/null
+++ b/sys-libs/zlib/files/zlib-1.2.11-fix-deflateParams-usage.patch
@@ -0,0 +1,67 @@
+From f9694097dd69354b03cb8af959094c7f260db0a1 Mon Sep 17 00:00:00 2001
+From: Mark Adler 
+Date: Mon, 16 Jan 2017 09:49:35 -0800
+Subject: [PATCH] Permit a deflateParams() parameter change as soon as
+ possible.
+
+This commit allows a parameter change even if the input data has
+not all been compressed and copied to the application output
+buffer, so long as all of the input data has been compressed to
+the internal pending output buffer. This also allows an immediate
+deflateParams change so long as there have been no deflate calls
+since initialization or reset.
+---
+ deflate.c |  6 +++---
+ zlib.h| 11 ++-
+ 2 files changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/deflate.c b/deflate.c
+index b63311a5..20bda4f6 100644
+--- a/deflate.c
 b/deflate.c
+@@ -494,7 +494,7 @@ int ZEXPORT deflateResetKeep (strm)
+ s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
+ #endif
+ adler32(0L, Z_NULL, 0);
+-s->last_flush = Z_NO_FLUSH;
++s->last_flush = -2;
+ 
+ _tr_init(s);
+ 
+@@ -587,12 +587,12 @@ int ZEXPORT deflateParams(strm, level, strategy)
+ func = configuration_table[s->level].func;
+ 
+ if ((strategy != s->strategy || func != configuration_table[level].func) 
&&
+-s->high_water) {
++s->last_flush != -2) {
+ /* Flush the last buffer: */
+ int err = deflate(strm, Z_BLOCK);
+ if (err == Z_STREAM_ERROR)
+ return err;
+-if (strm->avail_out == 0)
++if (strm->avail_in || (s->strstart - s->block_start) + s->lookahead)
+ return Z_BUF_ERROR;
+ }
+ if (s->level != level) {
+diff --git a/zlib.h b/zlib.h
+index 5daf4f28..577d81e3 100644
+--- a/zlib.h
 b/zlib.h
+@@ -712,11 +712,12 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
+used to switch between compression and straight copy of the input data, or
+to switch to a different kind of input data requiring a different strategy.
+If the compression approach (which is a function of the level) or the
+-   strategy is changed, and if any input has been consumed in a previous
+-   deflate() call, then the input available so far is compressed with the old
+-   level and strategy using deflate(strm, Z_BLOCK).  There are three 
approaches
+-   for the compression levels 0, 1..3, and 4..9 respectively.  The new level
+-   and strategy will take effect at the next call of deflate().
++   strategy is changed, and if there have been any deflate() calls since the
++   state was initialized or reset, then the input available so far is
++   compressed with the old level and strategy using deflate(strm, Z_BLOCK).
++   There are three approaches for the compression levels 0, 1..3, and 4..9
++   respectively.  The new level and strategy will take effect at the next call
++   of deflate().
+ 
+  If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
+not have enough output space to complete, then the parameter change will 
not

diff --git a/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch 
b/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch
new file mode 100644
index 000..2e0a93e
--- /dev/null
+++ b/sys-libs/zlib/files/zlib-1.2.11-minizip-drop-crypt-header.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/658536
+https://github.com/madler/zlib/pull/229
+
+From e490ddad3091574a0c2e3b5a66a8fee9a7ab212f Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup 
+Date: Sun, 19 Feb 2017 

[gentoo-commits] proj/riscv:master commit in: profiles/desc/

2020-09-05 Thread Andreas K. Hüttel
commit: 03dd313bfab7366160857045a3c653db264d1908
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 20:55:27 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 20:55:27 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=03dd313b

Add useflag support for rv32 abis

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/desc/abi_riscv.desc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/profiles/desc/abi_riscv.desc b/profiles/desc/abi_riscv.desc
index 708fc86..f11a1da 100644
--- a/profiles/desc/abi_riscv.desc
+++ b/profiles/desc/abi_riscv.desc
@@ -7,3 +7,5 @@
 # on gentoo-dev.
 lp64d - 64-bit (rv64) double hard-float libraries
 lp64 - 64-bit (rv64) soft-float libraries
+ilp32d - 32-bit (rv32) double hard-float libraries
+ilp32 - 32-bit (rv32) soft-float libraries



[gentoo-commits] proj/riscv:master commit in: profiles/desc/

2020-09-05 Thread Andreas K. Hüttel
commit: 6946074fed5fbf8c0fb40cd82a8bc2b07c7a764a
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 20:54:55 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 20:54:55 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=6946074f

Copy abi_riscv from main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/desc/abi_riscv.desc | 9 +
 1 file changed, 9 insertions(+)

diff --git a/profiles/desc/abi_riscv.desc b/profiles/desc/abi_riscv.desc
new file mode 100644
index 000..708fc86
--- /dev/null
+++ b/profiles/desc/abi_riscv.desc
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of ABI_RISCV USE_EXPAND flags.
+
+# Keep it sorted. Please do not add anything without prior discussion
+# on gentoo-dev.
+lp64d - 64-bit (rv64) double hard-float libraries
+lp64 - 64-bit (rv64) soft-float libraries



[gentoo-commits] proj/riscv:master commit in: eclass/

2020-09-05 Thread Andreas K. Hüttel
commit: 3aa52014348806588d416e0ee73c51014925876e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 20:47:43 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 20:47:43 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=3aa52014

Add support for rv32 abis to multilib-build.eclass

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 eclass/multilib-build.eclass | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
index 620bdce..dc4f8a2 100644
--- a/eclass/multilib-build.eclass
+++ b/eclass/multilib-build.eclass
@@ -49,6 +49,8 @@ _MULTILIB_FLAGS=(
 #  abi_ppc_64:ppc64
abi_riscv_lp64d:lp64d
abi_riscv_lp64:lp64
+   abi_riscv_ilp32d:ilp32d
+   abi_riscv_ilp32:ilp32
abi_s390_32:s390
abi_s390_64:s390x
 )
@@ -492,12 +494,18 @@ multilib_prepare_wrappers() {
 #  error "abi_mips_o32 not supported by the package."
 #  endif
 #elif defined(__riscv)
-#  if defined(__riscv_float_abi_double)
+#  if (__WORDSIZE == 64) && defined(__riscv_float_abi_double)
 #  error "abi_riscv_lp64d not supported by the package."
-#  elif defined(__riscv_float_abi_single)
+#  elif (__WORDSIZE == 64) && defined(__riscv_float_abi_single)
 #  error "abi_riscv_lp64f not supported by the package."
-#  else
+#  elif (__WORDSIZE == 64)
 #  error "abi_riscv_lp64 not supported by the package."
+#  elif (__WORDSIZE == 32) && defined(__riscv_float_abi_double)
+#  error "abi_riscv_ilp32d not supported by the package."
+#  elif (__WORDSIZE == 32) && defined(__riscv_float_abi_single)
+#  error "abi_riscv_ilp32f not supported by the package."
+#  else
+#  error "abi_riscv_ilp32 not supported by the package."
 #  endif
 #elif defined(__sparc__)
 #  if defined(__arch64__)



[gentoo-commits] proj/riscv:master commit in: eclass/

2020-09-05 Thread Andreas K. Hüttel
commit: 6ae8eae6e8cfb6f21775135e8e076adf5255dc47
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 20:39:13 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 20:39:13 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=6ae8eae6

Copy multilib-build.eclass from main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 eclass/multilib-build.eclass | 686 +++
 1 file changed, 686 insertions(+)

diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass
new file mode 100644
index 000..620bdce
--- /dev/null
+++ b/eclass/multilib-build.eclass
@@ -0,0 +1,686 @@
+# Copyright 2013-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: multilib-build.eclass
+# @MAINTAINER:
+# gx86-multilib team 
+# @AUTHOR:
+# Author: Michał Górny 
+# @SUPPORTED_EAPIS: 4 5 6 7
+# @BLURB: flags and utility functions for building multilib packages
+# @DESCRIPTION:
+# The multilib-build.eclass exports USE flags and utility functions
+# necessary to build packages for multilib in a clean and uniform
+# manner.
+#
+# Please note that dependency specifications for multilib-capable
+# dependencies shall use the USE dependency string in ${MULTILIB_USEDEP}
+# to properly request multilib enabled.
+
+if [[ ! ${_MULTILIB_BUILD} ]]; then
+
+# EAPI=4 is required for meaningful MULTILIB_USEDEP.
+case ${EAPI:-0} in
+   4|5|6|7) ;;
+   *) die "EAPI=${EAPI} is not supported" ;;
+esac
+
+[[ ${EAPI} == [45] ]] && inherit eutils
+inherit multibuild multilib
+
+# @ECLASS-VARIABLE: _MULTILIB_FLAGS
+# @INTERNAL
+# @DESCRIPTION:
+# The list of multilib flags and corresponding ABI values. If the same
+# flag is reused for multiple ABIs (e.g. x86 on Linux), multiple
+# ABIs may be separated by commas.
+#
+# Please contact multilib before modifying this list. This way we can
+# ensure that every *preliminary* work is done and the multilib can be
+# extended safely.
+_MULTILIB_FLAGS=(
+   abi_x86_32:x86,x86_fbsd,x86_freebsd,x86_linux,x86_macos,x86_solaris
+   
abi_x86_64:amd64,amd64_fbsd,x64_freebsd,amd64_linux,x64_macos,x64_solaris
+   abi_x86_x32:x32
+   abi_mips_n32:n32
+   abi_mips_n64:n64
+   abi_mips_o32:o32
+#  abi_ppc_32:ppc,ppc_aix,ppc_macos
+#  abi_ppc_64:ppc64
+   abi_riscv_lp64d:lp64d
+   abi_riscv_lp64:lp64
+   abi_s390_32:s390
+   abi_s390_64:s390x
+)
+readonly _MULTILIB_FLAGS
+
+# @ECLASS-VARIABLE: MULTILIB_COMPAT
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# List of multilib ABIs supported by the ebuild. If unset, defaults to
+# all ABIs supported by the eclass.
+#
+# This variable is intended for use in prebuilt multilib packages that
+# can provide binaries only for a limited set of ABIs. If ABIs need to
+# be limited due to a bug in source code, package.use.mask is to be used
+# instead. Along with MULTILIB_COMPAT, KEYWORDS should contain '-*'.
+#
+# Note that setting this variable effectively disables support for all
+# other ABIs, including other architectures. For example, specifying
+# abi_x86_{32,64} disables support for MIPS as well.
+#
+# The value of MULTILIB_COMPAT determines the value of IUSE. If set, it
+# also enables REQUIRED_USE constraints.
+#
+# Example use:
+# @CODE
+# # Upstream provides binaries for x86 & amd64 only
+# MULTILIB_COMPAT=( abi_x86_{32,64} )
+# @CODE
+
+# @ECLASS-VARIABLE: MULTILIB_USEDEP
+# @OUTPUT_VARIABLE
+# @DESCRIPTION:
+# The USE-dependency to be used on dependencies (libraries) needing
+# to support multilib as well.
+#
+# Example use:
+# @CODE
+# RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}]
+#  net-libs/libbar[ssl,${MULTILIB_USEDEP}]"
+# @CODE
+
+# @ECLASS-VARIABLE: MULTILIB_ABI_FLAG
+# @OUTPUT_VARIABLE
+# @DESCRIPTION:
+# The complete ABI name. Resembles the USE flag name.
+#
+# This is set within multilib_foreach_abi(),
+# multilib_parallel_foreach_abi() and multilib-minimal sub-phase
+# functions.
+#
+# It may be null (empty) when the build is done on ABI not controlled
+# by a USE flag (e.g. on non-multilib arch or when using multilib
+# portage). The build will always be done for a single ABI then.
+#
+# Example value:
+# @CODE
+# abi_x86_64
+# @CODE
+
+_multilib_build_set_globals() {
+   local flags=( "${_MULTILIB_FLAGS[@]%:*}" )
+
+   if [[ ${MULTILIB_COMPAT[@]} ]]; then
+   # Validate MULTILIB_COMPAT and filter out the flags.
+   local f
+   for f in "${MULTILIB_COMPAT[@]}"; do
+   if ! has "${f}" "${flags[@]}"; then
+   die "Invalid value in MULTILIB_COMPAT: ${f}"
+   fi
+   done
+
+   flags=( "${MULTILIB_COMPAT[@]}" )
+
+   REQUIRED_USE="|| ( ${flags[*]} )"
+   fi
+
+   local usedeps=${flags[@]/%/(-)?}
+
+   IUSE=${flags[*]}
+   MULTILIB_USEDEP=${usedeps// /,}
+   readonly MULTILIB_USEDEP
+}

[gentoo-commits] proj/riscv:master commit in: profiles/

2020-09-05 Thread Andreas K. Hüttel
commit: 02abf88ca64b1d99a372555fadbd7691ed605d6b
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 15:09:53 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 15:21:25 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=02abf88c

Add rv32 profiles to profiles.desc

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/profiles.desc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index c14df19..8cfd1ee 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -1,3 +1,5 @@
 riscv  default/linux/riscv/17.0/rv64gc dev
 riscv  default/linux/riscv/17.0/rv64gc/lp64d   stable
 riscv  default/linux/riscv/17.0/rv64gc/lp64stable
+riscv  default/linux/riscv/17.0/rv32imac/ilp32dstable
+riscv  default/linux/riscv/17.0/rv32imac/ilp32 stable



[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv32imac/ilp32/, profiles/arch/riscv/rv32imac/ilp32d/

2020-09-05 Thread Andreas K. Hüttel
commit: d81e5665c7e56534fd0f45a09a19b210df0dd1bd
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 15:01:22 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 15:21:18 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=d81e5665

Add ipp32[d] non-multilib profile subdirs

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/rv32imac/ilp32/eapi   |  1 +
 profiles/arch/riscv/rv32imac/ilp32/make.defaults  | 12 
 profiles/arch/riscv/rv32imac/ilp32/package.use.force  |  5 +
 profiles/arch/riscv/rv32imac/ilp32/use.force  |  5 +
 profiles/arch/riscv/rv32imac/ilp32/use.mask   | 10 ++
 profiles/arch/riscv/rv32imac/ilp32d/eapi  |  1 +
 profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 15 +++
 profiles/arch/riscv/rv32imac/ilp32d/package.use.force |  5 +
 profiles/arch/riscv/rv32imac/ilp32d/use.mask  | 10 ++
 9 files changed, 64 insertions(+)

diff --git a/profiles/arch/riscv/rv32imac/ilp32/eapi 
b/profiles/arch/riscv/rv32imac/ilp32/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv32imac/ilp32/make.defaults 
b/profiles/arch/riscv/rv32imac/ilp32/make.defaults
new file mode 100644
index 000..c540eed
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V rv64gc/lp64 no-multilib profile
+
+# We have only one ABI
+MULTILIB_ABIS="ilp32"
+DEFAULT_ABI="ilp32"
+ABI="ilp32"
+
+# We hide the useflags for the ABIs
+USE_EXPAND_HIDDEN="ABI_RISCV"

diff --git a/profiles/arch/riscv/rv32imac/ilp32/package.use.force 
b/profiles/arch/riscv/rv32imac/ilp32/package.use.force
new file mode 100644
index 000..dc5b60c
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Undo multilib forcing.
+sys-apps/sandbox -abi_riscv_lp64d -abi_riscv_lp64 -abi_riscv_ilp32d

diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.force 
b/profiles/arch/riscv/rv32imac/ilp32/use.force
new file mode 100644
index 000..e54ac40
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32/use.force
@@ -0,0 +1,5 @@
+# Un-force the original multilib default-abi flag
+-abi_riscv_ilp32d
+
+# Force the abi of this profile here
+abi_riscv_ilp32

diff --git a/profiles/arch/riscv/rv32imac/ilp32/use.mask 
b/profiles/arch/riscv/rv32imac/ilp32/use.mask
new file mode 100644
index 000..c717be8
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32/use.mask
@@ -0,0 +1,10 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Mask multilib, since we do not want to use it.
+multilib
+
+# Mask the other multilib flags back for non-multilib profile.
+abi_riscv_lp64d
+abi_riscv_lp64
+abi_riscv_ilp32d

diff --git a/profiles/arch/riscv/rv32imac/ilp32d/eapi 
b/profiles/arch/riscv/rv32imac/ilp32d/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32d/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults 
b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults
new file mode 100644
index 000..3354876
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V rv64gc/lp64d no-multilib profile
+
+CFLAGS="-O2 -pipe -march=rv32imacdf -mabi=ilp32d"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# We have only one ABI
+MULTILIB_ABIS="ilp32d"
+
+# We hide the useflags for the ABIs
+USE_EXPAND_HIDDEN="ABI_RISCV"

diff --git a/profiles/arch/riscv/rv32imac/ilp32d/package.use.force 
b/profiles/arch/riscv/rv32imac/ilp32d/package.use.force
new file mode 100644
index 000..cf764cd
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32d/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Undo multilib forcing.
+sys-apps/sandbox -abi_riscv_lp64d -abi_riscv_lp64 -abi_riscv_ilp32

diff --git a/profiles/arch/riscv/rv32imac/ilp32d/use.mask 
b/profiles/arch/riscv/rv32imac/ilp32d/use.mask
new file mode 100644
index 000..b2c900d
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/ilp32d/use.mask
@@ -0,0 +1,10 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Mask multilib, since we do not want to use it.
+multilib
+
+# Mask the other multilib flags back for non-multilib profile.
+abi_riscv_lp64d
+abi_riscv_lp64
+abi_riscv_ilp32



[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/, profiles/arch/riscv/rv64gc/

2020-09-05 Thread Andreas K. Hüttel
commit: a7c43cebd36f4ab1240e9798532d524daac77441
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 14:24:22 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 14:24:22 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=a7c43ceb

Copy arch/riscv contents from main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/eapi|   1 +
 profiles/arch/riscv/make.defaults   |  25 ++
 profiles/arch/riscv/package.accept_keywords |   7 ++
 profiles/arch/riscv/package.use.mask| 124 
 profiles/arch/riscv/packages|   5 ++
 profiles/arch/riscv/packages.build  |   3 +
 profiles/arch/riscv/parent  |   1 +
 profiles/arch/riscv/rv64gc/parent   |   2 +-
 profiles/arch/riscv/use.force   |   5 ++
 profiles/arch/riscv/use.mask|  42 ++
 10 files changed, 214 insertions(+), 1 deletion(-)

diff --git a/profiles/arch/riscv/eapi b/profiles/arch/riscv/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/make.defaults 
b/profiles/arch/riscv/make.defaults
new file mode 100644
index 000..bae66d7
--- /dev/null
+++ b/profiles/arch/riscv/make.defaults
@@ -0,0 +1,25 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Main RISC-V profile directory.
+
+# This is not a complete profile. Use the subdirectories!
+
+ARCH="riscv"
+ACCEPT_KEYWORDS="riscv ~riscv"
+
+CHOST="riscv64-unknown-linux-gnu"
+
+# Since many people will want to test this in qemu...
+FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
+
+# The following stuff is, e.g., defined in subdirs:
+# CFLAGS
+# CXXFLAGS
+# FFLAGS
+# FCFLAGS
+# ABI
+# DEFAULT_ABI
+# MULTILIB_ABIS
+# CHOST_riscv
+# LIBDIR_riscv

diff --git a/profiles/arch/riscv/package.accept_keywords 
b/profiles/arch/riscv/package.accept_keywords
new file mode 100644
index 000..3ebc00a
--- /dev/null
+++ b/profiles/arch/riscv/package.accept_keywords
@@ -0,0 +1,7 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Even if someone makes Portage accept other keywords, here
+# we need specific versions / patches for riscv!
+sys-devel/gcc -amd64 -~amd64
+sys-libs/glibc -amd64 -~amd64

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
new file mode 100644
index 000..0a948e7
--- /dev/null
+++ b/profiles/arch/riscv/package.use.mask
@@ -0,0 +1,124 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Ulrich Müller  (2020-01-12)
+# Dependencies not keyworded
+app-editors/emacs gui
+
+# Yixun Lan  (2020-09-01)
+# Dependencies not keyworded
+dev-libs/jansson doc
+
+# Jakov Smolic  (2020-08-14)
+# Large amount of missing keywords
+# Bug #724358
+>=dev-libs/json-c-0.15 doc
+
+# Sam James  (2020-07-31)
+# Large amount of missing keywords for cmake and friends
+# bug #720296, bug #724358
+dev-util/cmake doc test
+dev-libs/jsoncpp doc
+
+# Lars Wendler  (2020-05-10)
+# Missing keyword
+media-libs/freetype brotli
+
+# Patrick McLean  (2020-04-16)
+# Lots of python dependencies, mask to facilitate keywording
+# keywording dev-libs/libfido2
+dev-libs/libcbor doc
+
+# Joonas Niilola  (2020-03-26)
+# Dependency not keyworded on ~riscv
+dev-libs/libpipeline test
+sys-apps/kbd test
+
+# Patrick McLean  (2020-02-15)
+# Mask until dev-libs/libfido2 is keyworded
+net-misc/openssh security-key
+
+# Sergei Trofimovich  (2019-12-02)
+# media-libs/gd is not keyworded on riscv
+sys-libs/glibc gd
+
+# Dependency resolution is broken because
+# sys-fs/lvm2 has no riscv keyword
+sys-fs/e2fsprogs cron
+
+# This doesn't work for (any) riscv yet.
+dev-libs/libpcre2 jit
+dev-libs/libpcre jit
+dev-vcs/git pcre-jit
+
+# Not yet tested / unkeyworded dependencies
+# This includes also packages which do not support python-3 or
+# do not support python-3.7 yet.
+
+app-admin/syslog-ng amqp dbi geoip geoip2 json kafka mongodb python redis 
spoof-source smtp snmp test
+app-admin/sysstat lm-sensors
+app-arch/unzip natspec
+app-crypt/gnupg smartcard tofu wks-server
+app-crypt/mit-krb5 doc test xinetd
+app-crypt/pinentry fltk gnome-keyring
+app-doc/doxygen latex dot
+app-editors/emacs alsa json lcms mailutils
+app-misc/pax-utils python
+app-text/asciidoc graphviz test
+app-text/po4a test
+app-text/xmlto text
+dev-lang/python tk
+dev-libs/boost mpi numpy zstd
+dev-libs/check doc subunit
+dev-libs/glib gtk-doc test
+dev-libs/icu doc
+dev-libs/iniparser doc
+dev-libs/libgcrypt doc
+dev-libs/libnl python
+dev-libs/libusb doc
+dev-libs/libxslt python
+dev-libs/libyaml doc
+dev-python/argcomplete test
+dev-python/aiohttp doc test
+dev-python/cython doc test
+dev-python/jinja doc test
+dev-python/lxml test

[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv32imac/

2020-09-05 Thread Andreas K. Hüttel
commit: 2be6302e962634986ea593d71ac7ca1b6e6ba6a4
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 14:50:07 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 15:21:15 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=2be6302e

Add intermediate rv32imac profile

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/rv32imac/eapi  |  1 +
 profiles/arch/riscv/rv32imac/make.defaults | 23 +++
 profiles/arch/riscv/rv32imac/parent|  2 ++
 profiles/arch/riscv/rv32imac/use.force |  5 +
 profiles/arch/riscv/rv32imac/use.mask  |  6 ++
 5 files changed, 37 insertions(+)

diff --git a/profiles/arch/riscv/rv32imac/eapi 
b/profiles/arch/riscv/rv32imac/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv32imac/make.defaults 
b/profiles/arch/riscv/rv32imac/make.defaults
new file mode 100644
index 000..57c09ed
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/make.defaults
@@ -0,0 +1,23 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V profile for rv32imac multilib
+#
+# This immediate profile is ONLY useful for internal purposes. It can NOT
+# generate stages or a working system due to limitations in gcc.
+
+CHOST="riscv32-unknown-linux-gnu"
+
+# Multilib ABIs
+MULTILIB_ABIS="ilp32d ilp32"
+DEFAULT_ABI="ilp32d"
+ABI="ilp32d"
+
+# Enable lp64d by default
+ABI_RISCV="ilp32d"
+
+# Unhide the riscv/rv64gc-specific USE_EXPANDs
+USE_EXPAND_HIDDEN="-ABI_RISCV"
+
+# Implicitly enable lp64d in ebuilds without multilib support
+IUSE_IMPLICIT="abi_riscv_ilp32d"

diff --git a/profiles/arch/riscv/rv32imac/parent 
b/profiles/arch/riscv/rv32imac/parent
new file mode 100644
index 000..c87ae0e
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/parent
@@ -0,0 +1,2 @@
+..
+gentoo:features/multilib

diff --git a/profiles/arch/riscv/rv32imac/use.force 
b/profiles/arch/riscv/rv32imac/use.force
new file mode 100644
index 000..069813e
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Force the flag corresponding to the default ABI.
+abi_riscv_ilp32d

diff --git a/profiles/arch/riscv/rv32imac/use.mask 
b/profiles/arch/riscv/rv32imac/use.mask
new file mode 100644
index 000..d57df4d
--- /dev/null
+++ b/profiles/arch/riscv/rv32imac/use.mask
@@ -0,0 +1,6 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Unmask the multilib flags for this arch.
+-abi_riscv_ilp32d
+-abi_riscv_ilp32



[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv64gc/, profiles/arch/riscv/

2020-09-05 Thread Andreas K. Hüttel
commit: 7d1b4e4b0bdc9988b448ec6dc487e3a361b6b77c
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 14:37:26 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 14:37:26 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7d1b4e4b

Move as many settings as possible from riscv/rv64gc to riscv

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/make.defaults | 39 +--
 profiles/arch/riscv/{rv64gc => }/package.mask |  0
 profiles/arch/riscv/rv64gc/make.defaults  | 32 +-
 profiles/arch/riscv/rv64gc/use.force  |  4 ---
 profiles/arch/riscv/rv64gc/use.mask   |  6 -
 profiles/arch/riscv/use.force |  4 +++
 profiles/arch/riscv/use.mask  |  6 +
 7 files changed, 42 insertions(+), 49 deletions(-)

diff --git a/profiles/arch/riscv/make.defaults 
b/profiles/arch/riscv/make.defaults
index bae66d7..3a7d4ac 100644
--- a/profiles/arch/riscv/make.defaults
+++ b/profiles/arch/riscv/make.defaults
@@ -1,25 +1,48 @@
 # Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Main RISC-V profile directory.
+# Main RISC-V profile directory. Common settings for all riscv profiles.
 
 # This is not a complete profile. Use the subdirectories!
 
 ARCH="riscv"
 ACCEPT_KEYWORDS="riscv ~riscv"
 
-CHOST="riscv64-unknown-linux-gnu"
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+SYMLINK_LIB="no"
+
+# Flags for lp64d
+LIBDIR_lp64d="lib64/lp64d"
+CFLAGS_lp64d="-mabi=lp64d"
+LDFLAGS_lp64d="-m elf64lriscv"
+CHOST_lp64d="riscv64-unknown-linux-gnu"
+
+# Flags for lp64
+LIBDIR_lp64="lib64/lp64"
+CFLAGS_lp64="-mabi=lp64"
+LDFLAGS_lp64="-m elf64lriscv_lp64"
+CHOST_lp64="riscv64-unknown-linux-gnu"
+
+# Flags for ilp32d
+LIBDIR_ilp32d="lib32/ilp32d"
+CFLAGS_ilp32d="-mabi=ilp32d -march=rv32imafdc"
+LDFLAGS_ilp32d="-m elf32lriscv"
+CHOST_ilp32d="riscv32-unknown-linux-gnu"
+
+# Flags for ilp32
+LIBDIR_ilp32="lib32/ilp32"
+CFLAGS_ilp32="-mabi=ilp32 -march=rv32imac"
+LDFLAGS_ilp32="-m elf32lriscv_ilp32"
+CHOST_ilp32="riscv32-unknown-linux-gnu"
 
 # Since many people will want to test this in qemu...
 FEATURES="-pid-sandbox -network-sandbox -ipc-sandbox"
 
 # The following stuff is, e.g., defined in subdirs:
-# CFLAGS
-# CXXFLAGS
-# FFLAGS
-# FCFLAGS
 # ABI
 # DEFAULT_ABI
 # MULTILIB_ABIS
-# CHOST_riscv
-# LIBDIR_riscv

diff --git a/profiles/arch/riscv/rv64gc/package.mask 
b/profiles/arch/riscv/package.mask
similarity index 100%
rename from profiles/arch/riscv/rv64gc/package.mask
rename to profiles/arch/riscv/package.mask

diff --git a/profiles/arch/riscv/rv64gc/make.defaults 
b/profiles/arch/riscv/rv64gc/make.defaults
index efa94c7..a5963cb 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -6,43 +6,13 @@
 # This immediate profile is ONLY useful for internal purposes; it can generate
 # stages just fine, but the only "hardware" that can run them is qemu-user ...
 
-CFLAGS="-O2 -pipe"
-CXXFLAGS="${CFLAGS}"
-FFLAGS="${CFLAGS}"
-FCFLAGS="${CFLAGS}"
+CHOST="riscv64-unknown-linux-gnu"
 
 # Multilib ABIs
 MULTILIB_ABIS="lp64d lp64 ilp32d ilp32"
 DEFAULT_ABI="lp64d"
 ABI="lp64d"
 
-# Library directories
-LIBDIR_lp64d="lib64/lp64d"
-LIBDIR_lp64="lib64/lp64"
-LIBDIR_ilp32d="lib32/ilp32d"
-LIBDIR_ilp32="lib32/ilp32"
-SYMLINK_LIB="no"
-
-# Flags for lp64d
-CFLAGS_lp64d="-mabi=lp64d"
-LDFLAGS_lp64d="-m elf64lriscv"
-CHOST_lp64d="riscv64-unknown-linux-gnu"
-
-# Flags for lp64
-CFLAGS_lp64="-mabi=lp64"
-LDFLAGS_lp64="-m elf64lriscv_lp64"
-CHOST_lp64="riscv64-unknown-linux-gnu"
-
-# Flags for ilp32d
-CFLAGS_ilp32d="-mabi=ilp32d -march=rv32imafdc"
-LDFLAGS_ilp32d="-m elf32lriscv"
-CHOST_ilp32d="riscv32-unknown-linux-gnu"
-
-# Flags for ilp32
-CFLAGS_ilp32="-mabi=ilp32 -march=rv32imac"
-LDFLAGS_ilp32="-m elf32lriscv_ilp32"
-CHOST_ilp32="riscv32-unknown-linux-gnu"
-
 # Enable lp64d by default
 ABI_RISCV="lp64d"
 

diff --git a/profiles/arch/riscv/rv64gc/use.force 
b/profiles/arch/riscv/rv64gc/use.force
index 7ce55a8..eb2add7 100644
--- a/profiles/arch/riscv/rv64gc/use.force
+++ b/profiles/arch/riscv/rv64gc/use.force
@@ -3,7 +3,3 @@
 
 # Force the flag corresponding to the default ABI.
 abi_riscv_lp64d
-
-# Right now we have only one Python available, so we must use it
-python_targets_python3_7
-python_single_target_python3_7

diff --git a/profiles/arch/riscv/rv64gc/use.mask 
b/profiles/arch/riscv/rv64gc/use.mask
index 6e01a57..eed1c21 100644
--- a/profiles/arch/riscv/rv64gc/use.mask
+++ b/profiles/arch/riscv/rv64gc/use.mask
@@ -4,9 +4,3 @@
 # Unmask the multilib flags for this arch.
 -abi_riscv_lp64d
 -abi_riscv_lp64
-
-# Our Python has a lot of trouble with the two-level libdir.
-python_targets_python2_7
-python_targets_python3_6
-python_single_target_python2_7
-python_single_target_python3_6

diff --git a/profiles/arch/riscv/use.force 

[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv64gc/lp64d/, profiles/arch/riscv/rv64gc/, ...

2020-09-05 Thread Andreas K. Hüttel
commit: 15af1c5f1c4710c6abd70332277a0af9160b3961
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 14:44:31 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 15:20:55 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=15af1c5f

Properly enable all 4 abi here

Once the useflags are gone we should probably move to 6 abi :)

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/rv64gc/lp64/use.mask  | 2 ++
 profiles/arch/riscv/rv64gc/lp64d/use.mask | 2 ++
 profiles/arch/riscv/rv64gc/use.mask   | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/profiles/arch/riscv/rv64gc/lp64/use.mask 
b/profiles/arch/riscv/rv64gc/lp64/use.mask
index 9f26ae6..1e0176b 100644
--- a/profiles/arch/riscv/rv64gc/lp64/use.mask
+++ b/profiles/arch/riscv/rv64gc/lp64/use.mask
@@ -6,3 +6,5 @@ multilib
 
 # Mask the other multilib flags back for non-multilib profile.
 abi_riscv_lp64d
+abi_riscv_ilp32d
+abi_riscv_ilp32

diff --git a/profiles/arch/riscv/rv64gc/lp64d/use.mask 
b/profiles/arch/riscv/rv64gc/lp64d/use.mask
index fd1d144..1015280 100644
--- a/profiles/arch/riscv/rv64gc/lp64d/use.mask
+++ b/profiles/arch/riscv/rv64gc/lp64d/use.mask
@@ -6,3 +6,5 @@ multilib
 
 # Mask the other multilib flags back for non-multilib profile.
 abi_riscv_lp64
+abi_riscv_ilp32d
+abi_riscv_ilp32

diff --git a/profiles/arch/riscv/rv64gc/use.mask 
b/profiles/arch/riscv/rv64gc/use.mask
index eed1c21..b38fe8b 100644
--- a/profiles/arch/riscv/rv64gc/use.mask
+++ b/profiles/arch/riscv/rv64gc/use.mask
@@ -4,3 +4,5 @@
 # Unmask the multilib flags for this arch.
 -abi_riscv_lp64d
 -abi_riscv_lp64
+-abi_riscv_ilp32d
+-abi_riscv_ilp32



[gentoo-commits] proj/riscv:master commit in: profiles/default/linux/riscv/17.0/rv32imac/ilp32d/, ...

2020-09-05 Thread Andreas K. Hüttel
commit: 7471edeb0750d252f806812838d0e862f49ba17e
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Sep  5 15:06:47 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Sep  5 15:21:21 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=7471edeb

Add 17.0/rv32imac profile tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/default/linux/riscv/17.0/rv32imac/eapi  | 1 +
 profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi| 1 +
 profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent  | 2 ++
 profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi   | 1 +
 profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent | 2 ++
 profiles/default/linux/riscv/17.0/rv32imac/parent| 3 +++
 6 files changed, 10 insertions(+)

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent
new file mode 100644
index 000..a29c20c
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/ilp32/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../arch/riscv/rv32imac/ilp32

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent
new file mode 100644
index 000..f30144c
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/ilp32d/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../arch/riscv/rv32imac/ilp32d

diff --git a/profiles/default/linux/riscv/17.0/rv32imac/parent 
b/profiles/default/linux/riscv/17.0/rv32imac/parent
new file mode 100644
index 000..747b901
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv32imac/parent
@@ -0,0 +1,3 @@
+../..
+../../../../../arch/riscv/rv32imac
+gentoo:releases/17.0



[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv64gc/

2020-09-03 Thread Andreas K. Hüttel
commit: c0dc5c35d746f798ca1835a77ec0b396803cd723
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Thu Sep  3 10:10:23 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Thu Sep  3 10:10:23 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c0dc5c35

profiles: Add rv32 abis to multilib profile

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/rv64gc/make.defaults | 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/profiles/arch/riscv/rv64gc/make.defaults 
b/profiles/arch/riscv/rv64gc/make.defaults
index 46206e2..efa94c7 100644
--- a/profiles/arch/riscv/rv64gc/make.defaults
+++ b/profiles/arch/riscv/rv64gc/make.defaults
@@ -2,6 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # RISC-V profile for rv64gc multilib
+#
+# This immediate profile is ONLY useful for internal purposes; it can generate
+# stages just fine, but the only "hardware" that can run them is qemu-user ...
 
 CFLAGS="-O2 -pipe"
 CXXFLAGS="${CFLAGS}"
@@ -9,13 +12,15 @@ FFLAGS="${CFLAGS}"
 FCFLAGS="${CFLAGS}"
 
 # Multilib ABIs
-MULTILIB_ABIS="lp64d lp64"
+MULTILIB_ABIS="lp64d lp64 ilp32d ilp32"
 DEFAULT_ABI="lp64d"
 ABI="lp64d"
 
 # Library directories
 LIBDIR_lp64d="lib64/lp64d"
 LIBDIR_lp64="lib64/lp64"
+LIBDIR_ilp32d="lib32/ilp32d"
+LIBDIR_ilp32="lib32/ilp32"
 SYMLINK_LIB="no"
 
 # Flags for lp64d
@@ -28,6 +33,16 @@ CFLAGS_lp64="-mabi=lp64"
 LDFLAGS_lp64="-m elf64lriscv_lp64"
 CHOST_lp64="riscv64-unknown-linux-gnu"
 
+# Flags for ilp32d
+CFLAGS_ilp32d="-mabi=ilp32d -march=rv32imafdc"
+LDFLAGS_ilp32d="-m elf32lriscv"
+CHOST_ilp32d="riscv32-unknown-linux-gnu"
+
+# Flags for ilp32
+CFLAGS_ilp32="-mabi=ilp32 -march=rv32imac"
+LDFLAGS_ilp32="-m elf32lriscv_ilp32"
+CHOST_ilp32="riscv32-unknown-linux-gnu"
+
 # Enable lp64d by default
 ABI_RISCV="lp64d"
 



[gentoo-commits] proj/riscv:master commit in: profiles/

2020-09-02 Thread Andreas K. Hüttel
commit: 5c61043fbd7fe15fc71771d0d181a52dcfe26af5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep  2 22:10:06 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Sep  2 22:10:06 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=5c61043f

profiles: Add profiles.desc

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/profiles.desc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
new file mode 100644
index 000..c14df19
--- /dev/null
+++ b/profiles/profiles.desc
@@ -0,0 +1,3 @@
+riscv  default/linux/riscv/17.0/rv64gc dev
+riscv  default/linux/riscv/17.0/rv64gc/lp64d   stable
+riscv  default/linux/riscv/17.0/rv64gc/lp64stable



[gentoo-commits] proj/riscv:master commit in: profiles/default/linux/riscv/17.0/rv64gc/lp64d/, ...

2020-09-02 Thread Andreas K. Hüttel
commit: d58e83fa1c11028aeed9f666077e4b10b8fd291d
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep  2 22:05:49 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Sep  2 22:05:49 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=d58e83fa

profiles: Copy rv64 default/linux tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/default/linux/riscv/17.0/rv64gc/eapi | 1 +
 profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi| 1 +
 profiles/default/linux/riscv/17.0/rv64gc/lp64/parent  | 2 ++
 profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi   | 1 +
 profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent | 2 ++
 profiles/default/linux/riscv/17.0/rv64gc/parent   | 3 +++
 profiles/default/linux/riscv/eapi | 1 +
 profiles/default/linux/riscv/parent   | 2 ++
 8 files changed, 13 insertions(+)

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/lp64/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent
new file mode 100644
index 000..0273fe5
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/lp64/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../arch/riscv/rv64gc/lp64

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent
new file mode 100644
index 000..f497f65
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/lp64d/parent
@@ -0,0 +1,2 @@
+..
+../../../../../../arch/riscv/rv64gc/lp64d

diff --git a/profiles/default/linux/riscv/17.0/rv64gc/parent 
b/profiles/default/linux/riscv/17.0/rv64gc/parent
new file mode 100644
index 000..92ef9cf
--- /dev/null
+++ b/profiles/default/linux/riscv/17.0/rv64gc/parent
@@ -0,0 +1,3 @@
+../..
+../../../../../arch/riscv/rv64gc
+gentoo:releases/17.0

diff --git a/profiles/default/linux/riscv/eapi 
b/profiles/default/linux/riscv/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/default/linux/riscv/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/default/linux/riscv/parent 
b/profiles/default/linux/riscv/parent
new file mode 100644
index 000..b85be8f
--- /dev/null
+++ b/profiles/default/linux/riscv/parent
@@ -0,0 +1,2 @@
+gentoo:base
+gentoo:default/linux



[gentoo-commits] proj/riscv:master commit in: profiles/arch/riscv/rv64gc/, profiles/arch/riscv/rv64gc/lp64d/, ...

2020-09-02 Thread Andreas K. Hüttel
commit: c48b642b70771ff5b57b0876e31bc0335787d870
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep  2 22:01:26 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Sep  2 22:01:26 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=c48b642b

profiles: Copy rv64 arch tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 profiles/arch/riscv/rv64gc/eapi|  1 +
 profiles/arch/riscv/rv64gc/lp64/eapi   |  1 +
 profiles/arch/riscv/rv64gc/lp64/make.defaults  | 17 ++
 profiles/arch/riscv/rv64gc/lp64/package.use.force  |  5 +++
 profiles/arch/riscv/rv64gc/lp64/use.force  |  5 +++
 profiles/arch/riscv/rv64gc/lp64/use.mask   |  8 +
 profiles/arch/riscv/rv64gc/lp64d/eapi  |  1 +
 profiles/arch/riscv/rv64gc/lp64d/make.defaults | 15 +
 profiles/arch/riscv/rv64gc/lp64d/package.use.force |  5 +++
 profiles/arch/riscv/rv64gc/lp64d/use.mask  |  8 +
 profiles/arch/riscv/rv64gc/make.defaults   | 38 ++
 profiles/arch/riscv/rv64gc/package.mask|  5 +++
 profiles/arch/riscv/rv64gc/parent  |  2 ++
 profiles/arch/riscv/rv64gc/use.force   |  9 +
 profiles/arch/riscv/rv64gc/use.mask| 12 +++
 15 files changed, 132 insertions(+)

diff --git a/profiles/arch/riscv/rv64gc/eapi b/profiles/arch/riscv/rv64gc/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv64gc/lp64/eapi 
b/profiles/arch/riscv/rv64gc/lp64/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv64gc/lp64/make.defaults 
b/profiles/arch/riscv/rv64gc/lp64/make.defaults
new file mode 100644
index 000..f4b3042
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64/make.defaults
@@ -0,0 +1,17 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V rv64gc/lp64 no-multilib profile
+
+CFLAGS="-O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# We have only one ABI
+MULTILIB_ABIS="lp64"
+DEFAULT_ABI="lp64"
+ABI="lp64"
+
+# We hide the useflags for the ABIs
+USE_EXPAND_HIDDEN="ABI_RISCV"

diff --git a/profiles/arch/riscv/rv64gc/lp64/package.use.force 
b/profiles/arch/riscv/rv64gc/lp64/package.use.force
new file mode 100644
index 000..e25bb13
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Undo multilib forcing.
+sys-apps/sandbox -abi_riscv_lp64d

diff --git a/profiles/arch/riscv/rv64gc/lp64/use.force 
b/profiles/arch/riscv/rv64gc/lp64/use.force
new file mode 100644
index 000..d04bb8b
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64/use.force
@@ -0,0 +1,5 @@
+# Un-force the original multilib default-abi flag
+-abi_riscv_lp64d
+
+# Force the abi of this profile here
+abi_riscv_lp64

diff --git a/profiles/arch/riscv/rv64gc/lp64/use.mask 
b/profiles/arch/riscv/rv64gc/lp64/use.mask
new file mode 100644
index 000..9f26ae6
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64/use.mask
@@ -0,0 +1,8 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Mask multilib, since we do not want to use it.
+multilib
+
+# Mask the other multilib flags back for non-multilib profile.
+abi_riscv_lp64d

diff --git a/profiles/arch/riscv/rv64gc/lp64d/eapi 
b/profiles/arch/riscv/rv64gc/lp64d/eapi
new file mode 100644
index 000..7ed6ff8
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64d/eapi
@@ -0,0 +1 @@
+5

diff --git a/profiles/arch/riscv/rv64gc/lp64d/make.defaults 
b/profiles/arch/riscv/rv64gc/lp64d/make.defaults
new file mode 100644
index 000..85372ab
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64d/make.defaults
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# RISC-V rv64gc/lp64d no-multilib profile
+
+CFLAGS="-O2 -pipe -march=rv64gc -mabi=lp64d"
+CXXFLAGS="${CFLAGS}"
+FFLAGS="${CFLAGS}"
+FCFLAGS="${CFLAGS}"
+
+# We have only one ABI
+MULTILIB_ABIS="lp64d"
+
+# We hide the useflags for the ABIs
+USE_EXPAND_HIDDEN="ABI_RISCV"

diff --git a/profiles/arch/riscv/rv64gc/lp64d/package.use.force 
b/profiles/arch/riscv/rv64gc/lp64d/package.use.force
new file mode 100644
index 000..73fe936
--- /dev/null
+++ b/profiles/arch/riscv/rv64gc/lp64d/package.use.force
@@ -0,0 +1,5 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Undo multilib forcing.
+sys-apps/sandbox -abi_riscv_lp64

diff --git a/profiles/arch/riscv/rv64gc/lp64d/use.mask 
b/profiles/arch/riscv/rv64gc/lp64d/use.mask
new file mode 100644
index 000..fd1d144
--- 

[gentoo-commits] proj/riscv:master commit in: eclass/

2020-09-02 Thread Andreas K. Hüttel
commit: 52d3837d7233aadb8f1c79ed9bc17c38a27e5388
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep  2 19:36:05 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Sep  2 19:36:05 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=52d3837d

multilib.eclass: Copy from main tree

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 eclass/multilib.eclass | 530 +
 1 file changed, 530 insertions(+)

diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
new file mode 100644
index 000..342d21a
--- /dev/null
+++ b/eclass/multilib.eclass
@@ -0,0 +1,530 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: multilib.eclass
+# @MAINTAINER:
+# am...@gentoo.org
+# toolch...@gentoo.org
+# @BLURB: This eclass is for all functions pertaining to handling multilib 
configurations.
+# @DESCRIPTION:
+# This eclass is for all functions pertaining to handling multilib 
configurations.
+
+if [[ -z ${_MULTILIB_ECLASS} ]]; then
+_MULTILIB_ECLASS=1
+
+inherit toolchain-funcs
+
+# Defaults:
+export MULTILIB_ABIS=${MULTILIB_ABIS:-"default"}
+export DEFAULT_ABI=${DEFAULT_ABI:-"default"}
+export CFLAGS_default
+export LDFLAGS_default
+export CHOST_default=${CHOST_default:-${CHOST}}
+export CTARGET_default=${CTARGET_default:-${CTARGET:-${CHOST_default}}}
+export LIBDIR_default=${CONF_LIBDIR:-"lib"}
+export KERNEL_ABI=${KERNEL_ABI:-${DEFAULT_ABI}}
+
+# @FUNCTION: has_multilib_profile
+# @DESCRIPTION:
+# Return true if the current profile is a multilib profile and lists more than
+# one abi in ${MULTILIB_ABIS}.  When has_multilib_profile returns true, that
+# profile should enable the 'multilib' use flag. This is so you can DEPEND on
+# a package only for multilib or not multilib.
+has_multilib_profile() {
+   [ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ]
+}
+
+# @FUNCTION: get_libdir
+# @RETURN: the libdir for the selected ABI
+# @DESCRIPTION:
+# This function simply returns the desired lib directory. With portage
+# 2.0.51, we now have support for installing libraries to lib32/lib64
+# to accomidate the needs of multilib systems. It's no longer a good idea
+# to assume all libraries will end up in lib. Replace any (sane) instances
+# where lib is named directly with $(get_libdir) if possible.
+#
+# Jeremy Huddleston  (23 Dec 2004):
+#   Added support for ${ABI} and ${DEFAULT_ABI}.  If they're both not set,
+#   fall back on old behavior.  Any profile that has these set should also
+#   depend on a newer version of portage (not yet released) which uses these
+#   over CONF_LIBDIR in econf, dolib, etc...
+if has "${EAPI:-0}" 0 1 2 3 4 5; then
+   get_libdir() {
+   local CONF_LIBDIR
+   if [ -n  "${CONF_LIBDIR_OVERRIDE}" ] ; then
+   # if there is an override, we want to use that... 
always.
+   echo ${CONF_LIBDIR_OVERRIDE}
+   else
+   get_abi_LIBDIR
+   fi
+   }
+fi
+
+# @FUNCTION: get_abi_var
+# @USAGE:  [ABI]
+# @RETURN: returns the value of ${_} which should be set in 
make.defaults
+# @INTERNAL
+# @DESCRIPTION:
+# ex:
+# CFLAGS=$(get_abi_var CFLAGS sparc32) # CFLAGS=-m32
+#
+# Note that the prefered method is to set CC="$(tc-getCC) $(get_abi_CFLAGS)"
+# This will hopefully be added to portage soon...
+#
+# If  is not specified, ${ABI} is used.
+# If  is not specified and ${ABI} is not defined, ${DEFAULT_ABI} is used.
+# If  is not specified and ${ABI} and ${DEFAULT_ABI} are not defined, we 
return an empty string.
+get_abi_var() {
+   local flag=$1
+   local abi=${2:-${ABI:-${DEFAULT_ABI:-default}}}
+   local var="${flag}_${abi}"
+   echo ${!var}
+}
+
+# @FUNCTION: get_abi_CFLAGS
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var CFLAGS'
+get_abi_CFLAGS() { get_abi_var CFLAGS "$@"; }
+
+# @FUNCTION: get_abi_LDFLAGS
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var LDFLAGS'
+get_abi_LDFLAGS() { get_abi_var LDFLAGS "$@"; }
+
+# @FUNCTION: get_abi_CHOST
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var CHOST'
+get_abi_CHOST() { get_abi_var CHOST "$@"; }
+
+# @FUNCTION: get_abi_CTARGET
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var CTARGET'
+get_abi_CTARGET() { get_abi_var CTARGET "$@"; }
+
+# @FUNCTION: get_abi_FAKE_TARGETS
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var FAKE_TARGETS'
+get_abi_FAKE_TARGETS() { get_abi_var FAKE_TARGETS "$@"; }
+
+# @FUNCTION: get_abi_LIBDIR
+# @USAGE: [ABI]
+# @DESCRIPTION:
+# Alias for 'get_abi_var LIBDIR'
+get_abi_LIBDIR() { get_abi_var LIBDIR "$@"; }
+
+# @FUNCTION: get_install_abis
+# @DESCRIPTION:
+# Return a list of the ABIs we want to install for with
+# the last one in the list being the default.
+get_install_abis() {
+   local x order=""
+
+   if [[ -z ${MULTILIB_ABIS} ]] ; then
+  

[gentoo-commits] proj/riscv:master commit in: eclass/

2020-09-02 Thread Andreas K. Hüttel
commit: 43b14bae3ba30314759fce98e661b08f615e40a8
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Sep  2 19:37:26 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Wed Sep  2 19:37:26 2020 +
URL:https://gitweb.gentoo.org/proj/riscv.git/commit/?id=43b14bae

multilib.eclass: Add rv32 abi

Signed-off-by: Andreas K. Hüttel  gentoo.org>

 eclass/multilib.eclass | 30 +++---
 1 file changed, 27 insertions(+), 3 deletions(-)

diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass
index 342d21a..9c7042f 100644
--- a/eclass/multilib.eclass
+++ b/eclass/multilib.eclass
@@ -397,19 +397,43 @@ multilib_env() {
: ${DEFAULT_ABI=ppc64}
;;
riscv64*)
-   export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d}
+   export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d 
-march=rv64imafdc}
export CHOST_lp64d=${CTARGET}
export CTARGET_lp64d=${CTARGET}
export LIBDIR_lp64d="lib64/lp64d"
 
-   export CFLAGS_lp64=${CFLAGS_lp64--mabi=lp64}
+   export CFLAGS_lp64=${CFLAGS_lp64--mabi=lp64 
-march=rv64imac}
export CHOST_lp64=${CTARGET}
export CTARGET_lp64=${CTARGET}
export LIBDIR_lp64="lib64/lp64"
 
-   : ${MULTILIB_ABIS=lp64d lp64}
+   export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d 
-march=rv32imafdc}
+   export CHOST_ilp32d=${CTARGET/riscv64/riscv32}
+   export CTARGET_ilp32d=${CTARGET/riscv64/riscv32}
+   export LIBDIR_ilp32d="lib32/ilp32d"
+
+   export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 
-march=rv32imac}
+   export CHOST_ilp32=${CTARGET/riscv64/riscv32}
+   export CTARGET_ilp32=${CTARGET/riscv64/riscv32}
+   export LIBDIR_ilp32="lib32/ilp32"
+
+   : ${MULTILIB_ABIS=lp64d lp64 ilp32d ilp32}
: ${DEFAULT_ABI=lp64d}
;;
+   riscv32*)
+   export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d}
+   export CHOST_ilp32d=${CTARGET}
+   export CTARGET_ilp32d=${CTARGET}
+   export LIBDIR_ilp32d="lib32/ilp32d"
+
+   export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 
-march=rv32imac}
+   export CHOST_ilp32=${CTARGET}
+   export CTARGET_ilp32=${CTARGET}
+   export LIBDIR_ilp32="lib32/ilp32"
+
+   : ${MULTILIB_ABIS=ilp32d ilp32}
+   : ${DEFAULT_ABI=ilp32d}
+   ;;
s390x*)
export CFLAGS_s390=${CFLAGS_s390--m31} # the 31 is not 
a typo
export CHOST_s390=${CTARGET/s390x/s390}



  1   2   >