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

Felix Yan felixonmars at archlinux.org
Fri Feb 22 16:58:20 UTC 2019


    Date: Friday, February 22, 2019 @ 16:58:19
  Author: felixonmars
Revision: 435240

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-daemon/repos/community-testing-x86_64/
  deepin-daemon/repos/community-testing-x86_64/PKGBUILD
    (from rev 435239, deepin-daemon/trunk/PKGBUILD)
  deepin-daemon/repos/community-testing-x86_64/deepin-daemon.install
    (from rev 435239, deepin-daemon/trunk/deepin-daemon.install)
  deepin-daemon/repos/community-testing-x86_64/deepin-daemon.sysusers
    (from rev 435239, deepin-daemon/trunk/deepin-daemon.sysusers)

------------------------+
 PKGBUILD               |   68 +++++++++++++++++++++++++++++++++++++++++++++++
 deepin-daemon.install  |    3 ++
 deepin-daemon.sysusers |    2 +
 3 files changed, 73 insertions(+)

Copied: deepin-daemon/repos/community-testing-x86_64/PKGBUILD (from rev 435239, deepin-daemon/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-02-22 16:58:19 UTC (rev 435240)
@@ -0,0 +1,68 @@
+# 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=3.23.0
+pkgrel=1
+pkgdesc='Daemon handling the DDE session settings'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-daemon"
+license=('GPL3')
+depends=('deepin-desktop-schemas' 'gvfs' 'libcanberra-pulse' 'poppler-glib' 'rfkill' 'bluez'
+         'deepin-notifications' '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'
+         'gnome-keyring' 'noto-fonts' 'imwheel')
+makedepends=('deepin-dbus-factory' 'deepin-go-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib'
+             'deepin-api' 'sqlite' 'deepin-gettext-tools' 'git' 'mercurial' 'python-gobject'
+             'networkmanager' 'go-pie')
+optdepends=('networkmanager: for network management support'
+            'deepin-grub2-themes: theme for grub module'
+            'iw: for miracast module'
+            'proxychains-ng: for proxy configuration module')
+conflicts=('dde-daemon')
+replaces=('dde-daemon')
+groups=('deepin')
+install="${pkgname}.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-daemon/archive/$pkgver.tar.gz"
+        https://raw.githubusercontent.com/jouyouyun/tap-gesture-patches/master/patches/dde-daemon_3.8.0.patch
+        'deepin-daemon.sysusers')
+sha512sums=('7ff81d5fe5e1effb17aa7dbb1da0273c2632798bfbe4d6e8f5a41d4e4ff9b2e403ec8feaf539e9b9d59d1f8e34414ec9dc8da0197477b5789cb2b205c0431762'
+            '334839a8136cad44aadb4c97be29ae89f8a1106928175b9bd9115051b34d52cb468902636a67bae8685888bdfe8d8ae195cf8df2b9e93e480f3f008494942e74'
+            '808c02d4fec4cbbb01119bbb10499090199e738b7dd72c28a57dde098eef6132723f3434c151f79e21d9f788c7f7bae8046573ac93ba917afe0e803fbffa6d5a')
+
+prepare() {
+  cd dde-daemon-$pkgver
+  patch -p1 -i ../dde-daemon_3.8.0.patch
+
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+
+  # https://github.com/niemeyer/gopkg/issues/50
+  git config --global http.https://gopkg.in.followRedirects true
+
+  go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/linuxdeepin/go-x11-client \
+         github.com/mattn/go-sqlite3 gopkg.in/alecthomas/kingpin.v2 github.com/disintegration/imaging \
+         github.com/BurntSushi/freetype-go/freetype github.com/BurntSushi/freetype-go/freetype/truetype \
+         github.com/BurntSushi/graphics-go/graphics github.com/fsnotify/fsnotify golang.org/x/sys/unix \
+         gopkg.in/yaml.v2 github.com/axgle/mahonia github.com/msteinert/pam github.com/nfnt/resize \
+         golang.org/x/text/encoding/charmap github.com/cryptix/wav golang.org/x/net/context
+
+  sed -i 's#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#' accounts/user.go
+}
+
+build() {
+  cd dde-daemon-$pkgver
+  make -C network/nm_generator gen-nm-code
+  make
+}
+
+package() {
+  cd dde-daemon-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mv "$pkgdir"{,/usr}/lib/systemd
+  rmdir "$pkgdir"/lib
+
+  install -Dm644 ../deepin-daemon.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-daemon.conf"
+}

Copied: deepin-daemon/repos/community-testing-x86_64/deepin-daemon.install (from rev 435239, deepin-daemon/trunk/deepin-daemon.install)
===================================================================
--- community-testing-x86_64/deepin-daemon.install	                        (rev 0)
+++ community-testing-x86_64/deepin-daemon.install	2019-02-22 16:58:19 UTC (rev 435240)
@@ -0,0 +1,3 @@
+post_remove() {
+  rm -f /var/cache/deepin/mark-setup-network-services
+}

Copied: deepin-daemon/repos/community-testing-x86_64/deepin-daemon.sysusers (from rev 435239, deepin-daemon/trunk/deepin-daemon.sysusers)
===================================================================
--- community-testing-x86_64/deepin-daemon.sysusers	                        (rev 0)
+++ community-testing-x86_64/deepin-daemon.sysusers	2019-02-22 16:58:19 UTC (rev 435240)
@@ -0,0 +1,2 @@
+u deepin-daemon - "Deepin Daemon"
+g deepin-daemon -



More information about the arch-commits mailing list