|
|
|
@ -284,11 +284,11 @@ VCS="" |
|
|
|
|
VCSDEPENDS="" |
|
|
|
|
if test -d .svn; then |
|
|
|
|
VCS="svn" |
|
|
|
|
VCSDEPENDS="subversion," |
|
|
|
|
VCSDEPENDS="svn2cl, subversion, subversion-tools," |
|
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
|
elif test -d .git; then |
|
|
|
|
VCS="git" |
|
|
|
|
VCSDEPENDS="git," |
|
|
|
|
VCSDEPENDS="git2cl, git," |
|
|
|
|
echo -e " \e[32msuccess\e[0m detected ${VCS}" |
|
|
|
|
else |
|
|
|
|
echo -e " \e[33mignored\e[0m" |
|
|
|
@ -487,6 +487,8 @@ vcs2cl() { |
|
|
|
|
if test -x $(which ${VCS}2cl); then |
|
|
|
|
if test "${VCS}" = "git"; then |
|
|
|
|
${VCS}2cl > ChangeLog |
|
|
|
|
elif test "${VCS}" = "svn"; then |
|
|
|
|
${VCS}2cl --break-before-msg -a -i |
|
|
|
|
elif test -n "${VCS}"; then |
|
|
|
|
${VCS}2cl |
|
|
|
|
fi |
|
|
|
@ -518,7 +520,7 @@ copy build-in-docker.sh |
|
|
|
|
copy build-resource-file.sh |
|
|
|
|
copy sql-to-dot.sed |
|
|
|
|
copy mac-create-app-bundle.sh |
|
|
|
|
AUTHOR=$(gpg -K | sed -n 's,uid *,,p' | sort | head -1) |
|
|
|
|
AUTHOR=$(gpg -K 2>/dev/null | sed -n 's,uid *\(\[ultimate\] *\)\?,,p' | head -1) |
|
|
|
|
if test -z "${AUTHOR}"; then |
|
|
|
|
AUTHOR="FIRSTNAME LASTNAME (URL) <EMAIL>" |
|
|
|
|
fi |
|
|
|
@ -1096,15 +1098,15 @@ if testtag AX_USE_DEBIAN_PACKAGING; then |
|
|
|
|
to debian/changelog.in <<EOF |
|
|
|
|
@PACKAGE@ (@PACKAGE_VERSION@~@DISTRO@.@BUILD_NUMBER@) @DISTRO@; urgency=low |
|
|
|
|
|
|
|
|
|
* Please see ChangeLog of @PACKAGE@ |
|
|
|
|
@DEB_CHANGELOG@ |
|
|
|
|
|
|
|
|
|
-- @AUTHOR@ @BUILD_DATE@ |
|
|
|
|
-- @PACKAGER@ @BUILD_DATE@ |
|
|
|
|
EOF |
|
|
|
|
BUILD_DEPENDS="debhelper, ${VCSDEPENDS} pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen"; fi; if testtag AX_USE_PERLDOC; then echo -n ", libpod-tree-perl"; fi; if testtag AX_USE_PLANTUML; then echo -n ", default-jre-headless|default-jre"; 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, ${VCSDEPENDS} pkg-config, automake, libtool, autotools-dev, pandoc, lsb-release, fakeroot, $(if testtag AX_USE_DOXYGEN; then echo -n ", doxygen, graphviz, mscgen"; fi; if testtag AX_USE_PERLDOC; then echo -n ", libpod-tree-perl"; fi; if testtag AX_USE_PLANTUML; then echo -n ", default-jre-headless|default-jre"; 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 |
|
|
|
|
Source: @PACKAGE_NAME@ |
|
|
|
|
Priority: extra |
|
|
|
|
Maintainer: @AUTHOR@ |
|
|
|
|
Maintainer: @PACKAGER@ |
|
|
|
|
Build-Depends: ${BUILD_DEPENDS} |
|
|
|
|
|
|
|
|
|
Package: @PACKAGE_NAME@ |
|
|
|
|