Commit Graph

72 Commits

Author SHA1 Message Date
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Gustavo Zacarias
57194c2bd8 ncurses: fix host build breakage
Disable GPM support for host ncurses build since it sometimes breaks the
build.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-27 23:25:55 +02:00
Peter Korsgaard
d43a90032c ncurses: remove explicit STRIPCMD
Stripping is done globally in target-finalize these days.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-26 15:03:52 +02:00
Thomas De Schampheleire
bf446513e7 ncurses: fix hanging installation due to old version of tic
Closes #3685

During installation of ncurses, the 'tic' program from the host is used. In
some cases, this version of tic is too old for the data to be processed, and
the installation hangs indefinitely (already reported in July 2010, see [1])

With this patch, a static version of tic is built and used during the
installation step of target ncurses. This method is based on a similar fix
in Gentoo Linux (see [2] for the report and [3] for the solution).

[1] http://lists.busybox.net/pipermail/buildroot/2010-July/036100.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=249363#c25
[3] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/ncurses/ncurses-5.7-r2.ebuild

[Peter: Install into host, don't tweak path]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-26 15:01:41 +02:00
Gustavo Zacarias
7d584285c8 ncurses: roll back to version 5.7
ncurses 5.8 and 5.9 segfault with some applications so roll back to
version 5.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-24 22:54:18 +02:00
Peter Korsgaard
4d651b4d12 ncurses: don't build tests
Slows down build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-05 12:31:22 +02:00
Mike Frysinger
c53f5ddc7a ncurses: version bump to 5.8
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-27 22:51:58 +02:00
Peter Korsgaard
78c67b6ce4 ncurses: get rid of unused BR2_PACKAGE_NCURSES_TARGET_HEADERS handling
The option was removed from Config.in in 58508f39c (ncurses: remove
dedicated target-headers option), so remove it from the makefile as
well.

Reported-by: Ian <reg-ian.ridley-buildroot@hydrix.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-30 10:15:29 +02:00
Gustavo Zacarias
c32ce8b56b ncurses: bump to 5.7
Closes #2038

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-18 19:23:38 +02:00
Lionel Landwerlin
3bb02f5ba5 ncurses: fix path to patch ncurses5-config
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 10:06:34 +02:00
Lionel Landwerlin
92d69b9713 ncurses: convert to autotools infrastructure
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 08:44:36 +02:00
Clark Rawlins
6f85972913 Create $(TARGET_DIR)/usr/lib when installing
In some configurations $(TARGET_DIR)/usr/lib isn't
created before the target install target for libncurses
is run.  This change makes sure it is created before
the install target copies files to it.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 16:06:30 +01:00
Peter Korsgaard
58508f39cc ncurses: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:42:52 +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
Peter Korsgaard
0cf28ade0b ncurses: fixup ncurses5-config script
Fixes #133.
2009-03-01 22:35:48 +00:00
Ulf Samuelsson
2b192f0815 Fix static lib dep for ncurses 2009-01-23 23:02:15 +00:00
Ulf Samuelsson
ea8a25f932 Use /usr/lib for ncurses instead of /lib 2009-01-22 22:58:55 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Ulf Samuelsson
0c0725438b Add ncurse-unpacked target 2009-01-12 07:44:09 +00:00
Thomas Lundquist
de5576b350 For some reason we ended up with a link-loop. This does not. 2009-01-11 13:33:13 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
49b38b5009 ncurses: don't follow symlink on ln invocation
The ln -sf command would fail if $TARGET_DIR/usr/lib/terminfo already exists
as we don't have write permissions to the symlink target. Fixed by adding
-n option (don't dereference link).
2008-07-01 19:24:36 +00:00
Nigel Kukard
46528496e9 * Fixed additional ncurses library install path 2008-04-10 08:17:14 +00:00
Nigel Kukard
d6b3ef5148 * Fixed copy-and-paste error, incorrect description
* Fixed another copy-and-paste error, weird space/tab mixes
- Thanks Hamish Moffatt
2008-04-10 05:14:53 +00:00
Nigel Kukard
d284bd5b8f Some package use ncurses libpanel/libform/libmenu, this config allows to selectively
copy them to the target filesystem at the same time at the main library is installed.
-Patch by Michel (BusError)
2008-04-09 11:38:48 +00:00
Peter Korsgaard
345be8bc36 ncurses: cleanup /usr/lib/terminfo symlink handling 2008-03-31 14:44:32 +00:00
Hamish Moffatt
af510f4e19 Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fix
broken GNU download paths. Also fix gnuchess, xboard and classpath
packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
2008-03-26 03:28:09 +00:00
Peter Korsgaard
efa0423110 buildroot: Use BR2_GNU_MIRROR everywhere
Patch by Nigel Kukard.
2008-03-11 08:17:17 +00:00
John Voltz
a6dca68c80 reverted ncurses makefile 2008-03-07 13:57:53 +00:00
John Voltz
6fe5362bb4 updated ncurses makefile 2008-03-06 18:19:15 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Bernhard Reutner-Fischer
7b403ada37 - sed -i -e "/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g"
(want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out
2007-08-21 11:25:30 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
d37c4ad70e Add some additional terminals to ncurses 2007-07-23 08:33:41 +00:00
Ulf Samuelsson
e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer
faf363f197 - account for now optional archive 2007-06-25 16:56:11 +00:00
Bernhard Reutner-Fischer
12435dfe47 - fix typo in previous commit 2007-06-25 16:35:23 +00:00
Bernhard Reutner-Fischer
ab57732b25 - correct installation path 2007-06-25 15:38:03 +00:00
Bernhard Reutner-Fischer
17bc94ad53 - bump version 2007-06-23 13:56:52 +00:00
Bernhard Reutner-Fischer
41decaa9fe - install some more stuff that goes into staging_dir into the proper place.
First hunk of fixes for bug #1290
2007-04-16 18:51:20 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Bernhard Reutner-Fischer
4582047ec7 - copy ncurses_dll.h to the target. Fixes a compilation problem seen by Thomas Lundquist 2007-03-07 14:46:47 +00:00
Bernhard Reutner-Fischer
2c272874b8 - explicitely pass the configured $(DISABLE_LFS) in. Also set --disable-big-core 2007-01-30 17:47:03 +00:00
Eric Andersen
32d9e0e55b fix symlink 2007-01-22 23:52:06 +00:00
Eric Andersen
732d94d25f fixup a whole steaming pile of insanity. When packages are configured,
they should be configured with --prefix=/usr and we then need to use
make DESTDIR=$(STAGING_DIR) install to get things installed into the
staging directory.  The current situation for many packages, which use
--prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled
into the binary itself.

This also adds in a pile of libtool fixups.  Between broken pkgconfig,
broken libtool handling, and broken --prefix settings, its a wonder
things have worked as well as they have up till now.
 -Erik
2007-01-14 03:52:21 +00:00