Message ID | 20200918160250.1141-1-luoyonggang@gmail.com |
---|---|
Headers | show |
Series | Fixes curses on msys2/mingw | expand |
Hi Bonzini, help to look at this, I convert curses and it's depends iconv to meson On Sat, Sep 19, 2020 at 12:03 AM Yonggang Luo <luoyonggang@gmail.com> wrote: > > And also convert related configure script to meson. > > Yonggang Luo (4): > curses: Fixes compiler error that complain don't have langinfo.h on > msys2/mingw > curses: Fixes curses compiling errors. > win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE > are defined on msys2/mingw > configure: Fixes ncursesw detection under msys2/mingw by convert them > to meson > > configure | 155 ++------------------------------------ > include/sysemu/os-win32.h | 4 +- > meson.build | 80 +++++++++++++++++--- > meson_options.txt | 4 + > ui/curses.c | 14 ++-- > ui/meson.build | 2 +- > util/oslib-win32.c | 4 +- > 7 files changed, 91 insertions(+), 172 deletions(-) > > -- > 2.28.0.windows.1 > -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr">Hi Bonzini, help to look at this, I convert curses and it's depends iconv to meson<div><br>On Sat, Sep 19, 2020 at 12:03 AM Yonggang Luo <<a href="mailto:luoyonggang@gmail.com">luoyonggang@gmail.com</a>> wrote:<br>><br>> And also convert related configure script to meson.<br>><br>> Yonggang Luo (4):<br>> curses: Fixes compiler error that complain don't have langinfo.h on<br>> msys2/mingw<br>> curses: Fixes curses compiling errors.<br>> win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE<br>> are defined on msys2/mingw<br>> configure: Fixes ncursesw detection under msys2/mingw by convert them<br>> to meson<br>><br>> configure | 155 ++------------------------------------<br>> include/sysemu/os-win32.h | 4 +-<br>> meson.build | 80 +++++++++++++++++---<br>> meson_options.txt | 4 +<br>> ui/curses.c | 14 ++--<br>> ui/meson.build | 2 +-<br>> util/oslib-win32.c | 4 +-<br>> 7 files changed, 91 insertions(+), 172 deletions(-)<br>><br>> --<br>> 2.28.0.windows.1<br>><br><br><br>--<br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo</div></div>
On 18/09/20 18:10, 罗勇刚(Yonggang Luo) wrote: > >> Yonggang Luo (4): >> curses: Fixes compiler error that complain don't have langinfo.h on >> msys2/mingw >> curses: Fixes curses compiling errors. >> win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE >> are defined on msys2/mingw >> configure: Fixes ncursesw detection under msys2/mingw by convert them >> to meson Hi, patches 1-3 are okay, but for patch 4 I think it's better to wait for Meson 0.56 which will likely embed all the magic needed to test curses (https://github.com/mesonbuild/meson/pull/7757). Paolo
On Sat, Sep 19, 2020 at 11:03 PM Paolo Bonzini <pbonzini@redhat.com> wrote: > > On 18/09/20 18:10, 罗勇刚(Yonggang Luo) wrote: > > > >> Yonggang Luo (4): > >> curses: Fixes compiler error that complain don't have langinfo.h on > >> msys2/mingw > >> curses: Fixes curses compiling errors. > >> win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE > >> are defined on msys2/mingw > >> configure: Fixes ncursesw detection under msys2/mingw by convert them > >> to meson > > Hi, patches 1-3 are okay, but for patch 4 I think it's better to wait > for Meson 0.56 which will likely embed all the magic needed to test > curses (https://github.com/mesonbuild/meson/pull/7757). > > Paolo > Wonderfull, I think there is no need fixing configure anymore, so I convert it to meson Waiting https://github.com/mesonbuild/meson/pull/7757 to be merged. In deed when I convert to meson, I am facing a problem that DNCURSES_WIDECHAR can not be tested with the library. -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo <div dir="ltr"><br><br>On Sat, Sep 19, 2020 at 11:03 PM Paolo Bonzini <<a href="mailto:pbonzini@redhat.com" target="_blank">pbonzini@redhat.com</a>> wrote:<br>><br>> On 18/09/20 18:10, 罗勇刚(Yonggang Luo) wrote:<br>> ><br>> >> Yonggang Luo (4):<br>> >> curses: Fixes compiler error that complain don't have langinfo.h on<br>> >> msys2/mingw<br>> >> curses: Fixes curses compiling errors.<br>> >> win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE<br>> >> are defined on msys2/mingw<br>> >> configure: Fixes ncursesw detection under msys2/mingw by convert them<br>> >> to meson<br>><br>> Hi, patches 1-3 are okay, but for patch 4 I think it's better to wait<br>> for Meson 0.56 which will likely embed all the magic needed to test<br>> curses (<a href="https://github.com/mesonbuild/meson/pull/7757" target="_blank">https://github.com/mesonbuild/meson/pull/7757</a>).<br>><br>> Paolo<br>><div>Wonderfull, I think there is no need fixing configure anymore, so I convert it to meson</div><div><br></div><div>Waiting <a href="https://github.com/mesonbuild/meson/pull/7757" target="_blank">https://github.com/mesonbuild/meson/pull/7757</a> to be merged.</div><div>In deed when I convert to meson, I am facing a problem that <br>DNCURSES_WIDECHAR can not be tested with the library. <br><br>--<br> 此致<br>礼<br>罗勇刚<br>Yours<br> sincerely,<br>Yonggang Luo</div></div>