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] New package: cinny-desktop-3.0.0
Date: Fri, 27 Oct 2023 20:11:55 +0200	[thread overview]
Message-ID: <20231027181155.Mu8Jylv5kPhw81xuW3RJaQfLDPQTW_K42glWcvMpn_Q@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: 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
+}

  parent reply	other threads:[~2023-10-27 18:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` tranzystorek-io [this message]
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=20231027181155.Mu8Jylv5kPhw81xuW3RJaQfLDPQTW_K42glWcvMpn_Q@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).