From 4a7de6def0502e9912cae6104039812ae2b6806c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Oct 2018 18:48:51 +0000 Subject: testing/gnome-control-center: move to unmaintained it fails to build --- testing/gnome-control-center/APKBUILD | 68 ---------------------- .../gnome-control-center/migrate-set-color.patch | 11 ---- testing/gnome-control-center/wayland.patch | 29 --------- unmaintained/gnome-control-center/APKBUILD | 68 ++++++++++++++++++++++ .../gnome-control-center/migrate-set-color.patch | 11 ++++ unmaintained/gnome-control-center/wayland.patch | 29 +++++++++ 6 files changed, 108 insertions(+), 108 deletions(-) delete mode 100644 testing/gnome-control-center/APKBUILD delete mode 100644 testing/gnome-control-center/migrate-set-color.patch delete mode 100644 testing/gnome-control-center/wayland.patch create mode 100644 unmaintained/gnome-control-center/APKBUILD create mode 100644 unmaintained/gnome-control-center/migrate-set-color.patch create mode 100644 unmaintained/gnome-control-center/wayland.patch diff --git a/testing/gnome-control-center/APKBUILD b/testing/gnome-control-center/APKBUILD deleted file mode 100644 index 62fe46abd5..0000000000 --- a/testing/gnome-control-center/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Maintainer: William Pitcock -pkgname=gnome-control-center -pkgver=3.26.0 -pkgrel=3 -pkgdesc="GNOME control center" -url="https://www.gnome.org/" -# limited by gnome-online-accounts -arch="all !armhf !armv7 !s390x" -license="GPL" -makedepends="clutter-dev clutter-gtk-dev - - gnome-desktop-dev - gnome-settings-daemon-dev - gnome-online-accounts-dev - grilo-dev - libgtop-dev - gnome-bluetooth-dev - - colord-gtk-dev - samba-dev - accountsservice-dev - libpwquality-dev - - networkmanager-dev network-manager-applet-dev - modemmanager-dev - - krb5-dev - - itstool - libxml2-utils - libxslt - - docbook-xml docbook-xsl - - $depends_dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz - migrate-set-color.patch - wayland.patch" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --enable-static=no \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --disable-ibus - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="c0656b072b1918e13447eaca13a1ea1b997c37faa30952d3ab48109077a570768d5fd57479817558ce6f34105903b763553900e3db61cef53f5c756cd86b395a gnome-control-center-3.26.0.tar.xz -b5dde4906d857d8d4bf1427fb236dc787c90638e485b6f5e5b4fd458eed0b908dc4b020401d1bd8ae7fd182be825222c561f3ca771d9e84aedf38766fd7a7b10 migrate-set-color.patch -3f17e2f00798e4d2a99a1d77c66ee5be29501417ea4b4c65387f24d8c27700c36e2f5fb2b476c3c0c88b18b497f48e7e2c09a4baadb6b532b7ecc112f504db48 wayland.patch" diff --git a/testing/gnome-control-center/migrate-set-color.patch b/testing/gnome-control-center/migrate-set-color.patch deleted file mode 100644 index 7788b0e9c9..0000000000 --- a/testing/gnome-control-center/migrate-set-color.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/panels/background/cc-background-item.c -+++ b/panels/background/cc-background-item.c -@@ -172,7 +172,7 @@ - gdk_color_parse (item->priv->secondary_color, &scolor); - } - -- gnome_bg_set_color (item->priv->bg, item->priv->shading, &pcolor, &scolor); -+ gnome_bg_set_rgba (item->priv->bg, item->priv->shading, &pcolor, &scolor); - gnome_bg_set_placement (item->priv->bg, item->priv->placement); - } - diff --git a/testing/gnome-control-center/wayland.patch b/testing/gnome-control-center/wayland.patch deleted file mode 100644 index 19db51190b..0000000000 --- a/testing/gnome-control-center/wayland.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- gnome-control-center-3.24.2.orig/panels/common/gsd-device-manager-udev.c -+++ gnome-control-center-3.24.2/panels/common/gsd-device-manager-udev.c -@@ -24,7 +24,10 @@ - #include - #include - -+#ifdef GDK_WINDOWING_WAYLAND - #include -+#endif -+ - #include "gsd-device-manager-udev.h" - - struct _GsdUdevDeviceManager -@@ -227,6 +230,7 @@ - gsd_udev_device_manager_lookup_device (GsdDeviceManager *manager, - GdkDevice *gdk_device) - { -+#ifdef GDK_WINDOWING_WAYLAND - const gchar *node_path; - GHashTableIter iter; - GsdDevice *device; -@@ -243,6 +247,7 @@ - return device; - } - } -+#endif - - return NULL; - } diff --git a/unmaintained/gnome-control-center/APKBUILD b/unmaintained/gnome-control-center/APKBUILD new file mode 100644 index 0000000000..62fe46abd5 --- /dev/null +++ b/unmaintained/gnome-control-center/APKBUILD @@ -0,0 +1,68 @@ +# Maintainer: William Pitcock +pkgname=gnome-control-center +pkgver=3.26.0 +pkgrel=3 +pkgdesc="GNOME control center" +url="https://www.gnome.org/" +# limited by gnome-online-accounts +arch="all !armhf !armv7 !s390x" +license="GPL" +makedepends="clutter-dev clutter-gtk-dev + + gnome-desktop-dev + gnome-settings-daemon-dev + gnome-online-accounts-dev + grilo-dev + libgtop-dev + gnome-bluetooth-dev + + colord-gtk-dev + samba-dev + accountsservice-dev + libpwquality-dev + + networkmanager-dev network-manager-applet-dev + modemmanager-dev + + krb5-dev + + itstool + libxml2-utils + libxslt + + docbook-xml docbook-xsl + + $depends_dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + migrate-set-color.patch + wayland.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --enable-static=no \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-ibus + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="c0656b072b1918e13447eaca13a1ea1b997c37faa30952d3ab48109077a570768d5fd57479817558ce6f34105903b763553900e3db61cef53f5c756cd86b395a gnome-control-center-3.26.0.tar.xz +b5dde4906d857d8d4bf1427fb236dc787c90638e485b6f5e5b4fd458eed0b908dc4b020401d1bd8ae7fd182be825222c561f3ca771d9e84aedf38766fd7a7b10 migrate-set-color.patch +3f17e2f00798e4d2a99a1d77c66ee5be29501417ea4b4c65387f24d8c27700c36e2f5fb2b476c3c0c88b18b497f48e7e2c09a4baadb6b532b7ecc112f504db48 wayland.patch" diff --git a/unmaintained/gnome-control-center/migrate-set-color.patch b/unmaintained/gnome-control-center/migrate-set-color.patch new file mode 100644 index 0000000000..7788b0e9c9 --- /dev/null +++ b/unmaintained/gnome-control-center/migrate-set-color.patch @@ -0,0 +1,11 @@ +--- a/panels/background/cc-background-item.c ++++ b/panels/background/cc-background-item.c +@@ -172,7 +172,7 @@ + gdk_color_parse (item->priv->secondary_color, &scolor); + } + +- gnome_bg_set_color (item->priv->bg, item->priv->shading, &pcolor, &scolor); ++ gnome_bg_set_rgba (item->priv->bg, item->priv->shading, &pcolor, &scolor); + gnome_bg_set_placement (item->priv->bg, item->priv->placement); + } + diff --git a/unmaintained/gnome-control-center/wayland.patch b/unmaintained/gnome-control-center/wayland.patch new file mode 100644 index 0000000000..19db51190b --- /dev/null +++ b/unmaintained/gnome-control-center/wayland.patch @@ -0,0 +1,29 @@ +--- gnome-control-center-3.24.2.orig/panels/common/gsd-device-manager-udev.c ++++ gnome-control-center-3.24.2/panels/common/gsd-device-manager-udev.c +@@ -24,7 +24,10 @@ + #include + #include + ++#ifdef GDK_WINDOWING_WAYLAND + #include ++#endif ++ + #include "gsd-device-manager-udev.h" + + struct _GsdUdevDeviceManager +@@ -227,6 +230,7 @@ + gsd_udev_device_manager_lookup_device (GsdDeviceManager *manager, + GdkDevice *gdk_device) + { ++#ifdef GDK_WINDOWING_WAYLAND + const gchar *node_path; + GHashTableIter iter; + GsdDevice *device; +@@ -243,6 +247,7 @@ + return device; + } + } ++#endif + + return NULL; + } -- cgit v1.2.3