[ptxdist] [PATCH] qt4: version bump 4.8.0 -> 4.8.1

2012-03-29 Thread Bernhard Walle
From: Bernhard Walle Just a bugfix release. Signed-off-by: Bernhard Walle --- .../0001-mkspec-for-ptxdist.patch | 123 .../0002-disable-ordered-compiling.patch | 79 - .../0003-Hack-hide-cursor-during-startup.patch | 27

[ptxdist] [PATCH v3] rules: Add fbterm

2012-04-04 Thread Bernhard Walle
From: Bernhard Walle This is a nice framebuffer terminal with support for Unicode and nice font rendering. Signed-off-by: Bernhard Walle --- v2->v3: o Check ARCH_X86 in the Makefile and not in kconfig. v1->v2: o Remove the space in "GPL v2" o Add FBTERM_GPM and FBTE

Re: [ptxdist] ubi utils in package mtd-utils broken

2012-04-05 Thread Bernhard Walle
Hi Alexander, * Alexander Dahl [2012-04-04 18:59]: > > I was just migrating our BSP from ptxdist 2012.03.0 to 2012.04.0 and > the build fails in targetinstall stage of package mtd-utils like this: > > make: *** > [/home/adahl/Work/src/BSP/platform-at91sam9g20XXX/state/mtd-utils.targetinstall]

Re: [ptxdist] ubi utils in package mtd-utils broken

2012-04-05 Thread Bernhard Walle
Hi, * Bart van der Meulen [2012-04-05 11:20]: > 2012/4/4 Alexander Dahl : > > Hei hei, > > > > I was just migrating our BSP from ptxdist 2012.03.0 to 2012.04.0 and > > the build fails in targetinstall stage of package mtd-utils like this: > > > >  make: *** > > [/home/adahl/Work/src/BSP/platform-

[ptxdist] [PATCH] mtd-utils: Fix build of UBI tools when mkfs.ubifs is not enabled

2012-04-05 Thread Bernhard Walle
From: Bernhard Walle This problem has been introduced in d4ba37630767095330ddc5cdc3c154cd2e4f757d. See http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/9087. Reported-by: Alexander Dahl Signed-off-by: Bernhard Walle --- .../mtd-utils-1.4.9/0001-make-ubifs-optional.patch |9

Re: [ptxdist] localedef: Build fixes for Darwin

2012-04-07 Thread Bernhard Walle
Hi Michael, * Michael Olbrich [2012-03-24 13:15]: > On Sun, Feb 12, 2012 at 04:44:52PM +0100, Bernhard Walle wrote: > > This patch series against the ptx branch in mol/localedef.git makes > > localedef compiling on Darwin. Tested on Mac OS 10.7 (Lion). > > > > I kn

[ptxdist] [PATCH] argp-fmtstream.h: Force inlining of 'extern inline' functions

2012-04-07 Thread Bernhard Walle
86_64: "_argp_fmtstream_putc", referenced from: _usage_argful_short_opt in argp-help.o _argp_args_usage in argp-help.o ld: symbol(s) not found for architecture x86_64 -- FSF GCC doesn't have the problem, BTW. Signed-off-by: Bernhard W

[ptxdist] [PATCH] configure.ac: Check for GNU find

2012-04-07 Thread Bernhard Walle
d the symlink in the installation directory once we found it. Signed-off-by: Bernhard Walle --- Makefile.in |1 + configure.ac |1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index 17a6ce6..8382402 100644 --- a/Makefile.in +++ b/Makefile.in @@ -54,6 +54,7 @@ environm

[ptxdist] [PATCH] host-localedef: Fix build with LLVM GCC

2012-04-08 Thread Bernhard Walle
See description of the patch that is added in localedef-eglibc-* in patches. Signed-off-by: Bernhard Walle --- ...eam.h-Force-inlining-of-extern-inline-fun.patch | 38 patches/localedef-eglibc-2.14.1-r17443-ptx1/series |4 +++ 2 files changed, 42 insertions(+) create

Re: [ptxdist] localedef: Build fixes for Darwin

2012-04-08 Thread Bernhard Walle
Hi, * Michael Olbrich [2012-04-08 10:10]: > > > For LLVM GCC [2] which is used in new XCode versions (the old gcc can > > still be installed as gcc-apple-4.2 with MacPorts), a small fix is > > needed, I'll send a patch afterwards. > > > > So if you could apply that patch and queue it for future

Re: [ptxdist] [PATCH v3] rules: Add fbterm

2012-04-08 Thread Bernhard Walle
Hi, * Michael Olbrich [2012-04-08 10:15]: > > This is wrong. Now the whole package is only built on x86 > > PACKAGES-$(PTXCONF_FBTERM) += fbterm Of course, that's right. > > +# > > > > +# Prepare > > +# > > ---

[ptxdist] Darwin fixes: fontconfig and libcap

2012-04-08 Thread Bernhard Walle
I just tested fbterm now and discovered that fontconfig doesn't build. Quite easy to fix and as mentioned in the patch it should be already solved. I think it's also not really Darwin-specific: Using linker flags of the target when building a hosttool is always a bad idea. libcap needs a host too

[ptxdist] [PATCH 1/2] fontconfig: Fix Darwin build

2012-04-08 Thread Bernhard Walle
don't want to update fontconfig since it touches the whole Xorg stack and I have no possibility to test that. Signed-off-by: Bernhard Walle --- .../0001-Fix-build-on-Darwin.patch | 68 patches/fontconfig-2.6.0/autogen.sh|1 + pa

[ptxdist] [PATCH 2/2] libcap: Fix build on non-Linux host

2012-04-08 Thread Bernhard Walle
The patch has been already sent upstream (in a lightly different variant). For now, it works. Signed-off-by: Bernhard Walle --- .../0002-Fix-build-on-non-Linux-host.patch | 41 patches/libcap-2.21/series |4 +- 2 files changed, 44

[ptxdist] [PATCH] host-xz: Update to 5.0.3

2012-04-09 Thread Bernhard Walle
The old version doesn't build on Mac OS. The update fixes the issue. The target version of xz is already up to date. Signed-off-by: Bernhard Walle --- rules/host-xz.make |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/host-xz.make b/rules/host-xz.make

[ptxdist] Using PTXdist on Mac OS

2012-04-09 Thread Bernhard Walle
Hello, on a rainy Easter Monday I wrote some small HOWTO that describes the pitfalls of using PTXdist on Mac OS. It is based on the Generic SDK using Qemu. The HOWTO is available at http://www.bwalle.de/docs/ptxdist_mac.pdf, the LaTeX sources are at https://bitbucket.org/bwalle/ptxdist-macos-doc.

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-09 Thread Bernhard Walle
Hi, * Andreas Bießmann [2012-04-09 20:01]: > > a) Fink is _not_ Debian based but uses the great Debian package format > (*.deb ;) Well, depends on what you call 'Debian-based'. I didn't say that the packages are from Debian (the MacPorts packages are also not from Free/Open/NetBSD). finkprojec

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-10 Thread Bernhard Walle
* Andreas Bießmann [2012-04-09 22:48]: > > > > I'm just running a build of a toolchain with Xcode 4.3(.2) LLVM GCC and > > if that build succeeds then I will remove the restriction to FSF GCC and > > mention Xcode 4.3 somewhere in the requirements. > > > > bwalle@euler % gcc --version > > i686-a

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-10 Thread Bernhard Walle
Hi, * Juergen Beisert [2012-04-09 19:48]: > > > Maybe it can be linked somewhere in the official documentation or at the > > website? > > If you promise to keep the document at your website at the given URL, I would > add it to the Guru manual. I promise. > You mentioned your 'https://bitbu

