Add files for building the project with autotools
* COPYING, INSTALL, README.GIT, autogen.sh, build-aux/compile, build-aux/config.guess, build-aux/config.sub, build-aux/depcomp, build-aux/install-sh, build-aux/libtool-patch.sed, build-aux/ltmain.sh, build-aux/missing, build-aux/mkinstalldirs, m4/ax_check_compile_flag.m4, m4/ax_cxx_compile_stdcxx.m4, m4/ax_gcc_func_attribute.m4, m4/gpg-error.m4, m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4, m4/lt~obsolete.m4, m4/pkg.m4, m4/qt5.m4, m4/qt6.m4: New (copied from gpgme). * .gitignore, AUTHORS, ChangeLog, NEWS, autogen.rc, configure.ac: New. * Makefile.am (EXTRA_DIST): Add autogen.sh, autogen.rc, build-aux/libtool-patch.sed, VERSION. (RELEASE_ARCHIVE_SUFFIX, ACLOCAL_AMFLAGS, dist-hook, distcheck-hook, .PHONY, gen_start_date, gen-ChangeLog, RELEASE_NAME, release, sign-release): New (copied with minor adjustments from gpgme's top-level Makefile.am). * build-aux/git-hooks/commit-msg: New. * build-aux/git-log-footer: New (copied with some adjustments from gpgme). * doc/DCO, doc/HACKING: New (copied with some adjustments from gpgme). * doc/Doxyfile.in (INPUT): Update path. * doc/Makefile.am (EXTRA_DIST): New. * m4/gpgme.m4: New (copied from gpgme/src/gpgme.m4). * m4/gpgmepp.m4: New. * src/Makefile.am (libqgpgme_la_CPPFLAGS, libqgpgmeqt6_la_CPPFLAGS): Replace include paths of gpgmepp and gpgme relative to top_builddir with @GPGMEPP_CFLAGS@ and @GPGME_CFLAGS@. Remove unneeded @LIBASSUAN_CFLAGS@. (libqgpgme_la_LIBADD, libqgpgmeqt6_la_LIBADD): Replace relative paths of libgpgmepp.la and libgpgme.la with @GPGMEPP_LIBS@ and @GPGME_LIBS@. Remove unneeded @LIBASSUAN_LIBS@. * tests/Makefile.am (EXTRA_DIST): Add new files. (ldadd_qt5, ldadd_qt6): Replace relative paths of libgpgmepp.la and libgpgme.la with @GPGMEPP_LIBS@ and @GPGME_LIBS@. (cppflags_qt5, cppflags_qt6): Adjust include paths of source files. Replace relative include paths of gpgmepp and gpgme with @GPGMEPP_CFLAGS@ and @GPGME_CFLAGS@. Remove duplicate @GPG_ERROR_CFLAGS@. Remove unneeded @LIBASSUAN_CFLAGS@. Remove unneeded define of TOP_SRCDIR. (pubring-stamp): Adjust paths of pubdemo.asc and secdemo.asc. * tests/pubdemo.asc, tests/secdemo.asc, tests/start-stop-agent: New (copied from gpgme).
This commit enables building qgpgme with autotools. See README.GIT.
AUTHORS is based on gpgme's AUTHORS file. License information was
adjusted. Some copyright information was updated (i.e. the years).
Copyright information and author information that doesn't apply to
qgpgme's sources was removed.
configure.ac is based heavily on gpgme's configure.ac.
m4/gpgmepp.m4 is based heavily on m4/gpgme.m4.
Copied files were taken from gpgme rev. 7a42ec5d
- GnuPG-bug-id: T7262