improved build, tested on wily and xenial
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2016-12-26 12:21
|
||||||
|
|
||||||
|
* [r126] ChangeLog, bootstrap.sh, build-in-docker.sh,
|
||||||
|
debian/control.in, scripts/bootstrap.sh,
|
||||||
|
scripts/build-in-docker.sh:
|
||||||
|
fixed rpm and deb build
|
||||||
|
|
||||||
2016-12-23 14:48
|
2016-12-23 14:48
|
||||||
|
|
||||||
* [r125] build-in-docker.sh, scripts/bootstrap.sh,
|
* [r125] build-in-docker.sh, scripts/bootstrap.sh,
|
||||||
|
13
bootstrap.sh
13
bootstrap.sh
@@ -1738,10 +1738,15 @@ Cflags: -I\${includedir} @CPPFLAGS@
|
|||||||
Requires: @PKG_REQUIREMENTS@
|
Requires: @PKG_REQUIREMENTS@
|
||||||
EOF
|
EOF
|
||||||
to build-in-docker.conf <<EOF
|
to build-in-docker.conf <<EOF
|
||||||
repos+=("Debian|Ubuntu-precise::::::universe")
|
${HEADER}# Use Ubuntu Universe Repository
|
||||||
repos+=("Ubuntu-precise:::'deb http://archive.ubuntu.com/ubuntu precise universe'")
|
repos+=("Ubuntu:::universe")
|
||||||
envs+=("-e 'HOME=\${HOME}'")
|
|
||||||
dirs+=("-v \${HOME}/.gnupg:\${HOME}/.gnupg:ro")
|
# Use Marc Wäckselin's Repository, see https://dev.marc.waeckerlin.org
|
||||||
|
repos+=("Debian|Ubuntu:::https://dev.marc.waeckerlin.org/repository")
|
||||||
|
repos+=("openSUSE:::https://dev.marc.waeckerlin.org/repository/opensuse/marc-waeckerlin.repo")
|
||||||
|
repos+=("Fedora:::https://dev.marc.waeckerlin.org/repository/fedora/marc-waeckerlin.repo")
|
||||||
|
repos+=("CentOS:::https://dev.marc.waeckerlin.org/repository/centos/marc-waeckerlin.repo")
|
||||||
|
keys+=("https://dev.marc.waeckerlin.org/repository/PublicKey")
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#### Cleanup If Makefile Exists ####
|
#### Cleanup If Makefile Exists ####
|
||||||
|
@@ -1 +1,19 @@
|
|||||||
|
## @id $Id$
|
||||||
|
##
|
||||||
|
## This file has been added:
|
||||||
|
## - by bootstrap.sh
|
||||||
|
## - on Fri, 06 January 2017 16:36:33 +0100
|
||||||
|
## Feel free to change it or even remove and rebuild it, up to your needs
|
||||||
|
##
|
||||||
|
## 1 2 3 4 5 6 7 8
|
||||||
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
||||||
|
|
||||||
|
# Use Ubuntu Universe Repository
|
||||||
repos+=("Ubuntu:::universe")
|
repos+=("Ubuntu:::universe")
|
||||||
|
|
||||||
|
# Use Marc Wäckselin's Repository, see https://dev.marc.waeckerlin.org
|
||||||
|
repos+=("Debian|Ubuntu:::https://dev.marc.waeckerlin.org/repository")
|
||||||
|
repos+=("openSUSE:::https://dev.marc.waeckerlin.org/repository/opensuse/marc-waeckerlin.repo")
|
||||||
|
repos+=("Fedora:::https://dev.marc.waeckerlin.org/repository/fedora/marc-waeckerlin.repo")
|
||||||
|
repos+=("CentOS:::https://dev.marc.waeckerlin.org/repository/centos/marc-waeckerlin.repo")
|
||||||
|
keys+=("https://dev.marc.waeckerlin.org/repository/PublicKey")
|
||||||
|
@@ -10,8 +10,8 @@ mode="deb"
|
|||||||
img="ubuntu:latest"
|
img="ubuntu:latest"
|
||||||
repos=()
|
repos=()
|
||||||
keys=()
|
keys=()
|
||||||
envs=("-e LANG=${LANG}" "-e HOME=${HOME}" "-e TERM=xterm" "-e DEBIAN_FRONTEND=noninteractive" "-e DEBCONF_NONINTERACTIVE_SEEN=true")
|
envs=("-e LANG=${LANG}" "-e HOME=/home/$(id -un)" "-e TERM=xterm" "-e DEBIAN_FRONTEND=noninteractive" "-e DEBCONF_NONINTERACTIVE_SEEN=true")
|
||||||
dirs=("-v $(pwd):/workdir" "-v ${HOME}/.gnupg:${HOME}/.gnupg")
|
dirs=("-v $(pwd):/workdir" "-v ${HOME}/.gnupg:/home/$(id -un)/.gnupg")
|
||||||
packages=()
|
packages=()
|
||||||
targets="all check distcheck"
|
targets="all check distcheck"
|
||||||
commands=()
|
commands=()
|
||||||
|
6
debian/control.in
vendored
6
debian/control.in
vendored
@@ -1,10 +1,10 @@
|
|||||||
Source: @PACKAGE_NAME@
|
Source: @PACKAGE_NAME@
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: @AUTHOR@
|
Maintainer: @PACKAGER@
|
||||||
Build-Depends: debhelper, subversion, pkg-config, automake, libtool, autotools-dev, lsb-release , doxygen, graphviz, mscgen, default-jre-headless|default-jre
|
Build-Depends: debhelper, fakeroot, svn2cl, subversion, subversion-tools, pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release, fakeroot, , doxygen, graphviz, mscgen, default-jre-headless|default-jre
|
||||||
|
|
||||||
Package: @PACKAGE_NAME@
|
Package: @PACKAGE_NAME@
|
||||||
Section: development
|
Section:
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
Description: @DESCRIPTION@
|
Description: @DESCRIPTION@
|
||||||
|
@@ -1465,7 +1465,7 @@ if testtag AX_USE_DEBIAN_PACKAGING; then
|
|||||||
|
|
||||||
-- @PACKAGER@ @BUILD_DATE@
|
-- @PACKAGER@ @BUILD_DATE@
|
||||||
EOF
|
EOF
|
||||||
BUILD_DEPENDS="debhelper, fakeroot, ${VCSDEPENDS_DEB} pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release, fakeroot, $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen, default-jre-headless|default-jre"; fi; if testtag AX_USE_PERLDOC; then echo -n ", libpod-tree-perl"; fi; if testtag AX_USE_CPPUNIT; then echo -n ", libcppunit-dev"; fi; if testtag AX_CXX_QT || testtag AX_CHECK_QT AX_REQUIRE_QT; then echo -n ", qt5-default | libqt4-core | libqtcore4, qt5-qmake | qt4-qmake, qtbase5-dev | libqt4-dev, qtbase5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools"; fi)"
|
BUILD_DEPENDS="debhelper, fakeroot, ${VCSDEPENDS_DEB} pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen, default-jre-headless|default-jre"; fi; if testtag AX_USE_PERLDOC; then echo -n ", libpod-tree-perl"; fi; if testtag AX_USE_CPPUNIT; then echo -n ", libcppunit-dev"; fi; if testtag AX_CXX_QT || testtag AX_CHECK_QT AX_REQUIRE_QT; then echo -n ", qt5-default | libqt4-core | libqtcore4, qt5-qmake | qt4-qmake, qtbase5-dev | libqt4-dev, qtbase5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools, qttools5-dev-tools | qt4-dev-tools"; fi)"
|
||||||
to debian/control.in <<EOF
|
to debian/control.in <<EOF
|
||||||
Source: @PACKAGE_NAME@
|
Source: @PACKAGE_NAME@
|
||||||
Priority: extra
|
Priority: extra
|
||||||
@@ -1738,10 +1738,15 @@ Cflags: -I\${includedir} @CPPFLAGS@
|
|||||||
Requires: @PKG_REQUIREMENTS@
|
Requires: @PKG_REQUIREMENTS@
|
||||||
EOF
|
EOF
|
||||||
to build-in-docker.conf <<EOF
|
to build-in-docker.conf <<EOF
|
||||||
repos+=("Debian|Ubuntu-precise::::::universe")
|
${HEADER}# Use Ubuntu Universe Repository
|
||||||
repos+=("Ubuntu-precise:::'deb http://archive.ubuntu.com/ubuntu precise universe'")
|
repos+=("Ubuntu:::universe")
|
||||||
envs+=("-e 'HOME=\${HOME}'")
|
|
||||||
dirs+=("-v \${HOME}/.gnupg:\${HOME}/.gnupg:ro")
|
# Use Marc Wäckselin's Repository, see https://dev.marc.waeckerlin.org
|
||||||
|
repos+=("Debian|Ubuntu:::https://dev.marc.waeckerlin.org/repository")
|
||||||
|
repos+=("openSUSE:::https://dev.marc.waeckerlin.org/repository/opensuse/marc-waeckerlin.repo")
|
||||||
|
repos+=("Fedora:::https://dev.marc.waeckerlin.org/repository/fedora/marc-waeckerlin.repo")
|
||||||
|
repos+=("CentOS:::https://dev.marc.waeckerlin.org/repository/centos/marc-waeckerlin.repo")
|
||||||
|
keys+=("https://dev.marc.waeckerlin.org/repository/PublicKey")
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#### Cleanup If Makefile Exists ####
|
#### Cleanup If Makefile Exists ####
|
||||||
|
Reference in New Issue
Block a user