[arch-commits] Commit in startdde/trunk (PKGBUILD deepin-notifications.patch)

Felix Yan felixonmars at archlinux.org
Wed Oct 25 11:52:27 UTC 2017


    Date: Wednesday, October 25, 2017 @ 11:52:26
  Author: felixonmars
Revision: 264236

upgpkg: startdde 3.1.17-1

Added:
  startdde/trunk/deepin-notifications.patch
Modified:
  startdde/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   13 +++++++++----
 deepin-notifications.patch |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-25 11:31:01 UTC (rev 264235)
+++ PKGBUILD	2017-10-25 11:52:26 UTC (rev 264236)
@@ -4,8 +4,8 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=startdde
-pkgver=3.1.16
-pkgrel=2
+pkgver=3.1.17
+pkgrel=1
 pkgdesc="starter of deepin desktop environment"
 arch=('i686' 'x86_64')
 url="https://github.com/linuxdeepin/startdde"
@@ -14,12 +14,17 @@
 makedepends=('cmake' 'coffeescript' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib'
              'deepin-api' 'go-pie' 'python2' 'git')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz")
-sha512sums=('ef0b095c7b879d783896934c37428651851320d2274a2757bbac72e066d0aacb2f5e11616b81cbe3c9c5fb938067168001890dec71785086355548e0e6a87d61')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz"
+        deepin-notifications.patch)
+sha512sums=('33b72245a93106c388b7f9f97e106fd544792d201ae656857d4f2b7fb1c5c02d6522509e489b9e900b94e2025e03f1fde4e111a657d61fa84b278506651acec9'
+            'cf684b195a9cd9e24722a211c5446f460558caf95b0f7635641c0cbab08094c6f7fb71dff17a3f705152160d82e4585212fdd280abf0005134e67ff7d9c52f9f')
 
 prepare() {
   export GOPATH="$srcdir/build:/usr/share/gocode"
   go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/howeyc/fsnotify
+
+  cd startdde-$pkgver
+  patch -p1 -i ../deepin-notifications.patch
 }
 
 build() {

Added: deepin-notifications.patch
===================================================================
--- deepin-notifications.patch	                        (rev 0)
+++ deepin-notifications.patch	2017-10-25 11:52:26 UTC (rev 264236)
@@ -0,0 +1,36 @@
+commit 128dd32f1d495ebed75b10118424a6688f8de3f0
+Author: Felix Yan <felixonmars at archlinux.org>
+Date:   Sat Oct 21 00:51:03 2017 +0800
+
+    Launch deepin-notifications on session start
+    
+    This fixes installations with multiple notification agent
+    implementations installed.
+    
+    Change-Id: I447dcd775a96f890d93351a345faff40b786655a
+
+diff --git a/session.go b/session.go
+index e3845c6..fb78c53 100644
+--- a/session.go
++++ b/session.go
+@@ -274,7 +274,7 @@ func startSession(xu *xgbutil.XUtil) {
+ 	startStartManager(xu)
+ 
+ 	var wg sync.WaitGroup
+-	wg.Add(2)
++	wg.Add(3)
+ 
+ 	go func() {
+ 		manager.launch("/usr/bin/dde-desktop", true)
+@@ -292,6 +292,11 @@ func startSession(xu *xgbutil.XUtil) {
+ 		wg.Done()
+ 	}()
+ 
++	go func() {
++		manager.launch("/usr/lib/deepin-notifications/deepin-notifications", false)
++		wg.Done()
++	}()
++
+ 	wg.Wait()
+ 
+ 	go func() {



More information about the arch-commits mailing list