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

Felix Yan fyan at archlinux.org
Thu Dec 3 05:21:32 UTC 2015


    Date: Thursday, December 3, 2015 @ 06:21:31
  Author: fyan
Revision: 148134

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  deepin-daemon/repos/community-staging-i686/
  deepin-daemon/repos/community-staging-i686/PKGBUILD
    (from rev 148132, deepin-daemon/trunk/PKGBUILD)
  deepin-daemon/repos/community-staging-i686/deepin-daemon.install
    (from rev 148132, deepin-daemon/trunk/deepin-daemon.install)
  deepin-daemon/repos/community-staging-i686/deepin-daemon.sysusers
    (from rev 148132, deepin-daemon/trunk/deepin-daemon.sysusers)
  deepin-daemon/repos/community-staging-x86_64/
  deepin-daemon/repos/community-staging-x86_64/PKGBUILD
    (from rev 148132, deepin-daemon/trunk/PKGBUILD)
  deepin-daemon/repos/community-staging-x86_64/deepin-daemon.install
    (from rev 148132, deepin-daemon/trunk/deepin-daemon.install)
  deepin-daemon/repos/community-staging-x86_64/deepin-daemon.sysusers
    (from rev 148132, deepin-daemon/trunk/deepin-daemon.sysusers)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   75 ++++++++++++++++++++++
 community-staging-i686/deepin-daemon.install    |   13 +++
 community-staging-i686/deepin-daemon.sysusers   |    2 
 community-staging-x86_64/PKGBUILD               |   75 ++++++++++++++++++++++
 community-staging-x86_64/deepin-daemon.install  |   13 +++
 community-staging-x86_64/deepin-daemon.sysusers |    2 
 6 files changed, 180 insertions(+)