Re: [ptxdist] [PATCH] rules/kernel: switch to xz compression

2012-04-10 Thread Bernhard Walle
* Andreas Bießmann [2012-04-06 12:55]: > kernel is provided since 2.6.0 with xz compression. The main aim to use xz > compression here is to save significant space for local mirrors. > > linux-3.3.tar.bz2 is about 75 MiB > linux-3.3.tar.xz is about 63 MiB > -> saves about 15 % Which leads me to

Re: [ptxdist] [PATCH 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-10 Thread Bernhard Walle
Hi, * Andreas Bießmann [2012-04-10 13:32]: > > can we make the second ext3 filesystem optional? > Anyway, it could be done in a second step. Would be great to get this > tool into 2012.05! I would like to get that mainline first and add additional features, if needed, later. > > +# -*-makefile

Re: [ptxdist] [PATCH 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-10 Thread Bernhard Walle
* Andreas Bießmann [2012-04-10 14:01]: > > + > > + dd if=/dev/zero of="${OUTPUT}" bs=512 count=0 seek="${img_size_blocks}" > > >/dev/null 2>&1 > > + > > + local trg_size="$(file_length "${OUTPUT}")" > > + local cylinders=$(echo ${trg_size}/255/63/512 | bc) > > avoid bc here, drop trg_size:

[ptxdist] [PATCH v2 1/2] Add host-parted

2012-04-10 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rules/host-parted.in |8 rules/host-parted.make | 38 ++ 3 files changed, 47 insertions(+) create mode 100644 rules/host-parted.in create mode 100644 rules/host-parted.make

[ptxdist] [PATCH v2 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-10 Thread Bernhard Walle
With the new option IMAGE_OMAPSD it's possible to create an image for OMAP-bootable SD cards. Tested with a devkit8000 and a virtual beagle board (qemu). See the comment in platforms/image_omapsd.in for more information. Signed-off-by: Bernhard Walle --- platforms/image_omapsd.in|

Re: [ptxdist] ubi utils in package mtd-utils broken

2012-04-10 Thread Bernhard Walle
* Alexander Dahl [2012-04-10 17:04]: > Hei hei, > > Am 2012-04-05 18:29, schrieb Alexander Dahl: > > Because of a lack of time I applied it directly on my installed > > ptxdist. mtd-utils build was successful now. I will test the binaries on > > the target next week. > > I saw Michael already a

Re: [ptxdist] [PATCH v2 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-10 Thread Bernhard Walle
* Bernhard Walle [2012-04-10 17:03]: > @@ -3,6 +3,3 @@ > config HOST_PARTED > bool > default ALLYES > - help > - The well-known parted program > - > diff --git a/rules/host-parted.make b/rules/host-parted.make > index 9655f5d..a73c6a5 100644 >

[ptxdist] [PATCH v3 1/2] Add host-parted

2012-04-10 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rules/host-parted.in |5 + rules/host-parted.make | 24 3 files changed, 30 insertions(+) create mode 100644 rules/host-parted.in create mode 100644 rules/host-parted.make diff --git a

[ptxdist] [PATCH v3 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-10 Thread Bernhard Walle
With the new option IMAGE_OMAPSD it's possible to create an image for OMAP-bootable SD cards. Tested with a devkit8000 and a virtual beagle board (qemu). See the comment in platforms/image_omapsd.in for more information. Signed-off-by: Bernhard Walle --- platforms/image_omapsd.in|

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-10 Thread Bernhard Walle
* Bernhard Walle [2012-04-10 11:04]: > > With Xcode 4.3.2 compiler it works. I checked the armv5 toolchain and > cortexa8 which uses gcc-linaro. > > So I'll remove the section about gcc-apple, but I need to check first if > Qemu also works with llvm-gcc or maybe clang. I

Re: [ptxdist] Local kernel tree config option

2012-04-10 Thread Bernhard Walle
* Jerry Kirk [2012-04-10 22:55]: > The local kernel tree option is a nice feature and thanks to this thread it > worked for me first try. Do any of the other packages support this > functionality? I am thinking specifically about barebox where I need to make > many initial changes during develo

[ptxdist] Allow creation of bootable SD card for OMAP CPUs

2012-04-16 Thread Bernhard Walle
v3->v4: o Add libuuid as dependency. o Disable libreadline since we don't have host-readline as dependency and we don't need it in that case because parted is not used interactively. -- ptxdist mailing list ptxdist@pengutronix.de

[ptxdist] [PATCH v4 2/2] Allow creation of bootable SD card for OMAP CPUs

2012-04-16 Thread Bernhard Walle
With the new option IMAGE_OMAPSD it's possible to create an image for OMAP-bootable SD cards. Tested with a devkit8000 and a virtual beagle board (qemu). See the comment in platforms/image_omapsd.in for more information. Signed-off-by: Bernhard Walle --- platforms/image_omapsd.in|

[ptxdist] [PATCH v4 1/2] Add host-parted

2012-04-16 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rules/host-parted.in |6 ++ rules/host-parted.make | 25 + 3 files changed, 32 insertions(+) create mode 100644 rules/host-parted.in create mode 100644 rules/host-parted.make diff --git a

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-17 Thread Bernhard Walle
Hi, * Michael Olbrich [2012-04-17 13:24]: > On Tue, Apr 17, 2012 at 01:08:12PM +0200, Daniel Kriesten wrote: > [...] > > So, following your your document I end up with a working tool-chain, a > > working qemu-arm-softmmu and a working kernel, but no hdd img. > > I had to fix > > .../lib/ptxdist-

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-17 Thread Bernhard Walle
Hi Daniel, * Daniel Kriesten [2012-04-17 13:08]: > The next point is concerning the files system on a Mac. AFAIR the > default filesystem is the case insensitive version of HFS+ (this is > definitely true up to 10.6). So the OSELAS tool-chain rejects to > build. And further on some of the packag

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-17 Thread Bernhard Walle
* Daniel Kriesten [2012-04-17 13:59]: > >> care to send a patch? > > > > But gseq is not available on Linux. So I think adding it to the > > configure check is the only reasonable approach? > > Well, whats the advantage of $(seq 4) over "for i in 1 2 3 4; do ..." ? I didn't look in the code, so

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-17 Thread Bernhard Walle
* Daniel Kriesten [2012-04-17 14:04]: > > For this reason I used the second line, starting with patch ... > But the first line is either syntactically not correct or not needed? If I am > right, "git am" requires a patchset? > > < snip > > \begin{lstlisting}[style=inline] > % git am gi

Re: [ptxdist] Using PTXdist on Mac OS

2012-04-19 Thread Bernhard Walle
* Daniel Kriesten [2012-04-19 15:12]: > > As I'm using Mail.app (Apple Mail) I'm alway fearing broken patches > when sending inline, as the program is set up to do automatic line > breaks. And up to now I can get git send-email to play with our > universities smtp server. I would also not recomm

[ptxdist] Outstanding patches

2012-04-21 Thread Bernhard Walle
Just wanted to re-post all of my patches that are not yet merged. They are rebased against current master. You can get the patches also in my git tree http://git.bitbucket.org/bwalle/ptxdist.git upstream-pending -- ptxdist mailing list ptxdist@pengutronix.de

[ptxdist] [PATCH 1/5] Add sp-oops-extract package

2012-04-21 Thread Bernhard Walle
From: Bernhard Walle sp-oops-extract is a simple userspace program to extract kernel oopses saved on raw MTD with the CONFIG_MTD_OOPS driver. See the comment in Kconfig for more information on how to use the driver/the tool. Signed-off-by: Bernhard Walle --- ...the-Makefile-more-cross

[ptxdist] [PATCH 3/5] libcap: Fix build on non-Linux host

2012-04-21 Thread Bernhard Walle
The patch has been already sent upstream (in a lightly different variant). For now, it works. Signed-off-by: Bernhard Walle --- .../0002-Fix-build-on-non-Linux-host.patch | 41 patches/libcap-2.21/series |4 +- 2 files changed, 44

[ptxdist] [PATCH 2/5] fontconfig: Fix Darwin build

2012-04-21 Thread Bernhard Walle
don't want to update fontconfig since it touches the whole Xorg stack and I have no possibility to test that. Signed-off-by: Bernhard Walle --- .../0001-Fix-build-on-Darwin.patch | 68 patches/fontconfig-2.6.0/autogen.sh|1 + pa

[ptxdist] [PATCH 4/5] Add host-parted

2012-04-21 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rules/host-parted.in |6 ++ rules/host-parted.make | 25 + 3 files changed, 32 insertions(+) create mode 100644 rules/host-parted.in create mode 100644 rules/host-parted.make diff --git a

[ptxdist] [PATCH 5/5] Allow creation of bootable SD card for OMAP CPUs

2012-04-21 Thread Bernhard Walle
With the new option IMAGE_OMAPSD it's possible to create an image for OMAP-bootable SD cards. Tested with a devkit8000 and a virtual beagle board (qemu). See the comment in platforms/image_omapsd.in for more information. Signed-off-by: Bernhard Walle --- platforms/image_omapsd.in|

[ptxdist] [PATCH] Update host-cmake to 2.8.8

2012-04-22 Thread Bernhard Walle
Changelog is at http://www.kitware.com/news/home/browse/CMake?2012_04_19&CMake+2.8.8+is+Now+Available. The new OBJECT_LIBRARY feature sounds promising. Signed-off-by: Bernhard Walle --- rules/host-cmake.make |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/

[ptxdist] [PATCH 1/3] Add host-parted

2012-04-25 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rules/host-parted.in |6 ++ rules/host-parted.make | 25 + 3 files changed, 32 insertions(+) create mode 100644 rules/host-parted.in create mode 100644 rules/host-parted.make diff --git a

[ptxdist] [PATCH 2/3] Allow creation of bootable SD card for OMAP CPUs

2012-04-25 Thread Bernhard Walle
With the new option IMAGE_OMAPSD it's possible to create an image for OMAP-bootable SD cards. Tested with a devkit8000 and a virtual beagle board (qemu). See the comment in platforms/image_omapsd.in for more information. Signed-off-by: Bernhard Walle --- platforms/image_omapsd.in|

[ptxdist] [PATCH 3/3 v2] fontconfig: Fix Darwin build

2012-04-25 Thread Bernhard Walle
don't want to update fontconfig since it touches the whole Xorg stack and I have no possibility to test that. The first upstream version that contains the release is 2.9.0. Signed-off-by: Bernhard Walle --- v1 -> v2: o Add comment about upstream status also in the patch header, not only

[ptxdist] [PATCH] rules/rootfs.make: Fix date call

2012-04-26 Thread Bernhard Walle
Apply the fix in 1139f0eb294834d54fbb4f1513e8696209839604 also to the second invocation of date which my commit c13c4ac2ddc6a5e2614073236c665ffe7e2e2c04 broke. It fixes the problem that the date part of the timestamp contained minutes (%M) instead of the month (%m). Signed-off-by: Bernhard Walle

[ptxdist] [PATCH] zlib: Bump version to 1.2.7

2012-05-03 Thread Bernhard Walle
As usual with zlib, the archive of the old version isn't available on the same location any more, so it would be nice if the update could make it to 2012.04. Also remove the old patches that are not needed any more. Signed-off-by: Bernhard Walle --- .../0001-install-fix-for-static-only.

[ptxdist] [PATCH] utils-linux-ng: Add ipcrm

2012-05-07 Thread Bernhard Walle
Not only busybox provides an 'ipcrm' command, also util-linux-ng do. So add this to the configuration and the Makefile with the usual busybox check. Signed-off-by: Bernhard Walle --- rules/util-linux-ng.in | 11 +++ rules/util-linux-ng.make |3 +++ 2 Dateien geändert,

[ptxdist] Some more Mac OS fixes

2012-05-07 Thread Bernhard Walle
The final goal was to build QEMU as host-tool in the OSELAS Generic SDK (a suggestion from Jürgen Beisert). QEMU uses glib, and when building this I stumbled over a few things which the patches fix. I'll send the final host-qemu patch to ose...@community.pengutronix.de. The patch series has been

[ptxdist] [PATCH 1/4] host-gettext: Add host-iconv dependency

2012-05-07 Thread Bernhard Walle
ten/devel/ptxdist/bin/mkdir -p de/LC_MESSAGES; \ cp -f test.mo de/LC_MESSAGES dyld: lazy symbol binding failed: Symbol not found: _iconv_open - >8 --- Signed-off-by: Bernhard Walle --- platforms/hosttools.in |1 + rule

[ptxdist] [PATCH 2/4] rules/pre/Rules.make: Add DYLD_FALLBACK_LIBRARY_PATH for Darwin

2012-05-07 Thread Bernhard Walle
_PATH on Linux. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make |7 ++- 1 Datei geändert, 6 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index 1d09a18..522c90e 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make @@

[ptxdist] [PATCH 3/4] host-glib: Add host-gettext dependency

2012-05-07 Thread Bernhard Walle
We need gettext for glib. While gettext is present in glibc on Linux, this missing dependency was not discovered. On Mac OS, however, glib didn't compile. Signed-off-by: Bernhard Walle --- rules/host-glib.in |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/rules/host-glib

[ptxdist] [PATCH 4/4] host-gettext: Fix build on Darwin

2012-05-07 Thread Bernhard Walle
See the comments of the patches for a description. Signed-off-by: Bernhard Walle --- ...-Fix-build-if-stpncpy-is-defined-as-macro.patch | 44 ...02-Fix-relocatable-installation-on-Darwin.patch | 44 patches/gettext-0.18.1/series

Re: [ptxdist] [oselas] [PATCH] Add QEMU as hosttool

2012-05-08 Thread Bernhard Walle
Am 08.05.2012 09:12, schrieb Marc Kleine-Budde: On 05/07/2012 10:06 PM, Bernhard Walle wrote: Build QEMU as part of the BSP and use our own QEMU in the startup scripts. Tested on Mac OS 10.7 and Arch Linux. sysroot-host/bin is part of the standard path within ptxdist. But configs/i586-qemu

[ptxdist] [PATCH] gnutls: Fix detection of libgcrypt

2012-05-08 Thread Bernhard Walle
). Tested on current Arch Linux. Signed-off-by: Bernhard Walle --- rules/gnutls.make |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/rules/gnutls.make b/rules/gnutls.make index 22c2807..6d46013 100644 --- a/rules/gnutls.make +++ b/rules/gnutls.make @@ -36,6 +36,7 @@ GNUTLS_CONF_TOOL

[ptxdist] [PATCH] gnutls: Update to 2.12.19

2012-05-08 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/gnutls.make |4 ++-- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/rules/gnutls.make b/rules/gnutls.make index 6d46013..5cf2213 100644 --- a/rules/gnutls.make +++ b/rules/gnutls.make @@ -16,8 +16,8 @@ PACKAGES

[ptxdist] [PATCH] iptables: Add option to build and install libipq

2012-05-15 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/iptables.in |7 +++ rules/iptables.make |6 +- 2 Dateien geändert, 12 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/rules/iptables.in b/rules/iptables.in index b7bc478..134a2f2 100644 --- a/rules/iptables.in +++ b/rules

Re: [ptxdist] [PATCH] util-linux: fix hexsyntax.c for some systems

2012-06-04 Thread Bernhard Walle
Am 04.06.12 12:25, schrieb Andreas Bießmann: > > Well, util-linux-ng has some helper for program_invocation_short_name in > its c.h. There are some different ways to get the current process name > coded there. > Unfortunately the current version miss to include the c.h in > hexsyntax.c. The attach

[ptxdist] [PATCH] dhcp: Add option to disable DHCPv6

2012-06-08 Thread Bernhard Walle
I needed that option to compile the DHCP client on an IPv4-only uclibc-based target system. Signed-off-by: Bernhard Walle --- rules/dhcp.in |7 +++ rules/dhcp.make |2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rules/dhcp.in b/rules/dhcp.in index f2b920c

[ptxdist] [PATCH 1/2] wpa_supplicant: Allow disabling of wpa_cli installation

2012-06-09 Thread Bernhard Walle
Often wpa_cli is not needed in the final system. So make it possible to save a few bytes. Signed-off-by: Bernhard Walle --- rules/wpa_supplicant.in | 18 ++ rules/wpa_supplicant.make |6 -- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/rules

[ptxdist] [PATCH 2/2] wpa_supplicant: Add /etc/wpa_supplicant.conf

2012-06-09 Thread Bernhard Walle
Make it possible to install a custom /etc/wpa_supplicant.conf configuration file for the wpa_supplicant via install_alternative mechanism of ptxdist. The default file is just empty. Signed-off-by: Bernhard Walle --- rules/wpa_supplicant.make |3 +++ 1 file changed, 3 insertions(+) create

[ptxdist] [PATCH] rules/pre/Rules.make: Add library path to the cross environment

2012-06-10 Thread Bernhard Walle
DYLD_FALLBACK_LIBRARY_PATH also in the cross environment. On operating systems other than Mac OS (Darwin), nothing should change. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make | 15 +-- 1 Datei geändert, 9 Zeilen hinzugefügt(+), 6 Zeilen entfernt(-) diff --git a/rules/pre

[ptxdist] [PATCH 1/3] host-gettext: Fix build on Darwin

2012-06-10 Thread Bernhard Walle
See the comments of the patches for a description. Signed-off-by: Bernhard Walle --- ...-Fix-build-if-stpncpy-is-defined-as-macro.patch | 44 ...02-Fix-relocatable-installation-on-Darwin.patch | 44 patches/gettext-0.18.1/series

[ptxdist] [PATCH 2/3] Add host-gettext-dummy package

2012-06-10 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/host-gettext-dummy.in |7 +++ rules/host-gettext-dummy.make | 25 + 2 Dateien geändert, 32 Zeilen hinzugefügt(+) create mode 100644 rules/host-gettext-dummy.in create mode 100644 rules/host-gettext-dummy.make diff

[ptxdist] [PATCH 3/3] host-glib: Add host-gettext dependency

2012-06-10 Thread Bernhard Walle
We need a gettext implementation for glib. While gettext is present in glibc on Linux, this missing dependency was not discovered. On Mac OS, however, glib didn't compile. Signed-off-by: Bernhard Walle --- rules/host-glib.in |1 + 1 Datei geändert, 1 Zeile hinzugefügt(+) diff --git a/

Re: [ptxdist] [PATCH] rules/pre/Rules.make: Add library path to the cross environment

2012-06-10 Thread Bernhard Walle
Am 10.06.12 11:28, schrieb Bernhard Walle: > My commit 6ab38b6d244e0de21b9dd94052e0da30adc4aff3 added > DYLD_FALLBACK_LIBRARY_PATH to the host environment on Mac OS. However, > this is not enough: Running tic(1) in ncurses.install stage fails > because the libraries in sysroot-host/l

[ptxdist] Replace DYLD_FALLBACK_LIBRARY_PATH by something that works

2012-06-10 Thread Bernhard Walle
I don't know why I was able to build host-qemu in the OSELAS Generic BSP in the first place. Maybe I just had DYLD_FALLBACK_LIBRARY_PATH set in my work shell. Anyway, that patch series removes setting DYLD_FALLBACK_LIBRARY_PATH and replaces it by editing the binaries after installation. See the d

[ptxdist] [PATCH 1/2] Remove DYLD_FALLBACK_LIBRARY_PATH (Darwin)

2012-06-10 Thread Bernhard Walle
bally, you can't run the programs manually. The next patch provides a better solution. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make |7 +-- 1 Datei geändert, 1 Zeile hinzugefügt(+), 6 Zeilen entfernt(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index 522c90

[ptxdist] [PATCH 2/2] ptxd_make_world_install_post: Darwin: Edit install name of binaries

2012-06-10 Thread Bernhard Walle
already built before "install_name_tool -id" is invoked. That way I'm finally able to build host-qemu with host-glib and host-gettext-dummy (that provides -lintl which host-glib uses). Signed-off-by: Bernhard Walle --- scripts/lib/ptxd_make_world_install.sh |

[ptxdist] [PATCH] Change email address in packages

2012-06-10 Thread Bernhard Walle
at packages doesn't get a delivery failure. Signed-off-by: Bernhard Walle --- rules/fbterm.make |5 +++-- rules/flashbench.make |5 +++-- rules/host-parted.make |3 ++- rules/lpc21isp.make|5 +++-- rules/sp-oops-extract.make |5 +++-- 5 Dat

[ptxdist] [PATCH] libcurl: version bump to 7.26.0

2012-06-12 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/libcurl.make |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/libcurl.make b/rules/libcurl.make index 58ff053..faa753b 100644 --- a/rules/libcurl.make +++ b/rules/libcurl.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBCURL

Re: [ptxdist] Building the OSELAS.Toolchain on non Linux/GNU based systems?

2012-06-13 Thread Bernhard Walle
Am 13.06.12 12:18, schrieb Juergen Beisert: > One funny error message is (for example): > > In file included from ../include/sys/types.h:1, > from ../misc/sys/uio.h:24, > from :3: > ../posix/sys/types.h:147:20: error: stddef.h: No such file or directory Can't re

Re: [ptxdist] Make PTXdist more OS independent

2012-06-13 Thread Bernhard Walle
Am 13.06.12 17:23, schrieb Juergen Beisert: > Testers and comments are welcome. Do you have a git tree with the patches? Then I could just check if everything still works on Mac OS. But I'm too lazy to save 14 patches in Thunderbird and apply them (and too lazy to write a script :D). Regards, Be

Re: [ptxdist] [ANNOUNCE] PTXdist 2012.06.0 released

2012-06-13 Thread Bernhard Walle
Am 12.06.12 12:29, schrieb Andreas Bießmann: > > Bernhard Walle: > Add host-parted > Allow creation of bootable SD card for OMAP CPUs And the good thing is that they don't touch core stuff of ptxdist, so they can't (famous last words, I know) break anythin

[ptxdist] [PATCH] tmux: new package

2012-06-13 Thread Bernhard Walle
tmux is a terminal mutiplexer. Something like GNU screen, but BSD licensed, actively developed and with a (at least in my opinion) simpler configuration. Signed-off-by: Bernhard Walle --- rules/tmux.in |9 + rules/tmux.make | 56

[ptxdist] [PATCH] sqlite: Update to 3.7.13

2012-06-13 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/sqlite.make |4 ++-- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/rules/sqlite.make b/rules/sqlite.make index 097cf76..0ff4c86 100644 --- a/rules/sqlite.make +++ b/rules/sqlite.make @@ -20,8 +20,8 @@ PACKAGES

[ptxdist] [PATCH] busybox: Fix build on Darwin after update

2012-06-13 Thread Bernhard Walle
Just trivial. I'll send the patch upstream to Busybox developers. Signed-off-by: Bernhard Walle --- .../0001-reactivate-check-for-tty.patch|1 + .../0002-Fix-compilation-on-Darwin.patch | 26 patches/busybox-1.20.1/s

[ptxdist] [PATCH] libcurl: version bump to 7.26.0

2012-06-16 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/libcurl.make |6 -- 1 Datei geändert, 4 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-) diff --git a/rules/libcurl.make b/rules/libcurl.make index df24763..1f2b566 100644 --- a/rules/libcurl.make +++ b/rules/libcurl.make @@ -17,8 +17,8 @@ PACKAGES

[ptxdist] [PATCH 1/2] Remove DYLD_FALLBACK_LIBRARY_PATH (Darwin)

2012-06-16 Thread Bernhard Walle
bally, you can't run the programs manually. The next patch provides a better solution. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make |7 +-- 1 Datei geändert, 1 Zeile hinzugefügt(+), 6 Zeilen entfernt(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index a6b662

[ptxdist] [PATCH 2/2] ptxd_make_world_install_post: Darwin: Edit install name of binaries

2012-06-16 Thread Bernhard Walle
already built before "install_name_tool -id" is invoked. That way I'm finally able to build host-qemu with host-glib and host-gettext-dummy (that provides -lintl which host-glib uses). Signed-off-by: Bernhard Walle --- scripts/lib/ptxd_make_world_install.sh |

[ptxdist] [PATCH 1/2] Remove DYLD_FALLBACK_LIBRARY_PATH (Darwin)

2012-06-17 Thread Bernhard Walle
bally, you can't run the programs manually. The next patch provides a better solution. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make |7 +-- 1 Datei geändert, 1 Zeile hinzugefügt(+), 6 Zeilen entfernt(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index a6b662

[ptxdist] [PATCH 2/2] ptxd_make_world_install_post: Darwin: Edit install name of binaries

2012-06-17 Thread Bernhard Walle
already built before "install_name_tool -id" is invoked. That way I'm finally able to build host-qemu with host-glib and host-gettext-dummy (that provides -lintl which host-glib uses). Signed-off-by: Bernhard Walle --- scripts/lib/ptxd_make_world_install.sh |

[ptxdist] [PATCH] New package: openldap

2012-06-17 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/openldap.in | 54 ++ rules/openldap.make | 155 +++ 2 Dateien geändert, 209 Zeilen hinzugefügt(+) create mode 100644 rules/openldap.in create mode 100644 rules/openldap.make diff --git

[ptxdist] [PATCH] New package: openldap

2012-06-18 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/openldap.in | 54 ++ rules/openldap.make | 155 +++ 2 Dateien geändert, 209 Zeilen hinzugefügt(+) create mode 100644 rules/openldap.in create mode 100644 rules/openldap.make diff --git

[ptxdist] [PATCH 1/2] Remove DYLD_FALLBACK_LIBRARY_PATH (Darwin)

2012-06-18 Thread Bernhard Walle
bally, you can't run the programs manually. The next patch provides a better solution. Signed-off-by: Bernhard Walle --- rules/pre/Rules.make |7 +-- 1 Datei geändert, 1 Zeile hinzugefügt(+), 6 Zeilen entfernt(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index a6b662

[ptxdist] [PATCH 2/2] ptxd_make_world_install_post: Darwin: Edit install name of binaries

2012-06-18 Thread Bernhard Walle
already built before "install_name_tool -id" is invoked. That way I'm finally able to build host-qemu with host-glib and host-gettext-dummy (that provides -lintl which host-glib uses). Signed-off-by: Bernhard Walle --- scripts/lib/ptxd_make_world_install.sh |

[ptxdist] [genimage] [PATCH] README: Fix typo

2012-07-19 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- README |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 0f13afe..ffcde23 100644 --- a/README +++ b/README @@ -132,4 +132,4 @@ mkfsubifs path to the mkfs.ubifs program (default mkfs.ubifs) mkfsjffs2 path to the

[ptxdist] [PATCH] New package: openldap

2012-07-22 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/openldap.in | 56 +++ rules/openldap.make | 149 +++ 2 files changed, 205 insertions(+) create mode 100644 rules/openldap.in create mode 100644 rules/openldap.make diff --git a/rules

[ptxdist] [PATCH] gnutls: Update to 2.12.20

2012-07-22 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/gnutls.make |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/gnutls.make b/rules/gnutls.make index 5cf2213..855b87d 100644 --- a/rules/gnutls.make +++ b/rules/gnutls.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_GNUTLS

[ptxdist] [PATCH] lsof: Check for busybox' lsof

2012-07-23 Thread Bernhard Walle
With the new 'lsof' of busybox, add the usual check to avoid conflicts during building the image (two lsof binaries). Signed-off-by: Bernhard Walle --- rules/lsof.in |3 +++ 1 file changed, 3 insertions(+) diff --git a/rules/lsof.in b/rules/lsof.in index 048a9ab..f32026e 100644 -

[ptxdist] [PATCH] Update mtd-utils to 1.4.9

2012-07-23 Thread Bernhard Walle
Tested on a beagle board. Signed-off-by: Bernhard Walle --- .../mtd-utils-1.4.9/0001-make-ubifs-optional.patch | 23 --- ...0002-Make-liblzo-optional-for-ubifs-tools.patch | 68 patches/mtd-utils-1.4.9/series |5 -- .../mtd-utils-1.5.0/0001

[ptxdist] [PATCH] Update mtd-utils to 1.5.0

2012-07-23 Thread Bernhard Walle
Tested on a beagle board. Signed-off-by: Bernhard Walle --- .../mtd-utils-1.4.9/0001-make-ubifs-optional.patch | 23 --- ...0002-Make-liblzo-optional-for-ubifs-tools.patch | 68 patches/mtd-utils-1.4.9/series |5 -- .../mtd-utils-1.5.0/0001

Re: [ptxdist] [PATCH] Update mtd-utils to 1.4.9

2012-07-23 Thread Bernhard Walle
Am 23.07.12 22:28, schrieb Thomas Petazzoni: > > I guess the title of the patch is "Update mtd-utils to 1.5.0", no? :-) Of course, just a copy and paste error. Thanks for spotting that! Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de

[ptxdist] [PATCH] kernel: Allow usage of nconfig

2012-07-24 Thread Bernhard Walle
With that patch, 'ptxdist nconfig kernel' works. For me nconfig has the advantage of a full text search in the current menu. Signed-off-by: Bernhard Walle --- rules/kernel.make |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/kernel.make b/rules/kernel.

[ptxdist] [PATCH] barebox: Allow usage of nconfig

2012-07-24 Thread Bernhard Walle
With that patch, 'ptxdist nconfig barebox' works. Signed-off-by: Bernhard Walle --- rules/barebox.make |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/barebox.make b/rules/barebox.make index 67fe32c..1ee660b 100644 --- a/rules/barebox.make +++ b/rules/ba

[ptxdist] [PATCH 1/3] libpcre: version bump 8.00 -> 8.31

2012-07-25 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/libpcre.make |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/libpcre.make b/rules/libpcre.make index 7291b68..754654a 100644 --- a/rules/libpcre.make +++ b/rules/libpcre.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBPCRE

[ptxdist] [PATCH 2/3] libpcre: Add option to enable libbz2 for pcregrep

2012-07-25 Thread Bernhard Walle
Signed-off-by: Bernhard Walle --- rules/libpcre.in |4 rules/libpcre.make |1 + 2 files changed, 5 insertions(+) diff --git a/rules/libpcre.in b/rules/libpcre.in index b6aab3c..491c65b 100644 --- a/rules/libpcre.in +++ b/rules/libpcre.in @@ -5,6 +5,7 @@ menuconfig LIBPCRE

<    1   2   3   4   >