Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kconfig/lxdialog: get ncurses CFLAGS with pkg-config and fixed btn color #119

Merged
merged 2 commits into from
Oct 1, 2016
Merged

kconfig/lxdialog: get ncurses CFLAGS with pkg-config and fixed btn color #119

merged 2 commits into from
Oct 1, 2016

Conversation

louisom
Copy link
Contributor

@louisom louisom commented Oct 1, 2016

Fixed from vanilla kernel commit: be8af2d54a669

This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

This patch changes ldflags() and ccflags() so that it tries pkg-config first,
and only if pkg-config fails does it go back to the fallback/manual checks.

And, adding -DNCURSES_WIDECHAR=1 CFLAGS to prevent ncurses rendering
wrong color on button when changing dialog color by wbkgdset().

… color

Fixed from vanilla kernel commit: be8af2d54a669

This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

This patch changes ldflags() and ccflags() so that it tries pkg-config first,
and only if pkg-config fails does it go back to the fallback/manual checks.

And, adding -DNCURSES_WIDECHAR=1 CFLAGS to prevent ncurses rendering
wrong color on button when changing dialog color by wbkgdset().
@jserv
Copy link
Member

jserv commented Oct 1, 2016

@grapherd, Great work!
Can you check Travis-CI test report as well? https://travis-ci.org/f9micro/f9-kernel/builds/164224044

@louisom
Copy link
Contributor Author

louisom commented Oct 1, 2016

@jserv It seems like travis CI problem, since it report

WARNING: The following packages cannot be authenticated!
  gcc-arm-none-eabi

After adding -y --force-yes,travis CI will install gcc-arm-none-eabi fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants