<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/aparcar/include/autotools.mk, branch master</title>
<subtitle>Staging tree of Paul Spooren</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/aparcar/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/'/>
<updated>2022-07-15T13:21:44Z</updated>
<entry>
<title>libiconv-stub: remove</title>
<updated>2022-07-15T13:21:44Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-06-09T19:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=c0ba4201f8372eee579584b7f5900e073b207b0c'/>
<id>urn:sha1:c0ba4201f8372eee579584b7f5900e073b207b0c</id>
<content type='text'>
No longer used.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: autotools: fix cache path</title>
<updated>2022-03-27T23:15:52Z</updated>
<author>
<name>Huangbin Zhan</name>
</author>
<published>2021-10-30T07:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=044ca149f36a08f56fe827a20aa113837c58cb40'/>
<id>urn:sha1:044ca149f36a08f56fe827a20aa113837c58cb40</id>
<content type='text'>
the cache directory should be autom4te.cache in all $(PKG_AUTOMAKE_PATHS)
rather than $(PKG_BUILD_DIR)/autom4te.cache only

Signed-off-by: Huangbin Zhan &lt;zhanhb88@gmail.com&gt;
</content>
</entry>
<entry>
<title>gettext: remove package</title>
<updated>2021-11-20T20:08:25Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-09-17T03:21:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=e6f569406ffe1d9e35b9b9ea36f38cdd5837728d'/>
<id>urn:sha1:e6f569406ffe1d9e35b9b9ea36f38cdd5837728d</id>
<content type='text'>
This package was necessary when uClibc was in the tree. Now that uClibc
is gone, this can go too.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: prevent dupes in autotools.mk</title>
<updated>2021-03-01T16:16:32Z</updated>
<author>
<name>Sebastian Kemper</name>
</author>
<published>2021-03-01T16:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=b2adc7f18c8976b4aaf18a7575b81fe5d9e9a814'/>
<id>urn:sha1:b2adc7f18c8976b4aaf18a7575b81fe5d9e9a814</id>
<content type='text'>
autotools.mk does not have any protection currently that would prevent
it from being sourced multiple times. Note that both package.mk and
host-build.mk source autotools.mk. So any package Makefile that includes
both will cause hooks to be added twice (at least twice).

This is fixed by declaring a new variable, __autotools_inc, and only
continuing if this variable doesn't equal 1. The same is done by
rules.mk already.

Also, this commit does away with an ifneq that checks PKG_FIXUP (instead
of HOST_FIXUP) for patch-libtool before adding to the host pre-configure
hook. This does not make sense.

The second ifneq is amended. The current one manually does what the
define patch_libtool_host is already doing. It can just use the define.

Signed-off-by: Sebastian Kemper &lt;sebastian_ml@gmx.net&gt;
</content>
</entry>
<entry>
<title>autotools.mk: fix gettext fixup</title>
<updated>2021-02-23T20:10:56Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2021-02-17T10:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=90b1524f75023ad0f441e82773ca9e9b5d513e1a'/>
<id>urn:sha1:90b1524f75023ad0f441e82773ca9e9b5d513e1a</id>
<content type='text'>
The update to gettext 0.21 broke packages that use autotools and
gettext because the sed line was failing with the new version. Fix with
a better sed expression.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add support for patching libtool to include ABI version in soname</title>
<updated>2021-02-15T17:47:19Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T17:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=f696cd3df3669a1a0a247623b549afeed718e207'/>
<id>urn:sha1:f696cd3df3669a1a0a247623b549afeed718e207</id>
<content type='text'>
Use the version from PKG_ABI_VERSION

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>autotools.mk: autoreconf: fix missing install-sh</title>
<updated>2019-07-26T06:09:16Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2018-12-04T13:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=5cf897779eacf63cdbcdebd1af68c109096665c6'/>
<id>urn:sha1:5cf897779eacf63cdbcdebd1af68c109096665c6</id>
<content type='text'>
I'm trying to create a package for libgpiod, which uses
AC_CONFIG_AUX_DIR macro, which is probably leading to the following
configure error:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.
 ...
 configure: error: cannot find install-sh, install.sh, or shtool in autostuff "."/autostuff

&gt;From the build output it's clear, that libtoolize isn't installing
install-sh symlink, because libtoolize would install install-sh only if
it's being run with --install parameter. Corresponding part in
libtoolize:

 if $opt_install; then
   func_config_update config.guess \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_config_update config.sub \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_install_update install-sh \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
 fi
 func_ltmain_update ltmain.sh \
    "$pkgdatadir/config" "$auxdir" pkgconfig_header

Adding --install parameter to libtoolize fixes this build issue:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --install --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/config.guess'
 OpenWrt-libtoolize: linking file `autostuff/config.sub'
 OpenWrt-libtoolize: linking file `autostuff/install-sh'
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.

Cc: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>treewide: fix build depends to refer to source package names</title>
<updated>2018-01-13T18:54:44Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-01-07T19:41:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=37cf77d9467fb92a3fb352230e95aab77a5342ba'/>
<id>urn:sha1:37cf77d9467fb92a3fb352230e95aab77a5342ba</id>
<content type='text'>
Build depends must refer to source packages rather than binary package
names.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets</title>
<updated>2017-01-18T18:47:36Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-18T18:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/aparcar/commit/?id=3d71786154fbb3fcfbd652115f3e75db3f729941'/>
<id>urn:sha1:3d71786154fbb3fcfbd652115f3e75db3f729941</id>
<content type='text'>
Using a single host package staging dir (and build dir) significantly speeds up
builds when multiple targets are built in succession, especially for large host
packages like NodeJS.

$(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most
places; it is still used as destination for host files in Build/InstallDev.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
</feed>
