From 38082ccbee749d650ccea886ae376a5d1dec337c Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 9 Oct 2021 12:16:17 +1100 Subject: Overdue internal UI enhancements (#8674) * frontend: Added support for message context to localisations. * frontend: Added string_view versions of the message lookup functions. * frontend: Added a few more folder options to the internal UI. * emu/softlist.cpp: Use more appropriate containers. * Switched to Python 3 by default - this will become a requirement. * Updated msgfmt.py for message context support. * frontend: Show all software item info in the internal UI. * frontend: Search alternate titles in software selection menu. * 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes). * frontend: Added software filters for common info fields. * frontend: Allow UI manager to hold onto persistent session data. * frontend: Cache software lists for eight machines. * frontend: Added support for loading localised system names. * frontend: Add UI for selecting localised system names. --- scripts/src/3rdparty.lua | 5 +---- scripts/src/lib.lua | 6 ++++++ 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index c39d5f0b21f..fff3b94f0c8 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -2209,7 +2209,7 @@ project "utf8proc" kind "StaticLib" defines { - "UTF8PROC_DLLEXPORT=" + "UTF8PROC_STATIC", } configuration "Debug" @@ -2223,9 +2223,6 @@ project "utf8proc" } configuration { } - defines { - "ZLIB_CONST", - } files { MAME_DIR .. "3rdparty/utf8proc/utf8proc.c" diff --git a/scripts/src/lib.lua b/scripts/src/lib.lua index 0f3d637d131..6b1bd29e3ea 100644 --- a/scripts/src/lib.lua +++ b/scripts/src/lib.lua @@ -25,6 +25,12 @@ project "utils" ext_includedir("utf8proc"), } +if not _OPTIONS["with-system-utf8proc"] then + defines { + "UTF8PROC_STATIC", + } +end + files { MAME_DIR .. "src/lib/util/abi.h", MAME_DIR .. "src/lib/util/avhuff.cpp", -- cgit v1.2.3-70-g09d2