Github messages for voidlinux
 help / color / mirror / Atom feed
From: chrysos349 <chrysos349@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] fractal: update to 6
Date: Thu, 21 Mar 2024 00:03:57 +0100	[thread overview]
Message-ID: <20240320230357.8BC7820232@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48389@inbox.vuxu.org>

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

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

https://github.com/chrysos349/void-packages fractal
https://github.com/void-linux/void-packages/pull/48389

fractal: update to 6
@CameronNemo 

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - aarch64 x
  - x86_64-musl

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

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

From 29d441f50cfeb94153eaf6ab8e7f85d54aa751e3 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sat, 27 Jan 2024 01:11:16 +0300
Subject: [PATCH] fractal: update to 6

---
 common/shlibs            |  1 +
 srcpkgs/fractal/template | 32 ++++++++++++++++++--------------
 2 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index cc85a48ce8f207..d0c512ba1c9fa5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4300,3 +4300,4 @@ libunicode_loader.so.0.4 libunicode-0.4.0_1
 force-stage.so.0.1 void-force-stage-0.1_1
 libliftoff.so.0 libliftoff-0.4.1_1
 libscfg.so libscfg-0.1.1_1
+libgstplay-1.0.so.0 gst-plugins-bad1-1.22.9_1
diff --git a/srcpkgs/fractal/template b/srcpkgs/fractal/template
index 5012cf23587b40..4e405ea56c8789 100644
--- a/srcpkgs/fractal/template
+++ b/srcpkgs/fractal/template
@@ -1,25 +1,29 @@
 # Template file for 'fractal'
 pkgname=fractal
-version=4.4.2
-revision=2
+version=6
+revision=1
 build_style=meson
-build_helper="rust"
-hostmakedepends="cargo pkg-config glib-devel gettext"
-makedepends="gtk+3-devel libglib-devel openssl-devel gstreamer1-devel
- cairo-devel gettext-devel gst-plugins-base1-devel gst-plugins-bad1-devel
- gst1-editing-services-devel gtksourceview4-devel pango-devel gspell-devel
- gmp-devel libsecret-devel libhandy-devel rust-std"
+build_helper=rust
+hostmakedepends="cargo clang desktop-file-utils gettext glib-devel
+ gtk-update-icon-cache pkg-config"
+makedepends="gst-plugins-base1-devel gtksourceview5-devel libadwaita-devel
+ libshumate-devel pipewire-devel rust-std"
 short_desc="Matrix Messaging Client for GNOME"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="GPL-3.0-or-later"
 homepage="https://wiki.gnome.org/Apps/Fractal"
-distfiles="https://gitlab.gnome.org/GNOME/fractal/-/archive/${version}/fractal-${version}.tar.gz"
-checksum=97bb2f355fb1a89851bf16c17aed63063c6c0a79d8adcd31ce0ab82bc4a56f5e
+distfiles="https://gitlab.gnome.org/World/fractal/-/archive/${version}/fractal-${version}.tar.gz"
+checksum=a730dffe5fd4859c16e0d84244a82f6ea843d4e464ee04e08fcb5bea61c248f2
+
+if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
+	broken="limited by Rust + crate dependencies"
+fi
 
 post_patch() {
-	[ -z "$CROSS_BUILD" ] && return 0
+	vsed -i "/xdg-desktop-portal/d" meson.build
 
-	vsed -i scripts/cargo.sh \
-		-e 's;"$CARGO_TARGET_DIR";&/${RUST_TARGET};' \
-		-e '/CARGO_HOME/d'
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i src/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / &%"
+	fi
 }

      parent reply	other threads:[~2024-03-20 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 22:13 [PR PATCH] " chrysos349
2024-01-26 23:15 ` chrysos349
2024-01-27  0:19 ` CameronNemo
2024-02-26 10:04 ` [PR PATCH] [Updated] " chrysos349
2024-03-20 23:03 ` chrysos349 [this message]

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=20240320230357.8BC7820232@inbox.vuxu.org \
    --to=chrysos349@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).