Date: Tuesday, July 26, 2022 @ 17:26:46 Author: felixonmars Revision: 1258807
archrelease: copy trunk to community-x86_64 Added: startdde/repos/community-x86_64/PKGBUILD (from rev 1258806, startdde/trunk/PKGBUILD) startdde/repos/community-x86_64/schema.patch (from rev 1258806, startdde/trunk/schema.patch) Deleted: startdde/repos/community-x86_64/PKGBUILD startdde/repos/community-x86_64/schema.patch --------------+ PKGBUILD | 121 ++++++++++++++++++++++++++++----------------------------- schema.patch | 40 +++++++++--------- 2 files changed, 81 insertions(+), 80 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-26 17:26:32 UTC (rev 1258806) +++ PKGBUILD 2022-07-26 17:26:46 UTC (rev 1258807) @@ -1,60 +0,0 @@ -# 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.29 -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=('593014d4c24209df49ca3129f1684aa40d3bd34753ad595b95e0399b2e06e378bb99ca50ccd93ecbc6c1336a95b9b08e5acaf5fb659a9a6cf65702588516a65d' - '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-x86_64/PKGBUILD (from rev 1258806, startdde/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-26 17:26:46 UTC (rev 1258807) @@ -0,0 +1,61 @@ +# 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.9.32 +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') +options=('!lto') +source=("https://github.com/linuxdeepin/startdde/archive/$pkgver/$pkgname-$pkgver.tar.gz" + schema.patch) +sha512sums=('f1fb5b61d5aabebf2bbb7023d6556d4788012cb9c5cb95b1843c7121d2342360f200493dfcbe15cbdf9ac409e2af9ccbe7b57ceb21e721ac8a641c44d6bab8fa' + '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 +} Deleted: schema.patch =================================================================== --- schema.patch 2022-07-26 17:26:32 UTC (rev 1258806) +++ schema.patch 2022-07-26 17:26:46 UTC (rev 1258807) @@ -1,20 +0,0 @@ ---- 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> Copied: startdde/repos/community-x86_64/schema.patch (from rev 1258806, startdde/trunk/schema.patch) =================================================================== --- schema.patch (rev 0) +++ schema.patch 2022-07-26 17:26:46 UTC (rev 1258807) @@ -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>