From: balejk <balejk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] fractal: update to 11.
Date: Fri, 06 Jun 2025 10:04:14 +0200 [thread overview]
Message-ID: <20250606080414.4A3EE2F9EF@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-54007@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]
There is an updated pull request by balejk against master on the void-packages repository
https://github.com/balejk/void-packages fractal-9
https://github.com/void-linux/void-packages/pull/54007
fractal: update to 11.
<!-- 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, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl (cross)
- x86_64-musl (cross)
- x86_64
- i686 (cross)
<!--
- armv7l
- armv6l-musl
-->
---
Recycled from #48389 (Cc: @chrysos349).
I was curious to try fractal out, hence this.
[ci skip] as the build of the final fractal crate takes a long time and consumes huge amounts of memory (at least over 13 GiB).
A patch file from https://github.com/void-linux/void-packages/pull/54007.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fractal-9-54007.patch --]
[-- Type: text/x-diff, Size: 2477 bytes --]
From b215912a1e23742fa17796430137b81966ca94f2 Mon Sep 17 00:00:00 2001
From: Karel Balej <balejk@matfyz.cz>
Date: Sat, 3 May 2025 14:55:54 +0200
Subject: [PATCH] fractal: update to 11.1
Also orphan the package per the maintainer's request.
---
srcpkgs/fractal/template | 40 ++++++++++++++++++++++++++--------------
1 file changed, 26 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/fractal/template b/srcpkgs/fractal/template
index 0cf698515be705..1ecaa220198295 100644
--- a/srcpkgs/fractal/template
+++ b/srcpkgs/fractal/template
@@ -1,25 +1,37 @@
# Template file for 'fractal'
pkgname=fractal
-version=4.4.2
-revision=3
+version=11.1
+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 gst1-editing-services-devel python3-devel"
+build_helper=rust
+hostmakedepends="cargo clang desktop-file-utils gettext glib-devel
+ gtk4-update-icon-cache nodejs pkg-config"
+makedepends="gst-plugins-base1-devel gtksourceview5-devel libadwaita-devel
+ libseccomp-devel libshumate-devel pipewire-devel rust-std xdg-desktop-portal
+ libwebp-devel"
+depends="glycin-loaders"
short_desc="Matrix Messaging Client for GNOME"
-maintainer="Cameron Nemo <cam@nohom.org>"
+maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Fractal"
+changelog="https://gitlab.gnome.org/World/fractal/-/releases"
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/${version}/fractal-${version}.tar.gz"
-checksum=7872f050bf1c5904b93ba518b542bcb6fc80c557966645101103060098ddf6d0
+checksum=64b84201976818d148a20351e4fcccc426739ccbfba485b911ca7625c559338f
+
+export PATH="$PATH:$XBPS_BUILDDIR/${pkgname}-${version}/node_modules/.bin"
post_patch() {
- [ -z "$CROSS_BUILD" ] && return 0
+ if [ "$CROSS_BUILD" ]; then
+ vsed -i src/meson.build \
+ -e "s%rust_target /%'${RUST_TARGET}' / &%"
+ fi
+}
+
+pre_configure() {
+ npm i sass
+}
- vsed -i scripts/cargo.sh \
- -e 's;"$CARGO_TARGET_DIR";&/${RUST_TARGET};' \
- -e '/CARGO_HOME/d'
+# NOTE: explicitly prevent rebuild: https://gitlab.gnome.org/GNOME/fractal/-/issues/1327
+do_install() {
+ meson install -C build --destdir $DESTDIR --no-rebuild
}
next prev parent reply other threads:[~2025-06-06 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 11:20 [PR PATCH] fractal: update to 9 balejk
2025-01-17 13:10 ` balejk
2025-04-06 6:38 ` chrysos349
2025-04-09 8:46 ` balejk
2025-04-13 18:14 ` CameronNemo
2025-05-03 17:43 ` [PR PATCH] [Updated] fractal: update to 11 balejk
2025-05-03 17:44 ` balejk
2025-05-13 19:30 ` balejk
2025-06-06 8:04 ` balejk [this message]
2025-06-08 17:10 ` Duncaen
2025-06-09 14:35 ` [PR PATCH] [Merged]: " Duncaen
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=20250606080414.4A3EE2F9EF@inbox.vuxu.org \
--to=balejk@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).