[X2Go-Commits] [x2gokdrive] 01/03: debian/rules: Explicitly complain about inability to patch X.Org's source tree to prepare the X2Go KDrive build.

git-admin at x2go.org git-admin at x2go.org
Mon Jul 15 16:22:17 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit c164a641cf4ad7407de1f34872e7530aceed4b89
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Jul 15 16:13:16 2019 +0200

    debian/rules: Explicitly complain about inability to patch X.Org's source tree to prepare the X2Go KDrive build.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index be5460f..7585472 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,8 @@ override_dh_auto_configure:
 	# patch xorg-server build tree, so that it will build x2gokdrive
 	set -x; export XORG_UPSTREAM_VERSION=`cat $(CURDIR)/BUILD/xorg-server/configure.ac | grep AC_INIT | sed -r 's/^AC_INIT[^,]*, ([^,]+),.*/\\1/'` \
 	        && cd $(CURDIR)/BUILD/xorg-server \
-	        && QUILT_PATCHES=../../patches.xorg/$$XORG_UPSTREAM_VERSION/ quilt push -a
+	        && test -d ../../patches.xorg/$$XORG_UPSTREAM_VERSION && QUILT_PATCHES=../../patches.xorg/$$XORG_UPSTREAM_VERSION/ quilt push -a \
+		|| ( set +x; echo "\n##################################################\nERROR: This X2Go KDrive version does not support\nbuilding against X.Org version $$XORG_UPSTREAM_VERSION.\n##################################################\n"; exit 1); \
 	        $()
 
 	# run autoreconf

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list