diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index ba9451f7e9..8cee2ae796 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1,3 +1,4 @@ DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0 DIST bw-linux-2024.4.0.zip 33268198 BLAKE2B 672e2bc0b123320fa1118d1043c4314905203cd890c49d4c5c5ab524a9b12d3f966863dce9b4a1c5921816564fb94e908b099a94f44d033db7da3ac805de529b SHA512 07c5b153025e3303ee6f563b9e7a88908d5f7f8877594b42f94fceb3daddb77c718cf01d1546a80618c288a38a8872dbbda8faf1bc2d58af7cf74b0347e95e51 +DIST bw-linux-2024.6.0.zip 35438206 BLAKE2B 59a464240a0940a28d5bb57d087efc68f1b714ca7c7711a4a42bb40ccd3b682255537d053f8d573c57ef50a5b547d5c05946e3e262e0b01c6a25fbc98543fe17 SHA512 6ffb7ab7bd405f49cd620c4110136d656362f1b57d6051da4066f60c3e3d562baa0aebc2d0d9e47967da4cbbba2e06cbfab2d3aefc48fd3620551caf8e4c05a7 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild new file mode 100644 index 0000000000..d30d477c53 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli" + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +BDEPEND="app-arch/unzip" +QA_PREBUILT="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh 2> /dev/null || die +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +} diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest index 28702d8efc..41fd79a373 100644 --- a/app-office/obsidian/Manifest +++ b/app-office/obsidian/Manifest @@ -4,3 +4,6 @@ DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c DIST obsidian-1.5.12-amd64.tar.gz 107180662 BLAKE2B 52dd5a7f818629ba57cadec4a0c6b4f75d99c19ceaf1537b4f6b7dc0f9901c52b78318587b1f2a273ad6345475026e45c805d8978e7c0558a2487b9b2bf33376 SHA512 643409760fd99c6863679ca93b740a5f9a3d331144a82889c0a2f85bd53af4dcc0d5960840f8b7fa06216796fb5fc10522a769c27d8218bb32fb79370524b324 DIST obsidian-1.5.12-arm64.tar.gz 106911948 BLAKE2B 484128a6d790e5d7cf7c02df3ba192ea8a571b760b1b0e1719aa652237b586ceb281ca73e268cce200365a79fc711fb5b67966601be69e5b370fcebf59531de5 SHA512 b0bea43efd0be464a33847d23f8c3e5f204a9e76621cc17f37d852e9ebc5f6cddd82ac1ac65d6c847d4d1453dc9615a89bb7cf16739e08444ae2c502240a571b DIST obsidian-1.5.12.gh.deb 78651254 BLAKE2B 22b3596a9bb098b4a15a79ed39a302526dd8f2294b85227a06a95ceaf2e597d2ab5e1d689dd6f3e497ed2acc2e0689bf79949b1337e4b34998bdb3f1b93b96ca SHA512 f0cdb88d54c0ae3ab8dc62dab7df21b6617ce4973d81798d344cac5608689cc0a2618345dcdec1c08750194d2d02118c81b2edf8a308547bbbde56dbf6100528 +DIST obsidian-1.6.3-amd64.tar.gz 107181697 BLAKE2B 28585263ebe3cda2bfebaec6a6a36855286d5e2c0b10538e207168ee945d810b84085190e1d4e76cb666982c5b83f7dadf0f533cfd3ff3c0c6e98329a6e06e1a SHA512 fa57ad6bbd1b8c04eba329a663a448786e31bf16c26a481f0ee078e40261e3f9d8dab09fb167940b28e067e6ab80a6120452a0ff08dba5382812d1eac6154161 +DIST obsidian-1.6.3-arm64.tar.gz 106921857 BLAKE2B c87abea6309a7bc8b87e7de44fd14a75747772797c3fa1133ee883f30839ca77c97b5e3eedb3bd4f72c692f2ec33b309847723232417c07bfe381650b5feabe0 SHA512 797c351aa7f4e09bb24b609c788f8856273aa4f21297a04cdc558772f188f43a8add146150e68d547ef6fc1033b9919b6ac6f760bc5cddad4a3d52d5c1d02307 +DIST obsidian-1.6.3.gh.deb 78238076 BLAKE2B 27164e545c36d9f7897aa3a81e1abcb233ea35ec9f9c0a797eafe83ad3fece6b73e82236bccd5deb23d496622609897e9f1c0e2dc2d38f75a75f3bddd0dc7eca SHA512 96219a0a4935f4b44ad969a58374c52cd642c202119291e0956adba9eec6f4b7887b9d46244c93bf0fff2609d66e3e1c09ed445e6657079d48b0dfe4f83572b3 diff --git a/app-office/obsidian/obsidian-1.6.3.ebuild b/app-office/obsidian/obsidian-1.6.3.ebuild new file mode 100644 index 0000000000..168968ddb8 --- /dev/null +++ b/app-office/obsidian/obsidian-1.6.3.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_VERSION="102" +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 linux-info unpacker xdg + +DESCRIPTION="A second brain, for you, forever." +HOMEPAGE="https://obsidian.md/" + +# For some reason, the main binary tarballs don't include the .desktop file or +# icon. The .deb does. One would hope then, that we could just download the .deb +# for each arch, but they only generate a .deb for amd64. Maybe we can get them +# to fix this, but in the meantime, we download the .deb purely to get the +# .desktop file and app icon out of it. +SRC_URI=" + https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb + amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz ) +" + +DIR="/opt/${PN^}" + +# deb gets extracted to WORKDIR. actual program gets extracted to its own dir +# which depends on CPU arch. +S="${WORKDIR}" + +LICENSE="Obsidian-EULA" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="appindicator" +RESTRICT="mirror strip bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/fontconfig + media-libs/mesa[gbm(+)] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + appindicator? ( dev-libs/libayatana-appindicator ) +" + +QA_PREBUILT="*" + +CONFIG_CHECK="~USER_NS" + +set_obsidian_src_dir() { + if use amd64; then + S_OBSIDIAN="${WORKDIR}/${P}" + elif use arm64; then + S_OBSIDIAN="${WORKDIR}/${P}-arm64" + else + die "Obsidian only supports amd64 and arm64" + fi +} + +src_configure() { + default + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + set_obsidian_src_dir + pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed" + chromium_remove_language_paks + popd >/dev/null || die "location reset for language cleanup failed" + + # Create separate .desktop file for launching Obsidian with native wayland + # support. + # + # Obsidian is an Electron app, and Electron can be instructed to run in + # native-wayland mode by turning on the Ozone platform. However, doing this + # causes Obsidian to crash on some users' systems, while it works fine for + # others. (see https://bugs.gentoo.org/915899) + # + # It appears VSCode may have encountered a similar issue, because VSCode + # installs two separate .desktop files, one for launching with wayland + # support and one for launching without. We will do the same here. + + # Create a copy of upstream's .desktop + cp usr/share/applications/obsidian.desktop \ + usr/share/applications/obsidian-wayland.desktop \ + || die "failed to create obsidian-wayland.desktop file" + + # Edit the Exec & Name + sed -i \ + ' + # Add Electron ozone enable flags to obsidian execution + /Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations / + + # Give this .desktop file a new name/desc of "Obsidian Wayland" + /^Name/s/$/ Wayland/ + + # comment field + /^Comment/s/$/ with Wayland support enabled/ + ' \ + 'usr/share/applications/obsidian-wayland.desktop' || + die "sed failed for obsidian-wayland.desktop file" +} + +src_install() { + insinto "${DIR}" + exeinto "${DIR}" + + set_obsidian_src_dir + pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed" + + doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1 + doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \ + v8_context_snapshot.bin vk_swiftshader_icd.json + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fowners root "${DIR}/chrome-sandbox" + fperms 4711 "${DIR}/chrome-sandbox" + + [[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler + + popd >/dev/null || die "location reset for main install failed" + + dosym "${DIR}/obsidian" "/usr/bin/obsidian" + + if use appindicator; then + dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so" + fi + + domenu usr/share/applications/obsidian.desktop + domenu usr/share/applications/obsidian-wayland.desktop + + for size in 16 32 48 64 128 256 512; do + doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png + done +} + +pkg_postinst() { + xdg_pkg_postinst + + ewarn "Some users have reported that running Obsidian with native Wayland" + ewarn "support causes the software to crash. Others have it working" + ewarn "without issue. See https://bugs.gentoo.org/915899" + ewarn "" + ewarn "This package now provides application entries for both Obsidian and" + ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland," + ewarn "try the other Obsidian entry to launch with XWayland" +} diff --git a/dev-cpp/scnlib/Manifest b/dev-cpp/scnlib/Manifest index 91f6953009..16ed6b2b39 100644 --- a/dev-cpp/scnlib/Manifest +++ b/dev-cpp/scnlib/Manifest @@ -1,2 +1 @@ -DIST scnlib-2.0.3.tar.gz 520197 BLAKE2B 6e0a88985e8113d85d5c511fe9ec857af12a5d34224fee7a41d8347e1e1e9fe7bb78b15bbdafd9c06006112de747c9c3cd6b101d1076b619e33ac7e745668cc4 SHA512 888f60d5a60b2e348001a56a59e123f496f89b09668f0b05791e878528c1c46930963f22e3b64130c875896ace56dffc0d9310edabb4804abf79cc125dfd5ff4 -DIST scnlib-3.0.0.tar.gz 410057 BLAKE2B f5e6336b08063eacfd3c1c53e22559ea808482fba80d190c1c7a40d17e9c31fc776e7b672ca0943781346de99e115e0a3bf60b910f715d90235bef9934465bb4 SHA512 bf768ce47d4717ddbd563f0fa9472ea001d632a42921737d1ac858c63c664fd834247e192f053927f880ce5b6774d47fb684088f5ac5dbc1033a10df22916df1 +DIST scnlib-3.0.1.tar.gz 410264 BLAKE2B 15b71f514f9ee7ee1c2a029592ec541e52c36e27cc28b4eac58d51a49bfa04869d9b02c291356a3f7a1d3e9af82ac78c5fdadcfe87575da2ca08a9395fc49935 SHA512 76f3196d6bd01a349c69bf1863cc0dc521a95b84ef25b841198acbef99e295b53c1c82c745a7498b9a86a6fd4cc0c395abcb02fdf18b1d7c9152321ab195945b diff --git a/dev-cpp/scnlib/scnlib-2.0.3.ebuild b/dev-cpp/scnlib/scnlib-2.0.3.ebuild deleted file mode 100644 index a3b4301895..0000000000 --- a/dev-cpp/scnlib/scnlib-2.0.3.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="scanf for modern C++ " -HOMEPAGE="https://www.scnlib.dev/" -SRC_URI="https://github.com/eliaskosunen/scnlib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RDEPEND=">=dev-cpp/simdutf-5.2.0:=" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-cpp/fast_float - test? ( dev-cpp/gtest ) -" - -RESTRICT="!test? ( test )" - -src_configure() { - local mycmakeargs=( - -DSCN_BENCHMARKS=OFF - -DSCN_BENCHMARKS_BINARYSIZE=OFF - -DSCN_BENCHMARKS_BUILDTIME=OFF - -DSCN_DOCS=OFF - -DSCN_EXAMPLES=$(usex test ON OFF) - -DSCN_TESTS=$(usex test ON OFF) - -DSCN_USE_EXTERNAL_FAST_FLOAT=ON - -DSCN_USE_EXTERNAL_GTEST=ON - -DSCN_USE_EXTERNAL_SIMDUTF=ON - ) - cmake_src_configure -} diff --git a/dev-cpp/scnlib/scnlib-3.0.0.ebuild b/dev-cpp/scnlib/scnlib-3.0.1.ebuild similarity index 100% rename from dev-cpp/scnlib/scnlib-3.0.0.ebuild rename to dev-cpp/scnlib/scnlib-3.0.1.ebuild diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest index d4f5fb747a..ac63928007 100644 --- a/dev-libs/libsignal-ffi/Manifest +++ b/dev-libs/libsignal-ffi/Manifest @@ -2,3 +2,5 @@ DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0 DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784 DIST libsignal-ffi-0.46.0-vendor.tar.xz 33689364 BLAKE2B 260ce4c19f4f1467a32cc1a78af5e76def16acb0fa9c0fed74ddef345ec187523c5efa8f1cb49846346fd2d584076f014a6ba52d5c0ed3c8831ffb85c6e09288 SHA512 df5cb098b863c88d7451bb84bb43b5441d39ee9de37aacd7fd388b020c7827567c6adc088ea7a2c675562a0e6e4745e8c3fbebf4dcfc8051fa80378081815943 DIST libsignal-ffi-0.46.0.gh.tar.gz 1405351 BLAKE2B fc9b4360b42b5ea925f11162736ae759008ec806c267e2bbfc4815ee501216e9669dc880528cd4cd4d6419496b4ffe61959d8af8cef99719878bd3c1eb02c309 SHA512 ca34ec4bb6d2931ba1b72c7c1640cb85e10b4418c305791494ba444afb7b9625c04d46c22eef2d070f66d7883e80f1a845b800ecd1344159877e84c757c78c0b +DIST libsignal-ffi-0.51.0-vendor.tar.xz 45705656 BLAKE2B 9cedcb219161b100d0b24319f3b1fd69d9ca6784d94b748bde12e4cb5f1621e6b71cc6b7909db6fc60b2ef45de4ad12992a902c5d86d79e6d4620fb47c0552cb SHA512 633cd8fcafd9b0f0c4454e6a56900c4188b2bd6cd8078517f6ad6ddb26cc07c9b53f5419239956007d2b770132834dd7384bfc65ae5ce552ac2d6e9950777b5c +DIST libsignal-ffi-0.51.0.gh.tar.gz 1482490 BLAKE2B c2f27c33e20c3b2701ea7025197371d8ed2f161123ecc58c2f50f5df7ca561f4295ae4142372e6d437d1203d3a148031604f6da69cfc231d8c580ba694be653a SHA512 646cb30451dc08f5659f61ea808d19d07336c7731c2309cb950e5f94e3993221ff7cb8311512c1490bbb09b6378f4cc14dfc2ff0689d6e3e7494f2b8a8769406 diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild new file mode 100644 index 0000000000..daf5f5e7ab --- /dev/null +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.1 + +EAPI=8 + +inherit cargo + +DESCRIPTION="A C ABI library which exposes Signal protocol logic" +HOMEPAGE="https://github.com/signalapp/libsignal" +SRC_URI=" + https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://herbizarre.swordarmor.fr/garbage/${P}-vendor.tar.xz +" +S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi" + +LICENSE="AGPL-3" +# Dependent crate licenses +LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-libs/protobuf + sys-devel/clang +" + +src_unpack() { + default + cargo_gen_config + ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die + sed -i "${ECARGO_HOME}/config" \ + -e '/source.crates-io/d' \ + -e '/replace-with = "gentoo"/d' \ + -e '/local-registry = "\/nonexistent"/d' \ + || die + cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die +} + +src_install() { + if use debug; then + TARGET=debug + else + TARGET=release + fi + + dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a" +} diff --git a/dev-python/anytree/Manifest b/dev-python/anytree/Manifest index 97b80ce124..46aba4f417 100644 --- a/dev-python/anytree/Manifest +++ b/dev-python/anytree/Manifest @@ -1 +1 @@ -DIST anytree-2.12.0.tar.gz 192330 BLAKE2B 117f80689b6610f622a41b2abb85cf54f2ba639659f80e6b8d163043d2552586ef11ed86532b19c7b69beec5e66ab3acad2f72ed0f1e9aa5d3832e4e8ec76457 SHA512 822a72cf84227a7b78cb3808eea585d783821d9c476f1b1e50d77cf982b4bf3c08011be9564ff5205a3efd0d982b03daabeb0067aea523a14002179c94451ff4 +DIST anytree-2.12.0.gh.tar.gz 192330 BLAKE2B 117f80689b6610f622a41b2abb85cf54f2ba639659f80e6b8d163043d2552586ef11ed86532b19c7b69beec5e66ab3acad2f72ed0f1e9aa5d3832e4e8ec76457 SHA512 822a72cf84227a7b78cb3808eea585d783821d9c476f1b1e50d77cf982b4bf3c08011be9564ff5205a3efd0d982b03daabeb0067aea523a14002179c94451ff4 diff --git a/dev-python/anytree/anytree-2.12.0.ebuild b/dev-python/anytree/anytree-2.12.0.ebuild index b34aff9a03..bbed6b04b5 100644 --- a/dev-python/anytree/anytree-2.12.0.ebuild +++ b/dev-python/anytree/anytree-2.12.0.ebuild @@ -7,17 +7,32 @@ PYTHON_COMPAT=( python3_{10..13} ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 -# inherit pypi DESCRIPTION="Powerful and Lightweight Python Tree Data Structure with various plugins" HOMEPAGE="https://anytree.readthedocs.io/" -SRC_URI="https://github.com/c0fec0de/anytree/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/c0fec0de/anytree/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="dot" + +RDEPEND=" + dot? ( + media-gfx/graphviz + ) +" + +DEPEND="${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/six[${PYTHON_USEDEP}] + ') + ) +" + distutils_enable_sphinx docs distutils_enable_tests pytest @@ -29,6 +44,14 @@ src_prepare(){ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x EPYTEST_DESELECT=() + + if ! use dot; then + EPYTEST_DESELECT+=( + "tests/test_dotexport.py::test_tree_png" + ) + fi + cd "${S}/tests" || die distutils-r1_python_test } diff --git a/dev-python/anytree/metadata.xml b/dev-python/anytree/metadata.xml index 4961d1e12a..475d5d4cae 100644 --- a/dev-python/anytree/metadata.xml +++ b/dev-python/anytree/metadata.xml @@ -8,4 +8,7 @@ c0fec0de/anytree Anytree + + allow to create dot graphs using media-gfx/graphviz + diff --git a/dev-util/distribution-gpg-keys/Manifest b/dev-util/distribution-gpg-keys/Manifest index 00571f6dd5..167804ccb8 100644 --- a/dev-util/distribution-gpg-keys/Manifest +++ b/dev-util/distribution-gpg-keys/Manifest @@ -1 +1 @@ -DIST distribution-gpg-keys-1.103-1.tar.gz 57321798 BLAKE2B 8e3e46ee3916f2f02b5398a61cb578638f531b820ac9589e4d585ed18fa395e5492db45564237cd0555e1ea5341fd7089d8c4bd2be9d104e8bd0f8b8b877043d SHA512 9dc7c854f796484ee710783fcc931f13bbef7fd5d1514cd2f06b33d43fb575aa06bef03be3d2683730175491cdf7a91a7b49c1f7c5dac93f794e38939f925081 +DIST distribution-gpg-keys-1.104-1.tar.gz 63565336 BLAKE2B 6ba4dda992f14212fe2865657c0bfd341c7c4078ee42d68344704373ae25d627b4319ada632f2b1f2ca49a2da0a2d2ce1fb422fba7be84a750dab9040a31998c SHA512 3adb06f8e4c5f9983c752916e5e63045aad19caffac3de0a90ef232fd616b9a5edaf56d7dc2d330f4d8b7a0a412619918043fce68fcdb44b29605c85d66b84af diff --git a/dev-util/distribution-gpg-keys/distribution-gpg-keys-1.103.ebuild b/dev-util/distribution-gpg-keys/distribution-gpg-keys-1.104.ebuild similarity index 100% rename from dev-util/distribution-gpg-keys/distribution-gpg-keys-1.103.ebuild rename to dev-util/distribution-gpg-keys/distribution-gpg-keys-1.104.ebuild diff --git a/dev-util/mock-core-configs/Manifest b/dev-util/mock-core-configs/Manifest index 3ab2408846..68f42a5496 100644 --- a/dev-util/mock-core-configs/Manifest +++ b/dev-util/mock-core-configs/Manifest @@ -1 +1 @@ -DIST mock-core-configs-40.5-1.tar.gz 370990 BLAKE2B 5f721811bd66b75f87e8cf3a92040fa8e1f7ddbf3c6086a1e4aa4c0f96792a2e6a4011cae27e85b77993d4bc8e5093001400e997271a5cc8f5b56e5dcd0b5413 SHA512 3c41c12b222d270a01ccbc13861e57a4aadad486a327e2d487fea0a4636dd0c01bc01b91f6fec50d14e55dc6c540f8d58f71a6ad6ec22cc42a452bd21e19b71c +DIST mock-core-configs-40.6-1.tar.gz 371264 BLAKE2B a063cd7f5eb1de96453f500d02de053ed6968ee2a1468a9bfbb43130a8834070376b7c1f78f86abc4fd987cb19b521cc0b5986e0d792c4d5938f4f1cfb10b942 SHA512 2d4cf5cf37802b199c0ca01d442329377d45ccd7ef6aea3ad38f148f06ff415776c2c306e87546264d7777c0af4852aa826b5b0b458abd9dce7fdeae909a8737 diff --git a/dev-util/mock-core-configs/mock-core-configs-40.5.ebuild b/dev-util/mock-core-configs/mock-core-configs-40.6.ebuild similarity index 100% rename from dev-util/mock-core-configs/mock-core-configs-40.5.ebuild rename to dev-util/mock-core-configs/mock-core-configs-40.6.ebuild diff --git a/dev-util/pmbootstrap/Manifest b/dev-util/pmbootstrap/Manifest index 2340b1625c..c073823540 100644 --- a/dev-util/pmbootstrap/Manifest +++ b/dev-util/pmbootstrap/Manifest @@ -1 +1 @@ -DIST pmbootstrap-1.51.0.tar.gz 230563 BLAKE2B d1832a699c7e5a86eaa2c145df1e48c92b3f370be92a82b6841d302a85ba5450ca7c6a4cae040cb0191fcc7cea909e63e5d7915bf1cd16891577d654ea86ecdb SHA512 288a2ad12f93f4ff7d11ec37448b739611acb684f41b68327ca83997e6d9bbf8110dc42f93e00d356728b16193092142055378c18d23c49c2b11324cee6121b3 +DIST pmbootstrap-2.3.1.tar.bz2 22491945 BLAKE2B b74816ae98068d87979f235e42e71cfc2f2345bb962ecf4338b2ecb24304e60f2aa3cd0e01b2f39019d9f966fbea3ea10b69fb79fb21c850b46e345a69d65d7a SHA512 d2c184ca3bb2f3a671a3a17a73f2f3e38ed1971ba11ab9bdec0151c06988c99b97e2558acfe176956a5348f661f863449174e60313422e10a1ebcd9ae72e581a diff --git a/dev-util/pmbootstrap/metadata.xml b/dev-util/pmbootstrap/metadata.xml index 2c8371a6e6..fe462bb0db 100644 --- a/dev-util/pmbootstrap/metadata.xml +++ b/dev-util/pmbootstrap/metadata.xml @@ -1,8 +1,12 @@ - + + Jason Blackwell + blackwell@disroot.org + - pmbootstrap + https://gitlab.com/postmarketOS/pmbootstrap/-/issues + postmarketOS/pmbootstrap diff --git a/dev-util/pmbootstrap/pmbootstrap-1.51.0.ebuild b/dev-util/pmbootstrap/pmbootstrap-2.3.1.ebuild similarity index 93% rename from dev-util/pmbootstrap/pmbootstrap-1.51.0.ebuild rename to dev-util/pmbootstrap/pmbootstrap-2.3.1.ebuild index ca2650562a..0600f45f11 100644 --- a/dev-util/pmbootstrap/pmbootstrap-1.51.0.ebuild +++ b/dev-util/pmbootstrap/pmbootstrap-2.3.1.ebuild @@ -10,6 +10,7 @@ inherit distutils-r1 linux-info pypi DESCRIPTION="Helper tool for developing and building postmarketOS" HOMEPAGE="https://postmarketos.org/" +SRC_URI="https://gitlab.com/postmarketOS/pmbootstrap/-/archive/${PV}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild index d495d12997..a8720f8c26 100644 --- a/media-libs/wivrn/wivrn-9999.ebuild +++ b/media-libs/wivrn/wivrn-9999.ebuild @@ -16,7 +16,6 @@ REQUIRED_USE="|| ( nvenc vaapi x264 )" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/Meumeu/WiVRn.git" - EGIT_BRANCH="dev" MONADO_V=598080453545c6bf313829e5780ffb7dde9b79dc PFR_V=2.2.0 diff --git a/media-sound/lms/Manifest b/media-sound/lms/Manifest index f38af00f09..4fcfa5facb 100644 --- a/media-sound/lms/Manifest +++ b/media-sound/lms/Manifest @@ -1,2 +1 @@ -DIST lms-3.53.0.tar.gz 423679 BLAKE2B 4b6c5ac28f10674209242c11593de999e50a8ae975f44bec3f277fbe9c4aeb3968bb4bce135540c1df0d6014e805d7617e2203bc5fcf56a64dedb1562df0cdbc SHA512 19e90135049097a814ef9c0d760c5ff7ca061d7a2e27720f1ee645d2781026be233dcb7105034ac291e416e990b0a91b6df4f9c235f5ef18e733e07f8dfe2ead DIST lms-3.54.0.tar.gz 428132 BLAKE2B bec14813d42e5a0d2854c62827218c06b56d092e6228ff7b32b37a0c0d85f545eb8747c8108dd390e445d28921c4a79f4a86d9985a3d1e0ffe888b4beb1a2261 SHA512 e0434c12d460d9ee2a1aaaa32ef0344dbce7ee11d250d31a9f3f08213834e48620f8c14ed97ba6a625c6a8f292efdbe1dcd90d50ce3c51b369c6d67c5ac6a0c9 diff --git a/media-sound/lms/lms-3.53.0.ebuild b/media-sound/lms/lms-3.53.0.ebuild deleted file mode 100644 index 39d6e350f5..0000000000 --- a/media-sound/lms/lms-3.53.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic pam systemd - -DESCRIPTION="Lightweight Music Server." -HOMEPAGE="http://lms-demo.poupon.dev/ https://github.com/epoupon/lms" -SRC_URI="https://github.com/epoupon/lms/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test stb" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-user/lms - dev-cpp/wt - dev-libs/boost - dev-libs/libconfig[cxx] - media-libs/taglib - media-video/ffmpeg[mp3,opus] - - !stb? ( media-gfx/graphicsmagick ) - -" - -DEPEND=" - ${RDEPEND} - - stb? ( dev-libs/stb ) -" - -BDEPEND=" - test? ( dev-cpp/gtest ) -" - -PATCHES=( - "${FILESDIR}/${PN}-respect-ldflags.patch" -) - -src_configure() { - append-flags -I/usr/include/stb/deprecated - - local mycmakeargs=( - -DLMS_IMAGE_BACKEND=$(usex stb stb graphicsmagick) - -DENABLE_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - systemd_newunit conf/systemd/default.service lms.service - newinitd "${FILESDIR}/lms.init" lms - dopamd conf/pam/lms - mv "${ED}/usr/share/lms/lms.conf" "${ED}/etc/lms.conf" || die - - # Already installed in the proper directory - rm "${ED}/usr/share/lms/default.service" || die - rm "${ED}/usr/share/lms/lms" || die - - keepdir /var/log/lms - fowners -R lms:lms /var/log/lms - - keepdir /var/lms - fowners lms:lms /var/lms -} diff --git a/media-sound/nulloy/nulloy-0.9.9.ebuild b/media-sound/nulloy/nulloy-0.9.9.ebuild index ef53fab808..d4c5f2417c 100644 --- a/media-sound/nulloy/nulloy-0.9.9.ebuild +++ b/media-sound/nulloy/nulloy-0.9.9.ebuild @@ -29,7 +29,7 @@ DEPEND=" dev-qt/linguist dev-qt/qtscript dev-qt/qtx11extras - media-gfx/imagemagick + media-gfx/imagemagick[svg] media-libs/gstreamer media-libs/gst-plugins-base media-libs/taglib diff --git a/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild b/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild index bfea22b7df..27ba2a7692 100644 --- a/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild +++ b/media-video/gpu-screen-recorder/gpu-screen-recorder-9999.ebuild @@ -7,31 +7,31 @@ inherit git-r3 meson EGIT_REPO_URI="https://repo.dec05eba.com/gpu-screen-recorder" -DESCRIPTION="A screen recorder that has minimal impact on system performance." +DESCRIPTION="A screen recorder that has minimal impact on system performance" HOMEPAGE="https://git.dec05eba.com/gpu-screen-recorder/about" LICENSE="GPL-3" SLOT="0" IUSE="+filecaps systemd" DEPEND=" - media-video/ffmpeg - media-libs/libglvnd - x11-libs/libXcomposite - x11-libs/libXrandr - x11-libs/libXfixes - media-libs/libpulse - media-libs/libva - x11-libs/libdrm - sys-libs/libcap - dev-libs/wayland + media-video/ffmpeg + media-libs/libglvnd + x11-libs/libXcomposite + x11-libs/libXrandr + x11-libs/libXfixes + media-libs/libpulse + media-libs/libva + x11-libs/libdrm + sys-libs/libcap + dev-libs/wayland " RDEPEND="${DEPEND}" BDEPEND="${DEPEND}" src_configure() { local emesonargs=( - -Dsystemd=$(usex filecaps true none) - -Dcapabilities=$(usex systemd true none) + $(meson_use systemd) + $(meson_use filecaps capabilities) ) meson_src_configure } diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest index a002df3c98..e536750e5b 100644 --- a/mpv-plugin/mpv_thumbnail_script/Manifest +++ b/mpv-plugin/mpv_thumbnail_script/Manifest @@ -1,3 +1,3 @@ -DIST mpv_thumbnail_script-0.5.1.tar.gz 2585674 BLAKE2B 34db1877694ba71139377ecf97d370ea4a75b7a82694f7f29321abe1ed40c702f2bf47df9e24c300ad999bef126d1b082d12b1abde0cc7227ad66dd965f23209 SHA512 642ede1ec1a73a4bf78839c12bdf19a0f1e4797290b83a811b9ac40e47868ada3703b80798b4963616830d91981cdc4093df2a156d391aba54d48a0569045a87 DIST mpv_thumbnail_script-0.5.2.tar.gz 2585900 BLAKE2B f0b2afe1f1cba942ddb469ae66f32f1d444679302f47b13742feb924bbe3de331c74bb60530079580a8802258109d9d17e6ebe1581910c8083e2897370961274 SHA512 d151c6e5aa0ad276a0a5451f0b0ab36c5bf4426521ce17b3db7ca9a94ee4265bf66f3632ff48f8210a96d176cdba0f7926138e9a4971eca4b0331dfc87034e11 DIST mpv_thumbnail_script-0.5.3.tar.gz 2588152 BLAKE2B a15399bf2fca65bf721a33718b4c27752fb5a7ce9c158eddff7ea1c6018929b372f0091ddb44a6f102dd3657b1e14148779543db5dac4953ca06fac21689dc3e SHA512 4a785bbd0037f18ffb60aa4980ed94ff6f03f75db43c5ebf5dde5bf53e0afa4970a94ecd5be26b279d71875540a98e2f4efd8c636dd553f2af5e6f3918f8b5fa +DIST mpv_thumbnail_script-0.5.4.tar.gz 2587970 BLAKE2B beac1f447551a8eed8b58f1d9cc27bec93937d5e84df71ff104f5799a574eacfe893029135fc2840f1077791d810fc8b0bc2ca517b3fe0a41a18e091c9d50e00 SHA512 a25b69eaa02de347dbb32f7adf61cd775b35f78872cb212c64c533222c3f24a131ffbd029604079bc48c26332698e5ef977268e241eae36be9b037a8199559ca diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild similarity index 97% rename from mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild rename to mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild index 4f880b5be7..d50da51af1 100644 --- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild +++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/net-im/mautrix-signal/Manifest b/net-im/mautrix-signal/Manifest index 66063c3807..beff003dad 100644 --- a/net-im/mautrix-signal/Manifest +++ b/net-im/mautrix-signal/Manifest @@ -2,3 +2,5 @@ DIST mautrix-signal-0.6.0-deps.tar.xz 23987148 BLAKE2B 67ef4ae365b2f3bd5ac98d371 DIST mautrix-signal-0.6.0.gh.tar.gz 329464 BLAKE2B 723bb833c712c42e82bcf80fd205b8bf6371818a9631823cd68daa2d29c91cd00eafd6daa2b1d5278f808e7114babd7a572200f6738066225f7e97a18a9a81f5 SHA512 ac55ed462b442bc28045bd639359151b5717fef374f74a150c6597f4252cfb406c16de2b7989cb49b5e0e3c29f447427e19ac860048f7a9b2b020823694ffdba DIST mautrix-signal-0.6.1-deps.tar.xz 20518340 BLAKE2B 5329b1b839a20160e10736b2cadcc3baf9c5a62cc95e992dad70d3a5c2eb0cba73bef7ee256967ffa11c137f0ace08c31f37016362d3bda679f019f0d79d2e30 SHA512 be26db727443d479b5c948e316e6ba259e6e6636aa8bd72b3987676fd8902c2cc46e48888249d977e2fe0985dbf0d39650d5487e6b78cb9454a201ca980540a0 DIST mautrix-signal-0.6.1.gh.tar.gz 330028 BLAKE2B d2474ffa525f738e739e3bfce2fdfc9725e339a7615c75c468b3704a755e32c64eca6ca72a30719586f97b777e916e2777bd450f9217631a26e5b45b311c2acf SHA512 36d15e65d916ddbb97d3bfb62c73b5c481fecd65d145c41d7580f5eb3f575daeb057aa6a8b9ad8b35bfc20117a2adcfe7d239aa30802e04dd2f8c9ff9a2b34ce +DIST mautrix-signal-0.6.2-deps.tar.xz 3411160 BLAKE2B 6aa191dfeef85d7181b2a6ea9075b6fee9d3b1592fded949fcc76ce2211ac4fb69269785ca1276e1bff9e07b93c8c73f8d4996fee989a0964919fed57fc07241 SHA512 962ddffb7cabc2b97dbe06e4263c6a998b8194c3895aa967362d3309cf7f96b62b4b26b0e7a1d66678e7c958dc2d517d595693a3e2c4b35801e3d06de34e02bb +DIST mautrix-signal-0.6.2.gh.tar.gz 346173 BLAKE2B 1e3f2dfae1a767981b385da895819f4e75d2e77c03bedfaaa429f455e9272a54e1b57e57af4efbb48f0200f84a91a818196006fbc54a56c567a2c94a389c581d SHA512 5adf47c2a4f1239e34fbbebe7700405369d1b610dc9fcffbd55cbe46eea86f94caed7316a319561c2ec34105eaa2214bf815dbaf43d3d57920e2a74151be0507 diff --git a/net-im/mautrix-signal/mautrix-signal-0.6.2.ebuild b/net-im/mautrix-signal/mautrix-signal-0.6.2.ebuild new file mode 100644 index 0000000000..9e6cf87392 --- /dev/null +++ b/net-im/mautrix-signal/mautrix-signal-0.6.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="A Matrix-Signal puppeting bridge" +HOMEPAGE="https://github.com/mautrix/signal" +SRC_URI="https://github.com/mautrix/signal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://herbizarre.swordarmor.fr/garbage/${P}-deps.tar.xz +" +S="${WORKDIR}/signal-${PV}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-user/${PN} + dev-libs/olm +" +DEPEND="${RDEPEND}" +BDEPEND=" + ~dev-libs/libsignal-ffi-0.51.0 + dev-libs/olm +" + +src_compile() { + ego build +} + +src_install() { + dobin mautrix-signal + + keepdir /var/log/mautrix/signal + fowners -R root:mautrix /var/log/mautrix + fperms -R 770 /var/log/mautrix + sed -i -e "s/\.\/logs/\/var\/log\/${PN/-/\\\/}/" "example-config.yaml" || die + + insinto "/etc/mautrix" + newins "example-config.yaml" "${PN/-/_}.yaml" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners -R root:mautrix /etc/mautrix + fperms -R 770 /etc/mautrix +} + +pkg_postinst() { + einfo + elog "" + elog "Before you can use ${PN}, you must configure it correctly" + elog "The configuration file is located at \"/etc/mautrix/${PN/-/_}.yaml\"" + elog "When done, run the following command: emerge --config ${CATEGORY}/${PN}" + elog "Then, you must register the bridge with your homeserver" + elog "Refer your homeserver's documentation for instructions" + elog "The registration file is located at /var/lib/${PN/-/\/}/registration.yaml" + elog "Finally, you may start the ${PN} daemon" + einfo +} + +pkg_config() { + su - "${PN}" -s /bin/sh -c \ + "/usr/bin/${PN} -c /etc/mautrix/${PN/-/_}.yaml -g -r /var/lib/${PN/-/\/}/registration.yaml" +} diff --git a/net-im/mautrix-telegram/mautrix-telegram-0.15.1.ebuild b/net-im/mautrix-telegram/mautrix-telegram-0.15.1.ebuild index 7c9a550ec6..294d15ff69 100644 --- a/net-im/mautrix-telegram/mautrix-telegram-0.15.1.ebuild +++ b/net-im/mautrix-telegram/mautrix-telegram-0.15.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYPI_NO_NORMALIZE=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 optfeature pypi systemd diff --git a/net-im/nheko/nheko-0.12.0.ebuild b/net-im/nheko/nheko-0.12.0.ebuild index d51334d1ee..d68d324464 100644 --- a/net-im/nheko/nheko-0.12.0.ebuild +++ b/net-im/nheko/nheko-0.12.0.ebuild @@ -34,7 +34,7 @@ RDEPEND=" >=dev-libs/re2-0.2022.04.01:= dev-libs/spdlog:= >=dev-qt/kdsingleapplication-1.1.0:=[qt6] - dev-qt/qtbase:6[concurrent,dbus,gui,widgets] + dev-qt/qtbase:6[concurrent,dbus,gui,wayland,widgets] dev-qt/qtdeclarative:6[widgets] dev-qt/qtimageformats:6 dev-qt/qtmultimedia:6[gstreamer] diff --git a/net-news/newsraft/Manifest b/net-news/newsraft/Manifest index 0c66e2a827..73730dc085 100644 --- a/net-news/newsraft/Manifest +++ b/net-news/newsraft/Manifest @@ -1 +1,2 @@ DIST newsraft-0.23.tar.gz 139740 BLAKE2B 5a98c25b120f79d7ccf518545146ab8ec4e2c86772cc0fb9723b225ff15a8e86761f4d79ce25bdf5182a5fbf282b0ffa9b618e9265e589fc9fcbeac8fb75c325 SHA512 e55acd637d55dc5566fa5aed1b7c74b8f7f1b61b8ad4de0db08d0ab32a99d68bbbce2f5f47fdc0c43d7601cc1221fe7ae5ca41b1c3d2d7e44a3621d577dc4edc +DIST newsraft-0.25.tar.gz 153586 BLAKE2B d2790f4eb0a1fa9ceb5e0240b475ffff9e5dd00c1bcdc7a55d79d7527b6d17057f4d6635f722982af7fea8c5d7df351d88e0389982a77f5651fcc64cfa051f86 SHA512 354f3d5fb0e6d86782538da03408383b74443889aed19ae3599b1f286c76f6814ec406297dcdb505bbca6cf835440161a89066df0f21d52871c57dca288dfa23 diff --git a/net-news/newsraft/metadata.xml b/net-news/newsraft/metadata.xml index aa5a508e21..643f89a541 100644 --- a/net-news/newsraft/metadata.xml +++ b/net-news/newsraft/metadata.xml @@ -1,7 +1,10 @@ - + + eli.burch@burchbytes.com + Eli Burch + https://codeberg.org/newsraft/newsraft/issues diff --git a/net-news/newsraft/newsraft-0.25.ebuild b/net-news/newsraft/newsraft-0.25.ebuild new file mode 100644 index 0000000000..9118c6cefc --- /dev/null +++ b/net-news/newsraft/newsraft-0.25.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat." +HOMEPAGE="https://codeberg.org/newsraft/newsraft" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/newsraft/newsraft.git" +else + SRC_URI="https://codeberg.org/newsraft/newsraft/archive/${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +LICENSE="ISC" +SLOT="0" + +DEPEND=" + dev-db/sqlite:3 + dev-libs/expat + dev-libs/gumbo:= + dev-libs/yajl:= + net-misc/curl + sys-libs/ncurses:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + virtual/pkgconfig +" + +src_install() { + emake PREFIX="/usr" DESTDIR="${D}" install + einstalldocs +} diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild index 1ccb88f4b5..03530b7af3 100644 --- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild +++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild @@ -23,6 +23,10 @@ RDEPEND="${DEPEND} BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/airspyhf-1.6.8-remove-static.patch" +) + src_prepare(){ sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die diff --git a/net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch b/net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch new file mode 100644 index 0000000000..518fe8a042 --- /dev/null +++ b/net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch @@ -0,0 +1,44 @@ +# Remove build steps related to static libs. +# Bug: https://bugs.gentoo.org/934412 + +--- a/libairspyhf/src/CMakeLists.txt ++++ b/libairspyhf/src/CMakeLists.txt +@@ -46,16 +46,7 @@ add_library(airspyhf SHARED ${c_sources} ${AIRSPYHF_DLL_SRCS}) + set_target_properties(airspyhf PROPERTIES VERSION ${AIRSPYHF_VER_MAJOR}.${AIRSPYHF_VER_MINOR}.${AIRSPYHF_VER_REVISION}) + set_target_properties(airspyhf PROPERTIES SOVERSION 0) + +-# Static library +-add_library(airspyhf-static STATIC ${c_sources}) +-if(MSVC) +- set_target_properties(airspyhf-static PROPERTIES OUTPUT_NAME "airspyhf_static") +-else() +- set_target_properties(airspyhf-static PROPERTIES OUTPUT_NAME "airspyhf") +-endif() +- + set_target_properties(airspyhf PROPERTIES CLEAN_DIRECT_OUTPUT 1) +-set_target_properties(airspyhf-static PROPERTIES CLEAN_DIRECT_OUTPUT 1) + + # Dependencies + target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) +@@ -71,10 +62,6 @@ if( ${UNIX} ) + LIBRARY DESTINATION lib${LIB_SUFFIX} + COMPONENT sharedlibs + ) +- install(TARGETS airspyhf-static +- ARCHIVE DESTINATION lib${LIB_SUFFIX} +- COMPONENT staticlibs +- ) + install(FILES ${c_headers} + DESTINATION include/${PROJECT_NAME} + COMPONENT headers +@@ -86,10 +73,6 @@ if( ${WIN32} ) + DESTINATION bin + COMPONENT sharedlibs + ) +- install(TARGETS airspyhf-static +- DESTINATION bin +- COMPONENT staticlibs +- ) + install(FILES ${c_headers} + DESTINATION include/${PROJECT_NAME} + COMPONENT headers diff --git a/profiles/package.mask b/profiles/package.mask index bd71959339..bd8ebce852 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -18,6 +18,11 @@ # New entries go on top. +# Eli Burch (2024-06-16) +# Removal on 2024-07-16 +# Upstream is dead, and there is no replacement +x11-misc/gammy + # Julien Roy (2024-06-08) # Removal 2024-07-08 # Dependencies dropped from ::gentoo diff --git a/www-apps/forgejo/Manifest b/www-apps/forgejo/Manifest index 7e6b220e03..c24645d2f4 100644 --- a/www-apps/forgejo/Manifest +++ b/www-apps/forgejo/Manifest @@ -1,2 +1,3 @@ DIST forgejo-1.21.11.1.tar.gz 58893566 BLAKE2B cf3541682de609d63f079922610cc7ae338b7736634a6bc767e310f4ea9fc21fd8c6928b2de4693be6619b49d7e0cbf3b0effd58b681a0cd5e95d4ba21c29141 SHA512 c461d8690a7d2eb3a4955487223391daac58f3236481c0b963a208184ed06fc96372fe8082fbb4a7d9a64b01b2c468d43d1559dd081ec65e65c9f9bc043f9af4 DIST forgejo-7.0.3.tar.gz 54895104 BLAKE2B a5965efaca04745fe8bfd60d18bfc68196b4a5f4b4731ee7aa8e0ee3dfeac0fb9e13193bd65df8db9202f37211b40c1a77ccbfbe018cbf0a3c7f708e77a864d8 SHA512 5d47a229cf89af44a1a36d0b873a3f0eede81b52aefe44c38f7f8a96930dd5038655c488112e4c945b8e71e8aa1e6d092fe51917535463d3228e0dfc0c974474 +DIST forgejo-7.0.4.tar.gz 54935871 BLAKE2B 3333c3d0ddd4021b0ca28765dd5a97fba1d77d538e8297852f2a541cad181a401bd3a1650cce10e746adbd54a3731219f0b8bc2c35612524532b2724d1f6310e SHA512 adba79ea5f49a36f399f8cbfb42a8ff2197f57ec74cbf195d1778a9634b51be6da88683c78355c9f04654c8bc3c77c7198751fc4685ff469d115c50d7e05cdfa diff --git a/www-apps/forgejo/forgejo-7.0.4.ebuild b/www-apps/forgejo/forgejo-7.0.4.ebuild new file mode 100644 index 0000000000..2b2357dce5 --- /dev/null +++ b/www-apps/forgejo/forgejo-7.0.4.ebuild @@ -0,0 +1,139 @@ +# Copyright 2016-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module tmpfiles systemd flag-o-matic + +DESCRIPTION="A self-hosted lightweight software forge" +HOMEPAGE="https://forgejo.org/ https://codeberg.org/forgejo/forgejo" + +SRC_URI="https://codeberg.org/forgejo/forgejo/releases/download/v${PV}/forgejo-src-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-src-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" + +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +IUSE="+acct pam sqlite pie" + +DEPEND=" + acct? ( + acct-group/git + acct-user/git[gitea] ) + pam? ( sys-libs/pam )" +RDEPEND="${DEPEND} + dev-vcs/git + !www-apps/gitea" # until acct-user/git[forgejo] + +DOCS=( + custom/conf/app.example.ini CONTRIBUTING.md README.md +) +FILECAPS=( + -m 711 cap_net_bind_service+ep usr/bin/forgejo +) + +RESTRICT="test" + +src_prepare() { + default + + local sedcmds=( + -e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#" + -e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/forgejo#" + -e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#" + -e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#" + -e "s#^MODE = console#MODE = file#" + -e "s#^LEVEL = Trace#LEVEL = Info#" + -e "s#^LOG_SQL = true#LOG_SQL = false#" + -e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#" + ) + + sed -i "${sedcmds[@]}" custom/conf/app.example.ini || die + if use sqlite ; then + sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.example.ini || die + fi +} + +src_configure() { + # bug 832756 - PIE build issues + filter-flags -fPIE + filter-ldflags -fPIE -pie +} + +src_compile() { + local forgejo_tags=( + bindata + $(usev pam) + $(usex sqlite 'sqlite sqlite_unlock_notify' '') + ) + local forgejo_settings=( + "-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/forgejo/app.ini" + "-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom" + "-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea" + ) + local makeenv=( + DRONE_TAG="${PV}" + LDFLAGS="-extldflags \"${LDFLAGS}\" ${forgejo_settings[*]}" + TAGS="${forgejo_tags[*]}" + ) + + GOFLAGS="" + if use pie ; then + GOFLAGS+="-buildmode=pie" + fi + + # need to set -j1 or build fails due to a race condition between MAKE jobs. + # this does not actually impact build parallelism, because the go compiler + # will still build everything in parallel when it's invoked. + env "${makeenv[@]}" emake -j1 EXTRA_GOFLAGS="${GOFLAGS}" backend +} + +src_install() { + cp gitea forgejo + dobin forgejo + + einstalldocs + + newconfd "${FILESDIR}/forgejo.confd-r1" forgejo + newinitd "${FILESDIR}/forgejo.initd-r3" forgejo + newtmpfiles - forgejo.conf <<-EOF + d /run/forgejo 0755 git git + EOF + systemd_newunit "${FILESDIR}"/forgejo.service-r3 forgejo.service + + insinto /etc/forgejo + newins custom/conf/app.example.ini app.ini + if use acct; then + fowners root:git /etc/forgejo/{,app.ini} + fperms g+w,o-rwx /etc/forgejo/{,app.ini} + + diropts -m0750 -o git -g git + keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data + keepdir /var/log/forgejo + fi +} + +pkg_postinst() { + fcaps_pkg_postinst + tmpfiles_process forgejo.conf + + ewarn "${PN} ${PV} will continue to use /var/lib/gitea as the default home," + ewarn "as acct-user/git[gitea] depends on it, and acct-user[forgejo] does not" + ewarn "exist yet." + ewarn "" + ewarn "7.x includes changes that may require manual intervention when" + ewarn "upgrading from 1.21.x, most prominently:" + ewarn "" + ewarn "> MySQL 8.0 or PostgreSQL 12 are the minimum supported versions. The" + ewarn "> database must be migrated before upgrading. The requirements" + ewarn "> regarding SQLite did not change." + ewarn ">" + ewarn "> The Gitea themes were renamed and the [ui].THEMES setting must be changed as follows:" + ewarn "> - gitea is replaced by gitea-light" + ewarn "> - arc-green is replaced by gitea-dark" + ewarn "> - auto is replaced by gitea-auto" + ewarn "" + ewarn "See https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md#7-0-0" + ewarn "for more information" +} diff --git a/x11-themes/candy-icons/candy-icons-9999.ebuild b/x11-themes/candy-icons/candy-icons-9999.ebuild new file mode 100644 index 0000000000..a5ee17477e --- /dev/null +++ b/x11-themes/candy-icons/candy-icons-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 xdg-utils + +DESCRIPTION="🍭 Sweet gradient icons" +HOMEPAGE="https://github.com/EliverLara/candy-icons" +EGIT_REPO_URI="https://github.com/EliverLara/candy-icons.git" + +LICENSE="GPL-3" +SLOT="0" + +src_install() { + default + + insinto "/usr/share/icons/${PN}" + rm -rf "${S}"/{.git,.github,preview} || die "Could not remove useless directories" + doins -r "${S}"/* +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/x11-themes/candy-icons/metadata.xml b/x11-themes/candy-icons/metadata.xml new file mode 100644 index 0000000000..98f3634241 --- /dev/null +++ b/x11-themes/candy-icons/metadata.xml @@ -0,0 +1,11 @@ + + + + + gasc@eurecom.fr + Gasc Henri + + + EliverLara/candy-icons + +