Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-11-12 01:01:51 +00:00
20 changed files with 246 additions and 44 deletions

View File

@@ -68,7 +68,7 @@ Rust and Go packages automagically collect all dependencies. The licenses of the
- #### Don't use `EGO_SUM`
This method of declaring Go module dependencies is deprecared. Please consider either hosting a dependency tarball somewhere (you can find out how to generate it in [go-module.eclass(5)](https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html)) or improving upstream release CI scripts (example: [noborus/ov#196](https://github.com/noborus/ov/pull/196/files)).
This method of declaring Go module dependencies is deprecated. Please consider either hosting a dependency tarball somewhere (you can find out how to generate it in [go-module.eclass(5)](https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html)) or improving upstream release CI scripts (example: [noborus/ov#196](https://github.com/noborus/ov/pull/196/files)).
- #### Use the cmake eclass instead of the cmake-utils eclass

View File

@@ -0,0 +1,3 @@
DIST kopia-ui-bin-0.15.0-amd64.deb 79272722 BLAKE2B db34642a0746b838cc923b980efb76c004b5387b3d97b7e041e36be5943adf34fbc5a0af35d950c4a43c6d6434b725483630c39ad1771c3df7d3c8026e4b4b5d SHA512 89a59600c5456c5eee03ba7dc485e2ce2618d9060072781d2691238a86853317f4a09dc69d4758509ed0ce99aa21716f80c89d4e14d51f1ff8e100a75c513324
DIST kopia-ui-bin-0.15.0-arm.deb 72002696 BLAKE2B 654e7bf55b0869d080173551bdc829d3a400ce13579ab1f3082ba50965defdb0849164e7af496566708e156259dbb7c0d2e0def1076a00884a8656c15178628b SHA512 79b58d0369bc53ba9590957bd9953d19facb5bcdd8ee0ec1bb55d8067d7b71cbc92a11c9d05f99b2d4649734ec2d58b60976b954a0d1d134b0a28c6f9f9da081
DIST kopia-ui-bin-0.15.0-arm64.deb 72002696 BLAKE2B 654e7bf55b0869d080173551bdc829d3a400ce13579ab1f3082ba50965defdb0849164e7af496566708e156259dbb7c0d2e0def1076a00884a8656c15178628b SHA512 79b58d0369bc53ba9590957bd9953d19facb5bcdd8ee0ec1bb55d8067d7b71cbc92a11c9d05f99b2d4649734ec2d58b60976b954a0d1d134b0a28c6f9f9da081

View File

@@ -0,0 +1,75 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker xdg
DESCRIPTION="Kopia - Fast And Secure Open-Source Backup (Electron UI)"
HOMEPAGE="https://github.com/kopia/kopia"
SRC_URI="
amd64? ( https://github.com/kopia/kopia/releases/download/v${PV}/kopia-ui_${PV}_amd64.deb -> ${P}-amd64.deb )
arm? ( https://github.com/kopia/kopia/releases/download/v${PV}/kopia-ui_${PV}_armv7l.deb -> ${P}-arm.deb )
arm64? ( https://github.com/kopia/kopia/releases/download/v${PV}/kopia-ui_${PV}_arm64.deb -> ${P}-arm64.deb )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"
IUSE="+system-kopia"
# binary package; no tests available
RESTRICT="test"
RDEPEND="
system-kopia? ( ~app-backup/kopia-${PV} )
app-accessibility/at-spi2-core
dev-libs/expat
dev-libs/glib
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/pango
"
QA_PREBUILT="opt/KopiaUI"
S="${WORKDIR}"
src_install() {
mv "${S}"/* "${ED}" || die
mkdir -p "${ED}/usr/bin/" || die
ln -sf "${EPREFIX}/opt/KopiaUI/kopia-ui" "${ED}/usr/bin/kopia-ui" || die
if use system-kopia; then
rm -f "${ED}/opt/KopiaUI/resources/server/kopia" || die
ln -sf "${EPREFIX}/usr/bin/kopia" "${ED}/opt/KopiaUI/resources/server/kopia" || die
fi
# It installs /usr/share/doc/kopia-ui/changelog.bz2. This fails QA for two
# reasons:
# 1. Gentoo expects /usr/share/doc/${P}. I can perform an mv to fix this.
# 2. /usr/share/doc is subject to automatic compression, so portage
# expects files installed to not be compressed. I could perform a
# decompression on the cangelog but IMO changelog isn't important
# enough to add this workaround.
rm -rf "${ED}/usr/share/doc/kopia-ui" || die
}
pkg_postinst(){
xdg_desktop_database_update
}

View File

@@ -0,0 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zhuyifei1999@gmail.com</email>
<name>YiFei Zhu</name>
</maintainer>
<upstream>
<remote-id type="github">kopia/kopia</remote-id>
</upstream>
<use>
<flag name="system-kopia">Use the system-wide <pkg>app-backup/kopia</pkg> instead of bundled.</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,2 @@
DIST kopia-0.15.0-deps.tar.xz 256837112 BLAKE2B 4ef21c56d41434985b8b6cf3be1302deeb847941d4fbe39958f2d3c03f2fa0f19dd216646cc5d063d712f3a26f8b8bf440bebe945670877b186cb3c40a771b16 SHA512 5a4ec3c0cae5d6bf83e7f4b37a5bce231591a209d11d8472b5ca0b92f94a1021b2ddc4a10bcf438dc6f09ccafef1f61158a3f213bbdc6f5dcc0dfdd3f94ed0a4
DIST kopia-0.15.0.tar.gz 2968507 BLAKE2B 316573b4772f88182dcbfe10cfd428ecf0d5c8f9edf5bf820c1d73d1dc683dcf78cace709f091bfe9904d93e786ca815960c5b44e45b5b685e128816230ec5d8 SHA512 c12e75457d6a77d6968f1e577efdb5703ce6fa99991e3088a73e9b5dfa51fdfa96d8264e62a9fad1b2ee8ce07d98ca3bfd986acbc4dac277b2a84ec3187cfd97

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Kopia - Fast And Secure Open-Source Backup"
HOMEPAGE="https://github.com/kopia/kopia"
SRC_URI="
https://github.com/kopia/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://storage.googleapis.com/zhuyifei-static/gentoo/${P}-deps.tar.xz
"
LICENSE="Apache-2.0 MIT BSD BSD-2 CC0-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
src_compile() {
ego build -v -x -work -o ${PN}
}
src_test() {
ego test -v $(ego list ./... | grep -v /vendor/)
}
src_install() {
dobin ${PN}
einstalldocs
}

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zhuyifei1999@gmail.com</email>
<name>YiFei Zhu</name>
</maintainer>
<upstream>
<remote-id type="github">kopia/kopia</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,3 +1,3 @@
DIST IP2LOCATION-LITE-DB5.BIN.lzma 7363264 BLAKE2B c07b5c67d563c5a92b6e8f4e452806729e4da53141470158c818860593c0f33fe1f30994619439c569bce1be32bbdafd4a04c789b291fc6a6feac94d639a972a SHA512 7b8de3d7a1d819826599d9b97c198bfe1b6847607cacfa2ad3ac3f9c53184773c441164ef72e88d5e9502688df35a03d28735c3164f6f5c7831f7d2b6e7df2ce
DIST zcock-0.0.2-vendor.tar.xz 179152 BLAKE2B 7fd40c6565f455a52911e18ce8b0b03c565fa2e79f39a52d3d11a9546d7d9f4e7ecd6667782026227992ac90319f14849745ccd8f1cd3d64e0b1b7933f44b1b6 SHA512 73c29cfcc62d9448a9a7edf75d4186b3928f70b26270c5da848c222ca5179f7c9e2efee2b7c08e8ae50cd1db33311a240528d9dd9a8daabd92e964ee6eccc4a1
DIST zcock-0.0.2.tar.gz 4643 BLAKE2B a22e57129f330633b13278a5ce9161bd680a952276703283ac6ef0918f5331f84400f8cf3941e9e9e836a3f643e3db4ba68be34d37af21472c3b169cd02b2a06 SHA512 8d7d52784057ccb91261354f6e8fb978d6c20c24955d0c388d2f9232e6922c60a414e93e5c9efc022be2863d3f83a098cf0c9d94953d7f90cc148e556f458b6d
DIST zcock-0.1.0-vendor.tar.xz 201888 BLAKE2B 7a194b5a6d52f080e872444ecf648501fd2c4ad185a718d5810423babe89832783fbff8e9985251301319e0f7109556b21e633a6ee25ea7f94aec23a058608e9 SHA512 9bfa277f4c524cf958a00d41e000920541b607fcfe5692d6e7e4175f19c57b49ee45914ca1132df84a4d2d1137399b408d989d5da2f20145b665c2e810ec0e65
DIST zcock-0.1.0.tar.gz 5245 BLAKE2B f446c3356414ca17464ed5f5e9c0c454b8578347b03129e48dd8edddbe07727d4912e873607a341330a57d5b2a9fe6dfbf2d9991f9556e63170fe2937de47697 SHA512 d56fb1951d353e75f6ee5a1f431370643e6a4940a2f7ecbbecd4736586099792c843a876195f79edb34e5034c749079ff66c14f75161aad25c8e4875e9812ef4

View File

@@ -5,7 +5,7 @@ EAPI=8
inherit go-module
DESCRIPTION="Print an emoji according to chinese calendar"
DESCRIPTION="Print an emoji according to traditional chinese calendar and more"
HOMEPAGE="https://github.com/stkw0/zcock"
SRC_URI="https://github.com/stkw0/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"

View File

@@ -1 +1 @@
DIST grapejuice-v7.20.11.tar.bz2 957454 BLAKE2B 1553082da9d17f1c22b39ec9d8a1a1f034c1ea64362295edc5a4e0131b0063e2b01aafbe5b1959703c293baabdbdd5c8a385368ef4917cd1b5c25d87b50b6a53 SHA512 f708898961202a7926353cc2163f0c74da0cd32a25f60285e31508aa9087be79c03b88c727e4bca02a6befac4d6875c04269c520719bc026f05045b0c2474897
DIST grapejuice-v7.20.12.tar.bz2 1106306 BLAKE2B 50d15c9f0d1adf606bd07d349e289e08a313c1ee778f5248f77104bb51dad976a35c9e2ff45f401065d934f1be2d15a5f1d71f7f21a96f0b9f4fc08ee6c28636 SHA512 23ae9dc1ca9058a8b2a72f350a78f2e87874e393a418ac474eba9e6988343186b0f0e17c37d698500b6744c90cedb55ff2c2ada29ffcbf33510de759cfdebfd4

View File

@@ -1,3 +1,4 @@
DIST nwg-panel-0.9.11.tar.gz 217960 BLAKE2B e980507c628a52839e4b582146c13648ed284e8947dca7391570dbe6d6c2e924d550993d37661a601930010f2df3247205324f6d298112a29b7cb799ff7addd8 SHA512 7a16fdb3259b1c41768ad7c5a29752743334c69669664803d6995000388ed43e064c379b0a8fe8433ad52e828dd63575e700a7c74a7a2654d20bfea12fde4bfc
DIST nwg-panel-0.9.14.tar.gz 220515 BLAKE2B e2c7bcecd106ed5b02e32ad1e09f48ccfacdb46361db429018b5912e235dbbfd26914f633396e505c26889522b5efd2844c780ded6134ec0c5de65d27fadf18f SHA512 25ae81f11a69cb699181cb12fbb3370c1e182dd09974a2e4c8a52555120b33fb45ec6649ff7a17c0ba33d987ed3fa97c2ec02b2d18aa565eaf4a5fb48c0c6f89
DIST nwg-panel-0.9.16.tar.gz 220789 BLAKE2B 2ceb53af889571fde5f75e84c1bd6e4120d7abeba1894f1d38b1f8e6f538f78e7d816b26d5bd42284589976ee0cc085ba80c2c17cde9a0ddab685c67c19af3d5 SHA512 63d978977b69d846565e287ab96a0f31981406c7f87cd2ba709a3bb31d89ca1f85b5b2967f016be7d3ccccdde6acae227468bc2db88159659a57dd0566de64c0
DIST nwg-panel-0.9.17.tar.gz 220794 BLAKE2B ff8d7ec92cd88f70db052c34268b31fe9542fec21184aac33175c0f58f3167e1d16051e3c3c8d1c310ceb531e7600b83fabf8b7720cd5713425793031d553dc3 SHA512 8a1728a4e3aa2dfab3c4f190aad95bf5dd5b9a2c9bb8be2c25e8ee6cb994243cd910fae77d761077946e45282154c4cce00c9fb13b93c646542ade5310e12cda

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit desktop distutils-r1 systemd xdg-utils
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-panel.git"
else
SRC_URI="https://github.com/nwg-piotr/nwg-panel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="GTK3-based panel for sway and Hyprland Wayland compositors"
HOMEPAGE="https://github.com/nwg-piotr/nwg-panel"
LICENSE="MIT"
SLOT="0"
RDEPEND="
x11-libs/gtk+:3
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/i3ipc[${PYTHON_USEDEP}]
dev-python/dasbus[${PYTHON_USEDEP}]
gui-apps/nwg-icon-picker
media-sound/playerctl
gui-libs/gtk-layer-shell
"
DEPEND="${RDEPEND}"
python_install_all() {
distutils-r1_python_install_all
domenu nwg-panel-config.desktop
domenu nwg-processes.desktop
doicon nwg-panel.svg
doicon nwg-processes.svg
doicon nwg-shell.svg
systemd_dounit nwg-panel.service
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}

View File

@@ -71,7 +71,8 @@ src_prepare() {
pushd "locales/" >/dev/null || die "location change for language cleanup failed"
chromium_remove_language_paks
popd >/dev/null || die "location reset for language cleanup failed"
rm -rf "${S}"/resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins || die
rm -rf "${S}"/resources/app.asar.unpacked/node_modules/register-scheme/build/node_gyp_bins
rm -rf "${S}"/resources/app.asar.unpacked/node_modules/abstract-socket/build/node_gyp_bins
}
src_install() {

View File

@@ -20,7 +20,10 @@ BDEPEND="
"
DEPEND="
curl? ( net-misc/curl )
doc? ( app-doc/doxygen )
doc? (
app-doc/doxygen
media-gfx/graphviz
)
jansson? ( dev-libs/jansson:= )
ssl? ( net-libs/gnutls:= )
net-libs/libmicrohttpd:=
@@ -42,6 +45,9 @@ src_configure() {
-DWITH_YDER=OFF
)
# bug 917149
sed -i -e "s/-Werror//g" CMakeLists.txt || die
cmake_src_configure
}

View File

@@ -20,6 +20,7 @@ BDEPEND="
app-doc/doxygen
media-gfx/graphviz
)
net-libs/orcania
systemd? (
sys-apps/systemd
)

View File

@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# Environment variables for whoogle
source "/etc/default/whoogle"
. "/etc/default/whoogle"
export ADDRESS=${BIND_ADDRESS:-0.0.0.0}
export PORT=${LISTEN_PORT:-5000}
@@ -23,7 +23,7 @@ depend() {
start_pre() {
checkpath -fo whoogle:whoogle "/var/log/whoogle.log"
echo "Whoogle is running on: ${BIND_ADDRESS}:${LISTEN_PORT}"
cd /opt/whoogle-search
cd /opt/whoogle-search || exit 1
}
stop_post() {

View File

@@ -5,4 +5,7 @@
<email>baileykasin@gmail.com</email>
<name>Bailey Kasin</name>
</maintainer>
<upstream>
<remote-id type="github">benbusby/whoogle-search</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -20,29 +20,30 @@ RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
app-arch/brotli[${PYTHON_USEDEP},python]
net-libs/stem
acct-user/whoogle
acct-group/whoogle
app-arch/brotli[${PYTHON_USEDEP},python]
net-libs/stem
acct-user/whoogle
acct-group/whoogle
"
src_install() {
rm -r .github docs test .dockerignore .gitignore .replit docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md requirements.txt
mkdir -p "${ED}/opt/whoogle-search" || die
insinto /opt/whoogle-search
doins -r ./*
fperms -R 0755 /opt/whoogle-search
rm -r .github docs test .dockerignore .gitignore .replit \
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md \
requirements.txt
mkdir -p "${ED}/opt/whoogle-search" || die
insinto /opt/whoogle-search
doins -r ./*
fperms -R 0755 /opt/whoogle-search
fowners -R whoogle:whoogle /opt/whoogle-search
insinto /etc/default/
doins ${FILESDIR}/whoogle
insinto /usr/lib/sysusers.d/
doins ${FILESDIR}/whoogle.conf
insinto /etc/default/
doins "${FILESDIR}/whoogle"
insinto /usr/lib/sysusers.d/
doins "${FILESDIR}/whoogle.conf"
newinitd "${FILESDIR}"/whoogle.initd whoogle
systemd_dounit ${FILESDIR}/whoogle.service
}
newinitd "${FILESDIR}"/whoogle.initd whoogle
systemd_dounit "${FILESDIR}/whoogle.service"
}

View File

@@ -20,30 +20,31 @@ RDEPEND="
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}]
dev-python/waitress[${PYTHON_USEDEP}]
dev-python/validators[${PYTHON_USEDEP}]
app-arch/brotli[${PYTHON_USEDEP},python]
net-libs/stem
acct-user/whoogle
acct-group/whoogle
app-arch/brotli[${PYTHON_USEDEP},python]
net-libs/stem
acct-user/whoogle
acct-group/whoogle
"
src_install() {
rm -r .github docs test .dockerignore .gitignore .replit docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md requirements.txt
mkdir -p "${ED}/opt/whoogle-search" || die
insinto /opt/whoogle-search
doins -r ./*
fperms -R 0755 /opt/whoogle-search
rm -r .github docs test .dockerignore .gitignore .replit \
docker-compose.yml Dockerfile heroku.yml MANIFEST.in README.md \
requirements.txt
mkdir -p "${ED}/opt/whoogle-search" || die
insinto /opt/whoogle-search
doins -r ./*
fperms -R 0755 /opt/whoogle-search
fowners -R whoogle:whoogle /opt/whoogle-search
insinto /etc/default/
doins ${FILESDIR}/whoogle
insinto /usr/lib/sysusers.d/
doins ${FILESDIR}/whoogle.conf
insinto /etc/default/
doins "${FILESDIR}/whoogle"
insinto /usr/lib/sysusers.d/
doins "${FILESDIR}/whoogle.conf"
newinitd "${FILESDIR}"/whoogle.initd whoogle
systemd_dounit ${FILESDIR}/whoogle.service
newinitd "${FILESDIR}"/whoogle.initd whoogle
systemd_dounit "${FILESDIR}/whoogle.service"
}