Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libiconv: bump to 1.14
From: Peter Korsgaard @ 2011-10-05 19:36 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <4E79BB4A.1040608@visionsystems.de>

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

 Yegor> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] libiconv: bump to 1.14
From: Peter Korsgaard @ 2011-10-05 19:36 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=efb5aefbfe5221a3e49702c02ec80428311dc17a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/libiconv/libiconv.mk |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/package/libiconv/libiconv.mk b/package/libiconv/libiconv.mk
index 9d02a4a..48a380f 100644
--- a/package/libiconv/libiconv.mk
+++ b/package/libiconv/libiconv.mk
@@ -3,12 +3,10 @@
 # libiconv
 #
 #############################################################
-LIBICONV_VERSION = 1.12
+LIBICONV_VERSION = 1.14
 LIBICONV_SOURCE = libiconv-$(LIBICONV_VERSION).tar.gz
 LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv
-LIBICONV_AUTORECONF = NO
 LIBICONV_INSTALL_STAGING = YES
-LIBICONV_INSTALL_TARGET = YES
 
 # Remove not used preloadable libiconv.so
 define LIBICONV_TARGET_REMOVE_PRELOADABLE_LIBS

^ permalink raw reply related

* [Buildroot] Bug in pkg-stats?
From: Peter Korsgaard @ 2011-10-05 19:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F39DCFE910@AUSP01VMBX24.collaborationhost.net>

>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:

Hi,

 >> version=$(awk -F'=| ' '/_VERSION/ { print $NF } END { print "unknown" } ' \
 >> $i | head -n 1)

 H> I thought there was some way of doing it with awk... I really need to figure
 H> out how that utility works... ;-)

;) It takes a bit of getting used to, but is quite powerful once you get it.

 >> But it naturally still doesn't work for packages with multiple versions
 >> (like busybox) or where version is major.minor (like glib2).

 H> With your awk line above, the only packages that show up strange are:

 H> util-linux		$(UTIL_LINUX_VERSION_MAJOR)
 H> xenomai		qstrip,$(BR2_PACKAGE_XENOMAI_VERSION))
 H> imagemagick		$(IMAGEMAGICK_MAJOR)-6
 H> binutils		qstrip,$(BR2_BINUTILS_VERSION))
 H> microperl		$(MICROPERL_MAJ).8.8
 H> haserl		qstrip,$(BR2_PACKAGE_HASERL_VERSION))

 H> And, of course, the ones with version major.minor only show the major version.

 H> Regardless, do you think this patch is worth submitting?

Well, I think the info in useful, but as buildroot already knows the
version (except for unconfigured packages), wouldn't it make more sense
to add a <pkg>-version target to GENTARGETS and use that instead?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] Bug in pkg-stats?
From: H Hartley Sweeten @ 2011-10-05 18:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87sjn7nv4d.fsf@macbook.be.48ers.dk>

On Wednesday, October 05, 2011 11:37 AM, Peter Korsgaard wrote:
>>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:
>
> Hi,
>
> H>     version=""
>
> H>     if grep -m1 "_VERSION" $i > /dev/null ; then
> H> 	version=`grep -m1 "_VERSION" $i | awk '{ print $NF }'`
> H>     else
> H> 	version="unknown"
> H>     fi
>
> H> This works fine for the packages that have _VERSION defined like:
>
> H> FOO_VERSION = x.y.z
>
> H> But it ends up with the whole line when the spaces are missing around the
> H> '='.  Oh well...
>
> You could simply do it awk:
>
> version=$(awk -F'=| ' '/_VERSION/ { print $NF } END { print "unknown" } ' \
>           $i | head -n 1)

I thought there was some way of doing it with awk... I really need to figure
out how that utility works... ;-)

> But it naturally still doesn't work for packages with multiple versions
> (like busybox) or where version is major.minor (like glib2).

With your awk line above, the only packages that show up strange are:

util-linux		$(UTIL_LINUX_VERSION_MAJOR)
xenomai		qstrip,$(BR2_PACKAGE_XENOMAI_VERSION))
imagemagick		$(IMAGEMAGICK_MAJOR)-6
binutils		qstrip,$(BR2_BINUTILS_VERSION))
microperl		$(MICROPERL_MAJ).8.8
haserl		qstrip,$(BR2_PACKAGE_HASERL_VERSION))

And, of course, the ones with version major.minor only show the major version.

Regardless, do you think this patch is worth submitting?

Thanks,
Hartley

^ permalink raw reply

* [Buildroot] Bug in pkg-stats?
From: Peter Korsgaard @ 2011-10-05 18:36 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F39DCFE877@AUSP01VMBX24.collaborationhost.net>

>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:

Hi,

 H>     version=""

 H>     if grep -m1 "_VERSION" $i > /dev/null ; then
 H> 	version=`grep -m1 "_VERSION" $i | awk '{ print $NF }'`
 H>     else
 H> 	version="unknown"
 H>     fi

 H> This works fine for the packages that have _VERSION defined like:

 H> FOO_VERSION = x.y.z

 H> But it ends up with the whole line when the spaces are missing around the
 H> '='.  Oh well...

You could simply do it awk:

version=$(awk -F'=| ' '/_VERSION/ { print $NF } END { print "unknown" } ' \
          $i | head -n 1)

