diff --git a/Makefile.fetch b/Makefile.fetch index d445898c94c6..a13a65cbd3b0 100644 --- a/Makefile.fetch +++ b/Makefile.fetch @@ -123,6 +123,7 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S $(call fetch_Optional,EXPAT,EXPAT_TARBALL) \ $(call fetch_Optional,FIREBIRD,FIREBIRD_TARBALL) \ $(call fetch_Optional,FONTCONFIG,FONTCONFIG_TARBALL) \ + $(call fetch_Optional,FONTGMXCONFIG,FONTGMXCONFIG_TARBALL) \ $(call fetch_Optional,FREEHAND,FREEHAND_TARBALL) \ $(call fetch_Optional,FREETYPE,FREETYPE_TARBALL) \ FROZEN_TARBALL \ @@ -239,6 +240,9 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S $(call fetch_Optional,ODFVALIDATOR,ODFVALIDATOR_JAR) \ $(call fetch_Optional,OFFICEOTRON,OFFICEOTRON_JAR) \ ,$(call fetch_Download_item,https://dev-www.libreoffice.org/extern,$(item))) + $(foreach item, \ + $(call fetch_Optional,MORE_FONTS,FONT_GMX_TARBALL) \ + ,$(call fetch__Download_item,https://repos.libreoffice.gob.mx/src,$(item))) @mkdir -p $(dir $@) && touch $@ @mkdir -p $(dir $@)/Executable diff --git a/Repository.mk b/Repository.mk index b9cf9c2ddb9c..395e38fbec07 100644 --- a/Repository.mk +++ b/Repository.mk @@ -1043,6 +1043,7 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo_fonts,\ $(call gb_Helper_optional,MORE_FONTS,\ fonts_alef \ fonts_amiri \ + fonts_gmx \ fonts_caladea \ fonts_carlito \ $(if $(MPL_SUBSET),,fonts_culmus) \ diff --git a/external/more_fonts/ExternalPackage_gmx.mk b/external/more_fonts/ExternalPackage_gmx.mk new file mode 100644 index 000000000000..ccc1b03c5db2 --- /dev/null +++ b/external/more_fonts/ExternalPackage_gmx.mk @@ -0,0 +1,49 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_ExternalPackage_ExternalPackage,fonts_gmx,font_gmx)) + +$(eval $(call gb_ExternalPackage_add_unpacked_files,fonts_gmx,$(LIBO_SHARE_FOLDER)/fonts/truetype,\ + GMX-BlackItalic.otf \ + GMX-BlackItalicSc.otf \ + GMX-Black.otf \ + GMX-BlackSc.otf \ + GMX-BoldItalic.otf \ + GMX-BoldItalicSc.otf \ + GMX-Bold.otf \ + GMX-BoldSc.otf \ + GMX-LightItalic.otf \ + GMX-LightItalicSc.otf \ + GMX-Light.otf \ + GMX-LightSc.otf \ + GMX-RegularItalic.otf \ + GMX-RegularItalicSc.otf \ + GMX-Regular.otf \ + GMX-RegularSc.otf \ + Montserrat-BlackItalic.ttf \ + Montserrat-Black.ttf \ + Montserrat-BoldItalic.ttf \ + Montserrat-Bold.ttf \ + Montserrat-ExtraBoldItalic.ttf \ + Montserrat-ExtraBold.ttf \ + Montserrat-ExtraLightItalic.ttf \ + Montserrat-ExtraLight.ttf \ + Montserrat-Italic.ttf \ + Montserrat-LightItalic.ttf \ + Montserrat-Light.ttf \ + Montserrat-MediumItalic.ttf \ + Montserrat-Medium.ttf \ + Montserrat-Regular.ttf \ + Montserrat-SemiBoldItalic.ttf \ + Montserrat-SemiBold.ttf \ + Montserrat-ThinItalic.ttf \ + Montserrat-Thin.ttf \ +)) + +# vim: set noet sw=4 ts=4: \ No newline at end of file diff --git a/external/more_fonts/Module_more_fonts.mk b/external/more_fonts/Module_more_fonts.mk index e17af9a15141..b85f7468528f 100644 --- a/external/more_fonts/Module_more_fonts.mk +++ b/external/more_fonts/Module_more_fonts.mk @@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,more_fonts)) $(eval $(call gb_Module_add_targets,more_fonts,\ ExternalPackage_alef \ ExternalPackage_amiri \ + ExternalPackage_gmx \ ExternalPackage_caladea \ ExternalPackage_carlito \ $(if $(MPL_SUBSET),,ExternalPackage_culmus) \ @@ -39,6 +40,7 @@ $(eval $(call gb_Module_add_targets,more_fonts,\ ExternalPackage_scheherazade \ UnpackedTarball_alef \ UnpackedTarball_amiri \ + UnpackedTarball_gmx \ UnpackedTarball_caladea \ UnpackedTarball_carlito \ $(if $(MPL_SUBSET),,UnpackedTarball_culmus) \ diff --git a/external/more_fonts/UnpackedTarball_gmx.mk b/external/more_fonts/UnpackedTarball_gmx.mk new file mode 100644 index 000000000000..ac8020494d7e --- /dev/null +++ b/external/more_fonts/UnpackedTarball_gmx.mk @@ -0,0 +1,14 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_UnpackedTarball_UnpackedTarball,font_gmx)) + +$(eval $(call gb_UnpackedTarball_set_tarball,font_gmx,$(FONT_GMX_TARBALL))) + +# vim: set noet sw=4 ts=4: \ No newline at end of file diff --git a/fonts/gmx-fonts.tar.xz b/fonts/gmx-fonts.tar.xz new file mode 100644 index 000000000000..efba907c5d68 Binary files /dev/null and b/fonts/gmx-fonts.tar.xz differ diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in index 58e2ce8f46f2..63e23189d48f 100644 --- a/solenv/flatpak-manifest.in +++ b/solenv/flatpak-manifest.in @@ -590,6 +590,13 @@ "dest": "external/tarballs", "dest-filename": "@FONT_AMIRI_TARBALL@" }, + { + "url": "https://repos.libreoffice.gob.mx/src/@FONT_GMX_TARBALL@", + "sha256": "@FONT_GMX_SHA256SUM@", + "type": "file", + "dest": "external/tarballs", + "dest-filename": "@FONT_GMX_TARBALL@" + }, { "url": "https://dev-www.libreoffice.org/src/@FONT_CULMUS_TARBALL@", "sha256": "@FONT_CULMUS_SHA256SUM@",