Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: cinny-desktop-2.2.6
@ 2023-08-12 14:48 tranzystorek-io
  2023-08-12 15:35 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-12 14:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From d7d1e84f0646f5a94f362ff18ba93f09dbdb3feb Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 44017ebac120d47948afe226ef0a8d1548c275c1 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..2e5a029397c7a
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,28 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+hostmakedepends="cargo cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+	export NODE_OPTIONS=--max_old_space_size=4096
+	cargo tauri build --target ${RUST_TARGET} --bundles deb
+}
+
+do_install() {
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_amd64/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
@ 2023-08-12 15:35 ` tranzystorek-io
  2023-08-13  9:31 ` tranzystorek-io
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-12 15:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From d7d1e84f0646f5a94f362ff18ba93f09dbdb3feb Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 3ae9ae527c06a73b8f4e4453bb7c3389da7ee453 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 40 ++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..42903ef60ddea
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,40 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+build_helper=rust
+hostmakedepends="cargo cargo-auditable cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+fi
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=4096
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_install() {
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_amd64/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
  2023-08-12 15:35 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2023-08-13  9:31 ` tranzystorek-io
  2023-08-13 10:07 ` tranzystorek-io
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-13  9:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 4b346de959759c071cc33ae38eb5eaf1d7ef8b83 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From bc17d7be09179d71bbe51489ef7e42de10f45bd2 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 48 ++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..29c724bad64a8
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,48 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+build_helper=rust
+hostmakedepends="cargo cargo-auditable cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+fi
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TRIPLET}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
  2023-08-12 15:35 ` [PR PATCH] [Updated] " tranzystorek-io
  2023-08-13  9:31 ` tranzystorek-io
@ 2023-08-13 10:07 ` tranzystorek-io
  2023-08-13 10:58 ` tranzystorek-io
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-13 10:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 4b346de959759c071cc33ae38eb5eaf1d7ef8b83 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 58fba4dda318a8c938e4aa719becde427c805594 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 48 ++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..0353c9286e028
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,48 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+build_helper=rust
+hostmakedepends="cargo cargo-auditable cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" rust-std"
+fi
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (2 preceding siblings ...)
  2023-08-13 10:07 ` tranzystorek-io
@ 2023-08-13 10:58 ` tranzystorek-io
  2023-08-13 11:29 ` tranzystorek-io
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-13 10:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 4b346de959759c071cc33ae38eb5eaf1d7ef8b83 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 92fb09a4f8f9b675e3ec7dc466547057f3d62e28 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 46 ++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..abb47506e6795
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,46 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+make_check=no
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (3 preceding siblings ...)
  2023-08-13 10:58 ` tranzystorek-io
@ 2023-08-13 11:29 ` tranzystorek-io
  2023-08-13 13:47 ` [PR REVIEW] " mhmdanas
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-13 11:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

[WIP] New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 4b346de959759c071cc33ae38eb5eaf1d7ef8b83 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 4e562a807913a7b8ef833931b301ffcacb9c7a80 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 50 ++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..5f343cc53fc73
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,50 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (4 preceding siblings ...)
  2023-08-13 11:29 ` tranzystorek-io
@ 2023-08-13 13:47 ` mhmdanas
  2023-08-13 13:48 ` tranzystorek-io
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mhmdanas @ 2023-08-13 13:47 UTC (permalink / raw)
  To: ml

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

New review comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#discussion_r1292793577

Comment:
You can generate completions apparently: https://tauri.app/v1/api/cli/#completions

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

* Re: [PR REVIEW] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (5 preceding siblings ...)
  2023-08-13 13:47 ` [PR REVIEW] " mhmdanas
@ 2023-08-13 13:48 ` tranzystorek-io
  2023-08-13 14:23 ` mhmdanas
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-13 13:48 UTC (permalink / raw)
  To: ml

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

New review comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#discussion_r1292793901

Comment:
Yeah, but for cargo plugins they are effectively useless...

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

* Re: [PR REVIEW] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (6 preceding siblings ...)
  2023-08-13 13:48 ` tranzystorek-io
@ 2023-08-13 14:23 ` mhmdanas
  2023-08-31  6:46 ` [PR PATCH] [Updated] " tranzystorek-io
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: mhmdanas @ 2023-08-13 14:23 UTC (permalink / raw)
  To: ml

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

New review comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#discussion_r1292800060

Comment:
Fair enough.

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (7 preceding siblings ...)
  2023-08-13 14:23 ` mhmdanas
@ 2023-08-31  6:46 ` tranzystorek-io
  2023-10-21 12:14 ` tranzystorek-io
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-08-31  6:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 5f86591c0d1c76a7ca1f5e187f1b9b2089047c94 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 1499e26a3ec8225fa10f47f25777f84163f238ca Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-2.2.6

---
 srcpkgs/cinny-desktop/template | 50 ++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..5f343cc53fc73
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,50 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=2.2.6
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libsoup-devel openssl-devel webkit2gtk-devel"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=88a8da1fbd80013768014fc78a5d1f94c2564ff14e3f0cf824ccc70a9545df85
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-2.2.6
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (8 preceding siblings ...)
  2023-08-31  6:46 ` [PR PATCH] [Updated] " tranzystorek-io
@ 2023-10-21 12:14 ` tranzystorek-io
  2023-10-27 18:11 ` [PR PATCH] [Updated] New package: cinny-desktop-3.0.0 tranzystorek-io
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-10-21 12:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-2.2.6
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From a69f3c06b0f4f2f13a01e1ae0694cde28207f1e1 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 1ccaaf6d05847a31729cc901ea6a23c654628555 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.0.0

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..74fb4c39c1d3a
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.0.0
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=a6d5c1ea56df4fc7570006d820f9bed6d8a77753e56fb60025b26b95a89e7db4
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-3.0.0
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (9 preceding siblings ...)
  2023-10-21 12:14 ` tranzystorek-io
@ 2023-10-27 18:11 ` tranzystorek-io
  2023-10-28 11:30 ` [PR PATCH] [Updated] New package: cinny-desktop-3.1.0 tranzystorekk
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorek-io @ 2023-10-27 18:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorek-io/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-3.0.0
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From f6e2ed7be80a5b0c345887a8e4142edd8766acd6 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.4.0

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..104f458fcf427
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.4.0
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel openssl-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=4ac0985d750f7a4c6849ecd4bcdd26306b5dcf99c84f71762a038b290afbf781
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 7a827139dc36ad408d01ada5ed56ce4b4bf09f34 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.1.0

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..f68bf67144e8d
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.1.0
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=f7fd89d2301f3fb4bbcc3e373fb21e1a4bf8e269bc6143df77405754749218be
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-3.1.0
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (10 preceding siblings ...)
  2023-10-27 18:11 ` [PR PATCH] [Updated] New package: cinny-desktop-3.0.0 tranzystorek-io
@ 2023-10-28 11:30 ` tranzystorekk
  2023-10-31 11:37 ` tranzystorekk
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2023-10-28 11:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-3.1.0
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 50afa98de5f3df083f74445ed29a668d41a382f8 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.5.6

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..9b57774927db5
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.5.6
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=1b193a2dafe85b9698bd49af3162bcea0b43bbe47eeb8b160d3a4a3649f2efc6
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 2714fb26cd9e60c69fafa3ee2dceec8af18b7a31 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.1.0

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..f68bf67144e8d
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.1.0
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=f7fd89d2301f3fb4bbcc3e373fb21e1a4bf8e269bc6143df77405754749218be
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-3.1.0
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (11 preceding siblings ...)
  2023-10-28 11:30 ` [PR PATCH] [Updated] New package: cinny-desktop-3.1.0 tranzystorekk
@ 2023-10-31 11:37 ` tranzystorekk
  2023-11-01 21:47 ` [PR PATCH] [Updated] New package: cinny-desktop-3.2.0 tranzystorekk
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2023-10-31 11:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-3.1.0
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From cf6ce94a52c0dc8514d577ea2d0ad98ad8178884 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.5.6

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..9b57774927db5
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.5.6
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=1b193a2dafe85b9698bd49af3162bcea0b43bbe47eeb8b160d3a4a3649f2efc6
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From bb676ce37780fc517d6a81b202be3291f7641dbb Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.2.0

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..2f8966bb65c36
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.2.0
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=2b552f424a89e886e6356ec106ad51dff9d88bd84fb6ccadfb8b93124f955d2e
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-3.2.0
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (12 preceding siblings ...)
  2023-10-31 11:37 ` tranzystorekk
@ 2023-11-01 21:47 ` tranzystorekk
  2024-01-04  6:24 ` New package: cinny-desktop-3.2.1 madoka773
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2023-11-01 21:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-3.2.0
- New package: cargo-tauri-1.4.0
- New package: cinny-desktop-2.2.6

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From d15e79632a7787504ea3d9b92a8f1e8e42860735 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.5.6

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..9b57774927db5
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.5.6
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=1b193a2dafe85b9698bd49af3162bcea0b43bbe47eeb8b160d3a4a3649f2efc6
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 9d0472dacd0925d81f9fbb90b8734c2b89527fae Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.2.1

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..a59f07cf56e99
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.2.1
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=3f1c71737f274a948ae483ecfa7d30dda54ad24c31271bc044bda7ce35cdd26e
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: New package: cinny-desktop-3.2.1
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (13 preceding siblings ...)
  2023-11-01 21:47 ` [PR PATCH] [Updated] New package: cinny-desktop-3.2.0 tranzystorekk
@ 2024-01-04  6:24 ` madoka773
  2024-01-04  6:28 ` madoka773
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: madoka773 @ 2024-01-04  6:24 UTC (permalink / raw)
  To: ml

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

New comment by madoka773 on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#issuecomment-1876458867

Comment:
i want to know when it be merged

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

* Re: New package: cinny-desktop-3.2.1
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (14 preceding siblings ...)
  2024-01-04  6:24 ` New package: cinny-desktop-3.2.1 madoka773
@ 2024-01-04  6:28 ` madoka773
  2024-01-04 15:30 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: madoka773 @ 2024-01-04  6:28 UTC (permalink / raw)
  To: ml

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

New comment by madoka773 on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#issuecomment-1876458867

Comment:
i want to know when it be merged

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

* Re: [PR PATCH] [Updated] New package: cinny-desktop-3.2.1
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (15 preceding siblings ...)
  2024-01-04  6:28 ` madoka773
@ 2024-01-04 15:30 ` tranzystorekk
  2024-02-15 14:35 ` tranzystorekk
  2024-02-15 14:35 ` [PR PATCH] [Closed]: " tranzystorekk
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2024-01-04 15:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages cinny
https://github.com/void-linux/void-packages/pull/45563

New package: cinny-desktop-3.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From f9f631bd3c6c1b250c7fd04eda16aedf771c510c Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:42:48 +0200
Subject: [PATCH 1/2] New package: cargo-tauri-1.5.9

---
 srcpkgs/cargo-tauri/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/cargo-tauri/template

diff --git a/srcpkgs/cargo-tauri/template b/srcpkgs/cargo-tauri/template
new file mode 100644
index 0000000000000..acf575af9ebfa
--- /dev/null
+++ b/srcpkgs/cargo-tauri/template
@@ -0,0 +1,19 @@
+# Template file for 'cargo-tauri'
+pkgname=cargo-tauri
+version=1.5.9
+revision=1
+build_wrksrc="tooling/cli"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="bzip2-devel libzstd-devel"
+short_desc="Command line interface for building Tauri apps"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="Apache-2.0, MIT"
+homepage="https://tauri.app"
+changelog="https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/CHANGELOG.md"
+distfiles="https://github.com/tauri-apps/tauri/archive/refs/tags/tauri-cli-v${version}.tar.gz"
+checksum=292d7ffb7ba70d34281688888532375fe90e0349eafe68ff9b74d942e6bbe30e
+
+post_install() {
+	vlicense LICENSE_MIT
+}

From 7439304a342e4a91fe3c24fb73f74b159ecbb721 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sat, 12 Aug 2023 16:44:15 +0200
Subject: [PATCH 2/2] New package: cinny-desktop-3.2.1

---
 srcpkgs/cinny-desktop/template | 51 ++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 srcpkgs/cinny-desktop/template

diff --git a/srcpkgs/cinny-desktop/template b/srcpkgs/cinny-desktop/template
new file mode 100644
index 0000000000000..a59f07cf56e99
--- /dev/null
+++ b/srcpkgs/cinny-desktop/template
@@ -0,0 +1,51 @@
+# Template file for 'cinny-desktop'
+pkgname=cinny-desktop
+version=3.2.1
+revision=1
+# used for the cargo environment config
+build_style=cargo
+hostmakedepends="cargo-tauri nodejs pkg-config"
+makedepends="dbus-devel gtk+3-devel libayatana-appindicator-devel libsoup-devel openssl-devel webkit2gtk-devel"
+depends="libayatana-appindicator"
+short_desc="Yet another matrix client for desktop"
+maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://cinny.in/"
+changelog="https://github.com/cinnyapp/cinny/releases"
+distfiles="https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/cinny-desktop-v${version}.zip"
+checksum=3f1c71737f274a948ae483ecfa7d30dda54ad24c31271bc044bda7ce35cdd26e
+
+do_build() {
+	(
+		cd cinny
+		npm ci
+	)
+
+	cat > cargo-auditable <<'_EOF'
+#!/bin/sh
+exec cargo auditable --locked "$@"
+_EOF
+	chmod +x cargo-auditable
+
+	export NODE_OPTIONS=--max_old_space_size=6144
+	cargo tauri build --target ${RUST_TARGET} --runner ${PWD}/cargo-auditable --bundles deb
+}
+
+do_check() {
+	cd src-tauri
+	cargo auditable test --release --locked --target ${RUST_TARGET}
+}
+
+do_install() {
+	local _deb_arch
+	case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) _deb_arch=amd64 ;;
+		i686*) _deb_arch=i386 ;;
+		aarch64*) _deb_arch=arm64 ;;
+		armv*) _deb_arch=armhf ;;
+	esac
+
+	vbin src-tauri/target/${RUST_TARGET}/release/cinny
+	vcopy src-tauri/target/${RUST_TARGET}/release/bundle/deb/cinny_${version}_${_deb_arch}/data/usr/share usr/share
+	vlicense LICENSE
+}

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

