Commit Graph

110 Commits

Author SHA1 Message Date
Clark Rawlins
249f3db999 mesa3d: Pass LDFLAGS to the build config file
Closes #559.

Without the LDFLAGS in the build configuration file
building mesa3d fails with an external toolchain on amd64
machines targeting i686.  The error indicats that libX11
can't be found.

This change passes the --sysroot parameter (along with any
others specified by buildroot for LDFLAGS to the mklib script.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 20:13:28 +01:00
Peter Korsgaard
9e76714747 package: get rid of redundant malloc related configure presets
Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused
BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 19:58:45 +01:00
Peter Korsgaard
c9a2b035ee x11r7: tweak kconfig
Show comment about what to enable in toolchain to make modular X.org
visible, and move comment about x11r7 toolchain dependency to end,
as otherwise kconfig gets confused and doesn't put X options under
the x11r7 menuconfig.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-08 21:22:16 +02:00
Peter Korsgaard
b1ba675c85 x11r7: fix kconfig dependencies
Most of X.org (E.G. libX11) needs WCHAR support, so ensure that
the toplevel BR2_PACKAGE_XORG7 cannot get enabled unless we have
WCHAR support in the toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 21:05:28 +02:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
6b0d895f64 xdata_xcursor-themes: -source target should only download, not extract
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 17:00:29 +02:00
Thomas Petazzoni
90a459ce4d xorg: add a new cross-compile fix for libXt 1.0.6
The cross-compile fix included in mainline of libXt between 1.0.5 and
1.0.6 is not sufficient. It allows to pass a different compiler for
the host tools, but still uses the TARGET_CFLAGS/TARGET_LDFLAGS to
compile the host tools, which obviously isn't correct.

The new patch allows to use the CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD
variables as the CFLAGS/LDFLAGS to build the host tools.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-28 11:53:04 +02:00
Thomas Petazzoni
930f3db167 xorg: bump version of xutil/macros to 1.2.2
This version bump is required by the bump of xlib_libXt from 1.0.5 to
1.0.6 (1.0.6 requires at least xutil/macros 1.2).

The linuxdoc patch is removed, since it has been merged upstream, at
http://cgit.freedesktop.org/xorg/util/macros/commit/?id=e20c503d24e5ccf03035aa0f6d833d235d2179df

The other patch exposing STAGING_DIR is kept, as it is Buildroot
specific. It has just been updated to resolve conflicts.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-28 11:26:11 +02:00
Thomas Petazzoni
2831a05d03 xorg: bump X.org server version to 1.5.3
This version contains a fix to allow the compilation of the Xvesa
server against recent versions of the kernel headers (fix
http://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.5-branch&id=992a7168f0db5733fe4a6cbd2f40c6b1f2a150e0)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-28 10:05:17 +02:00
Thomas Petazzoni
5d41383920 xorg: bump libXt to 1.0.6
Bump libXt to 1.0.6 and remove the
xlib_libXt-1.0.5-makestrs-nocc.patch, which has been included in a
better form in upstream:
 http://cgit.freedesktop.org/xorg/lib/libXt/commit/?id=36e9f0d351afbf7fd2595990b2d39e7c551f6420

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-28 10:04:15 +02:00
Maurice van der Pot
33a3e7ba2e xf86-video-intel: Fixed cross-compile patch to apply to version 2.4.2
Signed-off-by: Maurice van der Pot <griffon26@kfk4ever.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-27 16:11:16 +02:00
Peter Korsgaard
441c122606 Merge branch 'xorg' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-07-25 09:13:44 +02:00
Thomas Petazzoni
ae8bbdf891 xorg server: remove dependencies
Currently, the X.org server selection always trigger the compilation
and installation of libXt (the X toolkit) and libXaw (Athena Widget
toolkits), which is are legacy toolkits not used by modern toolkits
(Gtk, Qt, etc.). They are only used by old X11 applications that are
typically not used on embedded systems.

Not compiling them save compilation time, and more importantly, space
on the target.

We also remove the compilation on xlib_libxkbui, libxmu and libxpm,
because they all depend on libXt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24 23:26:47 +02:00
Thomas Petazzoni
2d8153655c xorg server: beautify list of dependencies
Reorganize the list of depencies with a sane indentation level, and
one dependency per line. Yes, the list is long, but is easier to read,
and future patches modifying this list will be easier to review.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24 23:26:46 +02:00
Peter Korsgaard
2de62ac5ad xutil_makedepend: install to target, not staging
makedepend is a program, not a library - So makedepend for the target
should get installed to target_dir and not to staging_dir.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-18 01:17:31 +02:00
Peter Korsgaard
d0f902e82e mesa3d: compile makedepend (and in turn xproto) for the host
The mesa3d build needs makedepend on the host, so compile one in $HOST_DIR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-18 00:16:48 +02:00
Thomas Petazzoni
8c00f43904 xorg: remove useless configuration comment
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 14:26:50 +02:00
Thomas Petazzoni
2c502491f6 xorg: reindent configuration option details
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 14:26:29 +02:00
Thomas Petazzoni
1956d0f6d6 xorg: reorganize the selection of the X.org server type
The selection of the X.org server type was really strange. The user
had to select between none, tinyx and modular. Now, the menuconfig
interface display a single item for X.org, that can be
selected/unselected. This entry contains a submenu, that allows to
select the type of the X.org server (tinyX or modular) and that allows
(as before) to enable/disable X.org libraries, drivers, etc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 14:20:06 +02:00
Thomas Petazzoni
51ef5b8122 Fix Matchbox build
Several issues were encountered when trying to build Matchbox. This
patches fixes these issues :

 * Selecting BR2_PACKAGE_MATCHBOX should select BR2_PACKAGE_XORG7,
   otherwise the x11r7 mk files are not included, and matchbox.mk
   refers to non-existing dependencies (such as xlib_libXtst).

 * In matchbox.mk, wrong dependencies for Matchbox keyboard. When
   pango is available, use it through --enable-pango, otherwise, add
   the dependency to xlib_libXft

 * Enable AUTORECONF for libXfont and libXft, otherwise the libtool
   Buildroot patch has no effect, and these packages fail to build
   without the libtool hack.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-01 14:24:47 +02:00
Peter Korsgaard
f6fa84f5ff xdriver_xf86-input-synaptics: fix download url
0.15.0 seems to never have been in Debian (it is atleast not on
snapshot.debian.net), so use the real upstream (freedesktop) instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-06 21:38:07 +02:00
Peter Korsgaard
555e933bb0 xserver: mark as broken on avr32
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 20:10:45 +02:00
Peter Korsgaard
3c1d6d8fc7 mesa: needs C++ support
mesa (and in turn xorg) needs C++ support.
Based on patch by Steffen Schulz <pepe_ml@gmx.net>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 17:34:49 +02:00
Jim Persson
ab59a44160 mesa: fix build for x86
mesa wants to compile and run gen_matypes at build time, so make sure it
gets compiled for the host and not for the target.

Closes #323.

Signed-off-by: Jim Persson <spambox@nurd.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 14:22:48 +02:00
Peter Korsgaard
cccc5a2627 libX11: fix build on hosts without libx11-dev
Make sure the build doesn't use keysymdef.h from the host.
2009-03-29 19:10:30 +00:00
Peter Korsgaard
a5eae2a83e mesa3d: sync kconfig deps with makefile 2009-03-23 12:50:05 +00:00
Peter Korsgaard
cc8ea5e551 libpciaccess: needs large file support 2009-03-23 11:40:10 +00:00
Peter Korsgaard
77754571b2 pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the
reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets
with host-.

At the same time add pkgconfig for the target (E.G. for development) and
let BR2_PACKAGE_PKGCONFIG control that package.

Notice: all defconfigs in the tree have been updated, but make sure to
disable the pkgconfig package (unless you want it) if you use an external
config, otherwise you'll end up with pkgconfig and glib2 in the target.
2009-03-18 19:19:10 +00:00
Peter Korsgaard
9c3542dfc7 xserver-xorg: libXtst not needed 2009-03-16 15:48:29 +00:00
Peter Korsgaard
1fe300010f xserver-xorg: set buildroot mailing list as builder addr 2009-03-16 15:48:21 +00:00
Peter Korsgaard
17b803cd30 xserver-xorg: more optional dependencies 2009-03-16 15:48:14 +00:00
Peter Korsgaard
c1c9f90757 xserver-xorg: dbus is optional 2009-03-16 15:48:07 +00:00
Peter Korsgaard
3e872797d0 xorg_server: cleanup .mk
Rearrange lines and get rid of unneeded variables. Should have no functional
change.
2009-03-16 15:47:44 +00:00
Peter Korsgaard
3b5651823b xserver: 1.5.x needs openssl (for render sha functions) 2009-03-15 07:28:12 +00:00
Peter Korsgaard
59b0aa7a7e x11r7: update to 7.4
Patch by Dan Lykowski <lykowdk@gmail.com>, closes #181.

Minor fixups for kdrive by me.
2009-03-14 14:59:14 +00:00
Peter Korsgaard
b05b875995 xserver_xorg: add options for builtin fonts and aiglx
Patch by Dan Lykowski <lykowdk@gmail.com>
2009-03-13 19:46:03 +00:00
Peter Korsgaard
895cf9e27d mesa3d: fix makedepend arguments
Make sure makedepends only searches the gcc/staging dir, and not the
host include dirs.
2009-02-24 13:30:03 +00:00
Peter Korsgaard
af098e8dfe mesa: use correct config file for arch 2009-02-24 13:29:59 +00:00
Peter Korsgaard
e51884daa8 mesa3d: use MAKE1 instead of playing around with BR2_JLEVEL 2009-02-24 13:29:55 +00:00
Peter Korsgaard
30392a1bef xserver-xorg: select mesa3d in kconfig
xserver-xorg depends on mesa3d, so select it in kconfig as well.
2009-02-24 13:29:50 +00:00
Peter Korsgaard
0948f8af37 x11/video-xgi: fix vesa/xgi typo
Closes #95
2009-02-10 13:01:28 +00:00
Peter Korsgaard
9e7881ccc9 x11r7: make xman and xcb-util visible in Kconfig
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-31 19:08:20 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
53b07783da x11r7/xserver_xorg: breaks with shared cache
The package overrides CFLAGS, so disable shared cache.
2008-12-22 22:10:30 +00:00
Peter Korsgaard
2cdd2d9fc2 x11r7/liblbxutil: use {C,LD}FLAGS_FOR_BUILD for host tools 2008-12-22 22:10:22 +00:00
Peter Korsgaard
97dd2d8e73 x11r7/libXt: use {C,LD}FLAGS_FOR_BUILD for host tools 2008-12-22 22:10:18 +00:00
Peter Korsgaard
a2eec4b5ed x11r7/libX11: use {C,LD}FLAGS_FOR_BUILD for host tools 2008-12-22 22:10:14 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
e9008a36bf x11r7/xkeyboard-config: select xkbcomp
xkeyboard-config uses xkbcomp at runtime, so select it.

closes #5704.
2008-10-23 15:07:34 +00:00