fractal: update to 4.4.0.

This commit is contained in:
Enno Boland 2021-05-15 08:05:51 +02:00 committed by Enno Boland
parent 0dafa4cef8
commit 8178ed2b9d
2 changed files with 3 additions and 31 deletions

View file

@ -1,28 +0,0 @@
Our LibreSSL requires newer openssl-sys.
Also, older num-bigint appears to be broken on ARM.
Some builds also fail with unused import.
--- fractal-gtk/src/app/backend_loop.rs
+++ fractal-gtk/src/app/backend_loop.rs
@@ -12,8 +12,6 @@ use std::thread;
use crate::backend::BKResponse;
use fractal_api::error::Error;
-use std::sync::mpsc::RecvError;
-
pub fn backend_loop(rx: Receiver<BKResponse>) {
thread::spawn(move || {
while let Ok(recv) = rx.recv() {
--- scripts/cargo.sh
+++ scripts/cargo.sh
@@ -5,6 +5,9 @@ export CARGO_TARGET_DIR="$3"/target
export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
export FRACTAL_PROFILE="$4"
+cargo update --manifest-path $1/Cargo.toml -p fractal-gtk --package openssl-sys --precise 0.9.58
+cargo update --manifest-path $1/Cargo.toml -p fractal-gtk --package num-bigint --precise 0.2.3
+
if [ "$FRACTAL_PROFILE" = "Devel" ]
then
echo "DEBUG MODE"

View file

@ -1,7 +1,7 @@
# Template file for 'fractal'
pkgname=fractal
version=4.2.2
revision=3
version=4.4.0
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="cargo pkg-config glib-devel gettext"
@ -14,7 +14,7 @@ maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Fractal"
distfiles="https://gitlab.gnome.org/World/fractal/-/archive/$version/$pkgname-$version.tar.gz"
checksum=3f722e2fbadd6cee1ce98a92cf718c8051532dfd71180a453695365aa80d2b02
checksum=3c3ea4e67e6d8fbc2e7b220fef188dcde5229e83c2cfeeadee42137718b34e56
post_patch() {
[ -z "$CROSS_BUILD" ] && return 0