[arch-commits] Commit in (7 files)
Felix Yan
fyan at archlinux.org
Mon Nov 23 08:53:56 UTC 2015
Date: Monday, November 23, 2015 @ 09:53:55
Author: fyan
Revision: 147440
addpkg: deepin-daemon 2.93.1-1
Added:
deepin-daemon/
deepin-daemon/repos/
deepin-daemon/trunk/
deepin-daemon/trunk/PKGBUILD
deepin-daemon/trunk/deepin-daemon.install
deepin-daemon/trunk/deepin-daemon.sysusers
deepin-daemon/trunk/fix-i686-compile.patch
------------------------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++++++++++++++++
deepin-daemon.install | 13 ++++++++
deepin-daemon.sysusers | 2 +
fix-i686-compile.patch | 12 +++++++
4 files changed, 98 insertions(+)
Added: deepin-daemon/trunk/PKGBUILD
===================================================================
--- deepin-daemon/trunk/PKGBUILD (rev 0)
+++ deepin-daemon/trunk/PKGBUILD 2015-11-23 08:53:55 UTC (rev 147440)
@@ -0,0 +1,71 @@
+# $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
+#_golibver=0.4.2
+_golibrev=238151791673412dedf333363b3a37343c461acb
+_deepinapiver=2.92.1
+_dbusfactoryver=2.92.1
+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') # 'xcur2png')
+makedepends=('deepin-dbus-generator' 'sqlite' 'git' 'mercurial')
+optdepends=('networkmanager: Network Management daemon'
+ 'deepin-grub2-themes: deepin theme for grub menu')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/dde-daemon.git#tag=$pkgver"
+ #"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/dbus-factory.git#tag=$_dbusfactoryver"
+ "git+https://github.com/linuxdeepin/dde-api.git#tag=$_deepinapiver"
+ 'fix-i686-compile.patch' 'deepin-daemon.sysusers')
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ '1dccf88c5ce480560a4a2d73134e69f05135703fe34ccd5d9e2e5d7fe852efc5'
+ '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
+
+ cd dde-daemon
+ # TODO: a temporary solution by disable go-sqlite3 to avoid build
+ # issue for go1.4/i686
+ # https://github.com/golang/go/issues/9510
+ if [[ $CARCH == "i686" ]]; then
+ patch -p1 -i ../fix-i686-compile.patch
+ fi
+}
+
+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"
+}
Property changes on: deepin-daemon/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: deepin-daemon/trunk/deepin-daemon.install
===================================================================
--- deepin-daemon/trunk/deepin-daemon.install (rev 0)
+++ deepin-daemon/trunk/deepin-daemon.install 2015-11-23 08:53:55 UTC (rev 147440)
@@ -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
+}
Added: deepin-daemon/trunk/deepin-daemon.sysusers
===================================================================
--- deepin-daemon/trunk/deepin-daemon.sysusers (rev 0)
+++ deepin-daemon/trunk/deepin-daemon.sysusers 2015-11-23 08:53:55 UTC (rev 147440)
@@ -0,0 +1,2 @@
+u deepin-daemon - "Deepin Daemon"
+g deepin-daemon -
Added: deepin-daemon/trunk/fix-i686-compile.patch
===================================================================
--- deepin-daemon/trunk/fix-i686-compile.patch (rev 0)
+++ deepin-daemon/trunk/fix-i686-compile.patch 2015-11-23 08:53:55 UTC (rev 147440)
@@ -0,0 +1,12 @@
+diff --git a/launcher/item/item.go b/launcher/item/item.go
+index a8ccbbe..3701968 100644
+--- a/launcher/item/item.go
++++ b/launcher/item/item.go
+@@ -4,7 +4,6 @@ import (
+ "path"
+ "strings"
+
+- _ "github.com/mattn/go-sqlite3"
+
+ "pkg.deepin.io/dde/daemon/launcher/category"
+ . "pkg.deepin.io/dde/daemon/launcher/interfaces"
More information about the arch-commits
mailing list