From 7f4e1ddbde20686f09259d27a1614852c89937e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 9 Nov 2015 08:27:05 +0000 Subject: [PATCH] fixed dependency resolve --- ChangeLog | 29 ++++++++++++++++++ ax_init_standard_project.m4 | 3 ++ bootstrap.sh | 60 +++++++++++++++++++++++++++++-------- resolve-debbuilddeps.sh | 29 ++++++++---------- 4 files changed, 93 insertions(+), 28 deletions(-) diff --git a/ChangeLog b/ChangeLog index f4ae18d..0c49dbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,32 @@ +2015-11-07 10:47 marc + + * bootstrap.sh: there is no qt4-default + +2015-11-07 09:23 marc + + * bootstrap.sh: there is no qt4-default + +2015-11-05 09:57 marc + + * ax_init_standard_project.m4, bootstrap.sh, build-in-docker.sh, + debian/control.in, resolve-debbuilddeps.sh: updated build system + +2015-11-03 13:36 marc + + * ax_init_standard_project.m4, configure.ac, debian/control.in, + resolve-debbuilddeps.sh: should now work fr any ubuntu + distributon + +2015-11-03 10:41 marc + + * debian/control.in, resolve-debbuilddeps.sh: prepared for build in + a docker instance on jenkins + +2015-11-03 09:29 marc + + * ChangeLog, ax_check_qt.m4, bootstrap.sh, resolve-debbuilddeps.sh: + faster resolve-bebuilddeps.sh + 2015-11-02 22:43 marc * resolve-debbuilddeps.sh: sudo or not sudo shall be the problem of diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index eef210e..344abdd 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -13,6 +13,7 @@ m4_define(x_least, m4_ifdef([x_least_diff], mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi done @@ -22,6 +23,7 @@ m4_define(x_least, m4_ifdef([x_least_diff], mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi done @@ -36,6 +38,7 @@ m4_define(x_minor_diff, mrw_esyscmd_s([ for path in . .. ../..; do if svn info $path 2>&1 > /dev/null; then SVN_REVISION=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') + if test -z "${SVN_REVISION}"; then SVN_REVISION=0; fi break; fi; done diff --git a/bootstrap.sh b/bootstrap.sh index 83dfe88..c312f9a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -120,7 +120,7 @@ GENERATED FILES * src/version.hxx - if you enabled AX_USE_CXX * src/version.cxx - if you enabled AX_USE_CXX * html/makefile.am - if you enabled AX_BUILD_HTML - * scripts/makefile.in - if you enabled AX_USE_SCRIPTS + * scripts/makefile.am - if you enabled AX_USE_SCRIPTS * doc/makefile.am - if you enabled AX_USE_DOXYGEN * doc/doxyfile.in - if you enabled AX_USE_DOXYGEN * test/makefile.am - if you enabled AX_BUILD_TEST or AX_USE_CPPUNIT @@ -196,7 +196,7 @@ FILES debian/control fi -if test -n "${SCHROOTNAME}"; then - schroot -c "${SCHROOTNAME}" -u root -d / -- apt-get -y install dpkg-dev - DEPS=$(schroot -c "${SCHROOTNAME}" -- dpkg-checkbuilddeps 2>&1 || true) -else - apt-get -y install dpkg-dev - DEPS=$(dpkg-checkbuilddeps 2>&1 || true) -fi +install dpkg-dev +DEPS=$(${DO} dpkg-checkbuilddeps 2>&1 || true) DEPS=$(echo "$DEPS" | sed -n '/Unmet build dependencies/ { s,.*Unmet build dependencies: ,,g; s, ([^)]*),,g; s, *| *,|,g; p}') for pa in ${DEPS}; do