|
|
@ -147,6 +147,7 @@ GENERATED FILES |
|
|
|
* src/makefile.am - if you enabled AX_USE_CXX |
|
|
|
* src/makefile.am - if you enabled AX_USE_CXX |
|
|
|
* src/version.hxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.hxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.cxx - if you enabled AX_USE_CXX |
|
|
|
* src/version.cxx - if you enabled AX_USE_CXX |
|
|
|
|
|
|
|
* etc/makefile.am - if you enable AX_USE_ETC |
|
|
|
* html/makefile.am - if you enabled AX_BUILD_HTML |
|
|
|
* html/makefile.am - if you enabled AX_BUILD_HTML |
|
|
|
* scripts/makefile.am - if you enabled AX_USE_SCRIPTS |
|
|
|
* scripts/makefile.am - if you enabled AX_USE_SCRIPTS |
|
|
|
* nodejs/makefile.am - if you add AX_USE_NODEJS |
|
|
|
* nodejs/makefile.am - if you add AX_USE_NODEJS |
|
|
@ -256,6 +257,7 @@ FILES |
|
|
|
number. In git, git rev-list --all --count is used. |
|
|
|
number. In git, git rev-list --all --count is used. |
|
|
|
The following macros are supported in configure.ac: |
|
|
|
The following macros are supported in configure.ac: |
|
|
|
* Enable C++: AX_USE_CXX |
|
|
|
* Enable C++: AX_USE_CXX |
|
|
|
|
|
|
|
* Enable system config files in /etc: AX_USE_ETC |
|
|
|
* Enable LibTool library creation: AX_USE_LIBTOOL |
|
|
|
* Enable LibTool library creation: AX_USE_LIBTOOL |
|
|
|
* Enable Scripts: AX_USE_SCRIPTS |
|
|
|
* Enable Scripts: AX_USE_SCRIPTS |
|
|
|
* Enable NodeJS project: AX_USE_NODEJS |
|
|
|
* Enable NodeJS project: AX_USE_NODEJS |
|
|
@ -569,6 +571,7 @@ AX_INIT_STANDARD_PROJECT |
|
|
|
|
|
|
|
|
|
|
|
# requirements, uncomment, what you need: |
|
|
|
# requirements, uncomment, what you need: |
|
|
|
#AX_USE_CXX |
|
|
|
#AX_USE_CXX |
|
|
|
|
|
|
|
#AX_USE_ETC |
|
|
|
#AX_USE_LIBTOOL |
|
|
|
#AX_USE_LIBTOOL |
|
|
|
#AX_USE_SCRIPTS |
|
|
|
#AX_USE_SCRIPTS |
|
|
|
#AX_USE_NODEJS |
|
|
|
#AX_USE_NODEJS |
|
|
@ -690,9 +693,13 @@ ${CHEADER}#include <${PACKAGE_NAME}.hxx> |
|
|
|
#include <QApplication> |
|
|
|
#include <QApplication> |
|
|
|
#include <QCommandLineParser> |
|
|
|
#include <QCommandLineParser> |
|
|
|
#include <iostream> |
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
#include <version.hxx> |
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) try { |
|
|
|
int main(int argc, char *argv[]) try { |
|
|
|
QApplication a(argc, argv); |
|
|
|
QApplication a(argc, argv); |
|
|
|
|
|
|
|
a.setApplicationDisplayName(a.tr("${PACKAGE_NAME}")); |
|
|
|
|
|
|
|
a.setApplicationName(${PACKAGE_NAME}::package_name().c_str()); |
|
|
|
|
|
|
|
a.setApplicationVersion(${PACKAGE_NAME}::version().c_str()); |
|
|
|
QCommandLineParser parser; |
|
|
|
QCommandLineParser parser; |
|
|
|
parser.addHelpOption(); |
|
|
|
parser.addHelpOption(); |
|
|
|
parser.process(a); |
|
|
|
parser.process(a); |
|
|
@ -725,6 +732,7 @@ class ${PackageName}: public QMainWindow, protected Ui::${PackageName} { |
|
|
|
Q_OBJECT; |
|
|
|
Q_OBJECT; |
|
|
|
public: |
|
|
|
public: |
|
|
|
explicit ${PackageName}(QWidget *parent = 0): QMainWindow(parent) { |
|
|
|
explicit ${PackageName}(QWidget *parent = 0): QMainWindow(parent) { |
|
|
|
|
|
|
|
setTitle(tr("${PACKAGE_NAME}[*]")); |
|
|
|
setupUi(this); |
|
|
|
setupUi(this); |
|
|
|
} |
|
|
|
} |
|
|
|
virtual ~${PackageName}() {} |
|
|
|
virtual ~${PackageName}() {} |
|
|
@ -854,6 +862,11 @@ namespace NAMESPACE { |
|
|
|
const std::string IDENT("\$Id: " PACKAGE_STRING); |
|
|
|
const std::string IDENT("\$Id: " PACKAGE_STRING); |
|
|
|
} |
|
|
|
} |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
to --condition AX_USE_ETC etc/makefile.am <<EOF |
|
|
|
|
|
|
|
${HEADER}pkgsysconfdir = \${sysconfdir}/@PACKAGE_NAME@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dist_pkgsysconf_DATA = |
|
|
|
|
|
|
|
EOF |
|
|
|
to --condition AX_USE_SCRIPTS scripts/makefile.am <<EOF |
|
|
|
to --condition AX_USE_SCRIPTS scripts/makefile.am <<EOF |
|
|
|
${HEADER}dist_bin_SCRIPTS = |
|
|
|
${HEADER}dist_bin_SCRIPTS = |
|
|
|
|
|
|
|
|
|
|
@ -1465,17 +1478,18 @@ if testtag AX_USE_DEBIAN_PACKAGING; then |
|
|
|
|
|
|
|
|
|
|
|
-- @PACKAGER@ @BUILD_DATE@ |
|
|
|
-- @PACKAGER@ @BUILD_DATE@ |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
RUN_DEPENDS="$(if testtag AX_USE_NODEJS; then echo -n ", nodejs, npm"; 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)" |
|
|
|
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 |
|
|
|
Maintainer: @PACKAGER@ |
|
|
|
Maintainer: @PACKAGER@ |
|
|
|
Build-Depends: ${BUILD_DEPENDS} |
|
|
|
Build-Depends: ${BUILD_DEPENDS}${RUN_DEPENDS} @DEB_BUILD_DEPEND@ @DEB_DEPEND_IFEXISTS@ |
|
|
|
|
|
|
|
|
|
|
|
Package: @PACKAGE_NAME@ |
|
|
|
Package: @PACKAGE_NAME@ |
|
|
|
Section: $(if testtag AX_USE_LIBTOOL; then echo "libs"; fi) |
|
|
|
Section: $(if testtag AX_USE_LIBTOOL; then echo "libs"; else echo "@DEB_SECTION@"; fi) |
|
|
|
Architecture: any |
|
|
|
Architecture: any |
|
|
|
Depends: \${shlibs:Depends}, \${misc:Depends} |
|
|
|
Depends: \${shlibs:Depends}, \${misc:Depends}${RUN_DEPENDS} @DEB_DEPEND@ |
|
|
|
Description: @DESCRIPTION@ |
|
|
|
Description: @DESCRIPTION@ |
|
|
|
@README_DEB@ |
|
|
|
@README_DEB@ |
|
|
|
$( if testtag AX_USE_LIBTOOL; then |
|
|
|
$( if testtag AX_USE_LIBTOOL; then |
|
|
@ -1484,7 +1498,7 @@ $( if testtag AX_USE_LIBTOOL; then |
|
|
|
Package: @PACKAGE_NAME@-dev |
|
|
|
Package: @PACKAGE_NAME@-dev |
|
|
|
Section: libdevel |
|
|
|
Section: libdevel |
|
|
|
Architecture: any |
|
|
|
Architecture: any |
|
|
|
Depends: @PACKAGE_NAME@ (= \${binary:Version}), ${BUILD_DEPENDS} |
|
|
|
Depends: @PACKAGE_NAME@ (= \${binary:Version}), ${BUILD_DEPENDS}${RUN_DEPENDS} @DEB_DEPEND@ @DEB_BUILD_DEPEND@ @DEB_DEPEND_IFEXISTS@ |
|
|
|
Description: @DESCRIPTION@ - Development Package |
|
|
|
Description: @DESCRIPTION@ - Development Package |
|
|
|
@README_DEB@ |
|
|
|
@README_DEB@ |
|
|
|
EOF2 |
|
|
|
EOF2 |
|
|
@ -1496,6 +1510,7 @@ README |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
to --condition AX_USE_LIBTOOL debian/${PACKAGE_NAME}.install <<EOF |
|
|
|
to --condition AX_USE_LIBTOOL debian/${PACKAGE_NAME}.install <<EOF |
|
|
|
usr/lib/lib*.so.* |
|
|
|
usr/lib/lib*.so.* |
|
|
|
|
|
|
|
usr/share/${PACKAGE_NAME} |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
to --condition AX_USE_LIBTOOL debian/${PACKAGE_NAME}-dev.install <<EOF |
|
|
|
to --condition AX_USE_LIBTOOL debian/${PACKAGE_NAME}-dev.install <<EOF |
|
|
|
usr/include/* |
|
|
|
usr/include/* |
|
|
@ -1503,7 +1518,6 @@ usr/lib/lib*.a |
|
|
|
usr/lib/lib*.so |
|
|
|
usr/lib/lib*.so |
|
|
|
usr/lib/pkgconfig/* |
|
|
|
usr/lib/pkgconfig/* |
|
|
|
usr/lib/*.la |
|
|
|
usr/lib/*.la |
|
|
|
usr/share/${PACKAGE_NAME} |
|
|
|
|
|
|
|
usr/share/doc/${PACKAGE_NAME}/html |
|
|
|
usr/share/doc/${PACKAGE_NAME}/html |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
to --mode "u=rwx,g=rwx,o=rx" debian/rules <<EOF |
|
|
|
to --mode "u=rwx,g=rwx,o=rx" debian/rules <<EOF |
|
|
@ -1674,6 +1688,9 @@ SUBDIRS="" |
|
|
|
if testtag AX_USE_CXX; then |
|
|
|
if testtag AX_USE_CXX; then |
|
|
|
SUBDIRS="${SUBDIRS} src" |
|
|
|
SUBDIRS="${SUBDIRS} src" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
if testtag AX_USE_ETC; then |
|
|
|
|
|
|
|
SUBDIRS="${SUBDIRS} etc" |
|
|
|
|
|
|
|
fi |
|
|
|
if testtag AX_BUILD_TEST AX_USE_CPPUNIT; then |
|
|
|
if testtag AX_BUILD_TEST AX_USE_CPPUNIT; then |
|
|
|
SUBDIRS="${SUBDIRS} test" |
|
|
|
SUBDIRS="${SUBDIRS} test" |
|
|
|
fi |
|
|
|
fi |
|
|
|