[gtk/more-vs-proj-updates] MSVC projects: Generate and install Emoji GResource data
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/more-vs-proj-updates] MSVC projects: Generate and install Emoji GResource data
- Date: Mon, 30 May 2022 11:52:18 +0000 (UTC)
commit 4e17ddc56bf0edf33c7b0b573127ce387a7cdb23
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon May 30 19:50:16 2022 +0800
MSVC projects: Generate and install Emoji GResource data
Generate the full GResource XML files for the Emoji data, and generate
the binary GResource data from them and copy them as appropriate.
At this point, the installed data files are in-line with what the Meson
builds install, sans the processed translation files.
win32/install-msvc.mak | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/win32/install-msvc.mak b/win32/install-msvc.mak
index 600956106d..49d5aa3d86 100644
--- a/win32/install-msvc.mak
+++ b/win32/install-msvc.mak
@@ -126,7 +126,13 @@ install-data:
@for %t in (16 22 24 32 48 256) do @for %d in ($(PREFIX)\share\icons\hicolor\%tx%t\apps) do @((if not
exist %d\ mkdir %d) & copy /b ..\demos\widget-factory\data\%tx%t\gtk3-widget-factory*.png "%d")
@-$(BASE_BUILT_BIN_DIR)\gtk-update-icon-cache.exe --ignore-theme-index --force
"$(PREFIX)\share\icons\hicolor"
# Auxiliary build-related data files (m4, ITS files, RelaxNG files)
- @for %d in (aclocal gettext\its gtk-3.0) do @if not exist $(PREFIX)\share\%d\ mkdir $(PREFIX)\share\%d
+ @for %d in (aclocal gettext\its gtk-3.0\emoji) do @if not exist $(PREFIX)\share\%d\ mkdir
$(PREFIX)\share\%d
@copy ..\m4macros\gtk-3.0.m4 $(PREFIX)\share\aclocal
@for %x in (its loc) do @copy ..\gtk\gtkbuilder.%x $(PREFIX)\share\gettext\its
@for %x in (rng) do @copy ..\gtk\gtkbuilder.%x $(PREFIX)\share\gtk-3.0
+ @for %l in (de es fr zh) do \
+ @$(PYTHON) replace.py -i=..\gtk\emoji\gresource.xml.in -o=$(BASE_BUILT_BIN_DIR)\%l.gresource.xml
\
+ --action=replace-var --var=lang --outstring=%l
+ @for %l in (de es fr zh) do @if exist $(BASE_BUILT_BIN_DIR)\%l.gresource.xml \
+ $(GLIB_COMPILE_RESOURCES) --sourcedir=..\gtk\emoji $(BASE_BUILT_BIN_DIR)\%l.gresource.xml
--target=$(BASE_BUILT_BIN_DIR)\%l.gresource
+ @for %l in (de es fr zh) do @for %f in ($(BASE_BUILT_BIN_DIR)\%l.gresource) do @move %f
$(PREFIX)\share\gtk-3.0\emoji & del %f.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]