File deepin-start-disable-gobuild-in-makefile.patch of Package deepin-start

diff -Nur startdde-5.9.49/Makefile startdde-5.9.49-new/Makefile
--- startdde-5.9.49/Makefile	2022-08-17 12:21:36.000000000 +0800
+++ startdde-5.9.49-new/Makefile	2022-08-25 10:31:35.740294370 +0800
@@ -23,10 +23,10 @@
 	jq . misc/config/auto_launch.json >/dev/null
 
 startdde:
-	env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o startdde ${GOBUILD_OPTIONS}
+#	env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o startdde ${GOBUILD_OPTIONS}
 
 fix-xauthority-perm:
-	env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o fix-xauthority-perm ${GOBUILD_OPTIONS} ${GOPKG_PREFIX}/cmd/fix-xauthority-perm
+#	env GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}" ${GOBUILD} -o fix-xauthority-perm ${GOBUILD_OPTIONS} ${GOPKG_PREFIX}/cmd/fix-xauthority-perm
 
 out/locale/%/LC_MESSAGES/startdde.mo: misc/po/%.po
 	mkdir -p $(@D)
@@ -49,19 +49,19 @@
 	GOPATH="${CURDIR}/${GOPATH_DIR}:${GOPATH}"
 
 install:
-	install -Dm755 startdde ${DESTDIR}${PREFIX}/bin/startdde
+#	install -Dm755 startdde ${DESTDIR}${PREFIX}/bin/startdde
 	mkdir -p ${DESTDIR}${PREFIX}/share/xsessions
 	@for i in $(shell ls misc/xsessions/ | grep -E '*.in$$' );do sed 's|@PREFIX@|$(PREFIX)|g' misc/xsessions/$$i > ${DESTDIR}${PREFIX}/share/xsessions/$${i%.in}; done
-	install -Dm755 fix-xauthority-perm ${DESTDIR}${PREFIX}/sbin/deepin-fix-xauthority-perm
+#	install -Dm755 fix-xauthority-perm ${DESTDIR}${PREFIX}/sbin/deepin-fix-xauthority-perm
 	install -d -m755 ${DESTDIR}${PREFIX}/lib/deepin-daemon/
-	ln -sfv ../../bin/startdde ${DESTDIR}${PREFIX}/lib/deepin-daemon/greeter-display-daemon
+#	ln -sfv ../../bin/startdde ${DESTDIR}${PREFIX}/lib/deepin-daemon/greeter-display-daemon
 	install -Dm644 misc/lightdm.conf ${DESTDIR}${PREFIX}/share/lightdm/lightdm.conf.d/60-deepin.conf
 	mkdir -p ${DESTDIR}${PREFIX}/share/startdde/
 	install -v -m0644 misc/config/* ${DESTDIR}${PREFIX}/share/startdde/
 	install -v -m0644 misc/app_startup.conf ${DESTDIR}${PREFIX}/share/startdde/
 	install -v -m0644 misc/filter.conf ${DESTDIR}${PREFIX}/share/startdde/
-	mkdir -p ${DESTDIR}/etc/X11/Xsession.d/
-	install -v -m0644 misc/Xsession.d/* ${DESTDIR}/etc/X11/Xsession.d/
+	mkdir -p ${DESTDIR}/etc/X11/xinit/xinitrc.d/
+	install -v -m0644 misc/Xsession.d/* ${DESTDIR}/etc/X11/xinit/xinitrc.d/
 	mkdir -p ${DESTDIR}/etc/profile.d/
 	install -v -m0644 misc/profile.d/* ${DESTDIR}/etc/profile.d/
 	mkdir -p $(DESTDIR)$(PREFIX)/share/glib-2.0/schemas
openSUSE Build Service is sponsored by