<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/src/gpg-error-config-test.sh, branch master</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=master</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2019-06-18T06:37:09Z</updated>
<entry>
<title>build: Take care of POSIX shell path.</title>
<updated>2019-06-18T06:37:09Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2019-06-18T06:26:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=7a7caf4ba1c460c9c36f754fcd0ebfeb4aa5cc6a'/>
<id>urn:sha1:7a7caf4ba1c460c9c36f754fcd0ebfeb4aa5cc6a</id>
<content type='text'>
* configure.ac (INSTALLSHELLPATH): New.
* src/Makefile.am: Change invocation of gpg-error-config-test.sh.
* src/gpgrt-config.in (INSTALLSHELLPATH): To be substituted.
* src/gpg-error-config-test.sh.in: Likewise.

--

GnuPG-bug-id: 4574
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>gpgrt-config: Better architecture independent support.</title>
<updated>2018-10-29T03:11:05Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-10-29T03:11:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=93d45f7e7e937020c796781705516a4b62e6589a'/>
<id>urn:sha1:93d45f7e7e937020c796781705516a4b62e6589a</id>
<content type='text'>
* configure.ac: Don't generate gpgrt-config.
* src/gpgrt-config: Rename from gpgrt-config.in.
(--prefix, --exec-prefix, --libdir): Use --libdir to determine
PKG_CONFIG_LIBDIR.
* src/Makefile.am (EXTRA_DIST): Remove gpgrt-config.in.
* src/gpg-error-config-test.sh: Fix for path to gpgrt-config.
* src/gpg-error.m4: Provide --prefix, --exec-prefix, --libdir
option from configure.  Don't use CC because we have --libdir.
Bump version date.
* src/gpgrt.m4: Likewise.

--

Considering multilib support as well as multiarch support, it is
better to provide the information for PKG_CONFIG_LIBDIR by --libdir
directly, instead of CC.

Difficulty is that configure allows variable reference like:

    --libdir='${exec_prefix}/i386-linux'

So, it should also support --prefix and --exec_prefix options.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>gpg-error-config: Keep old gpg-error-config implementation.</title>
<updated>2018-10-25T11:02:37Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-10-25T11:02:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=ffbff048bde636e3ec19f2912fa4034e70e18f44'/>
<id>urn:sha1:ffbff048bde636e3ec19f2912fa4034e70e18f44</id>
<content type='text'>
* configure.ac: Generate gpgrt-config from gpgrt-config.in.
* src/gpgrt-config.in: Rename from src/gpg-error-config-new.in.
* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config.
(EXTRA_DIST): Add gpgrt-config.in removing gpg-error-config-new.in.
(BUILT_SOURCES, CLEANFILES): Remove gpgrt-config.
(gpg-error-config): Always copy from gpg-error-config-old.
* src/gpg-error-config-test.sh: Follow the rename.

--

The gpgrt-config script is new implementation supporting *.pc file,
while gpg-error-config keeps old single shell script.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>gpg-error-config: Add PKG_CONFIG_SYSROOT_DIR support.</title>
<updated>2018-10-10T01:14:26Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-10-10T01:14:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=6167f3c461a4e53ccc5af620cdbfa28bfa9234f5'/>
<id>urn:sha1:6167f3c461a4e53ccc5af620cdbfa28bfa9234f5</id>
<content type='text'>
* src/gpg-error-config-new.in (sysroot): New function.
(want_cflags, want_libs): Use sysroot.
* src/gpg-error-config-test.sh: Test with PKG_CONFIG_SYSROOT_DIR.

--

PKG_CONFIG_SYSROOT_DIR is for cross build.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>gpg-error-config: Remove white space for the output by old.</title>
<updated>2018-09-20T04:02:06Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-09-20T04:02:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=d510f38ccbc715faa8e07828bf6acd8e9b9a0658'/>
<id>urn:sha1:d510f38ccbc715faa8e07828bf6acd8e9b9a0658</id>
<content type='text'>
* src/gpg-error-config-test.sh: Remove white spaces at the
end or at the beginning.

--

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Accept pkgconf difference for spaces.</title>
<updated>2018-09-19T01:50:12Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-09-19T01:50:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=5564efac95e9546af948fc13c90584264b322950'/>
<id>urn:sha1:5564efac95e9546af948fc13c90584264b322950</id>
<content type='text'>
* src/gpg-error-config-test.sh (OUTPUT_OLD): Use shell
and echo to remove spaces.

--

There is an alternative implementation of pkg-conf, named pkgconf.
It emits an extra space at the end.

Tested on FreeBSD 11.1.

Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Make gpg-error-config compatible to pkg-config.</title>
<updated>2018-09-11T00:32:57Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2018-09-10T23:57:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=78b679a778ddf37b8952f1808fd8c52cc8163f17'/>
<id>urn:sha1:78b679a778ddf37b8952f1808fd8c52cc8163f17</id>
<content type='text'>
* configure.ac (AC_CONFIG_FILES): Generate src/gpg-error.pc, as well
as src/gpg-error-config-old and src/gpg-error-config-new.
* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
(EXTRA_DIST): Add gpg-error-config-new.in, gpg-error-config-test.sh,
and gpg-error.pc.in.
(CLEANFILES): Add gpg-error-config gpg-error-config-test.log.
(TESTS): New.
(gpg-error-config): New target.
* src/gpg-error-config-new.in: New.
* src/gpg-error-config-test.sh: New.
* src/gpg-error.pc.in: New.
* src/gpg-error.m4 (GPG_ERROR_MT_CFLAGS): Use --variable.
(GPG_ERROR_MT_LIBS, gpg_error_config_host): Likewise.

--

This change is to privide gpg-error.pc for pkg-config, so that
developers can use pkg-config to configure their applications.  The
gpg-error-config script is also kept supported for applications which
want to avoid dependency of pkg-config.

Note that new gpg-error-config script uses gpg-error.pc as master
data, so that it can keep compatibility to pkg-config easily.  In the
new gpg-error-config script, features are added to increase
compatibility to pkg-config, like --variable option and multiple
module support.  However, it is not meant to oriented to be a
full-fledged version of pkg-config, only a small set of features is
supported.

To be conservative, new gpg-error-config is checked at build time
against old gpg-error-config.  On the host which fails, old
gpg-error-config will be installed with a warning.

GnuPG-bug-id: 4085
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
</feed>
