* [Buildroot] [autobuild.buildroot.net] Build results for 2012-11-29
From: Stephan Hoffmann @ 2012-12-02 12:53 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121130073328.24CF052C08B@lolut.humanoidz.org>
Am 30.11.2012 08:33, schrieb Thomas Petazzoni:
> Build 0083137d721a505f79ae7940ef57f94417035b00
> ==============================================
>
> Status : NOK
> Failure reason : qtuio-abe4973ff6
> Architecture : arm
> Submitted by : Thomas Petazzoni (Free Electrons build server)
> Submitted at : 2012-11-29 23:30:51
> Git commit ID : http://git.buildroot.net/buildroot/commit/?id=7c9549e84f80d66fcb685a9f2c9b8e44e086c883
> End of log : http://autobuild.buildroot.net/results/0083137d721a505f79ae7940ef57f94417035b00/build-end.log
> Complete log : http://autobuild.buildroot.net/results/0083137d721a505f79ae7940ef57f94417035b00/build.log.bz2
> Configuration : http://autobuild.buildroot.net/results/0083137d721a505f79ae7940ef57f94417035b00/config
> Defconfig : http://autobuild.buildroot.net/results/0083137d721a505f79ae7940ef57f94417035b00/defconfig
Hello all,
this fauilure is caused by a missing #include in the source code. I
reported it upstream, but there are no changes since 2 years.
A patch to fix this issue follows.
Kind Regards
Stephan
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply
* [Buildroot] [PATCH] qtuio: fix build issue because of missing include
From: Stephan Hoffmann @ 2012-12-02 12:55 UTC (permalink / raw)
To: buildroot
TuioServer.cpp uses usleep but did not include <unistd.h>. This
patch adds the missing #include. This issue has been reported
upstream.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
.../qtuio-TuioServer.cpp-add-missing-include.patch | 28 ++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100644 package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch
diff --git a/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch b/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch
new file mode 100644
index 0000000..9933702
--- /dev/null
+++ b/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch
@@ -0,0 +1,28 @@
+From 4dd7cad8c95484a882eaa2aeaa74595a3dd93a07 Mon Sep 17 00:00:00 2001
+From: Stephan Hoffmann <sho@relinux.de>
+Date: Sun, 2 Dec 2012 13:36:41 +0100
+Subject: [PATCH] TuioServer.cpp: add missing include
+
+If usleep() is used the header <unistd.h> has to be included
+
+Signed-off-by: Stephan Hoffmann <sho@relinux.de>
+---
+ src/3rdparty/tuio/TuioServer.cpp | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/src/3rdparty/tuio/TuioServer.cpp b/src/3rdparty/tuio/TuioServer.cpp
+index f17bef9..851144c 100644
+--- a/src/3rdparty/tuio/TuioServer.cpp
++++ b/src/3rdparty/tuio/TuioServer.cpp
+@@ -25,6 +25,8 @@ using namespace TUIO;
+ using namespace osc;
+
+ #ifndef WIN32
++#include <unistd.h>
++
+ static void* ThreadFunc( void* obj )
+ #else
+ static DWORD WINAPI ThreadFunc( LPVOID obj )
+--
+1.7.0.4
+
--
1.7.0.4
^ permalink raw reply related
* [Buildroot] [git commit] qtuio: fix build issue because of missing include
From: Peter Korsgaard @ 2012-12-02 15:48 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=4a4b0bdd0753fd039d2d3992eb85ea2e118dcbf4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
TuioServer.cpp uses usleep but did not include <unistd.h>. This
patch adds the missing #include. This issue has been reported
upstream.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
.../qtuio-TuioServer.cpp-add-missing-include.patch | 28 ++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch b/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch
new file mode 100644
index 0000000..9933702
--- /dev/null
+++ b/package/qtuio/qtuio-TuioServer.cpp-add-missing-include.patch
@@ -0,0 +1,28 @@
+From 4dd7cad8c95484a882eaa2aeaa74595a3dd93a07 Mon Sep 17 00:00:00 2001
+From: Stephan Hoffmann <sho@relinux.de>
+Date: Sun, 2 Dec 2012 13:36:41 +0100
+Subject: [PATCH] TuioServer.cpp: add missing include
+
+If usleep() is used the header <unistd.h> has to be included
+
+Signed-off-by: Stephan Hoffmann <sho@relinux.de>
+---
+ src/3rdparty/tuio/TuioServer.cpp | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/src/3rdparty/tuio/TuioServer.cpp b/src/3rdparty/tuio/TuioServer.cpp
+index f17bef9..851144c 100644
+--- a/src/3rdparty/tuio/TuioServer.cpp
++++ b/src/3rdparty/tuio/TuioServer.cpp
+@@ -25,6 +25,8 @@ using namespace TUIO;
+ using namespace osc;
+
+ #ifndef WIN32
++#include <unistd.h>
++
+ static void* ThreadFunc( void* obj )
+ #else
+ static DWORD WINAPI ThreadFunc( LPVOID obj )
+--
+1.7.0.4
+
^ permalink raw reply related
* [Buildroot] [PATCH] qtuio: fix build issue because of missing include
From: Peter Korsgaard @ 2012-12-02 15:48 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354452949-13691-1-git-send-email-sho@relinux.de>
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:
Stephan> TuioServer.cpp uses usleep but did not include <unistd.h>. This
Stephan> patch adds the missing #include. This issue has been reported
Stephan> upstream.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] pkg-download.mk: Fix shallow clone
From: Peter Korsgaard @ 2012-12-02 16:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354445767-15308-1-git-send-email-sho@relinux.de>
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:
Stephan> Some git versions (e.g. 1.7.0) do not treat trying to shallow clone
Stephan> a non existing branch or tag as a fatal error but report a warning
Stephan> and clone HEAD instead. Thus the fallback mechanism does not work
Stephan> in this case.
Stephan> This patch introduces a check for the presence of the requested
Stephan> version as a branch or tag before trying the shallow clone. It
Stephan> also removes the need to do two clones when a sha1 is given as
Stephan> a packege version.
Thanks, committed.
I really do think we need to move the git handling into an external
script, because this isn't really readable anymore - But that's for
post-2012.11.
I've changed the cut -b 42- into cut -f2- as that's more robust (and
readable imho).
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] pkg-download.mk: Fix shallow clone
From: Peter Korsgaard @ 2012-12-02 16:07 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=d1f5fc29efd40d61e8a185a22e3ee6f52c10d43c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Some git versions (e.g. 1.7.0) do not treat trying to shallow clone
a non existing branch or tag as a fatal error but report a warning
and clone HEAD instead. Thus the fallback mechanism does not work
in this case.
This patch introduces a check for the presence of the requested
version as a branch or tag before trying the shallow clone. It
also removes the need to do two clones when a sha1 is given as
a packege version.
[Peter: use cut -f2-]
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/pkg-download.mk | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index 6c57244..ea01b05 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -74,12 +74,19 @@ domainseparator=$(if $(1),$(1),/)
################################################################################
# Try a shallow clone - but that only works if the version is a ref (tag or
-# branch). Fall back on a full clone if it's a generic sha1.
+# branch). Before trying to do a shallow clone we check if $($(PKG)_DL_VERSION)
+# is in the list provided by git ls-remote. If not we fall back on a full clone.
+#
+# Messages for the type of clone used are provided to ease debugging in case of
+# problems
define DOWNLOAD_GIT
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
(pushd $(DL_DIR) > /dev/null && \
- ($(GIT) clone --depth 1 -b $($(PKG)_DL_VERSION) --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME) || \
- $(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME)) && \
+ ((test `git ls-remote $($(PKG)_SITE) | cut -f 2- | grep $($(PKG)_DL_VERSION)` && \
+ echo "Doing shallow clone" && \
+ $(GIT) clone --depth 1 -b $($(PKG)_DL_VERSION) --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME)) || \
+ (echo "Doing full clone" && \
+ $(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME))) && \
pushd $($(PKG)_BASE_NAME) > /dev/null && \
$(GIT) archive --format=tar --prefix=$($(PKG)_BASE_NAME)/ $($(PKG)_DL_VERSION) | \
gzip -c > $(DL_DIR)/$($(PKG)_SOURCE) && \
^ permalink raw reply related
* [Buildroot] Problems with name resolution
From: Stephan Hoffmann @ 2012-12-02 17:12 UTC (permalink / raw)
To: buildroot
Hi all,
today I faced a strange problem on my BeagleBone:
> # ping localhost
> ping: bad address 'localhost'
After some trying and googling I found that the missing nsswitch.conf
caused this problem.
I am using toolchain Linard 2012_09, which obviously needs this file and
does not provide a useful default.
I do not know if nsswitch.conf is used/needed by all c-libraries, but I
think adding it to the skeleton should not do any harm.
Patch follows.
Kind regards
Stephan
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply
* [Buildroot] [PATCH] skeleton: add /etc/nsswitch.conf
From: Stephan Hoffmann @ 2012-12-02 17:13 UTC (permalink / raw)
To: buildroot
Toolchain Linaro 2012_09 and possibly other glibc based ones
rely on the existence of nsswitch.conf. If it's missing names
from /etc/hosts are not resolved and thus "localhost" is not
known.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
system/skeleton/etc/nsswitch.conf | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 system/skeleton/etc/nsswitch.conf
diff --git a/system/skeleton/etc/nsswitch.conf b/system/skeleton/etc/nsswitch.conf
new file mode 100644
index 0000000..d81e2f0
--- /dev/null
+++ b/system/skeleton/etc/nsswitch.conf
@@ -0,0 +1,17 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: files
+group: files
+shadow: files
+hosts: files dns
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
--
1.7.0.4
^ permalink raw reply related
* [Buildroot] [git commit] pkg-infra: introduce errors for legacy API
From: Thomas Petazzoni @ 2012-12-02 18:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87hao56vee.fsf@dell.be.48ers.dk>
On Sat, 01 Dec 2012 18:27:21 -0800, Peter Korsgaard wrote:
> I would call it a bug. I've fixed it like this:
>
> [PATCH] {rand,allyes}packageconfig: ensure legacy test options don't
> get enabled
>
> The legacy BR2_PACKAGE_* options in Config.in.legacy are not supposed to
> be user selectable, so {rand,allyes}packageconfig shouldn't enable them.
>
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Looks good, thanks. At least, the autobuilders are a lot happier now :-)
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] [PATCH] unexport PKG_CONFIG_SYSROOT_DIR
From: Charles Manning @ 2012-12-02 21:13 UTC (permalink / raw)
To: buildroot
If this is not done then pkg-config can get confused.
Thomas and Arnout really deserve the credit for this - I just did
the testing.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
---
Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 21aa054..758453a 100644
--- a/Makefile
+++ b/Makefile
@@ -172,6 +172,7 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
# Make sure pkg-config doesn't look outside the buildroot tree
unexport PKG_CONFIG_PATH
+unexport PKG_CONFIG_SYSROOT_DIR
# Having DESTDIR set in the environment confuses the installation
# steps of some packages.
--
1.7.1
^ permalink raw reply related
* [Buildroot] Problem building libglib2
From: Charles Manning @ 2012-12-02 22:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50B87033.7090609@mind.be>
On Friday 30 November 2012 21:37:07 Arnout Vandecappelle wrote:
> On 30/11/12 00:11, Thomas Petazzoni wrote:
> > Dear Arnout Vandecappelle,
> >
> > On Thu, 29 Nov 2012 21:27:56 +0100, Arnout Vandecappelle wrote:
> >> We could obviously solve this by unexporting PKG_CONFIG_SYSROOT_DIR,
> >> but perhaps the better approach is to remove those environment variables
> >> from our custom pkgconf?
> >
> > No, we use PKG_CONFIG_SYSROOT_DIR="/" when we build packages for the
> > host, so we can't simply remove support for the PKG_CONFIG_SYSROOT_DIR
> > environment variable. Unexporting PKG_CONFIG_SYSROOT_DIR sounds like
> > the good solution here.
>
> Right.
>
> Charles, would you care to prepare a patch that unexports
> PKG_CONFIG_SYSROOT_DIR and test it in your angstrom environment?
This works and I have submitted a patch.
Thanks
-- Charles
^ permalink raw reply
* [Buildroot] [git commit] libtool: undeprecate for now
From: Peter Korsgaard @ 2012-12-03 0:31 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=f619d5ba20ef46c57259f35a21bb98b7c85c35a4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Pulseaudio selects libtool, so get rid of the deprecated annotation so
people don't get warnings about unmet dependencies when exiting menuconfig.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/libtool/Config.in | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/package/libtool/Config.in b/package/libtool/Config.in
index 42df25b..d3cf2d7 100644
--- a/package/libtool/Config.in
+++ b/package/libtool/Config.in
@@ -1,7 +1,5 @@
config BR2_PACKAGE_LIBTOOL
bool "libtool"
- # We no longer support a toolchain on the target
- depends on BR2_DEPRECATED
help
Library that hides the complexity of using shared/static libraries
on different platforms behind a consistent, portable interface.
^ permalink raw reply related
* [Buildroot] [git commit] skeleton: add /etc/nsswitch.conf
From: Peter Korsgaard @ 2012-12-03 0:32 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=4c52ff1acfb2953f1ac40cdce4387b7d1d8cef14
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Toolchain Linaro 2012_09 and possibly other glibc based ones
rely on the existence of nsswitch.conf. If it's missing names
from /etc/hosts are not resolved and thus "localhost" is not
known.
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
system/skeleton/etc/nsswitch.conf | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/system/skeleton/etc/nsswitch.conf b/system/skeleton/etc/nsswitch.conf
new file mode 100644
index 0000000..d81e2f0
--- /dev/null
+++ b/system/skeleton/etc/nsswitch.conf
@@ -0,0 +1,17 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd: files
+group: files
+shadow: files
+hosts: files dns
+networks: files
+
+protocols: files
+services: files
+ethers: files
+rpc: files
+
^ permalink raw reply related
* [Buildroot] [git commit] unexport PKG_CONFIG_SYSROOT_DIR
From: Peter Korsgaard @ 2012-12-03 0:32 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=4f607edffda4835884f1f013f5d0ae0cb2eadeb7
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
If this is not done then pkg-config can get confused.
Thomas and Arnout really deserve the credit for this - I just did
the testing.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index b394fd5..87943b8 100644
--- a/Makefile
+++ b/Makefile
@@ -172,6 +172,7 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE
# Make sure pkg-config doesn't look outside the buildroot tree
unexport PKG_CONFIG_PATH
+unexport PKG_CONFIG_SYSROOT_DIR
# Having DESTDIR set in the environment confuses the installation
# steps of some packages.
^ permalink raw reply related
* [Buildroot] [git commit] Update for 2012.11
From: Peter Korsgaard @ 2012-12-03 0:33 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=d201b95d8c6aa4d21f8655361e12e98630be8c93
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
CHANGES | 10 ++++++++++
Makefile | 2 +-
docs/download.html | 10 +++++-----
docs/news.html | 9 +++++++++
4 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/CHANGES b/CHANGES
index 98fa5c2..2c357eb 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,13 @@
+2012.11, Released December 2nd, 2012:
+
+ Git shallow clone fix for older git version.
+
+ Updated/fixed packages: ctuio, libtool
+
+ Issues resolved (http://bugs.uclibc.org):
+
+ #5726: List all the available hook points
+
2012.11-rc2, Released November 30th, 2012:
Minor fixes around the tree.
diff --git a/Makefile b/Makefile
index 87943b8..9d9985f 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@
#--------------------------------------------------------------
# Set and export the version string
-export BR2_VERSION:=2012.11-rc2
+export BR2_VERSION:=2012.11
# Check for minimal make version (note: this check will break at make 10.x)
MIN_MAKE_VERSION=3.81
diff --git a/docs/download.html b/docs/download.html
index cdf5950..4cb01c9 100644
--- a/docs/download.html
+++ b/docs/download.html
@@ -6,13 +6,13 @@
<p>
-The latest stable release is <b>2012.08</b>, which can be downloaded
+The latest stable release is <b>2012.11</b>, which can be downloaded
here:<p>
-<a href="/downloads/buildroot-2012.08.tar.gz">buildroot-2012.08.tar.gz</a>
+<a href="/downloads/buildroot-2012.11.tar.gz">buildroot-2012.11.tar.gz</a>
or
-<a href="/downloads/buildroot-2012.08.tar.bz2">buildroot-2012.08.tar.bz2</a>.
-
+<a href="/downloads/buildroot-2012.11.tar.bz2">buildroot-2012.11.tar.bz2</a>.
+<!--
<p>
The latest release candidate is <b>2012.11-rc2</b>, which can be
downloaded here:<p>
@@ -21,7 +21,7 @@ downloaded here:<p>
or
<a href="/downloads/buildroot-2012.11-rc2.tar.bz2">buildroot-2012.11-rc2.tar.bz2</a>.
<p>
-
+-->
This and earlier releases can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.
diff --git a/docs/news.html b/docs/news.html
index 84f4cc3..7e791be 100644
--- a/docs/news.html
+++ b/docs/news.html
@@ -5,6 +5,15 @@
<p>
<ul>
+ <li><b>2 December 2012 -- 2012.11 released</b>
+
+ <p>The stable 2012.11 release is out - Thanks to everyone
+ contributing and testing the release candidates. See the
+ <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.11">CHANGES</a>
+ file for more details
+ and go to the <a href="/downloads/">downloads page</a> to pick up the
+ <a href="/downloads/buildroot-2012.11.tar.bz2">2012.11 release</a>.</p>
+
<li><b>30 November 2012 -- 2012.11-rc2 released</b>
<p>RC2 is out with more bugfixes - See the <a
^ permalink raw reply related
* [Buildroot] [PATCH] skeleton: add /etc/nsswitch.conf
From: Peter Korsgaard @ 2012-12-03 1:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354468412-29281-1-git-send-email-sho@relinux.de>
>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:
Stephan> Toolchain Linaro 2012_09 and possibly other glibc based ones
Stephan> rely on the existence of nsswitch.conf. If it's missing names
Stephan> from /etc/hosts are not resolved and thus "localhost" is not
Stephan> known.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] Allow selection of individual Liberation font sets
From: Charles Manning @ 2012-12-03 1:06 UTC (permalink / raw)
To: buildroot
We don't always want all the font sets on small systems.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
---
package/liberation/Config.in | 26 ++++++++++++++++++++++++++
package/liberation/liberation.mk | 28 +++++++++++++++++++++++++++-
2 files changed, 53 insertions(+), 1 deletions(-)
diff --git a/package/liberation/Config.in b/package/liberation/Config.in
index 48d4195..11be2b5 100644
--- a/package/liberation/Config.in
+++ b/package/liberation/Config.in
@@ -5,3 +5,29 @@ config BR2_PACKAGE_LIBERATION
three most commonly used fonts on Microsoft systems:
Times New Roman, Arial, and Courier New.
+config BR2_PACKAGE_LIBERATION_SELECT_ALL
+ bool "Select all Liberation fonts"
+ depends on BR2_PACKAGE_LIBERATION
+ default y
+ help
+ Select all Liberation fonts. Otherwise elect individual fonts
+
+if !BR2_PACKAGE_LIBERATION_SELECT_ALL
+
+menu "Individual Liberation Fonts"
+
+config BR2_PACKAGE_LIBERATION_SELECT_MONO
+ bool "Liberation Mono fonts"
+ default n
+
+config BR2_PACKAGE_LIBERATION_SELECT_SANS
+ bool "Liberation Sans fonts"
+ depends on !BR2_PACKAGE_LIBERATION_SELECT_ALL
+ default n
+
+config BR2_PACKAGE_LIBERATION_SELECT_SERIF
+ bool "Liberation Serif fonts"
+ default n
+endmenu
+
+endif
diff --git a/package/liberation/liberation.mk b/package/liberation/liberation.mk
index 7d55650..277d426 100644
--- a/package/liberation/liberation.mk
+++ b/package/liberation/liberation.mk
@@ -9,9 +9,35 @@ LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
+ifeq ($(BR2_PACKAGE_LIBERATION_SELECT_ALL),y)
+BR2_PACKAGE_LIBERATION_SELECT_MONO = y
+BR2_PACKAGE_LIBERATION_SELECT_SANS = y
+BR2_PACKAGE_LIBERATION_SELECT_SERIF = y
+endif
+
+ifeq ($(BR2_PACKAGE_LIBERATION_SELECT_MONO),y)
+define LIBERATION_INSTALL_MONO
+ $(INSTALL) -m 644 $(@D)/LiberationMono*.ttf $(LIBERATION_TARGET_DIR)
+endef
+endif
+
+ifeq ($(BR2_PACKAGE_LIBERATION_SELECT_SANS),y)
+define LIBERATION_INSTALL_SANS
+ $(INSTALL) -m 644 $(@D)/LiberationSans*.ttf $(LIBERATION_TARGET_DIR)
+endef
+endif
+
+ifeq ($(BR2_PACKAGE_LIBERATION_SELECT_SERIF),y)
+define LIBERATION_INSTALL_SERIF
+ $(INSTALL) -m 644 $(@D)/LiberationSerif*.ttf $(LIBERATION_TARGET_DIR)
+endef
+endif
+
define LIBERATION_INSTALL_TARGET_CMDS
+ $(LIBERATION_INSTALL_MONO)
+ $(LIBERATION_INSTALL_SANS)
+ $(LIBERATION_INSTALL_SERIF)
mkdir -p $(LIBERATION_TARGET_DIR)
- $(INSTALL) -m 644 $(@D)/*.ttf $(LIBERATION_TARGET_DIR)
endef
define LIBERATION_CLEAN_CMDS
--
1.7.1
^ permalink raw reply related
* [Buildroot] Buildroot 2012.11 released
From: Peter Korsgaard @ 2012-12-03 1:13 UTC (permalink / raw)
To: buildroot
Hi,
Buildroot is a simple tool for creating complete embedded Linux systems
(http://buildroot.net).
Buildroot 2012.11 is released - Go download it at:
http://buildroot.net/downloads/buildroot-2012.11.tar.gz
or
http://buildroot.net/downloads/buildroot-2012.11.tar.bz2
Or get it from Git:
git://git.buildroot.net/buildroot
After 3 months of development a new stable Buildroot release is
out. Significant changes are:
- Large number of new packages (43): at91bootstrap3, ccid & pscs-lite,
gnupg, opus, linux-pam, perl, python3, qemu, tirpc & rpcbind, ..
- Binutils 2.23.1, GCC 4.7.2. We're now defaulting to GCC 4.6. Newer
Codebench and Linaro external toolchains. Libtirpc support for modern
Glibc variants. Toolchain on target has been deprecated.
- Initial Aarch64 support. Xtensa support re-added.
- Defconfig updates for newer kernel / bootloader versions. Defconfig
for Boundarydevices nitrogen6x and QEMU mips64-malta.
- Manual has been reworked and extended.
- Lots of package license annotations.
And the usual package version updates and bug fixes. Thanks to the
http://autobuild.buildroot.net autobuilder setup by Thomas Petazzoni we
have been able to fix a lot of different build issues. See the CHANGES
file for details:
http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.11
Many thanks to all the people contributing to this release:
git shortlog -s -n 2012.08..
221 Peter Korsgaard
148 Gustavo Zacarias
133 Thomas Petazzoni
57 Allan W. Nielsen
48 Samuel Martin
43 Arnout Vandecappelle (Essensium/Mind)
30 Simon Dawson
19 Arnout Vandecappelle
15 Yegor Yefremov
14 Francois Perrad
13 Valentine Barshak
9 Maxime Ripard
7 Stephan Hoffmann
6 Jonathan Liu
6 Sagaert Johan
5 Mark Jackson
5 Will Newton
4 Chris Zankel
4 Danomi Manchego
4 Luca Ceresoli
4 Markos Chandras
4 Yann E. MORIN
3 Alexandre Belloni
3 Baruch Siach
3 Charles Manning
3 Marek Belisko
3 Richard Braun
3 Sven Neumann
3 Waldemar Rymarkiewicz
2 Alexander Khryukin
2 Gregory Hermant
2 J.C. Woltz
2 Kelvin Cheung
2 Stefan Froberg
2 Thiago Correa
2 Vellemans Noel
2 Zoltan Gyarmati
1 Alexander Varnin
1 Beno?t Th?baudeau
1 Davide Viti
1 Dimitry Golubovsky
1 Dmitry
1 Fabio Porcedda
1 Ismael Luceno
1 James Hogan
1 Jean-Christophe PLAGNIOL-VILLARD
1 Jean-Mickael Guerin
1 Jeremy Rosen
1 Ludovic Desroches
1 Maxime Hadjinlian
1 Mischa Jonker
1 Philippe Reynes
1 Stefan Fr?berg
1 Vivien Didelot
1 Waldemar Brodkorb
1 Xinglong Liao
1 gregory hermant
It has been quite a busy development cycle, with more than 850 commits,
lots of new packages and a number of large scale changes. We had a very
nice developer days connected to ELCE in Barcelona. See here for the
report:
http://lists.busybox.net/pipermail/buildroot/2012-November/061558.html
Next release will be 2013.02. Expect the first release candidate early
February, after the developers days which will take place right after
FOSDEM - And the final release towards the end of the month.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] Makefile: kickoff 2013.02 cycle
From: Peter Korsgaard @ 2012-12-03 1:19 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=677d5068b955cf713b73d285e41ec8eedbda8e38
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Patch is too large, so refusing to show it
^ permalink raw reply
* [Buildroot] [git commit] Merge branch 'next'
From: Peter Korsgaard @ 2012-12-03 1:19 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=8cdabd76950e227af088729c53c7f741a46bd9cc
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Kickoff 2013.02 cycle
^ permalink raw reply
* [Buildroot] [PATCH] unexport PKG_CONFIG_SYSROOT_DIR
From: Peter Korsgaard @ 2012-12-03 1:22 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354482784-31167-1-git-send-email-cdhmanning@gmail.com>
>>>>> "Charles" == Charles Manning <cdhmanning@gmail.com> writes:
Charles> If this is not done then pkg-config can get confused.
Charles> Thomas and Arnout really deserve the credit for this - I just did
Charles> the testing.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] reorder fs alphabetically
From: Peter Korsgaard @ 2012-12-03 7:19 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=d1692abc007d2c50568e885d7ab6a312e3f8ae1e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: J??r??my Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
fs/Config.in | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/Config.in b/fs/Config.in
index 94154ea..da4c5ff 100644
--- a/fs/Config.in
+++ b/fs/Config.in
@@ -1,15 +1,15 @@
menu "Filesystem images"
-source "fs/cramfs/Config.in"
source "fs/cloop/Config.in"
+source "fs/cpio/Config.in"
+source "fs/cramfs/Config.in"
source "fs/ext2/Config.in"
+source "fs/initramfs/Config.in"
+source "fs/iso9660/Config.in"
source "fs/jffs2/Config.in"
-source "fs/ubifs/Config.in"
+source "fs/romfs/Config.in"
source "fs/squashfs/Config.in"
source "fs/tar/Config.in"
-source "fs/cpio/Config.in"
-source "fs/iso9660/Config.in"
-source "fs/initramfs/Config.in"
-source "fs/romfs/Config.in"
+source "fs/ubifs/Config.in"
endmenu
^ permalink raw reply related
* [Buildroot] [PATCH] reorder fs alphabetically
From: Peter Korsgaard @ 2012-12-03 7:19 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354286667-19952-1-git-send-email-jeremy.rosen@openwide.fr>
>>>>> "J?r?my" == J?r?my Rosen <jeremy.rosen@openwide.fr> writes:
J?r?my> Signed-off-by: J?r?my Rosen <jeremy.rosen@openwide.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] package/cURL: fix static link whith openSSL
From: Peter Korsgaard @ 2012-12-03 7:21 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=61d322c3d258072460fddbab0b39c8bf4cc3e0bc
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
When openSSL is selected, cURL is configured to use it.
But in this case, the libcurl.pc file /forgets/ to require link
against -ldl.
This can happen, for example, when BR2_PREFER_STATIC_LIB is not set,
but an executable wants to be linked statically (for various reasons
which are irrelevant here).
Fix that by appending a 'Requires: openssl' line to libcurl.pc.in,
but only if openSSL is enabled.
As suggested by Arnout, do it in a post-patch hook, rather as a
post-install hook.
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/libcurl/libcurl.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index 8d8fdb4..888f6d0 100644
--- a/package/libcurl/libcurl.mk
+++ b/package/libcurl/libcurl.mk
@@ -25,17 +25,20 @@ else
LIBCURL_CONF_OPT += --without-ssl
endif
+define LIBCURL_FIX_DOT_PC
+ printf 'Requires: openssl\n' >>$(@D)/libcurl.pc.in
+endef
+LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_OPENSSL),LIBCURL_FIX_DOT_PC)
+
define LIBCURL_TARGET_CLEANUP
rm -rf $(TARGET_DIR)/usr/bin/curl-config \
$(if $(BR2_PACKAGE_CURL),,$(TARGET_DIR)/usr/bin/curl)
endef
-
LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP
define LIBCURL_STAGING_FIXUP_CURL_CONFIG
$(SED) "s,prefix=/usr,prefix=$(STAGING_DIR)/usr," $(STAGING_DIR)/usr/bin/curl-config
endef
-
LIBCURL_POST_INSTALL_STAGING_HOOKS += LIBCURL_STAGING_FIXUP_CURL_CONFIG
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH 01/51] package/cURL: fix static link whith openSSL
From: Peter Korsgaard @ 2012-12-03 7:21 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354146890-27380-2-git-send-email-yann.morin.1998@free.fr>
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Yann> When openSSL is selected, cURL is configured to use it.
Yann> But in this case, the libcurl.pc file /forgets/ to require link
Yann> against -ldl.
Yann> This can happen, for example, when BR2_PREFER_STATIC_LIB is not set,
Yann> but an executable wants to be linked statically (for various reasons
Yann> which are irrelevant here).
Yann> Fix that by appending a 'Requires: openssl' line to libcurl.pc.in,
Yann> but only if openSSL is enabled.
Yann> As suggested by Arnout, do it in a post-patch hook, rather as a
Yann> post-install hook.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox