[arch-commits] Commit in startdde/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 6 02:38:44 UTC 2021


    Date: Tuesday, July 6, 2021 @ 02:38:44
  Author: felixonmars
Revision: 972593

archrelease: copy trunk to community-testing-x86_64

Added:
  startdde/repos/community-testing-x86_64/
  startdde/repos/community-testing-x86_64/PKGBUILD
    (from rev 972592, startdde/trunk/PKGBUILD)
  startdde/repos/community-testing-x86_64/schema.patch
    (from rev 972592, startdde/trunk/schema.patch)

--------------+
 PKGBUILD     |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 schema.patch |   20 +++++++++++++++++++
 2 files changed, 80 insertions(+)

Copied: startdde/repos/community-testing-x86_64/PKGBUILD (from rev 972592, startdde/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-07-06 02:38:44 UTC (rev 972593)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=startdde
+pkgver=5.8.22
+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=('cc8998d91adf2b9b4fc58a32c4e567a6f361de6d97fe19551f970a0b2b1334a39df272011f19b5fe2c8fa5f0a703151a241fe91c6f3f48ea740870d6a06a1fe0'
+            '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 gopkg.in/yaml.v3
+
+  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 972592, startdde/trunk/schema.patch)
===================================================================
--- community-testing-x86_64/schema.patch	                        (rev 0)
+++ community-testing-x86_64/schema.patch	2021-07-06 02:38:44 UTC (rev 972593)
@@ -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>




More information about the arch-commits mailing list