[gentoo-commits] repo/proj/guru:dev commit in: profiles/

2024-03-22 Thread Denis Reva
commit: 9cf468d65d2e31d9a62149e613a823f1e86af055
Author: Denis Reva  gmail  com>
AuthorDate: Fri Mar 22 14:23:04 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Fri Mar 22 14:23:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cf468d6

profiles: mask app-containers/waydroid-1.4.0-r1

Signed-off-by: Denis Reva  gmail.com>

 profiles/package.mask | 12 
 1 file changed, 12 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 9c76ccdcbf..a94782db85 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -14,6 +14,18 @@
 
 # New entries go on top.
 
+# Denis Reva  (2024-03-22)
+# This revision introduces completely wrong dependency,
+#
+# which is required only for old kernels.
+# See the discussion here.
+# 
https://github.com/gentoo/guru/commit/fc74f63151bcda8d58d32812b31f2ed639bf8f0b#comments
+# Anbox-modules are not required on linux kernel
+# >5.8, because ishmem  was replaced with memfd
+#
+# Masked for removal within 30 days.
+=app-containers/waydroid-1.4.2-r1
+
 # Julien Roy  (2024-03-21)
 # sys-libs/libucontext is masked in ::gentoo
 sys-libs/gcompat



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk-bin/

2024-03-02 Thread Denis Reva
commit: 5b3ddc1f4312fc8016216f2c5bef08fa17b96be7
Author: Denis Reva  gmail  com>
AuthorDate: Sun Mar  3 05:41:21 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Mar  3 05:41:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b3ddc1f

media-libs/amdvlk-bin: add 2024.1.2, drop 2024.1.1

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk-bin/Manifest| 4 ++--
 .../{amdvlk-bin-2024.1.1.ebuild => amdvlk-bin-2024.1.2.ebuild}| 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/amdvlk-bin/Manifest b/media-libs/amdvlk-bin/Manifest
index 131e6ecbaa..536dbcad7a 100644
--- a/media-libs/amdvlk-bin/Manifest
+++ b/media-libs/amdvlk-bin/Manifest
@@ -2,5 +2,5 @@ DIST amdvlk-bin-2021.2.5-amd64.rpm 16616736 BLAKE2B 
091d14036fc164e15ebb138812ba
 DIST amdvlk-bin-2021.2.5-i386.deb 23475164 BLAKE2B 
b7f7fb91d88c7a37e69f99a2a036b6e1eda1ae00f0f378eb0a245253b12ea6adbd23de70e9bc06c95438a02f2d1905eb8dd55c601ba616106e2b2e2f7db08a93
 SHA512 
1f6067c97661285f62bcd0cb8a81138943f7280ebfda3d70aa32237cea0b715131c7b8af982b62c63ef813f6c1ff54672eea61244cf3c13f1cb536edbb4a749c
 DIST amdvlk-bin-2023.3.3-amd64.rpm 16954920 BLAKE2B 
8b8d2e353a2055a823c5a7932c55a5e113036388a68c2f61a665de0209e82dd219b21e6f4a79f2ad6141381601e408b0007068140fcc2692bf5904ac289ab597
 SHA512 
827bcf885f207557b452360491187b9909279a601dff9c635561b4aa5f2c8aae9d940e880a98c7fb1482efd7fec068e8f3667729930ecd20dfa7c06be15193c9
 DIST amdvlk-bin-2023.3.3-i386.deb 25352166 BLAKE2B 
f4e3af91c2f4e7be6c447c2553ac3deed106be86ce3bd3204ac2e6734ca09dba4c59da8ffd49b52f85dfcbe5eaba09cfa2519578ececfb6f7b21ee4a3d67430d
 SHA512 
3668d701292b7283409ec2209f52b0b01cd7821754969efc4c91c74b2b075ee612f41fafd471dd92da1b204644c76bb92fd60c4c916588b7ee8961257523ba50
-DIST amdvlk-bin-2024.1.1-amd64.rpm 18242384 BLAKE2B 
f26155287dfd7c968581b5eba3a4ad4ac9e1c0d4740a9aa57e120c8a21a1638cf0f02bcf3fd51fb2b6150031b7d81a2c755095807f8afbec5727be4dd661bcaf
 SHA512 
f75b175377a9c252d564db5d99aae47d833d6ddc2c0b7c9292113e96e0635d059deae82ef54e9a88025c28b8b2271113ab468c72a0aa16c4908857b970f3634e
-DIST amdvlk-bin-2024.1.1-i386.deb 25981812 BLAKE2B 
c8cb424798b6d2f64f0d4c68930c4fbe7ac02039373d33aa6cc0c2912b71df7a7adff64e3f60be52f3bd4bcec0c91ee5f3a0edfaa88dc2f09390c245e94f0170
 SHA512 
6c3f5aea6e734fa3550c7f4103108dd3efca2ce0ddb1e0410b46ef3d4171deb66cf10b2e38935bf965d729daa221fd6af119582ef7b15e779df80d84122b9587
+DIST amdvlk-bin-2024.1.2-amd64.rpm 18323340 BLAKE2B 
0e7bc3e53fae11007b660786451a4268a79de0691a14d862dffdb9ba9c25b1a7c64bd88021aad754e6b87a84474b6727b02af8e0a6c662430a8b31af3b6ac829
 SHA512 
759b2b85f5570bd15638f8be2f16072b50a667a812ef93de55326984e660470a9af28f484e9d11931ac0285b854fdace4394c38cd869668b3e1c7b04e6d3bc9d
+DIST amdvlk-bin-2024.1.2-i386.deb 26110588 BLAKE2B 
5b1fb0a12a003d565a4ff9e7856d9ee3d21773bd954b16d7885e7607acf67337c696ab2909ffa8b36a61d632001ac8b701f2368cceab4ba5ecba21a94fb4fca9
 SHA512 
0ce33654cdc6dd661e6253a58448eb955c5beb42b300b284ed6dd48d37dbc814b061197b2de81f320a92a99e34b7fcd79543e2b47975c127fd2b045df11986ce

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.2.ebuild
similarity index 100%
rename from media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
rename to media-libs/amdvlk-bin/amdvlk-bin-2024.1.2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-24 Thread Denis Reva
commit: fd2ba5bd7265a863b2301e06b216685d4240bc86
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 24 09:06:32 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 24 09:07:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2ba5bd

