From 85c69e3127d08180af3f8f7d2ae8dc5f0c94bde8 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 10 Apr 2024 05:38:34 +0500 Subject: [PATCH 1/5] net-im/beeper: new package, add 3.102.16 Signed-off-by: Anna (cybertailor) Vyalkova --- net-im/beeper/Manifest | 1 + net-im/beeper/beeper-3.102.16.ebuild | 96 ++++++++++++++++++++++++++++ net-im/beeper/metadata.xml | 8 +++ 3 files changed, 105 insertions(+) create mode 100644 net-im/beeper/Manifest create mode 100644 net-im/beeper/beeper-3.102.16.ebuild create mode 100644 net-im/beeper/metadata.xml diff --git a/net-im/beeper/Manifest b/net-im/beeper/Manifest new file mode 100644 index 0000000000..0278a8ee93 --- /dev/null +++ b/net-im/beeper/Manifest @@ -0,0 +1 @@ +DIST beeper-3.102.16-build-2404092haaf1gp0-amd64.deb 126671552 BLAKE2B 384f2e3c54c74561dbc0445ee45ca0bbab6f20cbb35b8ab544b6c47bc24aae8a21b69131eacabbf7a37a18b6fe352a73c32ad8fa0641e9383b7d67c64f8a92d6 SHA512 20cefc4ccc0288b19b7bb53420c974aaabf65fee2f98566cbdb7ab4d48e4f2dcc4a8e5e8d706ca80c465c86d59180d52e5576ab32c9009481a8e78a5cae34754 diff --git a/net-im/beeper/beeper-3.102.16.ebuild b/net-im/beeper/beeper-3.102.16.ebuild new file mode 100644 index 0000000000..b904a89e26 --- /dev/null +++ b/net-im/beeper/beeper-3.102.16.ebuild @@ -0,0 +1,96 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop unpacker xdg + +BUILD_ID="2404092haaf1gp0" +DESCRIPTION="Beeper: Unified Messenger" +HOMEPAGE="https://www.beeper.com/" +SRC_URI="https://download.todesktop.com/2003241lzgn20jd/${P}-build-${BUILD_ID}-amd64.deb" +S="${WORKDIR}" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" + +IUSE="appindicator" +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + app-crypt/libsecret + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + x11-misc/xdg-utils + appindicator? ( dev-libs/libayatana-appindicator ) +" + +QA_PREBUILT="*" + +pkg_pretend() { + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + + cd opt/Beeper/locales || die + chromium_remove_language_paks +} + +src_install() { + domenu usr/share/applications/beeper.desktop + for size in {16,32,48,64,128,256,512,1024}; do + doicon -s ${size} usr/share/icons/hicolor/${size}x${size}/apps/beeper.png + done + + local DESTDIR="/opt/Beeper" + cd opt/Beeper || die + + exeinto "${DESTDIR}" + doexe beeper chrome-sandbox *.so* + [[ -x chrome_crashpad_handler ]] && \ + doexe chrome_crashpad_handler + + insinto "${DESTDIR}" + doins *.pak *.bin *.json *.dat + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fperms 4755 "${DESTDIR}"/chrome-sandbox + + # https://bugs.gentoo.org/898912 + if use appindicator; then + dosym -r /usr/lib64/libayatana-appindicator3.so "${DESTDIR}"/libappindicator3.so + fi +} diff --git a/net-im/beeper/metadata.xml b/net-im/beeper/metadata.xml new file mode 100644 index 0000000000..7ebbd03347 --- /dev/null +++ b/net-im/beeper/metadata.xml @@ -0,0 +1,8 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + From a8e7ae071722f0b0d8b51e6e74a3ae83eea1eb8b Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 10 Apr 2024 07:40:34 +0500 Subject: [PATCH 2/5] media-sound/pipewire-module-xrdp: add 0.2, drop 0.1_pre20230609 Signed-off-by: Anna (cybertailor) Vyalkova --- media-sound/pipewire-module-xrdp/Manifest | 1 + ...0230609.ebuild => pipewire-module-xrdp-0.2.ebuild} | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) rename media-sound/pipewire-module-xrdp/{pipewire-module-xrdp-0.1_pre20230609.ebuild => pipewire-module-xrdp-0.2.ebuild} (66%) diff --git a/media-sound/pipewire-module-xrdp/Manifest b/media-sound/pipewire-module-xrdp/Manifest index 491303a2a1..8dcf8246ae 100644 --- a/media-sound/pipewire-module-xrdp/Manifest +++ b/media-sound/pipewire-module-xrdp/Manifest @@ -1 +1,2 @@ DIST pipewire-module-xrdp-0.1_pre20230609.tar.gz 28789 BLAKE2B 3c07608220a73e76bffb1e0733267137a1a8730c82956ca6401b9a612b76a656d97e62b04edfc240c3ad04eed82056e139111c41f1d5f71c38ad4f589fdba59e SHA512 06fc1fb1148c6c352c3de5990e14ae09d13f3959dabe8577b2a2ea0660c77231c18e663f462b05db488b2ec36f0708dba080a649f30ed60f744e03b206acc642 +DIST pipewire-module-xrdp-0.2.tar.gz 28839 BLAKE2B c48ebf1101a1163a28e6ffa8f380570a2e8ecf8ed9ddeb713ecb140893144cf322329e7d3529cb1f692214c98879ed47892458f4914c0ce2d62a5b21be94f797 SHA512 76db78881b4476bbfa046a133e29e3d92911839af559aa01d55dce68a2ee8908aaa8871f7e29e663ffa71aad89b1e80b64199fb0ac88decc477fcc71591fa754 diff --git a/media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.1_pre20230609.ebuild b/media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.2.ebuild similarity index 66% rename from media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.1_pre20230609.ebuild rename to media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.2.ebuild index 82b88120d9..5ac12d5bed 100644 --- a/media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.1_pre20230609.ebuild +++ b/media-sound/pipewire-module-xrdp/pipewire-module-xrdp-0.2.ebuild @@ -1,15 +1,13 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools xdg -COMMIT="e9c6c05dd4327fca43d8861535c1f75c9b258aef" DESCRIPTION="PipeWire module which enables xrdp to use audio redirection" HOMEPAGE="https://github.com/neutrinolabs/pipewire-module-xrdp" -SRC_URI="https://github.com/neutrinolabs/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" +SRC_URI="https://github.com/neutrinolabs/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" @@ -23,3 +21,8 @@ src_prepare() { default eautoreconf } + +src_install() { + default + find "${ED}" -name "*.la" -delete || die +} From 6707340b312ab086067fde312afd045362646c9f Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 10 Apr 2024 07:47:08 +0500 Subject: [PATCH 3/5] net-proxy/snowflake: add 2.9.2, drop 2.7.0 Signed-off-by: Anna (cybertailor) Vyalkova --- net-proxy/snowflake/Manifest | 2 +- ...ke-2.7.0.ebuild => snowflake-2.9.2.ebuild} | 20 +++++-------------- 2 files changed, 6 insertions(+), 16 deletions(-) rename net-proxy/snowflake/{snowflake-2.7.0.ebuild => snowflake-2.9.2.ebuild} (79%) diff --git a/net-proxy/snowflake/Manifest b/net-proxy/snowflake/Manifest index 1f83b69632..85a52c1c45 100644 --- a/net-proxy/snowflake/Manifest +++ b/net-proxy/snowflake/Manifest @@ -1,2 +1,2 @@ -DIST snowflake-v2.7.0.tar.gz 21617453 BLAKE2B c91835ffee5faef705fb45ddf7280cbff3016de027b790837f1ac459de108a9f5809c6fc42149332aab88750fb8f24b9e4cd0c04a2d8958d4157d487af0a76e6 SHA512 1bc65efdcc92e201df1e533fcb09c3c20803b7f97dec941f511f6d8d86597c0b4a2618edb2de9c1266d46dad26a51893f2918fcc4af161ec7032496aab76d483 DIST snowflake-v2.8.1.tar.gz 22650711 BLAKE2B a330fd8f4c8b7858dcdf58865a84f0fda8d3c8ce6b8d2e8e9b50a041349d0e3c8de7f028275bc33344cd1e4060572d64a26b1922f94ad01adc75bacfb2caf057 SHA512 752afc7fdcbdefa19e4ef319ec7ce9f4ad8182557ce6a51caf7b24e4d08c6f755d34686ce8513f99e216ef314c437328dccfb7d6d16649b63561ed20d5891234 +DIST snowflake-v2.9.2.tar.gz 22966466 BLAKE2B c1d88c4f90f4715c903943061fe8016f1979a974f1d5dfe603d5a43ef3f09e81540127dfc85c2d1d182229ee8b017e49320ce6e22d0b3e090dea8960af041817 SHA512 1139c13fcb129f1f1f7349e6b57903afce5d227d598cc20d158e0b01e0993d4511d3400ef8e6eb27f5ec8c795fd4fb34402e11706f04461706d4b5ffc736f523 diff --git a/net-proxy/snowflake/snowflake-2.7.0.ebuild b/net-proxy/snowflake/snowflake-2.9.2.ebuild similarity index 79% rename from net-proxy/snowflake/snowflake-2.7.0.ebuild rename to net-proxy/snowflake/snowflake-2.9.2.ebuild index d2b75ce4aa..d612b7f1b2 100644 --- a/net-proxy/snowflake/snowflake-2.7.0.ebuild +++ b/net-proxy/snowflake/snowflake-2.9.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 inherit go-module systemd MY_P="${PN}-v${PV}" -JOB_ID="389000" +JOB_ID="504153" DESCRIPTION="Pluggable Transport using WebRTC, inspired by Flashproxy" HOMEPAGE=" https://snowflake.torproject.org/ @@ -21,26 +21,16 @@ KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" -BDEPEND="test? ( >=dev-lang/go-1.21 )" +BDEPEND=">=dev-lang/go-1.21" src_configure() { COMPONENTS=( broker + client probetest proxy + server ) - - if has_version -b ">=dev-lang/go-1.21"; then - COMPONENTS+=( - client - server - ) - else - ewarn "The following components have been disabled:" - ewarn " client server" - ewarn - ewarn "You need >=dev-lang/go-1.21 to build them." - fi } src_compile() { From 4d95b430ff43296f6e3669a2411f548cd5b332d8 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 10 Apr 2024 09:17:47 +0200 Subject: [PATCH 4/5] dev-lang/opencilk: add 2.1 Signed-off-by: Florian Schmaus --- dev-lang/opencilk/Manifest | 3 + dev-lang/opencilk/opencilk-2.1.ebuild | 82 +++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 dev-lang/opencilk/opencilk-2.1.ebuild diff --git a/dev-lang/opencilk/Manifest b/dev-lang/opencilk/Manifest index b8af72dabd..8d37bb588f 100644 --- a/dev-lang/opencilk/Manifest +++ b/dev-lang/opencilk/Manifest @@ -1,3 +1,6 @@ DIST opencilk-cheetah-1.1.tar.gz 197399 BLAKE2B d0fda6b85ff893d246cee7000298cc061902fa8b8abdf635fdefb291c922849a60b69a245e22d591630d0bfd6f7ad904d13a8c0229f08465ac0f97faee89541a SHA512 5ac6aa993133ca3dbd1e3d500b2af78e4c768dbb0fbdf65abde714a5a026348e513adf42c306382c34f9d2a7b77b8744039c47735f0b1c87993814bd14872c81 +DIST opencilk-cheetah-2.1.tar.gz 139245 BLAKE2B c7fb78b46506b53f61770e6e0be01547217bba9d9bfbcdcb12668752ad02b08674ad92c4e2e3397ed74039eac59585ca0c68869fb6ce0e4c0a85cf345e443884 SHA512 b631eb6ce1c329626ea68acf5c02b94b30a0b21fa696eec884ddae9b3182697bf70e316e836dd94ecddbe92767ed8708d9767b8a1aec9ed16fc0d15df44f150e DIST opencilk-productivity-tools-1.1.tar.gz 192982 BLAKE2B 51ca3e476ffd632b760c9b2fc64f425740e6a13e3c0cadd4ad30119a936816e1f81199cb0ba239d7e7043aa81750be72147f6dd59196f5cd515c78b71470c927 SHA512 5d0416db99c382b27fe0b86f7a06da81178114c800b80b9a6394714d82408fdc2c146d65d58a9c2f923a33347007eb24e139b7f194bac633f9672200635886f8 +DIST opencilk-productivity-tools-2.1.tar.gz 224128 BLAKE2B d5a76a3ebaec93308cac01e0a99d7ff8a1abc07378fcbdd5b4cb7f802535c8b5ca39e761dd14a3e3414799b82cc7cd109852b6fc9938a995960ab7b5c20a9663 SHA512 2957e9ad723fc1aa1345ac2fd4e53ecd720811dfca12910295bda86b0b93cf42727854cb4decbf6c7699c860fa895401cb722d461f658dffce6d2975aabb1bac DIST opencilk-project-1.1.tar.gz 137875544 BLAKE2B f9297175cb09f13c6daffbf51c7506fc2efbb4e75f84e8ce1a65c985aed3c0cb10a099a010b7b9612fb442bff0cf8ce41295111bea8c182c11e472b5be08fd7d SHA512 341220f0b638376e2668c136c42490560ce3b87d3fb5aea6c23e4c0eb90f3ce7a11f811d1c31c18366985a4c874bd5387f8cc05e748a4fba31634bc572816513 +DIST opencilk-project-2.1.tar.gz 183270741 BLAKE2B 5db809a6a6ff8faebf0627e895a28983f914d816d6f3b932ebc8edbbe0ac39f319d9eadee499a1d30915689e752d9c99d83c36c86fcc0bed03beb5f3ef73dd63 SHA512 e9095218f517ae76c3614109e53a6c760a3286e32553f536c1d3fb2c70d687a1b0fcb95fb8bbe093670b93e245e101db1ac132f268f0e914a2a7b9a038480325 diff --git a/dev-lang/opencilk/opencilk-2.1.ebuild b/dev-lang/opencilk/opencilk-2.1.ebuild new file mode 100644 index 0000000000..1f4195b10a --- /dev/null +++ b/dev-lang/opencilk/opencilk-2.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The OpenCilk concurrency platform for parallel programming" +HOMEPAGE="https://opencilk.org/" + +SRC_URI=" + https://github.com/OpenCilk/opencilk-project/archive/refs/tags/opencilk/v${PV}.tar.gz -> ${PN}-project-${PV}.tar.gz + https://github.com/OpenCilk/cheetah/archive/refs/tags/opencilk/v${PV}.tar.gz -> ${PN}-cheetah-${PV}.tar.gz + https://github.com/OpenCilk/productivity-tools/archive/refs/tags/opencilk/v${PV}.tar.gz -> ${PN}-productivity-tools-${PV}.tar.gz +" + +# Since opencilk-project is a fork of LLVM 12, this lists the licenses +# of LLVM 12, while opencilk-project states that it us under "MIT with +# the OpenCilk Addendum", which basically states that you can +# distributed it under the LLVM licences. I am also not sure if OpenCilk +# is able to change the license of LLVM (which source code they use), +# hence this needs more investigation and we only list t he LLVM 12 +# licenses, because those definetly are correct. +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug" + +MY_POSTFIX="${PN}-v${PV}" +S="${WORKDIR}/${PN}-project-${MY_POSTFIX}" +CMAKE_USE_DIR="${S}/llvm" + +RDEPEND=" + dev-libs/libxml2 + sys-libs/ncurses:= + sys-libs/zlib +" + +src_prepare() { + local -A symlinks + symlinks["${S}/cheetah"]="${WORKDIR}/cheetah-${MY_POSTFIX}" + symlinks["${S}/cilktools"]="${WORKDIR}/productivity-tools-${MY_POSTFIX}" + + local link target + for link in "${!symlinks[@]}"; do + target="${symlinks[${link}]}" + ln -rs "${target}" "${link}" || die + done + + cmake_src_prepare +} + +src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + -DLLVM_ENABLE_PROJECTS="clang;compiler-rt" + -DLLVM_ENABLE_RUNTIMES="cheetah;cilktools" + -DLLVM_TARGETS_TO_BUILD=host + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/opt/${P}" + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + -DBUILD_SHARED_LIBS=OFF + -DLLVM_HOST_TRIPLE="${CHOST}" + ) + cmake_src_configure +} + +src_compile() { + # It appears there is a missing dependency declaration in OpenCilk's + # cmake build where llvm-link not getting build, leading to + # LLVM_LINK-NOTFOUND spilling into the make/ninja generator + # files. Ensure that llvm-link is always build. + cmake_build llvm-link + + cmake_build +} + +src_install() { + cmake_src_install + # Do not install man pages which may conflict with llvm/clang/etc. + rm "${ED}/usr/share/man/man1/scan-build.1" || die +} From 5cacbb6f4efadd9a20b8bf5ad81f306b4c6fc048 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 10 Apr 2024 09:18:25 +0200 Subject: [PATCH 5/5] dev-lang/opencilk-bin: add 2.1 Signed-off-by: Florian Schmaus --- dev-lang/opencilk-bin/Manifest | 1 + dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild diff --git a/dev-lang/opencilk-bin/Manifest b/dev-lang/opencilk-bin/Manifest index d116e75d5a..ba9556ddf1 100644 --- a/dev-lang/opencilk-bin/Manifest +++ b/dev-lang/opencilk-bin/Manifest @@ -1 +1,2 @@ DIST OpenCilk-1.1-LLVM-12.0.0-Ubuntu-20.04-x86_64.tar.gz 785074089 BLAKE2B 1fa59979e025619ac19df8442705e8c44b5ee33dd2fed8d6531bc430909fb0b71685aa614a86532a50609b3d5a2d78719dd6720b3073cff0615c0fadf04bd5e7 SHA512 112f6a7033dfd010b7da01dad3221e54f8b46eeaede5d0afa95df07734c25fd063c9a651c3596d5cf15d214804d6cd381e05f26cb8b335a810daab985bf8c368 +DIST opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04.tar.gz 1151431675 BLAKE2B 6449ab819733ac2bdace293764564e6d9dd890e10a033bd1a45fe669dc88ed15cd77539295f9294a1cf8cc84b5464c887c821fa4708c06765d98cb85902ba003 SHA512 bfa08acb8e135361e7611b2fc03811ea72736cdca84a7057220bf6696d7ff09dbc209d5b2b73775052b569ad5a921f458d60072c1029873121a330c3a7e32b77 diff --git a/dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild b/dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild new file mode 100644 index 0000000000..83671bf108 --- /dev/null +++ b/dev-lang/opencilk-bin/opencilk-bin-2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="The OpenCilk concurrency platform for parallel programming" +HOMEPAGE="https://opencilk.org/" + +SRC_URI="https://github.com/OpenCilk/opencilk-project/releases/download/opencilk%2Fv${PV}/opencilk-${PV}.0-x86_64-linux-gnu-ubuntu-22.04.tar.gz" + +# Since opencilk-project is a fork of LLVM 12, this lists the licenses +# of LLVM 12, while opencilk-project states that it us under "MIT with +# the OpenCilk Addendum", which basically states that you can +# distributed it under the LLVM licences. I am also not sure if OpenCilk +# is able to change the license of LLVM (which source code they use), +# hence this needs more investigation and we only list t he LLVM 12 +# licenses, because those definetly are correct. +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + dev-libs/libxml2 + sys-libs/ncurses:= + sys-libs/zlib +" + +S="${WORKDIR}" + +QA_FLAGS_IGNORED="opt/${P}/.*" + +src_install() { + local target="opt/${P}" + dodir "${target}" + mv opencilk-2.1.0-x86_64-linux-gnu-ubuntu-22.04/* "${ED}/${target}" || die +}