Date: Monday, October 26, 2020 @ 08:33:10 Author: bgyorgy Revision: 733909
archrelease: copy trunk to community-x86_64 Added: gnome-boxes/repos/community-x86_64/PKGBUILD (from rev 733908, gnome-boxes/trunk/PKGBUILD) gnome-boxes/repos/community-x86_64/libhandy1.patch (from rev 733908, gnome-boxes/trunk/libhandy1.patch) Deleted: gnome-boxes/repos/community-x86_64/PKGBUILD -----------------+ PKGBUILD | 104 ++++++++++++++++++++++++++++-------------------------- libhandy1.patch | 79 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-26 08:33:07 UTC (rev 733908) +++ PKGBUILD 2020-10-26 08:33:10 UTC (rev 733909) @@ -1,50 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Stefano Facchini <stefano.facch...@gmail.com> - -pkgname=gnome-boxes -pkgver=3.38.1 -pkgrel=1 -pkgdesc="Simple GNOME application to access remote or virtual systems" -arch=(x86_64) -url="https://wiki.gnome.org/Apps/Boxes" -license=(LGPL) -groups=(gnome) -depends=(cdrtools gtk-vnc libarchive libgudev libosinfo libsecret libvirt-glib - mtools qemu spice-gtk tracker webkit2gtk freerdp gtksourceview4) -makedepends=(git gobject-introspection yelp-tools meson spice-protocol vala) -_commit=3761f2b5dab67d2a374badb57e4859dbcef59ed8 # tags/v3.38.1^0 -source=("git+https://gitlab.gnome.org/GNOME/gnome-boxes.git#commit=$_commit" - "git+https://gitlab.gnome.org/GNOME/gtk-frdp.git" - "git+https://gitlab.gnome.org/felipeborges/libovf-glib.git" - "git+https://gitlab.gnome.org/GNOME/libhandy.git") -sha256sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/^v//;s/-/+/g' -} - -prepare() { - cd $pkgname - git submodule init - git submodule set-url subprojects/gtk-frdp "$srcdir/gtk-frdp" - git submodule set-url subprojects/libovf-glib "$srcdir/libovf-glib" - git submodule set-url subprojects/libhandy "$srcdir/libhandy" - git submodule update -} - -build() { - arch-meson $pkgname build - meson compile -C build -} - -check() { - meson test -C build --print-errorlogs -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: gnome-boxes/repos/community-x86_64/PKGBUILD (from rev 733908, gnome-boxes/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-26 08:33:10 UTC (rev 733909) @@ -0,0 +1,54 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Stefano Facchini <stefano.facch...@gmail.com> + +pkgname=gnome-boxes +pkgver=3.38.1 +pkgrel=2 +pkgdesc="Simple GNOME application to access remote or virtual systems" +arch=(x86_64) +url="https://wiki.gnome.org/Apps/Boxes" +license=(LGPL) +groups=(gnome) +depends=(cdrtools edk2-ovmf freerdp gtksourceview4 gtk-vnc libarchive libgudev libhandy libosinfo + libsecret libvirt-glib mtools qemu spice-gtk tracker3 webkit2gtk) +makedepends=(git gobject-introspection yelp-tools meson spice-protocol vala) +_commit=3761f2b5dab67d2a374badb57e4859dbcef59ed8 # tags/v3.38.1^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-boxes.git#commit=$_commit" + "git+https://gitlab.gnome.org/GNOME/gtk-frdp.git" + "git+https://gitlab.gnome.org/felipeborges/libovf-glib.git" + "libhandy1.patch") +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + '208eaee9724da213c20c2235f4e55b64f60051535197d70873bcf2da8d3549f8') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +prepare() { + cd $pkgname + + # Port to libhandy-1 + git revert --no-commit d43264bae43cd8d0e45d62df7e863b85441fa584 + patch -Np1 -i ../libhandy1.patch + + git submodule init + git submodule set-url subprojects/libovf-glib "$srcdir/libovf-glib" + git submodule set-url subprojects/libhandy "$srcdir/libhandy" + git submodule update +} + +build() { + arch-meson $pkgname build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} Copied: gnome-boxes/repos/community-x86_64/libhandy1.patch (from rev 733908, gnome-boxes/trunk/libhandy1.patch) =================================================================== --- libhandy1.patch (rev 0) +++ libhandy1.patch 2020-10-26 08:33:10 UTC (rev 733909) @@ -0,0 +1,79 @@ +From 16f27aef429e025713d67e42713c479deb1523ad Mon Sep 17 00:00:00 2001 +From: Felipe Borges <felipebor...@gnome.org> +Date: Tue, 22 Sep 2020 16:19:01 +0200 +Subject: [PATCH] welcome-tutorial: Port to libhandy-1 + +This regresses on the indicator dots. + +Since we want to be consistent with gnome-tour, I will address this +in issue #590. + +Fixes: #593 +--- + build-aux/flatpak/org.gnome.Boxes.json | 3 +-- + data/ui/welcome-tutorial.ui | 3 +-- + src/main.vala | 2 +- + src/meson.build | 2 +- + src/welcome-tutorial.vala | 2 +- + subprojects/libhandy | 2 +- + subprojects/libhandy.wrap | 2 +- + 7 files changed, 7 insertions(+), 9 deletions(-) + +diff --git a/data/ui/welcome-tutorial.ui b/data/ui/welcome-tutorial.ui +index d47a1e8b..d8ef1e71 100644 +--- a/data/ui/welcome-tutorial.ui ++++ b/data/ui/welcome-tutorial.ui +@@ -23,10 +23,9 @@ + <property name="expand">True</property> + + <child> +- <object class="HdyPaginator" id="paginator"> ++ <object class="HdyCarousel" id="paginator"> + <property name="visible">True</property> + <property name="animation-duration">400</property> +- <property name="indicator-style">dots</property> + <property name="margin-bottom">12</property> + <signal name="notify::position" handler="on_position_changed"/> + +diff --git a/src/main.vala b/src/main.vala +index 5182ad4d..bd784fe9 100644 +--- a/src/main.vala ++++ b/src/main.vala +@@ -79,7 +79,7 @@ public int main (string[] args) { + error (err.message); + } + +- Hdy.init (ref args); ++ Hdy.init (); + + var app = new Boxes.App (); + +diff --git a/src/meson.build b/src/meson.build +index 19e55e20..751ae2d1 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -147,7 +147,7 @@ dependencies = [ + dependency ('tracker-sparql-3.0'), + dependency ('vte-2.91', version: '>= 0.40.2'), + dependency ('webkit2gtk-4.0', version: '>= 2.26.0'), +- dependency ('libhandy-0.0', version: '>= 0.0.11'), ++ dependency ('libhandy-1', version: '>= 1.0.0'), + cc.find_library('m', required : false), + valac.find_library ('gio-2.0-workaround', dirs: vapi_dir), + valac.find_library ('linux'), +diff --git a/src/welcome-tutorial.vala b/src/welcome-tutorial.vala +index 1cf1c7d0..2e9f9a12 100644 +--- a/src/welcome-tutorial.vala ++++ b/src/welcome-tutorial.vala +@@ -5,7 +5,7 @@ + [GtkTemplate (ui = "/org/gnome/Boxes/ui/welcome-tutorial.ui")] + private class Boxes.WelcomeTutorial : Gtk.Dialog { + [GtkChild] +- private Paginator paginator; ++ private Carousel paginator; + [GtkChild] + private Button go_back_button; + [GtkChild] +-- +GitLab +