-
Notifications
You must be signed in to change notification settings - Fork 37.7k
build: set Unicode true for NSIS installer #21333
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
Conversation
Now that we are using Focal for gitian builds, and have NSIS 3.0+ available (also in Guix), we can create installers that support unicode. Unicode is only becoming the default beginning with the 3.07 release, https://nsis.sourceforge.io/Docs/AppendixF.html#v3.07-cl, so we need to set this attribute to get support. Should close: bitcoin#13817 Co-authored-by: Chun Kuan Lee <ken2812221@gmail.com>
Concept ACK. |
version in current guix should be 3.05: https://github.com/dongcarl/guix/blob/7d6bd44da57926e0d4af25eba723a61c82beef98/gnu/packages/installers.scm#L37 |
Might test if I find the windows vm again |
Version in focal is 3.05 too: https://packages.ubuntu.com/focal/nsis |
About time! ACK 9086e0d |
Guix build @ 9086e0d: bash-5.1# find output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum
10377ec7e6c54d0713623b987353d6724186103a5b6af6d9fe8eb7c543fb56bd output/bitcoin-9086e0dd3c92-win-unsigned.tar.gz
e3dfd4e62381dcf8a7fda0045640449e04dfdc1eac8fbede9f82276a33909248 output/bitcoin-9086e0dd3c92-win64-debug.zip
20411b4507e1a35fb6b1d19027883de64fbcb14cadd878a18e242cd65d54ec74 output/bitcoin-9086e0dd3c92-win64-setup-unsigned.exe
b929a62ed8d1ec4203b4d1d8f20a6c42883e583cda83b9b954b8076d64065f62 output/bitcoin-9086e0dd3c92-win64.zip
000f2778f8f166a89b4ab35f155156c1c34800be6e47d29b5308043c50128392 output/src/bitcoin-9086e0dd3c92.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guix build:
|
Please upload the mismatching binaries. Otherwise this is harder to debug. |
Binaries (#21333 (comment), #21333 (comment)) match, only sort orders differ, no? |
@hebasto you'll need to update your output command so that the sorting matches every other contributor that has been posting hashes. |
9086e0d build: set Unicode true for NSIS installer (fanquake) Pull request description: Now that we are using Focal for gitian builds, and have [NSIS 3.0+ available](https://packages.ubuntu.com/focal/nsis) (also in Guix), we can create installers that [support unicode](https://nsis.sourceforge.io/Docs/Chapter4.html#aunicodetarget). Unicode is only becoming the NSIS default [beginning with the 3.07 release](https://nsis.sourceforge.io/Docs/AppendixF.html#v3.07-cl), so we need to set this attribute to get support. Should close: bitcoin#13817 Gitian builds: ```bash b8553615b6b4be5e4459e03796e700b30b5d198a7f184f27be6983ff901b5592 bitcoin-9086e0dd3c92-win-unsigned.tar.gz a6b024a5a68e0196e8e118168c918285e820f2d0ffe9c38db680580459da8bf3 bitcoin-9086e0dd3c92-win64-debug.zip ff4003d4f61127c707e44b5235eaf924b30351f20cde27e775131982a1b4cf92 bitcoin-9086e0dd3c92-win64-setup-unsigned.exe 1876bee55fa9ea99b91203975c13d0ad8a046b4b58068bde41c977fd1d12de13 bitcoin-9086e0dd3c92-win64.zip 000f2778f8f166a89b4ab35f155156c1c34800be6e47d29b5308043c50128392 src/bitcoin-9086e0dd3c92.tar.gz d650a9b8f2dd1df777bf42439dfcbcf6bc358e30ec148b9992a18b39f76b1ecf bitcoin-core-win-22-res.yml ``` ACKs for top commit: laanwj: ACK 9086e0d hebasto: ACK 9086e0d, tested on Windows 10 Pro (20H2, build 19042.804): Tree-SHA512: cc7b7ca05877571d0a29a7d36e40279f54d886d8ab27facfa722c2ee95a1fc06c2bad8ef1eb1980d283ae981659d737021a46c8f4618e24d510b5ab384990e09
Summary: ``` Now that we are using Focal for gitian builds, and have NSIS 3.0+ available (also in Guix), we can create installers that support unicode. Unicode is only becoming the default beginning with the 3.07 release, https://nsis.sourceforge.io/Docs/AppendixF.html#v3.07-cl, so we need to set this attribute to get support. Should close: #13817 ``` On Debian 10 the nsis version is 3.04, so we should be able to use the feature. Backport of [[ bitcoin/bitcoin#21333 | core#21333 ]] Test Plan: Run the windows gitian build twice, ensure it's deterministic. Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D9318
Summary: ``` Now that we are using Focal for gitian builds, and have NSIS 3.0+ available (also in Guix), we can create installers that support unicode. Unicode is only becoming the default beginning with the 3.07 release, https://nsis.sourceforge.io/Docs/AppendixF.html#v3.07-cl, so we need to set this attribute to get support. Should close: #13817 ``` On Debian 10 the nsis version is 3.04, so we should be able to use the feature. Backport of [[ bitcoin/bitcoin#21333 | core#21333 ]] Test Plan: Run the windows gitian build twice, ensure it's deterministic. Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D9318
Now that we are using Focal for gitian builds, and have NSIS 3.0+ available (also in Guix), we can create installers that support unicode.
Unicode is only becoming the NSIS default beginning with the 3.07 release, so we need to set this attribute to get support.
Should close: #13817
Gitian builds: