<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/scripts/kconfig, branch dscho-kill-gently</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=dscho-kill-gently</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=dscho-kill-gently'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2017-07-14T14:14:37+00:00</updated>
<entry>
<title>kbuild: avoid warning when building with KBUILD_NO_NLS</title>
<updated>2017-07-14T14:14:37+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-06-27T21:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ab66fc70938025262f9e163c7ecff605e27b4cf6'/>
<id>urn:sha1:ab66fc70938025262f9e163c7ecff605e27b4cf6</id>
<content type='text'>
The return values of bindtextdomain() and textdomain() are not actually
used at all...

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>kbuild: simulate force-renaming on Windows</title>
<updated>2017-07-14T14:14:37+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-02-01T21:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=02958a6ee4050f75188df371a4118efb89685c8c'/>
<id>urn:sha1:02958a6ee4050f75188df371a4118efb89685c8c</id>
<content type='text'>
Calling rename() when a file with the target name exists already fails
on Windows.

Let's simply delete the target file, if it exists. This is usually a
dangerous thing as it leaves time between deleting and renaming, during
which (theoretically) another thread or process could have created the
same file, and the rename() would fail again. Practically, we are
talking about the kbuild system used to configure the build, where it
does not matter, as we do not expect any other thread or process to
interfere with the configuration files.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>kbuild: support at least non-interactive mode on Windows</title>
<updated>2017-07-14T14:14:30+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-02-01T21:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c56f1e06c4c470a023b02c7019112eb852f08d44'/>
<id>urn:sha1:c56f1e06c4c470a023b02c7019112eb852f08d44</id>
<content type='text'>
without POSIX, kbuild has some trouble compiling its support
executables. Luckily, the parts that really lean on POSIX functionality
are pretty much all only needed when configuring the build
interactively.

When compiling BusyBox for Win32, we do not actually need interactive
configuration at all: we simply choose the default. Therefore, a lot of
the stuff that is typically built for the Kconfig system is totally
unnecessary (such as: compiling documentation via fork()&amp;exec(), changing
the window size, etc).

Liberally put all of the problematic code behind #ifndef __MINGW32__
guards, just to get `make mingw64_defconfig` going in Git for Windows'
SDK (which is a special-purpose version of MSYS2).

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>fixdep: fix assumption that `long` is as large as `void *`</title>
<updated>2017-07-14T12:47:31+00:00</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2017-02-01T21:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b41c851312876dbf146fb674265b86c72ed611ab'/>
<id>urn:sha1:b41c851312876dbf146fb674265b86c72ed611ab</id>
<content type='text'>
It is not. At least not in general. And in particular not on 64-bit
Windows, where sizeof(long) == 4.

What the code wanted to use is actually called intptr_t.

Note: `intptr_t` is a C99 feature.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>randomconfig fixes</title>
<updated>2016-06-19T16:15:33+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-06-19T16:15:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=015db5800ca7c6dd2d201eacb2951e72e6782b30'/>
<id>urn:sha1:015db5800ca7c6dd2d201eacb2951e72e6782b30</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>kconfig/lxdialog: get ncurses CFLAGS with pkg-config</title>
<updated>2016-04-04T03:59:15+00:00</updated>
<author>
<name>Bjørn Forsman</name>
<email>bjorn.forsman@gmail.com</email>
</author>
<published>2014-09-14T10:57:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d63d77a7f03eaa49729619a14aa9a12a0e9f95ad'/>
<id>urn:sha1:d63d77a7f03eaa49729619a14aa9a12a0e9f95ad</id>
<content type='text'>
This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).

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

Signed-off-by: Bjørn Forsman &lt;bjorn.forsman@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>kbuild: Make scripts executable</title>
<updated>2016-04-04T03:59:15+00:00</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2014-08-20T14:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=935fe68236f21bf641b316fea1867754e754911b'/>
<id>urn:sha1:935fe68236f21bf641b316fea1867754e754911b</id>
<content type='text'>
The Makefiles call the respective interpreter explicitly, but this makes
it easier to use the scripts manually.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>kconfig/lxdialog: rationalise the include paths where to find {.n}curses{,w}.h</title>
<updated>2016-04-04T03:59:15+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2013-03-22T22:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d35ba8b5eddedd50349adf9358574cdbbc3c47ef'/>
<id>urn:sha1:d35ba8b5eddedd50349adf9358574cdbbc3c47ef</id>
<content type='text'>
The current code does this:

    if [ -f /usr/include/ncursesw/curses.h ]; then
        echo '-I/usr/include/ncursesw -DCURSES_LOC="&lt;ncursesw/curses.h&gt;"'
    elif [ -f /usr/include/ncurses/ncurses.h ]; then
        echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;ncurses.h&gt;"'
    elif [ -f /usr/include/ncurses/curses.h ]; then
        echo '-I/usr/include/ncurses -DCURSES_LOC="&lt;ncurses/curses.h&gt;"'
    [...]

This is merely inconsistent:
  - adding the full path to the directory in the -I directive,
  - especially since that path is already a sub-path of the system
    include path,
  - and then repeating the sub-path in the #include directive.

Rationalise each include directive:
  - only use the filename in the #include directive,
  - keep the -I directives: they are always searched for before the
    system include path; this ensures the correct header is used.

Using the -I directives and the filename-only in #include is more in
line with how pkg-config behaves, eg.:
    $ pkg-config --cflags ncursesw
    -I/usr/include/ncursesw

This paves the way for using pkg-config for CFLAGS, too, now we use it
to find the libraries.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>menuconfig: optionally use pkg-config to detect ncurses libs</title>
<updated>2016-04-04T03:59:15+00:00</updated>
<author>
<name>Justin Lecher</name>
<email>jlec@gentoo.org</email>
</author>
<published>2013-03-06T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e62c715b3ebd6fc1d832229ded946d053bd45b94'/>
<id>urn:sha1:e62c715b3ebd6fc1d832229ded946d053bd45b94</id>
<content type='text'>
When building ncurses with --with-termlib several symbols get moved from
libncurses.so to libtinfo.so. Thus when linking with libncurses.so, one
additionally needs to link with libtinfo.so.

The ncurses pkg-config module will be used to detect the necessary libs for
linking. If not available the old heuristic for detection of the ncurses libs
will be used.

Signed-off-by: Justin Lecher &lt;jlec@gentoo.org&gt;
Tested-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>menuconfig: fix extended colors ncurses support</title>
<updated>2016-04-04T03:59:15+00:00</updated>
<author>
<name>Krzysztof Mazur</name>
<email>krzysiek@podlesie.net</email>
</author>
<published>2012-10-08T16:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f755430d79171b2391ad9bf18da036720ab83b70'/>
<id>urn:sha1:f755430d79171b2391ad9bf18da036720ab83b70</id>
<content type='text'>
The ncurses library allows for extended colors. The support for extended
colors support depends on wide-character support. ncurses headers
enable extended colors (NCURSES_EXT_COLORS) only when wide-character
support is enabled (NCURSES_WIDECHAR).

The "make menuconfig" uses wide-character ncursesw library, which can be
compiled with wide-character support, but does not define NCURSES_WIDECHAR
and it's using headers without wide-character (and extended colors) support.

This fixes problems with colors on systems with enabled extended colors
(like PLD Linux). Without this patch "make menuconfig" is hard to use.

Signed-off-by: Krzysztof Mazur &lt;krzysiek@podlesie.net&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
</feed>
