Date: Monday, April 26, 2021 @ 22:55:09 Author: felixonmars Revision: 924625
archrelease: copy trunk to community-testing-x86_64 Added: startdde/repos/community-testing-x86_64/ startdde/repos/community-testing-x86_64/PKGBUILD (from rev 924624, startdde/trunk/PKGBUILD) startdde/repos/community-testing-x86_64/schema.patch (from rev 924624, startdde/trunk/schema.patch) --------------+ PKGBUILD | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ schema.patch | 20 +++++++++++++++++++ 2 files changed, 80 insertions(+) Copied: startdde/repos/community-testing-x86_64/PKGBUILD (from rev 924624, startdde/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-04-26 22:55:09 UTC (rev 924625) @@ -0,0 +1,60 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=startdde +pkgver=5.8.7 +pkgrel=1 +pkgdesc="starter of deepin desktop environment" +arch=('x86_64') +url="https://github.com/linuxdeepin/startdde" +license=('GPL3') +depends=('deepin-daemon' 'deepin-dock' 'deepin-polkit-agent' 'deepin-file-manager' + 'deepin-session-shell' 'deepin-session-ui' 'libgnome-keyring') +makedepends=('cmake' 'coffeescript' 'golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir' + 'golang-deepin-lib' 'golang-deepin-dde-api' 'go' 'git' 'jq' + 'golang-golang-x-net' 'golang-github-linuxdeepin-go-x11-client') +optdepends=('deepin-wm: Legacy 3D window manager' + 'deepin-metacity: Legacy 2D window manager' + 'deepin-kwin: Preferred window manager') +replaces=('deepin-wm-switcher') +groups=('deepin') +source=("https://github.com/linuxdeepin/startdde/archive/$pkgver/$pkgname-$pkgver.tar.gz" + schema.patch) +sha512sums=('4470116be8d4d96d09c7aee93916c567d605a438f49fbad4cdb6560e9680ded84bc1f9f0eaa9eace4cd80e965b939d3678478508f57411235d85b4f059b673c1' + '8f0a34a273de5ad784684a8bea349363d768a64ce574621b07537af3055baa60c6d645f75e20575ed8978a03e31992b9dc6f66939b29c8d4331964ac9a1f72eb') + +export GO111MODULE=off + +prepare() { + patch -d startdde-$pkgver -p2 < schema.patch + + export GOPATH="$srcdir/build:/usr/share/gocode" + go get github.com/cryptix/wav golang.org/x/xerrors github.com/godbus/dbus github.com/fsnotify/fsnotify + + sed -i 's/sbin/bin/' startdde-$pkgver/Makefile +} + +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 startdde-$pkgver + make +} + +package() { + cd startdde-$pkgver + make DESTDIR="$pkgdir" install + + # Fix env file permission + chmod +x "$pkgdir"/etc/X11/Xsession.d/* + + # Don't rely on deepin-session's location + install -dm755 "$pkgdir"/etc/X11/xinit/xinitrc.d + mv "$pkgdir"/etc/X11/Xsession.d/* "$pkgdir"/etc/X11/xinit/xinitrc.d/ + rmdir "$pkgdir"/etc/X11/Xsession.d +} Copied: startdde/repos/community-testing-x86_64/schema.patch (from rev 924624, startdde/trunk/schema.patch) =================================================================== --- community-testing-x86_64/schema.patch (rev 0) +++ community-testing-x86_64/schema.patch 2021-04-26 22:55:09 UTC (rev 924625) @@ -0,0 +1,20 @@ +--- src/startdde-5.8.7/misc/schemas/com.deepin.dde.startdde.gschema.xml.orig 2021-04-27 06:50:57.106648182 +0800 ++++ src/startdde-5.8.7/misc/schemas/com.deepin.dde.startdde.gschema.xml 2021-04-27 06:51:08.183279539 +0800 +@@ -7,7 +7,7 @@ + <description>The delay seconds for autostart</description> + </key> + <key type="s" name="wm-cmd"> +- <default>''</default> ++ <default>'deepin-wm'</default> + <summary>The window manager start command</summary> + <description>This key will special window manager at startdde startup. If empty, using deepin-wm.</description> + </key> +@@ -18,7 +18,7 @@ + </key> + + <key type="b" name="swap-sched-enabled"> +- <default>true</default> ++ <default>false</default> + <summary>swap sched enabled</summary> + <description></description> + </key>