Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4.
@ 2023-03-13  9:54 wagnerflo
  2023-03-13  9:57 ` [PR PATCH] [Updated] " wagnerflo
                   ` (46 more replies)
  0 siblings, 47 replies; 48+ messages in thread
From: wagnerflo @ 2023-03-13  9:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From a84759ebb1ef7e92016908a352addc08b3021cb2 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 000000000000..7cdbf264d985
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install () {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
@ 2023-03-13  9:57 ` wagnerflo
  2023-03-13  9:58 ` wagnerflo
                   ` (45 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-03-13  9:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 160c87bec620a69f1a5a5cdb54097abcae1039aa Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 000000000000..d8f928e07262
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install () {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
  2023-03-13  9:57 ` [PR PATCH] [Updated] " wagnerflo
@ 2023-03-13  9:58 ` wagnerflo
  2023-06-12  2:05 ` github-actions
                   ` (44 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-03-13  9:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 0110b3654fcb7ef290e74e6543b5499f03811e25 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 000000000000..567ada369776
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

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

* Re: New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
  2023-03-13  9:57 ` [PR PATCH] [Updated] " wagnerflo
  2023-03-13  9:58 ` wagnerflo
@ 2023-06-12  2:05 ` github-actions
  2023-06-12  7:21 ` wagnerflo
                   ` (43 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: github-actions @ 2023-06-12  2:05 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42738#issuecomment-1586465610

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (2 preceding siblings ...)
  2023-06-12  2:05 ` github-actions
@ 2023-06-12  7:21 ` wagnerflo
  2023-09-12  1:44 ` github-actions
                   ` (42 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-06-12  7:21 UTC (permalink / raw)
  To: ml

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

New comment by wagnerflo on void-packages repository

https://github.com/void-linux/void-packages/pull/42738#issuecomment-1586735250

Comment:
Still relevant.

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

* Re: New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (3 preceding siblings ...)
  2023-06-12  7:21 ` wagnerflo
@ 2023-09-12  1:44 ` github-actions
  2023-09-12 10:36 ` wagnerflo
                   ` (41 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: github-actions @ 2023-09-12  1:44 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42738#issuecomment-1714840954

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (4 preceding siblings ...)
  2023-09-12  1:44 ` github-actions
@ 2023-09-12 10:36 ` wagnerflo
  2023-12-12  1:46 ` github-actions
                   ` (40 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-09-12 10:36 UTC (permalink / raw)
  To: ml

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

New comment by wagnerflo on void-packages repository

https://github.com/void-linux/void-packages/pull/42738#issuecomment-1715474405

Comment:
Still relevant. Can we get a decision on this?

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

* Re: New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (5 preceding siblings ...)
  2023-09-12 10:36 ` wagnerflo
@ 2023-12-12  1:46 ` github-actions
  2023-12-26 18:14 ` [PR PATCH] [Updated] " wagnerflo
                   ` (39 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: github-actions @ 2023-12-12  1:46 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42738#issuecomment-1851172719

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (6 preceding siblings ...)
  2023-12-12  1:46 ` github-actions
@ 2023-12-26 18:14 ` wagnerflo
  2023-12-26 18:42 ` wagnerflo
                   ` (38 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-12-26 18:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f9504f51ca963a5eda1c03567eaf7f4db197a3ed Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 0000000000000..567ada3697769
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (7 preceding siblings ...)
  2023-12-26 18:14 ` [PR PATCH] [Updated] " wagnerflo
@ 2023-12-26 18:42 ` wagnerflo
  2024-03-16  9:48 ` wagnerflo
                   ` (37 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2023-12-26 18:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f9504f51ca963a5eda1c03567eaf7f4db197a3ed Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 0000000000000..567ada3697769
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From bb0e7c9bef37fe9d4c32ff56a90d3d7760dbc507 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 0000000000000..76e5d59f4e6c9
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,13 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (8 preceding siblings ...)
  2023-12-26 18:42 ` wagnerflo
@ 2024-03-16  9:48 ` wagnerflo
  2024-03-16 10:07 ` wagnerflo
                   ` (36 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16  9:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f9504f51ca963a5eda1c03567eaf7f4db197a3ed Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From bb0e7c9bef37fe9d4c32ff56a90d3d7760dbc507 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..76e5d59f4e6c9e
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,13 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (9 preceding siblings ...)
  2024-03-16  9:48 ` wagnerflo
@ 2024-03-16 10:07 ` wagnerflo
  2024-03-16 10:21 ` wagnerflo
                   ` (35 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From c618c42aaca51621594b9941c80d8933e8ea12bd Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..a48dfd67ec0e1d
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,17 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (10 preceding siblings ...)
  2024-03-16 10:07 ` wagnerflo
@ 2024-03-16 10:21 ` wagnerflo
  2024-03-16 10:22 ` wagnerflo
                   ` (34 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From bc6d36973604ab707dbc7e532d89946272a38225 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3c4ce2c3f98bed
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (11 preceding siblings ...)
  2024-03-16 10:21 ` wagnerflo
@ 2024-03-16 10:22 ` wagnerflo
  2024-03-16 10:34 ` wagnerflo
                   ` (33 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (12 preceding siblings ...)
  2024-03-16 10:22 ` wagnerflo
@ 2024-03-16 10:34 ` wagnerflo
  2024-03-16 10:35 ` wagnerflo
                   ` (32 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From def2b04307a2b92f1e5c1731536f5e1931919102 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:33:54 +0100
Subject: [PATCH 3/3] ... [ci skip]

---
 .github/workflows/mkrepo.yaml | 73 +++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..51d13dd6d046c4
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,73 @@
+name: Build & push to repository
+
+on: ???
+  pull_request:
+    paths:
+      - 'srcpkgs/**'
+  push:
+    branches:
+      - 'ci-**'
+    paths:
+      - 'srcpkgs/**'
+  schedule:
+    - cron: "0 3 * * *"
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+#    if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (13 preceding siblings ...)
  2024-03-16 10:34 ` wagnerflo
@ 2024-03-16 10:35 ` wagnerflo
  2024-03-16 10:49 ` wagnerflo
                   ` (31 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (14 preceding siblings ...)
  2024-03-16 10:35 ` wagnerflo
@ 2024-03-16 10:49 ` wagnerflo
  2024-03-16 10:52 ` wagnerflo
                   ` (30 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 978bb76e1ff01f79ef7e3d740095ab4f22bb266c Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/3] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..e69de29bb2d1d6

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (15 preceding siblings ...)
  2024-03-16 10:49 ` wagnerflo
@ 2024-03-16 10:52 ` wagnerflo
  2024-03-16 10:54 ` wagnerflo
                   ` (29 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From ff143d8daf744137cca4eb0a84563daa48ea866d Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/3] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 73 +++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..5917a70bec16db
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,73 @@
+name: Build & push to repository
+
+on:
+  pull_request:
+    paths:
+      - 'srcpkgs/**'
+  push:
+    branches:
+      - 'repo'
+    paths:
+      - 'srcpkgs/**'
+  schedule:
+    - cron: "0 3 * * *"
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+#    if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (16 preceding siblings ...)
  2024-03-16 10:52 ` wagnerflo
@ 2024-03-16 10:54 ` wagnerflo
  2024-03-16 10:55 ` wagnerflo
                   ` (28 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 41105a363008cc758d841e3f44a0bc29dd199199 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/3] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 68 +++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..2095aef3f75c10
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,68 @@
+name: Build & push to repository
+
+on:
+  push:
+    branches:
+      - 'wagnerflo'
+  schedule:
+    - cron: "0 3 * * *"
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+#    if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (17 preceding siblings ...)
  2024-03-16 10:54 ` wagnerflo
@ 2024-03-16 10:55 ` wagnerflo
  2024-03-16 11:10 ` wagnerflo
                   ` (27 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 10:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From a5789cbcd070900d0df147b41d244ab89868efe8 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/3] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 69 +++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..59efc3e266038a
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,69 @@
+name: Build & push to repository
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - 'wagnerflo'
+  schedule:
+    - cron: "0 3 * * *"
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+#    if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (18 preceding siblings ...)
  2024-03-16 10:55 ` wagnerflo
@ 2024-03-16 11:10 ` wagnerflo
  2024-03-16 11:14 ` wagnerflo
                   ` (26 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 11:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 087199efa14ea457882431d65c86012e627db491 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/3] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..a59d25586d9b04
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,66 @@
+name: Build & push to repository
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - 'wagnerflo'
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (19 preceding siblings ...)
  2024-03-16 11:10 ` wagnerflo
@ 2024-03-16 11:14 ` wagnerflo
  2024-03-16 11:44 ` wagnerflo
                   ` (25 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 11:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/4] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/4] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 087199efa14ea457882431d65c86012e627db491 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 11:49:06 +0100
Subject: [PATCH 3/4] lol [ci skip]

---
 .github/workflows/mkrepo.yaml | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..a59d25586d9b04
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,66 @@
+name: Build & push to repository
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - 'wagnerflo'
+
+jobs:
+  build:
+    name: Build packages
+    runs-on: ubuntu-latest
+
+    container:
+      image: ghcr.io/void-linux/void-buildroot-${{ matrix.config.libc }}:20231230R1
+      options: --platform ${{ matrix.config.platform }}
+      env:
+        PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
+        ARCH: '${{ matrix.config.arch }}'
+        BOOTSTRAP: '${{ matrix.config.host }}'
+        TEST: '${{ matrix.config.test }}'
+        HOSTREPO: /hostrepo
+
+    strategy:
+      fail-fast: false
+      matrix:
+        config:
+          - { arch: x86_64,       host: x86_64,      libc: glibc, platform: linux/amd64, test: 1 }
+
+    steps:
+      - name: Prepare container
+        run: |
+          # switch to repo-ci mirror
+          mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
+          sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
+          # Sync and upgrade once, assume error comes from xbps update
+          xbps-install -Syu || xbps-install -yu xbps
+          # Upgrade again (in case there was a xbps update)
+          xbps-install -yu
+
+      - name: Clone and checkout
+        uses: classabbyamp/treeless-checkout-action@v1
+      - name: Create hostrepo and prepare masterdir
+        run: |
+         ln -s "$(pwd)" /hostrepo &&
+         common/travis/set_mirror.sh &&
+         common/travis/prepare.sh &&
+         common/travis/fetch-xtools.sh
+      - run: |
+         cat <<'EOF' >/tmp/templates
+         claws-mail-theme-basicsvg
+         bupstash
+         zoom
+         EOF
+
+      - name: Build and check packages
+        run: |
+          (
+          here="$(pwd)"
+          cd /
+          "$here/common/travis/build.sh" "$BOOTSTRAP" "$ARCH" "$TEST"
+          )
+
+      - name: Show repository
+        run: |
+          find $HOME/hostdir/binpkgs

From b885d3c467c2fc5f01a0da2b1dd0da24962f99fa Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Sat, 16 Mar 2024 12:14:06 +0100
Subject: [PATCH 4/4] xxx [ci skip]

---
 .github/workflows/mkrepo.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
index a59d25586d9b04..2b7a1bf43e5e05 100644
--- a/.github/workflows/mkrepo.yaml
+++ b/.github/workflows/mkrepo.yaml
@@ -3,8 +3,6 @@ name: Build & push to repository
 on:
   workflow_dispatch:
   push:
-    branches:
-      - 'wagnerflo'
 
 jobs:
   build:

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (20 preceding siblings ...)
  2024-03-16 11:14 ` wagnerflo
@ 2024-03-16 11:44 ` wagnerflo
  2024-03-27 11:14 ` wagnerflo
                   ` (24 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-16 11:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/2] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/2] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (21 preceding siblings ...)
  2024-03-16 11:44 ` wagnerflo
@ 2024-03-27 11:14 ` wagnerflo
  2024-03-27 11:17 ` wagnerflo
                   ` (23 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-27 11:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 0c0aedec5f55f16c455811243c944f21ce9f990b Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 3/3] Workflow to trigger repository build.

---
 .github/workflows/mkrepo.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..7d7d988cd7f0f3
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,18 @@
+name: Create repository
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: trigger

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (22 preceding siblings ...)
  2024-03-27 11:14 ` wagnerflo
@ 2024-03-27 11:17 ` wagnerflo
  2024-03-27 11:20 ` wagnerflo
                   ` (22 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-27 11:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 5927a951d1a7d461789983e1c50ac6bfe5a07926 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 3/3] Workflow to trigger repository build.

---
 .github/workflows/mkrepo.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..7d7d988cd7f0f3
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,18 @@
+name: Create repository
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: trigger

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (23 preceding siblings ...)
  2024-03-27 11:17 ` wagnerflo
@ 2024-03-27 11:20 ` wagnerflo
  2024-03-27 11:24 ` wagnerflo
                   ` (21 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-27 11:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From eec7b1cec048fa58e4480be271b97c6ac6f3ab15 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 1/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9da84b92a460c880bea272ff3e99e7b97591a600 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 2/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 0a4d869836e7d2011129ceb31e547c9cc609b2ea Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 3/3] Workflow to trigger repository build.

---
 .github/workflows/mkrepo.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/mkrepo.yaml

diff --git a/.github/workflows/mkrepo.yaml b/.github/workflows/mkrepo.yaml
new file mode 100644
index 00000000000000..7ca1ddb69cf7aa
--- /dev/null
+++ b/.github/workflows/mkrepo.yaml
@@ -0,0 +1,18 @@
+name: Create repository
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (24 preceding siblings ...)
  2024-03-27 11:20 ` wagnerflo
@ 2024-03-27 11:24 ` wagnerflo
  2024-03-31  7:27 ` wagnerflo
                   ` (20 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-27 11:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 185838e260ad2877e9e7e72c2de4876db354597e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/3] Workflow to trigger repository build.

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 5425c583c48cbc3511de2ec799acec8acf121582 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 089b9f3e7d836c191a60c7b7b095d08e36bf4f26 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (25 preceding siblings ...)
  2024-03-27 11:24 ` wagnerflo
@ 2024-03-31  7:27 ` wagnerflo
  2024-03-31  8:04 ` wagnerflo
                   ` (19 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-31  7:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f7146ea22bf1b2f18fe1dd595c8d6b2d625347ca Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/3] Workflow to trigger repository build.

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From df2200ccab487e940b3201c346e98d433fe42f72 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 6fcdc8701bfa1a1ac6fce39e67a0bf7d34b7420e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (26 preceding siblings ...)
  2024-03-31  7:27 ` wagnerflo
@ 2024-03-31  8:04 ` wagnerflo
  2024-04-05 16:50 ` wagnerflo
                   ` (18 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-03-31  8:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From d2cb3affc19711f2a6fe53ca92c5e7b716bd34ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/3] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 8e8fd040abe249a793366c84c8c2962080058b5e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From f6e12b8b80e887d5413c81f9323cad10e475afe3 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (27 preceding siblings ...)
  2024-03-31  8:04 ` wagnerflo
@ 2024-04-05 16:50 ` wagnerflo
  2024-04-05 17:03 ` wagnerflo
                   ` (17 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 16:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From d2cb3affc19711f2a6fe53ca92c5e7b716bd34ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 8e8fd040abe249a793366c84c8c2962080058b5e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From f6e12b8b80e887d5413c81f9323cad10e475afe3 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 706016f9fee535bffcbadefa03c14f9c0b91cd37 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..b76bcd3686956a
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From c8bcdf09182dd9315e497ddb31c7e1236b70e762 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 +++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 57 +++++++++++++++++++
 6 files changed, 207 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..93878fcee53feb
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..cd1618b63273a5
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,57 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="SSPL-1.0"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+
+system_accounts="mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 mongodb mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch () {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build () {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install () {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (28 preceding siblings ...)
  2024-04-05 16:50 ` wagnerflo
@ 2024-04-05 17:03 ` wagnerflo
  2024-04-05 17:10 ` wagnerflo
                   ` (16 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 17:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From d2cb3affc19711f2a6fe53ca92c5e7b716bd34ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 8e8fd040abe249a793366c84c8c2962080058b5e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From f6e12b8b80e887d5413c81f9323cad10e475afe3 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 706016f9fee535bffcbadefa03c14f9c0b91cd37 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..b76bcd3686956a
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 5d373f4ddaf50ad8dc6fe896fa11ee08b43a262e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 +++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 57 +++++++++++++++++++
 srcpkgs/python3-pymongo/template              |  1 +
 7 files changed, 208 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..d90c9efb23396f
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,57 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+}
diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
index b76bcd3686956a..305e6d2b65e3c7 100644
--- a/srcpkgs/python3-pymongo/template
+++ b/srcpkgs/python3-pymongo/template
@@ -4,6 +4,7 @@ version=4.6.3
 revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
+makedepends="python3"
 short_desc="Python driver for MongoDB"
 maintainer="Florian Wagner <florian@wagner-flo.de>"
 license="Apache-2.0"

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (29 preceding siblings ...)
  2024-04-05 17:03 ` wagnerflo
@ 2024-04-05 17:10 ` wagnerflo
  2024-04-05 17:15 ` wagnerflo
                   ` (15 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 17:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From d2cb3affc19711f2a6fe53ca92c5e7b716bd34ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 8e8fd040abe249a793366c84c8c2962080058b5e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From f6e12b8b80e887d5413c81f9323cad10e475afe3 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From e35a636ab3f0afeaaaa21ef80e6b5e630afbc61c Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..305e6d2b65e3c7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+makedepends="python3"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From ad04a800ec73f88a09926f02ad8ca9243c660a2d Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 59 +++++++++++++++++++
 6 files changed, 209 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..b8a865143ca33c
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,59 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64*"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="SSPL-1.0"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (30 preceding siblings ...)
  2024-04-05 17:10 ` wagnerflo
@ 2024-04-05 17:15 ` wagnerflo
  2024-04-05 17:15 ` wagnerflo
                   ` (14 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 17:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From d2cb3affc19711f2a6fe53ca92c5e7b716bd34ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 8e8fd040abe249a793366c84c8c2962080058b5e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From f6e12b8b80e887d5413c81f9323cad10e475afe3 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From e35a636ab3f0afeaaaa21ef80e6b5e630afbc61c Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..305e6d2b65e3c7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+makedepends="python3"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 7f05f82c77d87d029683c82050517d9ce07f9bdb Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 60 +++++++++++++++++++
 6 files changed, 210 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..36083cfe113296
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,60 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64*"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (31 preceding siblings ...)
  2024-04-05 17:15 ` wagnerflo
@ 2024-04-05 17:15 ` wagnerflo
  2024-04-05 17:54 ` wagnerflo
                   ` (13 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 17:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 43527233955b05b6e88f36e3962e3dc108fcf2af Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..305e6d2b65e3c7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,13 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-wheel"
+makedepends="python3"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 33fc5f0ce4dcf7a41e07a3961b6a946d25126e5f Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 60 +++++++++++++++++++
 6 files changed, 210 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..36083cfe113296
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,60 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64*"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (32 preceding siblings ...)
  2024-04-05 17:15 ` wagnerflo
@ 2024-04-05 17:54 ` wagnerflo
  2024-04-07 10:22 ` wagnerflo
                   ` (12 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-05 17:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 132abdbb2fa869d44ff10f977cc02c4db6887fd2 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 60 +++++++++++++++++++
 6 files changed, 210 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..ca51aee6f94a07
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,60 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib-*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (33 preceding siblings ...)
  2024-04-05 17:54 ` wagnerflo
@ 2024-04-07 10:22 ` wagnerflo
  2024-04-07 19:53 ` wagnerflo
                   ` (11 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-07 10:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 2ca31a94bd9f529508758d56c1409517cc819681 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 +++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 +++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 61 +++++++++++++++++++
 6 files changed, 211 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..8d0a7a58ceff4f
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,61 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (34 preceding siblings ...)
  2024-04-07 10:22 ` wagnerflo
@ 2024-04-07 19:53 ` wagnerflo
  2024-04-10 13:23 ` wagnerflo
                   ` (10 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-07 19:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 06243d42c175afd7ba81ddb4618ca23ddd486d89 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 ++++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 +++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 ++++++++
 srcpkgs/mongodb/template                      | 62 +++++++++++++++++++
 6 files changed, 212 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..b9b662ebef4584
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,62 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on \
+		 CXXFLAGS="-I/usr/include/libbson-1.0"
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (35 preceding siblings ...)
  2024-04-07 19:53 ` wagnerflo
@ 2024-04-10 13:23 ` wagnerflo
  2024-04-10 13:30 ` wagnerflo
                   ` (9 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-10 13:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 2cc2411209150bdf4a15954e571e61d333a43ec6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 +++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 +++++++
 srcpkgs/mongodb/template                      | 65 +++++++++++++++++++
 6 files changed, 215 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..d160e659e436b1
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,65 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel mongo-c-driver-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on \
+		 CFLAGS="-I/usr/include/libbson-1.0" \
+		 CXXFLAGS="-I/usr/include/libbson-1.0"
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (36 preceding siblings ...)
  2024-04-10 13:23 ` wagnerflo
@ 2024-04-10 13:30 ` wagnerflo
  2024-04-10 13:46 ` wagnerflo
                   ` (8 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-10 13:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 7ab5044092e85963c6582434b734edf3d3d7591f Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 +++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 57 ++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 +++++++
 srcpkgs/mongodb/template                      | 65 +++++++++++++++++++
 6 files changed, 215 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..6dc2f62b617f90
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,57 @@
+--- a/SConstruct	2023-06-07 17:07:38 UTC
++++ b/SConstruct
+@@ -23,7 +23,6 @@ import SCons.Script
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1655,16 +1654,6 @@ env.AddMethod(lambda env, name, **kwargs: add_option(n
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1801,9 +1790,9 @@ if has_option('variables-help'):
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3026,7 +3015,7 @@ if env.TargetOSIs('posix'):
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3034,7 +3023,6 @@ if env.TargetOSIs('posix'):
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..fb412416610506
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,65 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel mongo-c-driver-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on \
+		 CFLAGS="-I/usr/include/libbson-1.0 -I/usr/include/libmongoc-1.0" \
+		 CXXFLAGS="-I/usr/include/libbson-1.0 -I/usr/include/libmongoc-1.0"
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (37 preceding siblings ...)
  2024-04-10 13:30 ` wagnerflo
@ 2024-04-10 13:46 ` wagnerflo
  2024-04-10 13:52 ` wagnerflo
                   ` (7 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-10 13:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 0ce8ccedd58a26c23d63f3b5dd75b6caa5990131 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 +++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 67 +++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 +++++++
 srcpkgs/mongodb/template                      | 63 +++++++++++++++++
 6 files changed, 223 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..84ed3de88a5ae0
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,67 @@
+--- SConstruct.orig	2024-03-08 22:45:55.000000000 +0100
++++ SConstruct	2024-04-10 15:41:15.011407741 +0200
+@@ -23,7 +23,6 @@
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1647,16 +1646,6 @@
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1793,9 +1782,9 @@
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3018,7 +3007,7 @@
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3026,7 +3015,6 @@
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
+@@ -5327,6 +5315,9 @@
+ 
+     mongoc_mode = get_option('use-system-mongo-c')
+     conf.env['MONGO_HAVE_LIBMONGOC'] = False
++    conf.env.ParseConfig('pkg-config libbson-1.0 libmongoc-1.0 --cflags')
++    conf.env['LIBDEPS_LIBBSON_SYSLIBDEP'] = 'bson-1.0'
++
+     if mongoc_mode != 'off':
+         if conf.CheckLibWithHeader(
+             ["mongoc-1.0"],
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..12401f47ec7b06
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,63 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel mongo-c-driver-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (38 preceding siblings ...)
  2024-04-10 13:46 ` wagnerflo
@ 2024-04-10 13:52 ` wagnerflo
  2024-04-10 16:13 ` wagnerflo
                   ` (6 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-10 13:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From b994da4ccb3f976c2d271beff45dfb0b713543eb Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 +++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 67 +++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 +++++++
 srcpkgs/mongodb/template                      | 63 +++++++++++++++++
 6 files changed, 223 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..14b378da173218
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,67 @@
+--- a/SConstruct	2024-03-08 22:45:55.000000000 +0100
++++ b/SConstruct	2024-04-10 15:41:15.011407741 +0200
+@@ -23,7 +23,6 @@
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1647,16 +1646,6 @@
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1793,9 +1782,9 @@
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3018,7 +3007,7 @@
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3026,7 +3015,6 @@
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
+@@ -5327,6 +5315,9 @@
+ 
+     mongoc_mode = get_option('use-system-mongo-c')
+     conf.env['MONGO_HAVE_LIBMONGOC'] = False
++    conf.env.ParseConfig('pkg-config libbson-1.0 libmongoc-1.0 --cflags')
++    conf.env['LIBDEPS_LIBBSON_SYSLIBDEP'] = 'bson-1.0'
++
+     if mongoc_mode != 'off':
+         if conf.CheckLibWithHeader(
+             ["mongoc-1.0"],
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..12401f47ec7b06
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,63 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="python3-cheetah3 python3-packaging python3-psutil
+ python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel libunwind-devel
+ libzstd-devel mongo-c-driver-devel openssl-devel pcre2-devel snappy-devel
+ yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (39 preceding siblings ...)
  2024-04-10 13:52 ` wagnerflo
@ 2024-04-10 16:13 ` wagnerflo
  2024-04-11  9:53 ` wagnerflo
                   ` (5 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-10 16:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 4c0e80aac101000a6a15c8f25d32ebd0f444b64c Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            | 31 +++++++++
 srcpkgs/mongodb/files/mongodb/run             |  3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 67 +++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff | 34 ++++++++++
 .../patches/buildscripts_scons.py.diff        | 25 +++++++
 srcpkgs/mongodb/template                      | 63 +++++++++++++++++
 6 files changed, 223 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..14b378da173218
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,67 @@
+--- a/SConstruct	2024-03-08 22:45:55.000000000 +0100
++++ b/SConstruct	2024-04-10 15:41:15.011407741 +0200
+@@ -23,7 +23,6 @@
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1647,16 +1646,6 @@
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1793,9 +1782,9 @@
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3018,7 +3007,7 @@
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3026,7 +3015,6 @@
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
+@@ -5327,6 +5315,9 @@
+ 
+     mongoc_mode = get_option('use-system-mongo-c')
+     conf.env['MONGO_HAVE_LIBMONGOC'] = False
++    conf.env.ParseConfig('pkg-config libbson-1.0 libmongoc-1.0 --cflags')
++    conf.env['LIBDEPS_LIBBSON_SYSLIBDEP'] = 'bson-1.0'
++
+     if mongoc_mode != 'off':
+         if conf.CheckLibWithHeader(
+             ["mongoc-1.0"],
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..ced17ed8c7edc8
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,63 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="pkg-config python3-cheetah3 python3-packaging
+ python3-psutil python3-pymongo python3-setuptools python3-yaml"
+makedepends="libbson-devel liblzma-devel libstemmer-devel
+ libunwind-devel libzstd-devel mongo-c-driver-devel openssl-devel
+ pcre2-devel snappy-devel yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (40 preceding siblings ...)
  2024-04-10 16:13 ` wagnerflo
@ 2024-04-11  9:53 ` wagnerflo
  2024-04-28 13:13 ` wagnerflo
                   ` (4 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-11  9:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 62a6369b333ce86ae5314dd5b2ab15d99e682e96 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:19 +0200
Subject: [PATCH 4/5] New package: python3-pymongo-4.6.3.

---
 srcpkgs/python3-pymongo/template | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 srcpkgs/python3-pymongo/template

diff --git a/srcpkgs/python3-pymongo/template b/srcpkgs/python3-pymongo/template
new file mode 100644
index 00000000000000..e1d02019fc67b7
--- /dev/null
+++ b/srcpkgs/python3-pymongo/template
@@ -0,0 +1,12 @@
+# Template file for 'python3-pymongo'
+pkgname=python3-pymongo
+version=4.6.3
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-devel python3-setuptools python3-wheel"
+short_desc="Python driver for MongoDB"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="Apache-2.0"
+homepage="https://github.com/mongodb/mongo-python-driver"
+distfiles="${PYPI_SITE}/p/pymongo/pymongo-${version}.tar.gz"
+checksum=400074090b9a631f120b42c61b222fd743490c133a5d2f99c0208cefcccc964e

From 267acb40b8d14da456c62ade8cbdfdbb6d929521 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Fri, 5 Apr 2024 18:49:51 +0200
Subject: [PATCH 5/5] New package: mongodb-7.0.7.

---
 srcpkgs/mongodb/files/mongodb.conf            |  31 ++++++
 srcpkgs/mongodb/files/mongodb/run             |   3 +
 srcpkgs/mongodb/patches/SConstruct.diff       | 104 ++++++++++++++++++
 .../patches/buildscripts_moduleconfig.py.diff |  34 ++++++
 .../patches/buildscripts_scons.py.diff        |  25 +++++
 srcpkgs/mongodb/template                      |  65 +++++++++++
 6 files changed, 262 insertions(+)
 create mode 100644 srcpkgs/mongodb/files/mongodb.conf
 create mode 100644 srcpkgs/mongodb/files/mongodb/run
 create mode 100644 srcpkgs/mongodb/patches/SConstruct.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
 create mode 100644 srcpkgs/mongodb/patches/buildscripts_scons.py.diff
 create mode 100644 srcpkgs/mongodb/template

diff --git a/srcpkgs/mongodb/files/mongodb.conf b/srcpkgs/mongodb/files/mongodb.conf
new file mode 100644
index 00000000000000..a8ab6a36c191ec
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb.conf
@@ -0,0 +1,31 @@
+# mongod.conf
+
+# for documentation of all options, see:
+#   http://docs.mongodb.org/manual/reference/configuration-options/
+
+# where to write logging data.
+systemLog:
+  destination: syslog
+
+# Where and how to store data.
+storage:
+  dbPath: /var/lib/mongodb
+
+# how the process runs
+processManagement:
+  timeZoneInfo: /usr/share/zoneinfo
+
+# network interfaces
+net:
+  port: 27017
+  bindIp: 127.0.0.1  # Enter 0.0.0.0,:: to bind to all IPv4 and IPv6
+                     # addresses or, alternatively, use the
+                     # net.bindIpAll setting.
+
+#security:
+
+#operationProfiling:
+
+#replication:
+
+#sharding:
diff --git a/srcpkgs/mongodb/files/mongodb/run b/srcpkgs/mongodb/files/mongodb/run
new file mode 100644
index 00000000000000..d77214d12a9539
--- /dev/null
+++ b/srcpkgs/mongodb/files/mongodb/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _mongodb mongod -f /etc/mongodb.conf
diff --git a/srcpkgs/mongodb/patches/SConstruct.diff b/srcpkgs/mongodb/patches/SConstruct.diff
new file mode 100644
index 00000000000000..55c96078eaa997
--- /dev/null
+++ b/srcpkgs/mongodb/patches/SConstruct.diff
@@ -0,0 +1,104 @@
+--- a/SConstruct	2024-04-11 08:15:28.862363413 +0200
++++ b/SConstruct	2024-04-11 08:16:45.853318837 +0200
+@@ -23,7 +23,6 @@
+ 
+ import SCons
+ import SCons.Script
+-from mongo_tooling_metrics.lib.top_level_metrics import SConsToolingMetrics
+ from site_scons.mongo import build_profiles
+ 
+ # This must be first, even before EnsureSConsVersion, if
+@@ -1647,16 +1646,6 @@
+ del envDict
+ env.AddMethod(lambda env, name, **kwargs: add_option(name, **kwargs), 'AddOption')
+ 
+-# The placement of this is intentional. Here we setup an atexit method to store tooling metrics.
+-# We should only register this function after env, env_vars and the parser have been properly initialized.
+-SConsToolingMetrics.register_metrics(
+-    utc_starttime=datetime.utcnow(),
+-    artifact_dir=env.Dir('$BUILD_DIR').get_abspath(),
+-    env_vars=env_vars,
+-    env=env,
+-    parser=_parser,
+-)
+-
+ if get_option('build-metrics'):
+     env['BUILD_METRICS_ARTIFACTS_DIR'] = '$BUILD_ROOT/$VARIANT_DIR'
+     env.Tool('build_metrics')
+@@ -1793,9 +1782,9 @@
+     print(env_vars.GenerateHelpText(env))
+     Exit(0)
+ 
+-unknown_vars = env_vars.UnknownVariables()
+-if unknown_vars:
+-    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++#unknown_vars = env_vars.UnknownVariables()
++#if unknown_vars:
++#    env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
+ 
+ install_actions.setup(env, get_option('install-action'))
+ 
+@@ -3018,7 +3007,7 @@
+             # If runtime hardening is requested, then build anything
+             # destined for an executable with the necessary flags for PIE.
+             env.AppendUnique(
+-                PROGCCFLAGS=['-fPIE'],
++                PROGCCFLAGS=['-fpic'],
+                 PROGLINKFLAGS=['-pie'],
+             )
+ 
+@@ -3026,7 +3015,6 @@
+     env.Append(
+         CCFLAGS=[
+             "-fasynchronous-unwind-tables",
+-            "-g2" if not env.TargetOSIs('emscripten') else "-g",
+             "-Wall",
+             "-Wsign-compare",
+             "-Wno-unknown-pragmas",
+@@ -3093,6 +3081,8 @@
+ 
+     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet
+     env.Append(CXXFLAGS=["-Woverloaded-virtual"])
++    env.Append(CXXFLAGS=os.environ['CXXFLAGS'])
++    env.Append(LINKFLAGS=os.environ['LDFLAGS'])
+ 
+     # On OS X, clang doesn't want the pthread flag at link time, or it
+     # issues warnings which make it impossible for us to declare link
+@@ -3143,7 +3133,7 @@
+         ], )
+ 
+     #make scons colorgcc friendly
+-    for key in ('HOME', 'TERM'):
++    for key in ('HOME', 'TERM', 'PATH'):
+         try:
+             env['ENV'][key] = os.environ[key]
+         except KeyError:
+@@ -5120,17 +5110,13 @@
+         "BOOST_LOG_NO_SHORTHAND_NAMES",
+         "BOOST_LOG_USE_NATIVE_SYSLOG",
+         "BOOST_LOG_WITHOUT_THREAD_ATTR",
++        "BOOST_LOG_DYN_LINK",
+         "BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS",
+         "BOOST_SYSTEM_NO_DEPRECATED",
+         "BOOST_THREAD_USES_DATETIME",
+         ("BOOST_THREAD_VERSION", "5"),
+     ])
+ 
+-    if link_model.startswith("dynamic") and not link_model == 'dynamic-sdk':
+-        conf.env.AppendUnique(CPPDEFINES=[
+-            "BOOST_LOG_DYN_LINK",
+-        ])
+-
+     if use_system_version_of_library("boost"):
+         if not conf.CheckCXXHeader("boost/filesystem/operations.hpp"):
+             myenv.ConfError("can't find boost headers")
+@@ -5327,6 +5313,9 @@
+ 
+     mongoc_mode = get_option('use-system-mongo-c')
+     conf.env['MONGO_HAVE_LIBMONGOC'] = False
++    conf.env.ParseConfig('pkg-config libbson-1.0 libmongoc-1.0 --cflags')
++    conf.env['LIBDEPS_LIBBSON_SYSLIBDEP'] = 'bson-1.0'
++
+     if mongoc_mode != 'off':
+         if conf.CheckLibWithHeader(
+             ["mongoc-1.0"],
diff --git a/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
new file mode 100644
index 00000000000000..b2f4c9ce97af29
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_moduleconfig.py.diff
@@ -0,0 +1,34 @@
+--- a/buildscripts/moduleconfig.py	2024-04-05 14:31:34.662126011 +0200
++++ b/buildscripts/moduleconfig.py	2024-04-05 14:35:03.112290925 +0200
+@@ -27,7 +27,7 @@
+ __all__ = ('discover_modules', 'discover_module_directories', 'configure_modules',
+            'register_module_test')  # pylint: disable=undefined-all-variable
+ 
+-import imp
++import importlib
+ import inspect
+ import os
+ 
+@@ -68,16 +68,18 @@
+ 
+         try:
+             print("adding module: %s" % (name))
+-            fp = open(build_py, "r")
+             try:
+-                module = imp.load_module("module_" + name, fp, build_py,
+-                                         (".py", "r", imp.PY_SOURCE))
++                spec = importlib.util.spec_from_file_location(
++                    "module_" + name, build_py
++                )
++                module = importlib.util.module_from_spec(spec)
++                spec.loader.exec_module(module)
+                 if getattr(module, "name", None) is None:
+                     module.name = name
+                 found_modules.append(module)
+                 found_module_names.append(name)
+             finally:
+-                fp.close()
++                pass
+         except (FileNotFoundError, IOError):
+             pass
+ 
diff --git a/srcpkgs/mongodb/patches/buildscripts_scons.py.diff b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
new file mode 100644
index 00000000000000..5440bac0320b83
--- /dev/null
+++ b/srcpkgs/mongodb/patches/buildscripts_scons.py.diff
@@ -0,0 +1,25 @@
+--- a/buildscripts/scons.py	2021-08-23 09:10:10 UTC
++++ b/buildscripts/scons.py
+@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
+ 
+ sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
+ 
+-# pylint: disable=C0413
+-from mongo.pip_requirements import verify_requirements, MissingRequirements
+-
+-try:
+-    verify_requirements('etc/pip/compile-requirements.txt')
+-except MissingRequirements as ex:
+-    print(ex)
+-    sys.exit(1)
++## pylint: disable=C0413
++#from mongo.pip_requirements import verify_requirements, MissingRequirements
++#
++#try:
++#    verify_requirements('etc/pip/compile-requirements.txt')
++#except MissingRequirements as ex:
++#    print(ex)
++#    sys.exit(1)
+ 
+ try:
+     import SCons.Script
diff --git a/srcpkgs/mongodb/template b/srcpkgs/mongodb/template
new file mode 100644
index 00000000000000..6aee2e281fd348
--- /dev/null
+++ b/srcpkgs/mongodb/template
@@ -0,0 +1,65 @@
+# Template file for 'mongodb'
+pkgname=mongodb
+version=7.0.7
+revision=1
+archs="x86_64"
+hostmakedepends="pkg-config python3-cheetah3 python3-packaging
+ python3-psutil python3-pymongo python3-setuptools python3-yaml"
+makedepends="boost-devel libbson-devel liblzma-devel libstemmer-devel
+ libunwind-devel libzstd-devel mongo-c-driver-devel openssl-devel
+ pcre2-devel snappy-devel yaml-cpp-devel zlib-devel"
+short_desc="Distributed document-oriented NoSQL database"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="custom:Proprietary"
+homepage="https://www.mongodb.com"
+distfiles="https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz"
+checksum=a2dce499bf32271baca14f430e3f57360d2ac70248a473ff1d2f381883ac2696
+restricted=yes
+
+system_accounts="_mongodb"
+mongodb_homedir="/var/lib/mongodb"
+make_dirs="/var/lib/mongodb 0750 _mongodb _mongodb"
+conf_files="/etc/mongodb.conf"
+
+post_patch() {
+	rm -rf src/third_party/boost
+	rm -rf src/third_party/libbson
+	rm -rf src/third_party/pcre2
+	rm -rf src/third_party/snappy-*
+	rm -rf src/third_party/libstemmer_c
+	rm -rf src/third_party/unwind
+	rm -rf src/third_party/yaml-cpp
+	rm -rf src/third_party/zlib*
+	rm -rf src/third_party/zstandard
+}
+
+do_build() {
+	buildscripts/scons.py \
+		 --allocator=system \
+		 --cxx-std=20 \
+		 --disable-warnings-as-errors \
+		 --runtime-hardening=on \
+		 --use-system-libunwind \
+		 --use-system-pcre2 \
+		 --use-system-snappy \
+		 --use-system-stemmer \
+		 --use-system-yaml \
+		 --use-system-zlib \
+		 --use-system-zstd \
+		 --use-system-libbson \
+		 --use-system-boost \
+		 --use-system-mongo-c=on \
+		 --ssl \
+		 --modules= \
+		 --linker=gold \
+		 MONGO_VERSION=${version} \
+		 VERBOSE=on
+}
+
+do_install() {
+	vbin build/install/bin/mongod
+	vbin build/install/bin/mongod
+	vconf ${FILESDIR}/mongodb.conf
+	vsv mongodb
+	vlicense LICENSE-Community.txt
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (41 preceding siblings ...)
  2024-04-11  9:53 ` wagnerflo
@ 2024-04-28 13:13 ` wagnerflo
  2024-04-28 13:14 ` wagnerflo
                   ` (3 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-28 13:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From 40b5f1a598f96fb683f636a00f9d6e3466ada435 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/3] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 44dc623d08b8181d40948f3ad131713988c01ce6 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 9b47a84bd12e238c4c0c8be64c7b0991ffa46aba Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (42 preceding siblings ...)
  2024-04-28 13:13 ` wagnerflo
@ 2024-04-28 13:14 ` wagnerflo
  2024-05-01  8:14 ` wagnerflo
                   ` (2 subsequent siblings)
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-04-28 13:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f1add4a80de15d374aebee13eb91846f4adfbf04 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/3] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 988ffda66514d36771a16490ba727f2c988471b5 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/3] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From ecb9c3c151f8189d62c2760b0438de55398896ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/3] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (43 preceding siblings ...)
  2024-04-28 13:14 ` wagnerflo
@ 2024-05-01  8:14 ` wagnerflo
  2024-05-01  8:16 ` wagnerflo
  2024-05-01 10:53 ` wagnerflo
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-05-01  8:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From f1add4a80de15d374aebee13eb91846f4adfbf04 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 988ffda66514d36771a16490ba727f2c988471b5 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From ecb9c3c151f8189d62c2760b0438de55398896ec Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From 07ce39bcc3696b7bf09ef2c0a20bea5f29582ccd Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 1 May 2024 10:13:20 +0200
Subject: [PATCH 4/5] python3-zstandard: update to 0.22.0

---
 .../patches/disablehardcodedversion.patch             | 11 +++++++++++
 srcpkgs/python3-zstandard/template                    |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch

diff --git a/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
new file mode 100644
index 00000000000000..3b72fa20c73a9e
--- /dev/null
+++ b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
@@ -0,0 +1,11 @@
+--- a/c-ext/backend_c.c	2023-11-01 02:58:34.000000000 -0300
++++ b/c-ext/backend_c.c	2024-03-29 21:32:40.694372789 -0300
+@@ -152,7 +152,7 @@
+     PyObject *features = NULL;
+     PyObject *feature = NULL;
+     unsigned zstd_ver_no = ZSTD_versionNumber();
+-    unsigned our_hardcoded_version = 10505;
++    unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER;
+     if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
+         zstd_ver_no != our_hardcoded_version) {
+         PyErr_Format(
diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
index d59cbb09b965fc..36907f76c111c1 100644
--- a/srcpkgs/python3-zstandard/template
+++ b/srcpkgs/python3-zstandard/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-zstandard'
 pkgname=python3-zstandard
-version=0.21.0
-revision=3
+version=0.22.0
+revision=1
 build_style=python3-module
 make_build_args="--system-zstd"
 hostmakedepends="python3-setuptools"
@@ -14,7 +14,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/indygreg/python-zstandard"
 changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
 distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
-checksum=15adc6bfa629d48b0bb658e9eae94c484adb66a28738fa780478eebeb41599a5
+checksum=34ce7ef020afca1344c538a778e2a2e30dc43b11509aa4cb5cf076228d959ca7
 
 pre_check() {
 	# The skipped test ignored due to failure, see:

From 8161374f2cde3186e6ed21a14e27cd72ccac6070 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 1 May 2024 10:14:38 +0200
Subject: [PATCH 5/5] mesa: enable support for xe kernel driver

---
 srcpkgs/mesa/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index aec17d420a904e..aa970009db5c83 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
 version=24.0.5
-revision=1
+revision=2
 build_style=meson
 _llvmver=17
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
@@ -95,6 +95,8 @@ if [ "$_have_intel" ]; then
 	subpackages+=" mesa-vulkan-intel"
 	# transitional dummy packages
 	subpackages+=" mesa-intel-dri"
+	# enable support for xe kernel driver
+	configure_args+=" -Dintel-xe-kmd=enabled"
 fi
 
 if [ "$_have_nv" ]; then

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (44 preceding siblings ...)
  2024-05-01  8:14 ` wagnerflo
@ 2024-05-01  8:16 ` wagnerflo
  2024-05-01 10:53 ` wagnerflo
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-05-01  8:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From e348caae3b930dd046b765594fcb6ccfebbb6e0b Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/5] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 17c244e18fbe3c36da433d1c68f4657ef8029a0b Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/5] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 89d529b7e3f09833ac0ff243688151cc6305024e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/5] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From b974d4a158af88be79fa282bb37fb78296791858 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 1 May 2024 10:13:20 +0200
Subject: [PATCH 4/5] python3-zstandard: update to 0.22.0

---
 .../patches/disablehardcodedversion.patch             | 11 +++++++++++
 srcpkgs/python3-zstandard/template                    |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch

diff --git a/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
new file mode 100644
index 00000000000000..3b72fa20c73a9e
--- /dev/null
+++ b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
@@ -0,0 +1,11 @@
+--- a/c-ext/backend_c.c	2023-11-01 02:58:34.000000000 -0300
++++ b/c-ext/backend_c.c	2024-03-29 21:32:40.694372789 -0300
+@@ -152,7 +152,7 @@
+     PyObject *features = NULL;
+     PyObject *feature = NULL;
+     unsigned zstd_ver_no = ZSTD_versionNumber();
+-    unsigned our_hardcoded_version = 10505;
++    unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER;
+     if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
+         zstd_ver_no != our_hardcoded_version) {
+         PyErr_Format(
diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
index d59cbb09b965fc..36907f76c111c1 100644
--- a/srcpkgs/python3-zstandard/template
+++ b/srcpkgs/python3-zstandard/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-zstandard'
 pkgname=python3-zstandard
-version=0.21.0
-revision=3
+version=0.22.0
+revision=1
 build_style=python3-module
 make_build_args="--system-zstd"
 hostmakedepends="python3-setuptools"
@@ -14,7 +14,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/indygreg/python-zstandard"
 changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
 distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
-checksum=15adc6bfa629d48b0bb658e9eae94c484adb66a28738fa780478eebeb41599a5
+checksum=34ce7ef020afca1344c538a778e2a2e30dc43b11509aa4cb5cf076228d959ca7
 
 pre_check() {
 	# The skipped test ignored due to failure, see:

From 19c567bd05163780878582394ab1aeb91c654a57 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 1 May 2024 10:14:38 +0200
Subject: [PATCH 5/5] mesa: enable support for xe kernel driver

---
 srcpkgs/mesa/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index aec17d420a904e..aa970009db5c83 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
 # Template file for 'mesa'
 pkgname=mesa
 version=24.0.5
-revision=1
+revision=2
 build_style=meson
 _llvmver=17
 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
@@ -95,6 +95,8 @@ if [ "$_have_intel" ]; then
 	subpackages+=" mesa-vulkan-intel"
 	# transitional dummy packages
 	subpackages+=" mesa-intel-dri"
+	# enable support for xe kernel driver
+	configure_args+=" -Dintel-xe-kmd=enabled"
 fi
 
 if [ "$_have_nv" ]; then

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

* Re: [PR PATCH] [Updated] New package: claws-mail-theme-basicsvg-0.6.4.
  2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
                   ` (45 preceding siblings ...)
  2024-05-01  8:16 ` wagnerflo
@ 2024-05-01 10:53 ` wagnerflo
  46 siblings, 0 replies; 48+ messages in thread
From: wagnerflo @ 2024-05-01 10:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/wagnerflo/void-packages wagnerflo
https://github.com/void-linux/void-packages/pull/42738

New package: claws-mail-theme-basicsvg-0.6.4.
#### New package
Yes, it's a theme but might be of interest anyways: Claws-mail comes with a internal theme of raster icons and will not scale these, resulting in very tiny icons on Hi-DPI displays. This theme brings SVG replacements that will scale.

#### Local build testing
This package contains only architecture independent files.

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

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

From e348caae3b930dd046b765594fcb6ccfebbb6e0b Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 27 Mar 2024 12:13:56 +0100
Subject: [PATCH 1/4] GitHub Action: trigger repository build

---
 .github/workflows/trigger.yaml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .github/workflows/trigger.yaml

diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml
new file mode 100644
index 00000000000000..b23a12f500f1c6
--- /dev/null
+++ b/.github/workflows/trigger.yaml
@@ -0,0 +1,18 @@
+name: Trigger repository build
+
+on:
+  push:
+    branches:
+      - wagnerflo
+
+jobs:
+  trigger:
+    name: Trigger
+    runs-on: ubuntu-latest
+    steps:
+      - name: Trigger
+        uses: peter-evans/repository-dispatch@v3
+        with:
+          token: ${{ secrets.PAT }}
+          repository: wagnerflo/void-repository
+          event-type: Push to wagnerflo/void-packages

From 17c244e18fbe3c36da433d1c68f4657ef8029a0b Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 10 Aug 2022 21:46:13 +0200
Subject: [PATCH 2/4] New package: claws-mail-theme-basicsvg-0.6.4.

---
 srcpkgs/claws-mail-theme-basicsvg/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/claws-mail-theme-basicsvg/template

diff --git a/srcpkgs/claws-mail-theme-basicsvg/template b/srcpkgs/claws-mail-theme-basicsvg/template
new file mode 100644
index 00000000000000..567ada3697769e
--- /dev/null
+++ b/srcpkgs/claws-mail-theme-basicsvg/template
@@ -0,0 +1,17 @@
+# Template file for 'claws-mail-theme-basicsvg'
+pkgname=claws-mail-theme-basicsvg
+version=0.6.4
+revision=1
+depends="claws-mail"
+short_desc="Basic SVG icons theme for Claws Mail"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="GPL-2.0-only"
+homepage="http://rame.altervista.org/cmbasicsvg/"
+distfiles="http://rame.altervista.org/dl.php?fp=cmbasicsvg/BasicSVG-${version}.tar.gz"
+checksum=6136910b431bc39496557d9cf5786607c4c95473e8d9eac2d3f8d91f0a0dee3b
+create_wrksrc=yes
+
+do_install() {
+	vmkdir usr/share/claws-mail/themes
+	vcopy "${wrksrc}/BasicSVG" usr/share/claws-mail/themes
+}

From 89d529b7e3f09833ac0ff243688151cc6305024e Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Tue, 26 Dec 2023 19:41:34 +0100
Subject: [PATCH 3/4] New package: bupstash-0.12.0.

---
 srcpkgs/bupstash/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/bupstash/template

diff --git a/srcpkgs/bupstash/template b/srcpkgs/bupstash/template
new file mode 100644
index 00000000000000..3a4703dbba5858
--- /dev/null
+++ b/srcpkgs/bupstash/template
@@ -0,0 +1,18 @@
+# Template file for 'bupstash'
+pkgname=bupstash
+version=0.12.0
+revision=1
+archs="~i686*"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="libsodium-devel"
+short_desc="Easy and efficient encrypted backups"
+maintainer="Florian Wagner <florian@wagner-flo.de>"
+license="MIT"
+homepage="https://bupstash.io"
+distfiles="https://github.com/andrewchambers/bupstash/archive/refs/tags/v${version}.tar.gz"
+checksum=a2ce4eeb2caa881a778e823cc70d39c2adb0b301f737c55e44a4dd0fbd6a4265
+
+post_install() {
+	vlicense LICENSE
+}

From b974d4a158af88be79fa282bb37fb78296791858 Mon Sep 17 00:00:00 2001
From: Florian Wagner <florian@wagner-flo.net>
Date: Wed, 1 May 2024 10:13:20 +0200
Subject: [PATCH 4/4] python3-zstandard: update to 0.22.0

---
 .../patches/disablehardcodedversion.patch             | 11 +++++++++++
 srcpkgs/python3-zstandard/template                    |  6 +++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch

diff --git a/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
new file mode 100644
index 00000000000000..3b72fa20c73a9e
--- /dev/null
+++ b/srcpkgs/python3-zstandard/patches/disablehardcodedversion.patch
@@ -0,0 +1,11 @@
+--- a/c-ext/backend_c.c	2023-11-01 02:58:34.000000000 -0300
++++ b/c-ext/backend_c.c	2024-03-29 21:32:40.694372789 -0300
+@@ -152,7 +152,7 @@
+     PyObject *features = NULL;
+     PyObject *feature = NULL;
+     unsigned zstd_ver_no = ZSTD_versionNumber();
+-    unsigned our_hardcoded_version = 10505;
++    unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER;
+     if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
+         zstd_ver_no != our_hardcoded_version) {
+         PyErr_Format(
diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
index d59cbb09b965fc..36907f76c111c1 100644
--- a/srcpkgs/python3-zstandard/template
+++ b/srcpkgs/python3-zstandard/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-zstandard'
 pkgname=python3-zstandard
-version=0.21.0
-revision=3
+version=0.22.0
+revision=1
 build_style=python3-module
 make_build_args="--system-zstd"
 hostmakedepends="python3-setuptools"
@@ -14,7 +14,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/indygreg/python-zstandard"
 changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
 distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
-checksum=15adc6bfa629d48b0bb658e9eae94c484adb66a28738fa780478eebeb41599a5
+checksum=34ce7ef020afca1344c538a778e2a2e30dc43b11509aa4cb5cf076228d959ca7
 
 pre_check() {
 	# The skipped test ignored due to failure, see:

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

end of thread, other threads:[~2024-05-01 10:53 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-13  9:54 [PR PATCH] New package: claws-mail-theme-basicsvg-0.6.4 wagnerflo
2023-03-13  9:57 ` [PR PATCH] [Updated] " wagnerflo
2023-03-13  9:58 ` wagnerflo
2023-06-12  2:05 ` github-actions
2023-06-12  7:21 ` wagnerflo
2023-09-12  1:44 ` github-actions
2023-09-12 10:36 ` wagnerflo
2023-12-12  1:46 ` github-actions
2023-12-26 18:14 ` [PR PATCH] [Updated] " wagnerflo
2023-12-26 18:42 ` wagnerflo
2024-03-16  9:48 ` wagnerflo
2024-03-16 10:07 ` wagnerflo
2024-03-16 10:21 ` wagnerflo
2024-03-16 10:22 ` wagnerflo
2024-03-16 10:34 ` wagnerflo
2024-03-16 10:35 ` wagnerflo
2024-03-16 10:49 ` wagnerflo
2024-03-16 10:52 ` wagnerflo
2024-03-16 10:54 ` wagnerflo
2024-03-16 10:55 ` wagnerflo
2024-03-16 11:10 ` wagnerflo
2024-03-16 11:14 ` wagnerflo
2024-03-16 11:44 ` wagnerflo
2024-03-27 11:14 ` wagnerflo
2024-03-27 11:17 ` wagnerflo
2024-03-27 11:20 ` wagnerflo
2024-03-27 11:24 ` wagnerflo
2024-03-31  7:27 ` wagnerflo
2024-03-31  8:04 ` wagnerflo
2024-04-05 16:50 ` wagnerflo
2024-04-05 17:03 ` wagnerflo
2024-04-05 17:10 ` wagnerflo
2024-04-05 17:15 ` wagnerflo
2024-04-05 17:15 ` wagnerflo
2024-04-05 17:54 ` wagnerflo
2024-04-07 10:22 ` wagnerflo
2024-04-07 19:53 ` wagnerflo
2024-04-10 13:23 ` wagnerflo
2024-04-10 13:30 ` wagnerflo
2024-04-10 13:46 ` wagnerflo
2024-04-10 13:52 ` wagnerflo
2024-04-10 16:13 ` wagnerflo
2024-04-11  9:53 ` wagnerflo
2024-04-28 13:13 ` wagnerflo
2024-04-28 13:14 ` wagnerflo
2024-05-01  8:14 ` wagnerflo
2024-05-01  8:16 ` wagnerflo
2024-05-01 10:53 ` wagnerflo

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).