Commit Graph

15 Commits

Author SHA1 Message Date
David Korth
1c9fadf673 [extlib] Add qtbase-6.8.3-win7.patch .
This is a diff between qtbase-6.8.3 upstream and the version from:
https://github.com/crystalidea/qt6windows7
2025-06-16 21:34:27 -04:00
David Korth
ef4532d1b6 [googletest] Update from 1.8.0 to 1.12.1.
Using changes from rom-properties, which includes building gtest as a
DLL on Windows.

This update fixes a bunch of -Wsuggest-override warnings, e.g.:

In file included from extlib/googletest/googletest/include/gtest/gtest-death-test.h:41,
                 from extlib/googletest/googletest/include/gtest/gtest.h:60,
                 from src/libwiicrypto/tests/CertVerifyTest.cpp:10:
extlib/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:150:16: warning: ‘virtual bool testing::internal::DefaultDeathTestFactory::Create(const char*, const testing::internal::RE*, const char*, int, testing::internal::DeathTest**)’ can be marked override [-Wsuggest-override]
  150 |   virtual bool Create(const char* statement, const RE* regex,
      |                ^~~~~~
2025-05-30 20:19:21 -04:00
David Korth
ef496a2a0d [getopt_msvc] Update to v1.1.0.
CMakeLists.txt: Set the required version to 3.5..3.10.

CMake 4.0 requires a minimum of 3.5, and shows warnings for anything
less than 3.10.
2025-05-21 18:29:59 -04:00
David Korth
3087f2afe4 [nettle] Update the Win32 precompiled build of Nettle from 3.9.1 to 3.10.1.
Compiled using gcc-15.1.0 and MinGW-w64 12.0.0.
2025-05-21 18:15:54 -04:00
David Korth
fcf321dea7 [nettle] Update the Win32 precompiled build of Nettle from 3.8.1 to 3.9.1.
Compiled using gcc-13.2.0 and MinGW-w64 11.0.0.

NOTE: The .debug files are no longer included because no one used them.
2023-11-25 12:05:48 -05:00
David Korth
95d3c50b7f .gitignore: Don't ignore .a files.
Add the 64-bit versions of libhogweed.dll.a and libnettle.dll.a
to the repository.

NOTE: This was originally done on 2022/08/07 06:25 PM EDT, but I forgot
to commit the changes...
2023-11-25 09:31:53 -05:00
David Korth
8b6e4377e5 [nettle] Updated the Win32 precompiled build of Nettle from 3.7.2 to 3.8.1.
Compiled using gcc-12.1.0 and MinGW-w64 10.0.0.
2022-08-07 19:10:18 -04:00
David Korth
ef202e55e8 [nettle.win32] Update: 3.7.2 -> 3.7.3 2022-02-14 20:48:56 -05:00
David Korth
bd6869ad23 [nettle.win32] README.txt: Nettle was updated to 3.7.2 a while ago.
TODO: Update to 3.7.3 and update the compilers used.
2022-02-12 02:40:15 -05:00
David Korth
3b4181c5f2 [nettle] Updated the Win32 precompiled build of Nettle from 3.5.1 to 3.7.2. 2021-04-03 04:14:29 -04:00
David Korth
556ced2327 [rvthtool] Copied the VERSION changes from rom-properties.
The CMake minimum version in the base project was set to 3.1, so I'm
keeping that instead of reducing it to 3.0. Not sure why I used 3.1,
though...
2020-06-20 13:48:38 -04:00
David Korth
36aaca94aa [nettle] Updated the Win32 precompiled build of Nettle from 3.4 to 3.5.1.
Reorganized directories to match rom-properties' gettext.win32 layout.
- Single include directory.
- lib.i386 and lib.amd64 library directories.
2019-12-30 14:16:18 -05:00
David Korth
feda58ac7e [extlib] Moved the precompiled Win32 Nettle from win32/ to extlib/nettle.win32/. 2019-12-30 13:33:07 -05:00
David Korth
45310cb272 [getopt_msvc] Added a version of getopt for MSVC.
This version supports Unicode strings.

Reference: https://www.codeproject.com/Articles/157001/Full-getopt-Port-for-Unicode-and-Multibyte-Microso

NOTE: getopt.h has a #pragma message that indicates that static builds
violate the LGPL, but this doesn't apply here because rvthtool is
GPLv2, so the source code is available anyway.
2018-02-13 19:44:32 -05:00
David Korth
389e26b13b [librvth/tests] CertVerifyTest: Certificate verification tests.
Added Google Test v1.8.0 from rom-properties.

Reworked cert_verify() to support both RSA-4096 and RSA-2048 signatures
and public keys. The function now requires all certificates to use
big-endian, so cert_store.c now uses BE32_CONST() to store the values
as big-endian.

BE32_CONST() is a macro that uses shifting for MSVC and intrinsics for
gcc. This is needed because MSVC 2010 doesn't realize that its byteswap
intrinsics result in constant values. (Later versions might...)

cert.c: New function cert_get_size() that returns the full size of a
built-in certificate.

CertVerifyTest currently tests the retail ticket and TMD certificates.
Both tests pass with all of these changes.
2018-01-20 03:02:32 -05:00