But it naturally still doesn't work for packages with multiple versions
(like busybox) or where version is major.minor (like glib2).

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 5/5] x11r7: AUTORECONF=NO is the default, remove
From: Peter Korsgaard @ 2011-10-05 18:23 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <67f26d4ed596211f7e3bc5ed384cd1abf088b236.1316465857.git.thomas.petazzoni@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with some minor fixups for AUTOTARGETS, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] x11r7: AUTORECONF=NO is the default, remove
From: Peter Korsgaard @ 2011-10-05 18:23 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=42a28105f12e006e8b01579d0004c8cb3edc0acb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/x11r7/libxcb/libxcb.mk                     |    1 -
 package/x11r7/mesa3d/mesa3d.mk                     |    1 -
 package/x11r7/xapp_appres/xapp_appres.mk           |    1 -
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk       |    1 -
 package/x11r7/xapp_beforelight/xapp_beforelight.mk |    1 -
 package/x11r7/xapp_bitmap/xapp_bitmap.mk           |    1 -
 package/x11r7/xapp_editres/xapp_editres.mk         |    1 -
 package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk   |    1 -
 package/x11r7/xapp_fslsfonts/xapp_fslsfonts.mk     |    1 -
 package/x11r7/xapp_fstobdf/xapp_fstobdf.mk         |    1 -
 package/x11r7/xapp_iceauth/xapp_iceauth.mk         |    1 -
 package/x11r7/xapp_ico/xapp_ico.mk                 |    1 -
 package/x11r7/xapp_listres/xapp_listres.mk         |    1 -
 package/x11r7/xapp_luit/xapp_luit.mk               |    1 -
 package/x11r7/xapp_mkfontdir/xapp_mkfontdir.mk     |    1 -
 package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk |    1 -
 package/x11r7/xapp_oclock/xapp_oclock.mk           |    1 -
 package/x11r7/xapp_rgb/xapp_rgb.mk                 |    1 -
 package/x11r7/xapp_rstart/xapp_rstart.mk           |    1 -
 package/x11r7/xapp_scripts/xapp_scripts.mk         |    1 -
 package/x11r7/xapp_sessreg/xapp_sessreg.mk         |    1 -
 package/x11r7/xapp_setxkbmap/xapp_setxkbmap.mk     |    1 -
 package/x11r7/xapp_showfont/xapp_showfont.mk       |    1 -
 package/x11r7/xapp_smproxy/xapp_smproxy.mk         |    1 -
 package/x11r7/xapp_twm/xapp_twm.mk                 |    1 -
 package/x11r7/xapp_viewres/xapp_viewres.mk         |    1 -
 package/x11r7/xapp_x11perf/xapp_x11perf.mk         |    1 -
 package/x11r7/xapp_xauth/xapp_xauth.mk             |    1 -
 package/x11r7/xapp_xbacklight/xapp_xbacklight.mk   |    1 -
 package/x11r7/xapp_xbiff/xapp_xbiff.mk             |    1 -
 package/x11r7/xapp_xcalc/xapp_xcalc.mk             |    1 -
 package/x11r7/xapp_xclipboard/xapp_xclipboard.mk   |    1 -
 package/x11r7/xapp_xclock/xapp_xclock.mk           |    1 -
 package/x11r7/xapp_xcmsdb/xapp_xcmsdb.mk           |    1 -
 package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk   |    1 -
 package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.mk     |    1 -
 package/x11r7/xapp_xditview/xapp_xditview.mk       |    1 -
 package/x11r7/xapp_xdm/xapp_xdm.mk                 |    1 -
 package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk       |    1 -
 package/x11r7/xapp_xdriinfo/xapp_xdriinfo.mk       |    1 -
 package/x11r7/xapp_xedit/xapp_xedit.mk             |    1 -
 package/x11r7/xapp_xev/xapp_xev.mk                 |    1 -
 package/x11r7/xapp_xeyes/xapp_xeyes.mk             |    1 -
 package/x11r7/xapp_xf86dga/xapp_xf86dga.mk         |    1 -
 package/x11r7/xapp_xfd/xapp_xfd.mk                 |    1 -
 package/x11r7/xapp_xfontsel/xapp_xfontsel.mk       |    1 -
 package/x11r7/xapp_xfs/xapp_xfs.mk                 |    1 -
 package/x11r7/xapp_xfsinfo/xapp_xfsinfo.mk         |    1 -
 package/x11r7/xapp_xgamma/xapp_xgamma.mk           |    1 -
 package/x11r7/xapp_xgc/xapp_xgc.mk                 |    1 -
 package/x11r7/xapp_xhost/xapp_xhost.mk             |    1 -
 package/x11r7/xapp_xinput/xapp_xinput.mk           |    1 -
 package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk         |    1 -
 package/x11r7/xapp_xkbevd/xapp_xkbevd.mk           |    1 -
 package/x11r7/xapp_xkbprint/xapp_xkbprint.mk       |    1 -
 package/x11r7/xapp_xkbutils/xapp_xkbutils.mk       |    1 -
 package/x11r7/xapp_xkill/xapp_xkill.mk             |    1 -
 package/x11r7/xapp_xload/xapp_xload.mk             |    1 -
 package/x11r7/xapp_xlogo/xapp_xlogo.mk             |    1 -
 package/x11r7/xapp_xlsatoms/xapp_xlsatoms.mk       |    1 -
 package/x11r7/xapp_xlsclients/xapp_xlsclients.mk   |    1 -
 package/x11r7/xapp_xlsfonts/xapp_xlsfonts.mk       |    1 -
 package/x11r7/xapp_xmag/xapp_xmag.mk               |    1 -
 package/x11r7/xapp_xman/xapp_xman.mk               |    1 -
 package/x11r7/xapp_xmessage/xapp_xmessage.mk       |    1 -
 package/x11r7/xapp_xmh/xapp_xmh.mk                 |    1 -
 package/x11r7/xapp_xmodmap/xapp_xmodmap.mk         |    1 -
 package/x11r7/xapp_xmore/xapp_xmore.mk             |    1 -
 .../x11r7/xapp_xplsprinters/xapp_xplsprinters.mk   |    1 -
 package/x11r7/xapp_xpr/xapp_xpr.mk                 |    1 -
 .../xapp_xprehashprinterlist.mk                    |    1 -
 package/x11r7/xapp_xprop/xapp_xprop.mk             |    1 -
 package/x11r7/xapp_xrandr/xapp_xrandr.mk           |    1 -
 package/x11r7/xapp_xrdb/xapp_xrdb.mk               |    1 -
 package/x11r7/xapp_xrefresh/xapp_xrefresh.mk       |    1 -
 package/x11r7/xapp_xset/xapp_xset.mk               |    1 -
 package/x11r7/xapp_xsetmode/xapp_xsetmode.mk       |    1 -
 package/x11r7/xapp_xsetpointer/xapp_xsetpointer.mk |    1 -
 package/x11r7/xapp_xsetroot/xapp_xsetroot.mk       |    1 -
 package/x11r7/xapp_xsm/xapp_xsm.mk                 |    1 -
 package/x11r7/xapp_xstdcmap/xapp_xstdcmap.mk       |    1 -
 package/x11r7/xapp_xvidtune/xapp_xvidtune.mk       |    1 -
 package/x11r7/xapp_xvinfo/xapp_xvinfo.mk           |    1 -
 package/x11r7/xapp_xwd/xapp_xwd.mk                 |    1 -
 package/x11r7/xapp_xwininfo/xapp_xwininfo.mk       |    1 -
 package/x11r7/xapp_xwud/xapp_xwud.mk               |    1 -
 package/x11r7/xdata_xbitmaps/xdata_xbitmaps.mk     |    1 -
 .../xdata_xcursor-themes/xdata_xcursor-themes.mk   |    1 -
 .../xdriver_xf86-input-acecad.mk                   |    1 -
 .../xdriver_xf86-input-aiptek.mk                   |    1 -
 .../xdriver_xf86-input-evdev.mk                    |    1 -
 .../xdriver_xf86-input-joystick.mk                 |    1 -
 .../xdriver_xf86-input-keyboard.mk                 |    1 -
 .../xdriver_xf86-input-mouse.mk                    |    1 -
 .../xdriver_xf86-input-synaptics.mk                |    1 -
 .../xdriver_xf86-input-vmmouse.mk                  |    1 -
 .../xdriver_xf86-input-void.mk                     |    1 -
 .../xdriver_xf86-video-apm.mk                      |    1 -
 .../xdriver_xf86-video-ark.mk                      |    1 -
 .../xdriver_xf86-video-ast.mk                      |    1 -
 .../xdriver_xf86-video-chips.mk                    |    1 -
 .../xdriver_xf86-video-cirrus.mk                   |    1 -
 .../xdriver_xf86-video-dummy.mk                    |    1 -
 .../xdriver_xf86-video-fbdev.mk                    |    1 -
 .../xdriver_xf86-video-geode.mk                    |    1 -
 .../xdriver_xf86-video-glide.mk                    |    1 -
 .../xdriver_xf86-video-i128.mk                     |    1 -
 .../xdriver_xf86-video-i740.mk                     |    1 -
 .../xdriver_xf86-video-neomagic.mk                 |    1 -
 .../xdriver_xf86-video-newport.mk                  |    1 -
 .../xdriver_xf86-video-nv/xdriver_xf86-video-nv.mk |    1 -
 .../xdriver_xf86-video-rendition.mk                |    1 -
 .../xdriver_xf86-video-s3/xdriver_xf86-video-s3.mk |    1 -
 .../xdriver_xf86-video-s3virge.mk                  |    1 -
 .../xdriver_xf86-video-siliconmotion.mk            |    1 -
 .../xdriver_xf86-video-sisusb.mk                   |    1 -
 .../xdriver_xf86-video-suncg14.mk                  |    1 -
 .../xdriver_xf86-video-suncg3.mk                   |    1 -
 .../xdriver_xf86-video-suncg6.mk                   |    1 -
 .../xdriver_xf86-video-sunffb.mk                   |    1 -
 .../xdriver_xf86-video-sunleo.mk                   |    1 -
 .../xdriver_xf86-video-suntcx.mk                   |    1 -
 .../xdriver_xf86-video-tga.mk                      |    1 -
 .../xdriver_xf86-video-trident.mk                  |    1 -
 .../xdriver_xf86-video-tseng.mk                    |    1 -
 .../xdriver_xf86-video-v4l.mk                      |    1 -
 .../xdriver_xf86-video-vmware.mk                   |    1 -
 .../xdriver_xf86-video-voodoo.mk                   |    1 -
 .../xdriver_xf86-video-wsfb.mk                     |    1 -
 package/x11r7/xfont_encodings/xfont_encodings.mk   |    1 -
 .../xfont_font-adobe-100dpi.mk                     |    1 -
 .../xfont_font-adobe-75dpi.mk                      |    1 -
 .../xfont_font-adobe-utopia-100dpi.mk              |    1 -
 .../xfont_font-adobe-utopia-75dpi.mk               |    1 -
 .../xfont_font-adobe-utopia-type1.mk               |    1 -
 package/x11r7/xfont_font-alias/xfont_font-alias.mk |    1 -
 .../xfont_font-arabic-misc.mk                      |    1 -
 .../xfont_font-bh-100dpi/xfont_font-bh-100dpi.mk   |    1 -
 .../xfont_font-bh-75dpi/xfont_font-bh-75dpi.mk     |    1 -
 .../xfont_font-bh-lucidatypewriter-100dpi.mk       |    1 -
 .../xfont_font-bh-lucidatypewriter-75dpi.mk        |    1 -
 .../x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.mk   |    1 -
 .../xfont_font-bh-type1/xfont_font-bh-type1.mk     |    1 -
 .../xfont_font-bitstream-100dpi.mk                 |    1 -
 .../xfont_font-bitstream-75dpi.mk                  |    1 -
 .../xfont_font-bitstream-speedo.mk                 |    1 -
 .../xfont_font-bitstream-type1.mk                  |    1 -
 .../xfont_font-cronyx-cyrillic.mk                  |    1 -
 .../xfont_font-cursor-misc.mk                      |    1 -
 .../xfont_font-daewoo-misc.mk                      |    1 -
 .../xfont_font-dec-misc/xfont_font-dec-misc.mk     |    1 -
 .../xfont_font-ibm-type1/xfont_font-ibm-type1.mk   |    1 -
 .../xfont_font-isas-misc/xfont_font-isas-misc.mk   |    1 -
 .../xfont_font-jis-misc/xfont_font-jis-misc.mk     |    1 -
 .../xfont_font-micro-misc/xfont_font-micro-misc.mk |    1 -
 .../xfont_font-misc-cyrillic.mk                    |    1 -
 .../xfont_font-misc-ethiopic.mk                    |    1 -
 .../xfont_font-misc-meltho.mk                      |    1 -
 .../xfont_font-misc-misc/xfont_font-misc-misc.mk   |    1 -
 .../xfont_font-mutt-misc/xfont_font-mutt-misc.mk   |    1 -
 .../xfont_font-schumacher-misc.mk                  |    1 -
 .../xfont_font-screen-cyrillic.mk                  |    1 -
 .../xfont_font-sony-misc/xfont_font-sony-misc.mk   |    1 -
 .../xfont_font-sun-misc/xfont_font-sun-misc.mk     |    1 -
 .../xfont_font-winitzki-cyrillic.mk                |    1 -
 .../xfont_font-xfree86-type1.mk                    |    1 -
 package/x11r7/xkeyboard-config/xkeyboard-config.mk |    1 -
 package/x11r7/xlib_libFS/xlib_libFS.mk             |    1 -
 package/x11r7/xlib_libICE/xlib_libICE.mk           |    1 -
 package/x11r7/xlib_libSM/xlib_libSM.mk             |    1 -
 .../x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.mk |    1 -
 package/x11r7/xlib_libXau/xlib_libXau.mk           |    1 -
 .../x11r7/xlib_libXcomposite/xlib_libXcomposite.mk |    1 -
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk   |    1 -
 package/x11r7/xlib_libXdamage/xlib_libXdamage.mk   |    1 -
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk       |    1 -
 package/x11r7/xlib_libXext/xlib_libXext.mk         |    1 -
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk     |    1 -
 .../x11r7/xlib_libXfontcache/xlib_libXfontcache.mk |    1 -
 package/x11r7/xlib_libXi/xlib_libXi.mk             |    1 -
 package/x11r7/xlib_libXinerama/xlib_libXinerama.mk |    1 -
 package/x11r7/xlib_libXmu/xlib_libXmu.mk           |    1 -
 package/x11r7/xlib_libXp/xlib_libXp.mk             |    1 -
 package/x11r7/xlib_libXpm/xlib_libXpm.mk           |    1 -
 .../xlib_libXprintAppUtil/xlib_libXprintAppUtil.mk |    1 -
 .../x11r7/xlib_libXprintUtil/xlib_libXprintUtil.mk |    1 -
 package/x11r7/xlib_libXrandr/xlib_libXrandr.mk     |    1 -
 package/x11r7/xlib_libXrender/xlib_libXrender.mk   |    1 -
 package/x11r7/xlib_libXres/xlib_libXres.mk         |    1 -
 package/x11r7/xlib_libXv/xlib_libXv.mk             |    1 -
 package/x11r7/xlib_libXvMC/xlib_libXvMC.mk         |    1 -
 package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk |    1 -
 package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk   |    1 -
 package/x11r7/xlib_libdmx/xlib_libdmx.mk           |    1 -
 package/x11r7/xlib_libfontenc/xlib_libfontenc.mk   |    1 -
 package/x11r7/xlib_liboldX/xlib_liboldX.mk         |    1 -
 package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk   |    1 -
 package/x11r7/xlib_libxkbui/xlib_libxkbui.mk       |    1 -
 package/x11r7/xlib_xtrans/xlib_xtrans.mk           |    1 -
 .../xproto_applewmproto/xproto_applewmproto.mk     |    1 -
 .../xproto_bigreqsproto/xproto_bigreqsproto.mk     |    1 -
 .../xproto_compositeproto/xproto_compositeproto.mk |    1 -
 .../x11r7/xproto_damageproto/xproto_damageproto.mk |    1 -
 package/x11r7/xproto_dmxproto/xproto_dmxproto.mk   |    1 -
 package/x11r7/xproto_dri2proto/xproto_dri2proto.mk |    1 -
 .../x11r7/xproto_fixesproto/xproto_fixesproto.mk   |    1 -
 .../xproto_fontcacheproto/xproto_fontcacheproto.mk |    1 -
 .../x11r7/xproto_fontsproto/xproto_fontsproto.mk   |    1 -
 package/x11r7/xproto_glproto/xproto_glproto.mk     |    1 -
 .../x11r7/xproto_inputproto/xproto_inputproto.mk   |    1 -
 package/x11r7/xproto_kbproto/xproto_kbproto.mk     |    1 -
 .../x11r7/xproto_printproto/xproto_printproto.mk   |    1 -
 .../x11r7/xproto_randrproto/xproto_randrproto.mk   |    1 -
 .../x11r7/xproto_recordproto/xproto_recordproto.mk |    1 -
 .../x11r7/xproto_renderproto/xproto_renderproto.mk |    1 -
 .../xproto_resourceproto/xproto_resourceproto.mk   |    1 -
 .../xproto_scrnsaverproto/xproto_scrnsaverproto.mk |    1 -
 .../x11r7/xproto_videoproto/xproto_videoproto.mk   |    1 -
 .../xproto_windowswmproto/xproto_windowswmproto.mk |    1 -
 .../x11r7/xproto_xcmiscproto/xproto_xcmiscproto.mk |    1 -
 package/x11r7/xproto_xextproto/xproto_xextproto.mk |    1 -
 .../xproto_xf86bigfontproto.mk                     |    1 -
 .../xproto_xf86dgaproto/xproto_xf86dgaproto.mk     |    1 -
 .../xproto_xf86driproto/xproto_xf86driproto.mk     |    1 -
 .../xproto_xf86rushproto/xproto_xf86rushproto.mk   |    1 -
 .../xproto_xf86vidmodeproto.mk                     |    1 -
 .../xproto_xineramaproto/xproto_xineramaproto.mk   |    1 -
 package/x11r7/xproto_xproto/xproto_xproto.mk       |    1 -
 .../xserver_xorg-server/xserver_xorg-server.mk     |    1 -
 package/x11r7/xutil_makedepend/xutil_makedepend.mk |    1 -
 .../x11r7/xutil_util-macros/xutil_util-macros.mk   |    1 -
 231 files changed, 0 insertions(+), 231 deletions(-)

Patch is too large, so refusing to show it

^ permalink raw reply

* [Buildroot] [PATCH 4/5] xdata_xcursor-themes: add dependency on host xapp_xcursorgen
From: Peter Korsgaard @ 2011-10-05 18:21 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <e47afdf2949613e71f9b1602152a76c4d0db4715.1316465857.git.thomas.petazzoni@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> As reported in bug #3331, xdata_xcursor_themes needs the xcursorgen
 Thomas> application installed on the host. This commit adds this dependency,
 Thomas> together with the needed host libraries required for xapp_cursorgen to
 Thomas> build properly.

Committed with some fixups because of the AUTOTARGETS changes, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] xdata_xcursor-themes: add dependency on host xapp_xcursorgen
From: Peter Korsgaard @ 2011-10-05 18:20 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=aeaa5e9422955c53b7c904a987a475ca0ec04369
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

As reported in bug #3331, xdata_xcursor_themes needs the xcursorgen
application installed on the host. This commit adds this dependency,
together with the needed host libraries required for xapp_cursorgen to
build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk   |    3 +++
 .../xdata_xcursor-themes/xdata_xcursor-themes.mk   |    2 +-
 package/x11r7/xlib_libXcursor/xlib_libXcursor.mk   |    3 +++
 package/x11r7/xlib_libXfixes/xlib_libXfixes.mk     |    3 +++
 package/x11r7/xlib_libXrender/xlib_libXrender.mk   |    3 +++
 .../x11r7/xproto_fixesproto/xproto_fixesproto.mk   |    1 +
 .../x11r7/xproto_renderproto/xproto_renderproto.mk |    1 +
 7 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk b/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk
index 55ddcdc..75c1135 100644
--- a/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk
+++ b/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk
@@ -10,4 +10,7 @@ XAPP_XCURSORGEN_SITE = http://xorg.freedesktop.org/releases/individual/app
 XAPP_XCURSORGEN_AUTORECONF = NO
 XAPP_XCURSORGEN_DEPENDENCIES = libpng xlib_libX11 xlib_libXcursor
 
+HOST_XAPP_XCURSORGEN_DEPENDENCIES = host-libpng host-xlib_libX11 host-xlib_libXcursor
+
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
diff --git a/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk b/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk
index fe5c0da..b62b51c 100644
--- a/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk
+++ b/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk
@@ -9,6 +9,6 @@ XDATA_XCURSOR_THEMES_SITE = http://xorg.freedesktop.org/releases/individual/data
 XDATA_XCURSOR_THEMES_AUTORECONF = NO
 XDATA_XCURSOR_THEMES_INSTALL_STAGING = YES
 XDATA_XCURSOR_THEMES_INSTALL_TARGET = YES
-XDATA_XCURSOR_THEMES_DEPENDENCIES = xlib_libXcursor
+XDATA_XCURSOR_THEMES_DEPENDENCIES = xlib_libXcursor host-xapp_xcursorgen
 
 $(eval $(call AUTOTARGETS))