sys-fs/dwarfs: add 0.9.6, drop 0.9.5-r1

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest| 2 +-
 sys-fs/dwarfs/{dwarfs-0.9.5-r1.ebuild => dwarfs-0.9.6.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 539ceecf45..441ebd00bf 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1 @@
-DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 
90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9
 SHA512 
b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65
+DIST dwarfs-0.9.6.tar.xz 15665392 BLAKE2B 
305587de0e31390f4d3c2701cc1b0fe9f29d2a37a363f575ae770c0037d69b77685bd593f900c71e4e9fe8dbfdf4644f1ea3158f9fdc3596583eda89d0040e88
 SHA512 
c1a094df448bd5820be71f4d950ff4f515e5be137d1343acb00298986495b41c4223d0b2e7e4501a94a0d019789e54bf041bba4f7b83efac43d6fa4b1d60c68a

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.6.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.6.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2024-02-24 Thread Denis Reva
commit: 5cd013c0eab1d2946d71c985a46d639c37767053
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 24 08:41:32 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 24 09:07:04 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5cd013c0

sys-fs/dwarfs-bin: add 0.9.6, drop 0.9.5

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest| 4 ++--
 .../dwarfs-bin/{dwarfs-bin-0.9.5.ebuild => dwarfs-bin-0.9.6.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 7d8b4f4bb1..c9ee01bcaf 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1,2 @@
-DIST dwarfs-bin-0.9.5-amd64.tar.xz 7521852 BLAKE2B 
2f12e38e6a2b2a6ef5ed3cc0350720ecb540c5bb1dff642892c783c60e37fa4d35d61486c985c4511d2cf129ef2235fdb3d186a76d9e8ad42a21b863437ea340
 SHA512 
eb357eb94c53d8e3a2b987203bd81dd84e8bd06c8b45d4f8aaa839ba00692de84c4dfd468ede394b519a1a9c4b561e3136010fa3314bb8689db124363caae55f
-DIST dwarfs-bin-0.9.5-arm64.tar.gz 6612480 BLAKE2B 
a397def8a69fac8fc99ea3a4928871492eb78fcee28973f549a12369df3e24f4dba87f42ed0ad39ef23e74085e25974410bbabaae515cd04b0c6b4b9a67a9e20
 SHA512 
e1f6fd8c9a42a1b39a1581704e0eaf1cb481cd8090f222305ac6e78d48ffd1c2aac305ec51d7432f3de566d54f449ef6a459263c3c73b073aeaf36d1deed8ed7
+DIST dwarfs-bin-0.9.6-amd64.tar.xz 7568956 BLAKE2B 
57375e1fa48229245cebaf35c3fa2b164b0b0bee3d952026d046016307562e8521bb1f220c3710998643c2b27b15820bd99da2a30e3048652a46dbfa6d09f42f
 SHA512 
5e587cd3ae1b8538ff76882a4aab6529647482b1141d124da13d7676e910a52a75b77b60b16cc10a9a0b5d89cb8dc35e70dbf3aaa1641b8dcd76803043ba949e
+DIST dwarfs-bin-0.9.6-arm64.tar.gz 6610096 BLAKE2B 
ee69e0f413c858d8a937b339c0e71d3806a6980ce24bec5b14398435718e7cd37cfdd4f0fd73252da5123a4eb1e7119217abdb10faabaa9efb1a128685b92d36
 SHA512 
4c40446046626d90279e60fa123eac2977cf345c25cce715f49bdfc5f9caf1c8cd5da9573d2e8b30827a47f14e2936d9c10aa50e2eb7be1c3acaff1a7f96bea7

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.9.5.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.9.6.ebuild
similarity index 100%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.9.5.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.9.6.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/

2024-02-19 Thread Denis Reva
commit: 4d3ef84881cb7705770020ff2a2634fa318f6823
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 14:02:45 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 14:02:45 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d3ef848

app-containers/waydroid: added python3.12 support

Signed-off-by: Denis Reva  gmail.com>

 app-containers/waydroid/waydroid-1.4.2-r1.ebuild | 89 
 1 file changed, 89 insertions(+)

diff --git a/app-containers/waydroid/waydroid-1.4.2-r1.ebuild 
b/app-containers/waydroid/waydroid-1.4.2-r1.ebuild
new file mode 100644
index 00..9a495dd85c
--- /dev/null
+++ b/app-containers/waydroid/waydroid-1.4.2-r1.ebuild
@@ -0,0 +1,89 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit linux-info xdg-utils python-single-r1
+
+DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
+HOMEPAGE="https://waydro.id;
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE="systemd apparmor"
+
+DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
+RDEPEND="
+   systemd? ( sys-apps/systemd )
+   app-containers/lxc[systemd?,apparmor?,seccomp]
+   $(python_gen_cond_dep '
+   dev-python/pygobject[${PYTHON_USEDEP}]
+   >=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
+   >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   ')
+   net-firewall/nftables
+   net-dns/dnsmasq
+   >=dev-libs/libglibutil-1.0.67
+   >=dev-libs/gbinder-1.1.21
+   ${PYTHON_DEPS}
+"
+
+CONFIG_CHECK="
+   ~ANDROID_BINDER_IPC
+   ~ANDROID_BINDERFS
+   ~MEMFD_CREATE
+"
+ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
+ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
+ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers,
+   therefore it's vital for android-specific memory management"
+
+src_compile(){
+   :;
+}
+
+src_install() {
+   python_fix_shebang waydroid.py
+   emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)
+   if ! use systemd; then
+   elog "Installing waydroid OpenRC daemon"
+   doinitd "${FILESDIR}"/waydroid
+   fi
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
+   if ! use apparmor; then
+   ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
+   ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
+   ewarn "lxc.apparmor.profile = unconfined"
+   ewarn "or waydroid experiences crash during launch"
+   ewarn "See also https://github.com/waydroid/waydroid/issues/652;
+   else
+   ewarn "Apparmor support has not been tested by package 
maintainer yet"
+   fi
+   ewarn "Make sure you have NFTABLES up and running in your kernel. See"
+   ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
+   einfo "After package installation run ether 'emerge --config 
app-containers/waydroid'"
+   einfo "or 'waydroid init' from root shell to install android container 
runtime"
+   einfo "To run waydroid, 1. Start container: 'rc-service waydroid start'"
+   einfo "2. start wayland channel (from user shell) 'waydroid session 
start'"
+   einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
+   einfo "(does not cover Gentoo-specific things sadly)"
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+}
+
+pkg_config() {
+   "${ROOT}"/usr/bin/waydroid init
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/

2024-02-19 Thread Denis Reva
commit: e667d22d651110b46258765015c9bdd3eb26a2fc
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 13:58:14 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 13:58:14 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e667d22d

dev-python/gbinder: add support for python3_12

Signed-off-by: Denis Reva  gmail.com>

 dev-python/gbinder/gbinder-1.1.2-r1.ebuild | 45 ++
 1 file changed, 45 insertions(+)

diff --git a/dev-python/gbinder/gbinder-1.1.2-r1.ebuild 
b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild
new file mode 100644
index 00..1e2c069035
--- /dev/null
+++ b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517="setuptools"
+DISTUTILS_EXT=1
+
+inherit distutils-r1
+
+if [[ ${PV} != ** ]]; then
+   MY_PN="${PN}-python"
+   MY_P="${MY_PN}-${PV}"
+   S="${WORKDIR}/${MY_P}"
+   
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git;
+fi
+
+DESCRIPTION="Python bindings for libgbinder"
+HOMEPAGE="https://github.com/erfanoabdi/gbinder-python;
+LICENSE="GPL-3"
+SLOT="0"
+
+PATCHES=(
+   "${FILESDIR}"/gbinder-1.1.1-setuptools.patch
+)
+
+
+DEPEND="dev-libs/gbinder
+   dev-libs/libglibutil"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-python/cython[${PYTHON_USEDEP}]
+   ${DISTUTILS_DEPS}
+"
+
+python_configure_all () {
+   DISTUTILS_ARGS=( --cython )
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/, dev-libs/gbinder/files/

2024-02-19 Thread Denis Reva
commit: e509d3d4c37d7e83db42ad2a99e2894b3748706f
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 13:44:03 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 13:44:03 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e509d3d4

dev-libs/gbinder: add 1.1.36, updated 

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/gbinder/Manifest  |  1 +
 .../gbinder/files/gbinder-1.1.36-respect-env.patch | 40 ++
 .../{gbinder-.ebuild => gbinder-1.1.36.ebuild} |  2 +-
 dev-libs/gbinder/gbinder-.ebuild   |  2 +-
 4 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest
index dc65cca8b7..54ba7b09ab 100644
--- a/dev-libs/gbinder/Manifest
+++ b/dev-libs/gbinder/Manifest
@@ -1,2 +1,3 @@
 DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B 
a61b720a3d2b9fe79a4754c2e58569d05d8a16bd5dd35ac4e7616401b804604245e2b13a6ef12043737a00ce2f983bc01b408c5b2b68fe0db1b9c9e15b68ca84
 SHA512 
24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4
 DIST gbinder-1.1.32.tar.gz 204284 BLAKE2B 
8a4f62c0d4988a02b32b659ea0f959e465ead1ea962504f7ae1aa36687235e522deeba3dc7206e32bb1d7c292de760266d8bb18a85da29df06affe49cd59c95f
 SHA512 
3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b
+DIST gbinder-1.1.36.tar.gz 204122 BLAKE2B 
f48fff65f2cf9dd8674110edb77116a6ef5cd621e81d32aae8b3cbf3cb96e8bc825087dd834853c509c6e89c73cf5a24b21c0e5443dfe13747ce1125523d7d30
 SHA512 
5727b25299286e8238a9b526fec9f72d631f584cabb21021d9f12e550059fe746e1165d5bb47ba79db52e2ccb5a3ce96dbd97761df78f13cf7e9a1554d1c3876

diff --git a/dev-libs/gbinder/files/gbinder-1.1.36-respect-env.patch 
b/dev-libs/gbinder/files/gbinder-1.1.36-respect-env.patch
new file mode 100644
index 00..747683164b
--- /dev/null
+++ b/dev-libs/gbinder/files/gbinder-1.1.36-respect-env.patch
@@ -0,0 +1,40 @@
+diff --git a/Makefile b/Makefile
+index 0e25e90..862d5df 100644
+--- a/Makefile
 b/Makefile
+@@ -139,20 +139,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
+   -MMD -MP $(shell $(PKG_CONFIG) --cflags $(PKGS))
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+   $(shell $(PKG_CONFIG) --libs $(PKGS)) -lpthread
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS =
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS =
+ 
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++RELEASE_FLAGS +=
+ endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+ 
+ #
+ # Files
+@@ -278,7 +278,7 @@ $(DEBUG_SO): $(DEBUG_OBJS)
+ $(RELEASE_SO): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+ ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
++# $(STRIP) $@
+ endif
+ 
+ $(DEBUG_LIB): $(DEBUG_OBJS)

diff --git a/dev-libs/gbinder/gbinder-.ebuild 
b/dev-libs/gbinder/gbinder-1.1.36.ebuild
similarity index 94%
copy from dev-libs/gbinder/gbinder-.ebuild
copy to dev-libs/gbinder/gbinder-1.1.36.ebuild
index c900ed13fc..66491f86d0 100644
--- a/dev-libs/gbinder/gbinder-.ebuild
+++ b/dev-libs/gbinder/gbinder-1.1.36.ebuild
@@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig
sys-apps/sed"
 
 PATCHES=(
-   "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
+   "${FILESDIR}/gbinder-1.1.36-respect-env.patch"
 )
 src_prepare() {
default

diff --git a/dev-libs/gbinder/gbinder-.ebuild 
b/dev-libs/gbinder/gbinder-.ebuild
index c900ed13fc..66491f86d0 100644
--- a/dev-libs/gbinder/gbinder-.ebuild
+++ b/dev-libs/gbinder/gbinder-.ebuild
@@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig
sys-apps/sed"
 
 PATCHES=(
-   "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
+   "${FILESDIR}/gbinder-1.1.36-respect-env.patch"
 )
 src_prepare() {
default



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/files/

2024-02-19 Thread Denis Reva
commit: 6aed216b48e26f874271c95d257ecebd396a
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 13:21:42 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 13:21:42 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6aed2199

dev-libs/libglibutil: removed old patch

Signed-off-by: Denis Reva  gmail.com>

 .../files/libglibutil-1.0.67-r3-respect-env.patch  | 57 --
 1 file changed, 57 deletions(-)

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch
deleted file mode 100644
index 14ee2b182b..00
--- a/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 3e9aa23..071620e 100644
 a/Makefile
-+++ b/Makefile
-@@ -80,20 +80,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
-   -MMD -MP $(shell pkg-config --cflags $(PKGS))
- FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
-   $(shell pkg-config --libs $(PKGS))
--DEBUG_FLAGS = -g
-+DEBUG_FLAGS = 
- RELEASE_FLAGS =
--COVERAGE_FLAGS = -g
-+COVERAGE_FLAGS = 
- 
- KEEP_SYMBOLS ?= 0
- ifneq ($(KEEP_SYMBOLS),0)
--RELEASE_FLAGS += -g
-+#RELEASE_FLAGS += -g
- endif
- 
- DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
- RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
--DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
--RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
--COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
-+DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
-+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
-+COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
- 
- #
- # Files
-@@ -119,11 +119,11 @@ COVERAGE_STATIC_LIB = $(COVERAGE_BUILD_DIR)/$(STATIC_LIB)
- #
- 
- DEPS = $(DEBUG_OBJS:%.o=%.d) $(RELEASE_OBJS:%.o=%.d) $(COVERAGE_OBJS:%.o=%.d)
--ifneq ($(MAKECMDGOALS),clean)
--ifneq ($(strip $(DEPS)),)
---include $(DEPS)
--endif
--endif
-+#ifneq ($(MAKECMDGOALS),clean)
-+#ifneq ($(strip $(DEPS)),)
-+#-include $(DEPS)
-+#endif
-+#endif
- 
- $(PKGCONFIG): | $(BUILD_DIR)
- $(DEBUG_OBJS) $(DEBUG_LIB) $(DEBUG_STATIC_LIB): | $(DEBUG_BUILD_DIR)
-@@ -191,7 +191,7 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
- $(RELEASE_LIB): $(RELEASE_OBJS)
-   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
- ifeq ($(KEEP_SYMBOLS),0)
--  $(STRIP) $@
-+# $(STRIP) $@
- endif
- 
- $(DEBUG_LINK): $(DEBUG_LIB)



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/

2024-02-19 Thread Denis Reva
commit: 07e406609406154a092b09f21c415b827fd3c079
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 13:21:12 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 13:21:12 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07e40660

dev-libs/libglibutil: drop 1.0.67-r3

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/Manifest |  1 -
 dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild | 36 ---
 2 files changed, 37 deletions(-)

diff --git a/dev-libs/libglibutil/Manifest b/dev-libs/libglibutil/Manifest
index b967bf4e30..eb3ba65f35 100644
--- a/dev-libs/libglibutil/Manifest
+++ b/dev-libs/libglibutil/Manifest
@@ -1,3 +1,2 @@
-DIST libglibutil-1.0.67.tar.gz 58717 BLAKE2B 
b53f6b416b974a0b7d24dba1c8497e5c8eceec32734006ab7c2bc5e5ce45e70ce63a0719f7a10127b90ad88394220edc4d2a97825fb82f7173bb68032e5f2e48
 SHA512 
5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541
 DIST libglibutil-1.0.68.tar.gz 60087 BLAKE2B 
449952f5fc8791ab7ede3876cf473486bbd73e36c41353c8d54b528a483453ffbc0c0f7a39b5748626d967e8cc4a667c83f97f297d5a7169ea066f111da1eb78
 SHA512 
8437c9eb125a42e9a4fcd1063818472a1e6a27375189b9996d2ce2c4c96de813b532dd7806d917164987fb4d6e5d67bd981b251b3c0f33cc66e9dd857de04fa1
 DIST libglibutil-1.0.76.tar.gz 71852 BLAKE2B 
742c6968b414d8339c993749c95e74051071e88d687edfb751bc86e1ac68eaf166d69556eee1cec72e48a997415a15a221892ff0905334a0d8fd4209e2160c8a
 SHA512 
f0b35f0366889b6a4c83d73e416a50022f2f0efc08f0fd34b6458c2e8c8b4cabeda6ebbcd3ce9682ab7b92640d956a534683aa2d6773771914ed5dbfb1ad99ee

diff --git a/dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild
deleted file mode 100644
index 0c6db94a09..00
--- a/dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
-else
-   SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="Library of glib utilities from sailfishos project"
-HOMEPAGE="https://github.com/sailfishos/libglibutil;
-LICENSE="BSD"
-SLOT="0"
-
-DEPEND="dev-libs/glib"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-PATCHES=(
-   "${FILESDIR}/libglibutil-1.0.67-r3-respect-env.patch"
-)
-
-src_compile() {
-   emake LIBDIR="/usr/$(get_libdir)"
-}
-
-src_install() {
-   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
-}
-
-src_test() {
-   emake test
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/files/, dev-libs/libglibutil/

2024-02-19 Thread Denis Reva
commit: 0c4d75ce53e2e43b5eabe77a4a4047fea0efce52
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 19 13:20:44 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 19 13:20:57 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c4d75ce

dev-libs/libglibutil: add 1.0.76

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/Manifest  |  1 +
 .../files/libglibutil-1.0.76-respect-env.patch | 57 ++
 dev-libs/libglibutil/libglibutil-1.0.76.ebuild | 36 ++
 3 files changed, 94 insertions(+)

diff --git a/dev-libs/libglibutil/Manifest b/dev-libs/libglibutil/Manifest
index 9b1701cb8f..b967bf4e30 100644
--- a/dev-libs/libglibutil/Manifest
+++ b/dev-libs/libglibutil/Manifest
@@ -1,2 +1,3 @@
 DIST libglibutil-1.0.67.tar.gz 58717 BLAKE2B 
b53f6b416b974a0b7d24dba1c8497e5c8eceec32734006ab7c2bc5e5ce45e70ce63a0719f7a10127b90ad88394220edc4d2a97825fb82f7173bb68032e5f2e48
 SHA512 
5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541
 DIST libglibutil-1.0.68.tar.gz 60087 BLAKE2B 
449952f5fc8791ab7ede3876cf473486bbd73e36c41353c8d54b528a483453ffbc0c0f7a39b5748626d967e8cc4a667c83f97f297d5a7169ea066f111da1eb78
 SHA512 
8437c9eb125a42e9a4fcd1063818472a1e6a27375189b9996d2ce2c4c96de813b532dd7806d917164987fb4d6e5d67bd981b251b3c0f33cc66e9dd857de04fa1
+DIST libglibutil-1.0.76.tar.gz 71852 BLAKE2B 
742c6968b414d8339c993749c95e74051071e88d687edfb751bc86e1ac68eaf166d69556eee1cec72e48a997415a15a221892ff0905334a0d8fd4209e2160c8a
 SHA512 
f0b35f0366889b6a4c83d73e416a50022f2f0efc08f0fd34b6458c2e8c8b4cabeda6ebbcd3ce9682ab7b92640d956a534683aa2d6773771914ed5dbfb1ad99ee

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.76-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.76-respect-env.patch
new file mode 100644
index 00..33c8fb9942
--- /dev/null
+++ b/dev-libs/libglibutil/files/libglibutil-1.0.76-respect-env.patch
@@ -0,0 +1,57 @@
+diff --git a/Makefile b/Makefile
+index 2b26813..e56d42f 100644
+--- a/Makefile
 b/Makefile
+@@ -91,20 +91,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+   -Wl,--version-script=$(LIB_NAME).ver
+ LIBS := $(shell $(PKG_CONFIG) --libs $(PKGS))
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS =
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS =
+ 
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++RELEASE_FLAGS +=
+ endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) -O0 --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+ 
+ #
+ # Files
+@@ -130,11 +130,11 @@ COVERAGE_STATIC_LIB = $(COVERAGE_BUILD_DIR)/$(STATIC_LIB)
+ #
+ 
+ DEPS = $(DEBUG_OBJS:%.o=%.d) $(RELEASE_OBJS:%.o=%.d) $(COVERAGE_OBJS:%.o=%.d)
+-ifneq ($(MAKECMDGOALS),clean)
+-ifneq ($(strip $(DEPS)),)
+--include $(DEPS)
+-endif
+-endif
++#ifneq ($(MAKECMDGOALS),clean)
++#ifneq ($(strip $(DEPS)),)
++#-include $(DEPS)
++#endif
++#endif
+ 
+ $(PKGCONFIG): | $(BUILD_DIR)
+ $(DEBUG_OBJS) $(DEBUG_LIB) $(DEBUG_STATIC_LIB): | $(DEBUG_BUILD_DIR)
+@@ -202,7 +202,7 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
+ $(RELEASE_LIB): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@ $(LIBS)
+ ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
++# $(STRIP) $@
+ endif
+ 
+ $(DEBUG_LINK): $(DEBUG_LIB)

diff --git a/dev-libs/libglibutil/libglibutil-1.0.76.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.76.ebuild
new file mode 100644
index 00..23bdf517db
--- /dev/null
+++ b/dev-libs/libglibutil/libglibutil-1.0.76.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
+else
+   SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Library of glib utilities from sailfishos project"
+HOMEPAGE="https://github.com/sailfishos/libglibutil;
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-libs/glib"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+PATCHES=(
+   "${FILESDIR}/libglibutil-1.0.76-respect-env.patch"
+)
+
+src_compile() {
+   emake LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk-bin/

2024-02-18 Thread Denis Reva
commit: 66fa0a96e3073071355b0e80415bb0e4c5dea58a
Author: Denis Reva  gmail  com>
AuthorDate: Sun Feb 18 17:29:30 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Feb 18 17:29:41 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66fa0a96

media-libs/amdvlk-bin: improved documentation

added legacy-si slot for very old GPUs

fixed elog/einfo

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk-bin/Manifest |  2 ++
 ...-2024.1.1.ebuild => amdvlk-bin-2021.2.5.ebuild} | 39 --
 media-libs/amdvlk-bin/amdvlk-bin-2023.3.3.ebuild   | 37 ++--
 media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild   | 26 ---
 4 files changed, 57 insertions(+), 47 deletions(-)

diff --git a/media-libs/amdvlk-bin/Manifest b/media-libs/amdvlk-bin/Manifest
index 331888a2b4..131e6ecbaa 100644
--- a/media-libs/amdvlk-bin/Manifest
+++ b/media-libs/amdvlk-bin/Manifest
@@ -1,3 +1,5 @@
+DIST amdvlk-bin-2021.2.5-amd64.rpm 16616736 BLAKE2B 
091d14036fc164e15ebb138812baef104a0db51fc9e2574db4c0fa9d285cfb0a43d54e36685817a638c08b2c82ca40e5f5978791aab39d6d83bd6f59889f430f
 SHA512 
65febbdfb0aa0a6b2213d5cbe0029c7da2627d1714d5f25b2d5ccf2401872d323f6e5b0408d9ba9fc5d07b9ae69beb7015498fb2828b6ea0982431ad7f8e450e
+DIST amdvlk-bin-2021.2.5-i386.deb 23475164 BLAKE2B 
b7f7fb91d88c7a37e69f99a2a036b6e1eda1ae00f0f378eb0a245253b12ea6adbd23de70e9bc06c95438a02f2d1905eb8dd55c601ba616106e2b2e2f7db08a93
 SHA512 
1f6067c97661285f62bcd0cb8a81138943f7280ebfda3d70aa32237cea0b715131c7b8af982b62c63ef813f6c1ff54672eea61244cf3c13f1cb536edbb4a749c
 DIST amdvlk-bin-2023.3.3-amd64.rpm 16954920 BLAKE2B 
8b8d2e353a2055a823c5a7932c55a5e113036388a68c2f61a665de0209e82dd219b21e6f4a79f2ad6141381601e408b0007068140fcc2692bf5904ac289ab597
 SHA512 
827bcf885f207557b452360491187b9909279a601dff9c635561b4aa5f2c8aae9d940e880a98c7fb1482efd7fec068e8f3667729930ecd20dfa7c06be15193c9
 DIST amdvlk-bin-2023.3.3-i386.deb 25352166 BLAKE2B 
f4e3af91c2f4e7be6c447c2553ac3deed106be86ce3bd3204ac2e6734ca09dba4c59da8ffd49b52f85dfcbe5eaba09cfa2519578ececfb6f7b21ee4a3d67430d
 SHA512 
3668d701292b7283409ec2209f52b0b01cd7821754969efc4c91c74b2b075ee612f41fafd471dd92da1b204644c76bb92fd60c4c916588b7ee8961257523ba50
 DIST amdvlk-bin-2024.1.1-amd64.rpm 18242384 BLAKE2B 
f26155287dfd7c968581b5eba3a4ad4ac9e1c0d4740a9aa57e120c8a21a1638cf0f02bcf3fd51fb2b6150031b7d81a2c755095807f8afbec5727be4dd661bcaf
 SHA512 
f75b175377a9c252d564db5d99aae47d833d6ddc2c0b7c9292113e96e0635d059deae82ef54e9a88025c28b8b2271113ab468c72a0aa16c4908857b970f3634e

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2021.2.5.ebuild
similarity index 73%
copy from media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
copy to media-libs/amdvlk-bin/amdvlk-bin-2021.2.5.ebuild
index dfba1714db..740c1759ae 100644
--- a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
+++ b/media-libs/amdvlk-bin/amdvlk-bin-2021.2.5.ebuild
@@ -16,8 +16,8 @@ RESTRICT="test"
 REQUIRED_USE="abi_x86_64"
 
 LICENSE="MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64" # The hardware is not supported x86 anymore
+SLOT="legacy-si"
+KEYWORDS="-* ~amd64" # The hardware is not supported pure x86 anymore
 
 RDEPEND="
sys-libs/zlib[${MULTILIB_USEDEP}]
@@ -26,8 +26,9 @@ RDEPEND="
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
-   >=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
+   media-libs/vulkan-loader[${MULTILIB_USEDEP}]
!media-libs/amdvlk
+   !media-libs/amdvlk-bin:0
!media-libs/amdvlk-bin:legacy-polaris
"
 DEPEND="
@@ -40,29 +41,33 @@ QA_PREBUILT="
 "
 # TODO: Found a correct way to disable QA_SONAME for /usr/lib/amdvlk32.so
 # I don't know why the current value is not working
-QA_SONAME="usr/lib/*"
+QA_SONAME="usr/*"
 
 S=${WORKDIR}
 
 pkg_pretend(){
-   ewarn "Mainline AMDVLK drops support for pre-NAVI graphics cards"
-   ewarn "Such as Radeon™ RX 400/500 Series"
-   ewarn "or Radeon™ RX Vega Series"
-   einfo "Check Gentoo Wiki for further information"
-   einfo "https://wiki.gentoo.org/wiki/AMDVLK;
+   ewarn "This is extremely old version which supports AMD's legacy GPUs 
such as:"
+   ewarn "Radeon™ R5/R7/R9 200/300 Series"
+   ewarn "Radeon™ M200/M300/M400 Series"
+   ewarn "Radeon™ HD 8000M Series"
+   ewarn "Radeon™ HD 7000 Series"
+   ewarn "This is very (3 years+) deprecated, it only supports vulkan 
1.2.179"
+   ewarn "Use it at your own risk"
+   elog "Check Gentoo Wiki for further information"
+   elog "https://wiki.gentoo.org/wiki/AMDVLK;
if use abi_x86

[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk-bin/

2024-02-18 Thread Denis Reva
commit: 1f60e50220d5005bd5a1ee76398aedff53c10570
Author: Denis Reva  gmail  com>
AuthorDate: Sun Feb 18 15:44:55 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Feb 18 15:45:12 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f60e502

media-libs/amdvlk-bin: added legacy-polaris branch

it contains the last driver version for pre-GFX10 gpus

Improved package description

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk-bin/Manifest |  2 ++
 ...dvlk-bin-2024.1.1.ebuild => amdvlk-bin-2023.3.3.ebuild} | 14 --
 media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild   |  7 +++
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/media-libs/amdvlk-bin/Manifest b/media-libs/amdvlk-bin/Manifest
index 13d0d16472..331888a2b4 100644
--- a/media-libs/amdvlk-bin/Manifest
+++ b/media-libs/amdvlk-bin/Manifest
@@ -1,2 +1,4 @@
+DIST amdvlk-bin-2023.3.3-amd64.rpm 16954920 BLAKE2B 
8b8d2e353a2055a823c5a7932c55a5e113036388a68c2f61a665de0209e82dd219b21e6f4a79f2ad6141381601e408b0007068140fcc2692bf5904ac289ab597
 SHA512 
827bcf885f207557b452360491187b9909279a601dff9c635561b4aa5f2c8aae9d940e880a98c7fb1482efd7fec068e8f3667729930ecd20dfa7c06be15193c9
+DIST amdvlk-bin-2023.3.3-i386.deb 25352166 BLAKE2B 
f4e3af91c2f4e7be6c447c2553ac3deed106be86ce3bd3204ac2e6734ca09dba4c59da8ffd49b52f85dfcbe5eaba09cfa2519578ececfb6f7b21ee4a3d67430d
 SHA512 
3668d701292b7283409ec2209f52b0b01cd7821754969efc4c91c74b2b075ee612f41fafd471dd92da1b204644c76bb92fd60c4c916588b7ee8961257523ba50
 DIST amdvlk-bin-2024.1.1-amd64.rpm 18242384 BLAKE2B 
f26155287dfd7c968581b5eba3a4ad4ac9e1c0d4740a9aa57e120c8a21a1638cf0f02bcf3fd51fb2b6150031b7d81a2c755095807f8afbec5727be4dd661bcaf
 SHA512 
f75b175377a9c252d564db5d99aae47d833d6ddc2c0b7c9292113e96e0635d059deae82ef54e9a88025c28b8b2271113ab468c72a0aa16c4908857b970f3634e
 DIST amdvlk-bin-2024.1.1-i386.deb 25981812 BLAKE2B 
c8cb424798b6d2f64f0d4c68930c4fbe7ac02039373d33aa6cc0c2912b71df7a7adff64e3f60be52f3bd4bcec0c91ee5f3a0edfaa88dc2f09390c245e94f0170
 SHA512 
6c3f5aea6e734fa3550c7f4103108dd3efca2ce0ddb1e0410b46ef3d4171deb66cf10b2e38935bf965d729daa221fd6af119582ef7b15e779df80d84122b9587

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2023.3.3.ebuild
similarity index 87%
copy from media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
copy to media-libs/amdvlk-bin/amdvlk-bin-2023.3.3.ebuild
index f730b207da..43d6529345 100644
--- a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
+++ b/media-libs/amdvlk-bin/amdvlk-bin-2023.3.3.ebuild
@@ -16,7 +16,7 @@ RESTRICT="test"
 REQUIRED_USE="abi_x86_64"
 
 LICENSE="MIT"
-SLOT="0"
+SLOT="legacy-polaris"
 KEYWORDS="-* ~amd64" # The hardware is not supported x86 anymore
 
 RDEPEND="
@@ -27,6 +27,8 @@ RDEPEND="
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
+   !media-libs/amdvlk
+   !media-libs/amdvlk-bin:0
"
 DEPEND="
${RDEPEND}
@@ -43,9 +45,17 @@ QA_SONAME="usr/lib/*"
 S=${WORKDIR}
 
 pkg_pretend(){
+   einfo "This is last version which supports AMD's legacy graphics cards 
such as:"
+   einfo "Radeon™ RX Vega Series"
+   einfo "Radeon™ RX 400/500 Series"
+   einfo "Radeon™ Pro WX 9100, x200 Series"
+   einfo "Radeon™ Pro W5700/W5500 Series"
+   einfo "Use it at your own risk"
+   einfo "Check Gentoo Wiki for further information"
+   einfo "https://wiki.gentoo.org/wiki/AMDVLK;
if use abi_x86_32; then
ewarn "32-bit amdvlk binary is untested"
-   ewarn "Work in progress"
+   ewarn "Work in progress, use it at your risk"
fi
 }
 

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
index f730b207da..dfba1714db 100644
--- a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
+++ b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
@@ -27,6 +27,8 @@ RDEPEND="
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
+   !media-libs/amdvlk
+   !media-libs/amdvlk-bin:legacy-polaris
"
 DEPEND="
${RDEPEND}
@@ -43,6 +45,11 @@ QA_SONAME="usr/lib/*"
 S=${WORKDIR}
 
 pkg_pretend(){
+   ewarn "Mainline AMDVLK drops support for pre-NAVI graphics cards"
+   ewarn "Such as Radeon™ RX 400/500 Series"
+   ewarn "or Radeon™ RX Vega Series"
+   einfo "Check Gentoo Wiki for further information"
+   einfo "https://wiki.gentoo.org/wiki/AMDVLK;
if use abi_x86_32; then
ewarn "32-bit amdvlk binary is untested"
ewarn "Work in progress"



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk-bin/

2024-02-18 Thread Denis Reva
commit: a3658bc001ffd691ed6ac4c6b7f2eba3299933f4
Author: Denis Reva  gmail  com>
AuthorDate: Sun Feb 18 15:18:43 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Feb 18 15:18:43 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3658bc0

media-libs/amdvlk-bin: added info about gentoo wiki

Bug: https://bugs.gentoo.org/665590
Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
index 9c98574bf3..f730b207da 100644
--- a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
+++ b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
@@ -103,6 +103,7 @@ pkg_postinst(){
ewarn "If you are using Wayland, it should be fine"
elog "More information about the configuration can be found here:"
elog "https://github.com/GPUOpen-Drivers/AMDVLK;
+   elog "See also https://wiki.gentoo.org/wiki/AMDVLK (but it might be 
outdated)"
elog "You can use AMD_VULKAN_ICD variable to switch to the required 
driver."
elog "AMD_VULKAN_ICD=RADV application   - for using radv."
elog "AMD_VULKAN_ICD=AMDVLK application - for using amdvlk."



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk-bin/

2024-02-18 Thread Denis Reva
commit: 0643c00df81ff8a08cff0d2f7e929ae341404212
Author: Denis Reva  gmail  com>
AuthorDate: Sun Feb 18 15:14:18 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Feb 18 15:14:35 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0643c00d

media-libs/amdvlk-bin: new package, add 2024.1.1

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk-bin/Manifest   |   2 +
 media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild | 109 +++
 media-libs/amdvlk-bin/metadata.xml   |  15 
 3 files changed, 126 insertions(+)

diff --git a/media-libs/amdvlk-bin/Manifest b/media-libs/amdvlk-bin/Manifest
new file mode 100644
index 00..13d0d16472
--- /dev/null
+++ b/media-libs/amdvlk-bin/Manifest
@@ -0,0 +1,2 @@
+DIST amdvlk-bin-2024.1.1-amd64.rpm 18242384 BLAKE2B 
f26155287dfd7c968581b5eba3a4ad4ac9e1c0d4740a9aa57e120c8a21a1638cf0f02bcf3fd51fb2b6150031b7d81a2c755095807f8afbec5727be4dd661bcaf
 SHA512 
f75b175377a9c252d564db5d99aae47d833d6ddc2c0b7c9292113e96e0635d059deae82ef54e9a88025c28b8b2271113ab468c72a0aa16c4908857b970f3634e
+DIST amdvlk-bin-2024.1.1-i386.deb 25981812 BLAKE2B 
c8cb424798b6d2f64f0d4c68930c4fbe7ac02039373d33aa6cc0c2912b71df7a7adff64e3f60be52f3bd4bcec0c91ee5f3a0edfaa88dc2f09390c245e94f0170
 SHA512 
6c3f5aea6e734fa3550c7f4103108dd3efca2ce0ddb1e0410b46ef3d4171deb66cf10b2e38935bf965d729daa221fd6af119582ef7b15e779df80d84122b9587

diff --git a/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild 
b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
new file mode 100644
index 00..9c98574bf3
--- /dev/null
+++ b/media-libs/amdvlk-bin/amdvlk-bin-2024.1.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit rpm unpacker multilib-build
+
+DESCRIPTION="AMD Open Source Driver for Vulkan: official binary version"
+HOMEPAGE="https://github.com/GPUOpen-Drivers/AMDVLK;
+MY_PV="${PV/'.'/'.Q'}"
+FETCH_URI="https://github.com/GPUOpen-Drivers/AMDVLK/releases/download;
+SRC_URI="${FETCH_URI}/v-${MY_PV}/amdvlk-${MY_PV}.x86_64.rpm -> ${P}-amd64.rpm
+${FETCH_URI}/v-${MY_PV}/amdvlk_${MY_PV}_i386.deb -> ${P}-i386.deb"
+RESTRICT="test"
+REQUIRED_USE="abi_x86_64"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64" # The hardware is not supported x86 anymore
+
+RDEPEND="
+   sys-libs/zlib[${MULTILIB_USEDEP}]
+   app-arch/zstd[${MULTILIB_USEDEP}]
+   x11-libs/libdrm[${MULTILIB_USEDEP}]
+   x11-libs/libXrandr[${MULTILIB_USEDEP}]
+   x11-libs/libxcb[${MULTILIB_USEDEP}]
+   x11-libs/libxshmfence[${MULTILIB_USEDEP}]
+   >=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
+   "
+DEPEND="
+   ${RDEPEND}
+"
+BDEPEND="sys-apps/sed"
+QA_PREBUILT="
+   usr/lib/*
+   usr/lib64/*
+"
+# TODO: Found a correct way to disable QA_SONAME for /usr/lib/amdvlk32.so
+# I don't know why the current value is not working
+QA_SONAME="usr/lib/*"
+
+S=${WORKDIR}
+
+pkg_pretend(){
+   if use abi_x86_32; then
+   ewarn "32-bit amdvlk binary is untested"
+   ewarn "Work in progress"
+   fi
+}
+
+src_unpack(){
+   elog "Unpacking abi_x86_64..."
+   mkdir -p "${S}"/amd64
+   cd "${S}"/amd64 || die
+   rpm_unpack ${P}-amd64.rpm
+   if use abi_x86_32; then
+   elog "Unpacking abi_x86_32..."
+   mkdir -p "${S}"/i386 || die
+   cd "${S}"/i386 || die
+   unpacker ${P}-i386.deb
+   fi
+}
+
+src_prepare() {
+   default
+   if use abi_x86_32; then
+   elog "Changing layout of abi_x86_32 from debian/ubuntu to 
Gentoo/RHEL-alike"
+   mv "${S}/i386/usr/lib/i386-linux-gnu/amdvlk32.so" 
"${S}/i386/usr/lib/" || die
+   rm -d "${S}/i386/usr/lib/i386-linux-gnu/" || die
+   rm -r "${S}/i386/usr/share/" || die
+   fi
+   mv "${S}/amd64/usr/share/doc/amdvlk/LICENSE.txt" "${S}" || die
+   rm -r "${S}/amd64/usr/share/" || die
+}
+
+src_configure(){
+   if use abi_x86_32; then
+   elog "Changing configuration of abi_x86_32 from debian/ubuntu 
to Gentoo/RHEL-alike"
+   sed -i 
's/\/usr\/lib\/i386-linux-gnu\/amdvlk32.so/\/usr\/lib\/amdvlk32.so/g' \
+   "${S}/i386/etc/vulkan/icd.d/amd_icd32.json" || die
+   sed -i 
's/\/usr\/lib\/i386-linux-gnu\/amdvlk32.so/\/usr\/lib\/amdvlk32.so/g' \
+   "${S}/i386/etc/vulkan/implicit_layer.d/amd_icd32.json" || die
+   fi
+}
+src_compile(){
+   elog "Nothing to compile..."
+}
+
+src_install(){
+

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2024-02-17 Thread Denis Reva
commit: 2f2b1aa110f1a2abe95570aebfbee73e269e279a
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 17 09:02:01 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 17 09:02:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f2b1aa1

sys-fs/dwarfs-bin: updated to 0.9.5

Dropped old version

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest |  6 +-
 sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild  | 67 --
 ...fs-bin-0.8.0.ebuild => dwarfs-bin-0.9.5.ebuild} |  0
 3 files changed, 2 insertions(+), 71 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 944f4b9520..7d8b4f4bb1 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,4 +1,2 @@
-DIST dwarfs-bin-0.8.0-amd64.tar.xz 7444728 BLAKE2B 
ab95665be88d77e5b3ae48d9a6780740a866bb6f75143b953c175742e46ad406538201cfd5d82578a96bde2bc1dd8e1ce61a6e2188006a64bf8fda632b1f9e51
 SHA512 
ea1e0bf0b655b404af8839ce78bedc617e8f3f1dba7f9aa36569345844f0539375d58b7d9726852bcb197b9fca99ec4c7a532be2bfcb14ec335d35efd2544e14
-DIST dwarfs-bin-0.8.0-arm64.tar.gz 6495832 BLAKE2B 
95840404653dce660b34e88510adcc185095d93f2cec30171f96a836ac4cddfef16bf329dc75028ed7de02d1fa3e95b770a25e4b8a8d0096bf16ddde5d7f4838
 SHA512 
8fea6502bf990ebd30e97dc17e2fa17c127bc490a95f39ce279657797effe0549c2ac6e8063a0055ed95dbbb897fd344fbfbb3c4ebb4eb2b14d7e38d7c218396
-DIST dwarfs-bin-0.9.3-amd64.tar.xz 7597520 BLAKE2B 
d6b48cf0cd6a64c8653db7ebfac543fe0718a13250ea1a0b0d68a9967d512c4e0938a9e861f9cb20635945b99bd7763b0b0bc14a663d4ba725dc8df169acce13
 SHA512 
ef18994ed99a8d62305849b55b8936f4de5e5b60511c1ce8336f85d399132c6e9d19eadf81b541a3a17f4fa61219f73a04faae0401eaabbde17fda124497bb63
-DIST dwarfs-bin-0.9.3-arm64.tar.gz 6621720 BLAKE2B 
22e2f9e239061eec764a763a1c3fd7a44aee505cc1bd93534d079085c160c91a6cc043551b305591d9f323dbbad9f6f48fb521f6309e58ffef5f6bd1ff87e05c
 SHA512 
400791023cc5753f45c7ef4df3feb8e71cb54bef3e306ce1f8be6e5f84c2eed4f15af2fd656ea3701823f7d4b95ced5c49ebc23737734b8f4f9e503dd4dd2cd0
+DIST dwarfs-bin-0.9.5-amd64.tar.xz 7521852 BLAKE2B 
2f12e38e6a2b2a6ef5ed3cc0350720ecb540c5bb1dff642892c783c60e37fa4d35d61486c985c4511d2cf129ef2235fdb3d186a76d9e8ad42a21b863437ea340
 SHA512 
eb357eb94c53d8e3a2b987203bd81dd84e8bd06c8b45d4f8aaa839ba00692de84c4dfd468ede394b519a1a9c4b561e3136010fa3314bb8689db124363caae55f
+DIST dwarfs-bin-0.9.5-arm64.tar.gz 6612480 BLAKE2B 
a397def8a69fac8fc99ea3a4928871492eb78fcee28973f549a12369df3e24f4dba87f42ed0ad39ef23e74085e25974410bbabaae515cd04b0c6b4b9a67a9e20
 SHA512 
e1f6fd8c9a42a1b39a1581704e0eaf1cb481cd8090f222305ac6e78d48ffd1c2aac305ec51d7432f3de566d54f449ef6a459263c3c73b073aeaf36d1deed8ed7

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild
deleted file mode 100644
index 8b117c98fb..00
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="
-   amd64? ( 
https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64-clang.tar.xz
 -> ${P}-amd64.tar.xz )
-   arm64? ( 
https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-aarch64-clang.tar.xz
 -> ${P}-arm64.tar.gz )
-"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   sys-fs/fuse:3
-"
-DEPEND="
-   ${RDEPEND}
-"
-QA_PREBUILT="
-   opt/dwarfs-bin/bin/*
-   opt/dwarfs-bin/sbin/*
-"
-
-src_unpack() {
-   if use amd64; then
-   S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64-clang"
-   elif use arm64; then
-   S="${WORKDIR}/dwarfs-${PV}-Linux-aarch64-clang"
-   fi
-
-   default
-}
-
-src_prepare() {
-   default
-   einfo "Removing legacy fuse2-related stuff..."
-   rm sbin/dwarfs2 sbin/mount.dwarfs2 || die
-   einfo "Done."
-}
-
-src_install(){
-   mkdir -p "${ED}/opt/${PN}" || die
-   mv "${S}"/* "${ED}/opt/${PN}" || die
-
-   for file in "${ED}/opt/${PN}/bin"/*; do
-   dosym "../${PN}/bin/$(basename "${file}")" "/opt/bin/$(basename 
"${file}")"
-   done
-   for file in "${ED}/opt/${PN}/sbin"/*; do
-   dosym "../${PN}/sbin/$(basename "${file}")" 
"/opt/bin/$(basename "${file}")"
-   done
-
-   newenvd - "90${P}" <<-_EOF_
-   MANPATH="${EPREFIX}/opt/${PN}/share/man"
-   _EOF_
-}
-
-pkg_postinst(){
-   elog

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-15 Thread Denis Reva
commit: f7eb443648fed8fad4ff91cf559d5df1f8c8f55a
Author: Denis Reva  gmail  com>
AuthorDate: Thu Feb 15 08:43:34 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Thu Feb 15 08:43:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7eb4436

sys-fs/dwarfs: drop 0.9.3

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   1 -
 sys-fs/dwarfs/dwarfs-0.9.3.ebuild | 156 --
 2 files changed, 157 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index a90940d74d..539ceecf45 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 
96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0
 SHA512 
fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
 DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 
90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9
 SHA512 
b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
deleted file mode 100644
index 3a6dd17643..00
--- a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment 
-# See https://github.com/mhx/dwarfs/issues/194
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-   app-arch/libarchive
-   app-arch/lz4
-   app-arch/snappy
-   app-arch/xz-utils
-   app-arch/zstd
-   dev-cpp/range-v3
-   dev-cpp/gflags
-   dev-cpp/glog[gflags]
-   dev-cpp/parallel-hashmap:=
-   dev-libs/boost[context]
-   dev-libs/date
-   dev-libs/double-conversion
-   dev-libs/libevent
-   dev-libs/libfmt
-   dev-libs/utfcpp
-   dev-libs/xxhash
-   sys-fs/fuse:3
-   dev-libs/fsst
-   sys-libs/binutils-libs
-   sys-libs/libunwind
-   sys-libs/zlib
-   !dev-cpp/fbthrift
-   !dev-cpp/fizz
-   !dev-cpp/folly
-   !dev-cpp/wangle
-   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   dev-util/patchelf
-   sys-devel/bison
-   sys-devel/flex
-   virtual/pkgconfig
-   man? ( app-text/ronn-ng )
-   test? ( dev-cpp/gtest )
-   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-   rm -r zstd xxHash parallel-hashmap || die
-   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
-
-   # Bug #900016, but upstream discourages O3
-   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
-   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-   replace-flags -O3 -O2
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   append-cxxflags "-I/usr/include -fPIC"
-   filter-ldflags "-Wl,--as-needed"
-   append-ldflags $(no-as-needed)
-
-   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
-   # This is unfortunately too aggressive:
-   # append-cxxflags "-fno-char8_t"
-
-   mycmakeargs=(
-   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-   -DWITH_TESTS=$(usex test ON OFF)
-   -DWITH_MAN_PAGES=$(usex man ON OFF)
-   -DPREFER_SYSTEM_ZSTD=ON
-   -DPREFER_SYSTEM_XXHASH=ON
-   -DPREFER_SYSTEM_GTEST=ON
-   -DPREFER_SYSTEM_LIBFMT=ON
-   -DWITH_LEGACY_FUSE=OFF
-   -DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   local libs=(
-   folly/libfolly.so
-   folly/libfolly.so.

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-14 Thread Denis Reva
commit: 0916b1ead2f425f044556926402a59b7839a5722
Author: Denis Reva  gmail  com>
AuthorDate: Wed Feb 14 15:00:24 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Feb 14 15:00:24 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0916b1ea

sys-fs/dwarfs: Fixed tests

Closes: https://bugs.gentoo.org/924462
Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/{dwarfs-0.9.5.ebuild => dwarfs-0.9.5-r1.ebuild} | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
similarity index 96%
rename from sys-fs/dwarfs/dwarfs-0.9.5.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
index 1710d825eb..533766758b 100644
--- a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
@@ -14,11 +14,12 @@ 
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment 
+IUSE="+jemalloc test man" #Tests is broken at this moment
 # See https://github.com/mhx/dwarfs/issues/194
 S="${WORKDIR}/dwarfs-${PV}"
 
 RDEPEND="
+   app-arch/brotli
app-arch/libarchive
app-arch/lz4
app-arch/snappy
@@ -35,15 +36,16 @@ RDEPEND="
dev-libs/libfmt
dev-libs/utfcpp
dev-libs/xxhash
-   sys-fs/fuse:3
dev-libs/fsst
+   media-libs/flac
+   sys-fs/fuse:3
sys-libs/binutils-libs
-   sys-libs/libunwind
sys-libs/zlib
jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
 "
 
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+   sys-libs/libunwind"
 BDEPEND="
${PYTHON_DEPS}
dev-util/patchelf



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-13 Thread Denis Reva
commit: 8f303907e571f133590a75fef9d0c7a5d0e680a2
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 13 15:46:43 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 13 15:46:43 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f303907

sys-fs/dwarfs: drop 0.9.3-r50

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild | 128 --
 1 file changed, 128 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
deleted file mode 100644
index ba9632ba1e..00
--- a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment 
-# See https://github.com/mhx/dwarfs/issues/194
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-   app-arch/libarchive
-   app-arch/lz4
-   app-arch/snappy
-   app-arch/xz-utils
-   app-arch/zstd
-   dev-cpp/range-v3
-   dev-cpp/gflags
-   dev-cpp/glog[gflags]
-   dev-cpp/parallel-hashmap:=
-   dev-libs/boost[context]
-   dev-libs/date
-   dev-libs/double-conversion
-   dev-libs/libevent
-   dev-libs/libfmt
-   dev-libs/utfcpp
-   dev-libs/xxhash
-   sys-fs/fuse:3
-   dev-libs/fsst
-   sys-libs/binutils-libs
-   sys-libs/libunwind
-   sys-libs/zlib
-   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   dev-util/patchelf
-   sys-devel/bison
-   sys-devel/flex
-   virtual/pkgconfig
-   man? ( app-text/ronn-ng )
-   test? ( dev-cpp/gtest )
-   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-   rm -r zstd xxHash parallel-hashmap || die
-   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
-
-   # Bug #900016, but upstream discourages O3
-   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
-   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-   replace-flags -O3 -O2
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   append-cxxflags "-I/usr/include"
-   filter-ldflags "-Wl,--as-needed"
-   append-ldflags $(no-as-needed)
-
-   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
-   # This is unfortunately too aggressive:
-   # append-cxxflags "-fno-char8_t"
-
-   mycmakeargs=(
-   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-   -DWITH_TESTS=$(usex test ON OFF)
-   -DWITH_MAN_PAGES=$(usex man ON OFF)
-   -DPREFER_SYSTEM_ZSTD=ON
-   -DPREFER_SYSTEM_XXHASH=ON
-   -DPREFER_SYSTEM_GTEST=ON
-   -DPREFER_SYSTEM_LIBFMT=ON
-   -DWITH_LEGACY_FUSE=OFF
-   -DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-   -DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
-   #  Shared libs is not fully supported by upstream
-   # 
https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
-   #  So if we disable shared libs we dramatically reduce install 
code and
-   # remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
-   # dev-cpp/fizz, and dev-cpp/wangle
-   #  We do NOT enable the full static build, but eradicate 
bundled libs
-   # such as libfolly.so and libdwarfs_compression.so
-   -DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   local CMAKE_SKIP_TESTS=(
-   # Tests don't work in sandbox
-   # fuse: failed to open /dev/fuse: Permission denied
-   dwarfs/tools_test
-   )
-   cmake_src_test
-}
-
-pkg_postinst() {
-   elog "You may find more information in the"
-   elog "${HOMEPAGE}"
-   elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-   elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-13 Thread Denis Reva
commit: fb0f96ea1e0be82f372ecb744ea455bdc8d31207
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 13 15:46:08 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 13 15:46:08 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb0f96ea

sys-fs/dwarfs: drop 0.8.0, 0.9.1

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   2 -
 sys-fs/dwarfs/dwarfs-0.8.0.ebuild | 152 -
 sys-fs/dwarfs/dwarfs-0.9.1.ebuild | 155 --
 3 files changed, 309 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 56456b154c..a90940d74d 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,4 +1,2 @@
-DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 
17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32
 SHA512 
a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
-DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 
173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1
 SHA512 
39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
 DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 
96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0
 SHA512 
fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
 DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 
90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9
 SHA512 
b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.8.0.ebuild 
b/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
deleted file mode 100644
index 6ccbc57b15..00
--- a/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test man"
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-   app-arch/libarchive
-   app-arch/lz4
-   app-arch/snappy
-   app-arch/xz-utils
-   app-arch/zstd
-   dev-cpp/gflags
-   dev-cpp/glog[gflags]
-   dev-cpp/parallel-hashmap:=
-   dev-libs/boost[context]
-   dev-libs/date
-   dev-libs/double-conversion
-   dev-libs/libevent
-   dev-libs/libfmt
-   dev-libs/utfcpp
-   dev-libs/xxhash
-   sys-fs/fuse:3
-   dev-libs/fsst
-   sys-libs/binutils-libs
-   sys-libs/libunwind
-   sys-libs/zlib
-   !dev-cpp/fbthrift
-   !dev-cpp/fizz
-   !dev-cpp/folly
-   !dev-cpp/wangle
-   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-   ${PYTHON_DEPS}
-   dev-util/patchelf
-   sys-devel/bison
-   sys-devel/flex
-   virtual/pkgconfig
-   man? ( app-text/ronn-ng )
-   test? ( dev-cpp/gtest )
-   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-   rm -r zstd xxHash parallel-hashmap || die
-   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
-
-   # Bug #900016, but upstream discourages O3
-   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
-   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-   replace-flags -O3 -O2
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   append-cxxflags "-I/usr/include"
-   append-ldflags $(no-as-needed)
-
-   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
-   # This is unfortunately too aggressive:
-   # append-cxxflags "-fno-char8_t"
-
-   mycmakeargs=(
-   -DUSE_JEMALLOC=$

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-13 Thread Denis Reva
commit: e7bd17a2a0708ceddd78cdb40204f84b5865064a
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 13 15:44:58 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 13 15:45:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7bd17a2

sys-fs/dwarfs: add 0.9.5

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   1 +
 sys-fs/dwarfs/dwarfs-0.9.5.ebuild | 133 ++
 2 files changed, 134 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index b174c903a9..56456b154c 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,4 @@
 DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 
17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32
 SHA512 
a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
 DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 
173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1
 SHA512 
39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
 DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 
96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0
 SHA512 
fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
+DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 
90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9
 SHA512 
b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
new file mode 100644
index 00..1710d825eb
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+jemalloc test man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/range-v3
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-libs/boost[context]
+   dev-libs/date
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/utfcpp
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   dev-libs/fsst
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   dev-util/patchelf
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   man? ( app-text/ronn-ng )
+   test? ( dev-cpp/gtest )
+   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+   rm -r zstd xxHash parallel-hashmap || die
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+
+   # Bug #900016, but upstream discourages O3
+   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
+   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+   replace-flags -O3 -O2
+   # Fixes building with test when using system-gtest
+   # https://github.com/mhx/dwarfs/issues/188
+   sed '/utils_test/d' -i CMakeLists.txt || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   append-cxxflags "-I/usr/include"
+   filter-ldflags "-Wl,--as-needed"
+   append-ldflags $(no-as-needed)
+
+   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
+   # Thi

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-12 Thread Denis Reva
commit: e3f1f2f398948658d18e3ff2948abb9f72179499
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 12 09:14:23 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 12 09:14:23 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3f1f2f3

sys-fs/dwarfs: experiment: eradicate lib flood

 I figured out how to build the whole project
(but not it's dependencies) as statically linked,
therefore there is no more dwarfs_compression.so
nether text relocation bugs.
 The project still use system-installed libs such
as app-arch/zstd as shared.

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild | 128 ++
 1 file changed, 128 insertions(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
new file mode 100644
index 00..ba9632ba1e
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+jemalloc test man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/range-v3
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-libs/boost[context]
+   dev-libs/date
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/utfcpp
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   dev-libs/fsst
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   dev-util/patchelf
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   man? ( app-text/ronn-ng )
+   test? ( dev-cpp/gtest )
+   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+   rm -r zstd xxHash parallel-hashmap || die
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+
+   # Bug #900016, but upstream discourages O3
+   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
+   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+   replace-flags -O3 -O2
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   append-cxxflags "-I/usr/include"
+   filter-ldflags "-Wl,--as-needed"
+   append-ldflags $(no-as-needed)
+
+   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
+   # This is unfortunately too aggressive:
+   # append-cxxflags "-fno-char8_t"
+
+   mycmakeargs=(
+   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+   -DWITH_TESTS=$(usex test ON OFF)
+   -DWITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=ON
+   -DPREFER_SYSTEM_XXHASH=ON
+   -DPREFER_SYSTEM_GTEST=ON
+   -DPREFER_SYSTEM_LIBFMT=ON
+   -DWITH_LEGACY_FUSE=OFF
+   -DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+   -DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
+   #  Shared libs is not fully supported by upstream
+   # 
https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
+   #  So if we disable shared libs we dramatically reduce install 
code and
+   # remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
+   # dev-cpp/fizz, and dev-cpp/wangle
+   #  We do NOT enable the full static build, but eradicate 
bundled libs
+   # such as libfolly.so and libdwarfs_compression.so
+   -DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   local CMAKE_SKIP_TESTS=(
+   # Tests don't work in sandbox
+   

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-02-12 Thread Denis Reva
commit: 402c0033b8d097afefb2e68d378f6f088a5d60b4
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 12 08:06:14 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 12 08:06:14 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=402c0033

sys-fs/dwarfs: version bump

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   1 +
 sys-fs/dwarfs/dwarfs-0.9.3.ebuild | 156 ++
 2 files changed, 157 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index d726eeda0b..b174c903a9 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,3 @@
 DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 
17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32
 SHA512 
a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
 DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 
173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1
 SHA512 
39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
+DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 
96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0
 SHA512 
fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild 
b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
new file mode 100644
index 00..3a6dd17643
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+jemalloc test man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/range-v3
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-libs/boost[context]
+   dev-libs/date
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/utfcpp
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   dev-libs/fsst
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+   !dev-cpp/fbthrift
+   !dev-cpp/fizz
+   !dev-cpp/folly
+   !dev-cpp/wangle
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${PYTHON_DEPS}
+   dev-util/patchelf
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   man? ( app-text/ronn-ng )
+   test? ( dev-cpp/gtest )
+   $(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+   python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+   rm -r zstd xxHash parallel-hashmap || die
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+
+   # Bug #900016, but upstream discourages O3
+   sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+   sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i 
folly/CMake/FollyCompilerUnix.cmake || die
+   sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+   replace-flags -O3 -O2
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   append-cxxflags "-I/usr/include -fPIC"
+   filter-ldflags "-Wl,--as-needed"
+   append-ldflags $(no-as-needed)
+
+   # FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or 
-std=c++20.
+   # This is unfortunately too aggressive:
+   # append-cxxflags "-fno-char8_t"
+
+   mycmakeargs=(
+   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+   -DWITH_TESTS=$(usex test ON OFF)
+   -DWITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=ON
+   -DPREFER_SYSTEM_XXHASH=ON
+   -DPREFER

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2024-02-11 Thread Denis Reva
commit: 0fdad3832db7b5b1bc9f82e77871774af045bfab
Author: Denis Reva  gmail  com>
AuthorDate: Mon Feb 12 07:26:58 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Feb 12 07:26:58 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fdad383

sys-fs/dwarfs-bin: version bump

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest| 4 ++--
 .../dwarfs-bin/{dwarfs-bin-0.9.1.ebuild => dwarfs-bin-0.9.3.ebuild}   | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index d81a25af95..944f4b9520 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,4 +1,4 @@
 DIST dwarfs-bin-0.8.0-amd64.tar.xz 7444728 BLAKE2B 
ab95665be88d77e5b3ae48d9a6780740a866bb6f75143b953c175742e46ad406538201cfd5d82578a96bde2bc1dd8e1ce61a6e2188006a64bf8fda632b1f9e51
 SHA512 
ea1e0bf0b655b404af8839ce78bedc617e8f3f1dba7f9aa36569345844f0539375d58b7d9726852bcb197b9fca99ec4c7a532be2bfcb14ec335d35efd2544e14
 DIST dwarfs-bin-0.8.0-arm64.tar.gz 6495832 BLAKE2B 
95840404653dce660b34e88510adcc185095d93f2cec30171f96a836ac4cddfef16bf329dc75028ed7de02d1fa3e95b770a25e4b8a8d0096bf16ddde5d7f4838
 SHA512 
8fea6502bf990ebd30e97dc17e2fa17c127bc490a95f39ce279657797effe0549c2ac6e8063a0055ed95dbbb897fd344fbfbb3c4ebb4eb2b14d7e38d7c218396
-DIST dwarfs-bin-0.9.1-amd64.tar.xz 7436484 BLAKE2B 
a4249d5566d89d783d2cc3350918a49c794f2730ff8475325959a433aa3fa4dcc387f98c50eed0a3a73b9b5e75ca35b88903c342d693dac7a5c4daf26df44cde
 SHA512 
61be82f6571bcd4492d5d7769628a4f88a57cda366f3a76e5f667efa1396cec7a2268b3984b74258b2ca44e6adaf9a20e3000c978ae9506978bb1730666b7363
-DIST dwarfs-bin-0.9.1-arm64.tar.gz 6522592 BLAKE2B 
2e7c8f25061921040a12fb662b43f4bffcd9b38816cb466a4f1acdb330ce48f956d563d04bb968e57405557f37e0184140995016c2517d5123e473c42f1cf022
 SHA512 
6d985deb1453eb39b0d297199cb90e74557adaf81a40b7467d9af9f8670e16cc2bc41440702201c455dadd38a59e5597df38bccf9938da0d815588c3a1e38807
+DIST dwarfs-bin-0.9.3-amd64.tar.xz 7597520 BLAKE2B 
d6b48cf0cd6a64c8653db7ebfac543fe0718a13250ea1a0b0d68a9967d512c4e0938a9e861f9cb20635945b99bd7763b0b0bc14a663d4ba725dc8df169acce13
 SHA512 
ef18994ed99a8d62305849b55b8936f4de5e5b60511c1ce8336f85d399132c6e9d19eadf81b541a3a17f4fa61219f73a04faae0401eaabbde17fda124497bb63
+DIST dwarfs-bin-0.9.3-arm64.tar.gz 6621720 BLAKE2B 
22e2f9e239061eec764a763a1c3fd7a44aee505cc1bd93534d079085c160c91a6cc043551b305591d9f323dbbad9f6f48fb521f6309e58ffef5f6bd1ff87e05c
 SHA512 
400791023cc5753f45c7ef4df3feb8e71cb54bef3e306ce1f8be6e5f84c2eed4f15af2fd656ea3701823f7d4b95ced5c49ebc23737734b8f4f9e503dd4dd2cd0

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.9.1.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild
similarity index 100%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.9.1.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.9.3.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-01-08 Thread Denis Reva
commit: 9976d2a7f2950443356880c03eea050e7afb945b
Author: Denis Reva  gmail  com>
AuthorDate: Mon Jan  8 14:03:23 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Jan  8 14:03:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9976d2a7

sys-fs/dwarfs: removed wrong bugfix

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/{dwarfs-0.7.4-r1.ebuild => dwarfs-0.7.4-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2024-01-07 Thread Denis Reva
commit: d45e93015e401708a6356aa7f1f5087f13b48f41
Author: Denis Reva  gmail  com>
AuthorDate: Sun Jan  7 11:06:56 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Jan  7 11:06:56 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d45e9301

sys-fs/dwarfs-bin: updated to latest

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest | 2 +-
 sys-fs/dwarfs-bin/{dwarfs-bin-0.7.2.ebuild => dwarfs-bin-0.7.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 345039922e..6c6d98f61f 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1 +1 @@
-DIST dwarfs-bin-0.7.2.tar.xz 6451592 BLAKE2B 
4682da52228cb53edeb10f60b38a9a023796b4857568db09cc114f5814ad4fa094b4a4e279c8634cf17ee788d459f4886f7f3a9ff187e9570cc81a4b1332d63a
 SHA512 
7d78ec2468d60e1c37155e790843f3ad26243402f18b32237ce2eccbc5718207f6a4c75bd618a78cd421b4bf6789de5c95a9563171a79d68410173f08f8582bc
+DIST dwarfs-bin-0.7.4.tar.xz 6489712 BLAKE2B 
b854e0cd7afa118dcbb8f46aead848b2293ee8cac6d6f74d85a789b70ccfdfff94d3d4751018ea0a1c44d1d07997ee32bbe07a5d88bd398515223c48c010f1cc
 SHA512 
a420c10e6190034f584d9710506a874c1ea011a61aff25e8525a2576664bde51799e602884cbaa92ecd27e1450cbe2fce48b040631061723cc3e810d854e8c40

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild
similarity index 100%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.7.4.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-01-07 Thread Denis Reva
commit: c3c28ff07137e515a5057f65e9bae72e3c754ce6
Author: Denis Reva  gmail  com>
AuthorDate: Sun Jan  7 11:05:29 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Jan  7 11:05:37 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3c28ff0

sys-fs/dwarfs: Fix https://github.com/mhx/dwarfs/issues/184

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest |   1 -
 ...arfs-0.7.2-r1.ebuild => dwarfs-0.7.4-r1.ebuild} |  20 ++--
 sys-fs/dwarfs/dwarfs-0.7.4.ebuild  | 121 -
 3 files changed, 7 insertions(+), 135 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 7219d4f076..1bf8f607a2 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 
85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb
 SHA512 
5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6
 DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 
904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090
 SHA512 
b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19

diff --git a/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
similarity index 82%
rename from sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
index 983d49b3c8..9328090c37 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
@@ -49,7 +49,6 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 BDEPEND="
-   dev-util/patchelf
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
@@ -80,6 +79,7 @@ src_prepare(){
 
 src_configure(){
append-cxxflags "-I/usr/include"
+   append-ldflags $(no-as-needed)
 
mycmakeargs=(
-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
@@ -95,22 +95,16 @@ src_configure(){
use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
cmake_src_configure
 }
-src_compile(){
-   cmake_src_compile
-   # Remove insecure RPATH from bundled lib
-   patchelf --remove-rpath libdwarfs.so || die
-   patchelf --remove-rpath libdwarfs_tool.so || die
-   patchelf --remove-rpath libmetadata_thrift.so || die
-   patchelf --remove-rpath libdwarfs_compression.so || die
-   patchelf --remove-rpath libthrift_light.so || die
-   patchelf --remove-rpath libdwarfs_main.so || die
-   # TODO: make it proper
-}
+
 src_install(){
# Perform install
cmake_src_install
dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so 
libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die 
"Install failed"
-   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev 
libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so 
libdwarfsextract_main.so || die "Install failed"
+   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev 
libmkdwarfs_main.so libdwarfsbench_main.so || die "Install failed"
+   dolib.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install 
failed"
+   # See https://github.com/mhx/dwarfs/issues/184
+   dolib.so 
folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so || 
die "Install failed"
+   dolib.so 
folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so.0.58.0-dev
 || die "Install failed"
 }
 
 pkg_postinst(){

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
deleted file mode 100644
index 983d49b3c8..00
--- a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="python +jemalloc test man"
-S="${WORKDIR}/dwarfs-${PV}"
-
-PATCHES=()
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   app-arch/libarchive
-   app-arch/lz4
-   app-arch/snappy
-   app-arch/xz-utils
-   app-arch/zstd
-   dev-cpp/gflags
-   dev-cpp/glog[gflags]
-   dev-cpp/parallel-hashmap:=
-   dev-libs/boost[context,python?]
-   dev-libs/double-conversion
-   dev-libs/libevent

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2024-01-02 Thread Denis Reva
commit: c8800882066b974e94ad272703459fe81be31e1f
Author: Denis Reva  gmail  com>
AuthorDate: Tue Jan  2 16:02:22 2024 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Jan  2 16:02:22 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8800882

sys-fs/dwarfs: version bump

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   1 +
 sys-fs/dwarfs/dwarfs-0.7.4.ebuild | 121 ++
 2 files changed, 122 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 7b9306fda0..7219d4f076 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 
85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb
 SHA512 
5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6
+DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 
904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090
 SHA512 
b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
new file mode 100644
index 00..983d49b3c8
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${PV}"
+
+PATCHES=()
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-libs/boost[context,python?]
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/utfcpp
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   dev-libs/fsst
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+   !dev-cpp/fbthrift
+   !dev-cpp/fizz
+   !dev-cpp/folly
+   !dev-cpp/wangle
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-util/patchelf
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   man? ( app-text/ronn-ng )
+   test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+#These files supposed to have no symlink
+QA_SONAME=(
+"/usr/sbin/dwarfs"
+"/usr/bin/dwarfsbench"
+"/usr/bin/dwarfsck"
+"/usr/bin/dwarfsextract"
+"/usr/bin/mkdwarfs"
+)
+src_prepare(){
+   rm -r zstd xxHash parallel-hashmap || die
+   cmake_src_prepare
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+}
+
+src_configure(){
+   append-cxxflags "-I/usr/include"
+
+   mycmakeargs=(
+   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+   -DWITH_PYTHON=$(usex python ON OFF)
+   -DWITH_TESTS=$(usex test ON OFF)
+   -DWITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=ON
+   -DPREFER_SYSTEM_XXHASH=ON
+   -DPREFER_SYSTEM_GTEST=ON
+   -DPREFER_SYSTEM_LIBFMT=ON
+   -DWITH_LEGACY_FUSE=OFF
+   )
+   use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+   cmake_src_configure
+}
+src_compile(){
+   cmake_src_compile
+   # Remove insecure RPATH from bundled lib
+   patchelf --remove-rpath libdwarfs.so || die
+   patchelf --remove-rpath libdwarfs_tool.so || die
+   patchelf --remove-rpath libmetadata_thrift.so || die
+   patchelf --remove-rpath libdwarfs_compression.so || die
+   patchelf --remove-rpath libthrift_light.so || die
+   patchelf --remove-rpath libdwarfs_main.so || die
+   # TODO: make it proper
+}
+src_install(){
+   # Perform install
+   cmake_src_install
+   dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so 
libdwar

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-08-16 Thread Denis Reva
commit: 78fe745fe3ab6c066cf33e79205dde1a71e2384b
Author: Denis Reva  gmail  com>
AuthorDate: Wed Aug 16 13:08:06 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Aug 16 13:08:06 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78fe745f

sys-fs/dwarfs: fixed issues with soname libs

Closes: https://bugs.gentoo.org/910719
Closes: https://bugs.gentoo.org/900014
Signed-off-by: Denis Reva  gmail.com>

 ...{dwarfs-0.7.2.ebuild => dwarfs-0.7.2-r1.ebuild} | 30 --
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.2.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
similarity index 74%
rename from sys-fs/dwarfs/dwarfs-0.7.2.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
index 8809b087c1..983d49b3c8 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
@@ -9,7 +9,7 @@ inherit check-reqs cmake flag-o-matic python-single-r1
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${PN}-${PV}.tar.xz;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -64,7 +64,14 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
-
+#These files supposed to have no symlink
+QA_SONAME=(
+"/usr/sbin/dwarfs"
+"/usr/bin/dwarfsbench"
+"/usr/bin/dwarfsck"
+"/usr/bin/dwarfsextract"
+"/usr/bin/mkdwarfs"
+)
 src_prepare(){
rm -r zstd xxHash parallel-hashmap || die
cmake_src_prepare
@@ -88,15 +95,22 @@ src_configure(){
use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
cmake_src_configure
 }
-
-src_install(){
-   cmake_src_install
+src_compile(){
+   cmake_src_compile
# Remove insecure RPATH from bundled lib
patchelf --remove-rpath libdwarfs.so || die
patchelf --remove-rpath libdwarfs_tool.so || die
-
-   dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so 
libthrift_light.so libmetadata_thrift.so
-   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
+   patchelf --remove-rpath libmetadata_thrift.so || die
+   patchelf --remove-rpath libdwarfs_compression.so || die
+   patchelf --remove-rpath libthrift_light.so || die
+   patchelf --remove-rpath libdwarfs_main.so || die
+   # TODO: make it proper
+}
+src_install(){
+   # Perform install
+   cmake_src_install
+   dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so 
libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die 
"Install failed"
+   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev 
libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so 
libdwarfsextract_main.so || die "Install failed"
 }
 
 pkg_postinst(){



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-08-16 Thread Denis Reva
commit: 09040651ffc98aedd1db9e0404afbfced2f15277
Author: Denis Reva  gmail  com>
AuthorDate: Wed Aug 16 12:18:43 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Aug 16 12:18:43 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09040651

sys-fs/dwarfs-bin: treeclean

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest|  1 -
 sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild | 47 ---
 2 files changed, 48 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 14704c80a2..345039922e 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
 DIST dwarfs-bin-0.7.2.tar.xz 6451592 BLAKE2B 
4682da52228cb53edeb10f60b38a9a023796b4857568db09cc114f5814ad4fa094b4a4e279c8634cf17ee788d459f4886f7f3a9ff187e9570cc81a4b1332d63a
 SHA512 
7d78ec2468d60e1c37155e790843f3ad26243402f18b32237ce2eccbc5718207f6a4c75bd618a78cd421b4bf6789de5c95a9563171a79d68410173f08f8582bc

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild
deleted file mode 100644
index b09176c7f0..00
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   sys-fs/fuse:3
-   !sys-fs/dwarfs
-"
-DEPEND="
-   ${RDEPEND}
-"
-S="${WORKDIR}/dwarfs-${PV}-Linux/"
-QA_PREBUILT="
-   sbin/dwarfs
-   bin/*
-"
-src_prepare() {
-   default
-   einfo "Removing legacy fuse2-related stuff..."
-   rm sbin/dwarfs2 sbin/mount.dwarfs2 || die
-   einfo "Done. Correcting man paths..."
-   mkdir -p usr/ || die
-   mv share/ usr/ || die
-   einfo "Done."
-}
-
-src_install(){
-   mv "${S}"/* "${D}"/ || die
-}
-
-pkg_postinst(){
-   elog "You may find more information in the"
-   elog "${HOMEPAGE}"
-   elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-   elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-07-25 Thread Denis Reva
commit: c87f433ae710b5671bf482aadace36de8fca6b4b
Author: Denis Reva  gmail  com>
AuthorDate: Tue Jul 25 17:04:21 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Jul 25 17:05:49 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c87f433a

sys-fs/dwarfs-bin: Updated to 0.7.2

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest| 2 +-
 .../{dwarfs-bin-0.7.0_rc6.ebuild => dwarfs-bin-0.7.2.ebuild}  | 8 +++-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index e89f7efc8..14704c80a 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1,2 @@
 DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
-DIST dwarfs-bin-0.7.0-RC6.tar.xz 21355136 BLAKE2B 
0ec8cde3ed33978cf9f8e2e95702d68ec5fee6bdfacc55e0d8a288420907a06c8a35312610260d4fe03d2c676b620867710023a7843a1ae644b455beb8c77413
 SHA512 
5ec7c959004828d10aedbb32b0ef2084d06ff0fc7f3e3dbb42731b40eb91b173a41cc5f19135424cb676cd13628e4243e34b6cb011fc287ec0c3f08855294639
+DIST dwarfs-bin-0.7.2.tar.xz 6451592 BLAKE2B 
4682da52228cb53edeb10f60b38a9a023796b4857568db09cc114f5814ad4fa094b4a4e279c8634cf17ee788d459f4886f7f3a9ff187e9570cc81a4b1332d63a
 SHA512 
7d78ec2468d60e1c37155e790843f3ad26243402f18b32237ce2eccbc5718207f6a4c75bd618a78cd421b4bf6789de5c95a9563171a79d68410173f08f8582bc

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
similarity index 77%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
index 8c7dd3927..e503792e9 100644
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.2.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-MY_PV="${PV/_rc/-RC}"
-
 DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux-x86_64.tar.xz
 -> dwarfs-bin-${MY_PV}.tar.xz"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}-Linux-x86_64.tar.xz
 -> dwarfs-bin-${PV}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -21,7 +19,7 @@ RDEPEND="
 DEPEND="
${RDEPEND}
 "
-S="${WORKDIR}/dwarfs-${MY_PV}-Linux-x86_64/"
+S="${WORKDIR}/dwarfs-${PV}-Linux-x86_64/"
 QA_PREBUILT="
sbin/dwarfs
bin/*



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/files/, sys-fs/dwarfs/

2023-07-25 Thread Denis Reva
commit: 45ecf314d8e972070f91dd81092d1637a1bcd141
Author: Denis Reva  gmail  com>
AuthorDate: Tue Jul 25 14:07:02 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Jul 25 14:07:02 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45ecf314

sys-fs/dwarfs: Treeclean

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest |   1 -
 sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild   | 111 -
 .../files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch  |  13 ---
 .../dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch  |  14 ---
 4 files changed, 139 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 5fbad5759..224bd094a 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B 
fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e
 SHA512 
1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
 DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B 
c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf
 SHA512 
52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
deleted file mode 100644
index 74ed8fd15..0
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit check-reqs cmake flag-o-matic python-single-r1
-
-MY_PV="${PV/_rc/-RC}"
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="python +jemalloc test man"
-S="${WORKDIR}/dwarfs-${MY_PV}"
-
-PATCHES=(
-   "${FILESDIR}/dwarfs-0.7.0_rc4-stdexcept.patch"
-   "${FILESDIR}/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch"
-)
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   app-arch/libarchive
-   app-arch/lz4
-   app-arch/snappy
-   app-arch/xz-utils
-   app-arch/zstd
-   dev-cpp/gflags
-   dev-cpp/glog[gflags]
-   dev-cpp/parallel-hashmap:=
-   dev-libs/boost[context,python?]
-   dev-libs/double-conversion
-   dev-libs/libevent
-   dev-libs/libfmt
-   dev-libs/xxhash
-   sys-fs/fuse:3
-   dev-libs/fsst
-   sys-libs/binutils-libs
-   sys-libs/libunwind
-   sys-libs/zlib
-   !dev-cpp/fbthrift
-   !dev-cpp/fizz
-   !dev-cpp/folly
-   !dev-cpp/wangle
-   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-   dev-util/patchelf
-   sys-devel/bison
-   sys-devel/flex
-   virtual/pkgconfig
-   man? ( app-text/ronn-ng )
-   test? ( dev-cpp/gtest )
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-   rm -r zstd xxHash parallel-hashmap || die
-   cmake_src_prepare
-   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
-}
-
-src_configure(){
-   append-cxxflags "-I/usr/include"
-
-   mycmakeargs=(
-   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-   -DWITH_PYTHON=$(usex python ON OFF)
-   -DWITH_TESTS=$(usex test ON OFF)
-   -DWITH_MAN_PAGES=$(usex man ON OFF)
-   -DPREFER_SYSTEM_ZSTD=ON
-   -DPREFER_SYSTEM_XXHASH=ON
-   -DPREFER_SYSTEM_GTEST=ON
-   -DPREFER_SYSTEM_LIBFMT=ON
-   -DWITH_LEGACY_FUSE=OFF
-   )
-   use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
-   cmake_src_configure
-}
-
-src_install(){
-   cmake_src_install
-   # Remove insecure RPATH from bundled lib
-   patchelf --remove-rpath libdwarfs.so || die
-   patchelf --remove-rpath libdwarfs_tool.so || die
-
-   dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so 
libthrift_light.so libmetadata_thrift.so
-   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
-}
-
-pkg_postinst(){
-   elog "You may find more information in the"
-   elog "${HOMEPAGE}"
-

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-07-25 Thread Denis Reva
commit: c19c92e32bd088541fa96372976a48ea918c0a57
Author: Denis Reva  gmail  com>
AuthorDate: Tue Jul 25 14:15:54 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Jul 25 14:15:54 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c19c92e3

sys-fs/dwarfs: updated to latest 0.7.2

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest | 2 +-
 sys-fs/dwarfs/{dwarfs-0.7.0.ebuild => dwarfs-0.7.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 224bd094a..7b9306fda 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1 @@
-DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B 
c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf
 SHA512 
52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27
+DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 
85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb
 SHA512 
5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.2.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.0.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-07-12 Thread Denis Reva
commit: 33b9b41037c66bb8e582c3fb9afeb30e4700ea7f
Author: Denis Reva  gmail  com>
AuthorDate: Wed Jul 12 16:44:07 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Jul 12 16:46:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33b9b410

sys-fs/dwarfs: add 0.7.0, drop 0.7.0_rc6

Closes: https://bugs.gentoo.org/910244
Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest |  2 +-
 sys-fs/dwarfs/{dwarfs-0.7.0_rc6.ebuild => dwarfs-0.7.0.ebuild} | 10 --
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 44c0334de..5fbad5759 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,2 @@
 DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B 
fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e
 SHA512 
1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
-DIST dwarfs-0.7.0-RC6.tar.xz 22486596 BLAKE2B 
28aaae2cf732d61c7be39faf93496ed7ca38d9e6a30ab47e0a9a5f51c5bd805cd747a51a406d5e92b3bc13f2858de4cadf05e6801dcbe9e9df51d2f148b5
 SHA512 
845ea037b0e8ed1bd6c448aa12deb101553557938110e56ed94b70e7f575b100a638695f716c23e613663ce2cd3719de2b0427fbff39e60c88f70ae05d590d31
+DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B 
c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf
 SHA512 
52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0.ebuild
similarity index 93%
rename from sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.0.ebuild
index 0f543ada6..8809b087c 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0.ebuild
@@ -7,20 +7,17 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 inherit check-reqs cmake flag-o-matic python-single-r1
 
-MY_PV="${PV/_rc/-RC}"
-
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${PN}-${PV}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="python +jemalloc test man"
-S="${WORKDIR}/dwarfs-${MY_PV}"
+S="${WORKDIR}/dwarfs-${PV}"
 
-PATCHES=(
-)
+PATCHES=()
 
 RDEPEND="
${PYTHON_DEPS}
@@ -36,6 +33,7 @@ RDEPEND="
dev-libs/double-conversion
dev-libs/libevent
dev-libs/libfmt
+   dev-libs/utfcpp
dev-libs/xxhash
sys-fs/fuse:3
dev-libs/fsst



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-07-09 Thread Denis Reva
commit: 06d374a81d08be9d0e813cff63f90a01f52acafa
Author: Denis Reva  gmail  com>
AuthorDate: Mon Jul 10 05:39:06 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Jul 10 05:39:06 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06d374a8

sys-fs/dwarfs: Updated to latest rc version

Improved performance

Minor bugfixes

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest|   1 +
 sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild | 109 ++
 2 files changed, 110 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index f6a1d88fe..44c0334de 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B 
fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e
 SHA512 
1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
+DIST dwarfs-0.7.0-RC6.tar.xz 22486596 BLAKE2B 
28aaae2cf732d61c7be39faf93496ed7ca38d9e6a30ab47e0a9a5f51c5bd805cd747a51a406d5e92b3bc13f2858de4cadf05e6801dcbe9e9df51d2f148b5
 SHA512 
845ea037b0e8ed1bd6c448aa12deb101553557938110e56ed94b70e7f575b100a638695f716c23e613663ce2cd3719de2b0427fbff39e60c88f70ae05d590d31

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
new file mode 100644
index 0..0f543ada6
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+MY_PV="${PV/_rc/-RC}"
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${MY_PV}"
+
+PATCHES=(
+)
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-libs/boost[context,python?]
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   dev-libs/fsst
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+   !dev-cpp/fbthrift
+   !dev-cpp/fizz
+   !dev-cpp/folly
+   !dev-cpp/wangle
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   dev-util/patchelf
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   man? ( app-text/ronn-ng )
+   test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+   rm -r zstd xxHash parallel-hashmap || die
+   cmake_src_prepare
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+}
+
+src_configure(){
+   append-cxxflags "-I/usr/include"
+
+   mycmakeargs=(
+   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+   -DWITH_PYTHON=$(usex python ON OFF)
+   -DWITH_TESTS=$(usex test ON OFF)
+   -DWITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=ON
+   -DPREFER_SYSTEM_XXHASH=ON
+   -DPREFER_SYSTEM_GTEST=ON
+   -DPREFER_SYSTEM_LIBFMT=ON
+   -DWITH_LEGACY_FUSE=OFF
+   )
+   use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+   cmake_src_configure
+}
+
+src_install(){
+   cmake_src_install
+   # Remove insecure RPATH from bundled lib
+   patchelf --remove-rpath libdwarfs.so || die
+   patchelf --remove-rpath libdwarfs_tool.so || die
+
+   dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so 
libthrift_light.so libmetadata_thrift.so
+   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
+}
+
+pkg_postinst(){
+   elog "You may find more information in the"
+   elog "${HOMEPAGE}"
+   elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+   elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-07-09 Thread Denis Reva
commit: cadf17252c028d530bd603df263b495be6bd7181
Author: Denis Reva  gmail  com>
AuthorDate: Mon Jul 10 05:28:02 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Jul 10 05:28:02 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cadf1725

sys-fs/dwarfs-bin: Updated to latest version

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest| 2 +-
 .../{dwarfs-bin-0.7.0_rc4.ebuild => dwarfs-bin-0.7.0_rc6.ebuild}  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 939a199a5..e89f7efc8 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1,2 @@
 DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
-DIST dwarfs-bin-0.7.0-RC4-Linux.tar.xz 6346140 BLAKE2B 
fbd88d4badb9f95418e54480b2b544503cb2935d9330b550a4e2b638c93726de0ee45d28831a0e61791b4f62cde436f102119619958f3a01c25ca4cb8e22ccc8
 SHA512 
6b3a1d1daf4c6ca2925767e64f27a1ab9cc826274d4881ec298cbfac3a717e7f0fb6458a1c71eee62e5f1339b705f89f75b73bad1408544057c09a0cb4faf00b
+DIST dwarfs-bin-0.7.0-RC6.tar.xz 21355136 BLAKE2B 
0ec8cde3ed33978cf9f8e2e95702d68ec5fee6bdfacc55e0d8a288420907a06c8a35312610260d4fe03d2c676b620867710023a7843a1ae644b455beb8c77413
 SHA512 
5ec7c959004828d10aedbb32b0ef2084d06ff0fc7f3e3dbb42731b40eb91b173a41cc5f19135424cb676cd13628e4243e34b6cb011fc287ec0c3f08855294639

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild
similarity index 89%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild
index 4cd8d56d5..8c7dd3927 100644
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc6.ebuild
@@ -7,7 +7,7 @@ MY_PV="${PV/_rc/-RC}"
 
 DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux.tar.xz
 -> dwarfs-bin-${MY_PV}-Linux.tar.xz"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux-x86_64.tar.xz
 -> dwarfs-bin-${MY_PV}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -21,7 +21,7 @@ RDEPEND="
 DEPEND="
${RDEPEND}
 "
-S="${WORKDIR}/dwarfs-${MY_PV}-Linux/"
+S="${WORKDIR}/dwarfs-${MY_PV}-Linux-x86_64/"
 QA_PREBUILT="
sbin/dwarfs
bin/*



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-05-16 Thread Denis Reva
commit: 0e488f5d8defd1a28333778ef7524c3abd950390
Author: Denis Reva  gmail  com>
AuthorDate: Tue May 16 10:04:40 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue May 16 10:04:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e488f5d

sys-fs/dwarfs: forget to update revision

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/{dwarfs-0.7.0_rc4.ebuild => dwarfs-0.7.0_rc4-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/files/

2023-05-16 Thread Denis Reva
commit: 143201b505352e6589fd71bab10b9995361a6b23
Author: Denis Reva  gmail  com>
AuthorDate: Tue May 16 09:33:03 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue May 16 09:33:03 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=143201b5

sys-fs/dwarfs: removed unused patch

Signed-off-by: Denis Reva  gmail.com>

 .../dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch   | 161 -
 1 file changed, 161 deletions(-)

diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch 
b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch
deleted file mode 100644
index 101af0dc6..0
--- a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch
+++ /dev/null
@@ -1,161 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -151,8 +151,6 @@
- ON
- CACHE BOOL "only build thrift compiler")
- 
--add_subdirectory(folly EXCLUDE_FROM_ALL)
--add_subdirectory(fbthrift EXCLUDE_FROM_ALL)
- if(NOT (ZSTD_FOUND AND PREFER_SYSTEM_ZSTD))
-   add_subdirectory(zstd/build/cmake EXCLUDE_FROM_ALL)
- endif()
-@@ -383,23 +381,6 @@
- 
- list(
-   APPEND
--  FROZEN_THRIFT_SRC
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_data.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_data.cpp
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.tcc
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types.cpp
--  
${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_types_custom_protocol.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_constants.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_constants.cpp
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_metadata.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_metadata.cpp
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_visitation.h
--  
${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_for_each_field.h
--  ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/gen-cpp2/frozen_visit_union.h)
--
--list(
--  APPEND
-   METADATA_THRIFT_SRC
-   ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_constants.cpp
-   ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_constants.h
-@@ -418,35 +399,20 @@
-   ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs/gen-cpp2/metadata_visitation.h)
- 
- add_custom_command(
--  OUTPUT ${FROZEN_THRIFT_SRC}
--  COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift
--  COMMAND
--cp ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/thrift/frozen.thrift
--${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift/
--  COMMAND cd ${CMAKE_CURRENT_BINARY_DIR}/thrift/lib/thrift &&
--  ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1 --gen mstch_cpp2 
frozen.thrift
--  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/thrift/frozen.thrift)
--
--add_custom_command(
-   OUTPUT ${METADATA_THRIFT_SRC}
-   COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs
-   COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift
-   thrift/dwarfs/metadata.thrift
-   COMMAND
- cd ${CMAKE_CURRENT_BINARY_DIR}/thrift/dwarfs &&
--${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1 --gen mstch_cpp2:frozen2
-+thrift1 --gen mstch_cpp2:frozen2
- metadata.thrift
--  DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/bin/thrift1
--  ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift)
-+  DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/thrift/metadata.thrift)
- 
- list(
-   APPEND
-   INCLUDE_DIRS
--  ${CMAKE_CURRENT_BINARY_DIR}/folly
-   ${CMAKE_CURRENT_BINARY_DIR}/thrift
--  ${CMAKE_CURRENT_SOURCE_DIR}/folly
--  ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift
-   ${CMAKE_CURRENT_BINARY_DIR})
- 
- if(NOT (ZSTD_FOUND AND PREFER_SYSTEM_ZSTD))
-@@ -472,43 +438,24 @@
- endif()
- 
- add_library(
--  thrift_light
--  ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/FieldRef.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/CompactProtocol.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/BinaryProtocol.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/DebugProtocol.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/JSONProtocolCommon.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/protocol/JSONProtocol.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp/protocol/TProtocolException.cpp
--  ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp/util/VarintUtils.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/gen/module_types_cpp.cpp
--  ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/Frozen.cpp
--  ${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/FrozenUtil.cpp
--  
${CMAKE_CURRENT_SOURCE_DIR}/fbthrift/thrift/lib/cpp2/frozen/schema/MemorySchema.cpp
--  ${C

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/files/, sys-fs/dwarfs/

2023-05-16 Thread Denis Reva
commit: 9aaa47b79edc3a540b108fef69289c83f008983a
Author: Denis Reva  gmail  com>
AuthorDate: Tue May 16 10:03:14 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue May 16 10:03:14 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9aaa47b7

sys-fs/dwarfs: fixed bug that appears with modern compilers

clang-16 or gcc-13

Closes: https://bugs.gentoo.org/906181
Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild  |  5 +
 .../dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch   | 13 +
 sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch   | 14 ++
 3 files changed, 32 insertions(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index 3eed1ced5..74ed8fd15 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -19,6 +19,11 @@ KEYWORDS="~amd64"
 IUSE="python +jemalloc test man"
 S="${WORKDIR}/dwarfs-${MY_PV}"
 
+PATCHES=(
+   "${FILESDIR}/dwarfs-0.7.0_rc4-stdexcept.patch"
+   "${FILESDIR}/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch"
+)
+
 RDEPEND="
${PYTHON_DEPS}
app-arch/libarchive

diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch 
b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
new file mode 100644
index 0..c52f795ee
--- /dev/null
+++ b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
@@ -0,0 +1,13 @@
+diff --git a/fbthrift/thrift/compiler/generate/json.cc 
b/fbthrift/thrift/compiler/generate/json.cc
+index c4d87a3..015e81f 100644
+--- a/fbthrift/thrift/compiler/generate/json.cc
 b/fbthrift/thrift/compiler/generate/json.cc
+@@ -18,7 +18,7 @@
+ 
+ #include 
+ #include 
+-
++#include 
+ namespace apache {
+ namespace thrift {
+ namespace compiler {

diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch 
b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
new file mode 100644
index 0..a2a671e17
--- /dev/null
+++ b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
@@ -0,0 +1,14 @@
+diff --git a/folly/folly/system/AtFork.cpp b/folly/folly/system/AtFork.cpp
+index e888e52..8c9eee5 100644
+--- a/folly/folly/system/AtFork.cpp
 b/folly/folly/system/AtFork.cpp
+@@ -20,7 +20,8 @@
+ #include 
+ #include 
+ #include 
+-
++#include 
++#include 
+ namespace folly {
+ 
+ void AtForkList::prepare() noexcept {



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-05-07 Thread Denis Reva
commit: 9afabf0d8fba4a740603bc9a9386a86dd0a8361a
Author: Denis Reva  gmail  com>
AuthorDate: Sun May  7 13:24:34 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun May  7 13:24:34 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9afabf0d

sys-fs/dwarfs: added missing dependency

fix https://github.com/mhx/dwarfs/discussions/140

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index a65f4f64d..3eed1ced5 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
dev-libs/libfmt
dev-libs/xxhash
sys-fs/fuse:3
+   dev-libs/fsst
sys-libs/binutils-libs
sys-libs/libunwind
sys-libs/zlib



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/nvidia-vaapi-driver/

2023-03-21 Thread Denis Reva
commit: 4850862298673a8d72c26a048f022ac1403cf5ac
Author: Denis Reva  gmail  com>
AuthorDate: Wed Mar 22 04:34:16 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Mar 22 04:42:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48508622

media-libs/nvidia-vaapi-driver: updated to latest 0.0.9

Signed-off-by: Denis Reva  gmail.com>

 media-libs/nvidia-vaapi-driver/Manifest|  1 +
 .../nvidia-vaapi-driver-0.0.9.ebuild   | 33 ++
 2 files changed, 34 insertions(+)

diff --git a/media-libs/nvidia-vaapi-driver/Manifest 
b/media-libs/nvidia-vaapi-driver/Manifest
index 0d29a76d1..26b5f39da 100644
--- a/media-libs/nvidia-vaapi-driver/Manifest
+++ b/media-libs/nvidia-vaapi-driver/Manifest
@@ -1 +1,2 @@
 DIST nvidia-vaapi-driver-0.0.8.tar.gz 178932 BLAKE2B 
16b438c7b494e90f7ec3af958dfbc20d11bccee0f0ac52dde23d1ee348e947be4503ebafb284227b25eb6e42deafca606b7f80094b0392081d30e17edf5d43ce
 SHA512 
a1e38d50112a4f5db2785f6d229c45d591fd42aee3748b59ab23b47250c094258f304f26143c074a79928e0e9f5c7bc8d4d0944f72bd511206131f619377d7ae
+DIST nvidia-vaapi-driver-0.0.9.tar.gz 182169 BLAKE2B 
8bdc55d22bcb2903bf8bfcccffc10b4183d0694378ff094e123247cb4a97da6bd182dccee8439f0e5c0f14ba96f0d9182822ef5171006358800d1a6a60822a4b
 SHA512 
408e0421b0a4d960b701e45cc2fb73fa6e6458140d01b1f84db01bbfed6a2721cb14af0807ebf098cec5e80a0f778762d81dedb0e7fab42b7348cf13ce1d472e

diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.9.ebuild 
b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.9.ebuild
new file mode 100644
index 0..d9a47a96f
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="A VA-API implemention using NVIDIA's NVDEC, specifically designed 
to be used by Firefox"
+HOMEPAGE="https://github.com/elFarto/nvidia-vaapi-driver;
+SRC_URI="https://github.com/elFarto/nvidia-vaapi-driver/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-drivers/nvidia-drivers
+   media-libs/nv-codec-headers
+   media-libs/libva"
+RDEPEND="x11-drivers/nvidia-drivers
+   media-libs/gst-plugins-bad[egl]
+   media-libs/libva"
+BDEPEND="dev-util/meson"
+
+PATCHES=( "${FILESDIR}/${PN}-0.0.8-install-path.patch" )
+
+
+pkg_postinst() {
+   ewarn "This library requires special configuration! See "
+   ewarn "${HOMEPAGE}"
+   ewarn "The direct backend is currently required on NVIDIA driver series 
525 due to a regression"
+   ewarn "See ${HOMEPAGE}/issues/126"
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-03-21 Thread Denis Reva
commit: aa7528ef8db102c525f1aa4a69366b50545310b8
Author: Denis Reva  gmail  com>
AuthorDate: Wed Mar 22 04:42:49 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Mar 22 04:42:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa7528ef

media-libs/amdvlk: added WIP version: it isn't working

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/Manifest   |   6 ++
 media-libs/amdvlk/amdvlk-2023.1.3.ebuild | 151 +++
 2 files changed, 157 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index e2ebc95c1..4d1ac16e9 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,13 +1,19 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 
BLAKE2B 
d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3
 SHA512 
06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
+DIST amdvlk-LLVM-dialects-17aafecff46b68206a0ed82d58f5e2fc358367a1.tar.gz 
1 BLAKE2B 
a94eb01ae3a2a868a1613e17573c5326252fa163d8e336b8c3292d0e3e349e3df98b124d300bbe42870bc2d60d18afe2c566e4484b45beb84a7087c0d58291e4
 SHA512 
4a6b2484f0fbb63f2cf987184a12f8a4a344ebfbfe5c1f37423fbda88c171f2eee0f7af4d0b066a9a87c3b22e0c92b7f7f1f5536b4c5d59fb2ca10b963cb8e62
 DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 
33556 BLAKE2B 
c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40
 SHA512 
77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
 DIST amdvlk-LLVM-dialects-f282131c7c331688c31f7c3aabe9b6d3ff09fbc4.tar.gz 
33544 BLAKE2B 
c3c4adcd0413be6a4240820f7efdf3f5e03faf188cb48fd3845b2b84ed9d55d7f334ea91d5b3439b0653cfd0e5e70145092d59b8de9640408b05907f3769396c
 SHA512 
c1d6a2d2528b273645a6a005f8b8c14209104bec9102a5dd344d0f005e6eff6d5478b8ce674f7c6241ecc11aff15a229caf502a10e017cdcadb41b14b28ebead
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 
BLAKE2B 
b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb
 SHA512 
8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST amdvlk-gpurt-172e852f90365bac5869f83eb9c929d9daae51f0.tar.gz 308347 
BLAKE2B 
b2839366fd35a452bf29502837c9aeeb1badf181dbe5fb57e042d073db73c4069b5c7c6f3cc7938f9fb45f851e94a30f31c0698d2a523a28bb077ca15d6e
 SHA512 
fae3cdc0c070ddd1d0d7b02ed13b527ec3fe8f766063f8e3fc1cd24729843139d5b5e1d68aec7596ce80128498f14c1e47c775928aa9a341df6429c6a2f24a4e
+DIST amdvlk-gpurt-714a028e920c502520011fc4f4556f58ec897424.tar.gz 308297 
BLAKE2B 
aeb699332b76cd6d0ac0dcc47a410e8a6ad0b6b073ca2521b3e6c06b4307ee74b79ae9f7767f43e863b8070f664ffd9ffcbacab5f0b12576069e5469b8f5251e
 SHA512 
8044de6555dd2c73ff75d059bda1bba3ef6960c46bb6a92b4ff77e3ced3a8100380ec3d27e5e8ad49fae2fe6994d548494535aa5023412033a2ed9b9236b52bc
 DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 
BLAKE2B 
51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c
 SHA512 
998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
+DIST amdvlk-llpc-1ecd9997579b962be571162931c9e38bd86bafad.tar.gz 2618677 
BLAKE2B 
5849ce333bc52ea1bba47f253834c10974fdc2089ba41fa41a89d9a9fe0249f6e4286985e092c552b2e9aff3704dde01ac09fad82d43556b67786156092e
 SHA512 
11f69a6f31a282acc410d1ddd6a8996842e1076cdd49db8f08378ab1401acac1d4eba48788b7f78fb5d5297dda52fd1ceaeec6e68986168c0a92b49222bda3b5
 DIST amdvlk-llpc-522365aa657f9cf65c4634261b800a04e214fd38.tar.gz 2595121 
BLAKE2B 
a82bfd688abb18857d0c8db28c946eee5be97e3f5740d0ecbbcb01cd978d4bec3eb221ece192bbb49feec27d76b2e682717a48fb56153e6098742362d8c75d61
 SHA512 
2d2f8245776b37eba2ef271dc22707b0d81422cc6a1ed1983eea51a22f89ca28a147b8b0f4b6126b92193c0b33cf81d08ea7d6121f20f5270296381ea0e82820
 DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 
BLAKE2B 
38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386
 SHA512 
831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
 DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 
167651090 BLAKE2B 
5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f
 SHA512 
13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
+DI

[gentoo-commits] repo/proj/guru:dev commit in: media-libs/nvidia-vaapi-driver/, media-libs/nvidia-vaapi-driver/files/

2023-03-08 Thread Denis Reva
commit: 86deaed7cb58cbd61c1aea5c0b04e5729905c8b2
Author: Denis Reva  gmail  com>
AuthorDate: Thu Mar  9 07:10:27 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Thu Mar  9 07:10:34 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=86deaed7

media-libs/nvidia-vaapi-driver: changed installation directory to proper ones

used patch from tatsh-overlay

https://github.com/Tatsh/tatsh-overlay/tree/master/media-plugins/nvidia-vaapi-driver
Signed-off-by: Denis Reva  gmail.com>

 .../nvidia-vaapi-driver-0.0.8-install-path.patch   | 25 ++
 ebuild => nvidia-vaapi-driver-0.0.8-r1.ebuild} |  3 +++
 2 files changed, 28 insertions(+)

diff --git 
a/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.8-install-path.patch
 
b/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.8-install-path.patch
new file mode 100644
index 0..ee6aabad8
--- /dev/null
+++ 
b/media-libs/nvidia-vaapi-driver/files/nvidia-vaapi-driver-0.0.8-install-path.patch
@@ -0,0 +1,25 @@
+From e0831828a438003f8a86b5d2b4026c1cb8f48efe Mon Sep 17 00:00:00 2001
+From: Andrew Udvare 
+Date: Tue, 25 Jan 2022 23:19:21 -0500
+Subject: [PATCH] Set correct install path
+
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 9d9fc84..e31c36b 100644
+--- a/meson.build
 b/meson.build
+@@ -47,7 +47,7 @@ shared_library(
+ dl_dep,
+ ],
+ install: true,
+-install_dir: get_option('libdir') / 'dri',
++install_dir: get_option('libdir') / 'va' / 'drivers',
+ gnu_symbol_visibility: 'hidden',
+ )
+ 
+-- 
+2.35.0
+

diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild 
b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8-r1.ebuild
similarity index 93%
rename from media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
rename to media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8-r1.ebuild
index 3b2be0640..d9a47a96f 100644
--- a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
+++ b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8-r1.ebuild
@@ -22,6 +22,9 @@ RDEPEND="x11-drivers/nvidia-drivers
media-libs/libva"
 BDEPEND="dev-util/meson"
 
+PATCHES=( "${FILESDIR}/${PN}-0.0.8-install-path.patch" )
+
+
 pkg_postinst() {
ewarn "This library requires special configuration! See "
ewarn "${HOMEPAGE}"



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/zarchive/

2023-03-05 Thread Denis Reva
commit: c18016e57189dc526a7d6a70f550605c5193e0f4
Author: Denis Reva  gmail  com>
AuthorDate: Sun Mar  5 11:46:44 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Mar  5 13:01:50 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c18016e5

app-arch/zarchive: new package

I don't know is it dev-lib/ or app-arch/ category

I think app-arch/

Signed-off-by: Denis Reva  gmail.com>

 app-arch/zarchive/Manifest  |  1 +
 app-arch/zarchive/metadata.xml  | 24 
 app-arch/zarchive/zarchive-0.1.2.ebuild | 20 
 3 files changed, 45 insertions(+)

diff --git a/app-arch/zarchive/Manifest b/app-arch/zarchive/Manifest
new file mode 100644
index 0..b72a6e91e
--- /dev/null
+++ b/app-arch/zarchive/Manifest
@@ -0,0 +1 @@
+DIST zarchive-0.1.2.tar.gz 19779 BLAKE2B 
1dc985d442b6758638022f5d4e42d225d47632f11c4d2a231589e84eee82ddd2ef8d45073c84ae7c08aab6619b41ff3b1a6961fadc7a2fe755d04b0693646568
 SHA512 
b9666e8e86e5162b4ee641905a288088311d5cd1af510b2fbf22eba722ad2d8ca43a081b14c0106743807eff256bac9a0cacbdeb06e8ccad0e8d5b9ed8fa886e

diff --git a/app-arch/zarchive/metadata.xml b/app-arch/zarchive/metadata.xml
new file mode 100644
index 0..a2a4b7118
--- /dev/null
+++ b/app-arch/zarchive/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+       Denis Reva
+   rarogcmex
+   
+   
+   ZArchive is yet another file archive format. Think of zip, tar, 7z, 
etc. but with the requirement of allowing random-access reads and supporting 
compression.
+
+   - Supports random-access reads within stored files
+   - Uses zstd compression (64KiB blocks)
+   - Scales reasonably well up to multiple terabytes with millions of files
+   - The theoretical size limit per-file is 2^48-1 (256 Terabyte)
+   - The encoding for paths within the archive is Windows-1252 
(case-insensitive)
+   - Contains a SHA256 hash of the whole archive for integrity checks
+   - Endian-independent. The format always uses big-endian internally
+   - Stateless file and directory iterator handles which don't require 
memory allocation
+   
+   
+   Exzap/ZArchive
+   
+

diff --git a/app-arch/zarchive/zarchive-0.1.2.ebuild 
b/app-arch/zarchive/zarchive-0.1.2.ebuild
new file mode 100644
index 0..533dc13a7
--- /dev/null
+++ b/app-arch/zarchive/zarchive-0.1.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Library for creating and reading zstd-compressed file archives 
(.zar)"
+HOMEPAGE="https://github.com/Exzap/ZArchive;
+SRC_URI="https://github.com/Exzap/ZArchive/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="app-arch/zstd"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-util/cmake"
+
+S="${WORKDIR}/ZArchive-${PV}"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/

2023-03-04 Thread Denis Reva
commit: 61118041fa79c6c9d4792a39e769ceda41c763a8
Author: Denis Reva  gmail  com>
AuthorDate: Sat Mar  4 12:44:49 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Mar  4 12:45:05 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61118041

dev-python/gbinder: ensured that python3.11 availiable

Closes: https://bugs.gentoo.org/897448
Signed-off-by: Denis Reva  gmail.com>

 dev-python/gbinder/gbinder-1.1.1-r10.ebuild | 2 +-
 dev-python/gbinder/gbinder-1.1.1.ebuild | 2 +-
 dev-python/gbinder/gbinder-.ebuild  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/gbinder/gbinder-1.1.1-r10.ebuild 
b/dev-python/gbinder/gbinder-1.1.1-r10.ebuild
index aa03fbfe9..257da1c10 100644
--- a/dev-python/gbinder/gbinder-1.1.1-r10.ebuild
+++ b/dev-python/gbinder/gbinder-1.1.1-r10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/dev-python/gbinder/gbinder-1.1.1.ebuild 
b/dev-python/gbinder/gbinder-1.1.1.ebuild
index b93707756..0e97a353e 100644
--- a/dev-python/gbinder/gbinder-1.1.1.ebuild
+++ b/dev-python/gbinder/gbinder-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/dev-python/gbinder/gbinder-.ebuild 
b/dev-python/gbinder/gbinder-.ebuild
index b93707756..0e97a353e 100644
--- a/dev-python/gbinder/gbinder-.ebuild
+++ b/dev-python/gbinder/gbinder-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-03-03 Thread Denis Reva
commit: f86ff8889e34abcaffb6fe26112d61df6ded49a3
Author: Denis Reva  gmail  com>
AuthorDate: Fri Mar  3 13:07:26 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Fri Mar  3 13:07:36 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f86ff888

media-libs/amdvlk: updated to latest

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/Manifest   |   5 ++
 media-libs/amdvlk/amdvlk-2023.1.2.ebuild | 145 +++
 2 files changed, 150 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 6576690d9..e2ebc95c1 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,8 +1,13 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 
BLAKE2B 
d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3
 SHA512 
06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 
33556 BLAKE2B 
c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40
 SHA512 
77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
+DIST amdvlk-LLVM-dialects-f282131c7c331688c31f7c3aabe9b6d3ff09fbc4.tar.gz 
33544 BLAKE2B 
c3c4adcd0413be6a4240820f7efdf3f5e03faf188cb48fd3845b2b84ed9d55d7f334ea91d5b3439b0653cfd0e5e70145092d59b8de9640408b05907f3769396c
 SHA512 
c1d6a2d2528b273645a6a005f8b8c14209104bec9102a5dd344d0f005e6eff6d5478b8ce674f7c6241ecc11aff15a229caf502a10e017cdcadb41b14b28ebead
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 
BLAKE2B 
b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb
 SHA512 
8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
+DIST amdvlk-gpurt-172e852f90365bac5869f83eb9c929d9daae51f0.tar.gz 308347 
BLAKE2B 
b2839366fd35a452bf29502837c9aeeb1badf181dbe5fb57e042d073db73c4069b5c7c6f3cc7938f9fb45f851e94a30f31c0698d2a523a28bb077ca15d6e
 SHA512 
fae3cdc0c070ddd1d0d7b02ed13b527ec3fe8f766063f8e3fc1cd24729843139d5b5e1d68aec7596ce80128498f14c1e47c775928aa9a341df6429c6a2f24a4e
 DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 
BLAKE2B 
51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c
 SHA512 
998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
+DIST amdvlk-llpc-522365aa657f9cf65c4634261b800a04e214fd38.tar.gz 2595121 
BLAKE2B 
a82bfd688abb18857d0c8db28c946eee5be97e3f5740d0ecbbcb01cd978d4bec3eb221ece192bbb49feec27d76b2e682717a48fb56153e6098742362d8c75d61
 SHA512 
2d2f8245776b37eba2ef271dc22707b0d81422cc6a1ed1983eea51a22f89ca28a147b8b0f4b6126b92193c0b33cf81d08ea7d6121f20f5270296381ea0e82820
 DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 
BLAKE2B 
38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386
 SHA512 
831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
 DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 
167651090 BLAKE2B 
5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f
 SHA512 
13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
 DIST amdvlk-pal-042362399cdac1019fbc7f0ace8489aee2907883.tar.gz 12426374 
BLAKE2B 
b4cd6f3496e9146e481de339128cb6b4be735aec2982f45af9806ce8647cd5e5cc3470dc4bcf82f354f03c227faff3f63148444ac26fd1a54ecdfd9844cff7e7
 SHA512 
5845d3bdc312915b07b1b59df387d4611ad280c499a8fdb1fa2ec0eba37a286179461b0eb445ac32646cd2c4842670f5e48f26b15a2a4b76864d7efb3fba3e69
+DIST amdvlk-pal-ac9ff8bd22605bf7fd428fd9cf83248fb4dbe94b.tar.gz 12387976 
BLAKE2B 
bba22f4dab618d6c0a82f1a147d1abc3f098bda78ff654991df9a7b0d8d6b79fc7c2bdf5674587a1694820f1be16dcb9a21e6d6c805fa0e1306f414701e5745c
 SHA512 
c57a521a43e29bfbc730caa267005cfa3b557793310a717967a0e471cfecf44947cdbdab9dd9171f788b98b1653bd7630f43d9fff72bd2193c5eba6c6781c2d0
 DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 
BLAKE2B 
46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2c
 SHA512 
d7b9970a3bd444149e1801ffc268796a02833db39132c32f7745350bc423c40d111e9e338e9f0e35fa8b6b84c527d313669ff9f7b1488fcf2d4c834ab7495bf2
+DIST a

[gentoo-commits] repo/proj/guru:dev commit in: media-libs/nvidia-vaapi-driver/

2023-03-03 Thread Denis Reva
commit: 345b9b2ee9bfc3efaeed2ad0ae09e235a8db114a
Author: Denis Reva  gmail  com>
AuthorDate: Fri Mar  3 10:36:04 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Fri Mar  3 13:07:36 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=345b9b2e

media-libs/nvidia-vaapi-driver: new package

Installed but not tested. Work in progress

Signed-off-by: Denis Reva  gmail.com>

 media-libs/nvidia-vaapi-driver/Manifest|  1 +
 media-libs/nvidia-vaapi-driver/metadata.xml| 15 +++
 .../nvidia-vaapi-driver-0.0.8.ebuild   | 30 ++
 3 files changed, 46 insertions(+)

diff --git a/media-libs/nvidia-vaapi-driver/Manifest 
b/media-libs/nvidia-vaapi-driver/Manifest
new file mode 100644
index 0..0d29a76d1
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/Manifest
@@ -0,0 +1 @@
+DIST nvidia-vaapi-driver-0.0.8.tar.gz 178932 BLAKE2B 
16b438c7b494e90f7ec3af958dfbc20d11bccee0f0ac52dde23d1ee348e947be4503ebafb284227b25eb6e42deafca606b7f80094b0392081d30e17edf5d43ce
 SHA512 
a1e38d50112a4f5db2785f6d229c45d591fd42aee3748b59ab23b47250c094258f304f26143c074a79928e0e9f5c7bc8d4d0944f72bd511206131f619377d7ae

diff --git a/media-libs/nvidia-vaapi-driver/metadata.xml 
b/media-libs/nvidia-vaapi-driver/metadata.xml
new file mode 100644
index 0..1edfb183a
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+       Denis Reva
+   rarogcmex
+   
+   
+   This is an VA-API implementation that uses NVDEC as a backend. 
This implementation is specifically designed to be used by Firefox for 
accelerated decode of web content, and may not operate correctly in other 
applications.
+   
+   
+   GPUOpen-Drivers/AMDVLK
+   
+

diff --git a/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild 
b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
new file mode 100644
index 0..3b2be0640
--- /dev/null
+++ b/media-libs/nvidia-vaapi-driver/nvidia-vaapi-driver-0.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="A VA-API implemention using NVIDIA's NVDEC, specifically designed 
to be used by Firefox"
+HOMEPAGE="https://github.com/elFarto/nvidia-vaapi-driver;
+SRC_URI="https://github.com/elFarto/nvidia-vaapi-driver/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="x11-drivers/nvidia-drivers
+   media-libs/nv-codec-headers
+   media-libs/libva"
+RDEPEND="x11-drivers/nvidia-drivers
+   media-libs/gst-plugins-bad[egl]
+   media-libs/libva"
+BDEPEND="dev-util/meson"
+
+pkg_postinst() {
+   ewarn "This library requires special configuration! See "
+   ewarn "${HOMEPAGE}"
+   ewarn "The direct backend is currently required on NVIDIA driver series 
525 due to a regression"
+   ewarn "See ${HOMEPAGE}/issues/126"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/

2023-02-28 Thread Denis Reva
commit: 8bde7c44ed1390cc3f2ae2a7d4ce3a6c8c49e6da
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 15:32:05 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 15:32:05 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bde7c44

dev-cpp/parallel-hashmap: updated to 1.3.8

project accidently switched to semver

Signed-off-by: Denis Reva  gmail.com>

 dev-cpp/parallel-hashmap/Manifest  |  1 +
 dev-cpp/parallel-hashmap/metadata.xml  |  4 ++
 .../parallel-hashmap/parallel-hashmap-1.3.8.ebuild | 46 ++
 3 files changed, 51 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest 
b/dev-cpp/parallel-hashmap/Manifest
index f947d04bd..4d6cffc56 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1 +1,2 @@
+DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B 
b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad
 SHA512 
499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7
 DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 
18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba
 SHA512 
ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c

diff --git a/dev-cpp/parallel-hashmap/metadata.xml 
b/dev-cpp/parallel-hashmap/metadata.xml
index 3183d009f..c7a8c6eea 100644
--- a/dev-cpp/parallel-hashmap/metadata.xml
+++ b/dev-cpp/parallel-hashmap/metadata.xml
@@ -5,6 +5,10 @@
lssndrbarbi...@gmail.com
Alessandro Barbieri

+   
+   denis7...@gmail.com
+       Denis Reva
+   

 Overview
 

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild 
b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild
new file mode 100644
index 0..35fd6b2d7
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.3.8.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR=emake
+
+inherit cmake
+
+DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree 
containers"
+HOMEPAGE="
+   https://greg7mdp.github.io/parallel-hashmap/
+   https://github.com/greg7mdp/parallel-hashmap
+"
+SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples test"
+
+CDEPEND="dev-libs/cereal"
+DEPEND="${CDEPEND} test? ( dev-cpp/gtest )"
+RDEPEND="${CDEPEND}"
+
+# tests will download gtest, not trivial to use the system one
+# https://github.com/greg7mdp/parallel-hashmap/issues/154
+RESTRICT="!test? ( test )"
+src_configure() {
+   local mycmakeargs=(
+   -DPHMAP_BUILD_EXAMPLES=$(usex examples)
+   -DPHMAP_BUILD_TESTS=$(usex test)
+   )
+   if use test; then
+   mycmakeargs+=( -DPHMAP_GTEST_LIBS="gmock -lgmock_main -lgtest 
-lgtest_main" )
+   fi
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+   if use examples ; then
+   dodoc -r examples
+   docompress -x "/usr/share/doc/${PF}/examples"
+   fi
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/parallel-hashmap/

2023-02-28 Thread Denis Reva
commit: 484bc1f8f5aef26b13ba15aedd5ab89b384a8f42
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 15:32:37 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 15:32:37 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=484bc1f8

dev-cpp/parallel-hashmap: deleted obsolete version

Signed-off-by: Denis Reva  gmail.com>

 dev-cpp/parallel-hashmap/Manifest  |  1 -
 .../parallel-hashmap/parallel-hashmap-1.35.ebuild  | 45 --
 2 files changed, 46 deletions(-)

diff --git a/dev-cpp/parallel-hashmap/Manifest 
b/dev-cpp/parallel-hashmap/Manifest
index 4d6cffc56..38c813229 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1,2 +1 @@
 DIST parallel-hashmap-1.3.8.tar.gz 2047306 BLAKE2B 
b56bd2a8f958f69c400e8b736669f7bbe875823ca28370a6ce0f25a6de995a81b4ff8269f84eea3bbdcd62ec96d2a7613d8d414abcf2da6215e476f81927d4ad
 SHA512 
499f132aa1513942762ae5214e9a37915529d60142439d32276d9e68a446c93ecea66caa32ac00bea683e2c932101cd999c8839a89211e91032f777f236181f7
-DIST parallel-hashmap-1.35.gh.tar.gz 2044770 BLAKE2B 
18c4843ebd2ca046e1597a7fc0341440d888c4b39d2355e45b36e02b9f5dcf39baec1826434d70b591e6713fe2ff043a9ec8a68b7b43e0fbb2af176507b738ba
 SHA512 
ffa70a6691784caa8acc6e191b3db4ffdbbc51db86c91118267fac96c178d434f890f773c9b31932eaed15b2cecbd74dcaddacefd0ef9771da0833c90d0f104c

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild 
b/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
deleted file mode 100644
index 2e46da2b8..0
--- a/dev-cpp/parallel-hashmap/parallel-hashmap-1.35.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_MAKEFILE_GENERATOR=emake
-
-inherit cmake
-
-DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree 
containers"
-HOMEPAGE="
-   https://greg7mdp.github.io/parallel-hashmap/
-   https://github.com/greg7mdp/parallel-hashmap
-"
-SRC_URI="https://github.com/greg7mdp/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="examples test"
-
-CDEPEND="dev-libs/cereal"
-DEPEND="test? ( ${CDEPEND} )"
-RDEPEND="${CDEPEND}"
-
-# tests will download gtest, not trivial to use the system one
-# https://github.com/greg7mdp/parallel-hashmap/issues/154
-RESTRICT="test"
-
-src_configure() {
-   local mycmakeargs=(
-   -DPHMAP_BUILD_EXAMPLES=$(usex examples)
-   -DPHMAP_BUILD_TESTS=$(usex test)
-   )
-
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-   if use examples ; then
-   dodoc -r examples
-   docompress -x "/usr/share/doc/${PF}/examples"
-   fi
-}



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-02-28 Thread Denis Reva
commit: fa4168153b5bd5eb0202fb732d3d1d9e8262610b
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 14:50:52 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 14:50:52 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa416815

sys-fs/dwarfs: finished working

I've returned to bundled libs because it a lot more flexible

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 46 ---
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index 78c1567f7..50aa83e0d 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -7,17 +7,17 @@ PYTHON_COMPAT=( python3_{10..11} )
 
 inherit check-reqs cmake flag-o-matic python-single-r1
 
-MY_P="${P/_rc/-RC}"
+MY_PV="${PV/_rc/-RC}"
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v0.7.0-RC4/dwarfs-0.7.0-RC4.tar.xz;
 #TODO: change to ${PV}
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
-IUSE="python +jemalloc test man +bundled-libs"
-S="${WORKDIR}/${MY_P}"
+KEYWORDS="~amd64"
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${MY_PV}"
 
 RDEPEND="
${PYTHON_DEPS}
@@ -26,15 +26,11 @@ RDEPEND="
app-arch/snappy
app-arch/xz-utils
app-arch/zstd
-   dev-cpp/fbthrift:=
-   dev-cpp/folly:=
dev-cpp/gflags
dev-cpp/glog[gflags]
dev-cpp/parallel-hashmap:=
-   dev-cpp/sparsehash
-   dev-libs/boost[context,threads(+),python?]
+   dev-libs/boost[context,python?]
dev-libs/double-conversion
-   dev-libs/fsst:=
dev-libs/libevent
dev-libs/libfmt
dev-libs/xxhash
@@ -44,31 +40,35 @@ RDEPEND="
sys-libs/zlib
 
jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+
+   !dev-cpp/fbthrift
+   !dev-cpp/folly
+   !dev-cpp/wangle
+   !dev-cpp/fizz
 "
+
 DEPEND="
${RDEPEND}
sys-devel/flex
-   !sys-fs/dwarfs-bin
 "
 BDEPEND="
man? ( || ( app-text/ronn app-text/ronn-ng ) )
sys-devel/bison
virtual/pkgconfig
-
+   dev-util/patchelf
test? ( dev-cpp/gtest )
 "
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-PATCHES=( "${FILESDIR}/${P}-unbundle.patch" )
 
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
 
 src_prepare(){
-   rm -r fsst zstd fbthrift/* folly xxHash parallel-hashmap || die
+   rm -r zstd xxHash parallel-hashmap || die
cmake_src_prepare
sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
 }
@@ -80,11 +80,12 @@ src_configure(){
-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-DWITH_PYTHON=$(usex python ON OFF)
-DWITH_TESTS=$(usex test ON OFF)
-   -WITH_MAN_PAGES=$(usex man ON OFF)
-   -DPREFER_SYSTEM_ZSTD=1
-   -DPREFER_SYSTEM_XXHASH=1
-   -DPREFER_SYSTEM_GTEST=1
-   -DWITH_LEGACY_FUSE=0
+   -DWITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=ON
+   -DPREFER_SYSTEM_XXHASH=ON
+   -DPREFER_SYSTEM_GTEST=ON
+   -DPREFER_SYSTEM_LIBFMT=ON
+   -DWITH_LEGACY_FUSE=OFF
)
use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
cmake_src_configure
@@ -92,7 +93,12 @@ src_configure(){
 
 src_install(){
cmake_src_install
-   dolib.so libdwarfs.so
+   # Remove insecure RPATH from bundled lib
+   patchelf --remove-rpath libdwarfs.so || die
+   patchelf --remove-rpath libdwarfs_tool.so || die
+
+   dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so 
libthrift_light.so libmetadata_thrift.so
+   dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
 }
 
 pkg_postinst(){



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-02-28 Thread Denis Reva
commit: 63cfbae4835192aaea5eb6aabb386e747bd96892
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 14:12:25 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 14:12:25 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63cfbae4

sys-fs/dwarfs-bin: Fixed distfile name

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest| 2 +-
 sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 67287f713..939a199a5 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1,2 +1,2 @@
 DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
-DIST dwarfs-0.7.0-RC4-Linux.tar.xz 6346140 BLAKE2B 
fbd88d4badb9f95418e54480b2b544503cb2935d9330b550a4e2b638c93726de0ee45d28831a0e61791b4f62cde436f102119619958f3a01c25ca4cb8e22ccc8
 SHA512 
6b3a1d1daf4c6ca2925767e64f27a1ab9cc826274d4881ec298cbfac3a717e7f0fb6458a1c71eee62e5f1339b705f89f75b73bad1408544057c09a0cb4faf00b
+DIST dwarfs-bin-0.7.0-RC4-Linux.tar.xz 6346140 BLAKE2B 
fbd88d4badb9f95418e54480b2b544503cb2935d9330b550a4e2b638c93726de0ee45d28831a0e61791b4f62cde436f102119619958f3a01c25ca4cb8e22ccc8
 SHA512 
6b3a1d1daf4c6ca2925767e64f27a1ab9cc826274d4881ec298cbfac3a717e7f0fb6458a1c71eee62e5f1339b705f89f75b73bad1408544057c09a0cb4faf00b

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
index 2de067452..4cd8d56d5 100644
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
@@ -7,7 +7,7 @@ MY_PV="${PV/_rc/-RC}"
 
 DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux.tar.xz;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux.tar.xz
 -> dwarfs-bin-${MY_PV}-Linux.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-02-28 Thread Denis Reva
commit: 7082d95528620ec12206fa98c9ab1640589920eb
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 13:07:53 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 13:07:53 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7082d955

sys-fs/dwarfs-bin: updated to 0.6.2

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest | 2 +-
 sys-fs/dwarfs-bin/{dwarfs-bin-0.6.1.ebuild => dwarfs-bin-0.6.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index 02b07cff6..cc7920960 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1 +1 @@
-DIST dwarfs-0.6.1-Linux.tar.xz 5849676 BLAKE2B 
0bf7faf3466bed4c22130f11125e5933ce9a7bde066b18a818b037b9a4f2db620ea8d9487258a3ef6b487fc12414825be5938aeca4947b7cc30ac0139189eb72
 SHA512 
d8e1b199a60c877b36e946a1f7f71ca02773c8ce0e80377229e930a1a66fd3162b9dc5e2016720e86c0f3af9da5887b1ea90608da05d616712ec6d7976c1
+DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.6.1.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild
similarity index 100%
rename from sys-fs/dwarfs-bin/dwarfs-bin-0.6.1.ebuild
rename to sys-fs/dwarfs-bin/dwarfs-bin-0.6.2.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-02-28 Thread Denis Reva
commit: db7a395a067f7af608efc0f93bb0a9de08f65318
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 13:12:28 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 13:12:28 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db7a395a

sys-fs/dwarfs-bin: added release-candidate version

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
index afdef5b74..2de067452 100644
--- a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
@@ -3,16 +3,15 @@
 
 EAPI=7
 
-MY_P="${P/_rc/-RC}"
+MY_PV="${PV/_rc/-RC}"
 
 DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
 HOMEPAGE="https://github.com/mhx/dwarfs;
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}-RC4/dwarfs-${MY_P}-Linux.tar.xz;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/dwarfs-${MY_PV}-Linux.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-S="${WORKDIR}/${MY_P}"
 
 RDEPEND="
${PYTHON_DEPS}
@@ -22,7 +21,7 @@ RDEPEND="
 DEPEND="
${RDEPEND}
 "
-S="${WORKDIR}/dwarfs-${PV}-Linux/"
+S="${WORKDIR}/dwarfs-${MY_PV}-Linux/"
 QA_PREBUILT="
sbin/dwarfs
bin/*



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/

2023-02-28 Thread Denis Reva
commit: f53d4be554b2237f895aa1755ae1a12373c6ed63
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 13:12:24 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 13:12:24 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f53d4be5

sys-fs/dwarfs-bin: added release-candidate version

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs-bin/Manifest|  1 +
 sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
index cc7920960..67287f713 100644
--- a/sys-fs/dwarfs-bin/Manifest
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.6.2-Linux.tar.xz 5854936 BLAKE2B 
ad4bfe3e31ef0a1cd5649962a0b28d88999bd000a987c0a0c2d8d771ced395d036b10c737be84cd0e156ec0e7d7e752f37a6f08681f5b7fcb5b4f14355b8fae4
 SHA512 
58563a6971fc00cb22a5b253bd7a30170e4dd1136450d5540ea15d9c5c1ad504ef2b115d2241da729a47553f36614f6ceb2095feafc8f96205e6877213534104
+DIST dwarfs-0.7.0-RC4-Linux.tar.xz 6346140 BLAKE2B 
fbd88d4badb9f95418e54480b2b544503cb2935d9330b550a4e2b638c93726de0ee45d28831a0e61791b4f62cde436f102119619958f3a01c25ca4cb8e22ccc8
 SHA512 
6b3a1d1daf4c6ca2925767e64f27a1ab9cc826274d4881ec298cbfac3a717e7f0fb6458a1c71eee62e5f1339b705f89f75b73bad1408544057c09a0cb4faf00b

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
new file mode 100644
index 0..afdef5b74
--- /dev/null
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.7.0_rc4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${P/_rc/-RC}"
+
+DESCRIPTION="Static version of a fast very high compression read-only FUSE 
file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}-RC4/dwarfs-${MY_P}-Linux.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   sys-fs/fuse:3
+   !sys-fs/dwarfs
+"
+DEPEND="
+   ${RDEPEND}
+"
+S="${WORKDIR}/dwarfs-${PV}-Linux/"
+QA_PREBUILT="
+   sbin/dwarfs
+   bin/*
+"
+src_prepare() {
+   default
+   einfo "Removing legacy fuse2-related stuff..."
+   rm sbin/dwarfs2 sbin/mount.dwarfs2 || die
+   einfo "Done. Correcting man paths..."
+   mkdir -p usr/ || die
+   mv share/ usr/ || die
+   einfo "Done."
+}
+
+src_install(){
+   mv "${S}"/* "${D}"/ || die
+}
+
+pkg_postinst(){
+   elog "You may find more information in the"
+   elog "${HOMEPAGE}"
+   elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+   elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}



[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/

2023-02-28 Thread Denis Reva
commit: cc7e21ed8a8d199bbad77be9f8e061a995b39e82
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 13:01:59 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 13:01:59 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc7e21ed

sys-fs/dwarfs: work in progress

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index d1a86ea98..78c1567f7 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v0.7.0-RC4/dwarfs-0.7.0
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="python +jemalloc test man"
+IUSE="python +jemalloc test man +bundled-libs"
 S="${WORKDIR}/${MY_P}"
 
 RDEPEND="



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-02-28 Thread Denis Reva
commit: e5ade618451942a1fb01a6392d1bc14500132414
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 12:54:41 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 12:57:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5ade618

media-libs/amdvlk: removed obsolete version

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/Manifest   |   5 --
 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 141 ---
 2 files changed, 146 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 065054eba..6576690d9 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,13 +1,8 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 
BLAKE2B 
d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3
 SHA512 
06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 
33556 BLAKE2B 
c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40
 SHA512 
77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 
BLAKE2B 
b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb
 SHA512 
8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
-DIST amdvlk-gpurt-1f0c4f7e9cea22452e5e20a6cdfc4a84a2bf5bac.tar.gz 303454 
BLAKE2B 
78304f4d3b0c7eab927698cc7e4b5fc1a746e94d7929278a1f48653ad9425e52b6758f0d72e974c6bd2e5fc7a6da33002aab82fe752f00a324a618935db04e2d
 SHA512 
91cbdf539eb6bb23316fd3a2654564ecf516fa42789f70c259402370adcc25de05d376bce665466cee9d8328022662a1fcc4d668d432a6feeec879aa8efebe7a
 DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 
BLAKE2B 
51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c
 SHA512 
998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
-DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 
BLAKE2B 
2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b
 SHA512 
0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
 DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 
BLAKE2B 
38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386
 SHA512 
831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
-DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 
167651563 BLAKE2B 
4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac
 SHA512 
5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
 DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 
167651090 BLAKE2B 
5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f
 SHA512 
13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
 DIST amdvlk-pal-042362399cdac1019fbc7f0ace8489aee2907883.tar.gz 12426374 
BLAKE2B 
b4cd6f3496e9146e481de339128cb6b4be735aec2982f45af9806ce8647cd5e5cc3470dc4bcf82f354f03c227faff3f63148444ac26fd1a54ecdfd9844cff7e7
 SHA512 
5845d3bdc312915b07b1b59df387d4611ad280c499a8fdb1fa2ec0eba37a286179461b0eb445ac32646cd2c4842670f5e48f26b15a2a4b76864d7efb3fba3e69
-DIST amdvlk-pal-287ef684bc36a86af55d4ed1c4c4f4c35577e21e.tar.gz 12279943 
BLAKE2B 
ffe41d37ce2c744196520296fd7e4e91445a1e0b8f8c25aa90c5cc0f572aec645ddb85c80f995dc8e7e9a0c78845fd6f419f747360c824efa1ec5da0a031e071
 SHA512 
15901e5ac974bee92cf2de43b5cd48f38d3625e2a6049dcae767dc128334a92419eda4a8db77f31503e79b72ff495e4ead4b9e34c5ed2e4ae4124c9a100133f3
 DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 
BLAKE2B 
46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2c
 SHA512 
d7b9970a3bd444149e1801ffc268796a02833db39132c32f7745350bc423c40d111e9e338e9f0e35fa8b6b84c527d313669ff9f7b1488fcf2d4c834ab7495bf2
-DIST a

[gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/files/, sys-fs/dwarfs/

2023-02-28 Thread Denis Reva
commit: 253b9fd4d798d3f817b4d9f735cff0580202375a
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 12:53:52 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 12:57:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=253b9fd4

dwarfs: unorphaned, work in progress

Signed-off-by: Denis Reva  gmail.com>

 sys-fs/dwarfs/Manifest |   1 +
 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild  | 103 +
 .../dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch   | 161 +
 sys-fs/dwarfs/metadata.xml |  24 +++
 4 files changed, 289 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
new file mode 100644
index 0..f6a1d88fe
--- /dev/null
+++ b/sys-fs/dwarfs/Manifest
@@ -0,0 +1 @@
+DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B 
fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e
 SHA512 
1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild 
b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
new file mode 100644
index 0..d1a86ea98
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+MY_P="${P/_rc/-RC}"
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs;
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v0.7.0-RC4/dwarfs-0.7.0-RC4.tar.xz;
 #TODO: change to ${PV}
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   app-arch/libarchive
+   app-arch/lz4
+   app-arch/snappy
+   app-arch/xz-utils
+   app-arch/zstd
+   dev-cpp/fbthrift:=
+   dev-cpp/folly:=
+   dev-cpp/gflags
+   dev-cpp/glog[gflags]
+   dev-cpp/parallel-hashmap:=
+   dev-cpp/sparsehash
+   dev-libs/boost[context,threads(+),python?]
+   dev-libs/double-conversion
+   dev-libs/fsst:=
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/xxhash
+   sys-fs/fuse:3
+   sys-libs/binutils-libs
+   sys-libs/libunwind
+   sys-libs/zlib
+
+   jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+DEPEND="
+   ${RDEPEND}
+   sys-devel/flex
+   !sys-fs/dwarfs-bin
+"
+BDEPEND="
+   man? ( || ( app-text/ronn app-text/ronn-ng ) )
+   sys-devel/bison
+   virtual/pkgconfig
+
+   test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+PATCHES=( "${FILESDIR}/${P}-unbundle.patch" )
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+   rm -r fsst zstd fbthrift/* folly xxHash parallel-hashmap || die
+   cmake_src_prepare
+   sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || 
die
+}
+
+src_configure(){
+   append-cxxflags "-I/usr/include"
+
+   mycmakeargs=(
+   -DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+   -DWITH_PYTHON=$(usex python ON OFF)
+   -DWITH_TESTS=$(usex test ON OFF)
+   -WITH_MAN_PAGES=$(usex man ON OFF)
+   -DPREFER_SYSTEM_ZSTD=1
+   -DPREFER_SYSTEM_XXHASH=1
+   -DPREFER_SYSTEM_GTEST=1
+   -DWITH_LEGACY_FUSE=0
+   )
+   use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+   cmake_src_configure
+}
+
+src_install(){
+   cmake_src_install
+   dolib.so libdwarfs.so
+}
+
+pkg_postinst(){
+   elog "You may find more information in the"
+   elog "${HOMEPAGE}"
+   elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+   elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}

diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch 
b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch
new file mode 100644
index 0..101af0dc6
--- /dev/null
+++ b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-unbundle.patch
@@ -0,0 +1,161 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -151,8 +151,6 @@
+ ON
+ CACHE BOOL "only build thrift compiler")
+ 
+-add_subdirectory(folly EXCLUDE_FROM_ALL)
+-add_subdirectory(fbthrift EXCLUDE_FROM_ALL)
+ if(NOT (ZSTD_FOUND AND PREFER_SYSTEM_ZSTD))

[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/

2023-02-28 Thread Denis Reva
commit: 055316fea12384d864d0b45037242eb6dfdc5ba6
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 11:45:14 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 12:56:54 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055316fe

dev-cpp/fizz: Updated and unorphaned

Signed-off-by: Denis Reva  gmail.com>

 dev-cpp/fizz/Manifest  |  1 +
 dev-cpp/fizz/fizz-2023.02.06.00.ebuild | 48 ++
 dev-cpp/fizz/metadata.xml  | 18 +
 3 files changed, 67 insertions(+)

diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest
new file mode 100644
index 0..9dedb363e
--- /dev/null
+++ b/dev-cpp/fizz/Manifest
@@ -0,0 +1 @@
+DIST fizz-2023.02.06.00.tar.gz 649362 BLAKE2B 
a77f90a9d8eca9fb934aacbc903f5af702d8e22b33b0884c742dd40b51f1993f2015758e62ee815eed0f3570a608768914d4f2077d9da0a69c50e78270a64085
 SHA512 
88cd3d3198442ea0cd2d5098c53fef55d9a7a6b998ddeb6e2e32f7dd26827682dabe1def9bef6f321da5dbb8c48675cb3045a20733fcc7191cc7b81248d8176e

diff --git a/dev-cpp/fizz/fizz-2023.02.06.00.ebuild 
b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild
new file mode 100644
index 0..597703566
--- /dev/null
+++ b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++14 implementation of the TLS-1.3 standard"
+HOMEPAGE="https://github.com/facebookincubator/fizz;
+SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples test"
+
+RDEPEND="
+   >=dev-cpp/folly-${PV}:=
+   dev-cpp/gflags
+   dev-cpp/glog
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/libsodium
+   dev-libs/openssl:0=
+"
+DEPEND="
+   ${RDEPEND}
+   test? ( >=dev-cpp/gtest-1.11.0 )
+"
+
+RESTRICT="!test? ( test )"
+CMAKE_USE_DIR="${S}/fizz"
+
+src_prepare() {
+   cmake_src_prepare
+   sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_EXAMPLES=$(usex examples)
+   -DBUILD_TESTS=$(usex test)
+   -DLIB_INSTALL_DIR=$(get_libdir)
+   )
+
+   cmake_src_configure
+}

diff --git a/dev-cpp/fizz/metadata.xml b/dev-cpp/fizz/metadata.xml
new file mode 100644
index 0..7e92afec0
--- /dev/null
+++ b/dev-cpp/fizz/metadata.xml
@@ -0,0 +1,18 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+   Denis Reva
+   rarogcmex
+   
+   
+The core protocol implementations are in ClientProtocol and ServerProtocol. 
FizzClientContext and FizzServerContext provide configuration options. 
FizzClient and FizzServer (which both inherit from FizzBase) provide 
applications with an interface to interact with the state machine. 
FizzClient/FizzServer receives events from the application layer, invokes the 
correct event handler, and invokes the application ActionVisitor to process the 
actions.
+
+AsyncFizzClient and AsyncFizzServer provide implementations of the folly 
AsyncTransportWrapper interface. They own an underlying transport (for example 
AsyncSocket) and perform the TLS handshake and encrypt/decrypt application data.
+   
+   
+   
https://github.com/facebookincubator/fizz/issues
+   facebookincubator/fizz
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/wangle/

2023-02-28 Thread Denis Reva
commit: 2e15b300f2358c42521115dcd788a0d5ee5fef24
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 11:55:21 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 12:57:33 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e15b300

dev-cpp/wangle: Unorphaned and updated

Signed-off-by: Denis Reva  gmail.com>

 dev-cpp/wangle/Manifest|  1 +
 dev-cpp/wangle/metadata.xml| 51 ++
 dev-cpp/wangle/wangle-2023.02.06.00.ebuild | 43 +
 3 files changed, 95 insertions(+)

diff --git a/dev-cpp/wangle/Manifest b/dev-cpp/wangle/Manifest
new file mode 100644
index 0..42fdce640
--- /dev/null
+++ b/dev-cpp/wangle/Manifest
@@ -0,0 +1 @@
+DIST wangle-2023.02.06.00.tar.gz 339890 BLAKE2B 
a1b1d50083bac9de7ea6bf586cd677d44a3baf5fcec0ac92d82cda16fcfad055b1e91fec2fa75143ab1ee488bc638a0d6153d19b65b30fc63829fdfdfd0c3156
 SHA512 
93ea81c5a4b5929e543abd77c2a0e70cec33dcdf928665f71436c1ee5d2afbf338d7ca7000e124c295821f68a1763c847f306eb8ece487047548989609a8cbc0

diff --git a/dev-cpp/wangle/metadata.xml b/dev-cpp/wangle/metadata.xml
new file mode 100644
index 0..9b43b5159
--- /dev/null
+++ b/dev-cpp/wangle/metadata.xml
@@ -0,0 +1,51 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+       Denis Reva
+   rarogcmex
+   
+   
+   co-maintainers welcome
+   lssndrbarbi...@gmail.com
+   Alessandro Barbieri
+   
+   
+Client / Server abstraction
+
+You're probably familiar with Java's Netty, or Python's twisted, or similar 
libraries.
+
+It is built on top of folly/async/io, so it's one level up the stack from that 
(or similar abstractions like boost::asio)
+
+ServerBootstrap - easily manage creation of threadpools and pipelines
+
+ClientBootstrap - the same for clients
+
+Pipeline - set up a series of handlers that modify your socket data
+
+Request / Response abstraction
+
+This is roughly equivalent to the Finagle library.
+
+Aims to provide easy testing, load balancing, client pooling, retry logic, 
etc. for any request/response type service - i.e. thrift, http, etc.
+
+Service - a matched interface between client/server. A server will implement 
this interface, and a client will call in to it. These are protocol-specific
+
+ServiceFilter - a generic filter on a service. Examples: stats, request 
timeouts, rate limiting
+
+ServiceFactory - A factory that creates client connections. Any protocol 
specific setup code goes here
+
+ServiceFactoryFilter - Generic filters that control how connections are 
created. Client examples: load balancing, pooling, idle timeouts, markdowns, 
etc.
+
+ServerBootstrap
+
+Easily create a new server
+
+ServerBootstrap does the work to set up one or multiple acceptor threads, and 
one or multiple sets of IO threads. The thread pools can be the same. 
SO_REUSEPORT is automatically supported for multiple accept threads. tcp is 
most common, although udp is also supported.
+   
+   
+   https://github.com/facebook/wangle/issues
+   facebook/wangle
+   
+

diff --git a/dev-cpp/wangle/wangle-2023.02.06.00.ebuild 
b/dev-cpp/wangle/wangle-2023.02.06.00.ebuild
new file mode 100644
index 0..3dd02e256
--- /dev/null
+++ b/dev-cpp/wangle/wangle-2023.02.06.00.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Framework providing common client/server abstractions"
+HOMEPAGE="https://github.com/facebook/wangle;
+SRC_URI="https://github.com/facebook/wangle/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples test"
+
+RDEPEND="
+   >=dev-cpp/fizz-${PV}:=
+   >=dev-cpp/folly-${PV}:=
+   dev-cpp/gflags
+   dev-cpp/glog
+   dev-libs/double-conversion
+   dev-libs/libevent
+   dev-libs/libfmt
+   dev-libs/openssl:0=
+"
+DEPEND="
+   ${RDEPEND}
+   dev-cpp/gtest
+"
+
+RESTRICT="!test? ( test )"
+CMAKE_USE_DIR="${S}/wangle"
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_EXAMPLES=$(usex examples)
+   -DBUILD_TESTS=$(usex test)
+   -DLIB_INSTALL_DIR=$(get_libdir)
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fbthrift/

2023-02-28 Thread Denis Reva
commit: 5dc6a108df0ec64ff1acd0c8983a00d801eea4e0
Author: Denis Reva  gmail  com>
AuthorDate: Tue Feb 28 12:22:24 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Feb 28 12:57:43 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dc6a108

dev-cpp/fbthrift: Unorphaned and updated

Signed-off-by: Denis Reva  gmail.com>

 dev-cpp/fbthrift/Manifest  |  1 +
 dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild | 47 ++
 dev-cpp/fbthrift/metadata.xml  | 20 +++
 3 files changed, 68 insertions(+)

diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest
new file mode 100644
index 0..44fcaa583
--- /dev/null
+++ b/dev-cpp/fbthrift/Manifest
@@ -0,0 +1 @@
+DIST fbthrift-2023.02.06.00.tar.gz 13447174 BLAKE2B 
d8a931dc4ded159ca1b1b1aa9db7d97c7f6fc3842fe59873c72125acf93c572bb4f31d5514b237166fb7108e746f7473bc50e62becab93411b01d8988cb53534
 SHA512 
a726cc3276c623471129ba7822926e311f455a1c90cc2be9a5506310563609c9843dcb0b6852c288e766a6268bb01e0db8d0a67b6c3f01fc9fd84ff58a479ba6

diff --git a/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild 
b/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild
new file mode 100644
index 0..ac597c130
--- /dev/null
+++ b/dev-cpp/fbthrift/fbthrift-2023.02.06.00.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="Facebook's branch of Apache Thrift, including a new C++ server"
+HOMEPAGE="https://github.com/facebook/fbthrift;
+SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   app-arch/zstd
+   >=dev-cpp/fizz-${PV}:=
+   >=dev-cpp/folly-${PV}:=
+   dev-cpp/gflags
+   dev-cpp/glog
+   >=dev-cpp/wangle-${PV}:=
+   dev-libs/boost
+   dev-libs/libfmt
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   ${PYTHON_DEPS}
+"
+DEPEND="
+   ${RDEPEND}
+   $(python_gen_cond_dep 'dev-python/six[${PYTHON_USEDEP}]')
+"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DLIB_INSTALL_DIR=$(get_libdir)
+   )
+   cmake_src_configure
+}

diff --git a/dev-cpp/fbthrift/metadata.xml b/dev-cpp/fbthrift/metadata.xml
new file mode 100644
index 0..ed3a5f3fb
--- /dev/null
+++ b/dev-cpp/fbthrift/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+   Denis Reva
+   rarogcmex
+   
+   
+Thrift is a serialization and RPC framework for service communication. Thrift 
enables these features in all major languages, and there is strong support for 
C++, Python, Hack, and Java. Most services at Facebook are written using Thrift 
for RPC, and some storage systems use Thrift for serializing records on disk.
+
+Facebook Thrift is not a distribution of Apache Thrift. This is an evolved 
internal branch of Thrift that Facebook re-released to open source community in 
February 2014. Facebook Thrift was originally released closely tracking Apache 
Thrift but is now evolving in new directions. In particular, the compiler was 
rewritten from scratch and the new implementation features a fully asynchronous 
Thrift server. Read more about these improvements in the ThriftServer 
documentation.
+
+You can also learn more about this project in the original Facebook Code blog 
post.
+   
+   
+   https://github.com/facebook/fbthrift/issues
+   facebook/fbthrift
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/, dev-python/gbinder/files/

2023-02-25 Thread Denis Reva
commit: 0a8718f32bdb0c1265ca3f08056c6d7a0ab1ac97
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 25 12:05:31 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 25 12:05:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a8718f3

-r10: migrated to setuptools via patch

as initial preparation to python3.12

Signed-off-by: Denis Reva  gmail.com>

 .../files/gbinder-1.0.0-setuppy-extensions.patch   | 22 -
 .../gbinder/files/gbinder-1.1.1-setuptools.patch   | 37 ++
 ...binder-.ebuild => gbinder-1.1.1-r10.ebuild} | 20 
 dev-python/gbinder/gbinder-.ebuild |  8 ++---
 4 files changed, 55 insertions(+), 32 deletions(-)

diff --git a/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch 
b/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch
deleted file mode 100644
index 5990393e3..0
--- a/dev-python/gbinder/files/gbinder-1.0.0-setuppy-extensions.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 79d40e9e564772973f7f085ed5c48e3fc625e0f5 Mon Sep 17 00:00:00 2001
-From: Erfan Abdi 
-Date: Mon, 6 Sep 2021 13:57:22 +0430
-Subject: [PATCH] setup: Drop None from keywords
-

- setup.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/setup.py b/setup.py
-index cf3a42e..ed2b1ed 100644
 a/setup.py
-+++ b/setup.py
-@@ -19,6 +19,8 @@ def pkgconfig(package, kw):
- 
- extension_kwargs = { 'sources': ["gbinder" + file_ext] }
- extension_kwargs = pkgconfig('libgbinder', extension_kwargs)
-+if None in extension_kwargs:
-+del extension_kwargs[None]
- extensions = [Extension('gbinder', **extension_kwargs)]
- 
- if USE_CYTHON:

diff --git a/dev-python/gbinder/files/gbinder-1.1.1-setuptools.patch 
b/dev-python/gbinder/files/gbinder-1.1.1-setuptools.patch
new file mode 100644
index 0..94bda6295
--- /dev/null
+++ b/dev-python/gbinder/files/gbinder-1.1.1-setuptools.patch
@@ -0,0 +1,37 @@
+From 32cfbabe5ed37815358cc3515ce6551b6b7b87ae Mon Sep 17 00:00:00 2001
+From: Herrie 
+Date: Sat, 23 Jul 2022 20:38:22 +0200
+Subject: [PATCH] setup.py: Migrate away from deprecated distutils.core to
+ setuptools
+
+distutils will be removed in Python 3.12, but already gives issues with 3.10 
as well.
+
+/mnt/5ba5d474-0b2d-49d6-a5a6-9de20c3ac967/kirkstone/webos-ports/tmp-glibc/work/core2-64-webos-linux/python3-gbinder/1.0.0+gitAUTOINC+da16278f0d-r0/git/setup.py:2:
 DeprecationWarning: The distutils package is deprecated and slated for removal 
in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
+  from distutils.core import setup, Extension
+Compiling gbinder.pyx because it changed.
+[1/1] Cythonizing gbinder.pyx
+usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
+   or: setup.py --help [cmd1 cmd2 ...]
+   or: setup.py --help-commands
+   or: setup.py cmd --help
+
+error: invalid command 'bdist_wheel'
+ERROR: 'python3 setup.py bdist_wheel sdist --cython' execution failed.
+WARNING: exit code 1 from a shell command.
+
+Signed-off-by: Herman van Hazendonk 
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index ed2b1ed..6060f84 100644
+--- a/setup.py
 b/setup.py
+@@ -1,5 +1,5 @@
+ import sys, subprocess
+-from distutils.core import setup, Extension
++from setuptools import setup, Extension
+ 
+ 
+ def pkgconfig(package, kw):

diff --git a/dev-python/gbinder/gbinder-.ebuild 
b/dev-python/gbinder/gbinder-1.1.1-r10.ebuild
similarity index 68%
copy from dev-python/gbinder/gbinder-.ebuild
copy to dev-python/gbinder/gbinder-1.1.1-r10.ebuild
index 913d0d608..aa03fbfe9 100644
--- a/dev-python/gbinder/gbinder-.ebuild
+++ b/dev-python/gbinder/gbinder-1.1.1-r10.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
+
+DISTUTILS_USE_PEP517="setuptools"
 
 inherit distutils-r1
 
@@ -12,8 +14,7 @@ if [[ ${PV} != ** ]]; then
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"

SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
-   PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 else
inherit git-r3
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git;
@@ -24,13 +25,20 @@ HOMEPAGE="https://github.com/erfanoabdi/gbinder-python;
 LICENSE="GPL-3"
 SLOT="0"
 
-DEPEND="dev-libs/gbinder"
+PATCHES=(
+   "${FILESDIR}"/gbinder-1.1.1-setuptools.patch
+)
+
+
+DEPEND="dev-libs/gbinder
+   dev-libs/libglibutil"
 RDEPEND="${DEPEND}"
 BDEPEND="
virtual/pkgconfig
dev-python/cython[${PYTHON_USEDEP}]
+   ${DISTUTILS_DEPS}
 "
 
-python_compile() {
-   distutils-r1_python_compile 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/

2023-02-25 Thread Denis Reva
commit: ff9426214d70526baed0f9b76853cc68fe480195
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 25 12:03:53 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 25 12:05:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff942621

dev-python/gbinder: Remove legacy version

Signed-off-by: Denis Reva  gmail.com>

 dev-python/gbinder/Manifest |  1 -
 dev-python/gbinder/gbinder-1.0.0.ebuild | 36 -
 2 files changed, 37 deletions(-)

diff --git a/dev-python/gbinder/Manifest b/dev-python/gbinder/Manifest
index 3bc720ddf..f3c1328de 100644
--- a/dev-python/gbinder/Manifest
+++ b/dev-python/gbinder/Manifest
@@ -1,2 +1 @@
-DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B 
dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1
 SHA512 
3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51
 DIST gbinder-1.1.1.tar.gz 24340 BLAKE2B 
d93d332e0c8a04c5adbf0ca2680d32a7e8d7b0ba8350f50b365966b8bce082456b3463509334831fc376ebecc0f2dd67542bd5d45c94e028d325458944a70147
 SHA512 
1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03

diff --git a/dev-python/gbinder/gbinder-1.0.0.ebuild 
b/dev-python/gbinder/gbinder-1.0.0.ebuild
deleted file mode 100644
index 913d0d608..0
--- a/dev-python/gbinder/gbinder-1.0.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit distutils-r1
-
-if [[ ${PV} != ** ]]; then
-   MY_PN="${PN}-python"
-   MY_P="${MY_PN}-${PV}"
-   S="${WORKDIR}/${MY_P}"
-   
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
-   PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
-else
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git;
-fi
-
-DESCRIPTION="Python bindings for libgbinder"
-HOMEPAGE="https://github.com/erfanoabdi/gbinder-python;
-LICENSE="GPL-3"
-SLOT="0"
-
-DEPEND="dev-libs/gbinder"
-RDEPEND="${DEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   dev-python/cython[${PYTHON_USEDEP}]
-"
-
-python_compile() {
-   distutils-r1_python_compile --cython
-}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-02-24 Thread Denis Reva
commit: 099b63066cb633d7a5739dfb0cad4b3a872def75
Author: Denis Reva  gmail  com>
AuthorDate: Fri Feb 24 11:08:53 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Fri Feb 24 11:08:53 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=099b6306

media-libs/amdvlk: Fixed typo that caused fatal sandbox violation

Closes: https://bugs.gentoo.org/896194
Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild 
b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
index 174b51f9b..6c5338ce4 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -90,7 +90,7 @@ src_prepare() {
einfo "moving src to proper directories"
mkdir third_party || die
mv xgl-${XGL_COMMIT}/ xgl || die
-   mv pal-${PAL_COMMIT}/ /pal || die
+   mv pal-${PAL_COMMIT}/ pal || die
mv llpc-${LLPC_COMMIT}/ llpc || die
mv gpurt-${GPURT_COMMIT}/ gpurt || die
mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-02-23 Thread Denis Reva
commit: 9bddb4cfb5587a2b091b782f33f7f10234fe45e5
Author: Denis Reva  gmail  com>
AuthorDate: Thu Feb 23 13:44:44 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Thu Feb 23 13:44:44 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bddb4cf

media-libs/amdvlk: Small fixes of layout

https://github.com/gentoo/guru/commit/baeafbaeb18524d51b4b7910179fa8a8ebcc2c7e#diff-
06ce37edf43c00e6441b3fe6f7d2fd52b971cb73b3d3d491c0bcb8d774ca3593R106

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 27 +--
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild 
b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
index a1cf34afa..174b51f9b 100644
--- a/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
+++ b/media-libs/amdvlk/amdvlk-2023.1.1.ebuild
@@ -88,17 +88,16 @@ pkg_pretend(){
 
 src_prepare() {
einfo "moving src to proper directories"
-   mkdir -p "${S}"
-   mkdir -p "${S}/third_party"
-   mv xgl-${XGL_COMMIT}/ "${S}/xgl"
-   mv pal-${PAL_COMMIT}/ "${S}/pal"
-   mv llpc-${LLPC_COMMIT}/ "${S}/llpc"
-   mv gpurt-${GPURT_COMMIT}/ "${S}/gpurt"
-   mv llvm-project-${LLVM_PROJECT_COMMIT}/ "${S}/llvm-project"
-   rm -d "${S}"/llpc/imported/llvm-dialects/ || die
-   mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ 
"${S}"/llpc/imported/llvm-dialects/
-   mv MetroHash-${METROHASH_COMMIT}/ "${S}/third_party/metrohash"
-   mv CWPack-${CWPACK_COMMIT}/ "${S}/third_party/cwpack"
+   mkdir third_party || die
+   mv xgl-${XGL_COMMIT}/ xgl || die
+   mv pal-${PAL_COMMIT}/ /pal || die
+   mv llpc-${LLPC_COMMIT}/ llpc || die
+   mv gpurt-${GPURT_COMMIT}/ gpurt || die
+   mv llvm-project-${LLVM_PROJECT_COMMIT}/ llvm-project || die
+   rm -d llpc/imported/llvm-dialects/ || die
+   mv llvm-dialects-${LLVM_DIALECTS_COMMIT}/ llpc/imported/llvm-dialects/ 
|| die
+   mv MetroHash-${METROHASH_COMMIT}/ third_party/metrohash || die
+   mv CWPack-${CWPACK_COMMIT}/ third_party/cwpack || die
cmake_src_prepare
 }
 
@@ -128,9 +127,9 @@ multilib_check_headers() {
 multilib_src_install_all() {
default
einfo "Removing unused LLVM parts…"
-   rm "${D}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
-   rm "${D}"/usr/lib/libRemarks* || die "Can't remove unused LLVM 
libRemarks library"
-   rm -r "${D}"/usr/lib/cmake || die "Can't remove unused LLVM cmake 
folder"
+   rm "${ED}"/usr/lib/libLTO* || die "Can't remove unused LLVM lto library"
+   rm "${ED}"/usr/lib/libRemarks* || die "Can't remove unused LLVM 
libRemarks library"
+   rm -r "${ED}"/usr/lib/cmake || die "Can't remove unused LLVM cmake 
folder"
einfo "Removal done"
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/DirectXShaderCompiler/

2023-02-23 Thread Denis Reva
commit: b14378ae99003b9aeb5724fa8032aa64ac53e029
Author: Denis Reva  gmail  com>
AuthorDate: Thu Feb 23 13:34:49 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Thu Feb 23 13:34:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b14378ae

dev-util/DirectXShaderCompiler: Fixed new version of directx shader compiller

Attempt of unbundling is unsuccessfull

It seems sticked with bundled libraries

Signed-off-by: Denis Reva  gmail.com>

 .../DirectXShaderCompiler-1.7.2212.ebuild  | 27 ++
 dev-util/DirectXShaderCompiler/Manifest|  3 +++
 dev-util/DirectXShaderCompiler/metadata.xml|  1 +
 3 files changed, 21 insertions(+), 10 deletions(-)

diff --git 
a/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild 
b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild
index cf2cfa70e..66a2e0eab 100644
--- a/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild
+++ b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild
@@ -3,25 +3,29 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit cmake check-reqs python-any-r1
 
 DESCRIPTION="Microsoft DirectX Shader Compiler which is based on LLVM/Clang"
 HOMEPAGE="https://github.com/microsoft/DirectXShaderCompiler;
-# ToDo: unbundle spirv headers/tools
-SPIRV_HEADERS_COMMIT_MAGIC="0bcc624926a25a2a273d07877fd25a6ff5ba1cfb"
-SPIRV_TOOLS_COMMIT_MAGIC="71b2aee6c868a673ec82d1385f97593aa2881316"
+# ToDo: unbundle spirv headers/tools and directx headers
+SPIRV_HEADERS_COMMIT_MAGIC="d13b5c39a7e9a401b44646f0ca3a640fbd47"
+SPIRV_TOOLS_COMMIT_MAGIC="f36a8d47f738cc612c7dd89f145a15465ab437cd"
+DIRECTX_HEADERS_COMMIT_MAGIC="980971e835876dc0cde415e8f9bc646e64667bf7"
 
SRC_URI="https://github.com/microsoft/DirectXShaderCompiler/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
 
https://github.com/KhronosGroup/SPIRV-Headers/archive/${SPIRV_HEADERS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-headers-${SPIRV_HEADERS_COMMIT_MAGIC}.tar.gz
-https://github.com/KhronosGroup/SPIRV-Tools/archive/${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-tools-${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz"
+https://github.com/KhronosGroup/SPIRV-Tools/archive/${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-tools-${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz
+https://github.com/microsoft/DirectX-Headers/archive/${DIRECTX_HEADERS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-directxheaders-${DIRECTX_HEADERS_COMMIT_MAGIC}.tar.gz"
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc"
 SLOT="0"
-KEYWORDS=""
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 
-DEPEND="${PYTHON_DEPS}
-   dev-util/directx-headers"
+DEPEND="${PYTHON_DEPS}"
+# Todo: unbundle
+#  dev-util/directx-headers
+#  dev-util/spirv-headers
+#  dev-util/spirv-tools
 RDEPEND="
sys-libs/zlib:0=
>=dev-libs/libffi-3.4.2-r1:0=
@@ -35,9 +39,12 @@ CHECKREQS_DISK_BUILD="4G"
 CMAKE_EXTRA_CACHE_FILE="${S}/cmake/caches/PredefinedParams.cmake"
 
 src_prepare() {
-   rm -d "${S}"/external/SPIRV*
+   rm -d "${S}"/external/SPIRV* || die
+   rm -d "${S}"/external/DirectX* || die
mv "${WORKDIR}/SPIRV-Headers-${SPIRV_HEADERS_COMMIT_MAGIC}" 
"${S}/external/SPIRV-Headers" || die "can't move headers"
mv "${WORKDIR}/SPIRV-Tools-${SPIRV_TOOLS_COMMIT_MAGIC}" 
"${S}/external/SPIRV-Tools"|| die "can't move tools"
+   mv "${WORKDIR}/DirectX-Headers-${DIRECTX_HEADERS_COMMIT_MAGIC}" 
"${S}/external/DirectX-Headers"|| die "can't move DXH"
+
cmake_src_prepare
 }
 

diff --git a/dev-util/DirectXShaderCompiler/Manifest 
b/dev-util/DirectXShaderCompiler/Manifest
index 40023ce0d..698c475b5 100644
--- a/dev-util/DirectXShaderCompiler/Manifest
+++ b/dev-util/DirectXShaderCompiler/Manifest
@@ -1,4 +1,7 @@
 DIST DirectXShaderCompiler-1.7.2207.tar.gz 23764105 BLAKE2B 
4b3bab8a961cdec96fd31da85386cf61af304d5ed1f6dcb40530bb2b084bc454f42ecfcbf9bcb228ecd2870c13b7b211509e05e3b7ed08ee3c2ed264505d162d
 SHA512 
4faa6b53f2f694c9593ebf4ac02ce771fe1cb1822595799dc3a6c85752de701afe546b5fbdfedcc0ba466b0081bc679fca1fd7fb5fc05167c7449fb378a1c651
 DIST DirectXShaderCompiler-1.7.2212.tar.gz 23855402 BLAKE2B 
0a6ffd8f9b4e716b5c5d8eb9708f79c95397f6c0d76e6b7769b5d47f1ea650941440f9eeb530654bdec84f02be8ed272278b19f00826f7d3d088d2d7170c7531
 SHA512 
54eb737c56948a46182158141ca8d0bd908a9fec122d93fcee53f8abfe707f0075de7ec6bd86ac5d58a3472110ba29f5849c9ad75f570c540c1a22c403ecb3b5
+DIST 
DirectXShaderCompiler-directxheaders-980971e835876dc0cde415e8f9bc646e64667bf7.tar.gz
 326310 BLAKE2B 
8ea4bbae290926c08d02d1a1262e8

[gentoo-commits] repo/proj/guru:dev commit in: dev-util/DirectXShaderCompiler/

2023-02-18 Thread Denis Reva
commit: 455d4433bc5c31d26f8fcdd634d74c8bb2461504
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 18 10:22:36 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 18 10:24:47 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455d4433

dev-util/DirectXShaderCompiler: Preliminary update. New version is still 
borked, need update

Bug: https://bugs.gentoo.org/895234
Signed-off-by: Denis Reva  gmail.com>

 .../DirectXShaderCompiler-1.7.2212.ebuild  | 66 ++
 dev-util/DirectXShaderCompiler/Manifest|  1 +
 2 files changed, 67 insertions(+)

diff --git 
a/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild 
b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild
new file mode 100644
index 0..cf2cfa70e
--- /dev/null
+++ b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2212.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit cmake check-reqs python-any-r1
+
+DESCRIPTION="Microsoft DirectX Shader Compiler which is based on LLVM/Clang"
+HOMEPAGE="https://github.com/microsoft/DirectXShaderCompiler;
+# ToDo: unbundle spirv headers/tools
+SPIRV_HEADERS_COMMIT_MAGIC="0bcc624926a25a2a273d07877fd25a6ff5ba1cfb"
+SPIRV_TOOLS_COMMIT_MAGIC="71b2aee6c868a673ec82d1385f97593aa2881316"
+SRC_URI="https://github.com/microsoft/DirectXShaderCompiler/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
+https://github.com/KhronosGroup/SPIRV-Headers/archive/${SPIRV_HEADERS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-headers-${SPIRV_HEADERS_COMMIT_MAGIC}.tar.gz
+https://github.com/KhronosGroup/SPIRV-Tools/archive/${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz
 -> DirectXShaderCompiler-tools-${SPIRV_TOOLS_COMMIT_MAGIC}.tar.gz"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}
+   dev-util/directx-headers"
+RDEPEND="
+   sys-libs/zlib:0=
+   >=dev-libs/libffi-3.4.2-r1:0=
+"
+BDEPEND="dev-util/cmake
+   sys-devel/gnuconfig
+"
+
+CHECKREQS_MEMORY="4G"
+CHECKREQS_DISK_BUILD="4G"
+CMAKE_EXTRA_CACHE_FILE="${S}/cmake/caches/PredefinedParams.cmake"
+
+src_prepare() {
+   rm -d "${S}"/external/SPIRV*
+   mv "${WORKDIR}/SPIRV-Headers-${SPIRV_HEADERS_COMMIT_MAGIC}" 
"${S}/external/SPIRV-Headers" || die "can't move headers"
+   mv "${WORKDIR}/SPIRV-Tools-${SPIRV_TOOLS_COMMIT_MAGIC}" 
"${S}/external/SPIRV-Tools"|| die "can't move tools"
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -Wno-dev
+   -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/dxc"
+   -DLLVM_BUILD_DOCS=0
+   -DLLVM_BUILD_TOOLS=0
+   -DSPIRV_BUILD_TESTS=0
+   -DLLVM_ENABLE_WERROR=0
+   -DSPIRV_WERROR=0
+   -DSPIRV_WARN_EVERYTHING=0
+   -DBUILD_SHARED_LIBS=OFF
+   -DLLVM_VERSION_SUFFIX=dxc
+   )
+   cmake_src_configure
+}
+src_install() {
+   cmake_src_install
+   cat > "99${PN}" <<-EOF
+   LDPATH="${EPREFIX}/usr/lib/llvm/dxc/lib"
+   EOF
+   doenvd "99${PN}"
+   dosym -r /usr/lib/llvm/dxc/bin/dxc /usr/bin/dxc
+}

diff --git a/dev-util/DirectXShaderCompiler/Manifest 
b/dev-util/DirectXShaderCompiler/Manifest
index dd49913b2..40023ce0d 100644
--- a/dev-util/DirectXShaderCompiler/Manifest
+++ b/dev-util/DirectXShaderCompiler/Manifest
@@ -1,3 +1,4 @@
 DIST DirectXShaderCompiler-1.7.2207.tar.gz 23764105 BLAKE2B 
4b3bab8a961cdec96fd31da85386cf61af304d5ed1f6dcb40530bb2b084bc454f42ecfcbf9bcb228ecd2870c13b7b211509e05e3b7ed08ee3c2ed264505d162d
 SHA512 
4faa6b53f2f694c9593ebf4ac02ce771fe1cb1822595799dc3a6c85752de701afe546b5fbdfedcc0ba466b0081bc679fca1fd7fb5fc05167c7449fb378a1c651
+DIST DirectXShaderCompiler-1.7.2212.tar.gz 23855402 BLAKE2B 
0a6ffd8f9b4e716b5c5d8eb9708f79c95397f6c0d76e6b7769b5d47f1ea650941440f9eeb530654bdec84f02be8ed272278b19f00826f7d3d088d2d7170c7531
 SHA512 
54eb737c56948a46182158141ca8d0bd908a9fec122d93fcee53f8abfe707f0075de7ec6bd86ac5d58a3472110ba29f5849c9ad75f570c540c1a22c403ecb3b5
 DIST 
DirectXShaderCompiler-headers-0bcc624926a25a2a273d07877fd25a6ff5ba1cfb.tar.gz 
437771 BLAKE2B 
08815e36ad99b84777e38ad0c5616b6608a552f993e7f67433f2b8e20de81e9bce41420ac5998f5b67bca70a92ce70aed91b238990bd431c7b97070dfb0c5a60
 SHA512 
5995cf75d5605d41e9643bca81c195ef5aaa17d596e0282807f6fa8f8c494f7b63a41d611c535ae43dc3d609436aabef1e0d89626f37e6f20bad17b5e122e32c
 DIST 
DirectXShaderCompiler-tools-71b2aee6c868a673ec82d1385f97593aa2881316.tar.gz 
3042018 BLAKE2B 
e9d62559fc270c4140f2638a51b8d14120d84a868a35c488f30bff1b098a98fa1683e85b0778208de61a0b5c0b3f0996071e655a8fa64cc7c3c791527ff9441a
 SHA512 
68f80e4a3395ba7c87ab08f515d265f0c106f39770e043cc8eba5e62f2762405e05e4b5b187e33702ce0a2204fc9d42cbf7ce27a6268daf59f4ab4c04b73d462



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-02-18 Thread Denis Reva
commit: baeafbaeb18524d51b4b7910179fa8a8ebcc2c7e
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 18 09:34:00 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 18 09:34:00 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baeafbae

media-libs/amdvlk: updated to 2023.1.1

see https://github.com/GPUOpen-Drivers/AMDVLK/releases/tag/v-2023.Q1.1

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/Manifest   |   6 ++
 media-libs/amdvlk/amdvlk-2023.1.1.ebuild | 146 +++
 2 files changed, 152 insertions(+)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index 51a872515..065054eba 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,7 +1,13 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 
BLAKE2B 
d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3
 SHA512 
06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
+DIST amdvlk-LLVM-dialects-d12df4e895733e0adf8364f22349d92a000ae30d.tar.gz 
33556 BLAKE2B 
c8e005345e965b1ce2d3977886a4939291d00fc4483f7a22b18399c1e0c7e39f766f50d7fb873e5defee58c2f57980b0692e70a11144d0e08e29ac9a57c9fa40
 SHA512 
77f37150bfcb26f657461c457b4240ba1d339b661521b1633d625439ee5cbcd1765b1eba9dd8239548692058a2e69df6cb359baee5bbb4d3e45d9d664ce04bc7
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 
BLAKE2B 
b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb
 SHA512 
8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST amdvlk-gpurt-1f0c4f7e9cea22452e5e20a6cdfc4a84a2bf5bac.tar.gz 303454 
BLAKE2B 
78304f4d3b0c7eab927698cc7e4b5fc1a746e94d7929278a1f48653ad9425e52b6758f0d72e974c6bd2e5fc7a6da33002aab82fe752f00a324a618935db04e2d
 SHA512 
91cbdf539eb6bb23316fd3a2654564ecf516fa42789f70c259402370adcc25de05d376bce665466cee9d8328022662a1fcc4d668d432a6feeec879aa8efebe7a
+DIST amdvlk-gpurt-e19c8ceca056f0b0d24ca4ecd654ef21d40ea063.tar.gz 303085 
BLAKE2B 
51efb5bfc62496225ff2ef82760b7d6e5b7b484a43f100a6eec870d6f29c353c3d83c66896687d1ff6a0f2a8569cae157b120642ea1185d1157d95606b08cb2c
 SHA512 
998570f5df17ac2ce457acf5732f0e4ce813403362ea7b88e9805eb6180d92f55933494f204d85549a02e804a8204b35ddfc83e8bd166a8d0c212078cac27ec9
 DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 
BLAKE2B 
2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b
 SHA512 
0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
+DIST amdvlk-llpc-ffc49b2a07dea2754c1f7f3457a4ab5b4129c422.tar.gz 2599441 
BLAKE2B 
38c7596947afaf1a40b1e834714d98404aa40a5101a6f989f9cb0a08cae57c8229165241aae1f232511e91b7f1f9bb8c8ba668960dae888e06e2e9f80d6cf386
 SHA512 
831645a6a107569cec5823a9383de0fb01d7ad469cc14d21e9fd673d3c2efaa4dcb7e7e2453437ced7a2e73c35bcae4b72eb0e9f662b16849ddf310c37dd913d
 DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 
167651563 BLAKE2B 
4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac
 SHA512 
5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
+DIST amdvlk-llvm-project-916f05c15939f5c94a3ec95d5b1fd6dbaf6c1ee4.tar.gz 
167651090 BLAKE2B 
5d5be2f308f7ca4e12b9bb67fcb33f05245719c0388befe28fd327a4d17b15298a5730ef65dbecb260c4d3f436b5c1204c111e31953fe8ce402df6f4430e865f
 SHA512 
13f87d75d11c779c3e791ee619ba847ca36951d3a6db11441bde455e82936dfee29c21f15412bde711ac5f957be908c80d9248e945be3b0aa59777608b91cd9e
+DIST amdvlk-pal-042362399cdac1019fbc7f0ace8489aee2907883.tar.gz 12426374 
BLAKE2B 
b4cd6f3496e9146e481de339128cb6b4be735aec2982f45af9806ce8647cd5e5cc3470dc4bcf82f354f03c227faff3f63148444ac26fd1a54ecdfd9844cff7e7
 SHA512 
5845d3bdc312915b07b1b59df387d4611ad280c499a8fdb1fa2ec0eba37a286179461b0eb445ac32646cd2c4842670f5e48f26b15a2a4b76864d7efb3fba3e69
 DIST amdvlk-pal-287ef684bc36a86af55d4ed1c4c4f4c35577e21e.tar.gz 12279943 
BLAKE2B 
ffe41d37ce2c744196520296fd7e4e91445a1e0b8f8c25aa90c5cc0f572aec645ddb85c80f995dc8e7e9a0c78845fd6f419f747360c824efa1ec5da0a031e071
 SHA512 
15901e5ac974bee92cf2de43b5cd48f38d3625e2a6049dcae767dc128334a92419eda4a8db77f31503e79b72ff495e4ead4b9e34c5ed2e4ae4124c9a100133f3
+DIST amdvlk-xgl-67cd9d1d3016c0522ddf83ba0a0b2bda0de27d4c.tar.gz 1243619 
BLAKE2B 
46f133a057158f293daa0c37bb60ca87d96728f7becffe5c78839b0658f9237ed1c5b11d57e569f0b62e7542a4f48afbada6527eb5e9c2cb62cbda8b4dd2bd2

[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/

2023-02-17 Thread Denis Reva
commit: 8833800b1040bb14980aa5d5ee4607935a555dae
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 18 07:32:01 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 18 07:32:01 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8833800b

dev-libs/gbinder: gbinder updated to 1.1.32

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/gbinder/Manifest  |  1 +
 dev-libs/gbinder/gbinder-1.1.32.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest
index 5667b8a36..dc65cca8b 100644
--- a/dev-libs/gbinder/Manifest
+++ b/dev-libs/gbinder/Manifest
@@ -1 +1,2 @@
 DIST gbinder-1.1.30.tar.gz 205795 BLAKE2B 
a61b720a3d2b9fe79a4754c2e58569d05d8a16bd5dd35ac4e7616401b804604245e2b13a6ef12043737a00ce2f983bc01b408c5b2b68fe0db1b9c9e15b68ca84
 SHA512 
24e4e5156ab3f90dc2255b40ed6e74d0f14bce61879891179ae7291622b4179dd769749635f2811bc8a9f868257224385cf90ab43bd36a52e2f30e92ecb7ffd4
+DIST gbinder-1.1.32.tar.gz 204284 BLAKE2B 
8a4f62c0d4988a02b32b659ea0f959e465ead1ea962504f7ae1aa36687235e522deeba3dc7206e32bb1d7c292de760266d8bb18a85da29df06affe49cd59c95f
 SHA512 
3e4fbfbda627b189faf3eee183548cd4cda8a8b1b94b9f8d03572f1d3bc6fe13907f19104f28e5609f266d4c05c4bdb54c1c5ffbc6c537c9774d1def1d4cb09b

diff --git a/dev-libs/gbinder/gbinder-1.1.32.ebuild 
b/dev-libs/gbinder/gbinder-1.1.32.ebuild
new file mode 100644
index 0..c900ed13f
--- /dev/null
+++ b/dev-libs/gbinder/gbinder-1.1.32.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/mer-hybris/libgbinder.git;
+else
+   MY_PN="lib${PN}"
+   MY_P="${MY_PN}-${PV}"
+   S="${WORKDIR}/${MY_P}"
+   SRC_URI="https://github.com/mer-hybris/libgbinder/archive/${PV}.tar.gz  
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="GLib-style interface to binder"
+HOMEPAGE="https://github.com/mer-hybris/libgbinder;
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-libs/libglibutil"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig
+   sys-apps/sed"
+
+PATCHES=(
+   "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
+)
+src_prepare() {
+   default
+   sed -i -e "s|ranlib|$(tc-getRANLIB)|" \
+   Makefile \
+   || die
+}
+
+src_compile() {
+   emake LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/files/, dev-libs/libglibutil/

2023-02-17 Thread Denis Reva
commit: ef76e641ad886156fba54c21ffddc07619cf4f74
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 18 07:29:08 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 18 07:29:08 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef76e641

dev-libs/libglibutil: Updated to 1.0.68

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/Manifest  |  1 +
 .../files/libglibutil-1.0.68-respect-env.patch | 57 ++
 dev-libs/libglibutil/libglibutil-1.0.68.ebuild | 36 ++
 3 files changed, 94 insertions(+)

diff --git a/dev-libs/libglibutil/Manifest b/dev-libs/libglibutil/Manifest
index d06f4a980..9b1701cb8 100644
--- a/dev-libs/libglibutil/Manifest
+++ b/dev-libs/libglibutil/Manifest
@@ -1 +1,2 @@
 DIST libglibutil-1.0.67.tar.gz 58717 BLAKE2B 
b53f6b416b974a0b7d24dba1c8497e5c8eceec32734006ab7c2bc5e5ce45e70ce63a0719f7a10127b90ad88394220edc4d2a97825fb82f7173bb68032e5f2e48
 SHA512 
5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541
+DIST libglibutil-1.0.68.tar.gz 60087 BLAKE2B 
449952f5fc8791ab7ede3876cf473486bbd73e36c41353c8d54b528a483453ffbc0c0f7a39b5748626d967e8cc4a667c83f97f297d5a7169ea066f111da1eb78
 SHA512 
8437c9eb125a42e9a4fcd1063818472a1e6a27375189b9996d2ce2c4c96de813b532dd7806d917164987fb4d6e5d67bd981b251b3c0f33cc66e9dd857de04fa1

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.68-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.68-respect-env.patch
new file mode 100644
index 0..ee06f79d5
--- /dev/null
+++ b/dev-libs/libglibutil/files/libglibutil-1.0.68-respect-env.patch
@@ -0,0 +1,57 @@
+diff --git a/Makefile b/Makefile
+index 7198243..8a1a698 100644
+--- a/Makefile
 b/Makefile
+@@ -81,20 +81,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
+   -MMD -MP $(shell pkg-config --cflags $(PKGS))
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+   $(shell pkg-config --libs $(PKGS))
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS =
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS =
+ 
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++#RELEASE_FLAGS +=
+ endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) -O0 --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+ 
+ #
+ # Files
+@@ -120,11 +120,11 @@ COVERAGE_STATIC_LIB = $(COVERAGE_BUILD_DIR)/$(STATIC_LIB)
+ #
+ 
+ DEPS = $(DEBUG_OBJS:%.o=%.d) $(RELEASE_OBJS:%.o=%.d) $(COVERAGE_OBJS:%.o=%.d)
+-ifneq ($(MAKECMDGOALS),clean)
+-ifneq ($(strip $(DEPS)),)
+--include $(DEPS)
+-endif
+-endif
++#ifneq ($(MAKECMDGOALS),clean)
++#ifneq ($(strip $(DEPS)),)
++#-include $(DEPS)
++#endif
++#endif
+ 
+ $(PKGCONFIG): | $(BUILD_DIR)
+ $(DEBUG_OBJS) $(DEBUG_LIB) $(DEBUG_STATIC_LIB): | $(DEBUG_BUILD_DIR)
+@@ -192,7 +192,7 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
+ $(RELEASE_LIB): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+ ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
++# $(STRIP) $@
+ endif
+ 
+ $(DEBUG_LINK): $(DEBUG_LIB)

diff --git a/dev-libs/libglibutil/libglibutil-1.0.68.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.68.ebuild
new file mode 100644
index 0..2dc818e85
--- /dev/null
+++ b/dev-libs/libglibutil/libglibutil-1.0.68.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
+else
+   SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Library of glib utilities from sailfishos project"
+HOMEPAGE="https://github.com/sailfishos/libglibutil;
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-libs/glib"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+PATCHES=(
+   "${FILESDIR}/libglibutil-1.0.68-respect-env.patch"
+)
+
+src_compile() {
+   emake LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/

2023-02-17 Thread Denis Reva
commit: 37f3c8845d7e3a713d4f13f3abaf3d9453e6059d
Author: Denis Reva  gmail  com>
AuthorDate: Sat Feb 18 07:14:08 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sat Feb 18 07:16:28 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37f3c884

app-containers/waydroid: Waydroid launcher updated to 1.4.0

Signed-off-by: Denis Reva  gmail.com>

 app-containers/waydroid/Manifest| 2 +-
 .../waydroid/{waydroid-1.3.4-r6.ebuild => waydroid-1.4.0.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-containers/waydroid/Manifest b/app-containers/waydroid/Manifest
index 85bc68429..249078cee 100644
--- a/app-containers/waydroid/Manifest
+++ b/app-containers/waydroid/Manifest
@@ -1 +1 @@
-DIST waydroid-1.3.4.tar.gz 231638 BLAKE2B 
73418208e484172745208caa89442478643327a77a8642536a26c538129ce57e643728a22d64393b4d344502b221b124c4000c1df0838aefc5af6996e7e8bab3
 SHA512 
2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5
+DIST waydroid-1.4.0.tar.gz 237562 BLAKE2B 
28f711bf0fe8b5254739d1a6769f466bcc593f3c61df1bef9e2a3fab80a97fe44b9509907c100e3178e343fd264955894b38ee1be5b6ce0c6ea5d473b6958a7f
 SHA512 
2f1e4c112dbe68ad15d69441a37ba631d148c95810f0ca1e6e1c45461089d5f5e0990a58c2324449b69199b6b24d32c110063c4dfaf89b537779915ec3f3b69d

diff --git a/app-containers/waydroid/waydroid-1.3.4-r6.ebuild 
b/app-containers/waydroid/waydroid-1.4.0.ebuild
similarity index 100%
rename from app-containers/waydroid/waydroid-1.3.4-r6.ebuild
rename to app-containers/waydroid/waydroid-1.4.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2023-01-13 Thread Denis Reva
commit: a52e8412d22d57906ced741a5de53d6147ee2729
Author: Denis Reva  gmail  com>
AuthorDate: Fri Jan 13 10:12:57 2023 +
Commit:     Denis Reva  gmail  com>
CommitDate: Fri Jan 13 10:13:06 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a52e8412

media-libs/amdvlk: Added missed openssl dependency

Closes: https://bugs.gentoo.org/890449
Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 0505c561d..cbb989145 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -32,7 +32,8 @@ RDEPEND=" ${DEPEND}
x11-libs/libxcb[${MULTILIB_USEDEP}]
x11-libs/libxshmfence[${MULTILIB_USEDEP}]
>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
-   dev-util/glslang[${MULTILIB_USEDEP}]"
+   dev-util/glslang[${MULTILIB_USEDEP}]
+   dev-libs/openssl[${MULTILIB_USEDEP}]" #890449
 
 CHECKREQS_MEMORY="7G"
 CHECKREQS_DISK_BUILD="4G"



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2022-12-28 Thread Denis Reva
commit: cfa024528f6c1af4bbb36208f39fa61ec169e952
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 28 17:56:27 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 28 17:56:35 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfa02452

media-libs/amdvlk: removed unused cmake flag

Closes: https://bugs.gentoo.org/888749
Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 6440d31e0..0505c561d 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -102,7 +102,6 @@ multilib_src_configure() {
-DLLVM_VERSION_SUFFIX="-amdvlk"
-DLLVM_HOST_TRIPLE="${CHOST}"
-DLLVM_ENABLE_WERROR=OFF
-   -DSPVGEN_ENABLE_WERROR=OFF
-DENABLE_WERROR=OFF
-DVAM_ENABLE_WERROR=OFF
-DICD_ANALYSIS_WARNINGS_AS_ERRORS=OFF



[gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/files/

2022-12-28 Thread Denis Reva
commit: acdf2c33adfeb34cd41fc941fe586e00952a81f2
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 28 09:37:49 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 28 10:23:05 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=acdf2c33

app-containers/waydroid: deleted accidently added file from index

Signed-off-by: Denis Reva  gmail.com>

 app-containers/waydroid/files/waydroid | 9 -
 1 file changed, 9 deletions(-)

diff --git a/app-containers/waydroid/files/waydroid 
b/app-containers/waydroid/files/waydroid
deleted file mode 100644
index d9e590592..0
--- a/app-containers/waydroid/files/waydroid
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/openrc-run
-description="Waydroid Container Manager"
-start() {
-  waydroid container start &
-}
-stop() {
-  waydroid container stop 
-  waydroid session stop
-}
\ No newline at end of file



[gentoo-commits] repo/proj/guru:dev commit in: app-containers/waydroid/files/, app-containers/waydroid/

2022-12-28 Thread Denis Reva
commit: 8dad56e14f2339e25ca28be2268428d0228a7451
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 28 10:22:57 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 28 10:23:05 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dad56e1

app-containers/waydroid: added openrc daemon and emerge --config

Signed-off-by: Denis Reva  gmail.com>

 app-containers/waydroid/files/waydroid|  9 +
 ...droid-1.3.4-r5.ebuild => waydroid-1.3.4-r6.ebuild} | 19 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/app-containers/waydroid/files/waydroid 
b/app-containers/waydroid/files/waydroid
new file mode 100755
index 0..82aba2c4e
--- /dev/null
+++ b/app-containers/waydroid/files/waydroid
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Waydroid Container Manager"
+command="/usr/bin/waydroid"
+command_args="container start"
+command_background=true
+pidfile="/run/${RC_SVCNAME}.pid"

diff --git a/app-containers/waydroid/waydroid-1.3.4-r5.ebuild 
b/app-containers/waydroid/waydroid-1.3.4-r6.ebuild
similarity index 81%
rename from app-containers/waydroid/waydroid-1.3.4-r5.ebuild
rename to app-containers/waydroid/waydroid-1.3.4-r6.ebuild
index df767cedc..d38d51203 100644
--- a/app-containers/waydroid/waydroid-1.3.4-r5.ebuild
+++ b/app-containers/waydroid/waydroid-1.3.4-r6.ebuild
@@ -42,16 +42,25 @@ ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need 
for creating Android-s
 ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers,
therefore it's vital for android-specific memory management"
 
+
+src_compile(){
+   einfo "Nothing to compile"
+}
+
 src_install() {
python_fix_shebang waydroid.py
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)
+   if ! use systemd; then
+   elog "Installing waydroid OpenRC daemon"
+   doinitd "${FILESDIR}"/waydroid
+   fi
 }
 
 pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
 
-   if not use apparmor; then
+   if ! use apparmor; then
ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
ewarn "lxc.apparmor.profile = unconfined"
@@ -62,6 +71,10 @@ pkg_postinst() {
fi
ewarn "Make sure you have NFTABLES up and running in your kernel. See"
ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
+   einfo "After package installation run ether 'emerge --config 
app-containers/waydroid'"
+   einfo "or 'waydroid init' from root shell to install android container 
runtime"
+   einfo "To run waydroid, 1. Start container: 'rc-service waydroid start'"
+   einfo "2. start wayland channel (from user shell) 'waydroid session 
start'"
einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
einfo "(does not cover Gentoo-specific things sadly)"
 }
@@ -70,3 +83,7 @@ pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
 }
+
+pkg_config() {
+   "${ROOT}"/usr/bin/waydroid init
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/, app-containers/waydroid/, app-emulation/waydroid/files/, ...

2022-12-27 Thread Denis Reva
commit: 935d044fa6cd46693239f2f5475619edeff1fe9b
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 28 06:12:09 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 28 06:12:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=935d044f

app-containers/waydroid: Changed category of waydroid from app-emulation

cause it container-based approach

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 {app-emulation => app-containers}/waydroid/Manifest | 0
 {app-emulation => app-containers}/waydroid/files/waydroid   | 0
 {app-emulation => app-containers}/waydroid/metadata.xml | 0
 {app-emulation => app-containers}/waydroid/waydroid-1.3.4-r5.ebuild | 0
 profiles/updates/4Q-2022| 1 +
 5 files changed, 1 insertion(+)

diff --git a/app-emulation/waydroid/Manifest b/app-containers/waydroid/Manifest
similarity index 100%
rename from app-emulation/waydroid/Manifest
rename to app-containers/waydroid/Manifest

diff --git a/app-emulation/waydroid/files/waydroid 
b/app-containers/waydroid/files/waydroid
similarity index 100%
rename from app-emulation/waydroid/files/waydroid
rename to app-containers/waydroid/files/waydroid

diff --git a/app-emulation/waydroid/metadata.xml 
b/app-containers/waydroid/metadata.xml
similarity index 100%
rename from app-emulation/waydroid/metadata.xml
rename to app-containers/waydroid/metadata.xml

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild 
b/app-containers/waydroid/waydroid-1.3.4-r5.ebuild
similarity index 100%
rename from app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
rename to app-containers/waydroid/waydroid-1.3.4-r5.ebuild

diff --git a/profiles/updates/4Q-2022 b/profiles/updates/4Q-2022
index d2f6e2e95..4d122c66a 100644
--- a/profiles/updates/4Q-2022
+++ b/profiles/updates/4Q-2022
@@ -1 +1,2 @@
 move kde-frameworks/kirigami-addons dev-libs/kirigami-addons
+move app-emulation/waydroid app-containers/waydroid



[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/quickjs/

2022-12-27 Thread Denis Reva
commit: b53c1131420602fa842a0a634467d10dcb191553
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 27 13:43:11 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 27 14:20:45 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b53c1131

dev-lang/quickjs: unorphaned

Signed-off-by: Denis Reva  gmail.com>

 dev-lang/quickjs/metadata.xml | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/quickjs/metadata.xml b/dev-lang/quickjs/metadata.xml
index 740ae6ba6..a9444b4d9 100644
--- a/dev-lang/quickjs/metadata.xml
+++ b/dev-lang/quickjs/metadata.xml
@@ -1,5 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   denis7...@gmail.com
+       Denis Reva
+   rarogcmex
+   
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/quickjs/files/, dev-lang/quickjs/, app-emulation/waydroid/files/

2022-12-27 Thread Denis Reva
commit: 83488982f898bc6f78dbba3f427173e84bd11e8d
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 27 14:20:35 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 27 14:20:45 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83488982

*/*: Added LTO use flag, respecting environment

Closes: https://bugs.gentoo.org/887427
Closes: https://bugs.gentoo.org/887429
Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/files/waydroid  |  9 +
 .../files/quickjs-2021-03-27-respect-env.patch | 47 ++
 dev-lang/quickjs/metadata.xml  |  3 ++
 dev-lang/quickjs/quickjs-2021.03.27.ebuild | 14 ++-
 4 files changed, 72 insertions(+), 1 deletion(-)

diff --git a/app-emulation/waydroid/files/waydroid 
b/app-emulation/waydroid/files/waydroid
new file mode 100644
index 0..d9e590592
--- /dev/null
+++ b/app-emulation/waydroid/files/waydroid
@@ -0,0 +1,9 @@
+#!/usr/bin/openrc-run
+description="Waydroid Container Manager"
+start() {
+  waydroid container start &
+}
+stop() {
+  waydroid container stop 
+  waydroid session stop
+}
\ No newline at end of file

diff --git a/dev-lang/quickjs/files/quickjs-2021-03-27-respect-env.patch 
b/dev-lang/quickjs/files/quickjs-2021-03-27-respect-env.patch
new file mode 100644
index 0..6c8c68171
--- /dev/null
+++ b/dev-lang/quickjs/files/quickjs-2021-03-27-respect-env.patch
@@ -0,0 +1,47 @@
+diff --git a/Makefile b/Makefile
+index 8fc7e55..03cec93 100644
+--- a/Makefile
 b/Makefile
+@@ -28,7 +28,7 @@ endif
+ # Windows cross compilation from Linux
+ #CONFIG_WIN32=y
+ # use link time optimization (smaller and faster executables but slower build)
+-CONFIG_LTO=y
++#CONFIG_LTO=y
+ # consider warnings as errors (for development)
+ #CONFIG_WERROR=y
+ # force 32 bit build for some utilities
+@@ -65,7 +65,7 @@ else
+ endif
+ ifdef CONFIG_CLANG
+   HOST_CC=clang
+-  CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++  CFLAGS+=-Wall -MMD -MF $(OBJDIR)/$(@F).d
+   CFLAGS += -Wextra
+   CFLAGS += -Wno-sign-compare
+   CFLAGS += -Wno-missing-field-initializers
+@@ -82,7 +82,7 @@ ifdef CONFIG_CLANG
+   endif
+ else
+   HOST_CC=gcc
+-  CFLAGS+=-g -Wall -MMD -MF $(OBJDIR)/$(@F).d
++  CFLAGS+=-Wall -MMD -MF $(OBJDIR)/$(@F).d
+   CFLAGS += -Wno-array-bounds -Wno-format-truncation
+   ifdef CONFIG_LTO
+   else
+@@ -101,11 +101,11 @@ DEFINES+=-D__USE_MINGW_ANSI_STDIO # for standard 
snprintf behavior
+ endif
+ 
+ CFLAGS+=$(DEFINES)
+-CFLAGS_DEBUG=$(CFLAGS) -O0
+-CFLAGS_SMALL=$(CFLAGS) -Os
+-CFLAGS_OPT=$(CFLAGS) -O2
++CFLAGS_DEBUG=$(CFLAGS)
++CFLAGS_SMALL=$(CFLAGS)
++CFLAGS_OPT=$(CFLAGS)
+ CFLAGS_NOLTO:=$(CFLAGS_OPT)
+-LDFLAGS+=-g
++#LDFLAGS+=
+ ifdef CONFIG_LTO
+ CFLAGS_SMALL+=-flto
+ CFLAGS_OPT+=-flto

diff --git a/dev-lang/quickjs/metadata.xml b/dev-lang/quickjs/metadata.xml
index a9444b4d9..1d24ea465 100644
--- a/dev-lang/quickjs/metadata.xml
+++ b/dev-lang/quickjs/metadata.xml
@@ -6,4 +6,7 @@
    Denis Reva
rarogcmex

+   
+   Enable Link Time Optimizations (improves 
performance and decreases size of executables)
+   
 

diff --git a/dev-lang/quickjs/quickjs-2021.03.27.ebuild 
b/dev-lang/quickjs/quickjs-2021.03.27.ebuild
index c787f5c8a..8da61d8ed 100644
--- a/dev-lang/quickjs/quickjs-2021.03.27.ebuild
+++ b/dev-lang/quickjs/quickjs-2021.03.27.ebuild
@@ -14,8 +14,12 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="lto"
 
-PATCHES=( "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" )
+PATCHES=(
+   "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch"
+   "${FILESDIR}/${PN}-2021-03-27-respect-env.patch"
+   )
 
 src_prepare() {
sed -i \
@@ -34,3 +38,11 @@ src_prepare() {
 
default
 }
+
+src_compile() {
+   if use lto; then
+   CONFIG_LTO=$(use lto) emake
+   else
+   emake
+   fi
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/quickjs/

2022-12-27 Thread Denis Reva
commit: 02da3e35e07cf1b3a22e920b7f17d42d00ceac8c
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 27 13:41:13 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 27 14:20:44 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02da3e35

dev-lang/quickjs: deleted obsolete version

Signed-off-by: Denis Reva  gmail.com>

 dev-lang/quickjs/Manifest  |  1 -
 dev-lang/quickjs/quickjs-2020.11.08.ebuild | 36 --
 2 files changed, 37 deletions(-)

diff --git a/dev-lang/quickjs/Manifest b/dev-lang/quickjs/Manifest
index 63f196f34..7d664f78e 100644
--- a/dev-lang/quickjs/Manifest
+++ b/dev-lang/quickjs/Manifest
@@ -1,2 +1 @@
-DIST quickjs-2020-11-08.tar.xz 752132 BLAKE2B 
6382bac9f42f89f63ee90af1845f3d6370d434f4b05415559801d9e8c4d06ed672b7db8296300e884a1ac8a96e174257b25097ee299689da2d6c2ece42ad680d
 SHA512 
d437813948269bab6046c0219eb20ccea45613073bea1c4eee5b553831fdaaa5e2165b14fcb436e86bf70d488200845f7821864abb6f40b115f0ef7f24971e02
 DIST quickjs-2021-03-27.tar.xz 753556 BLAKE2B 
a959da95ca4861b5675359ac81598b50a80170ec4f4d819c44d666dd4ecb5a2e11d63230f98b611d5109941f5b21f5c8f791d56d153b818408ec1c59350d5e1d
 SHA512 
eeb810083484df213bc658a8703ca3ef094b7789c2b49eed86cb4068c9f9da401ad0300261d61a163c6ea82306f3ef50bf8e29a64920f704fd8958ef08a7286c

diff --git a/dev-lang/quickjs/quickjs-2020.11.08.ebuild 
b/dev-lang/quickjs/quickjs-2020.11.08.ebuild
deleted file mode 100644
index c787f5c8a..0
--- a/dev-lang/quickjs/quickjs-2020.11.08.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_P="${PN}-${PV//./-}"
-
-DESCRIPTION="Small embeddable Javascript engine"
-HOMEPAGE="https://bellard.org/quickjs/;
-SRC_URI="https://bellard.org/quickjs/${MY_P}.tar.xz;
-S="${WORKDIR}/${MY_P}"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-PATCHES=( "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" )
-
-src_prepare() {
-   sed -i \
-   -e 's;prefix=/usr/local;prefix=/usr;' \
-   -e '/$(STRIP) .*/d' \
-   Makefile || die "Failed setting prefix"
-
-   sed -Ei '/^\s*(CC|AR)=/d' Makefile \
-   || die "Failed to remove hard-coded tools."
-
-   sed -Ei 's/(^\s*(C|LD)FLAGS)=/\1\+=/' Makefile \
-   || die "Failed to change build flag assignment into addition."
-
-   export CC="$(tc-getCC)"
-   export AR="$(tc-getAR)"
-
-   default
-}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2022-12-25 Thread Denis Reva
commit: d1cda83d1beb4f4db24a1341eb3b68a4fab2459b
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 25 13:32:11 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 25 13:32:11 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1cda83d

media-libs/amdvlk: Clarified system requirements

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 0b0f75db4..6440d31e0 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -73,7 +73,8 @@ PATCHES=(
 
 pkg_pretend(){
ewarn "It's generally recomended to have at least 16GB memory to build"
-   ewarn "However, experiments shows that if you'll use MAKEOPTS=\"-j1\" 
you can build it with 8GB RAM"
+   ewarn "However, experiments shows that if you'll use MAKEOPTS=\"-j1\" 
you can build it with 4GB RAM"
+   ewarn "or you can use MAKEOPTS=\"-j3\" with 7.5GB system memory"
ewarn "See 
https://wiki.gentoo.org/wiki/AMDVLK#Additional_system_requirements_to_build;
ewarn "Use CHECKREQS_DONOTHING=1 if you need to bypass memory checking"
 



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2022-12-25 Thread Denis Reva
commit: 5d6fc4917d4af3a5def58cc423c60ec9293f4de5
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 25 08:54:31 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 25 09:09:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d6fc491

media-libs/amdvlk: Deleted old version of amdvlk

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/Manifest   |   4 -
 media-libs/amdvlk/amdvlk-2022.4.3.ebuild | 124 ---
 2 files changed, 128 deletions(-)

diff --git a/media-libs/amdvlk/Manifest b/media-libs/amdvlk/Manifest
index d4c9373bc..51a872515 100644
--- a/media-libs/amdvlk/Manifest
+++ b/media-libs/amdvlk/Manifest
@@ -1,11 +1,7 @@
 DIST amdvlk-CWPack-4f8cf0584442a91d829d269158567d7ed926f026.tar.gz 39633 
BLAKE2B 
d5b2a88f0d563eef5beb42a8304cf6cdd825e75242c22acc360c5bb9cbd1d02a4f891b6b2f3a4803e1e6b48a4d176aad40f8bdeca92847f2fbf53674dedeaff3
 SHA512 
06d56baaba1f1224a5266f4a63c1abf70edba7cc16cc4e62f2f5b1ec94fc2c1cfc4c6f11a9c6ef42c23b29be8d07921caad5e919357c0bd82cf714783eee0bcc
 DIST amdvlk-MetroHash-18893fb28601bb9af1154cd1a671a121fff6d8d3.tar.gz 11729 
BLAKE2B 
b0e3de885e50c317141d62c885b421c7fd2e1ac783733704342bbed3109bff36a9209ab276f534a2231531483539221bbb1014bd39528a91124161bafc5646eb
 SHA512 
8f12f95e80d594c8bd87a852c67a2d6777ce89d1a13e1a87ee17bbb876a0702c14ffe7a7fd65a244620f2043ad5d22ae8eb863d69f1dc5494d985733bbfb7bf9
 DIST amdvlk-gpurt-1f0c4f7e9cea22452e5e20a6cdfc4a84a2bf5bac.tar.gz 303454 
BLAKE2B 
78304f4d3b0c7eab927698cc7e4b5fc1a746e94d7929278a1f48653ad9425e52b6758f0d72e974c6bd2e5fc7a6da33002aab82fe752f00a324a618935db04e2d
 SHA512 
91cbdf539eb6bb23316fd3a2654564ecf516fa42789f70c259402370adcc25de05d376bce665466cee9d8328022662a1fcc4d668d432a6feeec879aa8efebe7a
-DIST amdvlk-gpurt-385af58e0f1bbe2b4da5e0774c423f39fdaf3067.tar.gz 293102 
BLAKE2B 
3e62f7daac1bc412f5415cd43f3f23f1b32de165b074c21437a7c02dcb7e3b4172d333e2f8d6bf0b5a43d882d030af084aab6e8ab3c1391c355241597c9b0b33
 SHA512 
5d4b3ed4150673650dbfd781fef15d81afafd2227231badfadb2ba396b10213d9196add5c0a7bba45c275d1a9a3312e55310d177dbe8587f8378db6d998e531c
 DIST amdvlk-llpc-37dcb2e5cedb00bb025c84238d816f19c93b3060.tar.gz 2577832 
BLAKE2B 
2a8dfd168174997d15af685b5b51519698821fe9032917bae2271a32c6ad981376182cfdc3dcfdbe84369bff9de031af49a6bc838c12ca20950f0e26f99c4a5b
 SHA512 
0366e402696354cd377e3e476970e006acd9b2dabb50d0b1434833946e28e8d5b250c51ede2efb9de4fbf71de1322724f68e9f5e0748001e0401d7549a48c19d
-DIST amdvlk-llpc-6c817737b6545906db56da44c12f39b6470d8903.tar.gz 2497312 
BLAKE2B 
9d10a2d08bc02603d56708e25ad254bb166404cfa6e141c6c649b67fbd45f088d9b571a7395fc878c87c0defa9cc76dbf40048c72d84479a275a3ad5b9f13339
 SHA512 
fe8d6164f13bc63278afceefea10c54132834407e2da1f08264fd25eba876a48ff2d8c269413330db9522d717caefe0a7ee03f0188fa2ac50edfcdbdf9c40c01
 DIST amdvlk-llvm-project-42a4d92d3c68995d04f1ed580613d162054f5795.tar.gz 
167651563 BLAKE2B 
4cfd4932dc15b4e0c8cf3b70403498c6fe77928a4a38d6d806f58d2399214eff4cef20ddd99c3f98675ffb02ec87e6931bfe05aa7d983fda2f4b6d2146d503ac
 SHA512 
5372052bfe99a5b9f6b4d3c90d50912c90a4336361ff26c0b86cd0d1584e162e1fd9b3402bc65d6be6ab53290450dec0e6a051505d323e6b236640721d271dbe
 DIST amdvlk-pal-287ef684bc36a86af55d4ed1c4c4f4c35577e21e.tar.gz 12279943 
BLAKE2B 
ffe41d37ce2c744196520296fd7e4e91445a1e0b8f8c25aa90c5cc0f572aec645ddb85c80f995dc8e7e9a0c78845fd6f419f747360c824efa1ec5da0a031e071
 SHA512 
15901e5ac974bee92cf2de43b5cd48f38d3625e2a6049dcae767dc128334a92419eda4a8db77f31503e79b72ff495e4ead4b9e34c5ed2e4ae4124c9a100133f3
-DIST amdvlk-pal-4a23f7ca61e25c06fda9d9e3630da54182ca1ff3.tar.gz 11333128 
BLAKE2B 
86f747765430b8fbee5085a92a4fdceab3de0181c7cedf45f5e2c461cbd6a09d2592b2a2a2d08ad271bffeb3edbdf60223813dd60188c9cf4c9a19759dd39ae7
 SHA512 
cb62cd476f75a5fa5ca08379eb5fa4bd71014f14bf93c01f06d5226c6f3d96c9d19df61f61e852c00d5cf3b2b69bd21d7588690bdc10296a752feb00a733c695
 DIST amdvlk-xgl-8aa0e76a110fa264608ee1b4e412aa8fb40286d3.tar.gz 1229896 
BLAKE2B 
9b005c01cd77476888319064fac7dcb89a065279d1b1ad2738be7e5c05f246d524fc8794dcd20d0671a3119c4927deb5cefefaaf94832d1cad19cd971ac60487
 SHA512 
37cdeb33f943c3093495a25650ed50cbe494d76c7dbd7fb2594b062b5c269b6e92d73a85a0631529053bda11aceacbca1c484a5688292a96db126d8e5fcf0306
-DIST amdvlk-xgl-b358df5460810b00d0cc779e4d000e4a901d2047.tar.gz 1227551 
BLAKE2B 
6ed056f5156319c18cc31a5cb37d5d46a0c76b9aa44b03fcedb5870121d4041f8a2da77d97781411c495368ebefd334449a61fe18f10462f1086b6c99826
 SHA512 
d77efd4828541ed9428d1d9911bb87aed9f1dab10b61fb80b083cc315fe4b472c60a082a3fe51a16c79608ee614b16773097b4c7ff390569345e10f08215420c

diff --git a/media-libs/amdvlk/amdvlk-2022.4.3.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.3.ebuild
deleted file mode 100644
index 8b4692f9a..0
--- a/media-libs/amdvlk/amdvlk-2022.4.3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MULTILIB_COMPAT=( abi_x

[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/

2022-12-25 Thread Denis Reva
commit: 4a58545d1dd3bf03f4874c8f1244d49fdac02aa0
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 25 08:53:51 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 25 09:09:25 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a58545d

media-libs/amdvlk: Updated requirements checking

Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 27a9903d6..0b0f75db4 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -34,7 +34,7 @@ RDEPEND=" ${DEPEND}
>=media-libs/vulkan-loader-1.3.224[${MULTILIB_USEDEP}]
dev-util/glslang[${MULTILIB_USEDEP}]"
 
-CHECKREQS_MEMORY="16G"
+CHECKREQS_MEMORY="7G"
 CHECKREQS_DISK_BUILD="4G"
 S="${WORKDIR}"
 CMAKE_USE_DIR="${S}/xgl"
@@ -71,6 +71,15 @@ PATCHES=(
"${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #88
 )
 
+pkg_pretend(){
+   ewarn "It's generally recomended to have at least 16GB memory to build"
+   ewarn "However, experiments shows that if you'll use MAKEOPTS=\"-j1\" 
you can build it with 8GB RAM"
+   ewarn "See 
https://wiki.gentoo.org/wiki/AMDVLK#Additional_system_requirements_to_build;
+   ewarn "Use CHECKREQS_DONOTHING=1 if you need to bypass memory checking"
+
+   check-reqs_pkg_pretend
+}
+
 src_prepare() {
einfo "moving src to proper directories"
mkdir -p "${S}"



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/amdvlk/, media-libs/amdvlk/files/

2022-12-21 Thread Denis Reva
commit: 4b35f21d43dcb365da67fce9899e659a21fa79a5
Author: Denis Reva  gmail  com>
AuthorDate: Thu Dec 22 06:45:51 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Thu Dec 22 06:46:04 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b35f21d

media-libs/amdvlk: Disabled adding werror on it's own

Closes: https://bugs.gentoo.org/88
Signed-off-by: Denis Reva  gmail.com>

 media-libs/amdvlk/amdvlk-2022.4.4.ebuild|  9 -
 .../amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch| 13 +
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild 
b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
index 38fe858d0..27a9903d6 100644
--- a/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
+++ b/media-libs/amdvlk/amdvlk-2022.4.4.ebuild
@@ -68,6 +68,7 @@ PATCHES=(
"${FILESDIR}/amdvlk-2022.4.2-license-path.patch" #878803
"${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations.patch"
"${FILESDIR}/amdvlk-2022.4.2-reduced-llvm-installations-part2.patch"
+   "${FILESDIR}/amdvlk-2022.4.4-r1-disable-Werror.patch" #88
 )
 
 src_prepare() {
@@ -90,11 +91,17 @@ multilib_src_configure() {
-DVKI_RAY_TRACING=$(usex raytracing)
-DLLVM_VERSION_SUFFIX="-amdvlk"
-DLLVM_HOST_TRIPLE="${CHOST}"
+   -DLLVM_ENABLE_WERROR=OFF
+   -DSPVGEN_ENABLE_WERROR=OFF
+   -DENABLE_WERROR=OFF
+   -DVAM_ENABLE_WERROR=OFF
+   -DICD_ANALYSIS_WARNINGS_AS_ERRORS=OFF
+   -DMETROHASH_ENABLE_WERROR=OFF
-DBUILD_SHARED_LIBS=OFF #LLVM parts don't support shared libs
-DPython3_EXECUTABLE="${PYTHON}"
-DPACKAGE_VERSION="${PV}"
-DPACKAGE_NAME="${PN}"
-   -DLLVM_INSTALL_TOOLCHAIN_ONLY=On #Disable installation of 
various LLVM parts which we had to clean up.
+   -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON #Disable installation of 
various LLVM parts which we had to clean up.
-Wno-dev
)
cmake_src_configure

diff --git a/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch 
b/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch
new file mode 100644
index 0..01c28e0ea
--- /dev/null
+++ b/media-libs/amdvlk/files/amdvlk-2022.4.4-r1-disable-Werror.patch
@@ -0,0 +1,13 @@
+diff --git a/pal/shared/devdriver/cmake/DevDriver.cmake 
b/pal/shared/devdriver/cmake/DevDriver.cmake
+index b3f2e7e48..cbd9f7839 100644
+--- a/pal/shared/devdriver/cmake/DevDriver.cmake
 b/pal/shared/devdriver/cmake/DevDriver.cmake
+@@ -111,7 +111,7 @@ function(apply_devdriver_warnings name)
+ target_compile_options(${name} PRIVATE
+ -Wall # Enable all warnings.
+ -Wextra # Enable extra warnings that are not enabled by -Wall.
+--Werror # warning as error
++  #-Werror # warning as error
+ )
+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
+ target_compile_options(${name} PRIVATE



[gentoo-commits] repo/proj/guru:dev commit in: dev-util/DirectXShaderCompiler/

2022-12-21 Thread Denis Reva
commit: 0f5dd926bfafab1c0271b9e1ca873acff230c26a
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 21 15:17:41 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 21 15:17:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f5dd926

dev-util/DirectXShaderCompiler: Disabled adding -Werror by it's own

Closes: https://bugs.gentoo.org/887657
Signed-off-by: Denis Reva  gmail.com>

 .../DirectXShaderCompiler/DirectXShaderCompiler-1.7.2207-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2207-r1.ebuild 
b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2207-r1.ebuild
index d9b7bcc15..3f341f81a 100644
--- a/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2207-r1.ebuild
+++ b/dev-util/DirectXShaderCompiler/DirectXShaderCompiler-1.7.2207-r1.ebuild
@@ -47,6 +47,9 @@ src_configure() {
-DLLVM_BUILD_DOCS=0
-DLLVM_BUILD_TOOLS=0
-DSPIRV_BUILD_TESTS=0
+   -DLLVM_ENABLE_WERROR=0
+   -DSPIRV_WERROR=0
+   -DSPIRV_WARN_EVERYTHING=0
-DBUILD_SHARED_LIBS=OFF
-DLLVM_VERSION_SUFFIX=dxc
)



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/files/, dev-libs/gbinder/

2022-12-21 Thread Denis Reva
commit: 508b842df4cdf5ec9c6dce8380a3796e6c3faa4c
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 21 14:20:24 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 21 14:21:02 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=508b842d

dev-libs/gbinder: Fixed unnecessary debug flag in makefile

Closes: https://bugs.gentoo.org/887615
Signed-off-by: Denis Reva  gmail.com>

 .../files/gbinder-1.1.30-r3-respect-env.patch  | 40 ++
 ...r-1.1.30-r2.ebuild => gbinder-1.1.30-r3.ebuild} |  2 +-
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch 
b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
new file mode 100644
index 0..5f9d974f9
--- /dev/null
+++ b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
@@ -0,0 +1,40 @@
+diff --git a/Makefile b/Makefile
+index e838b7e..4ce2039 100644
+--- a/Makefile
 b/Makefile
+@@ -136,20 +136,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
+   -MMD -MP $(shell pkg-config --cflags $(PKGS))
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+   $(shell pkg-config --libs $(PKGS)) -lpthread
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS = 
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS =
+ 
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++#RELEASE_FLAGS += -g
+ endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+ 
+ #
+ # Files
+@@ -275,7 +275,7 @@ $(DEBUG_SO): $(DEBUG_OBJS)
+ $(RELEASE_SO): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+ ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
++# $(STRIP) $@
+ endif
+ 
+ $(DEBUG_LIB): $(DEBUG_OBJS)

diff --git a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild 
b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
similarity index 94%
rename from dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
rename to dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
index cd97f3663..c900ed13f 100644
--- a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
+++ b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
@@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig
sys-apps/sed"
 
 PATCHES=(
-   "${FILESDIR}/gbinder-1.1.30-respect-env.patch"
+   "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
 )
 src_prepare() {
default



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/

2022-12-21 Thread Denis Reva
commit: 1bc7e422a6e076bdc89db733cb5afaa41fd70eb2
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 21 14:20:57 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 21 14:21:02 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bc7e422

dev-libs/gbinder: Updated  version

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/gbinder/gbinder-.ebuild | 24 +---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/dev-libs/gbinder/gbinder-.ebuild 
b/dev-libs/gbinder/gbinder-.ebuild
index 8caa9ed80..c900ed13f 100644
--- a/dev-libs/gbinder/gbinder-.ebuild
+++ b/dev-libs/gbinder/gbinder-.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mer-hybris/libgbinder.git;
@@ -18,15 +20,31 @@ DESCRIPTION="GLib-style interface to binder"
 HOMEPAGE="https://github.com/mer-hybris/libgbinder;
 LICENSE="BSD"
 SLOT="0"
+IUSE=""
 
 DEPEND="dev-libs/libglibutil"
 RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig
+   sys-apps/sed"
+
+PATCHES=(
+   "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
+)
+src_prepare() {
+   default
+   sed -i -e "s|ranlib|$(tc-getRANLIB)|" \
+   Makefile \
+   || die
+}
 
 src_compile() {
-   emake KEEP_SYMBOLS=1 ABS_LIBDIR="/usr/$(get_libdir)" 
LIBDIR="/usr/$(get_libdir)"
+   emake LIBDIR="/usr/$(get_libdir)"
 }
 
 src_install() {
-   emake DESTDIR="${D}" ABS_LIBDIR="/usr/$(get_libdir)" 
LIBDIR="/usr/$(get_libdir)" install-dev
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}
+
+src_test() {
+   emake test
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/

2022-12-21 Thread Denis Reva
commit: cc3a044d99a01f6840e216e9c0535bca374bfda9
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 21 14:10:18 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 21 14:10:18 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc3a044d

dev-libs/libglibutil: Updated  version

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/libglibutil-.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libglibutil/libglibutil-.ebuild 
b/dev-libs/libglibutil/libglibutil-.ebuild
index 68582392a..0c6db94a0 100644
--- a/dev-libs/libglibutil/libglibutil-.ebuild
+++ b/dev-libs/libglibutil/libglibutil-.ebuild
@@ -11,7 +11,7 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
-DESCRIPTION="Library of glib utilities"
+DESCRIPTION="Library of glib utilities from sailfishos project"
 HOMEPAGE="https://github.com/sailfishos/libglibutil;
 LICENSE="BSD"
 SLOT="0"
@@ -19,11 +19,18 @@ SLOT="0"
 DEPEND="dev-libs/glib"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
+PATCHES=(
+   "${FILESDIR}/libglibutil-1.0.67-r3-respect-env.patch"
+)
 
 src_compile() {
-   emake KEEP_SYMBOLS=1 LIBDIR="/usr/$(get_libdir)"
+   emake LIBDIR="/usr/$(get_libdir)"
 }
 
 src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
 }
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/files/, dev-libs/libglibutil/

2022-12-21 Thread Denis Reva
commit: 88fb77a17a873d7ac5b673e239327fc1a45641d6
Author: Denis Reva  gmail  com>
AuthorDate: Wed Dec 21 14:09:15 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Wed Dec 21 14:09:27 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=88fb77a1

dev-libs/libglibutil: Fixed unnecessary debug flag in makefile

Closes: https://bugs.gentoo.org/887617
Signed-off-by: Denis Reva  gmail.com>

 .../files/libglibutil-1.0.67-r3-respect-env.patch  | 57 ++
 .../files/libglibutil-1.0.67-respect-env.patch | 38 ---
 ...0.67-r2.ebuild => libglibutil-1.0.67-r3.ebuild} |  2 +-
 3 files changed, 58 insertions(+), 39 deletions(-)

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch
new file mode 100644
index 0..14ee2b182
--- /dev/null
+++ b/dev-libs/libglibutil/files/libglibutil-1.0.67-r3-respect-env.patch
@@ -0,0 +1,57 @@
+diff --git a/Makefile b/Makefile
+index 3e9aa23..071620e 100644
+--- a/Makefile
 b/Makefile
+@@ -80,20 +80,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) 
$(WARNINGS) $(INCLUDES) \
+   -MMD -MP $(shell pkg-config --cflags $(PKGS))
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+   $(shell pkg-config --libs $(PKGS))
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS = 
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS = 
+ 
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++#RELEASE_FLAGS += -g
+ endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+ 
+ #
+ # Files
+@@ -119,11 +119,11 @@ COVERAGE_STATIC_LIB = $(COVERAGE_BUILD_DIR)/$(STATIC_LIB)
+ #
+ 
+ DEPS = $(DEBUG_OBJS:%.o=%.d) $(RELEASE_OBJS:%.o=%.d) $(COVERAGE_OBJS:%.o=%.d)
+-ifneq ($(MAKECMDGOALS),clean)
+-ifneq ($(strip $(DEPS)),)
+--include $(DEPS)
+-endif
+-endif
++#ifneq ($(MAKECMDGOALS),clean)
++#ifneq ($(strip $(DEPS)),)
++#-include $(DEPS)
++#endif
++#endif
+ 
+ $(PKGCONFIG): | $(BUILD_DIR)
+ $(DEBUG_OBJS) $(DEBUG_LIB) $(DEBUG_STATIC_LIB): | $(DEBUG_BUILD_DIR)
+@@ -191,7 +191,7 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
+ $(RELEASE_LIB): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+ ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
++# $(STRIP) $@
+ endif
+ 
+ $(DEBUG_LINK): $(DEBUG_LIB)

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch
deleted file mode 100644
index a68dbdb1a..0
--- a/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 3e9aa23..252bf2c 100644
 a/Makefile
-+++ b/Makefile
-@@ -84,15 +84,15 @@ DEBUG_FLAGS = -g
- RELEASE_FLAGS =
- COVERAGE_FLAGS = -g
- 
--KEEP_SYMBOLS ?= 0
--ifneq ($(KEEP_SYMBOLS),0)
--RELEASE_FLAGS += -g
--endif
-+#KEEP_SYMBOLS ?= 0
-+#ifneq ($(KEEP_SYMBOLS),0)
-+#RELEASE_FLAGS += -g
-+#endif
- 
- DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
- RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
- DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
--RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
-+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
- COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
- 
- #
-@@ -190,9 +190,9 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
- 
- $(RELEASE_LIB): $(RELEASE_OBJS)
-   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
--ifeq ($(KEEP_SYMBOLS),0)
--  $(STRIP) $@
--endif
-+#ifeq ($(KEEP_SYMBOLS),0)
-+# $(STRIP) $@
-+#endif
- 
- $(DEBUG_LINK): $(DEBUG_LIB)
-   ln -sf $(LIB) $@

diff --git a/dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild
similarity index 93%
rename from dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild
rename to dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild
index 543c4438a..0c6db94a0 100644
--- a/dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild
+++ b/dev-libs/libglibutil/libglibutil-1.0.67-r3.ebuild
@@ -20,7 +20,7 @@ DEPEND="dev-libs/glib"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 PATCHES=(
-   "${FILESDIR}/libglibutil-1.0.67-respect-env.patch"
+   "${FILESDIR}/libglibutil-1.0.67-r3-respect-env.patch"
 )
 
 src_compile() {



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/

2022-12-20 Thread Denis Reva
commit: f57938a25e730c5ddce264f00931584794cd234e
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 20 12:18:28 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 20 12:18:28 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f57938a2

dev-libs/gbinder: changed package description

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/gbinder/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-libs/gbinder/metadata.xml b/dev-libs/gbinder/metadata.xml
index 2161ec3cb..39cfa268e 100644
--- a/dev-libs/gbinder/metadata.xml
+++ b/dev-libs/gbinder/metadata.xml
@@ -7,8 +7,6 @@
rarogcmex


-   GLib-style interface to binder (Android IPC mechanism)
-
Key features:
 
1. Integration with GLib event loop



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/

2022-12-20 Thread Denis Reva
commit: d94f874253b808e4a36bca497b0bd4c498954a09
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 20 12:17:30 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 20 12:17:30 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d94f8742

app-emulation/waydroid: Bug fixes: fixed mimeinfo update and closes fixed in 
previous version bug

Closes: https://bugs.gentoo.org/878081
Closes: https://bugs.gentoo.org/887295
Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 .../{waydroid-1.3.4-r4.ebuild => waydroid-1.3.4-r5.ebuild} | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
similarity index 92%
rename from app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
index b67ca2647..df767cedc 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
-inherit linux-info python-single-r1
+inherit linux-info xdg-utils python-single-r1
 
 DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
 HOMEPAGE="https://waydro.id;
@@ -48,6 +48,9 @@ src_install() {
 }
 
 pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+
if not use apparmor; then
ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
@@ -62,3 +65,8 @@ pkg_postinst() {
einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
einfo "(does not cover Gentoo-specific things sadly)"
 }
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/, dev-libs/libglibutil/files/

2022-12-20 Thread Denis Reva
commit: 3f0c826036916bbaac16753d9f76e5a843d4049c
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 20 11:21:32 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 20 11:21:32 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f0c8260

Bugfixes: fixed -Ox and -g flags, fixed tests

Closes: https://bugs.gentoo.org/887303
Closes: https://bugs.gentoo.org/887301
Closes: https://bugs.gentoo.org/859742
Signed-off-by: Denis Reva  gmail.com>

 .../files/libglibutil-1.0.67-respect-env.patch | 38 ++
 ...0.67-r1.ebuild => libglibutil-1.0.67-r2.ebuild} | 11 +--
 2 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch 
b/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch
new file mode 100644
index 0..a68dbdb1a
--- /dev/null
+++ b/dev-libs/libglibutil/files/libglibutil-1.0.67-respect-env.patch
@@ -0,0 +1,38 @@
+diff --git a/Makefile b/Makefile
+index 3e9aa23..252bf2c 100644
+--- a/Makefile
 b/Makefile
+@@ -84,15 +84,15 @@ DEBUG_FLAGS = -g
+ RELEASE_FLAGS =
+ COVERAGE_FLAGS = -g
+ 
+-KEEP_SYMBOLS ?= 0
+-ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
+-endif
++#KEEP_SYMBOLS ?= 0
++#ifneq ($(KEEP_SYMBOLS),0)
++#RELEASE_FLAGS += -g
++#endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_FLAGS)
+ DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
+ COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
+ 
+ #
+@@ -190,9 +190,9 @@ $(DEBUG_LIB): $(DEBUG_OBJS)
+ 
+ $(RELEASE_LIB): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+-ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
+-endif
++#ifeq ($(KEEP_SYMBOLS),0)
++# $(STRIP) $@
++#endif
+ 
+ $(DEBUG_LINK): $(DEBUG_LIB)
+   ln -sf $(LIB) $@

diff --git a/dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild
similarity index 75%
rename from dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild
rename to dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild
index 68582392a..543c4438a 100644
--- a/dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild
+++ b/dev-libs/libglibutil/libglibutil-1.0.67-r2.ebuild
@@ -11,7 +11,7 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
-DESCRIPTION="Library of glib utilities"
+DESCRIPTION="Library of glib utilities from sailfishos project"
 HOMEPAGE="https://github.com/sailfishos/libglibutil;
 LICENSE="BSD"
 SLOT="0"
@@ -19,11 +19,18 @@ SLOT="0"
 DEPEND="dev-libs/glib"
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
+PATCHES=(
+   "${FILESDIR}/libglibutil-1.0.67-respect-env.patch"
+)
 
 src_compile() {
-   emake KEEP_SYMBOLS=1 LIBDIR="/usr/$(get_libdir)"
+   emake LIBDIR="/usr/$(get_libdir)"
 }
 
 src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
 }
+
+src_test() {
+   emake test
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/, dev-libs/gbinder/files/

2022-12-20 Thread Denis Reva
commit: 26ec25c8258ca7ab45c9421770d75fc156096d15
Author: Denis Reva  gmail  com>
AuthorDate: Tue Dec 20 11:07:43 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Tue Dec 20 11:07:43 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26ec25c8

dev-libs/gbinder: bug fixes for gbinder: fixed ranlib, debug and user 
optimisations, fixed tests

Closes: https://bugs.gentoo.org/843899
Closes: https://bugs.gentoo.org/843902
Closes: https://bugs.gentoo.org/887297
Closes: https://bugs.gentoo.org/859736
Closes: https://bugs.gentoo.org/887299
Signed-off-by: Denis Reva  gmail.com>

 .../gbinder/files/gbinder-1.1.30-respect-env.patch | 49 ++
 ...r-1.1.30-r1.ebuild => gbinder-1.1.30-r2.ebuild} | 24 +--
 2 files changed, 70 insertions(+), 3 deletions(-)

diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch 
b/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch
new file mode 100644
index 0..62358758b
--- /dev/null
+++ b/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch
@@ -0,0 +1,49 @@
+diff --git a/Makefile b/Makefile
+index e838b7e..adb886f 100644
+--- a/Makefile
 b/Makefile
+@@ -140,15 +140,15 @@ DEBUG_FLAGS = -g
+ RELEASE_FLAGS =
+ COVERAGE_FLAGS = -g
+ 
+-KEEP_SYMBOLS ?= 0
+-ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
+-endif
++#KEEP_SYMBOLS ?= 0
++#ifneq ($(KEEP_SYMBOLS),0)
++#RELEASE_FLAGS += -g
++#endif
+ 
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
+ DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
+ COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
+ 
+ #
+@@ -274,17 +274,17 @@ $(DEBUG_SO): $(DEBUG_OBJS)
+ 
+ $(RELEASE_SO): $(RELEASE_OBJS)
+   $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+-ifeq ($(KEEP_SYMBOLS),0)
+-  $(STRIP) $@
+-endif
++#ifeq ($(KEEP_SYMBOLS),0)
++# $(STRIP) $@
++#endif
+ 
+ $(DEBUG_LIB): $(DEBUG_OBJS)
+   $(AR) rc $@ $?
+   ranlib $@
+ 
+-$(RELEASE_LIB): $(RELEASE_OBJS)
+-  $(AR) rc $@ $?
+-  ranlib $@
++$(RELEASE_LIB): $(RELEASE_OBJS)
++  $(AR) rc $@ $?
++  ranlib $@
+ 
+ $(DEBUG_LINK):
+   ln -sf $(LIB_SO) $@

diff --git a/dev-libs/gbinder/gbinder-1.1.30-r1.ebuild 
b/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
similarity index 64%
rename from dev-libs/gbinder/gbinder-1.1.30-r1.ebuild
rename to dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
index 8caa9ed80..cd97f3663 100644
--- a/dev-libs/gbinder/gbinder-1.1.30-r1.ebuild
+++ b/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mer-hybris/libgbinder.git;
@@ -18,15 +20,31 @@ DESCRIPTION="GLib-style interface to binder"
 HOMEPAGE="https://github.com/mer-hybris/libgbinder;
 LICENSE="BSD"
 SLOT="0"
+IUSE=""
 
 DEPEND="dev-libs/libglibutil"
 RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig
+   sys-apps/sed"
+
+PATCHES=(
+   "${FILESDIR}/gbinder-1.1.30-respect-env.patch"
+)
+src_prepare() {
+   default
+   sed -i -e "s|ranlib|$(tc-getRANLIB)|" \
+   Makefile \
+   || die
+}
 
 src_compile() {
-   emake KEEP_SYMBOLS=1 ABS_LIBDIR="/usr/$(get_libdir)" 
LIBDIR="/usr/$(get_libdir)"
+   emake LIBDIR="/usr/$(get_libdir)"
 }
 
 src_install() {
-   emake DESTDIR="${D}" ABS_LIBDIR="/usr/$(get_libdir)" 
LIBDIR="/usr/$(get_libdir)" install-dev
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}
+
+src_test() {
+   emake test
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/

2022-12-19 Thread Denis Reva
commit: 7c0e9a37c5cef38cfd6250a28d6c159302d23127
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:55:34 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Dec 19 13:55:34 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c0e9a37

dev-python/pyclip: Updated  version

Signed-off-by: Denis Reva  gmail.com>

 dev-python/pyclip/pyclip-.ebuild | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/pyclip/pyclip-.ebuild 
b/dev-python/pyclip/pyclip-.ebuild
index 8eb8b2e96..bdc064f8e 100644
--- a/dev-python/pyclip/pyclip-.ebuild
+++ b/dev-python/pyclip/pyclip-.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+
+DISTUTILS_USE_PEP517="setuptools"
 
 inherit distutils-r1
 
@@ -13,19 +14,21 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git;
 else
SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/;
 LICENSE="Apache-2.0"
 SLOT="0"
+IUSE="wayland X"
 RESTRICT="test"
 DOCS="${S}/docs/README.md"
+REQUIRED_USE="|| ( wayland X )"
 
 DEPEND=""
 RDEPEND="
-   gui-apps/wl-clipboard
-   x11-misc/xclip
+   wayland? ( gui-apps/wl-clipboard )
+   X? ( x11-misc/xclip )
 "
 BDEPEND=""



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/

2022-12-19 Thread Denis Reva
commit: 109805147f485e34cd304a70035870e73f2a5891
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:23:08 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Dec 19 13:48:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10980514

app-emulation/waydroid: Updated waydroid dependencies, added basic 
clarifications about usage and caveats

Signed-off-by: Denis Reva  gmail.com>

 ...id-1.3.4-r2.ebuild => waydroid-1.3.4-r3.ebuild} | 28 ++
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
similarity index 54%
rename from app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
index dfecb4019..d22bac703 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit linux-info python-single-r1
 
 DESCRIPTION="Container-based approach to boot a full Android system on Linux 
systems"
@@ -14,20 +14,23 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-IUSE="systemd"
+IUSE="systemd apparmor"
 
 DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?]
+   app-containers/lxc[apparmor?]
+   app-containers/lxc[seccomp]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
-   >=dev-libs/gbinder-1.1.21
+   dev-python/pyclip[${PYTHON_USEDEP}]
')
net-firewall/nftables[modern-kernel]
net-dns/dnsmasq
>=dev-libs/libglibutil-1.0.67
+   >=dev-libs/gbinder-1.1.21
${PYTHON_DEPS}
 "
 
@@ -38,9 +41,26 @@ CONFIG_CHECK="
 "
 ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
 ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
-ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers, therefore it's vital for android-specific memory management"
+ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers,
+   therefore it's vital for android-specific memory management"
 
 src_install() {
python_fix_shebang waydroid.py
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)
 }
+
+pkg_postinst() {
+   if not use apparmor; then
+   ewarn "If you use app-containers/lxc without apparmor, make 
sure you deleted or commented out in waydroid LXC config"
+   ewarn "(generated after waydroid init) in 
/var/lib/waydroid/lxc/waydroid/config the following string:"
+   ewarn "lxc.apparmor.profile = unconfined"
+   ewarn "or waydroid experiences crash during launch"
+   ewarn "See also https://github.com/waydroid/waydroid/issues/652;
+   else
+   ewarn "Apparmor support has not been tested by package 
maintainer yet"
+   fi
+   ewarn "Make sure you have NFTABLES up and running in your kernel. See"
+   ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
+   einfo "Contact https://docs.waydro.id/usage/install-on-desktops for 
how-to guides"
+   einfo "(does not cover Gentoo-specific things sadly)"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/

2022-12-19 Thread Denis Reva
commit: 56b0807bb2b15d325c4222829922812e79fc6d25
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:48:05 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Dec 19 13:48:54 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56b0807b

dev-python/pyclip: New version 0.7.0, added use flags for X and wayland (useful 
for wayland-only systems)

Signed-off-by: Denis Reva  gmail.com>

 dev-python/pyclip/Manifest|  1 +
 dev-python/pyclip/pyclip-0.7.0.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
index 0d27b94a5..c965fff81 100644
--- a/dev-python/pyclip/Manifest
+++ b/dev-python/pyclip/Manifest
@@ -1,2 +1,3 @@
 DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B 
e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528
 SHA512 
c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
 DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B 
eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2
 SHA512 
3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
+DIST pyclip-0.7.0.tar.gz 17555 BLAKE2B 
281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618
 SHA512 
64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877

diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild 
b/dev-python/pyclip/pyclip-0.7.0.ebuild
new file mode 100644
index 0..bdc064f8e
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.7.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+DISTUTILS_USE_PEP517="setuptools"
+
+inherit distutils-r1
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git;
+else
+   SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/;
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+RESTRICT="test"
+DOCS="${S}/docs/README.md"
+REQUIRED_USE="|| ( wayland X )"
+
+DEPEND=""
+RDEPEND="
+   wayland? ( gui-apps/wl-clipboard )
+   X? ( x11-misc/xclip )
+"
+BDEPEND=""



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/

2022-12-19 Thread Denis Reva
commit: 4445f74387db3fbd864011a35d42f23ce8f62038
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 13:48:38 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Dec 19 13:48:55 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4445f743

app-emulation/waydroid: Another update for waydroid dependencies

Signed-off-by: Denis Reva  gmail.com>

 .../waydroid/{waydroid-1.3.4-r3.ebuild => waydroid-1.3.4-r4.ebuild} | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
similarity index 94%
rename from app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
index d22bac703..b67ca2647 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r3.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r4.ebuild
@@ -19,13 +19,11 @@ IUSE="systemd apparmor"
 DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
systemd? ( sys-apps/systemd )
-   app-containers/lxc[systemd?]
-   app-containers/lxc[apparmor?]
-   app-containers/lxc[seccomp]
+   app-containers/lxc[systemd?,apparmor?,seccomp]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
>=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
-   dev-python/pyclip[${PYTHON_USEDEP}]
+   >=dev-python/pyclip-0.7.0[wayland,${PYTHON_USEDEP}]
')
net-firewall/nftables[modern-kernel]
net-dns/dnsmasq



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/

2022-12-19 Thread Denis Reva
commit: 45e3f0d43aca5d6fd08e4a0059c51af1a906e2f8
Author: Denis Reva  gmail  com>
AuthorDate: Mon Dec 19 10:23:36 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Mon Dec 19 10:23:52 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45e3f0d4

app-emulation/waydroid: Small changes: Fix systemd dep, clarify dependencies

Signed-off-by: Denis Reva  gmail.com>

 .../{waydroid-1.3.4-r1.ebuild => waydroid-1.3.4-r2.ebuild}  | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
similarity index 82%
rename from app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
index f2cc64a06..dfecb4019 100644
--- a/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r2.ebuild
@@ -12,20 +12,22 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 IUSE="systemd"
 
-DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )
-   sys-kernel/linux-headers"
+DEPEND="|| ( virtual/linux-sources virtual/dist-kernel )"
 RDEPEND="
+   systemd? ( sys-apps/systemd )
app-containers/lxc[systemd?]
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
-   dev-python/gbinder[${PYTHON_USEDEP}]
+   >=dev-python/gbinder-1.1.1[${PYTHON_USEDEP}]
+   >=dev-libs/gbinder-1.1.21
')
net-firewall/nftables[modern-kernel]
-   net-dns/dnsmasq \
+   net-dns/dnsmasq
+   >=dev-libs/libglibutil-1.0.67
${PYTHON_DEPS}
 "
 
@@ -37,6 +39,7 @@ CONFIG_CHECK="
 ERROR_ANDROID_BINDERFS="CONFIG_ANDROID_BINDERFS: need for creating 
Android-specific binder IPC channels"
 ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need for creating 
Android-specific binder IPC channels"
 ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers, therefore it's vital for android-specific memory management"
+
 src_install() {
python_fix_shebang waydroid.py
emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)



[gentoo-commits] repo/proj/guru:dev commit in: app-emulation/waydroid/

2022-12-18 Thread Denis Reva
commit: e2bdd9ebd6c38f1abb20ca0e6e4cb25f1c75ebcc
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 15:40:33 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 18 15:40:33 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2bdd9eb

app-emulation/waydroid: Changed waydroid installation. Added metadata.xml, I'm 
now maintainer

Bug: https://bugs.gentoo.org/834025
Signed-off-by: Denis Reva  gmail.com>

 app-emulation/waydroid/metadata.xml   | 19 +++
 ...waydroid-1.3.4.ebuild => waydroid-1.3.4-r1.ebuild} | 13 +
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/app-emulation/waydroid/metadata.xml 
b/app-emulation/waydroid/metadata.xml
new file mode 100644
index 0..07f40006d
--- /dev/null
+++ b/app-emulation/waydroid/metadata.xml
@@ -0,0 +1,19 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+   Denis Reva
+   rarogcmex
+   
+   
+   Waydroid uses Linux namespaces (user, pid, uts, net, mount, 
ipc) to run a full Android system in a container and provide Android 
applications on any GNU/Linux-based platform.
+
+   The Android system inside the container has direct access to 
any needed hardware.
+
+   The Android runtime environment ships with a minimal customized 
Android system image based on LineageOS. The image is currently based on 
Android 11.
+   
+   
+   waydroid/waydroid
+   
+

diff --git a/app-emulation/waydroid/waydroid-1.3.4.ebuild 
b/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
similarity index 79%
rename from app-emulation/waydroid/waydroid-1.3.4.ebuild
rename to app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
index 15651371e..f2cc64a06 100644
--- a/app-emulation/waydroid/waydroid-1.3.4.ebuild
+++ b/app-emulation/waydroid/waydroid-1.3.4-r1.ebuild
@@ -39,16 +39,5 @@ ERROR_ANDROID_BINDER_IPC="CONFIG_ANDROID_BINDER_IPC: need 
for creating Android-s
 ERROR_MEMFD_CREATE="CONFIG_MEMFD_CREATE: it completely replaced deprecated 
ISHMEM drivers, therefore it's vital for android-specific memory management"
 src_install() {
python_fix_shebang waydroid.py
-   mv waydroid.py waydroid || die
-   python_doscript waydroid
-   python_domodule tools
-   python_domodule data
-   insinto "/usr/share/applications"
-   doins "data/Waydroid.desktop"
-   insinto "/etc/gbinder.d"
-   doins "gbinder/anbox.conf"
-   if use systemd; then
-   insinto "/usr/lib/systemd/system"
-   doins "debian/waydroid-container.service"
-   fi
+   emake install DESTDIR="${D}" USE_NFTABLES=1 USE_SYSTEMD=$(usex systemd 
1 0)
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/gbinder/

2022-12-18 Thread Denis Reva
commit: 069d3e00e21db988a3c53a8cdaf5eb9c045a635b
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 13:57:13 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 18 13:57:13 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=069d3e00

dev-python/gbinder: Updated to new version, added missing ~x86, ~arm and ~arm64 
keywords, added metadata.xml, I'm now maintainer

Signed-off-by: Denis Reva  gmail.com>

 dev-python/gbinder/Manifest |  1 +
 dev-python/gbinder/gbinder-1.1.1.ebuild | 36 +
 dev-python/gbinder/metadata.xml | 36 +
 3 files changed, 73 insertions(+)

diff --git a/dev-python/gbinder/Manifest b/dev-python/gbinder/Manifest
index a17031d32..3bc720ddf 100644
--- a/dev-python/gbinder/Manifest
+++ b/dev-python/gbinder/Manifest
@@ -1 +1,2 @@
 DIST gbinder-1.0.0.tar.gz 22640 BLAKE2B 
dbd0b07c693c803c6646fded1ea0b546d7dc40a1a5f1592601d28d63dbe5113b2bcc07314710c7ba1b47f3417b943398e720ece089ff8a68856e7b2cfda55ae1
 SHA512 
3b52c01c99321108a3d5c0129fb4fcf22d164e5de1e197f0e01a77e3bcbf9c4fd7ee35ce58131f545f65561c622b30f5919f4bdc995005b00a18a15c695fbf51
+DIST gbinder-1.1.1.tar.gz 24340 BLAKE2B 
d93d332e0c8a04c5adbf0ca2680d32a7e8d7b0ba8350f50b365966b8bce082456b3463509334831fc376ebecc0f2dd67542bd5d45c94e028d325458944a70147
 SHA512 
1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03

diff --git a/dev-python/gbinder/gbinder-1.1.1.ebuild 
b/dev-python/gbinder/gbinder-1.1.1.ebuild
new file mode 100644
index 0..b93707756
--- /dev/null
+++ b/dev-python/gbinder/gbinder-1.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+if [[ ${PV} != ** ]]; then
+   MY_PN="${PN}-python"
+   MY_P="${MY_PN}-${PV}"
+   S="${WORKDIR}/${MY_P}"
+   
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+else
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git;
+fi
+
+DESCRIPTION="Python bindings for libgbinder"
+HOMEPAGE="https://github.com/erfanoabdi/gbinder-python;
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-libs/gbinder
+   dev-libs/libglibutil"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-python/cython[${PYTHON_USEDEP}]
+"
+
+python_compile() {
+   distutils-r1_python_compile --cython
+}

diff --git a/dev-python/gbinder/metadata.xml b/dev-python/gbinder/metadata.xml
new file mode 100644
index 0..48efb4328
--- /dev/null
+++ b/dev-python/gbinder/metadata.xml
@@ -0,0 +1,36 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+   Denis Reva
+   rarogcmex
+   
+   
+   Cython extension module for gbinder
+   Prerequisites
+   libgbinder
+   libglibutil
+   pkgconf
+   For development, you will also need Cython:
+
+   pip install cython
+   Description
+   There are two Cython files: cgbinder.pxd describing the C++ API 
of the libgbinder library, and gbinder.pyx describing classes that will be 
visible from Python user code. The .pyx imports .pxd to learn about C functions 
available to be called.
+
+   There is also setup.py file. This file describes how to build 
the extension module, using distutils. In there, we specify the library to link 
with as libraries=['gbinder']. The gbinder stands for libgbinder.so that we 
previously installed.
+
+   There are two options to build the package:
+
+   One, use Cython's cythonize() function to generate a .c file 
from the .pyx one, and then compile it against the libgbinder.so library.
+   Two, if the .c is already provided, just compile it - no Cython 
required!
+   Development build
+   For development, use option 1 by providing --cython flag:
+
+   python setup.py build_ext --inplace --cython
+   The result will be a .so shared library named like 
gbinder.cpython-38-x86_64-linux-gnu.so. build_ext means we're building a C++ 
extension. --inplace means to put it in the current directory. If you run 
python from current directory, you'll be able to import gbinder.
+   
+   
+   erfanoabdi/gbinder-python
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/

2022-12-18 Thread Denis Reva
commit: 5e31fcc1994958cf2c6e8b385c2857aead8d033e
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 13:40:41 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 18 13:40:41 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e31fcc1

dev-libs/libglibutil: Added  version

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/libglibutil-.ebuild | 29 
 1 file changed, 29 insertions(+)

diff --git a/dev-libs/libglibutil/libglibutil-.ebuild 
b/dev-libs/libglibutil/libglibutil-.ebuild
new file mode 100644
index 0..68582392a
--- /dev/null
+++ b/dev-libs/libglibutil/libglibutil-.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
+else
+   SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Library of glib utilities"
+HOMEPAGE="https://github.com/sailfishos/libglibutil;
+LICENSE="BSD"
+SLOT="0"
+
+DEPEND="dev-libs/glib"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_compile() {
+   emake KEEP_SYMBOLS=1 LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/

2022-12-18 Thread Denis Reva
commit: e8611b67a138b3773290fa50147f873c8ca3ba7a
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 13:38:17 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 18 13:38:17 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8611b67

dev-libs/libglibutil: Added missing arm keywords, fixed QA error with 
pkgconfig, added metadata.xml, I'm now maintainer

Signed-off-by: Denis Reva  gmail.com>

 ...libutil-1.0.67.ebuild => libglibutil-1.0.67-r1.ebuild} |  4 ++--
 dev-libs/libglibutil/metadata.xml | 15 +++
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libglibutil/libglibutil-1.0.67.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild
similarity index 87%
rename from dev-libs/libglibutil/libglibutil-1.0.67.ebuild
rename to dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild
index 293c7b480..68582392a 100644
--- a/dev-libs/libglibutil/libglibutil-1.0.67.ebuild
+++ b/dev-libs/libglibutil/libglibutil-1.0.67-r1.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
 else
SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 DESCRIPTION="Library of glib utilities"
@@ -21,7 +21,7 @@ RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 src_compile() {
-   emake KEEP_SYMBOLS=1
+   emake KEEP_SYMBOLS=1 LIBDIR="/usr/$(get_libdir)"
 }
 
 src_install() {

diff --git a/dev-libs/libglibutil/metadata.xml 
b/dev-libs/libglibutil/metadata.xml
new file mode 100644
index 0..d5cb994e1
--- /dev/null
+++ b/dev-libs/libglibutil/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   denis7...@gmail.com
+   Denis Reva
+   rarogcmex
+   
+   
+   Library of glib utilities from sailfish os.
+   
+   
+   sailfishos/libglibutil
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libglibutil/

2022-12-18 Thread Denis Reva
commit: 722760e397e8126b7d5f0e3c45895dbcfe23fb0c
Author: Denis Reva  gmail  com>
AuthorDate: Sun Dec 18 13:34:36 2022 +
Commit:     Denis Reva  gmail  com>
CommitDate: Sun Dec 18 13:34:36 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=722760e3

dev-libs/libglibutil: Removed deprecated version

Signed-off-by: Denis Reva  gmail.com>

 dev-libs/libglibutil/Manifest  |  1 -
 dev-libs/libglibutil/libglibutil-1.0.63.ebuild | 29 --
 2 files changed, 30 deletions(-)

diff --git a/dev-libs/libglibutil/Manifest b/dev-libs/libglibutil/Manifest
index c3dbbf3cc..d06f4a980 100644
--- a/dev-libs/libglibutil/Manifest
+++ b/dev-libs/libglibutil/Manifest
@@ -1,2 +1 @@
-DIST libglibutil-1.0.63.tar.gz 58371 BLAKE2B 
731b4447e00209bc53d49297e7ad5c8535006a2a33a2b0d82268f2792da485685ec9a0051e533eba3afc3d8a714583c0189a0da2d577c94d5d0366cb29561020
 SHA512 
f45e9407d7a4872f25877fd3e20162a501423c795f053a5d4566fc95081258c2acd469ee5eafa01c49c3731dca6a1e07bfbc970817b3e8644ac10f3e6e5506c5
 DIST libglibutil-1.0.67.tar.gz 58717 BLAKE2B 
b53f6b416b974a0b7d24dba1c8497e5c8eceec32734006ab7c2bc5e5ce45e70ce63a0719f7a10127b90ad88394220edc4d2a97825fb82f7173bb68032e5f2e48
 SHA512 
5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541

diff --git a/dev-libs/libglibutil/libglibutil-1.0.63.ebuild 
b/dev-libs/libglibutil/libglibutil-1.0.63.ebuild
deleted file mode 100644
index 293c7b480..0
--- a/dev-libs/libglibutil/libglibutil-1.0.63.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/sailfishos/libglibutil.git;
-else
-   SRC_URI="https://github.com/sailfishos/libglibutil/archive/${PV}.tar.gz 
 -> ${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Library of glib utilities"
-HOMEPAGE="https://github.com/sailfishos/libglibutil;
-LICENSE="BSD"
-SLOT="0"
-
-DEPEND="dev-libs/glib"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_compile() {
-   emake KEEP_SYMBOLS=1
-}
-
-src_install() {
-   emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install-dev
-}



  1   2   3   >