[Pkg-cmake-commits] [cmake] 01/01: Add a stage1 build profile that disables building cmake-qt-gui.

Felix Geyer fgeyer at moszumanska.debian.org
Wed Aug 26 15:49:23 UTC 2015


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

fgeyer pushed a commit to branch experimental
in repository cmake.

commit a8bc51cb82c1ea7b5ba8ba72b39d764d22f5b828
Author: Felix Geyer <fgeyer at debian.org>
Date:   Wed Aug 26 17:47:47 2015 +0200

    Add a stage1 build profile that disables building cmake-qt-gui.
    
    Bug: #738161
---
 debian/changelog | 2 ++
 debian/control   | 3 ++-
 debian/rules     | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4199e80..830511b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 cmake (3.3.1-2) UNRELEASED; urgency=medium
 
   * Set the team mailing list as maintainer.
+  * Add a stage1 build profile that disables building cmake-qt-gui.
+    (Bug: #738161)
 
  -- Felix Geyer <fgeyer at debian.org>  Sat, 22 Aug 2015 19:09:55 +0200
 
diff --git a/debian/control b/debian/control
index 7cfed3b..30713be 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Build-Depends: debhelper (>= 9.20131104),
                libncurses5-dev,
                procps [!hurd-any],
                python-sphinx,
-               qtbase5-dev,
+               qtbase5-dev <!stage1>,
                zlib1g-dev
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-cmake/cmake.git
@@ -76,6 +76,7 @@ Description: curses based user interface for CMake (ccmake)
 
 Package: cmake-qt-gui
 Architecture: any
+Build-Profiles: <!stage1>
 Pre-Depends: dpkg (>= 1.17.5~)
 Depends: cmake (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
 Provides: cmake-gui
diff --git a/debian/rules b/debian/rules
index b5ba0e1..371fced 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,9 @@ $(BUILD_FLAGS_FILE) verify-build-flags:
 	$(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags")
 	$(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest")
 	$(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI")
-	$(call $(flag_action),BUILD_QtDialog,ON,"Build Qt4 GUI")
+ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+	$(call $(flag_action),BUILD_QtDialog,ON,"Build Qt GUI")
+endif
 #	$(call $(flag_action),BUILD_DOCUMENTATION,ON)
 
 $(BUILD_FLAGS_FILE): flag_action := set_build_flag

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cmake/cmake.git



More information about the Pkg-cmake-commits mailing list