diff --git a/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk b/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
index ffe1b4d..6f3a776 100644
--- a/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
+++ b/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk
@@ -11,4 +11,7 @@ XLIB_LIBXCURSOR_AUTORECONF = NO
 XLIB_LIBXCURSOR_INSTALL_STAGING = YES
 XLIB_LIBXCURSOR_DEPENDENCIES = xlib_libX11 xlib_libXfixes xlib_libXrender xproto_xproto
 
+HOST_XLIB_LIBXCURSOR_DEPENDENCIES = host-xlib_libX11 host-xlib_libXfixes host-xlib_libXrender host-xproto_xproto
+
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
diff --git a/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk b/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
index 2450bce..72cd848 100644
--- a/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
+++ b/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk
@@ -11,4 +11,7 @@ XLIB_LIBXFIXES_AUTORECONF = NO
 XLIB_LIBXFIXES_INSTALL_STAGING = YES
 XLIB_LIBXFIXES_DEPENDENCIES = xproto_fixesproto xlib_libX11 xproto_xextproto xproto_xproto
 
+HOST_XLIB_LIBXFIXES_DEPENDENCIES = host-xproto_fixesproto host-xlib_libX11 host-xproto_xextproto host-xproto_xproto
+
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
diff --git a/package/x11r7/xlib_libXrender/xlib_libXrender.mk b/package/x11r7/xlib_libXrender/xlib_libXrender.mk
index 3649503..5778135 100644
--- a/package/x11r7/xlib_libXrender/xlib_libXrender.mk
+++ b/package/x11r7/xlib_libXrender/xlib_libXrender.mk
@@ -12,4 +12,7 @@ XLIB_LIBXRENDER_INSTALL_STAGING = YES
 XLIB_LIBXRENDER_DEPENDENCIES = xlib_libX11 xproto_renderproto xproto_xproto
 XLIB_LIBXRENDER_CONF_OPT = --disable-malloc0returnsnull
 
+HOST_XLIB_LIBXRENDER_DEPENDENCIES = host-xlib_libX11 host-xproto_renderproto host-xproto_xproto
+
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
diff --git a/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk b/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
index d569de8..a91e6cb 100644
--- a/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
+++ b/package/x11r7/xproto_fixesproto/xproto_fixesproto.mk
@@ -12,3 +12,4 @@ XPROTO_FIXESPROTO_INSTALL_STAGING = YES
 XPROTO_FIXESPROTO_INSTALL_TARGET = NO
 
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))
diff --git a/package/x11r7/xproto_renderproto/xproto_renderproto.mk b/package/x11r7/xproto_renderproto/xproto_renderproto.mk
index 7960517..dac3424 100644
--- a/package/x11r7/xproto_renderproto/xproto_renderproto.mk
+++ b/package/x11r7/xproto_renderproto/xproto_renderproto.mk
@@ -12,3 +12,4 @@ XPROTO_RENDERPROTO_INSTALL_STAGING = YES
 XPROTO_RENDERPROTO_INSTALL_TARGET = NO
 
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))

^ permalink raw reply related

