<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/win32/resources/Kbuild.src, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2025-11-06T13:00:49+00:00</updated>
<entry>
<title>win32: allow the use of PNG format icons</title>
<updated>2025-11-06T13:00:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-06T13:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3227f3bdeb7c33cfcb0d3d8ceed19a0ca9560e13'/>
<id>urn:sha1:3227f3bdeb7c33cfcb0d3d8ceed19a0ca9560e13</id>
<content type='text'>
Convert the icons to PNG format (by simply exporting them from
GIMP and selecting the 'Compressed (PNG)' chackbox).  Allow these
to be selected instead of ICO format at build time.

Use the PNG icons by default in the Unicode and aarch64 builds.
Saves 26KB in those cases.

(GitHub PR #540)
</content>
</entry>
<entry>
<title>manifest: integrate into resources.rc, reduce binary size</title>
<updated>2025-11-06T10:50:37+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2025-11-04T19:48:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e7f23eb454b1ad6f013b69f93276a39c3da3bb4d'/>
<id>urn:sha1:e7f23eb454b1ad6f013b69f93276a39c3da3bb4d</id>
<content type='text'>
It also makes the version number within the manifest use the version
macros, replacing the hard-coded "6.0.0.0".

Unicode:     32668 -&gt; 32188 (-480 bytes)
non-Unicode: 32412 -&gt; 31956 (-456 bytes)

with icons included.
</content>
</entry>
<entry>
<title>build system: more clang/llvm tweaks</title>
<updated>2024-01-18T08:01:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-01-18T08:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=992387539f26de1aeb2cdca62d85fddbde27b798'/>
<id>urn:sha1:992387539f26de1aeb2cdca62d85fddbde27b798</id>
<content type='text'>
Linkers associated with clang/llvm may not support the -r option.
This is used to create built-in.o object files.  It turns out that
all such files in busybox-w32 are either empty or only contain one
object file.  The first case is already supported and the second
can be handled by simply copying the object file to built-in.o.
The linker is therefore never invoked with the -r option.

One adjustment is required:  the workaround adopted for GitHub
issue #200 linked the dummy C file with the resource object file.
This is no longer done so only one object file is used.  Since it
was the linking that broke the resource file, copying it is an
equally effective fix for the issue.

Some old linkers don't support the --warn-common option.  The lack
of this option was being detected but it was still sometimes used.
</content>
</entry>
<entry>
<title>win32: improved support for manifests</title>
<updated>2023-09-14T15:07:50+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-09-14T15:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b822f427d894f46a85d3ce5ff785d3ea2cef972f'/>
<id>urn:sha1:b822f427d894f46a85d3ce5ff785d3ea2cef972f</id>
<content type='text'>
The UTF-8 manifest has been updated to include features from the
standard application manifest.

Include a copy of the standard application manifest for toolchains
that don't provide one.

(GitHub issue #366)
</content>
</entry>
<entry>
<title>win32: include UTF-8 manifest</title>
<updated>2023-06-20T14:33:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-06-20T14:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=830e2cfae63a20beddd81d9db00dc906265a0e34'/>
<id>urn:sha1:830e2cfae63a20beddd81d9db00dc906265a0e34</id>
<content type='text'>
Include a manifest in the binary to set the process code page to
UTF-8.  This only has an effect from Windows 10 version 1903.

Controlled by the FEATURE_UTF8_MANIFEST config setting, disabled
by default.
</content>
</entry>
<entry>
<title>win32: revise creation of resources</title>
<updated>2022-10-25T07:28:42+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-10-25T07:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=62654c448c4f0dfc0fdb72220adc33af0be7cb65'/>
<id>urn:sha1:62654c448c4f0dfc0fdb72220adc33af0be7cb65</id>
<content type='text'>
As reported in https://github.com/skeeto/w64devkit/issues/35
there's a problem creating Windows resources using the native
version of `windres`.

Avoid passing arguments to `windres` that it can't handle by
stringizing the version string locally in resource.rc.

(GitHub issue #239)
</content>
</entry>
<entry>
<title>win32: workaround for '0-bit reloc' on MSYS2</title>
<updated>2021-02-21T09:51:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-02-21T07:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ddc4704db62865b5e2c0621f17cc2dc6909c1208'/>
<id>urn:sha1:ddc4704db62865b5e2c0621f17cc2dc6909c1208</id>
<content type='text'>
There seems to be a bug in the Windows/MSYS2/mingw-w64 toolchain
which results in the generated win32/resources/built-in.o lacking
relocation data.

Forcing an actual C program to be linked along with the resources
appears to be an effective workaround.

When the toolchain bug is resolved this commit can be reverted.

See GitHub issue #200.
</content>
</entry>
<entry>
<title>win32: use manifest provided by MinGW-w64</title>
<updated>2019-02-21T11:53:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-02-21T11:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=20dfd84edd1b45b78a284bf75ef711726a4e8415'/>
<id>urn:sha1:20dfd84edd1b45b78a284bf75ef711726a4e8415</id>
<content type='text'>
The manifest included here wasn't effective in telling Windows
about version compatibility.  Use the default manifest provided
by MinGW-w64 instead.

On Fedora this requires installing the mingw32-windows-default-manifest
and/or mingw64-windows-default-manifest packages.
</content>
</entry>
<entry>
<title>Allow build objects to go to a separate directory</title>
<updated>2018-11-21T13:26:03+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-11-21T13:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1ae73ffecfa074e345c75dc761931a767c9c9318'/>
<id>urn:sha1:1ae73ffecfa074e345c75dc761931a767c9c9318</id>
<content type='text'>
Fix the build system so the KBUILD_OUTPUT environment variable can be
used as intended:  to specify that object files are placed in a separate
directory from the source.

Also ensure that busybox-w32.manifest is deleted by 'make mrproper'.
</content>
</entry>
<entry>
<title>win32: rename resource files</title>
<updated>2018-07-24T15:43:10+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2018-07-24T15:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=958ba292aab941d81b4d89dedc92ba78ace6b1ad'/>
<id>urn:sha1:958ba292aab941d81b4d89dedc92ba78ace6b1ad</id>
<content type='text'>
Since more than just icon resources are now provided give various
files more appropriate names.
</content>
</entry>
</feed>
