diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 18:48:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 18:48:51 +0000 |
commit | 4a7de6def0502e9912cae6104039812ae2b6806c (patch) | |
tree | 7296ecdb0915e35ae5ef50338a1710229d03d3aa /unmaintained | |
parent | d305e80dc23ff545f6fe29e397cb6f988ec0b7ad (diff) | |
download | aports-4a7de6def0502e9912cae6104039812ae2b6806c.tar.bz2 aports-4a7de6def0502e9912cae6104039812ae2b6806c.tar.xz |
testing/gnome-control-center: move to unmaintained
it fails to build
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/gnome-control-center/APKBUILD | 68 | ||||
-rw-r--r-- | unmaintained/gnome-control-center/migrate-set-color.patch | 11 | ||||
-rw-r--r-- | unmaintained/gnome-control-center/wayland.patch | 29 |
3 files changed, 108 insertions, 0 deletions
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 <nenolod@dereferenced.org> +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 <string.h> + #include <gudev/gudev.h> + ++#ifdef GDK_WINDOWING_WAYLAND + #include <gdk/gdkwayland.h> ++#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; + } |