[Libreoffice-commits] core.git: android/experimental config_host.mk.in configure.ac download.lst external/afms external/Module_external.mk Makefile.fetch scp2/source

Khaled Hosny khaledhosny at eglug.org
Wed Dec 4 03:05:32 PST 2013


 Makefile.fetch                              |    1 
 android/experimental/desktop/Makefile       |    2 -
 config_host.mk.in                           |    1 
 configure.ac                                |   21 ------------
 download.lst                                |    1 
 external/Module_external.mk                 |    1 
 external/afms/ExternalPackage_fontunxafm.mk |   46 ----------------------------
 external/afms/Makefile                      |    7 ----
 external/afms/Module_afms.mk                |   17 ----------
 external/afms/README                        |    1 
 external/afms/UnpackedTarball_afms.mk       |   14 --------
 scp2/source/ooo/directory_ooo.scp           |    9 -----
 scp2/source/ooo/file_extra_ooo.scp          |   13 -------
 13 files changed, 1 insertion(+), 133 deletions(-)

New commits:
commit 0b9d8c678ce06d74a9211e4857def48a9eabc36b
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Tue Nov 26 17:16:04 2013 +0200

    Those AFM files are not used anymore
    
    They were used to build metrics for printer built in fonts, which was
    dropped in the previous commit.
    
    Change-Id: Id9fb3108facec61eb6de0a2d16546f1187465e50
    Reviewed-on: https://gerrit.libreoffice.org/6861
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/Makefile.fetch b/Makefile.fetch
index ae76cf7..5b3f501 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -88,7 +88,6 @@ $(WORKDIR)/download: $(BUILDDIR)/config_host.mk $(SRCDIR)/download.lst $(SRCDIR)
 		$(call fetch_Optional,VISIO,VISIO_TARBALL) \
 	,$(call fetch_Download_item_special,http://dev-www.libreoffice.org/src,$(item)))
 	$(foreach item, \
-		$(call fetch_Optional,AFMS,$(AFMS_TARBALL)) \
 		$(call fetch_Optional,APACHE_COMMONS,$(APACHE_COMMONS_CODEC_TARBALL)) \
 		$(call fetch_Optional,APACHE_COMMONS,$(APACHE_COMMONS_HTTPCLIENT_TARBALL)) \
 		$(call fetch_Optional,APACHE_COMMONS,$(APACHE_COMMONS_LANG_TARBALL)) \
diff --git a/android/experimental/desktop/Makefile b/android/experimental/desktop/Makefile
index bd75e51..145a9fb 100644
--- a/android/experimental/desktop/Makefile
+++ b/android/experimental/desktop/Makefile
@@ -117,7 +117,7 @@ copy-stuff:
 	cp -r $(SRC_ROOT)/icon-themes/galaxy/brand/* assets/program
 # presets - becomes the users home directory, .stamp forces .zip dir creation
 	for D in $(strip autocorr autotext backup basic config gallery \
-	         psprint/driver psprint/fontmetric template \
+	         psprint/driver template \
 		 uno_packages/cache wordbook); do \
 		mkdir -p assets/presets/$$D ; \
 		echo "content" > assets/presets/$$D/stamp; \
diff --git a/config_host.mk.in b/config_host.mk.in
index 49977f1..e517785 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -577,7 +577,6 @@ export WINDOWS_SDK_VERSION=@WINDOWS_SDK_VERSION@
 export WINDOWS_SDK_WILANGID=@WINDOWS_SDK_WILANGID@
 export WINDRES=@WINDRES@
 export WINEGCC=@WINEGCC@
-export WITHOUT_AFMS=@WITHOUT_AFMS@
 export WITHOUT_PPDS=@WITHOUT_PPDS@
 export WITH_COMPAT_OOWRAPPERS=@WITH_COMPAT_OOWRAPPERS@
 export WITH_EXTENSION_INTEGRATION=@WITH_EXTENSION_INTEGRATION@
diff --git a/configure.ac b/configure.ac
index 3f9b913..3b9abe9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1396,13 +1396,6 @@ AC_ARG_WITH(ppds,
          PPDs are known to be already available (every recent distro with CUPS backend).]),
 ,)
 
-AC_ARG_WITH(afms,
-    AS_HELP_STRING([--without-afms],
-        [Removes bitmap font files from LibreOffice installation set, for people
-         building for specific distributions where AFM files or TrueType Fonts
-         are known to be available.]),
-,)
-
 AC_ARG_WITH(epm,
     AS_HELP_STRING([--with-epm],
         [Decides which epm to use. Default is to use the one from the system if
@@ -11483,20 +11476,6 @@ fi
 AC_SUBST(WITHOUT_PPDS)
 
 dnl ===================================================================
-dnl Test whether to include afms
-dnl ===================================================================
-AC_MSG_CHECKING([whether to include AFMs])
-if test "$with_afms" != "no"; then
-    AC_MSG_RESULT([yes])
-    BUILD_TYPE="$BUILD_TYPE AFMS"
-else
-    AC_MSG_RESULT([no])
-    WITHOUT_AFMS=YES
-    SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
-fi
-AC_SUBST(WITHOUT_AFMS)
-
-dnl ===================================================================
 dnl Test whether to include extra galleries
 dnl ===================================================================
 AC_MSG_CHECKING([whether to include extra galleries])
diff --git a/download.lst b/download.lst
index 03fe799..74ff6f1 100644
--- a/download.lst
+++ b/download.lst
@@ -25,7 +25,6 @@ export LIBATOMIC_OPS_TARBALL := libatomic_ops-7_2d.zip
 LIBEOT_MD5SUM := aa24f5dd2a2992f4a116aa72af817548
 export LIBEOT_TARBALL := libeot-0.01.tar.bz2
 
-export AFMS_TARBALL := 1756c4fa6c616ae15973c104cd8cb256-Adobe-Core35_AFMs-314.tar.gz
 export APACHE_COMMONS_CODEC_TARBALL := 2e482c7567908d334785ce7d69ddfff7-commons-codec-1.6-src.tar.gz
 export APACHE_COMMONS_HTTPCLIENT_TARBALL := 2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz
 export APACHE_COMMONS_LANG_TARBALL := 625ff5f2f968dd908bca43c9469d6e6b-commons-lang-2.4-src.tar.gz
diff --git a/external/Module_external.mk b/external/Module_external.mk
index dcd5b08..b753cfd 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -21,7 +21,6 @@ $(eval $(call gb_Module_add_moduledirs,external,\
 	accessories \
 	libxmlsec \
 	np_sdk \
-	$(call gb_Helper_optional,AFMS,afms) \
 	$(call gb_Helper_optional,APACHE_COMMONS,apache-commons) \
 	$(call gb_Helper_optional,BOOST,boost) \
 	$(call gb_Helper_optional,BSH,beanshell) \
diff --git a/external/afms/ExternalPackage_fontunxafm.mk b/external/afms/ExternalPackage_fontunxafm.mk
deleted file mode 100644
index 97c7e48..0000000
--- a/external/afms/ExternalPackage_fontunxafm.mk
+++ /dev/null
@@ -1,46 +0,0 @@
-# -*- 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,afms_fontunxafm,afms))
-
-$(eval $(call gb_ExternalPackage_add_unpacked_files,afms_fontunxafm,$(LIBO_SHARE_FOLDER)/psprint/fontmetric,\
-	Courier-Bold.afm \
-	Courier-BoldOblique.afm \
-	Courier-Oblique.afm \
-	Courier.afm \
-	Helvetica-Bold.afm \
-	Helvetica-BoldOblique.afm \
-	Helvetica-Oblique.afm \
-	Helvetica.afm \
-	ITCAvantGarde-Book.afm \
-	ITCAvantGarde-BookOblique.afm \
-	ITCAvantGarde-Demi.afm \
-	ITCAvantGarde-DemiOblique.afm \
-	ITCBookman-Demi.afm \
-	ITCBookman-DemiItalic.afm \
-	ITCBookman-Light.afm \
-	ITCBookman-LightItalic.afm \
-	ITCZapfChancery-MediumItalic.afm \
-	NewCenturySchlbk-Bold.afm \
-	NewCenturySchlbk-BoldItalic.afm \
-	NewCenturySchlbk-Italic.afm \
-	NewCenturySchlbk-Roman.afm \
-	Palatino-Bold.afm \
-	Palatino-BoldItalic.afm \
-	Palatino-Italic.afm \
-	Palatino-Roman.afm \
-	Symbol.afm \
-	Times-Bold.afm \
-	Times-BoldItalic.afm \
-	Times-Italic.afm \
-	Times-Roman.afm \
-	ZapfDingbats.afm \
-))
-
-# vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/external/afms/Makefile b/external/afms/Makefile
deleted file mode 100644
index e4968cf..0000000
--- a/external/afms/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-
-module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
-
-include $(module_directory)/../../solenv/gbuild/partial_build.mk
-
-# vim: set noet sw=4 ts=4:
diff --git a/external/afms/Module_afms.mk b/external/afms/Module_afms.mk
deleted file mode 100644
index 5e0c750..0000000
--- a/external/afms/Module_afms.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- 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_Module_Module,afms))
-
-$(eval $(call gb_Module_add_targets,afms,\
-	UnpackedTarball_afms \
-	ExternalPackage_fontunxafm \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/external/afms/README b/external/afms/README
deleted file mode 100644
index 78be83a..0000000
--- a/external/afms/README
+++ /dev/null
@@ -1 +0,0 @@
-External package containing font metrics.
diff --git a/external/afms/UnpackedTarball_afms.mk b/external/afms/UnpackedTarball_afms.mk
deleted file mode 100644
index feed2f9..0000000
--- a/external/afms/UnpackedTarball_afms.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# -*- 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,afms))
-
-$(eval $(call gb_UnpackedTarball_set_tarball,afms,$(AFMS_TARBALL)))
-
-# vim: set noet sw=4 ts=4:
diff --git a/scp2/source/ooo/directory_ooo.scp b/scp2/source/ooo/directory_ooo.scp
index 4bda27e..eb51cd8 100644
--- a/scp2/source/ooo/directory_ooo.scp
+++ b/scp2/source/ooo/directory_ooo.scp
@@ -433,15 +433,6 @@ End
 
 #endif
 
-#ifdef UNX
-
-Directory gid_Dir_Psprint_Fontmetric
-    ParentID = gid_Dir_Psprint;
-    DosName = "fontmetric";
-End
-
-#endif
-
 /* *** Accessories Extras *** */
 
 /* ** Gallery ** */
diff --git a/scp2/source/ooo/file_extra_ooo.scp b/scp2/source/ooo/file_extra_ooo.scp
index 17cf18c..b9490bd 100644
--- a/scp2/source/ooo/file_extra_ooo.scp
+++ b/scp2/source/ooo/file_extra_ooo.scp
@@ -96,19 +96,6 @@ End
 
 #ifdef UNX
 
-#ifndef WITHOUT_AFMS
-File gid_File_Extra_Fontunxafm
-    Dir = FILELIST_DIR;
-    TXT_FILE_BODY;
-    Styles = (FILELIST);
-    Name = "afms_fontunxafm.filelist";
-End
-#endif
-
-#endif
-
-#ifdef UNX
-
 #ifndef WITHOUT_PPDS
 File gid_File_Extra_Fontunxppds
     Dir = FILELIST_DIR;


More information about the Libreoffice-commits mailing list