* Re: New package: cinny-desktop-3.2.1
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (16 preceding siblings ...)
  2024-01-04 15:30 ` [PR PATCH] [Updated] " tranzystorekk
@ 2024-02-15 14:35 ` tranzystorekk
  2024-02-15 14:35 ` [PR PATCH] [Closed]: " tranzystorekk
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2024-02-15 14:35 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/45563#issuecomment-1946221916

Comment:
Closing as I'm no longer interested in having a separate desktop application for this.

Anyone is free to take it over though 😃

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

* Re: [PR PATCH] [Closed]: New package: cinny-desktop-3.2.1
  2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
                   ` (17 preceding siblings ...)
  2024-02-15 14:35 ` tranzystorekk
@ 2024-02-15 14:35 ` tranzystorekk
  18 siblings, 0 replies; 20+ messages in thread
From: tranzystorekk @ 2024-02-15 14:35 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: cinny-desktop-3.2.1
https://github.com/void-linux/void-packages/pull/45563

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2024-02-15 14:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12 14:48 [PR PATCH] [WIP] New package: cinny-desktop-2.2.6 tranzystorek-io
2023-08-12 15:35 ` [PR PATCH] [Updated] " tranzystorek-io
2023-08-13  9:31 ` tranzystorek-io
2023-08-13 10:07 ` tranzystorek-io
2023-08-13 10:58 ` tranzystorek-io
2023-08-13 11:29 ` tranzystorek-io
2023-08-13 13:47 ` [PR REVIEW] " mhmdanas
2023-08-13 13:48 ` tranzystorek-io
2023-08-13 14:23 ` mhmdanas
2023-08-31  6:46 ` [PR PATCH] [Updated] " tranzystorek-io
2023-10-21 12:14 ` tranzystorek-io
2023-10-27 18:11 ` [PR PATCH] [Updated] New package: cinny-desktop-3.0.0 tranzystorek-io
2023-10-28 11:30 ` [PR PATCH] [Updated] New package: cinny-desktop-3.1.0 tranzystorekk
2023-10-31 11:37 ` tranzystorekk
2023-11-01 21:47 ` [PR PATCH] [Updated] New package: cinny-desktop-3.2.0 tranzystorekk
2024-01-04  6:24 ` New package: cinny-desktop-3.2.1 madoka773
2024-01-04  6:28 ` madoka773
2024-01-04 15:30 ` [PR PATCH] [Updated] " tranzystorekk
2024-02-15 14:35 ` tranzystorekk
2024-02-15 14:35 ` [PR PATCH] [Closed]: " tranzystorekk

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).