* [Buildroot] [PATCH 3/5] mesa3d: add patch to fix build on !locale toolchains
From: Peter Korsgaard @ 2011-10-05 18:02 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <f08b73124ef8e797878851102a0f915e06dc4fd1.1316465857.git.thomas.petazzoni@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes bug #3313.
 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Thomas> ---
 Thomas>  .../x11r7/mesa3d/mesa3d-7.6.1-fix-no-locale.patch  |   14 ++++++++++++++
 Thomas>  1 files changed, 14 insertions(+), 0 deletions(-)
 Thomas>  create mode 100644 package/x11r7/mesa3d/mesa3d-7.6.1-fix-no-locale.patch

 Thomas> diff --git a/package/x11r7/mesa3d/mesa3d-7.6.1-fix-no-locale.patch b/package/x11r7/mesa3d/mesa3d-7.6.1-fix-no-locale.patch
 Thomas> new file mode 100644
 Thomas> index 0000000..6b481d2
 Thomas> --- /dev/null
 Thomas> +++ b/package/x11r7/mesa3d/mesa3d-7.6.1-fix-no-locale.patch
 Thomas> @@ -0,0 +1,14 @@
 Thomas> +Index: Mesa-7.6.1/src/mesa/main/imports.c
 Thomas> +===================================================================
 Thomas> +--- Mesa-7.6.1.orig/src/mesa/main/imports.c
 Thomas> ++++ Mesa-7.6.1/src/mesa/main/imports.c
 Thomas> +@@ -915,7 +915,8 @@
 Thomas> + double
 Thomas> + _mesa_strtod( const char *s, char **end )
 Thomas> + {
 Thomas> +-#ifdef _GNU_SOURCE
 Thomas> ++  /* We need either a glibc/eglibc library, or uClibc with locales */
 Thomas> ++#if defined(_GNU_SOURCE) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_LOCALE__))

I didn't look at the mesa sources, but are you sure this does the right
thing on uClibc w/locales? Normally you need to #include <features.h>
for the __UCLIBC_* defines - E.G.

./output/host/usr/bin/arm-linux-gcc -dM -E - < /dev/null |grep -c UCLIBC
0

echo '#include <features.h>' > dummy.c
./output/host/usr/bin/arm-linux-gcc -dM -E dummy.c |grep -c UCLIBC
76

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 2/5] x11r7: make package globally visible
From: Peter Korsgaard @ 2011-10-05 17:55 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <c909524d6b4a5f5d13cbb577d124a0aa456fd123.1316465857.git.thomas.petazzoni@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> All x11r7 .mk files were only included into the global chain of
 Thomas> makefile includes if the BR2_PACKAGE_XORG7 option was enabled. This is
 Thomas> not the standard way to do things in Buildroot, and it even breaks
 Thomas> things like running "make <pkg>-*" for a x11r7 package even if X.org
 Thomas> is not selected.

I was a bit concerned about the performance impact of parsing all those
x11 files, but it still seems ok as 'make help' went from 1.8s to 2.8s
on my old laptop.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 2/9] toolchain-external: allow specifying extra external libraries
From: Yann E. MORIN @ 2011-10-05 17:43 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAAXf6LUNU-py6LTR+XT56if46km_cOb6Vm_1Mg5P_O6HhpyVrw@mail.gmail.com>

Thomas?, All,

On Wednesday 05 October 2011 08:20:15 Thomas De Schampheleire wrote:
> On Tue, Oct 4, 2011 at 11:36 PM, Yann E. MORIN
> <yann.morin.1998@anciens.enib.fr> wrote:
> > If an application is linked against libubactrace, then it should have a
> > NEEDED entry for it, no? Or is it dlopen-ed on-demand?
> I can confirm that there is an appropriate NEEDED entry in the application.

OK, thanks for checking out.

> > The proper way to handle this would be to scan all the executables aferward,
> > looking at the DT_NEEDED flag in the ELF header, and copying the missing
> > libraries.
> >
> > Of course, this is tricky, because of the way buildroot handles the sysroot.
> > Every time the compiler is called, the sysroot is overloaded to point to the
> > staging area. This totaly highjacks the purpose of the sysroot.
> >
> > In that case, there is no need to pre-populate the rootfs with the libraries
> > from the sysroot, it should be done only at the end.
> Note that this step would need to be done at each 'make' execution, to
> cater for external applications that were copied to the rootfs
> manually (which is precisely my case).

Indeed. That's exactly what I was thinking.

> > Sadly, this has to go in for now. I'll be creating a new thread with an
> > alternate proposal, but it will require a bit more work, so I'll Ack
> > this for now.
> Ok. Thanks for your ack.

Cheers! :-)

> > Currently, this hack applies only to custom external toolchain, because
> > none of the "automatic" external toolchain currently bundles uClibc-0.9.32.
> 
> I think this would be stated more correctly as:
> "... because none of the automatic external toolchains currently add
> libraries that are not present in the explicit LIB_EXTERNAL_LIB /
> USR_LIB_EXTERNAL_LIB variables."

Yeah. I should follow a new policy: TL;DP: too late, don't post! ;-)

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] package: add the duma memory debugging library
From: Yann E. MORIN @ 2011-10-05 17:35 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <b290fe079ce824d7574c1ad5f41987e21becc92e.1317795453.git.baruch@tkos.co.il>

Baruch, All,

On Wednesday 05 October 2011 08:20:05 Baruch Siach wrote:
> Cc: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Comments in-lined below, in the patch...

> ---
> Hi Yann,
> 
> Might this collide somehow with the optional duma support of crosstool-ng?

No, there will be no conflict, as the DUMA entry in crosstool-NG is not
available when acting as the toolchain backend in buildroot.

But if crosstool-NG is used outside of buildroot to produce a toolchain,
and that toolchain is used as an external toolchain, there will be a
conflict.

But that case is probably a corner case; the user has to be somewhat
responsible for his/her choices.

> baruch
> 
>  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                         |   36 ++++++++++++++++++++++++++
>  5 files changed, 111 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 fd920c3..d565216 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..d50ac20
> --- /dev/null
> +++ b/package/duma/duma-2_5_15-cross-compile.patch
> @@ -0,0 +1,36 @@
> +Allow cross compilation. 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	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)
> ++	$(HOSTCC) $(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 $@
> ++	$(HOSTCC) $(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..3b8675b
> --- /dev/null
> +++ b/package/duma/duma.mk
> @@ -0,0 +1,36 @@
> +#############################################################
> +#
> +# 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 =
> +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) CC=$(TARGET_CC) CXX=$(TARGET_CXX) AR=$(TARGET_AR) \
> +		RANLIB=$(TARGET_RANLIB) DUMA_OPTIONS=$(strip $(DUMA_OPTIONS)) \
> +		$(DUMA_CPP) -C $(@D)

You forgot to pass HOSTCC, introduced in duma-2_5_15-cross-compile.patch

> +endef
> +
> +define DUMA_INSTALL_STAGING_CMDS
> +	$(MAKE) prefix=$(STAGING_DIR) install -C $(@D)
> +endef
> +
> +define DUMA_INSTALL_TARGET_CMDS
> +	$(MAKE) prefix=$(TARGET_DIR) install -C $(@D)
> +endef
> +
> +$(eval $(call GENTARGETS))
> 

Otherwise, looks good.

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] [git commit] x11r7: make package globally visible
From: Peter Korsgaard @ 2011-10-05 17:13 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=9bc7b1d4ae694b818f941410d1ff59316a2bba6e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

