[arch-commits] Commit in deepin-daemon/repos (5 files)

Jan Steffens heftig at archlinux.org
Mon Nov 9 15:11:33 UTC 2020


    Date: Monday, November 9, 2020 @ 15:11:33
  Author: heftig
Revision: 746962

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-daemon/repos/community-staging-x86_64/
  deepin-daemon/repos/community-staging-x86_64/PKGBUILD
    (from rev 746960, deepin-daemon/trunk/PKGBUILD)
  deepin-daemon/repos/community-staging-x86_64/dde-daemon_5.9.4.2.diff
    (from rev 746960, deepin-daemon/trunk/dde-daemon_5.9.4.2.diff)
  deepin-daemon/repos/community-staging-x86_64/deepin-daemon.install
    (from rev 746960, deepin-daemon/trunk/deepin-daemon.install)
  deepin-daemon/repos/community-staging-x86_64/deepin-daemon.sysusers
    (from rev 746960, deepin-daemon/trunk/deepin-daemon.sysusers)

-------------------------+
 PKGBUILD                |   72 ++++++++++++++++++++++++++++++++++++++++++++++
 dde-daemon_5.9.4.2.diff |   34 +++++++++++++++++++++
 deepin-daemon.install   |    3 +
 deepin-daemon.sysusers  |    2 +
 4 files changed, 111 insertions(+)

Copied: deepin-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 746960, deepin-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-09 15:11:33 UTC (rev 746962)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-daemon
+pkgver=5.11.0.36
+pkgrel=2
+pkgdesc='Daemon handling the DDE session settings'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-daemon"
+license=('GPL3')
+depends=('deepin-desktop-schemas' 'ddcutil' 'deepin-api' 'gvfs' 'iso-codes' 'lsb-release'
+         'mobile-broadband-provider-info' 'deepin-polkit-agent'
+         'deepin-polkit-agent-ext-gnomekeyring' 'udisks2' 'upower'
+         'libxkbfile' 'accountsservice' 'deepin-desktop-base' 'bamf' 'pulseaudio'
+         'org.freedesktop.secrets' 'noto-fonts' 'imwheel')
+makedepends=('golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir' 'golang-deepin-lib'
+             'golang-deepin-dde-api' 'golang-github-nfnt-resize' 'golang-gopkg-yaml.v2' 'sqlite' 'deepin-gettext-tools'
+             'git' 'mercurial' 'python-gobject' 'networkmanager' 'bluez' 'go')
+optdepends=('networkmanager: for network management support'
+            'bluez: for bluetooth support'
+            'iw: for miracast module'
+            'proxychains-ng: for proxy configuration module')
+conflicts=('dde-daemon')
+replaces=('dde-daemon')
+groups=('deepin')
+install="$pkgname.install"
+source=("https://github.com/linuxdeepin/dde-daemon/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        dde-daemon_5.9.4.2.diff
+        'deepin-daemon.sysusers')
+sha512sums=('d36e5629950ac76094da1c79bec1cfc19c2da61ac4adbd7f65ba925ade4162bcf44856e6876512b27b79bb799ad22d732e0078bf647c9e4ae178a88d545a70ac'
+            '5329b86309dcdea88347b0ee8fbee04023328571479edc8e026ba78895deca59ca6195743f398b42a4b8fd9cfae3a0b7308ce8fff9a50adf40011fd1bd8715ae'
+            '808c02d4fec4cbbb01119bbb10499090199e738b7dd72c28a57dde098eef6132723f3434c151f79e21d9f788c7f7bae8046573ac93ba917afe0e803fbffa6d5a')
+
+prepare() {
+  cd dde-daemon-$pkgver
+  patch -p1 -i ../dde-daemon_5.9.4.2.diff
+
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+
+  # golang-deepin-lib's dependency, remove when go packaging resumes
+  go get github.com/cryptix/wav
+
+  go get github.com/axgle/mahonia github.com/msteinert/pam github.com/gosexy/gettext github.com/rickb777/date \
+         github.com/jinzhu/gorm github.com/kelvins/sunrisesunset github.com/mozillazg/go-pinyin github.com/teambition/rrule-go \
+         golang.org/x/xerrors github.com/mattn/go-sqlite3 github.com/fsnotify/fsnotify github.com/godbus/dbus
+
+  sed -i 's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#' accounts/user.go
+}
+
+build() {
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  cd dde-daemon-$pkgver
+  make -C network/nm_generator gen-nm-code
+  make
+}
+
+package() {
+  cd dde-daemon-$pkgver
+  make DESTDIR="$pkgdir" PAM_MODULE_DIR=usr/lib/security install
+
+  mv "$pkgdir"{,/usr}/lib/systemd
+  mv "$pkgdir"{,/usr}/lib/udev
+  rmdir "$pkgdir"/lib
+
+  install -Dm644 ../deepin-daemon.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-daemon.conf"
+}

