Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: cinny-desktop-2.2.6
Date: Sat, 12 Aug 2023 17:35:27 +0200	[thread overview]
Message-ID: <20230812153527.cBAgeTCVxzaNb-ih7efT_g6ATjohVUp_THjPpSk5Pp4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45563@inbox.vuxu.org>

[-- 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
+}

  reply	other threads:[~2023-08-12 15:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-12 14:48 [PR PATCH] " tranzystorek-io
2023-08-12 15:35 ` tranzystorek-io [this message]
2023-08-13  9:31 ` [PR PATCH] [Updated] " 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 ` [PR PATCH] [Closed]: " tranzystorekk
2024-02-15 14:35 ` tranzystorekk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230812153527.cBAgeTCVxzaNb-ih7efT_g6ATjohVUp_THjPpSk5Pp4@z \
    --to=tranzystorek-io@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).