mbox

ncurses: update to 6.0 and rename 5.9 to ncurses-compat

Message ID 1461393199-7227-1-git-send-email-marcel.lorenz@ipfire.org
State Accepted
Commit a420b3e7b9f3672b6c436cd7b773683fbf0c1f90
Headers

Message

Marcel Lorenz April 23, 2016, 4:33 p.m. UTC
  This patch updates the ncurses to 6.0. The old 5.9 are renamed to ncurses-compat.
The compat makes the old libs maintainable and the compat rootfile is cleaned up.
The 6.0 is build after 5.9 and all IPFire componentes will build with 6.0
In version 6 only the wide-character libraries are build. The are usable
in both multibyte and traditional 8-bit locales while normal libraries work
properly only in 8-bit locales. The toolchain is only bild with 6.0.

Please ignore my first ncurses 6.0 patch.

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>

---
 config/rootfiles/common/ncurses        | 1863 ++++++++--------
 config/rootfiles/common/ncurses-compat | 3610 ++++++++++++++++++++++++++++++++
 lfs/ncurses                            |   70 +-
 lfs/ncurses-compat                     |  127 ++
 make.sh                                |    1 +
 5 files changed, 4721 insertions(+), 950 deletions(-)
 create mode 100644 config/rootfiles/common/ncurses-compat
 create mode 100644 lfs/ncurses-compat
  

Comments

Arne Fitzenreiter April 30, 2016, 11:45 p.m. UTC | #1
On 2016-04-23 08:33, Marcel Lorenz wrote:
> This patch updates the ncurses to 6.0. The old 5.9 are renamed to
> ncurses-compat.
> The compat makes the old libs maintainable and the compat rootfile is
> cleaned up.
> The 6.0 is build after 5.9 and all IPFire componentes will build with 
> 6.0
> In version 6 only the wide-character libraries are build. The are 
> usable
> in both multibyte and traditional 8-bit locales while normal libraries 
> work
> properly only in 8-bit locales. The toolchain is only bild with 6.0.

I have reverted the patch because the toolchain not build on every arch.

Please also not remove the "EXTRA_CONFIG" part because i need this to 
fix
an other build bug on aarch64 buildhosts.
  
Michael Tremer May 2, 2016, 9:36 p.m. UTC | #2
Hi,

@Marcel: Would you look into why this won't build in the toolchain stage on i586
and x86_64 and get back to us? If you can find a solution, please post an
updated version of this patch.

Best,
-Michael

On Sat, 2016-04-30 at 15:45 +0200, Arne Fitzenreiter wrote:
> On 2016-04-23 08:33, Marcel Lorenz wrote:
> > 
> > This patch updates the ncurses to 6.0. The old 5.9 are renamed to
> > ncurses-compat.
> > The compat makes the old libs maintainable and the compat rootfile is
> > cleaned up.
> > The 6.0 is build after 5.9 and all IPFire componentes will build with 
> > 6.0
> > In version 6 only the wide-character libraries are build. The are 
> > usable
> > in both multibyte and traditional 8-bit locales while normal libraries 
> > work
> > properly only in 8-bit locales. The toolchain is only bild with 6.0.
> I have reverted the patch because the toolchain not build on every arch.
> 
> Please also not remove the "EXTRA_CONFIG" part because i need this to 
> fix
> an other build bug on aarch64 buildhosts.
>
  
Marcel Lorenz May 4, 2016, 12:39 a.m. UTC | #3
Hi Arne,

i have reworked the 6.0 LFS file and EXTRA_CONFIG is used.

The x64 build error was:
ln: failed to create symbolic link '/tools/lib/pkgconfig/ncurses.pc': No 
such file or directory
ln: failed to create symbolic link '/tools/lib/pkgconfig/form.pc': No 
such file or directory
ln: failed to create symbolic link '/tools/lib/pkgconfig/panel.pc': No 
such file or directory
ln: failed to create symbolic link '/tools/lib/pkgconfig/menu.pc': No 
such file or directory

The LFS is updated with:
*****
	# Create pkgconfig dir in toolchain
ifneq "$(ROOT)" ""
	mkdir -pv /tools/lib/pkgconfig/
endif
*****
and the build is ok...

Best,
Marcel

Am 2016-04-30 15:45, schrieb Arne Fitzenreiter:
> On 2016-04-23 08:33, Marcel Lorenz wrote:
>> This patch updates the ncurses to 6.0. The old 5.9 are renamed to
>> ncurses-compat.
>> The compat makes the old libs maintainable and the compat rootfile is
>> cleaned up.
>> The 6.0 is build after 5.9 and all IPFire componentes will build with 
>> 6.0
>> In version 6 only the wide-character libraries are build. The are 
>> usable
>> in both multibyte and traditional 8-bit locales while normal libraries 
>> work
>> properly only in 8-bit locales. The toolchain is only bild with 6.0.
> 
> I have reverted the patch because the toolchain not build on every 
> arch.
> 
> Please also not remove the "EXTRA_CONFIG" part because i need this to 
> fix
> an other build bug on aarch64 buildhosts.