Copied: deepin-daemon/repos/community-staging-i686/PKGBUILD (from rev 148132, deepin-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,75 @@
+# $Id$
+# 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=2.93.1.20151202
+_commit=107ce2cdb5ada3e5599d2bbe7b9c7f109801b68d
+#_golibver=0.4.2
+_golibrev=902e89b94c9d657f523bcdabad399dc789dcf86e
+#_deepinapiver=2.92.1
+_deepinapirev=c555d82e94275a6ce808ddc4c4e71460c6822f04
+#_dbusfactoryver=2.92.1
+_deepinfactoryrev=7257936bb7ed172fcec2c22e5253ab50eb84b85b
+_desktopbaserev=df35ee9bbe33cca436c256a145b88e58e011b737
+pkgrel=1
+pkgdesc='Daemon handling the DDE session settings'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/dde-daemon"
+license=('GPL3')
+depends=('deepin-desktop-schemas' 'gvfs' 'libcanberra-pulse' 'metacity' 'poppler-glib'
+         'rfkill' 'acpid' 'bluez' 'deepin-notifications' 'iso-codes' 'lsb-release'
+         'mobile-broadband-provider-info' 'polkit-gnome' 'udisks2' 'upower' 'gcc-go'
+         'libxkbfile' 'accountsservice')
+makedepends=('deepin-dbus-generator' 'sqlite' 'git' 'mercurial')
+optdepends=('networkmanager: Network Management daemon'
+            'deepin-grub2-themes: deepin theme for grub menu')
+conflicts=('dde-daemon')
+replaces=('dde-daemon')
+groups=('deepin')
+install="${pkgname}.install"
+source=(#"git+https://github.com/linuxdeepin/dde-daemon.git#tag=$pkgver"
+        "git+https://github.com/linuxdeepin/dde-daemon.git#commit=$_commit"
+        #"git+https://github.com/linuxdeepin/go-lib.git#tag=$_golibver"
+        "git+https://github.com/linuxdeepin/go-lib.git#commit=$_golibrev"
+        #"git+https://github.com/linuxdeepin/dde-api.git#tag=$_deepinapiver"
+        "git+https://github.com/linuxdeepin/dde-api.git#commit=$_deepinapirev"
+        #"git+https://github.com/linuxdeepin/dbus-factory.git#tag=$_dbusfactoryver"
+        "git+https://github.com/linuxdeepin/dbus-factory.git#commit=$_deepinfactoryrev"
+        "git+https://github.com/linuxdeepin/deepin-desktop-base.git#commit=$_desktopbaserev"
+        'deepin-daemon.sysusers')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '4482f2c82c3652040021dd43515f131184a0417e341dc37db487117012245e25')
+
+prepare() {
+  export GOPATH="$srcdir/build"
+  mkdir -p build/src/pkg.deepin.io/{lib,dde/api}
+  cp -a go-lib/* build/src/pkg.deepin.io/lib
+  cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
+  
+  go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/howeyc/fsnotify \
+         github.com/mattn/go-sqlite3 gopkg.in/alecthomas/kingpin.v2 github.com/disintegration/imaging \
+         code.google.com/p/graphics-go/graphics code.google.com/p/jamslam-freetype-go/freetype \
+         code.google.com/p/jamslam-freetype-go/freetype/truetype
+}
+
+build() {
+  cd "$srcdir/dbus-factory"
+  make install-golang
+
+  cd "$srcdir/dde-daemon"
+  make USE_GCCGO=1
+}
+
+package() {
+  cd dde-daemon
+  make USE_GCCGO=1 DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../deepin-daemon.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-daemon.conf"
+  install -Dm644 "${srcdir}"/deepin-desktop-base/desktop-version "${pkgdir}"/etc/deepin-version
+}

Copied: deepin-daemon/repos/community-staging-i686/deepin-daemon.install (from rev 148132, deepin-daemon/trunk/deepin-daemon.install)
===================================================================
--- community-staging-i686/deepin-daemon.install	                        (rev 0)
+++ community-staging-i686/deepin-daemon.install	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,13 @@
+post_install() {
+  glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+  systemd-sysusers deepin-daemon.conf
+}
+
+post_upgrade() {
+  glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+  (( $(vercmp $2 '2.93.1-1') < 0 )) && systemd-sysusers deepin-daemon.conf || true
+}
+
+post_remove() {
+  rm -f /var/cache/deepin/mark-setup-network-services
+}

Copied: deepin-daemon/repos/community-staging-i686/deepin-daemon.sysusers (from rev 148132, deepin-daemon/trunk/deepin-daemon.sysusers)
===================================================================
--- community-staging-i686/deepin-daemon.sysusers	                        (rev 0)
+++ community-staging-i686/deepin-daemon.sysusers	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,2 @@
+u deepin-daemon - "Deepin Daemon"
+g deepin-daemon -

Copied: deepin-daemon/repos/community-staging-x86_64/PKGBUILD (from rev 148132, deepin-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,75 @@
+# $Id$
+# 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=2.93.1.20151202
+_commit=107ce2cdb5ada3e5599d2bbe7b9c7f109801b68d
+#_golibver=0.4.2
+_golibrev=902e89b94c9d657f523bcdabad399dc789dcf86e
+#_deepinapiver=2.92.1
+_deepinapirev=c555d82e94275a6ce808ddc4c4e71460c6822f04
+#_dbusfactoryver=2.92.1
+_deepinfactoryrev=7257936bb7ed172fcec2c22e5253ab50eb84b85b
+_desktopbaserev=df35ee9bbe33cca436c256a145b88e58e011b737
+pkgrel=1
+pkgdesc='Daemon handling the DDE session settings'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/dde-daemon"
+license=('GPL3')
+depends=('deepin-desktop-schemas' 'gvfs' 'libcanberra-pulse' 'metacity' 'poppler-glib'
+         'rfkill' 'acpid' 'bluez' 'deepin-notifications' 'iso-codes' 'lsb-release'
+         'mobile-broadband-provider-info' 'polkit-gnome' 'udisks2' 'upower' 'gcc-go'
+         'libxkbfile' 'accountsservice')
+makedepends=('deepin-dbus-generator' 'sqlite' 'git' 'mercurial')
+optdepends=('networkmanager: Network Management daemon'
+            'deepin-grub2-themes: deepin theme for grub menu')
+conflicts=('dde-daemon')
+replaces=('dde-daemon')
+groups=('deepin')
+install="${pkgname}.install"
+source=(#"git+https://github.com/linuxdeepin/dde-daemon.git#tag=$pkgver"
+        "git+https://github.com/linuxdeepin/dde-daemon.git#commit=$_commit"
+        #"git+https://github.com/linuxdeepin/go-lib.git#tag=$_golibver"
+        "git+https://github.com/linuxdeepin/go-lib.git#commit=$_golibrev"
+        #"git+https://github.com/linuxdeepin/dde-api.git#tag=$_deepinapiver"
+        "git+https://github.com/linuxdeepin/dde-api.git#commit=$_deepinapirev"
+        #"git+https://github.com/linuxdeepin/dbus-factory.git#tag=$_dbusfactoryver"
+        "git+https://github.com/linuxdeepin/dbus-factory.git#commit=$_deepinfactoryrev"
+        "git+https://github.com/linuxdeepin/deepin-desktop-base.git#commit=$_desktopbaserev"
+        'deepin-daemon.sysusers')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            '4482f2c82c3652040021dd43515f131184a0417e341dc37db487117012245e25')
+
+prepare() {
+  export GOPATH="$srcdir/build"
+  mkdir -p build/src/pkg.deepin.io/{lib,dde/api}
+  cp -a go-lib/* build/src/pkg.deepin.io/lib
+  cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
+  
+  go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/howeyc/fsnotify \
+         github.com/mattn/go-sqlite3 gopkg.in/alecthomas/kingpin.v2 github.com/disintegration/imaging \
+         code.google.com/p/graphics-go/graphics code.google.com/p/jamslam-freetype-go/freetype \
+         code.google.com/p/jamslam-freetype-go/freetype/truetype
+}
+
+build() {
+  cd "$srcdir/dbus-factory"
+  make install-golang
+
+  cd "$srcdir/dde-daemon"
+  make USE_GCCGO=1
+}
+
+package() {
+  cd dde-daemon
+  make USE_GCCGO=1 DESTDIR="${pkgdir}" install
+
+  install -Dm644 ../deepin-daemon.sysusers "$pkgdir/usr/lib/sysusers.d/deepin-daemon.conf"
+  install -Dm644 "${srcdir}"/deepin-desktop-base/desktop-version "${pkgdir}"/etc/deepin-version
+}

Copied: deepin-daemon/repos/community-staging-x86_64/deepin-daemon.install (from rev 148132, deepin-daemon/trunk/deepin-daemon.install)
===================================================================
--- community-staging-x86_64/deepin-daemon.install	                        (rev 0)
+++ community-staging-x86_64/deepin-daemon.install	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,13 @@
+post_install() {
+  glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+  systemd-sysusers deepin-daemon.conf
+}
+
+post_upgrade() {
+  glib-compile-schemas --allow-any-name usr/share/glib-2.0/schemas
+  (( $(vercmp $2 '2.93.1-1') < 0 )) && systemd-sysusers deepin-daemon.conf || true
+}
+
+post_remove() {
+  rm -f /var/cache/deepin/mark-setup-network-services
+}

Copied: deepin-daemon/repos/community-staging-x86_64/deepin-daemon.sysusers (from rev 148132, deepin-daemon/trunk/deepin-daemon.sysusers)
===================================================================
--- community-staging-x86_64/deepin-daemon.sysusers	                        (rev 0)
+++ community-staging-x86_64/deepin-daemon.sysusers	2015-12-03 05:21:31 UTC (rev 148134)
@@ -0,0 +1,2 @@
+u deepin-daemon - "Deepin Daemon"
+g deepin-daemon -



More information about the arch-commits mailing list