[X2Go-Commits] [x2gomatebindings] 02/04: debian/rules: add explicit "printf-style" debugging, hoping it will actually show up.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 11 16:54:06 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gomatebindings.
commit 6da9ac4842bc0b32a065acd9c55e3a23f53e07c6
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jun 11 16:48:38 2016 +0200
debian/rules: add explicit "printf-style" debugging, hoping it will actually show up.
---
debian/changelog | 1 +
debian/rules | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0d6387a..d84b816 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,7 @@ x2gomatebindings (0.0.1.4-0~x2go1) UNRELEASED; urgency=low
version.
- Fix Ubuntu versioning override. It's uglier now, but there's no way
around that.
+ - Add explicit "printf-style" debugging, hoping it will actually show up.
-- X2Go Release Manager <git-admin at x2go.org> Tue, 10 Feb 2015 23:48:43 +0100
diff --git a/debian/rules b/debian/rules
index 33085eb..ea8752c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,29 +2,38 @@
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
RELEASE_VER = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1')
+ @echo 'initial RELEASE_VER in Debian vendor section: $(RELEASE_VER)'
# Let's fake unstable's "release version"...
ifeq ($(RELEASE_VER),unstable)
RELEASE_VER = 9999
+ @echo 'unstable detected, resetted RELEASE_VER to: $(RELEASE_VER)'
endif
SUBSTVARS = -Vdist:Depends="libgtk-2.0-bin"
USE_GTK = 2.0
+ @echo 'initialized USE_GTK with: $(USE_GTK)'
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER) >= 9 )) && echo yes'),yes)
SUBSTVARS = -Vdist:Depends="libgtk-3.0-bin"
USE_GTK = 3.0
+ @echo 'overriding USE_GTK with version 3, check: $(USE_GTK)'
endif
else ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
RELEASE_VER_MAJOR = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1')
RELEASE_VER_MINOR = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[ ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '2')
+ @echo 'initial RELEASE_VER_MAJOR in Ubuntu vendor section: $(RELEASE_VER_MAJOR)'
+ @echo 'initial RELEASE_VER_MINOR in Ubuntu vendor section: $(RELEASE_VER_MINOR)'
SUBSTVARS = -Vdist:Depends="libgtk-2.0-bin"
USE_GTK = 2.0
+ @echo 'initialized USE_GTK with: $(USE_GTK)'
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MAJOR) == 16 )) && echo yes'),yes)
ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MINOR) >= 10 )) && echo yes'),yes)
SUBSTVARS = -Vdist:Depends="libgtk-3.0-bin"
USE_GTK = 3.0
+ @echo 'overriding USE_GTK with version 3 in 16.10 branch, check: $(USE_GTK)'
endif
else ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MAJOR) > 16 )) && echo yes'),yes)
SUBSTVARS = -Vdist:Depends="libgtk-3.0-bin"
USE_GTK = 3.0
+ @echo 'overriding USE_GTK with version 3 in >16 branch, check: $(USE_GTK)'
endif
endif
--
Alioth's /srv/git/code.x2go.org/x2gomatebindings.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gomatebindings.git
More information about the x2go-commits
mailing list