<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot-novena/package/pkg-config, branch 2012.05</title>
<subtitle>build system for the novena open hardware laptop board</subtitle>
<id>https://git.bnewbold.net/buildroot-novena/atom?h=2012.05</id>
<link rel='self' href='https://git.bnewbold.net/buildroot-novena/atom?h=2012.05'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/'/>
<updated>2012-01-18T15:02:56+00:00</updated>
<entry>
<title>pkg-config: unbreak host build after auto-host-deps change</title>
<updated>2012-01-18T15:02:56+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2012-01-18T10:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=a7544cf97e63fb07a86a834873fb8df7709e18ab'/>
<id>urn:sha1:a7544cf97e63fb07a86a834873fb8df7709e18ab</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>package: remove useless arguments from AUTOTARGETS</title>
<updated>2011-09-29T21:12:27+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2011-09-29T19:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=300f9c9c9dcf2b47ea89c45d5b1ea05e7305bd49'/>
<id>urn:sha1:300f9c9c9dcf2b47ea89c45d5b1ea05e7305bd49</id>
<content type='text'>
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir-&gt;pkgparentdir]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: Add "mapdir" to sysroot handled variables</title>
<updated>2011-08-04T20:13:37+00:00</updated>
<author>
<name>Michael J. Hammel</name>
<email>mjhammel@graphics-muse.org</email>
</author>
<published>2011-04-24T02:51:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=5496bc399bc9eee202dbd7bd1d143722f30536e9'/>
<id>urn:sha1:5496bc399bc9eee202dbd7bd1d143722f30536e9</id>
<content type='text'>
Closes #3583, #3649

Fixes xfonts_font-adobe build failure.

Signed-off-by: Michael J. Hammel &lt;mjhammel@graphics-muse.org&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: add usr/share/pkgconfig to search path as well</title>
<updated>2011-03-27T19:20:04+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-03-27T19:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=6a86dd9c8eb0238a4bb8ffdd0fb04e62c12739fb'/>
<id>urn:sha1:6a86dd9c8eb0238a4bb8ffdd0fb04e62c12739fb</id>
<content type='text'>
A few packages (like xlib_xtrans) install their .pc files here, and
upstream pkg-config defaults to searching both /usr/lib/pkgconfig and
/usr/share/pkgconfig, so add it as well.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: only prepend sysroot to includedir / libdir</title>
<updated>2011-03-10T10:36:18+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-03-10T10:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=117a8ea0eaabec72d7637f80f7a55fbba9ce67bf'/>
<id>urn:sha1:117a8ea0eaabec72d7637f80f7a55fbba9ce67bf</id>
<content type='text'>
Only append sysroot to includedir / libdir, and not to other variables,
when a variable is requested (--variable=&lt;name&gt;), similar to how it
is done for the -I / -L flags in cflags/ldflags.

The problem is that pkg-config doesn't have any explicit cross compilation
support, so there's some confusion about what are host paths and what are
target ones.  Includedir / libdir are paths for the (cross) compiler, so
those should normally have sysroot prepended, but other variables might
refer to target paths instead.

This fixes the installation of the xfonts-* packages, which uses
pkg-config --variable=fontrootdir fontutil to figure out the target
installation location for fonts.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: rework --with-sysroot patch so it doesn't break target build</title>
<updated>2011-01-30T10:05:50+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-30T10:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=02d605cd556107d9e1a4f0c9ae9ee3403fd1a170'/>
<id>urn:sha1:02d605cd556107d9e1a4f0c9ae9ee3403fd1a170</id>
<content type='text'>
We don't currently autoreconf pkg-config for the target as we don't need
--with-sysroot support, which means PKG_CONFIG_SYSROOT=NULL wasn't
passed, breaking the build.

Fix it by reworking the patch to only pass this if --with-sysroot is given,
and handle the not set case in main.c.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: add --with-sysroot option for compiled in default sysroot setting</title>
<updated>2011-01-29T23:37:53+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T23:33:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=50bda85e88fa10be32733dd0334aea93519bc915'/>
<id>urn:sha1:50bda85e88fa10be32733dd0334aea93519bc915</id>
<content type='text'>
Similar to the --with-pc-path option. It works just like the existing
PKG_CONFIG_SYSROOT_DIR environment variable, but compiled in.
The environment variable overrides this default setting if set.

This way we don't need to pass PKG_CONFIG_SYSROOT_DIR in the environment
when building for the target, and it is easier to reuse pkg-config outside
BR (E.G. for the SDK) without having to setup special environment
variables.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: prefix sysroot to path variables</title>
<updated>2011-01-29T22:03:16+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T21:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=b4df2ea27fc28734978ff8a52811dc23d5d1c221'/>
<id>urn:sha1:b4df2ea27fc28734978ff8a52811dc23d5d1c221</id>
<content type='text'>
Fixes gst-plugins-bad build, if gstreamer is installed on host with xml
support, as it uses pkg-config --variable=includedir to find gstconfig.h,
and hence ends up looking at the host version.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>pkg-config: bump version</title>
<updated>2011-01-29T21:06:28+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T21:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=d5da84fda9bf9478935e7a080491519ebc4197d3'/>
<id>urn:sha1:d5da84fda9bf9478935e7a080491519ebc4197d3</id>
<content type='text'>
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
<entry>
<title>package: avoid copying .m4 files from host to staging</title>
<updated>2010-12-28T19:33:20+00:00</updated>
<author>
<name>Lionel Landwerlin</name>
<email>llandwerlin@gmail.com</email>
</author>
<published>2010-12-26T16:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/buildroot-novena/commit/?id=a68640c31dbf216eb5862d76daefce4b7e754795'/>
<id>urn:sha1:a68640c31dbf216eb5862d76daefce4b7e754795</id>
<content type='text'>
Since we are preparing a package generation mechanism, we would like
to avoid packages that move/touch/modify files which are not part
of their own package. That's why we try to not install host files into
the staging directory (in this case .m4 files) and instead we include
$(HOST_DIR)/usr/share/aclocal into autoreconf search directory.

Signed-off-by: Lionel Landwerlin &lt;llandwerlin@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
</content>
</entry>
</feed>
