aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2021-03-25 13:31:30 +0100
committerRasmus Thomsen <oss@cogitri.dev>2021-03-25 15:08:15 +0100
commit4f7e913e2ac7857cc8593a241e69c5251052dbf5 (patch)
treedfe45fc26264d311ae748ef6440fb17f322e08df
parent078eef882dc612b95558494be88623946757c991 (diff)
downloadaports-4f7e913e2ac7857cc8593a241e69c5251052dbf5.tar.gz
aports-4f7e913e2ac7857cc8593a241e69c5251052dbf5.tar.bz2
aports-4f7e913e2ac7857cc8593a241e69c5251052dbf5.tar.xz
community/gnome-boxes: upgrade to 40.0
-rw-r--r--community/gnome-boxes/APKBUILD10
-rw-r--r--community/gnome-boxes/fix-build.patch13
2 files changed, 19 insertions, 4 deletions
diff --git a/community/gnome-boxes/APKBUILD b/community/gnome-boxes/APKBUILD
index d4241d5172..745289fb64 100644
--- a/community/gnome-boxes/APKBUILD
+++ b/community/gnome-boxes/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-boxes
-pkgver=3.38.2
+pkgver=40.0
pkgrel=0
pkgdesc="Virtualization made simple"
url="https://wiki.gnome.org/Apps/Boxes"
@@ -12,9 +12,10 @@ depends="libvirt-daemon"
makedepends="meson vala libarchive-dev glib-dev gtk+3.0-dev gtk-vnc-dev
libosinfo-dev libsecret-dev libsoup-dev libusb-dev libvirt-glib-dev
libxml2-dev spice-gtk-dev tracker-dev vte3-dev webkit2gtk-dev
- libgudev-dev freerdp-dev itstool gtksourceview4-dev libhandy-dev"
+ libgudev-dev freerdp-dev itstool gtksourceview4-dev libhandy1-dev"
subpackages="$pkgname-lang"
-source="https://download.gnome.org/sources/gnome-boxes/${pkgver%.*}/gnome-boxes-$pkgver.tar.xz"
+source="https://download.gnome.org/sources/gnome-boxes/${pkgver%.*}/gnome-boxes-$pkgver.tar.xz
+ fix-build.patch"
build() {
abuild-meson . output
@@ -29,4 +30,5 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
-sha512sums="5bfca88c34436815e52787c3f42697bbb758eb8c8ab1593e25d4e0b4db14793a4b6221642991b6d82b6206db8f693135d7ed581b1c1fd66229db7e43f63befed gnome-boxes-3.38.2.tar.xz"
+sha512sums="2ac569e5a423b67dc6b770eb754de6ce996e381032ce8610baf4de999dd45480eeba086211db783f440d465f3f50b06666c33e959270d8c87306e591b9aebeaf gnome-boxes-40.0.tar.xz
+6a8aecfa792ea6a4f0088eeccf60eec0c74beb4095246274b2cb746100188b6a38aa1164a8e283d10f2175c2a01af6a6458317a9557050135771645b7383e13d fix-build.patch"
diff --git a/community/gnome-boxes/fix-build.patch b/community/gnome-boxes/fix-build.patch
new file mode 100644
index 0000000000..a158d560c1
--- /dev/null
+++ b/community/gnome-boxes/fix-build.patch
@@ -0,0 +1,13 @@
+diff --git a/src/config-editor.vala b/src/config-editor.vala
+index f40c740..965dfee 100644
+--- a/src/config-editor.vala
++++ b/src/config-editor.vala
+@@ -33,7 +33,7 @@ private class Boxes.MachineConfigEditor: Gtk.ScrolledWindow {
+ var snapshot = yield machine.create_snapshot (_("Configuration modified "));
+ try {
+ var config = snapshot.get_config (0);
+- snapshot_timestamp = config.get_creation_time ();
++ snapshot_timestamp = (long) config.get_creation_time ();
+ } catch (GLib.Error error) {
+ warning ("Failed to obtain snapshot configuration: %s", error.message);
+ }