[arch-commits] Commit in sugar/repos (3 files)

Balló György bgyorgy at archlinux.org
Thu Mar 28 22:56:57 UTC 2019


    Date: Thursday, March 28, 2019 @ 22:56:56
  Author: bgyorgy
Revision: 445651

archrelease: copy trunk to community-testing-any

Added:
  sugar/repos/community-testing-any/
  sugar/repos/community-testing-any/PKGBUILD
    (from rev 445650, sugar/trunk/PKGBUILD)
  sugar/repos/community-testing-any/dont-overwrite-settings.patch
    (from rev 445650, sugar/trunk/dont-overwrite-settings.patch)

-------------------------------+
 PKGBUILD                      |   41 ++++++++++++++++++++++++++++++++++++++++
 dont-overwrite-settings.patch |   22 +++++++++++++++++++++
 2 files changed, 63 insertions(+)

Copied: sugar/repos/community-testing-any/PKGBUILD (from rev 445650, sugar/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-03-28 22:56:56 UTC (rev 445651)
@@ -0,0 +1,41 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar
+pkgver=0.113
+pkgrel=1
+pkgdesc="Sugar GTK shell"
+arch=('any')
+url="https://sugarlabs.org/"
+license=('GPL')
+depends=('gnome-keyring' 'gst-plugins-espeak' 'gtksourceview3' 'gvfs' 'libwnck3'
+         'libxklavier' 'metacity' 'mobile-broadband-provider-info' 'openssh' 'python2-gwebsockets'
+         'sugar-toolkit-gtk3' 'telepathy-gabble' 'telepathy-salut' 'upower' 'webkit2gtk'
+         'xdg-user-dirs')
+makedepends=('intltool')
+source=(https://download.sugarlabs.org/sources/sucrose/glucose/$pkgname/$pkgname-$pkgver.tar.xz
+        dont-overwrite-settings.patch)
+sha256sums=('dd0f8d632db5f1123cca34106ebdd3a984145c33c0e3f530853e0819947bd2a0'
+            '3ce2db5d003b3172302492a2c8ae1ba34aeafdfc6038c6751eb41c56909a062c')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Use correct D-Bus config location
+  sed -i '/^nmservicedir =/ s/sysconfdir/datadir/' data/Makefile.{am,in}
+
+  # Don't overwrite default GNOME settings
+  patch -Np1 -i ../dont-overwrite-settings.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  rm -r "$pkgdir"/usr/share/sugar/extensions/cpsection/updater/
+}

Copied: sugar/repos/community-testing-any/dont-overwrite-settings.patch (from rev 445650, sugar/trunk/dont-overwrite-settings.patch)
===================================================================
--- community-testing-any/dont-overwrite-settings.patch	                        (rev 0)
+++ community-testing-any/dont-overwrite-settings.patch	2019-03-28 22:56:56 UTC (rev 445651)
@@ -0,0 +1,22 @@
+diff -Naur sugar-0.112.orig/src/jarabe/main.py sugar-0.112/src/jarabe/main.py
+--- sugar-0.112.orig/src/jarabe/main.py	2017-05-16 01:47:18.000000000 +0200
++++ sugar-0.112/src/jarabe/main.py	2017-10-15 20:08:57.040726987 +0200
+@@ -195,7 +195,7 @@
+     global _metacity_process, _metacity_sid
+ 
+     _metacity_process = subprocess.Popen(
+-        ['metacity', '--no-force-fullscreen', '--no-composite'],
++        ['metacity', '--no-force-fullscreen'],
+         stdout=subprocess.PIPE)
+     _metacity_sid = GObject.io_add_watch(_metacity_process.stdout, GLib.IO_HUP,
+                                          __window_manager_failed_cb)
+@@ -203,9 +203,6 @@
+ 
+ 
+ def _start_window_manager():
+-    settings = Gio.Settings.new('org.gnome.desktop.interface')
+-    settings.set_string('cursor-theme', 'sugar')
+-
+     _restart_window_manager()
+ 
+     screen = Wnck.Screen.get_default()


More information about the arch-commits mailing list