Commit Graph

31 Commits

Author SHA1 Message Date
Khem Raj c5e0ad0154 libyui-ncurses: Fix buildpaths QA Error
This is a workaround but lets live with this instead of deleting it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-21 08:45:46 -07:00
Khem Raj 24f4efb22a libyui: Upgrade to 4.6.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 10:19:32 -07:00
Khem Raj 6a6defcc2b libyui,libyui-ncurses: Upgrade to 4.2.3
Add a fix to build with lfs64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-23 08:52:22 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Martin Jansa f825ad7d7e libyui(-ncurses): upgrade to 4.1.1, libyui repo was rewritten completely
* af06143017fc5f18c4b6488ba4aed26bcc43ff6e doesn't exist in current repo:
  libyui$ git branch -a --contains af06143017fc5f18c4b6488ba4aed26bcc43ff6e
  error: no such commit af06143017fc5f18c4b6488ba4aed26bcc43ff6e

* there are no common commits in the new libyui repo, but luckily old
  repo is kept as
  https://github.com/libyui/libyui-old
  similarly libyui-ncurses now contains only README about being obsolete in:
  https://github.com/libyui/libyui-ncurses
  but at least it wasn't rewritten to have the new content

* now both recipes need to use the same git repo and just different subdirs in S

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-06 13:33:29 -07:00
Martin Jansa 902919167a libyui: switch to libyui-old repo which still has this SRCREV
* af06143017fc5f18c4b6488ba4aed26bcc43ff6e doesn't exist in current repo:
  libyui$ git branch -a --contains af06143017fc5f18c4b6488ba4aed26bcc43ff6e
  error: no such commit af06143017fc5f18c4b6488ba4aed26bcc43ff6e

* there are no common commits in the new libyui repo, but luckily old
  repo is kept as
  https://github.com/libyui/libyui-old
  similarly libyui-ncurses now contains only README about being obsolete in:
  https://github.com/libyui/libyui-ncurses
  but at least it wasn't rewritten to have the new content

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-06 13:33:29 -07:00
Khem Raj 18e92f2c6c libyui-ncurses: Pass -DNCURSES_WIDECHAR in CXXFLAGS
We want the wide character functions from the ncurses header.
Unfortunately it doesn't provide them by default, but only
if either:
 * NCURSES_WIDECHAR is defined (for ncurses 20111030 and up)
 * _XOPEN_SOURCE/_XOPEN_SOURCE_EXTENDED are suitably defined

So far we have been implicitly relying on the latter, because
for GNU libc when we define _GNU_SOURCE this causes libc
to define the _XOPEN_SOURCE macros for us. Unfortunately
this doesn't work on all libcs, because some (like musl libc)
do not define _XOPEN_SOURCE when _GNU_SOURCE is defined.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 19:55:28 -08:00
Khem Raj b22572517b libyui: Adopt to new cmake option to disable Werror
Add -DCMAKE_BUILD_TYPE=RELWITHDEBINFO so we have balance between build
speed and debug info

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 15:38:25 -08:00
Khem Raj 7af511f644 libyui-ncurses: Disable Werror
There are new warnings seen with new clang 12 and gcc11
lets disable the warnings-as-errors for now

src/NCPopupTextEntry.cc:76:74: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete]
|    76 |                                                       NCInputField::PLAIN);
|       |                                                                          ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 14:18:55 -08:00
Khem Raj ae993f73ca libyui,libyui-ncurses: Upgrade to 4.0.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Pascal Bach <pascal.bach@siemens.com>
2021-03-03 14:10:53 -08:00
Khem Raj 92441f9d6a meta-oe: Add leading whitespace for append operator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:25:53 -08:00
Khem Raj 6c25c47337 libyui-ncurses: Disable werror with clang
clang11 find inconsistencies with overloading of functions and emits
additional warning, lets not treat the warnings as errors on clang
untill this is fixed

Add RELWITHDEBINFO so debug info is generated as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 17:18:29 -07:00
Oleksandr Kravchuk 1822b12d4c libyui-ncurses: update to 2.55.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-29 11:21:18 -07:00
Oleksandr Kravchuk 397dccaf4c libyui: update to 3.10.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-29 11:21:18 -07:00
Khem Raj 43f1485e21 libyui-ncurses: Fix multilib build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-18 15:33:49 -07:00
Khem Raj 6eddcf9376 libyui: Disable Warnings as errors
Fixes -Wimplicit-int-float-conversion warning
with new compilers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-31 11:06:23 -08:00
Oleksandr Kravchuk 13e0f3364e libyui-ncurses: udpate to 2.52.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 14:45:20 -07:00
Oleksandr Kravchuk b544304c7c libyui: update to 3.6.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 14:45:20 -07:00
Pascal Bach 8d7a7ad330 libyui-ncurses: fix ncurses find module
This makes the module look in the standard locations instead of only some
hard coded ones.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
Pascal Bach 2417acf4f0 libyui: make resulting cmake config relocatable
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
Khem Raj 68f46bb93d libyui,libyui-ncurse: Update to latest on git
* Add fixes for building with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Khem Raj 8efb248b20 libyui: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:17:43 -07:00
Khem Raj de21729a76 libyui: Fix build with gcc8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:13:55 -07:00
Khem Raj e7cdd329c6 libyui-ncurses: Fix build with musl _nl_msg_cat_cntr in not available
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:55:59 -07:00
Khem Raj 8538610b99 libyui,libyui-ncurses: Update to lates
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-29 16:55:52 -07:00
Khem Raj cee1608a98 libyui-ncurses: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-23 20:22:07 -08:00
Zheng Ruoqin 7919c886cd libyui-ncurses: fix indentation, include SRCPV in PV, don't use += and append.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:39:48 -08:00
Armin Kuster cae654adc6 libyui-ncurses: new add
Add a new recipe libyui-ncurses, which is a rdepend for dnfdragora.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
fixed patch to apply
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-30 12:32:34 -08:00
Zheng Ruoqin 4d0e833dd9 libyui: new add
Add a new recipe libyui, which is a rdepend for dnfdragora.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-27 07:25:03 -08:00