* [Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
From: Yann E. MORIN @ 2011-10-07 18:10 UTC (permalink / raw)
To: buildroot
In-Reply-To: <5ce1be6b920b684e152c.1317999108@localhost6.localdomain6>
Thomas, All,
On Friday 07 October 2011 16:51:48 Thomas De Schampheleire wrote:
> Crosstool compilation fails when lzma is not present. If not present on the host
> system, we should compile one ourselves.
>
> This patch uses the already existing but seemingly unused check-host-lzma.sh
> script in toolchain/dependencies.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
NAK.
A better solution is to remove the check from crosstool-NG's ./configure.
It's the way I followed upstream.
In fact, it's a bit more complex than that. In the current development
version of crosstool-NG, ./configure still checks for lzma, but it is
not an error if it is missing.
lzma (and/or now xz-utils) are used in crosstool-NG for two things:
- apply the contributions in contrib/
- download lzma/xz-compressed tarballs if possible
For buildroot use-case, just removing the check is largely sufficient,
because buildroot does not use the contrib/ution in crosstool-NG, and
the download will not try .xz or .lzma, but directly try .bz2
So, this is a NAK on my part.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH v2] linux custom tarball: automatically detect a change in tarball configuration
From: Thomas De Schampheleire @ 2011-10-07 15:30 UTC (permalink / raw)
To: buildroot
When you specify a LINUX_TARBALL, the variable LINUX_VERSION will be set to
the fixed "custom". As a result, LINUX_DIR remains the same even though you
modified the .config file to specify a different tarball. When re-running
make, buildroot does not see the change because the stamp files still look
up-to-date, and you'll have to force building the new kernel in some way.
This patch overwrites LINUX_VERSION to include the LINUX_TARBALL string, If a
new custom tarball is configured, LINUX_DIR will be different, the old stamp
files will not matter, and buildroot will correctly start the build process for
the new kernel.
Although the resulting linux directory name in output/build will look strange, I
think that developers using the 'custom tarball' option will not mind given the
benefits of it.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
v2: take into account that LINUX_TARBALL may be an URL (thanks to Daniel Nystr?m
for the URL transformation suggestion).
linux/linux.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -10,6 +10,10 @@
LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
LINUX_SITE = $(dir $(LINUX_TARBALL))
LINUX_SOURCE = $(notdir $(LINUX_TARBALL))
+# Overwrite LINUX_VERSION so that LINUX_DIR becomes unique, in which case a
+# change in the LINUX_TARBALL configuration automatically gets picked up.
+LINUX_VERSION = custom-$(subst /,_,$(lastword $(subst ://, ,$(LINUX_TARBALL))))
+
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y)
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL))
LINUX_SITE_METHOD = git
^ permalink raw reply
* [Buildroot] [PATCH] lsof: bump to version 4.85
From: Gustavo Zacarias @ 2011-10-07 15:25 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
....84-makefile.patch => lsof-4.85-makefile.patch} | 0
...4-noportmap.patch => lsof-4.85-noportmap.patch} | 0
...flags.patch => lsof-4.85-override-cflags.patch} | 0
...tch => lsof-4.85-remove-susvlegacy-funcs.patch} | 0
package/lsof/lsof.mk | 3 ++-
5 files changed, 2 insertions(+), 1 deletions(-)
rename package/lsof/{lsof-4.84-makefile.patch => lsof-4.85-makefile.patch} (100%)
rename package/lsof/{lsof-4.84-noportmap.patch => lsof-4.85-noportmap.patch} (100%)
rename package/lsof/{lsof-4.84-override-cflags.patch => lsof-4.85-override-cflags.patch} (100%)
rename package/lsof/{lsof-4.84-remove-susvlegacy-funcs.patch => lsof-4.85-remove-susvlegacy-funcs.patch} (100%)
diff --git a/package/lsof/lsof-4.84-makefile.patch b/package/lsof/lsof-4.85-makefile.patch
similarity index 100%
rename from package/lsof/lsof-4.84-makefile.patch
rename to package/lsof/lsof-4.85-makefile.patch
diff --git a/package/lsof/lsof-4.84-noportmap.patch b/package/lsof/lsof-4.85-noportmap.patch
similarity index 100%
rename from package/lsof/lsof-4.84-noportmap.patch
rename to package/lsof/lsof-4.85-noportmap.patch
diff --git a/package/lsof/lsof-4.84-override-cflags.patch b/package/lsof/lsof-4.85-override-cflags.patch
similarity index 100%
rename from package/lsof/lsof-4.84-override-cflags.patch
rename to package/lsof/lsof-4.85-override-cflags.patch
diff --git a/package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch b/package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
similarity index 100%
rename from package/lsof/lsof-4.84-remove-susvlegacy-funcs.patch
rename to package/lsof/lsof-4.85-remove-susvlegacy-funcs.patch
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk
index 547382f..ff76f92 100644
--- a/package/lsof/lsof.mk
+++ b/package/lsof/lsof.mk
@@ -3,7 +3,8 @@
# lsof
#
#############################################################
-LSOF_VERSION = 4.84
+
+LSOF_VERSION = 4.85
LSOF_SOURCE = lsof_$(LSOF_VERSION).tar.bz2
LSOF_SITE = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
--
1.7.3.4
^ permalink raw reply related
* [Buildroot] [PATCH] crosstool-ng: add dependency to host-lzma if no lzma found
From: Thomas De Schampheleire @ 2011-10-07 14:51 UTC (permalink / raw)
To: buildroot
Crosstool compilation fails when lzma is not present. If not present on the host
system, we should compile one ourselves.
This patch uses the already existing but seemingly unused check-host-lzma.sh
script in toolchain/dependencies.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
I think the concept of first checking the host system, and only add a host-foo
dependency if needed is a common one. Therefore, I think we should consider
creating a function for it, something used like:
$(if $(call is-host-package-adequate,foo),,host-foo)
This function would return the path to the existing host package, if any, or
the empty string otherwise. The name for such a function is open for discussion
:-)
This mechanism could then be used to check for a recent-enough tar version
(recall from a previous patch series, old tar versions can cause problems when
unpacking archives containing hard-links, if the --strip-components option is
used).
Comments/suggestions are welcome...
diff --git a/package/crosstool-ng/crosstool-ng.mk b/package/crosstool-ng/crosstool-ng.mk
--- a/package/crosstool-ng/crosstool-ng.mk
+++ b/package/crosstool-ng/crosstool-ng.mk
@@ -4,6 +4,6 @@
CROSSTOOL_NG_INSTALL_STAGING = NO
CROSSTOOL_NG_INSTALL_TARGET = NO
CROSSTOOL_NG_MAKE = $(MAKE1)
-HOST_CROSSTOOL_NG_DEPENDENCIES = host-gawk host-automake $(if $(BR2_CCACHE),host-ccache)
+HOST_CROSSTOOL_NG_DEPENDENCIES = host-gawk host-automake $(if $(BR2_CCACHE),host-ccache) $(if $(shell toolchain/dependencies/check-host-lzma.sh),,host-lzma)
$(eval $(call AUTOTARGETS,package,crosstool-ng,host))
^ permalink raw reply
* [Buildroot] configure error with dependency
From: Klaus Schwarzkopf @ 2011-10-07 14:38 UTC (permalink / raw)
To: buildroot
Hi,
how can i solve the following error in the attached patch?
configure: error: icon-naming-utils >= 0.8.90 is required to build
and install tango-icon-theme
Regards,
Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-package-tango-icon-theme-and-dependency-icon-nam.patch
Type: text/x-patch
Size: 3537 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111007/a4886774/attachment-0001.bin>
^ permalink raw reply
* [Buildroot] Incorrect sysroot?
From: Ether Brat @ 2011-10-07 13:15 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20111007143904.3efef718@skate>
The external toolchain was built using Atmel's AVR32 buildroot which can
be downloaded from http://www.atmel.no/buildroot/buildroot-src.html
It compiles runnable c code, and compiles c++ code which I cannot run on
the target because the target's image does not include libstdc++
The (ICnova) buildroot in which I am attempting using the Atmel
toolchain is intended to produce an image containing libstdc++. This
buildroot was sourced from the target board's manufacturer. For some
reason, it will not produce a viable cross-toolchain. That is why I am
attempting to use the Atmel toolchain as an external toolchain.
On Fri, 2011-10-07 at 14:39 +0200, Thomas Petazzoni wrote:
> Le Fri, 7 Oct 2011 22:22:56 +1000,
> Ether Brat <etherbrat@hotmail.com> a ?crit :
>
> > I am trying to use buildroot with an external toolchain.
> >
> > The following output from buildroot seems to indicate that sysroot has
> > not been set up correctly:
> >
> > =====<quote>
> > checking for avr32-linux-gcc...
> > /home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/bin/avr32-linux-gcc
>
> This looks like a path of a relatively recent Buildroot.
>
> > -I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
>
> And this a path from a very old Buildroot.
>
> Aren't you mixing two Buildroot versions here ? Can you detail where
> your external toolchain is coming from, where we can get it ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH] libnfc
From: vignesh rajendran @ 2011-10-07 12:59 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAG7bwAK-Wg9OeNByvTh9ZahSE8zMyKYGJujOvZOufMw1TPVJrw@mail.gmail.com>
Add dependency as readline also.
Regards
Vignesh Rajendran
On Wed, Jul 13, 2011 at 8:19 AM, Dwi Sasongko Supriyadi
<ruckuus@gmail.com>wrote:
> On Wed, Jul 13, 2011 at 3:15 PM, <ruckuus@gmail.com> wrote:
> > From: Dwi Sasongko S <ruckuus@gmail.com>
> >
> > Public platform independent Near Field Communication (NFC)
> > library.
> >
> > For more info, visit project homepage:
> > http://www.libnfc.org
> >
> > Compatibility:
> > http://www.libnfc.org/documentation/hardware/compatibility
> >
> > Signed-off-by: Dwi Sasongko S <ruckuus@gmail.com>
> > ---
> > package/Config.in | 1 +
> > package/libnfc/Config.in | 5 +++++
> > package/libnfc/libnfc.mk | 13 +++++++++++++
> > 3 files changed, 19 insertions(+), 0 deletions(-)
> > create mode 100644 package/libnfc/Config.in
> > create mode 100644 package/libnfc/libnfc.mk
> >
> > diff --git a/package/Config.in b/package/Config.in
> > index d6767d6..7ab69d4 100644
> > --- a/package/Config.in
> > +++ b/package/Config.in
> > @@ -339,6 +339,7 @@ source "package/liboil/Config.in"
> > source "package/libsigc/Config.in"
> > source "package/startup-notification/Config.in"
> > source "package/ccid/Config.in"
> > +source "package/libnfc/Config.in"
> > endmenu
> >
> > menu "Text and terminal handling"
> > diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in
> > new file mode 100644
> > index 0000000..2f62691
> > --- /dev/null
> > +++ b/package/libnfc/Config.in
> > @@ -0,0 +1,5 @@
> > +config BR2_PACKAGE_LIBNFC
> > + bool "libnfc"
> > + help
> > + Middleware to be used with PC/SC
> > +
> > diff --git a/package/libnfc/libnfc.mk b/package/libnfc/libnfc.mk
> > new file mode 100644
> > index 0000000..608f8fc
> > --- /dev/null
> > +++ b/package/libnfc/libnfc.mk
> > @@ -0,0 +1,13 @@
> > +##########################################################
> > +#
> > +# libnfc
> > +#
> > +##########################################################
> > +LIBNFC_VERSION = 1.4.2
> > +LIBNFC_SOURCE = libnfc-$(LIBNFC_VERSION).tar.gz
> > +LIBNFC_SITE = http://libnfc.googlecode.com/files
> > +LIBNFC_INSTALL_STAGING = YES
> > +LIBNFC_INSTALL_TARGET = YES
> > +LIBNFC_DEPENDENCIES = host-pkg-config pcsc-lite libusb
> > +
> > +$(eval $(call AUTOTARGETS,package,libnfc))
> > --
> > 1.7.0.4
> >
> >
>
> I am sorry,
>
> This patch should *not* have been sent.
>
> I will take care for further submission.
>
>
> --
> Dwi Sasongko S
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20111007/7d5385fb/attachment.html>
^ permalink raw reply
* [Buildroot] Incorrect sysroot?
From: Thomas Petazzoni @ 2011-10-07 12:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <BLU0-SMTP205DA131C115414D017385BA4FE0@phx.gbl>
Le Fri, 7 Oct 2011 22:22:56 +1000,
Ether Brat <etherbrat@hotmail.com> a ?crit :
> I am trying to use buildroot with an external toolchain.
>
> The following output from buildroot seems to indicate that sysroot has
> not been set up correctly:
>
> =====<quote>
> checking for avr32-linux-gcc...
> /home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/bin/avr32-linux-gcc
This looks like a path of a relatively recent Buildroot.
> -I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
And this a path from a very old Buildroot.
Aren't you mixing two Buildroot versions here ? Can you detail where
your external toolchain is coming from, where we can get it ?
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 2/4] Add Transmission package
From: Maxime Ripard @ 2011-10-07 12:34 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87botvnr6s.fsf@macbook.be.48ers.dk>
Hi Peter,
On 05/10/2011 22:01, Peter Korsgaard wrote:
>>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:
>
> Maxime> From: Maxime Ripard <maxime@free-electrons.com>
> Maxime> Signed-off-by: Maxime Ripard <maxime@free-electrons.com>
>
> Isn't this based on some of the earlier transmission patches? If so, it
> would be good to give those authors some credits.
Indeed, I've taken as a base as a base patches from
https://bugs.busybox.net/show_bug.cgi?id=743, and kept the authorship
for the init script, but for the .mk, as it was
incomplete/trivial/outdated, I did not mentionned authorship. Should I ?
> Maxime> +++ b/package/transmission/transmission.mk
> Maxime> @@ -0,0 +1,47 @@
> Maxime> +#############################################################
> Maxime> +#
> Maxime> +# transmission
> Maxime> +#
> Maxime> +#############################################################
> Maxime> +TRANSMISSION_VERSION = 2.33
> Maxime> +TRANSMISSION_SITE = http://download.transmissionbt.com/files/
> Maxime> +TRANSMISSION_SOURCE = transmission-$(TRANSMISSION_VERSION).tar.bz2
> Maxime> +TRANSMISSION_DEPENDENCIES = \
> Maxime> + host-pkg-config \
> Maxime> + libcurl \
> Maxime> + libevent \
> Maxime> + openssl \
> Maxime> + zlib
> Maxime> +
> Maxime> +TRANSMISSION_CONF_OPT = \
> Maxime> + --disable-gtk \
> Maxime> + --disable-libnotify \
> Maxime> + --disable-nls \
>
> --disable-nls is normally handled automatically (depending on if the
> toolchain has locale support or not - See package/Makefile.in).
Ah, nice :)
> Maxime> + --enable-lightweight
> Maxime> +
> Maxime> +define TRANSMISSION_INIT_SCRIPT_INSTALL
> Maxime> + $(INSTALL) -m 0755 -D package/transmission/S92transmission \
> Maxime> + $(TARGET_DIR)/etc/init.d/S92transmission
>
> The init script seems to have some configuration settings which might
> not suit everyone. For those cases we typically only install the file if
> it isn't already present in the rootfs skeleton - E.G. something like:
>
> [ -f $(TARGET_DIR)/etc/init.d/S92transmission ] || $(INSTALL) -m 0755 -D ..
You're right, will do.
>
> Maxime> +ifeq ($(BR2_PACKAGE_TRANSMISSION_REMOTE),y)
> Maxime> + TRANSMISSION_CONF_OPT += --enable-remote
> Maxime> +else
> Maxime> + TRANSMISSION_CONF_OPT += --disable-remote
> Maxime> + TRANSMISSION_POST_INSTALL_TARGET_HOOKS += TRANSMISSION_INIT_SCRIPT_INSTALL
>
> I don't really know transmission, but why is the init script only
> installed if this option isn't enabled? Transmission is a server
> (daemon), right? Presumably we should either have an option to not
> install the server (so you can use the -remote program to talk to a
> server on another machine). If we do that, the CLI option should depend
> on the server one.
As far as i can tell, the real back-end for transmission is
libtransmission, not transmission-daemon. transmission-daemon relies on
libtransmission just like transmission-gtk, but are both independant
from each other. But in order to control transmission-daemon, you might
need transmission-remote.
Maxime
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply
* [Buildroot] Incorrect sysroot?
From: Ether Brat @ 2011-10-07 12:22 UTC (permalink / raw)
To: buildroot
I am trying to use buildroot with an external toolchain.
The following output from buildroot seems to indicate that sysroot has
not been set up correctly:
=====<quote>
checking for avr32-linux-gcc...
/home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/bin/avr32-linux-gcc
-Os -pipe -Os
-I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/include
-I/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/usr/include
-I/home/neil/Projects/Atmel-buildroot-avr32-v3.0.0-1-1/output/staging/usr/avr32-linux/include
--sysroot /home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/staging_dir/
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: ***
[/home/neil/Projects/ICnova-20110104-2/ICnova/build_avr32/gdbserver-6.7.1/.configured]
Error 77
=====<unquote>
The correct compiler has been invoked, but sysroot is not pointing to
the correct container for the compatible .../lib (which sits beside
the .../bin directory containing the compiler (actually a simlink to
ccache).
Is my understanding correct? How can I fix this?
^ permalink raw reply
* [Buildroot] [PATCH 1/2] directfb: bump to version 1.4.15
From: Peter Korsgaard @ 2011-10-07 11:32 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1317725477-1694-1-git-send-email-s.neumann@raumfeld.com>
>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
Sven> Remove patch that has been included upstream.
Committed all 3, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] sawman: bump to version 1.4.15
From: Peter Korsgaard @ 2011-10-07 11:29 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=9db9779a3f240b10bb4f1a3e649f1829b6f35c6b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/sawman/sawman.mk | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/package/sawman/sawman.mk b/package/sawman/sawman.mk
index 71d52ae..504cc9e 100644
--- a/package/sawman/sawman.mk
+++ b/package/sawman/sawman.mk
@@ -3,11 +3,10 @@
# SAWMAN
#
#############################################################
-SAWMAN_VERSION:=1.4.11
-SAWMAN_SOURCE:=SaWMan-$(SAWMAN_VERSION).tar.gz
-SAWMAN_SITE:=http://www.directfb.org/downloads/Extras
+SAWMAN_VERSION = 1.4.15
+SAWMAN_SOURCE = SaWMan-$(SAWMAN_VERSION).tar.gz
+SAWMAN_SITE = http://www.directfb.org/downloads/Extras
SAWMAN_INSTALL_STAGING = YES
SAWMAN_DEPENDENCIES = directfb
$(eval $(call AUTOTARGETS))
-
^ permalink raw reply related
* [Buildroot] [git commit] linux-fusion: bump to version 8.7.0
From: Peter Korsgaard @ 2011-10-07 11:29 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=16c8c56ade8a3ec0d9974a59cb08620d34c9c616
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Remove patch that has become obsolete.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
...ux-fusion-8.1.2-fix-warnings-at-link-time.patch | 40 --------------------
package/linux-fusion/linux-fusion.mk | 2 +-
2 files changed, 1 insertions(+), 41 deletions(-)
diff --git a/package/linux-fusion/linux-fusion-8.1.2-fix-warnings-at-link-time.patch b/package/linux-fusion/linux-fusion-8.1.2-fix-warnings-at-link-time.patch
deleted file mode 100644
index 7c46eaf..0000000
--- a/package/linux-fusion/linux-fusion-8.1.2-fix-warnings-at-link-time.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 7884688ba7a2e4cb7772cbedb34245a7fc9bf9d9 Mon Sep 17 00:00:00 2001
-From: Lionel Landwerlin <llandwerlin@gmail.com>
-Date: Wed, 3 Nov 2010 10:25:17 +0100
-Subject: [PATCH] Fix warnings at link time
-
-Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
----
- linux/drivers/char/fusion/entries.c | 2 +-
- linux/drivers/char/fusion/fusiondev.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/linux/drivers/char/fusion/entries.c b/linux/drivers/char/fusion/entries.c
-index 11edd43..8d102cf 100644
---- a/linux/drivers/char/fusion/entries.c
-+++ b/linux/drivers/char/fusion/entries.c
-@@ -28,7 +28,7 @@
- #include "fusiondev.h"
- #include "entries.h"
-
--struct timeval now;
-+static struct timeval now;
-
- void
- fusion_entries_init(FusionEntries * entries,
-diff --git a/linux/drivers/char/fusion/fusiondev.c b/linux/drivers/char/fusion/fusiondev.c
-index 2457bc1..7c7680d 100644
---- a/linux/drivers/char/fusion/fusiondev.c
-+++ b/linux/drivers/char/fusion/fusiondev.c
-@@ -64,7 +64,7 @@
- MODULE_LICENSE("GPL");
- MODULE_AUTHOR("Denis Oliver Kropp <dok@directfb.org>");
-
--struct proc_dir_entry *proc_fusion_dir;
-+static struct proc_dir_entry *proc_fusion_dir;
-
- static int fusion_major = FUSION_MAJOR;
-
---
-1.6.0.6
-
diff --git a/package/linux-fusion/linux-fusion.mk b/package/linux-fusion/linux-fusion.mk
index 4dba98f..2e62dba 100644
--- a/package/linux-fusion/linux-fusion.mk
+++ b/package/linux-fusion/linux-fusion.mk
@@ -3,7 +3,7 @@
# linux-fusion
#
#############################################################
-LINUX_FUSION_VERSION = 8.1.2
+LINUX_FUSION_VERSION = 8.7.0
LINUX_FUSION_SOURCE = linux-fusion-$(LINUX_FUSION_VERSION).tar.gz
LINUX_FUSION_SITE = http://directfb.org/downloads/Core/linux-fusion
LINUX_FUSION_INSTALL_STAGING = YES
^ permalink raw reply related
* [Buildroot] [git commit] directfb: bump to version 1.4.15
From: Peter Korsgaard @ 2011-10-07 11:15 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=3b661b77212f08117b21c9fa3101fe101f864ea3
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Remove patch that has been included upstream.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
.../directfb/directfb-1.4.13-ppc-compile-fix.patch | 17 -----------------
package/directfb/directfb.mk | 2 +-
2 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/package/directfb/directfb-1.4.13-ppc-compile-fix.patch b/package/directfb/directfb-1.4.13-ppc-compile-fix.patch
deleted file mode 100644
index 2514eae..0000000
--- a/package/directfb/directfb-1.4.13-ppc-compile-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- lib/direct/ppcasm_memcpy_cachable.S | 2 --
- 1 file changed, 2 deletions(-)
-
-Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
-===================================================================
---- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
-+++ DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
-@@ -34,8 +34,6 @@
-
- #define __ASSEMBLY__
-
--#include <linux/config.h>
--
- #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
- #define L1_CACHE_LINE_SIZE 16
- #define LG_L1_CACHE_LINE_SIZE 4
diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
index af64542..977d272 100644
--- a/package/directfb/directfb.mk
+++ b/package/directfb/directfb.mk
@@ -4,7 +4,7 @@
#
#############################################################
DIRECTFB_VERSION_MAJOR = 1.4
-DIRECTFB_VERSION = $(DIRECTFB_VERSION_MAJOR).13
+DIRECTFB_VERSION = $(DIRECTFB_VERSION_MAJOR).15
DIRECTFB_SITE = http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSION_MAJOR)
DIRECTFB_SOURCE = DirectFB-$(DIRECTFB_VERSION).tar.gz
DIRECTFB_AUTORECONF = YES
^ permalink raw reply related
* [Buildroot] [PATCH] libevent: bump version to 2.0.14
From: Peter Korsgaard @ 2011-10-07 11:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F39DCFEC78@AUSP01VMBX24.collaborationhost.net>
>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:
H> Released 2011-08-31. Mostly bugfixes.
H> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] libevent: bump version to 2.0.14
From: Peter Korsgaard @ 2011-10-07 11:12 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=8181103018e3d655965866e975bba0143bb66d09
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Released 2011-08-31. Mostly bugfixes.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/libevent/libevent.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
index 31122fe..76fb627 100644
--- a/package/libevent/libevent.mk
+++ b/package/libevent/libevent.mk
@@ -3,9 +3,9 @@
# libevent
#
#############################################################
-LIBEVENT_VERSION = 2.0.13
+LIBEVENT_VERSION = 2.0.14
LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
-LIBEVENT_SITE = http://monkey.org/~provos/
+LIBEVENT_SITE = https://github.com/downloads/libevent/libevent
LIBEVENT_AUTORECONF = NO
LIBEVENT_INSTALL_STAGING = YES
^ permalink raw reply related
* [Buildroot] Add 'pv' (Pipe-Viewer) to BuildRoot
From: Peter Korsgaard @ 2011-10-07 8:21 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1317971066.3800.2.camel@roelpc.telenet.be>
>>>>> "Roeland" == Roeland Van Praet <roelvp@mind.be> writes:
Roeland> diff -ruN a/package/Config.in b/package/Config.in
Committed, thanks. In the future, don't forget to sign off on your
patches (git commit -s / format-patch -s)
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] package: add 'pv' (Pipe-Viewer)
From: Peter Korsgaard @ 2011-10-07 8:19 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=7f7cff5239a29e9a8e6436650ea4fad3a736d90d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Roeland Van Praet <roelvp@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/pv/Config.in | 8 ++++++++
package/pv/pv-1.2.0-fixld.patch | 21 +++++++++++++++++++++
package/pv/pv.mk | 11 +++++++++++
4 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 173e19d..904ebb6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -31,6 +31,7 @@ source "package/oprofile/Config.in"
source "package/strace/Config.in"
source "package/whetstone/Config.in"
source "package/valgrind/Config.in"
+source "package/pv/Config.in"
endmenu
menu "Development tools"
diff --git a/package/pv/Config.in b/package/pv/Config.in
new file mode 100644
index 0000000..671f78e
--- /dev/null
+++ b/package/pv/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PV
+ bool "pv"
+ help
+ Pipe Viewer - is a terminal-based tool for
+ monitoring the progress of data through a
+ pipeline.
+
+ http://www.ivarch.com/programs/pv.shtml
diff --git a/package/pv/pv-1.2.0-fixld.patch b/package/pv/pv-1.2.0-fixld.patch
new file mode 100644
index 0000000..9df279d
--- /dev/null
+++ b/package/pv/pv-1.2.0-fixld.patch
@@ -0,0 +1,21 @@
+[PATCH] fix linker variable
+
+The linker variable LD was always set to 'ld' instead of the value from
+the environment. This breaks any linking, especially when dealing with
+a cross-compiler toolchain.
+The fix takes the CC variable and changes the 'gcc' extension to 'ld'.
+
+Signed-off-by: Roeland Van Praet <roelvp@mind.be>
+---
+diff -ruN a/autoconf/make/vars.mk b/autoconf/make/vars.mk
+--- a/autoconf/make/vars.mk 2010-03-11 00:43:19.000000000 +0100
++++ b/autoconf/make/vars.mk 2011-10-06 15:47:18.000000000 +0200
+@@ -30,7 +30,7 @@
+ @SET_MAKE@
+ SHELL = /bin/sh
+ CC = @CC@
+-LD = ld
++LD = $(CC:gcc=ld)
+ DO_GZIP = @DO_GZIP@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
diff --git a/package/pv/pv.mk b/package/pv/pv.mk
new file mode 100644
index 0000000..5f15f5b
--- /dev/null
+++ b/package/pv/pv.mk
@@ -0,0 +1,11 @@
+#######################
+#
+# pv - Pipe Viewer
+#
+#######################
+
+PV_VERSION = 1.2.0
+PV_SOURCE = pv-$(PV_VERSION).tar.bz2
+PV_SITE = http://pipeviewer.googlecode.com/files
+
+$(eval $(call AUTOTARGETS))
^ permalink raw reply related
* [Buildroot] Add 'pv' (Pipe-Viewer) to BuildRoot
From: Roeland Van Praet @ 2011-10-07 7:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1317920141.3905.1.camel@roelpc.telenet.be>
diff -ruN a/package/Config.in b/package/Config.in
--- a/package/Config.in 2011-10-06 16:47:32.000000000 +0200
+++ b/package/Config.in 2011-10-06 16:47:47.000000000 +0200
@@ -31,6 +31,7 @@
source "package/strace/Config.in"
source "package/whetstone/Config.in"
source "package/valgrind/Config.in"
+source "package/pv/Config.in"
endmenu
menu "Development tools"
diff -ruN a/package/pv/Config.in b/package/pv/Config.in
--- a/package/pv/Config.in 1970-01-01 01:00:00.000000000 +0100
+++ b/package/pv/Config.in 2011-10-07 08:36:52.000000000 +0200
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PV
+ bool "pv"
+ help
+ Pipe Viewer - is a terminal-based tool for
+ monitoring the progress of data through a
+ pipeline.
+
+ http://www.ivarch.com/programs/pv.shtml
diff -ruN a/package/pv/pv-1.2.0-fixld.patch b/package/pv/pv-1.2.0-fixld.patch
--- a/package/pv/pv-1.2.0-fixld.patch 1970-01-01 01:00:00.000000000 +0100
+++ b/package/pv/pv-1.2.0-fixld.patch 2011-10-07 08:39:12.000000000 +0200
@@ -0,0 +1,21 @@
+[PATCH] fix linker variable
+
+The linker variable LD was always set to 'ld' instead of the value from
+the environment. This breaks any linking, especially when dealing with
+a cross-compiler toolchain.
+The fix takes the CC variable and changes the 'gcc' extension to 'ld'.
+
+Signed-off-by: Roeland Van Praet <roelvp@mind.be>
+---
+diff -ruN a/autoconf/make/vars.mk b/autoconf/make/vars.mk
+--- a/autoconf/make/vars.mk 2010-03-11 00:43:19.000000000 +0100
++++ b/autoconf/make/vars.mk 2011-10-06 15:47:18.000000000 +0200
+@@ -30,7 +30,7 @@
+ @SET_MAKE@
+ SHELL = /bin/sh
+ CC = @CC@
+-LD = ld
++LD = $(CC:gcc=ld)
+ DO_GZIP = @DO_GZIP@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
diff -ruN a/package/pv/pv.mk b/package/pv/pv.mk
--- a/package/pv/pv.mk 1970-01-01 01:00:00.000000000 +0100
+++ b/package/pv/pv.mk 2011-10-07 08:45:45.000000000 +0200
@@ -0,0 +1,11 @@
+#######################
+#
+# pv - Pipe Viewer
+#
+#######################
+
+PV_VERSION = 1.2.0
+PV_SOURCE = pv-$(PV_VERSION).tar.bz2
+PV_SITE = http://pipeviewer.googlecode.com/files
+
+$(eval $(call AUTOTARGETS))
^ permalink raw reply
* [Buildroot] [PATCHv4] package: add the poco C++ libraries collection
From: Peter Korsgaard @ 2011-10-07 7:01 UTC (permalink / raw)
To: buildroot
In-Reply-To: <854bf06beba00ffd6f7db32329490f0374347b3d.1317715247.git.baruch@tkos.co.il>
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:
Baruch> Add the C++ Portable Components libraries.
Baruch> The Data/ODBC components is disabled because its dependency (unixODBC) is not
Baruch> in Buildroot.
Baruch> The Data/MySQL component is build tested only. It probably requires an
Baruch> additional RPATH to actually run, because libmysqlclient resides in a
Baruch> non-standard location under /usr/lib/mysql.
Baruch> diff --git a/package/poco/Config.in b/package/poco/Config.in
Baruch> new file mode 100644
Baruch> index 0000000..a815a09
Baruch> --- /dev/null
Baruch> +++ b/package/poco/Config.in
Baruch> @@ -0,0 +1,57 @@
Baruch> +config BR2_PACKAGE_POCO
Baruch> + bool "poco"
Baruch> + select BR2_PACKAGE_ZLIB
Baruch> + select BR2_PACKAGE_PCRE
Baruch> + select BR2_INSTALL_LIBSTDCPP
Baruch> + select BR2_USE_WCHAR
We use 'depends on' for toolchain options, as you cannot easily change
those. Other than that it looks good, committed - Thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] package: add the poco C++ libraries collection
From: Peter Korsgaard @ 2011-10-06 22:44 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=811fab1b26f7590c2696801b82347767bbbc0809
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Add the C++ Portable Components libraries.
The Data/ODBC components is disabled because its dependency (unixODBC) is not
in Buildroot.
The Data/MySQL component is build tested only. It probably requires an
additional RPATH to actually run, because libmysqlclient resides in a
non-standard location under /usr/lib/mysql.
[Peter: use depends on for toolchain options]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/Config.in | 1 +
package/poco/Config.in | 57 ++++++++++++++
.../poco/poco-1.4.2p1-add-cross-build-config.patch | 82 ++++++++++++++++++++
.../poco-1.4.2p1-add-staging-search-path.patch | 22 +++++
.../poco/poco-1.4.2p1-dont-build-debug-libs.patch | 19 +++++
package/poco/poco.mk | 57 ++++++++++++++
6 files changed, 238 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index 7dfcc55..173e19d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -354,6 +354,7 @@ source "package/libnspr/Config.in"
source "package/liboil/Config.in"
source "package/libsigc/Config.in"
source "package/orc/Config.in"
+source "package/poco/Config.in"
source "package/startup-notification/Config.in"
endmenu
diff --git a/package/poco/Config.in b/package/poco/Config.in
new file mode 100644
index 0000000..241e304
--- /dev/null
+++ b/package/poco/Config.in
@@ -0,0 +1,57 @@
+config BR2_PACKAGE_POCO
+ bool "poco"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_PCRE
+ help
+ The C++ Portable Components Libraries
+
+ http://pocoproject.org
+
+if BR2_PACKAGE_POCO
+
+comment "poco components"
+
+config BR2_PACKAGE_POCO_XML
+ bool "xml"
+ select BR2_PACKAGE_EXPAT
+
+config BR2_PACKAGE_POCO_UTIL
+ bool "util"
+ select BR2_PACKAGE_POCO_XML
+
+config BR2_PACKAGE_POCO_NET
+ bool "net"
+
+config BR2_PACKAGE_POCO_CRYPTO
+ bool "crypto"
+ select BR2_PACKAGE_OPENSSL
+
+config BR2_PACKAGE_POCO_NETSSL_OPENSSL
+ bool "netssl_openssl"
+ select BR2_PACKAGE_POCO_NET
+ select BR2_PACKAGE_POCO_CRYPTO
+ select BR2_PACKAGE_POCO_UTIL
+ select BR2_PACKAGE_OPENSSL
+
+config BR2_PACKAGE_POCO_ZIP
+ bool "zip"
+
+config BR2_PACKAGE_POCO_DATA
+ bool
+
+config BR2_PACKAGE_POCO_DATA_SQLITE
+ bool "sqlite"
+ select BR2_PACKAGE_POCO_DATA
+ select BR2_PACKAGE_SQLITE
+
+config BR2_PACKAGE_POCO_DATA_MYSQL
+ bool "mysql"
+ select BR2_PACKAGE_POCO_DATA
+ select BR2_PACKAGE_MYSQL_CLIENT
+
+endif # BR2_PACKAGE_POCO
+
+comment "poco requires a toolchain with WCHAR and C++ support"
+ depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
diff --git a/package/poco/poco-1.4.2p1-add-cross-build-config.patch b/package/poco/poco-1.4.2p1-add-cross-build-config.patch
new file mode 100644
index 0000000..a087838
--- /dev/null
+++ b/package/poco/poco-1.4.2p1-add-cross-build-config.patch
@@ -0,0 +1,82 @@
+From: Baruch Siach <baruch@tkos.co.il>
+Subject: [PATCH] poco: add Linux configuration file for generic cross build
+
+This patch adds the Linux-CrossEnv config file to poco. This file is identical
+to the Linux one, except the added CROSSENV variable that allows setting of
+the toolchain prefix.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+diff -Nuar poco-1.4.1p1-dist/build/config/Linux-CrossEnv poco-1.4.1p1/build/config/Linux-CrossEnv
+--- poco-1.4.1p1-dist/build/config/Linux-CrossEnv 1970-01-01 02:00:00.000000000 +0200
++++ poco-1.4.1p1/build/config/Linux-CrossEnv 2011-08-02 18:51:03.682047719 +0300
+@@ -0,0 +1,69 @@
++#
++# Linux
++#
++# Make settings for cross compiled Linux
++#
++#
++
++#
++# General Settings
++#
++LINKMODE ?= SHARED
++
++#
++# Define Tools
++#
++CC = $(CROSSENV)gcc
++CXX = $(CROSSENV)g++
++LINK = $(CXX)
++LIB = $(CROSSENV)ar -cr
++RANLIB = $(CROSSENV)ranlib
++SHLIB = $(CXX) -shared -Wl,-soname,$(notdir $@) -o $@
++SHLIBLN = $(POCO_BASE)/build/script/shlibln
++STRIP = $(CROSSENV)strip
++DEP = $(POCO_BASE)/build/script/makedepend.gcc
++SHELL = sh
++RM = rm -rf
++CP = cp
++MKDIR = mkdir -p
++
++#
++# Extension for Shared Libraries
++#
++SHAREDLIBEXT = .so.$(target_version)
++SHAREDLIBLINKEXT = .so
++
++#
++# Compiler and Linker Flags
++#
++CFLAGS =
++CFLAGS32 =
++CFLAGS64 =
++CXXFLAGS = -Wall -Wno-sign-compare
++CXXFLAGS32 =
++CXXFLAGS64 =
++LINKFLAGS =
++LINKFLAGS32 =
++LINKFLAGS64 =
++STATICOPT_CC =
++STATICOPT_CXX =
++STATICOPT_LINK = -static
++SHAREDOPT_CC = -fPIC
++SHAREDOPT_CXX = -fPIC
++SHAREDOPT_LINK = -Wl,-rpath,$(LIBPATH)
++DEBUGOPT_CC = -g -D_DEBUG
++DEBUGOPT_CXX = -g -D_DEBUG
++DEBUGOPT_LINK = -g
++RELEASEOPT_CC = -O2 -DNDEBUG
++RELEASEOPT_CXX = -O2 -DNDEBUG
++RELEASEOPT_LINK = -O2
++
++#
++# System Specific Flags
++#
++SYSFLAGS = -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL
++
++#
++# System Specific Libraries
++#
++SYSLIBS = -lpthread -ldl -lrt
diff --git a/package/poco/poco-1.4.2p1-add-staging-search-path.patch b/package/poco/poco-1.4.2p1-add-staging-search-path.patch
new file mode 100644
index 0000000..18ee076
--- /dev/null
+++ b/package/poco/poco-1.4.2p1-add-staging-search-path.patch
@@ -0,0 +1,22 @@
+From: Baruch Siach <baruch@tkos.co.il>
+Subject: [PATCH] poco: add the staging path to search path
+
+Add the mysql headers and client libraries to the search path of the
+preprocessor and the linker. The $MYSQL_LIBDIR variable must be set from the
+make command line.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+--- poco-1.4.1p1-all-dist/Data/MySQL/Makefile 2011-02-09 11:13:00.000000000 +0200
++++ poco-1.4.1p1-all/Data/MySQL/Makefile 2011-08-07 09:03:37.106161274 +0300
+@@ -8,8 +8,8 @@
+
+ include $(POCO_BASE)/build/rules/global
+
+-SYSLIBS += -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient
+-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
++SYSLIBS += -L$(MYSQL_LIBDIR) -L/usr/local/lib/mysql -L/usr/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/mysql/lib -lmysqlclient
++INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include -I=/mysql
+ SYSFLAGS += -DTHREADSAFE -DNO_TCL
+
+ objects = Binder Extractor SessionImpl Connector \
diff --git a/package/poco/poco-1.4.2p1-dont-build-debug-libs.patch b/package/poco/poco-1.4.2p1-dont-build-debug-libs.patch
new file mode 100644
index 0000000..7480963
--- /dev/null
+++ b/package/poco/poco-1.4.2p1-dont-build-debug-libs.patch
@@ -0,0 +1,19 @@
+From: Baruch Siach <baruch@tkos.co.il>
+Subject: [PATCH] poco: don't build debug libraries
+
+Remove the debug libraries build dependency from the default target.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+
+--- poco-1.4.1p1-dist/build/rules/compile 2011-02-09 11:12:24.000000000 +0200
++++ poco-1.4.1p1/build/rules/compile 2011-08-03 07:51:42.946044176 +0300
+@@ -14,7 +14,7 @@
+
+ all: $(DEFAULT_TARGET)
+ all_static: static_debug static_release
+-all_shared: shared_debug shared_release
++all_shared: shared_release
+ all_debug: static_debug shared_debug
+ all_release: static_release shared_release
+
diff --git a/package/poco/poco.mk b/package/poco/poco.mk
new file mode 100644
index 0000000..4823935
--- /dev/null
+++ b/package/poco/poco.mk
@@ -0,0 +1,57 @@
+#############################################################
+#
+# poco
+#
+#############################################################
+POCO_VERSION = 1.4.2p1
+POCO_SOURCE = poco-$(POCO_VERSION)-all.tar.gz
+POCO_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/poco
+POCO_INSTALL_STAGING = YES
+
+POCO_DEPENDENCIES = zlib pcre \
+ $(if $(BR2_PACKAGE_POCO_XML),expat) \
+ $(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \
+ $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \
+ $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \
+ $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),mysql_client)
+
+POCO_OMIT = Data/ODBC PageCompiler \
+ $(if $(BR2_PACKAGE_POCO_XML),,XML) \
+ $(if $(BR2_PACKAGE_POCO_UTIL),,Util) \
+ $(if $(BR2_PACKAGE_POCO_NET),,Net) \
+ $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),,NetSSL_OpenSSL) \
+ $(if $(BR2_PACKAGE_POCO_CRYPTO),,Crypto) \
+ $(if $(BR2_PACKAGE_POCO_ZIP),,Zip) \
+ $(if $(BR2_PACKAGE_POCO_DATA),,Data) \
+ $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \
+ $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),,Data/SQLite)
+
+ifeq ($(LIBC),uclibc)
+POCO_CONF_OPT += --no-fpenvironment --no-wstring
+endif
+
+define POCO_CONFIGURE_CMDS
+ (cd $(@D); ./configure \
+ --config=Linux-CrossEnv \
+ --prefix=/usr \
+ --omit="$(POCO_OMIT)" \
+ $(POCO_CONF_OPT) \
+ --unbundled \
+ --no-tests \
+ --no-samples)
+endef
+
+define POCO_BUILD_CMDS
+ $(MAKE) POCO_TARGET_OSARCH=$(ARCH) CROSSENV=$(TARGET_CROSS) \
+ MYSQL_LIBDIR=$(TARGET_DIR)/usr/lib/mysql -C $(@D)
+endef
+
+define POCO_INSTALL_STAGING_CMDS
+ $(MAKE) DESTDIR=$(STAGING_DIR) POCO_TARGET_OSARCH=$(ARCH) install -C $(@D)
+endef
+
+define POCO_INSTALL_TARGET_CMDS
+ $(MAKE) DESTDIR=$(TARGET_DIR) POCO_TARGET_OSARCH=$(ARCH) install -C $(@D)
+endef
+
+$(eval $(call GENTARGETS))
^ permalink raw reply related
* [Buildroot] [PATCHv2] package: add the duma memory debugging library
From: Baruch Siach @ 2011-10-06 21:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <201110062317.49455.yann.morin.1998@anciens.enib.fr>
Hi Yann,
On Thu, Oct 06, 2011 at 11:17:49PM +0200, Yann E. MORIN wrote:
> On Thursday 06 October 2011 11:15:46 Baruch Siach wrote:
> > Acked-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
>
> Where did you see that I acked that patch? "looks good" does not mean
> "acked-by". Besides, I made a comment on your v1, so I definitely did
> not Ack it.
I misread your comment, sorry.
> But, now, you can add my:
>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thanks.
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] [Bug 4117] 2011.08: default config with qt + ssl. Linking fails
From: bugzilla at busybox.net @ 2011-10-06 21:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-4117-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=4117
Yann E. MORIN <yann.morin.1998@anciens.enib.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bachmann at tofwerk.com
--- Comment #5 from Yann E. MORIN <yann.morin.1998@anciens.enib.fr> ---
*** Bug 4249 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 4249] uClibc and libpthread
From: bugzilla at busybox.net @ 2011-10-06 21:36 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-4249-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=4249
Yann E. MORIN <yann.morin.1998@anciens.enib.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yann.morin.1998 at anciens.eni
| |b.fr
Resolution| |DUPLICATE
--- Comment #3 from Yann E. MORIN <yann.morin.1998@anciens.enib.fr> ---
*** This bug has been marked as a duplicate of bug 4117 ***
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [PATCHv2] package: add the duma memory debugging library
From: Yann E. MORIN @ 2011-10-06 21:17 UTC (permalink / raw)
To: buildroot
In-Reply-To: <0531bbe91bfb489fd29c9fe994fb11d7b802eeb6.1317891858.git.baruch@tkos.co.il>
Baruch, All,
On Thursday 06 October 2011 11:15:46 Baruch Siach wrote:
> Acked-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Where did you see that I acked that patch? "looks good" does not mean
"acked-by". Besides, I made a comment on your v1, so I definitely did
not Ack it.
But, now, you can add my:
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(see the Linuc kernel doc why I add reviewd-by, and not Acked-by).
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> Changes from v1:
> When no C++ support disable it in the library itself
> Add '/usr' to the install prefix
> Use the standard TARGET_CONFIGURE_OPTS instead of open coding
> Adapt the cross compile patch to use CC_FOR_BUILD
>
> package/Config.in | 1 +
> package/duma/Config.in | 15 ++++++++++
> package/duma/duma-2_5_15-cross-compile.patch | 36 +++++++++++++++++++++++++
> package/duma/duma-2_5_15-separate-cpp.patch | 23 ++++++++++++++++
> package/duma/duma.mk | 37 ++++++++++++++++++++++++++
> 5 files changed, 112 insertions(+), 0 deletions(-)
> create mode 100644 package/duma/Config.in
> create mode 100644 package/duma/duma-2_5_15-cross-compile.patch
> create mode 100644 package/duma/duma-2_5_15-separate-cpp.patch
> create mode 100644 package/duma/duma.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 173e19d..de7d353 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -20,6 +20,7 @@ menu "Debugging, profiling and benchmark"
> source "package/bonnie/Config.in"
> source "package/dhrystone/Config.in"
> source "package/dmalloc/Config.in"
> +source "package/duma/Config.in"
> source "package/kexec/Config.in"
> source "package/lmbench/Config.in"
> source "package/lsof/Config.in"
> diff --git a/package/duma/Config.in b/package/duma/Config.in
> new file mode 100644
> index 0000000..7f7a765
> --- /dev/null
> +++ b/package/duma/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_DUMA
> + bool "duma"
> + help
> + D.U.M.A. - Detect Unintended Memory Access. A fork of the Electric
> + Fence library. Detects buffer overflow and underflow, and also memory
> + leaks.
> +
> + http://duma.sourceforge.net
> +
> +if BR2_PACKAGE_DUMA
> +
> +config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
> + bool "disable memory leak detection"
> +
> +endif # BR2_PACKAGE_DUMA
> diff --git a/package/duma/duma-2_5_15-cross-compile.patch b/package/duma/duma-2_5_15-cross-compile.patch
> new file mode 100644
> index 0000000..9c44c7f
> --- /dev/null
> +++ b/package/duma/duma-2_5_15-cross-compile.patch
> @@ -0,0 +1,36 @@
> +Allow cross compilation. Adapted from crosstool-ng.
> +
> +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> +---
> +diff -durN duma_2_5_15.orig/GNUmakefile duma_2_5_15/GNUmakefile
> +--- duma_2_5_15.orig/GNUmakefile 2008-08-03 21:22:38.000000000 +0200
> ++++ duma_2_5_15/GNUmakefile 2009-06-19 15:32:23.000000000 +0200
> +@@ -93,10 +93,6 @@
> + # also define 'WIN32'
> +
> + # some defaults:
> +-CC=gcc
> +-CXX=g++
> +-AR=ar
> +-RANLIB=ranlib
> + INSTALL=install
> + RM=rm
> + RMFORCE=rm -f
> +@@ -471,7 +467,7 @@
> +
> + createconf$(EXEPOSTFIX): createconf.o
> + - $(RMFORCE) createconf$(EXEPOSTFIX)
> +- $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
> ++ $(CC_FOR_BUILD) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
> +
> + tstheap$(EXEPOSTFIX): libduma.a tstheap.o
> + - $(RMFORCE) tstheap$(EXEPOSTFIX)
> +@@ -532,7 +528,7 @@
> + # define rules how to build objects for createconf
> + #
> + createconf.o:
> +- $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
> ++ $(CC_FOR_BUILD) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
> +
> +
> + #
> diff --git a/package/duma/duma-2_5_15-separate-cpp.patch b/package/duma/duma-2_5_15-separate-cpp.patch
> new file mode 100644
> index 0000000..ad10882
> --- /dev/null
> +++ b/package/duma/duma-2_5_15-separate-cpp.patch
> @@ -0,0 +1,23 @@
> +Allow build without C++ support. Taken from crosstool-ng.
> +
> +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> +---
> +diff -durN duma_2_5_15.orig/GNUmakefile duma_2_5_15/GNUmakefile
> +--- duma_2_5_15.orig/GNUmakefile 2009-06-19 16:41:53.000000000 +0200
> ++++ duma_2_5_15/GNUmakefile 2009-06-19 16:43:53.000000000 +0200
> +@@ -289,9 +289,13 @@
> + dumatest.c tstheap.c thread-test.c testmt.c dumatestpp.cpp testoperators.cpp \
> + createconf.c
> +
> +-OBJECTS=dumapp.o duma.o sem_inc.o print.o
> ++OBJECTS = duma.o sem_inc.o print.o
> ++SO_OBJECTS = duma_so.o sem_inc_so.o print_so.o
> +
> +-SO_OBJECTS=dumapp_so.o duma_so.o sem_inc_so.o print_so.o
> ++ifeq ($(DUMA_CPP),1)
> ++OBJECTS += dumapp.o
> ++SO_OBJECTS += dumapp_so.o
> ++endif
> +
> + # Make all the top-level targets the makefile knows about.
> + all: libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS)
> diff --git a/package/duma/duma.mk b/package/duma/duma.mk
> new file mode 100644
> index 0000000..1748e60
> --- /dev/null
> +++ b/package/duma/duma.mk
> @@ -0,0 +1,37 @@
> +#############################################################
> +#
> +# duma
> +#
> +#############################################################
> +DUMA_VERSION = 2_5_15
> +DUMA_SOURCE = duma_$(DUMA_VERSION).tar.gz
> +DUMA_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/duma
> +DUMA_INSTALL_STAGING = YES
> +
> +DUMA_OPTIONS = $(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION), \
> + -DDUMA_LIB_NO_LEAKDETECTION)
> +
> +ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
> +DUMA_CPP = DUMA_CPP=1
> +else
> +DUMA_CPP =
> +DUMA_OPTIONS += -DDUMA_SO_NO_CPP_SUPPORT -DDUMA_LIB_NO_CPP_SUPPORT
> +endif
> +
> +# The dependency of some source files in duma_config.h, which is generated at
> +# build time, is not specified in the Makefile. Force non-parallel build.
> +define DUMA_BUILD_CMDS
> + $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
> + DUMA_OPTIONS=$(strip $(DUMA_OPTIONS)) \
> + $(DUMA_CPP) -C $(@D)
> +endef
> +
> +define DUMA_INSTALL_STAGING_CMDS
> + $(MAKE) prefix=$(STAGING_DIR)/usr install -C $(@D)
> +endef
> +
> +define DUMA_INSTALL_TARGET_CMDS
> + $(MAKE) prefix=$(TARGET_DIR)/usr install -C $(@D)
> +endef
> +
> +$(eval $(call GENTARGETS))
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ 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