deepin-daemon/disable-gobuild-in-makefile.patch
Hillwood Yang 6452f6aecf Accepting request 884411 from X11:Deepin:Factory
- Add deepin-daemon-dbus-installer and deepin-daemon-polkit-installer 

- Update version to 5.13.6
  * Fix bugs
  * Update translations
- Add xvfb-run.patch, run `dde-pixmix` under xvfb-run

- File polkit and dbus service profiles, workaround rpmlintrc errors 

- Update version to 5.12.52
  * Fix bugs
  * feat: Initial packit setup
  * Update translations
  * feat(accounts): trim quotation of LOCALE`

OBS-URL: https://build.opensuse.org/request/show/884411
OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=8
2021-04-11 07:36:50 +00:00

42 lines
1.5 KiB
Diff

diff -Nur dde-daemon-5.12.52/Makefile dde-daemon-5.12.52-new/Makefile
--- dde-daemon-5.12.52/Makefile 2021-01-06 14:30:57.000000000 +0800
+++ dde-daemon-5.12.52-new/Makefile 2021-02-21 18:58:53.303974197 +0800
@@ -4,8 +4,8 @@
GOBUILD = go build $(GO_BUILD_FLAGS)
BINARIES = \
- dde-session-daemon \
- dde-system-daemon \
+# dde-session-daemon \
+# dde-system-daemon \
grub2 \
search \
theme-thumb-tool \
@@ -14,7 +14,7 @@
soundeffect \
dde-lockservice \
dde-authority \
- default-terminal \
+# default-terminal \
dde-greeter-setter
LANGUAGES = $(basename $(notdir $(wildcard misc/po/*.po)))
@@ -29,7 +29,7 @@
fi
out/bin/%: prepare
- env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o $@ ${GOPKG_PREFIX}/bin/${@F}
+# env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o $@ ${GOPKG_PREFIX}/bin/${@F}
out/bin/default-file-manager: bin/default-file-manager/main.c
gcc $^ $(shell pkg-config --cflags --libs gio-unix-2.0) -o $@
@@ -57,7 +57,7 @@
deepin-policy-ts-convert ts2policy misc/polkit-action/com.deepin.daemon.$$i.policy.in misc/ts/com.deepin.daemon.$$i.policy misc/polkit-action/com.deepin.daemon.$$i.policy; \
done
-build: prepare out/bin/default-terminal out/bin/default-file-manager out/bin/desktop-toggle $(addprefix out/bin/, ${BINARIES}) ts_to_policy
+build: prepare out/bin/default-file-manager out/bin/desktop-toggle $(addprefix out/bin/, ${BINARIES}) ts_to_policy
test: prepare
env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" go test -v ./...