<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot.git/package/pkg-config, branch 2011.08_rc2</title>
<subtitle>Buildroot: Making Embedded Linux easy
</subtitle>
<id>https://git.hiegel.fr/cgit/buildroot.git/atom?h=2011.08_rc2</id>
<link rel='self' href='https://git.hiegel.fr/cgit/buildroot.git/atom?h=2011.08_rc2'/>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/'/>
<updated>2011-08-04T20:13:37Z</updated>
<entry>
<title>pkg-config: Add "mapdir" to sysroot handled variables</title>
<updated>2011-08-04T20:13:37Z</updated>
<author>
<name>Michael J. Hammel</name>
<email>mjhammel@graphics-muse.org</email>
</author>
<published>2011-04-24T02:51:41Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:04Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-03-27T19:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:18Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-03-10T10:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:50Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-30T10:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:53Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T23:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:16Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T21:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:28Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2011-01-29T21:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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:20Z</updated>
<author>
<name>Lionel Landwerlin</name>
<email>llandwerlin@gmail.com</email>
</author>
<published>2010-12-26T16:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/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>
<entry>
<title>packages: remove unneeded _INSTALL_TARGET_OPT definitions</title>
<updated>2010-09-27T13:32:32Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2010-09-07T22:52:27Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=478ea1a12dffca0025c0ad55ad702cbaec465f93'/>
<id>urn:sha1:478ea1a12dffca0025c0ad55ad702cbaec465f93</id>
<content type='text'>
Now that &lt;pkg&gt;_INSTALL_TARGET_OPT always defaults to
'DESTDIR=$(TARGET_DIR) install', we can remove the
&lt;pkg&gt;_INSTALL_TARGET_OPT definition from a lot of packages.

Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package: gettext needs WCHAR support</title>
<updated>2010-05-25T21:38:44Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2010-05-25T21:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.hiegel.fr/cgit/buildroot.git/commit/?id=b730010c90a127746bada3d537eb0e204cba5988'/>
<id>urn:sha1:b730010c90a127746bada3d537eb0e204cba5988</id>
<content type='text'>
gettext needs WCHAR support in the toolchain, and as libglib2 depends on
gettext and lots of stuff depends on libglib2, quite a lot of packages
needs to have their dependencies adjusted.

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