All x11r7 .mk files were only included into the global chain of
makefile includes if the BR2_PACKAGE_XORG7 option was enabled. This is
not the standard way to do things in Buildroot, and it even breaks
things like running "make <pkg>-*" for a x11r7 package even if X.org
is not selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/x11r7/x11r7.mk |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/package/x11r7/x11r7.mk b/package/x11r7/x11r7.mk
index 7c7ae69..ea0363f 100644
--- a/package/x11r7/x11r7.mk
+++ b/package/x11r7/x11r7.mk
@@ -1,3 +1 @@
-ifeq ($(BR2_PACKAGE_XORG7),y)
 include package/x11r7/*/*.mk
-endif

^ permalink raw reply related

* [Buildroot] [PATCH 1/5] mesa: build statically because of DRI drivers
From: Peter Korsgaard @ 2011-10-05 17:12 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20110920084302.771febcf@skate>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Hello,
 Thomas> Of course, the title should be "mesa: don't build statically because of
 Thomas> DRI drivers". I will send an updated version once others will have
 Thomas> reviewed the patchset.

Thanks, please do so - The patch looks sensible.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] pkg-stats: cnt should start with 0
From: Peter Korsgaard @ 2011-10-05 17:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <ADE657CA350FB648AAC2C43247A983F001F39DCFE857@AUSP01VMBX24.collaborationhost.net>

>>>>> "H" == H Hartley Sweeten <hartleys@visionengravers.com> writes:

 H> The package count, cnt, should start with an initial value of 0.  It
 H> is incremented as each package *.mk file is checked.  Starting with a
 H> value of 1 makes the first ID = 2 and results in the TOTAL being off
 H> by 1.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] Bug in pkg-stats?
From: H Hartley Sweeten @ 2011-10-05 17:09 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20111005084340.204661fb@skate>

On Tuesday, October 04, 2011 11:44 PM, Thomas Petazzoni wrote:
> Le Tue, 4 Oct 2011 18:05:04 -0500,
> H Hartley Sweeten <hartleys@visionengravers.com> a ?crit :
>
>> One other thing with pkg-stats.
>> 
>> Can you think of any way to pull the _VERSION of the packages out of
>> the *.mk files and show that information in the output html file?
>
> Yes, shouldn't be too difficult. Why would this be useful ?

It seems convenient.  Having the script output the package version would
be nicer than having to look at the various *.mk files be hand to see what
version is actually being used by Buildroot.

I have something "kind" of working right now but its output isn't very
nice for a lot of the packages.  I'm doing this in the script:

    version=""

    if grep -m1 "_VERSION" $i > /dev/null ; then
	version=`grep -m1 "_VERSION" $i | awk '{ print $NF }'`
    else
	version="unknown"
    fi

This works fine for the packages that have _VERSION defined like:

FOO_VERSION = x.y.z

But it ends up with the whole line when the spaces are missing around the
'='.  Oh well...

Regards,
Hartley

^ permalink raw reply

* [Buildroot] [git commit] pkg-stats: cnt should start with 0
From: Peter Korsgaard @ 2011-10-05 17:08 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=b7b75b71679a03d92850890e1980d7e3cc42b096
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The package count, cnt, should start with an initial value of 0.  It
is incremented as each package *.mk file is checked.  Starting with a
value of 1 makes the first ID = 2 and results in the TOTAL being off
by 1.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 support/scripts/pkg-stats |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 8602b0f..3e89bd1 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -73,7 +73,7 @@ convert_to_generic_target=0
 convert_to_generic_host=0
 convert_to_autotools=0
 total_patch_count=0
-cnt=1
+cnt=0
 for i in $(find package/ -name '*.mk') ; do
 
     if test \

^ permalink raw reply related

* [Buildroot] [PATCH] pkg-stats: cnt should start with 0
From: H Hartley Sweeten @ 2011-10-05 16:47 UTC (permalink / raw)
  To: buildroot

The package count, cnt, should start with an initial value of 0.  It
is incremented as each package *.mk file is checked.  Starting with a
value of 1 makes the first ID = 2 and results in the TOTAL being off
by 1.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>

---

diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 8602b0f..3e89bd1 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -73,7 +73,7 @@ convert_to_generic_target=0
 convert_to_generic_host=0
 convert_to_autotools=0
 total_patch_count=0
-cnt=1
+cnt=0
 for i in $(find package/ -name '*.mk') ; do
 
     if test \

^ permalink raw reply related

* [Buildroot] [PATCH] gdb: bump to 7.3.1
From: Peter Korsgaard @ 2011-10-05 15:26 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20111005165738.7aa3756e@skate>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 >> Yes, I noticed as well. Bfin users, please speak up.

 Thomas> I guess Mike is best placed to answer here. Otherwise, I'll bring up a
 Thomas> Blackfin board I have and I'll test this.

Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] gdb: add 7.2a version
From: Peter Korsgaard @ 2011-10-05 14:58 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=228bde4dbe81254785ffa9986c81c79f5567c241
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 toolchain/gdb/Config.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index a5dc71c..e593698 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -57,6 +57,11 @@ choice
 		depends on !BR2_bfin
 		select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
 
+	config BR2_GDB_VERSION_7_2
+		bool "gdb 7.2.x"
+		depends on !BR2_bfin
+		select BR2_PTHREAD_DEBUG if !BR2_PTHREADS_NONE
+
 	config BR2_GDB_VERSION_7_3
 		bool "gdb 7.3.x"
 		depends on !BR2_bfin
@@ -71,4 +76,5 @@ config BR2_GDB_VERSION
 	default "6.8a"     if BR2_GDB_VERSION_6_8
 	default "7.0.1a"   if BR2_GDB_VERSION_7_0_1
 	default "7.1a"     if BR2_GDB_VERSION_7_1
+	default "7.2a"     if BR2_GDB_VERSION_7_2
 	default "7.3.1"    if BR2_GDB_VERSION_7_3

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] toolchain/gdb: fixup version strings
From: Peter Korsgaard @ 2011-10-05 14:57 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1315951050-19272-3-git-send-email-yann.morin.1998@anciens.enib.fr>

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:

 Yann> The gdb tarballs have been re-released after a GPL compliance
 Yann> issue was found:
 Yann>   http://sourceware.org/ml/gdb/2011-09/msg00030.html

 Yann> So all versions were re-packaged.

 Yann> In the process, an 'a' was appended to the version strings, and
 Yann> unlike the binutils people, the gdb folks are not inclined in
 Yann> providing legacy symlinks:
 Yann>   http://sourceware.org/ml/gdb/2011-09/msg00036.html


 Yann> So, this patch fixes the issue by renaming version strings. It is to be
 Yann> noted that, although the versions got bumped to include an 'a' at the end,
 Yann> the directory contained in the tarball is still named after the version
 Yann> string without the 'a'. For example:
 Yann>  - old version      : 6.6
 Yann>  - new version      : 6.6a
 Yann>  - tarball name     : gdb-6.6a.tar.bz2
 Yann>  - directory name   : gdb-6.6/

 Yann> In fact, it does not pose any problem for buildroot, as the extract process
 Yann> explicitly mkdirs the directory to extract into, *and* strips the first level
 Yann> of the tree extracted from the tarball.

Committed with minor changes to apply to head + I prefer to not change
the config symbols, only the tarball versions.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] gdb: bump to 7.3.1
From: Thomas Petazzoni @ 2011-10-05 14:57 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87zkhfpl64.fsf@macbook.be.48ers.dk>

Le Wed, 05 Oct 2011 16:28:35 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

>  Yegor> Can some one with blackfin test this? If it is working, we
>  Yegor> could remove the dependence on !blfn.
> 
> Yes, I noticed as well. Bfin users, please speak up.

I guess Mike is best placed to answer here. Otherwise, I'll bring up a
Blackfin board I have and I'll test this.

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] [git commit] toolchain/gdb: fixup version strings
From: Peter Korsgaard @ 2011-10-05 14:56 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=e23d0d7dd25dcd7cfcee171a2ffd3348b75afa3e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The gdb tarballs have been re-released after a GPL compliance
issue was found:
  http://sourceware.org/ml/gdb/2011-09/msg00030.html

So all versions were re-packaged.

In the process, an 'a' was appended to the version strings, and
unlike the binutils people, the gdb folks are not inclined in
providing legacy symlinks:
  http://sourceware.org/ml/gdb/2011-09/msg00036.html

So, this patch fixes the issue by renaming version strings. It is to be
noted that, although the versions got bumped to include an 'a' at the end,
the directory contained in the tarball is still named after the version
string without the 'a'. For example:
 - old version      : 6.6
 - new version      : 6.6a
 - tarball name     : gdb-6.6a.tar.bz2
 - directory name   : gdb-6.6/

In fact, it does not pose any problem for buildroot, as the extract process
explicitly mkdirs the directory to extract into, *and* strips the first level
of the tree extracted from the tarball.

[Peter: fixup patch to apply to head, don't rename config symbols]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 toolchain/gdb/{6.6 => 6.6a}/100-uclibc-conf.patch  |    0
 .../600-fix-compile-flag-mismatch.patch            |    0
 .../gdb/{6.6 => 6.6a}/gdb-6.6-bfin-gdbserver.patch |    0
 .../600-fix-compile-flag-mismatch.patch            |    0
 toolchain/gdb/Config.in                            |    8 ++++----
 5 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/toolchain/gdb/6.6/100-uclibc-conf.patch b/toolchain/gdb/6.6a/100-uclibc-conf.patch
similarity index 100%
rename from toolchain/gdb/6.6/100-uclibc-conf.patch
rename to toolchain/gdb/6.6a/100-uclibc-conf.patch
diff --git a/toolchain/gdb/6.6/600-fix-compile-flag-mismatch.patch b/toolchain/gdb/6.6a/600-fix-compile-flag-mismatch.patch
similarity index 100%
rename from toolchain/gdb/6.6/600-fix-compile-flag-mismatch.patch
rename to toolchain/gdb/6.6a/600-fix-compile-flag-mismatch.patch
diff --git a/toolchain/gdb/6.6/gdb-6.6-bfin-gdbserver.patch b/toolchain/gdb/6.6a/gdb-6.6-bfin-gdbserver.patch
similarity index 100%
rename from toolchain/gdb/6.6/gdb-6.6-bfin-gdbserver.patch
rename to toolchain/gdb/6.6a/gdb-6.6-bfin-gdbserver.patch
diff --git a/toolchain/gdb/6.8/600-fix-compile-flag-mismatch.patch b/toolchain/gdb/6.8a/600-fix-compile-flag-mismatch.patch
similarity index 100%
rename from toolchain/gdb/6.8/600-fix-compile-flag-mismatch.patch
rename to toolchain/gdb/6.8a/600-fix-compile-flag-mismatch.patch
diff --git a/toolchain/gdb/Config.in b/toolchain/gdb/Config.in
index 28279a3..a5dc71c 100644
--- a/toolchain/gdb/Config.in
+++ b/toolchain/gdb/Config.in
@@ -66,9 +66,9 @@ endchoice
 
 config BR2_GDB_VERSION
 	string
-	default "6.6"      if BR2_GDB_VERSION_6_6
+	default "6.6a"     if BR2_GDB_VERSION_6_6
 	default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5
-	default "6.8"      if BR2_GDB_VERSION_6_8
-	default "7.0.1"    if BR2_GDB_VERSION_7_0_1
-	default "7.1"      if BR2_GDB_VERSION_7_1
+	default "6.8a"     if BR2_GDB_VERSION_6_8
+	default "7.0.1a"   if BR2_GDB_VERSION_7_0_1
+	default "7.1a"     if BR2_GDB_VERSION_7_1
 	default "7.3.1"    if BR2_GDB_VERSION_7_3

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] toolchain/gdb: strip tarball component when extracting
From: Peter Korsgaard @ 2011-10-05 14:47 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1315951050-19272-2-git-send-email-yann.morin.1998@anciens.enib.fr>

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@anciens.enib.fr> writes:

 Yann> For some tarballs of gdb (see next patch), the extracted directory is
 Yann> *not* named after the version string (eg. gdb-6.6a extract into gdb-6.6/)

 Yann> Create the appropriate directory first, then use --strip-{components,path}
 Yann> when extracting gdb (the same way it is done for the generic package
 Yann> infrastructure).

 Yann> At the same time, get rid of the snapshot special case, because:
 Yann>  1- it's no longer available in the menu
 Yann>  2- it would be handled by the above change

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox