From d2cf05663a1652677bfa201f122a42dcd812162e Mon Sep 17 00:00:00 2001 From: fossdd Date: Sun, 30 Mar 2025 17:26:25 +0200 Subject: [PATCH] systemd/gnome-shell-mobile: upgrade to 48.0 https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/blob/48.mobile.0/CHANGELOG.md Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361 --- .../systemd/gnome-shell-mobile/APKBUILD | 22 +++++++++---------- .../systemd/gnome-shell-mobile/pcver.patch | 21 ++++++++++++++++++ 2 files changed, 31 insertions(+), 12 deletions(-) create mode 100644 extra-repos/systemd/gnome-shell-mobile/pcver.patch diff --git a/extra-repos/systemd/gnome-shell-mobile/APKBUILD b/extra-repos/systemd/gnome-shell-mobile/APKBUILD index 1260e7861..f9aa753fa 100644 --- a/extra-repos/systemd/gnome-shell-mobile/APKBUILD +++ b/extra-repos/systemd/gnome-shell-mobile/APKBUILD @@ -1,9 +1,9 @@ # Forked from Alpine to add phone adaptivity patches and systemd! pkgname=gnome-shell-mobile -pkgver=99946.1 -_pkgver=46.1 -pkgrel=1 +pkgver=99948.0 +_pkgver=48.0 +pkgrel=0 pkgdesc="GNOME shell mobile" url="https://wiki.gnome.org/Projects/GnomeShell" # gjs / riscv64: mutter-mobile @@ -12,9 +12,8 @@ license="GPL-2.0-or-later" depends=" accountsservice adwaita-icon-theme + adwaita-fonts desktop-file-utils - font-adobe-source-code-pro - font-cantarell gnome-bluetooth gnome-control-center gnome-shell-mobile-schemas @@ -73,11 +72,12 @@ subpackages=" $pkgname-schemas::noarch gnome-mobile-extensions-app:extensions_app:noarch " -_commit="46-mobile.1" -_gvc_commit="8e7a5a4c3e51007ce6579292642517e3d3eb9c50" +_commit="48.mobile.0" +_gvc_commit="5f9768a2eac29c1ed56f1fbb449a77a3523683b6" source="gnome-shell-mobile-$_commit.tar.gz::https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/archive/$_commit/gnome-shell-mobile-$_commit.tar.gz libgnome-volume-control-$_gvc_commit.tar.gz::https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/$_gvc_commit/gnome-shell-$_gvc_commit.tar.gz gsh.patch + pcver.patch " builddir="$srcdir/gnome-shell-mobile-$_commit" options="!check" # Tests have circular dependency 'gnome-shell <-> gdm' @@ -92,9 +92,6 @@ prepare() { default_prepare rm -rf "$builddir/subprojects/gvc" mv "$srcdir/libgnome-volume-control-$_gvc_commit" $builddir/subprojects/gvc - - sed -i "s/mutter_api_version = '.*'/mutter_api_version = '99'/g" meson.build - sed -i "s/version: '$_commit'/version: '$_pkgver'/g" meson.build } build() { @@ -143,7 +140,8 @@ package() { } sha512sums=" -aeca65c373979eacf73aff169b69f3cefa8f457a04e641481f79a3a6e398a51d3ccfc6c7a94ae4a81486dd08fb7b600b2a949efc9272ab17ae9719fc7fe35740 gnome-shell-mobile-46-mobile.1.tar.gz -ebc6985afbda5ddebcda44d8b6732a9abc2d7249aff3adf7a76a90aa681590f830dcf2e5f3534a624adc32d1f0445e261ee149d65c221f733e0c33e0690a004d libgnome-volume-control-8e7a5a4c3e51007ce6579292642517e3d3eb9c50.tar.gz +01a4beb195f48a7ce00a50453695ccc10c7a00fcda81428bf1bb07aacef70a14ffed8124faa50ac98d601d4d43f291c2cd48835bdb79d5e8e751677d877a6953 gnome-shell-mobile-48.mobile.0.tar.gz +ef6a103ddca784db35648acd11a423a9d65173c597c6463a572834827c9812bb1be5c8113d93a28ea99ca017dd1655b8eaf417a30b6b9085677baf373395aac1 libgnome-volume-control-5f9768a2eac29c1ed56f1fbb449a77a3523683b6.tar.gz 40cafbd0da2f2a40ff9e9db1026179d52a3b296a81fa43a98e433c0919800f0ec5231fcad32d523b8f01b8f7c0205dce1332e48493b0101ad02dae9469ac3de0 gsh.patch +0503440b547b78859c3bb87a66308899bcf33cc0b543e04e9c865904ff7fb86b10b66594c37a1726828ee1a497b0e034150be8cf1a9fbd06c59809619f6a31c8 pcver.patch " diff --git a/extra-repos/systemd/gnome-shell-mobile/pcver.patch b/extra-repos/systemd/gnome-shell-mobile/pcver.patch new file mode 100644 index 000000000..34f42e1f8 --- /dev/null +++ b/extra-repos/systemd/gnome-shell-mobile/pcver.patch @@ -0,0 +1,21 @@ +diff --git a/meson.build b/meson.build +index 5eecf09da..08cb81a19 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project('gnome-shell', 'c', +- version: '48.mobile.0', ++ version: '48.0', + meson_version: '>= 1.1.0', + license: 'GPL-2.0-or-later', + ) +@@ -25,7 +25,7 @@ gio_req = '>= 2.79.2' + gi_req = '>= 1.49.1' + gjs_req = '>= 1.73.1' + gtk_req = '>= 4.0' +-mutter_req = '= 48.mobile.0' ++mutter_req = '= 48.0' + polkit_req = '>= 0.100' + schemas_req = '>= 48.beta' + systemd_req = '>= 246' +