From b70e52b9bb37ba02036c0bc524972cc0ef8bc480 Mon Sep 17 00:00:00 2001 From: fanyx Date: Wed, 12 Jan 2022 18:26:04 +0100 Subject: [PATCH 1/8] New package: hydrus-487 --- srcpkgs/hydrus/files/hydrus-client | 2 ++ srcpkgs/hydrus/files/hydrus-server | 2 ++ srcpkgs/hydrus/files/hydrus.desktop | 9 ++++++ srcpkgs/hydrus/template | 43 +++++++++++++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 srcpkgs/hydrus/files/hydrus-client create mode 100644 srcpkgs/hydrus/files/hydrus-server create mode 100644 srcpkgs/hydrus/files/hydrus.desktop create mode 100644 srcpkgs/hydrus/template diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client new file mode 100644 index 000000000000..f3ed9ccd0add --- /dev/null +++ b/srcpkgs/hydrus/files/hydrus-client @@ -0,0 +1,2 @@ +#!/bin/sh +exec python -OO /usr/lib/hydrus/client.pyw "$@" diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server new file mode 100644 index 000000000000..80376bed6816 --- /dev/null +++ b/srcpkgs/hydrus/files/hydrus-server @@ -0,0 +1,2 @@ +#!/bin/sh +exec python -OO /usr/lib/hydrus/server.py "$@" diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop new file mode 100644 index 000000000000..495c2f060d6e --- /dev/null +++ b/srcpkgs/hydrus/files/hydrus.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Hydrus Client +Comment=Danbooru-like image tagging and searching system for the desktop +Exec=hydrus-client +Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png +Terminal=false +Type=Application +Categories=Application;FileTools;Graphics;Network; diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template new file mode 100644 index 000000000000..a2c9dceedcaf --- /dev/null +++ b/srcpkgs/hydrus/template @@ -0,0 +1,43 @@ +# Template file for 'hydrus' +pkgname=hydrus +version=487 +revision=1 +archs="x86_64" +makedepends="python3" +depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4 + python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil + python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji + python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg + miniupnpc desktop-file-utils python3-cloudscraper python3-openssl" +short_desc="Danbooru-like image tagging and searching system for the desktop" +maintainer="fanyx " +license="WTFPL" +homepage="https://hydrusnetwork.github.io/hydrus/" +distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz" +checksum=a7a768de3fe2387a44bba4b563347b0ed87ba21a9d7b1e88f4de55b2a17d2b12 + +pre_build() { + rm -f "hydrus/Test"*.py + rm -rf "static/testing" +} + +do_build() { + echo 'Compiling .py files...' + python3 -OO -m compileall -fq . +} + +do_install() { + vmkdir usr/lib/hydrus + cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/ + + vmkdir usr/lib/hydrus/bin + + vbin ${FILESDIR}/hydrus-client + vbin ${FILESDIR}/hydrus-server + + vmkdir usr/share/applications + vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/ + + vlicense COPYING + vlicense license.txt +} From af963d53d7cf40a05fdc09737f279f64c87791e6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 8 Jun 2022 11:16:34 +0200 Subject: [PATCH 2/8] linux5.18: set CONFIG_VMGENID to y rather than m Quoting from the kernel's Kconfig file: config VMGENID tristate "Virtual Machine Generation ID driver" default y depends on ACPI help Say Y here to use the hypervisor-provided Virtual Machine Generation ID to reseed the RNG when the VM is cloned. This is highly recommended if you intend to do any rollback / cloning / snapshotting of VMs. Prefer Y to M so that this protection is activated very early. The recommendation and default value is Y over M. This commit changes the linux5.18 package config to use the suggested value. --- srcpkgs/linux5.18/files/arm64-dotconfig | 2 +- srcpkgs/linux5.18/files/i386-dotconfig | 2 +- srcpkgs/linux5.18/files/x86_64-dotconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/linux5.18/files/arm64-dotconfig b/srcpkgs/linux5.18/files/arm64-dotconfig index 81fbc7918e6c..c0485dcc1853 100644 --- a/srcpkgs/linux5.18/files/arm64-dotconfig +++ b/srcpkgs/linux5.18/files/arm64-dotconfig @@ -9276,7 +9276,7 @@ CONFIG_HISI_ACC_VFIO_PCI=m CONFIG_VFIO_MDEV=m CONFIG_VFIO_FSL_MC=m CONFIG_VIRT_DRIVERS=y -CONFIG_VMGENID=m +CONFIG_VMGENID=y CONFIG_NITRO_ENCLAVES=m CONFIG_VIRTIO=y CONFIG_VIRTIO_PCI_LIB=y diff --git a/srcpkgs/linux5.18/files/i386-dotconfig b/srcpkgs/linux5.18/files/i386-dotconfig index 78ab63762b60..d04ec97412cd 100644 --- a/srcpkgs/linux5.18/files/i386-dotconfig +++ b/srcpkgs/linux5.18/files/i386-dotconfig @@ -8120,7 +8120,7 @@ CONFIG_MLX5_VFIO_PCI=m CONFIG_VFIO_MDEV=m CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_VIRT_DRIVERS=y -CONFIG_VMGENID=m +CONFIG_VMGENID=y CONFIG_VBOXGUEST=m CONFIG_NITRO_ENCLAVES=m CONFIG_VIRTIO=m diff --git a/srcpkgs/linux5.18/files/x86_64-dotconfig b/srcpkgs/linux5.18/files/x86_64-dotconfig index 6731a62c767e..0a900fe3f248 100644 --- a/srcpkgs/linux5.18/files/x86_64-dotconfig +++ b/srcpkgs/linux5.18/files/x86_64-dotconfig @@ -8219,7 +8219,7 @@ CONFIG_MLX5_VFIO_PCI=m CONFIG_VFIO_MDEV=m CONFIG_IRQ_BYPASS_MANAGER=m CONFIG_VIRT_DRIVERS=y -CONFIG_VMGENID=m +CONFIG_VMGENID=y CONFIG_VBOXGUEST=m CONFIG_NITRO_ENCLAVES=m CONFIG_VIRTIO=m From 02c290aa641d31ba9b559e23554c07da7875b00c Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Wed, 8 Jun 2022 01:43:40 -0400 Subject: [PATCH 3/8] lighttpd: update to 1.4.65 --- srcpkgs/lighttpd/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template index 4d0c9734e072..6df12c8a5ed7 100644 --- a/srcpkgs/lighttpd/template +++ b/srcpkgs/lighttpd/template @@ -1,6 +1,6 @@ # Template file for 'lighttpd' pkgname=lighttpd -version=1.4.64 +version=1.4.65 revision=1 build_style=meson configure_args="-Dwith_brotli=false -Dwith_bzip=false @@ -19,7 +19,7 @@ maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://lighttpd.net" distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz" -checksum=e1489d9fa7496fbf2e071c338b593b2300d38c23f1e5967e52c9ef482e1b0e26 +checksum=bf0fa68a629fbc404023a912b377e70049331d6797bcbb4b3e8df4c3b42328be conf_files="/etc/lighttpd/lighttpd.conf" system_accounts="_lighttpd" From 42952d1bf543cc8cfe3237bd1d03c065007d5277 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Sat, 4 Jun 2022 11:25:05 +0200 Subject: [PATCH 4/8] git-toolbelt: update to 1.8.0. --- srcpkgs/git-toolbelt/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/git-toolbelt/template b/srcpkgs/git-toolbelt/template index 24c3af3a28bc..5b4952669f1d 100644 --- a/srcpkgs/git-toolbelt/template +++ b/srcpkgs/git-toolbelt/template @@ -1,6 +1,6 @@ # Template file for 'git-toolbelt' pkgname=git-toolbelt -version=1.7.1 +version=1.8.0 revision=1 depends="git moreutils fzf" short_desc="Helper tools to make everyday life with Git much easier" @@ -8,7 +8,7 @@ maintainer="Daniel Lewan " license="BSD-3-Clause" homepage="https://github.com/nvie/git-toolbelt" distfiles="https://github.com/nvie/git-toolbelt/archive/v${version}.tar.gz" -checksum=388dc5f4536cff9412c8baa8f7e89254add421a039992aed50f09f568b2daf57 +checksum=8c504a66715efe2fa544b54b464881b5575201d94a3ff31c21934b23c16bda31 conflicts="git-extras" do_install() { From e78f95c581fdaf3891b8190522a204af46179b13 Mon Sep 17 00:00:00 2001 From: akierig Date: Wed, 8 Jun 2022 11:21:18 -0500 Subject: [PATCH 5/8] Signal-Desktop: update to 5.45.1. --- srcpkgs/Signal-Desktop/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index 91e0ccfe3c50..8cddd9d86ffd 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -1,6 +1,6 @@ # Template file for 'Signal-Desktop' pkgname=Signal-Desktop -version=5.45.0 +version=5.45.1 revision=1 # Signal officially only supports x86_64 (also due to Electron) # discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support @@ -14,7 +14,7 @@ maintainer="akierig " license="AGPL-3.0-only" homepage="https://github.com/signalapp/Signal-Desktop" distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz" -checksum=08db44bd786eec3e58c66851e9cc6b128c13e9c8486266dfc74937a0fce7bb37 +checksum=14065fa2e2788a91893364740bfac8bd6c7aea41924fe661a0a231abe6512a7b nostrip_files="signal-desktop" post_extract() { From e8b153a29f3f7202e90a460b605e43e7f77d479b Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Mon, 18 Apr 2022 18:27:28 -0700 Subject: [PATCH 6/8] libsoup3: update to 3.0.6 --- srcpkgs/libsoup3/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libsoup3/template b/srcpkgs/libsoup3/template index 61ed3d167f17..6421a4f4c04b 100644 --- a/srcpkgs/libsoup3/template +++ b/srcpkgs/libsoup3/template @@ -1,6 +1,6 @@ # Template file for 'libsoup3' pkgname=libsoup3 -version=3.0.4 +version=3.0.6 revision=1 wrksrc="libsoup-$version" build_style=meson @@ -19,7 +19,7 @@ license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/libsoup" changelog="https://gitlab.gnome.org/GNOME/libsoup/-/raw/master/NEWS" distfiles="${GNOME_SITE}/libsoup/${version%.*}/libsoup-${version}.tar.xz" -checksum=5bd38b5e091f707fd7fa3ed7c37aacca3f8e16c65787f1cc17dc38d1dcde567b +checksum=b45d59f840b9acf9bb45fd45854e3ef672f57e3ab957401c3ad8d7502ac23da6 make_check=no # gio tests can't run in chroot # Package build options From e68263a433b155a13c2b7faf0f157cdf16dc1314 Mon Sep 17 00:00:00 2001 From: oreo639 <31916379+Oreo639@users.noreply.github.com> Date: Sat, 16 Apr 2022 23:41:20 -0700 Subject: [PATCH 7/8] nv-codec-headers: update to 11.1.5.1 --- srcpkgs/nv-codec-headers/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nv-codec-headers/template b/srcpkgs/nv-codec-headers/template index 0e4ba1c87c84..50d45e9da873 100644 --- a/srcpkgs/nv-codec-headers/template +++ b/srcpkgs/nv-codec-headers/template @@ -1,8 +1,7 @@ # Template file for 'nv-codec-headers' pkgname=nv-codec-headers -version=9.1.23.1 +version=11.1.5.1 revision=1 -archs="i686* x86_64*" wrksrc="nv-codec-headers-n${version}" build_style=gnu-makefile short_desc="FFmpeg version of headers required to interface with Nvidias codec APIs" @@ -10,7 +9,7 @@ maintainer="Orphaned " license="MIT" homepage="http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git" distfiles="https://github.com/FFmpeg/nv-codec-headers/archive/n${version}.tar.gz" -checksum=063f49838113c90504fd430377a6025478e2a454f812ce8a4da033e474727dc8 +checksum=d095fbd56aa93772471a323be0ebe65504a0f43f06c76a30b6d25da77b06ae9c post_install() { sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE From 13a790085143a6be89e3a9a6da87e17691bf9232 Mon Sep 17 00:00:00 2001 From: zlice Date: Wed, 8 Jun 2022 14:11:06 -0400 Subject: [PATCH 8/8] discord: update to 0.0.18. --- srcpkgs/discord/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template index 383674007063..ca751ea49b80 100644 --- a/srcpkgs/discord/template +++ b/srcpkgs/discord/template @@ -1,6 +1,6 @@ # Template file for 'discord' pkgname=discord -version=0.0.17 +version=0.0.18 revision=1 archs="x86_64" wrksrc="Discord" @@ -11,7 +11,7 @@ maintainer="Ryan Conwell " license="custom:Proprietary" homepage="https://discord.com" distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz" -checksum=3462732e5d5d9bb75f901f7ca5047782fe2f96576b208ea538c593ba2a031315 +checksum=0417389fa437c6e044d77252de0cffe8473074e596e7b34ba76b1a3a5c0e80c2 repository=nonfree restricted=yes nopie=yes