From: Marcus Brinkmann Date: Mon, 3 Nov 2008 17:24:09 +0000 (+0000) Subject: 008-11-03 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8995fc9335f8dfd2cc80b9c4620f996bdedc226;p=gpgme.git 008-11-03 Marcus Brinkmann * configure.ac: Replace gpgme paths with src. * gpgme: Move to ... * src: ... this new directory. assuan/ 2008-11-03 Marcus Brinkmann * Makefile.am (INCLUDES): Replace gpgme path with src. tests/ 2008-11-03 Marcus Brinkmann * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. * Makefile.am (LDADD): Likewise. --- diff --git a/trunk/ChangeLog b/trunk/ChangeLog index 24493ba..cd48b92 100644 --- a/trunk/ChangeLog +++ b/trunk/ChangeLog @@ -1,3 +1,9 @@ +2008-11-03 Marcus Brinkmann + + * configure.ac: Replace gpgme paths with src. + * gpgme: Move to ... + * src: ... this new directory. + 2008-10-20 Werner Koch * configure.ac (AC_CONFIG_FILES): Add gpgme.h. diff --git a/trunk/Makefile.am b/trunk/Makefile.am index c614f44..432bfca 100644 --- a/trunk/Makefile.am +++ b/trunk/Makefile.am @@ -1,6 +1,6 @@ # Makefile.am - Top level Makefile for GPGME. # Copyright (C) 2000 Werner Koch (dd9jn) -# Copyright (C) 2001, 2002, 2004, 2005 g10 Code GmbH +# Copyright (C) 2001, 2002, 2004, 2005, 2008 g10 Code GmbH # # This file is part of GPGME. # @@ -43,7 +43,7 @@ else tests = endif -SUBDIRS = ${assuan} gpgme ${tests} doc ${complus} lang +SUBDIRS = ${assuan} src ${tests} doc ${complus} lang # Fix the version of the spec file and create a file named VERSION # to be used for patch's Prereq: feature. diff --git a/trunk/assuan/ChangeLog b/trunk/assuan/ChangeLog index cf15674..cc39213 100644 --- a/trunk/assuan/ChangeLog +++ b/trunk/assuan/ChangeLog @@ -1,3 +1,7 @@ +2008-11-03 Marcus Brinkmann + + * Makefile.am (INCLUDES): Replace gpgme path with src. + 2008-10-30 Marcus Brinkmann * assuan-pipe-connect.c: Fix prototype for _gpgme_io_spawn. Cast diff --git a/trunk/assuan/Makefile.am b/trunk/assuan/Makefile.am index 4607bc7..9e0625a 100644 --- a/trunk/assuan/Makefile.am +++ b/trunk/assuan/Makefile.am @@ -20,7 +20,7 @@ ## Process this file with automake to produce Makefile.in EXTRA_DIST = mkerrors -INCLUDES = -I.. -I$(top_srcdir)/gpgme +INCLUDES = -I.. -I$(top_srcdir)/src BUILT_SOURCES = assuan-errors.c MOSTLYCLEANFILES = assuan-errors.c diff --git a/trunk/configure.ac b/trunk/configure.ac index 34c7508..e4b175b 100644 --- a/trunk/configure.ac +++ b/trunk/configure.ac @@ -62,7 +62,7 @@ BUILD_REVISION=svn_revision PACKAGE=$PACKAGE_NAME VERSION=$PACKAGE_VERSION -AC_CONFIG_SRCDIR(gpgme/gpgme.h.in) +AC_CONFIG_SRCDIR(src/gpgme.h.in) dnl FIXME: Enable this with autoconf 2.59. dnl AC_CONFIG_MACRO_DIR(m4) AM_CONFIG_HEADER(config.h) @@ -743,12 +743,12 @@ AC_SUBST(LTLIBOBJS) # # Create config files -AC_CONFIG_FILES(Makefile assuan/Makefile gpgme/Makefile +AC_CONFIG_FILES(Makefile assuan/Makefile src/Makefile tests/Makefile tests/gpg/Makefile tests/gpgsm/Makefile doc/Makefile complus/Makefile - gpgme/versioninfo.rc - gpgme/gpgme.h) -AC_CONFIG_FILES(gpgme/gpgme-config, chmod +x gpgme/gpgme-config) + src/versioninfo.rc + src/gpgme.h) +AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd]) AC_OUTPUT diff --git a/trunk/gpgme/ChangeLog b/trunk/src/ChangeLog similarity index 100% rename from trunk/gpgme/ChangeLog rename to trunk/src/ChangeLog diff --git a/trunk/gpgme/Makefile.am b/trunk/src/Makefile.am similarity index 100% rename from trunk/gpgme/Makefile.am rename to trunk/src/Makefile.am diff --git a/trunk/gpgme/ath-pth.c b/trunk/src/ath-pth.c similarity index 100% rename from trunk/gpgme/ath-pth.c rename to trunk/src/ath-pth.c diff --git a/trunk/gpgme/ath-pthread.c b/trunk/src/ath-pthread.c similarity index 100% rename from trunk/gpgme/ath-pthread.c rename to trunk/src/ath-pthread.c diff --git a/trunk/gpgme/ath.c b/trunk/src/ath.c similarity index 100% rename from trunk/gpgme/ath.c rename to trunk/src/ath.c diff --git a/trunk/gpgme/ath.h b/trunk/src/ath.h similarity index 100% rename from trunk/gpgme/ath.h rename to trunk/src/ath.h diff --git a/trunk/gpgme/context.h b/trunk/src/context.h similarity index 100% rename from trunk/gpgme/context.h rename to trunk/src/context.h diff --git a/trunk/gpgme/conversion.c b/trunk/src/conversion.c similarity index 100% rename from trunk/gpgme/conversion.c rename to trunk/src/conversion.c diff --git a/trunk/gpgme/data-compat.c b/trunk/src/data-compat.c similarity index 100% rename from trunk/gpgme/data-compat.c rename to trunk/src/data-compat.c diff --git a/trunk/gpgme/data-fd.c b/trunk/src/data-fd.c similarity index 100% rename from trunk/gpgme/data-fd.c rename to trunk/src/data-fd.c diff --git a/trunk/gpgme/data-mem.c b/trunk/src/data-mem.c similarity index 100% rename from trunk/gpgme/data-mem.c rename to trunk/src/data-mem.c diff --git a/trunk/gpgme/data-stream.c b/trunk/src/data-stream.c similarity index 100% rename from trunk/gpgme/data-stream.c rename to trunk/src/data-stream.c diff --git a/trunk/gpgme/data-user.c b/trunk/src/data-user.c similarity index 100% rename from trunk/gpgme/data-user.c rename to trunk/src/data-user.c diff --git a/trunk/gpgme/data.c b/trunk/src/data.c similarity index 100% rename from trunk/gpgme/data.c rename to trunk/src/data.c diff --git a/trunk/gpgme/data.h b/trunk/src/data.h similarity index 100% rename from trunk/gpgme/data.h rename to trunk/src/data.h diff --git a/trunk/gpgme/debug.c b/trunk/src/debug.c similarity index 100% rename from trunk/gpgme/debug.c rename to trunk/src/debug.c diff --git a/trunk/gpgme/debug.h b/trunk/src/debug.h similarity index 100% rename from trunk/gpgme/debug.h rename to trunk/src/debug.h diff --git a/trunk/gpgme/decrypt-verify.c b/trunk/src/decrypt-verify.c similarity index 100% rename from trunk/gpgme/decrypt-verify.c rename to trunk/src/decrypt-verify.c diff --git a/trunk/gpgme/decrypt.c b/trunk/src/decrypt.c similarity index 100% rename from trunk/gpgme/decrypt.c rename to trunk/src/decrypt.c diff --git a/trunk/gpgme/delete.c b/trunk/src/delete.c similarity index 100% rename from trunk/gpgme/delete.c rename to trunk/src/delete.c diff --git a/trunk/gpgme/edit.c b/trunk/src/edit.c similarity index 100% rename from trunk/gpgme/edit.c rename to trunk/src/edit.c diff --git a/trunk/gpgme/encrypt-sign.c b/trunk/src/encrypt-sign.c similarity index 100% rename from trunk/gpgme/encrypt-sign.c rename to trunk/src/encrypt-sign.c diff --git a/trunk/gpgme/encrypt.c b/trunk/src/encrypt.c similarity index 100% rename from trunk/gpgme/encrypt.c rename to trunk/src/encrypt.c diff --git a/trunk/gpgme/engine-backend.h b/trunk/src/engine-backend.h similarity index 100% rename from trunk/gpgme/engine-backend.h rename to trunk/src/engine-backend.h diff --git a/trunk/gpgme/engine-gpgconf.c b/trunk/src/engine-gpgconf.c similarity index 100% rename from trunk/gpgme/engine-gpgconf.c rename to trunk/src/engine-gpgconf.c diff --git a/trunk/gpgme/engine-gpgsm.c b/trunk/src/engine-gpgsm.c similarity index 100% rename from trunk/gpgme/engine-gpgsm.c rename to trunk/src/engine-gpgsm.c diff --git a/trunk/gpgme/engine.c b/trunk/src/engine.c similarity index 100% rename from trunk/gpgme/engine.c rename to trunk/src/engine.c diff --git a/trunk/gpgme/engine.h b/trunk/src/engine.h similarity index 100% rename from trunk/gpgme/engine.h rename to trunk/src/engine.h diff --git a/trunk/gpgme/error.c b/trunk/src/error.c similarity index 100% rename from trunk/gpgme/error.c rename to trunk/src/error.c diff --git a/trunk/gpgme/export.c b/trunk/src/export.c similarity index 100% rename from trunk/gpgme/export.c rename to trunk/src/export.c diff --git a/trunk/gpgme/funopen.c b/trunk/src/funopen.c similarity index 100% rename from trunk/gpgme/funopen.c rename to trunk/src/funopen.c diff --git a/trunk/gpgme/genkey.c b/trunk/src/genkey.c similarity index 100% rename from trunk/gpgme/genkey.c rename to trunk/src/genkey.c diff --git a/trunk/gpgme/get-env.c b/trunk/src/get-env.c similarity index 100% rename from trunk/gpgme/get-env.c rename to trunk/src/get-env.c diff --git a/trunk/gpgme/getauditlog.c b/trunk/src/getauditlog.c similarity index 100% rename from trunk/gpgme/getauditlog.c rename to trunk/src/getauditlog.c diff --git a/trunk/gpgme/gpgconf.c b/trunk/src/gpgconf.c similarity index 100% rename from trunk/gpgme/gpgconf.c rename to trunk/src/gpgconf.c diff --git a/trunk/gpgme/gpgme-config.in b/trunk/src/gpgme-config.in similarity index 100% rename from trunk/gpgme/gpgme-config.in rename to trunk/src/gpgme-config.in diff --git a/trunk/gpgme/gpgme-w32spawn.c b/trunk/src/gpgme-w32spawn.c similarity index 100% rename from trunk/gpgme/gpgme-w32spawn.c rename to trunk/src/gpgme-w32spawn.c diff --git a/trunk/gpgme/gpgme.c b/trunk/src/gpgme.c similarity index 100% rename from trunk/gpgme/gpgme.c rename to trunk/src/gpgme.c diff --git a/trunk/gpgme/gpgme.def b/trunk/src/gpgme.def similarity index 100% rename from trunk/gpgme/gpgme.def rename to trunk/src/gpgme.def diff --git a/trunk/gpgme/gpgme.h.in b/trunk/src/gpgme.h.in similarity index 100% rename from trunk/gpgme/gpgme.h.in rename to trunk/src/gpgme.h.in diff --git a/trunk/gpgme/gpgme.m4 b/trunk/src/gpgme.m4 similarity index 100% rename from trunk/gpgme/gpgme.m4 rename to trunk/src/gpgme.m4 diff --git a/trunk/gpgme/import.c b/trunk/src/import.c similarity index 100% rename from trunk/gpgme/import.c rename to trunk/src/import.c diff --git a/trunk/gpgme/isascii.c b/trunk/src/isascii.c similarity index 100% rename from trunk/gpgme/isascii.c rename to trunk/src/isascii.c diff --git a/trunk/gpgme/kdpipeiodevice.cpp b/trunk/src/kdpipeiodevice.cpp similarity index 100% rename from trunk/gpgme/kdpipeiodevice.cpp rename to trunk/src/kdpipeiodevice.cpp diff --git a/trunk/gpgme/kdpipeiodevice.h b/trunk/src/kdpipeiodevice.h similarity index 100% rename from trunk/gpgme/kdpipeiodevice.h rename to trunk/src/kdpipeiodevice.h diff --git a/trunk/gpgme/kdpipeiodevice.moc b/trunk/src/kdpipeiodevice.moc similarity index 100% rename from trunk/gpgme/kdpipeiodevice.moc rename to trunk/src/kdpipeiodevice.moc diff --git a/trunk/gpgme/key.c b/trunk/src/key.c similarity index 100% rename from trunk/gpgme/key.c rename to trunk/src/key.c diff --git a/trunk/gpgme/keylist.c b/trunk/src/keylist.c similarity index 100% rename from trunk/gpgme/keylist.c rename to trunk/src/keylist.c diff --git a/trunk/gpgme/libgpgme.vers b/trunk/src/libgpgme.vers similarity index 100% rename from trunk/gpgme/libgpgme.vers rename to trunk/src/libgpgme.vers diff --git a/trunk/gpgme/memrchr.c b/trunk/src/memrchr.c similarity index 100% rename from trunk/gpgme/memrchr.c rename to trunk/src/memrchr.c diff --git a/trunk/gpgme/mkstatus b/trunk/src/mkstatus similarity index 100% rename from trunk/gpgme/mkstatus rename to trunk/src/mkstatus diff --git a/trunk/gpgme/moc_kdpipeiodevice.cpp b/trunk/src/moc_kdpipeiodevice.cpp similarity index 100% rename from trunk/gpgme/moc_kdpipeiodevice.cpp rename to trunk/src/moc_kdpipeiodevice.cpp diff --git a/trunk/gpgme/op-support.c b/trunk/src/op-support.c similarity index 100% rename from trunk/gpgme/op-support.c rename to trunk/src/op-support.c diff --git a/trunk/gpgme/ops.h b/trunk/src/ops.h similarity index 100% rename from trunk/gpgme/ops.h rename to trunk/src/ops.h diff --git a/trunk/gpgme/passphrase.c b/trunk/src/passphrase.c similarity index 100% rename from trunk/gpgme/passphrase.c rename to trunk/src/passphrase.c diff --git a/trunk/gpgme/posix-io.c b/trunk/src/posix-io.c similarity index 100% rename from trunk/gpgme/posix-io.c rename to trunk/src/posix-io.c diff --git a/trunk/gpgme/posix-sema.c b/trunk/src/posix-sema.c similarity index 100% rename from trunk/gpgme/posix-sema.c rename to trunk/src/posix-sema.c diff --git a/trunk/gpgme/posix-util.c b/trunk/src/posix-util.c similarity index 100% rename from trunk/gpgme/posix-util.c rename to trunk/src/posix-util.c diff --git a/trunk/gpgme/priv-io.h b/trunk/src/priv-io.h similarity index 100% rename from trunk/gpgme/priv-io.h rename to trunk/src/priv-io.h diff --git a/trunk/gpgme/progress.c b/trunk/src/progress.c similarity index 100% rename from trunk/gpgme/progress.c rename to trunk/src/progress.c diff --git a/trunk/gpgme/putc_unlocked.c b/trunk/src/putc_unlocked.c similarity index 100% rename from trunk/gpgme/putc_unlocked.c rename to trunk/src/putc_unlocked.c diff --git a/trunk/gpgme/rungpg.c b/trunk/src/rungpg.c similarity index 100% rename from trunk/gpgme/rungpg.c rename to trunk/src/rungpg.c diff --git a/trunk/gpgme/sema.h b/trunk/src/sema.h similarity index 100% rename from trunk/gpgme/sema.h rename to trunk/src/sema.h diff --git a/trunk/gpgme/setenv.c b/trunk/src/setenv.c similarity index 100% rename from trunk/gpgme/setenv.c rename to trunk/src/setenv.c diff --git a/trunk/gpgme/sig-notation.c b/trunk/src/sig-notation.c similarity index 100% rename from trunk/gpgme/sig-notation.c rename to trunk/src/sig-notation.c diff --git a/trunk/gpgme/sign.c b/trunk/src/sign.c similarity index 100% rename from trunk/gpgme/sign.c rename to trunk/src/sign.c diff --git a/trunk/gpgme/signers.c b/trunk/src/signers.c similarity index 100% rename from trunk/gpgme/signers.c rename to trunk/src/signers.c diff --git a/trunk/gpgme/stpcpy.c b/trunk/src/stpcpy.c similarity index 100% rename from trunk/gpgme/stpcpy.c rename to trunk/src/stpcpy.c diff --git a/trunk/gpgme/trust-item.c b/trunk/src/trust-item.c similarity index 100% rename from trunk/gpgme/trust-item.c rename to trunk/src/trust-item.c diff --git a/trunk/gpgme/trustlist.c b/trunk/src/trustlist.c similarity index 100% rename from trunk/gpgme/trustlist.c rename to trunk/src/trustlist.c diff --git a/trunk/gpgme/ttyname_r.c b/trunk/src/ttyname_r.c similarity index 100% rename from trunk/gpgme/ttyname_r.c rename to trunk/src/ttyname_r.c diff --git a/trunk/gpgme/util.h b/trunk/src/util.h similarity index 100% rename from trunk/gpgme/util.h rename to trunk/src/util.h diff --git a/trunk/gpgme/vasprintf.c b/trunk/src/vasprintf.c similarity index 100% rename from trunk/gpgme/vasprintf.c rename to trunk/src/vasprintf.c diff --git a/trunk/gpgme/verify.c b/trunk/src/verify.c similarity index 100% rename from trunk/gpgme/verify.c rename to trunk/src/verify.c diff --git a/trunk/gpgme/version.c b/trunk/src/version.c similarity index 100% rename from trunk/gpgme/version.c rename to trunk/src/version.c diff --git a/trunk/gpgme/versioninfo.rc.in b/trunk/src/versioninfo.rc.in similarity index 100% rename from trunk/gpgme/versioninfo.rc.in rename to trunk/src/versioninfo.rc.in diff --git a/trunk/gpgme/w32-glib-io.c b/trunk/src/w32-glib-io.c similarity index 100% rename from trunk/gpgme/w32-glib-io.c rename to trunk/src/w32-glib-io.c diff --git a/trunk/gpgme/w32-io.c b/trunk/src/w32-io.c similarity index 100% rename from trunk/gpgme/w32-io.c rename to trunk/src/w32-io.c diff --git a/trunk/gpgme/w32-qt-io.cpp b/trunk/src/w32-qt-io.cpp similarity index 100% rename from trunk/gpgme/w32-qt-io.cpp rename to trunk/src/w32-qt-io.cpp diff --git a/trunk/gpgme/w32-sema.c b/trunk/src/w32-sema.c similarity index 100% rename from trunk/gpgme/w32-sema.c rename to trunk/src/w32-sema.c diff --git a/trunk/gpgme/w32-util.c b/trunk/src/w32-util.c similarity index 100% rename from trunk/gpgme/w32-util.c rename to trunk/src/w32-util.c diff --git a/trunk/gpgme/wait-global.c b/trunk/src/wait-global.c similarity index 100% rename from trunk/gpgme/wait-global.c rename to trunk/src/wait-global.c diff --git a/trunk/gpgme/wait-private.c b/trunk/src/wait-private.c similarity index 100% rename from trunk/gpgme/wait-private.c rename to trunk/src/wait-private.c diff --git a/trunk/gpgme/wait-user.c b/trunk/src/wait-user.c similarity index 100% rename from trunk/gpgme/wait-user.c rename to trunk/src/wait-user.c diff --git a/trunk/gpgme/wait.c b/trunk/src/wait.c similarity index 100% rename from trunk/gpgme/wait.c rename to trunk/src/wait.c diff --git a/trunk/gpgme/wait.h b/trunk/src/wait.h similarity index 100% rename from trunk/gpgme/wait.h rename to trunk/src/wait.h diff --git a/trunk/tests/ChangeLog b/trunk/tests/ChangeLog index 060c12f..088d5ba 100644 --- a/trunk/tests/ChangeLog +++ b/trunk/tests/ChangeLog @@ -1,3 +1,9 @@ +2008-11-03 Marcus Brinkmann + + * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. + * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. + * Makefile.am (LDADD): Likewise. + 2008-06-19 Werner Koch * gpg/t-gpgconf.c (dump_arg): Add new types. Print strings in diff --git a/trunk/tests/Makefile.am b/trunk/tests/Makefile.am index ceabc99..068f886 100644 --- a/trunk/tests/Makefile.am +++ b/trunk/tests/Makefile.am @@ -29,7 +29,7 @@ EXTRA_DIST = t-data-1.txt t-data-2.txt INCLUDES = -I$(top_srcdir)/gpgme AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ -LDADD = ../gpgme/libgpgme.la @GPG_ERROR_LIBS@ +LDADD = ../src/libgpgme.la @GPG_ERROR_LIBS@ noinst_PROGRAMS = $(TESTS) diff --git a/trunk/tests/gpg/Makefile.am b/trunk/tests/gpg/Makefile.am index a0c3520..f295fe6 100644 --- a/trunk/tests/gpg/Makefile.am +++ b/trunk/tests/gpg/Makefile.am @@ -43,11 +43,11 @@ DISTCLEANFILES = pubring.gpg~ pubring.kbx~ random_seed gpg.conf gpg-agent.conf EXTRA_DIST = mkdemodirs pubdemo.asc secdemo.asc cipher-1.asc cipher-2.asc \ geheim.txt pubkey-1.asc seckey-1.asc pinentry -INCLUDES = -I$(top_srcdir)/gpgme +INCLUDES = -I$(top_srcdir)/src AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ -LDADD = ../../gpgme/libgpgme.la -t_thread1_LDADD = ../../gpgme/libgpgme-pthread.la +LDADD = ../../src/libgpgme.la +t_thread1_LDADD = ../../src/libgpgme-pthread.la # We don't run t-genkey in the test suite, because it takes too long noinst_PROGRAMS = $(TESTS) t-genkey diff --git a/trunk/tests/gpgsm/Makefile.am b/trunk/tests/gpgsm/Makefile.am index 74b9fba..91a8cf7 100644 --- a/trunk/tests/gpgsm/Makefile.am +++ b/trunk/tests/gpgsm/Makefile.am @@ -29,10 +29,10 @@ TESTS = t-import t-keylist t-encrypt t-verify t-decrypt t-sign t-export EXTRA_DIST = cert_dfn_pca01.der cert_dfn_pca15.der cert_g10code_test1.der \ $(key_id) -INCLUDES = -I$(top_srcdir)/gpgme +INCLUDES = -I$(top_srcdir)/src AM_CPPFLAGS = @GPG_ERROR_CFLAGS@ -LDADD = ../../gpgme/libgpgme.la +LDADD = ../../src/libgpgme.la # We don't run t-genkey in the test suite, because it takes too long # and needs a working pinentry.