Copied: deepin-daemon/repos/community-staging-x86_64/dde-daemon_5.9.4.2.diff (from rev 746960, deepin-daemon/trunk/dde-daemon_5.9.4.2.diff)
===================================================================
--- community-staging-x86_64/dde-daemon_5.9.4.2.diff	                        (rev 0)
+++ community-staging-x86_64/dde-daemon_5.9.4.2.diff	2020-11-09 15:11:33 UTC (rev 746962)
@@ -0,0 +1,34 @@
+diff --git a/system/gesture/core.c b/system/gesture/core.c
+index f953cc1c..4a49749e 100644
+--- a/system/gesture/core.c
++++ b/system/gesture/core.c
+@@ -305,7 +305,7 @@ handle_gesture_events(struct libinput_event *ev, int type)
+         }
+         raw_event_reset(raw);
+         break;
+-    case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
++    /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
+         break;
+     case LIBINPUT_EVENT_GESTURE_TAP_END:
+         if (libinput_event_gesture_get_cancelled(gesture)) {
+@@ -314,7 +314,7 @@ handle_gesture_events(struct libinput_event *ev, int type)
+         raw->fingers = libinput_event_gesture_get_finger_count(gesture);
+         g_debug("[Tap] fingers: %d", raw->fingers);
+         handleGestureEvent(GESTURE_TYPE_TAP, GESTURE_DIRECTION_NONE, raw->fingers);
+-        break;
++        break;*/
+     }
+ }
+ 
+@@ -433,9 +433,9 @@ handle_events(struct libinput *li)
+         case LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN:
+         case LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE:
+         case LIBINPUT_EVENT_GESTURE_SWIPE_END:
+-        case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
++        /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
+         case LIBINPUT_EVENT_GESTURE_TAP_UPDATE:
+-        case LIBINPUT_EVENT_GESTURE_TAP_END:{
++        case LIBINPUT_EVENT_GESTURE_TAP_END:*/{
+             handle_gesture_events(ev, type);
+             break;
+         }

Copied: deepin-daemon/repos/community-staging-x86_64/deepin-daemon.install (from rev 746960, deepin-daemon/trunk/deepin-daemon.install)
===================================================================
--- community-staging-x86_64/deepin-daemon.install	                        (rev 0)
+++ community-staging-x86_64/deepin-daemon.install	2020-11-09 15:11:33 UTC (rev 746962)
@@ -0,0 +1,3 @@
+post_remove() {
+  rm -f /var/cache/deepin/mark-setup-network-services
+}

Copied: deepin-daemon/repos/community-staging-x86_64/deepin-daemon.sysusers (from rev 746960, deepin-daemon/trunk/deepin-daemon.sysusers)
===================================================================
--- community-staging-x86_64/deepin-daemon.sysusers	                        (rev 0)
+++ community-staging-x86_64/deepin-daemon.sysusers	2020-11-09 15:11:33 UTC (rev 746962)
@@ -0,0 +1,2 @@
+u deepin-daemon - "Deepin Daemon"
+g deepin-daemon -



More information about the arch-commits mailing list