Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: hydrus-468
@ 2022-01-13 18:27 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fanyx @ 2022-01-13 18:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

There is a new pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-468
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3225 bytes --]

From 9afa811de9273fa64a596a061d5fcb5f0dc41ebb Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-468_1

---
 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..7d37826a8c34
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=468
+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 <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f87e4df7f31ac6536d74b01a5db266997145c4995bbe7223b7b38aaa8a6e3070
+
+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 help 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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-468
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
@ 2022-01-13 19:49 ` fanyx
  2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-01-13 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-468
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3223 bytes --]

From 415d989c9f3611e72e5a5b9e69703379e789e3b5 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-469

---
 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..2ea1d8f9d474
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=469
+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 <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=389b09476f4334546f21ae47821c38237a9212007c6561d51f5a08b6847c8c3a
+
+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 help 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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-469
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
@ 2022-02-20 13:33 ` fanyx
  2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-02-20 13:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-469
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3223 bytes --]

From 47f13b843f94ead81db29fbfb2f0686d6a9e2f1a Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-474

---
 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..bd70675389b0
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=474
+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 <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f769e6de6c8ebb331539bd949a454a0a7f8b3167b191857af45480e4e34e1972
+
+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 help 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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
  2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
@ 2022-06-08  9:50 ` fanyx
  2022-06-08  9:51 ` fanyx
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-06-08  9:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From 5bff213d93a742566962d5e40a8ba7d6f8c5b247 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] 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 <fanyx@pm.me>"
+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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (2 preceding siblings ...)
  2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
@ 2022-06-08  9:51 ` fanyx
  2022-06-10 15:21 ` fanyx
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-06-08  9:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From b70e52b9bb37ba02036c0bc524972cc0ef8bc480 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] 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 <fanyx@pm.me>"
+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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (3 preceding siblings ...)
  2022-06-08  9:51 ` fanyx
@ 2022-06-10 15:21 ` fanyx
  2022-06-10 15:37 ` fanyx
  2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-06-10 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 12400 bytes --]

From b70e52b9bb37ba02036c0bc524972cc0ef8bc480 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
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 <fanyx@pm.me>"
+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" <Jason@zx2c4.com>
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 <gstrauss@gluelogic.com>
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 <gottox@voidlinux.org>"
 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 <vision360.daniel@gmail.com>
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 <vision360.daniel@gmail.com>"
 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 <anelki@fastmail.de>
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 <anelki@fastmail.de>"
 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 <orphan@voidlinux.org>"
 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 <zlice555@gmail.com>
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 <ryanconwell@protonmail.com>"
 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (4 preceding siblings ...)
  2022-06-10 15:21 ` fanyx
@ 2022-06-10 15:37 ` fanyx
  2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-06-10 15:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3196 bytes --]

From 31f4557b7869c50ff1c2b39f1ccb598177a842a4 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-488d

---
 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..6aec506a1d38
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=488d
+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 <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=b70e52b9bb37ba02036c0bc524972cc0ef8bc480
+
+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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-488d
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (5 preceding siblings ...)
  2022-06-10 15:37 ` fanyx
@ 2022-06-10 15:40 ` fanyx
  6 siblings, 0 replies; 8+ messages in thread
From: fanyx @ 2022-06-10 15:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-488d
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3220 bytes --]

From 250b0aec8fea902e5faa6ea838ceba044bd744c6 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-488d

---
 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..a142c56918f2
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=488d
+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 <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=76058888806a0156c42f178ebe0f494c77f2b48b7fbbec571d2c103a3ca05874
+
+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
+}

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-10 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
2022-06-08  9:51 ` fanyx
2022-06-10 15:21 ` fanyx
2022-06-10 15:37 ` fanyx
2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).