summaryrefslogtreecommitdiff
path: root/scp2/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-06-02 12:34:47 +0200
committerMichael Stahl <mstahl@redhat.com>2017-06-02 16:34:53 +0200
commitf8de1df4be6c97f279dd344ef14e2967d848bd32 (patch)
treea5ea4f6f0e5a8c660cc5c4e7c506ea17892d617d /scp2/source
parentfbed35762a6b14e8fda5179e320a9c30fd426454 (diff)
scp2: move fonts to AutoInstall
Add new PACKAGE_FILELIST_FONT The DONT_DELETE style has no effect for files. The FONT_WARN_IF_EXISTS style has no effect. Change-Id: Id062ada0a680341c01827e457b1166d625afe8cc
Diffstat (limited to 'scp2/source')
-rw-r--r--scp2/source/ooo/file_font_ooo.scp81
-rw-r--r--scp2/source/ooo/module_hidden_ooo.scp16
2 files changed, 2 insertions, 95 deletions
diff --git a/scp2/source/ooo/file_font_ooo.scp b/scp2/source/ooo/file_font_ooo.scp
deleted file mode 100644
index 6dfe05538c10..000000000000
--- a/scp2/source/ooo/file_font_ooo.scp
+++ /dev/null
@@ -1,81 +0,0 @@
-/*************************************************************************
-*
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
-************************************************************************/
-
-#include "macros.inc"
-
-// OpenSymbol
-
-STD_FONT_FILELIST( gid_File_Fnt_Opensymb, "extras_fonts.filelist" )
-
-#ifndef WITHOUT_FONTS
-
-// DejaVu fonts
-STD_FONT_FILELIST(gid_File_Fnt_DejaVu, "fonts_dejavu.filelist")
-
-// Liberation fonts
-STD_FONT_FILELIST(gid_File_Fnt_LibSansNarrow, "fonts_liberation_narrow.filelist")
-STD_FONT_FILELIST(gid_File_Fnt_Liberation, "fonts_liberation.filelist")
-
-// Gentium fonts
-STD_FONT_FILELIST(gid_File_Fnt_Gentium, "fonts_gentium.filelist")
-
-// Linux Libertine G and Linux Biolinum G fonts
-STD_FONT_FILELIST(gid_File_Fnt_LinuxLibertineG, "fonts_libertineg.filelist")
-
-// PT Serif fonts
-STD_FONT_FILELIST(gid_File_Fnt_PtSerif, "fonts_ptserif.filelist")
-
-// Open Sans fonts
-STD_FONT_FILELIST(gid_File_Fnt_OpenSans, "fonts_opensans.filelist")
-
-// Source Sans Pro fonts
-STD_FONT_FILELIST(gid_File_Fnt_SourceSans, "fonts_sourcesans.filelist")
-
-// Source Code Pro fonts
-STD_FONT_FILELIST(gid_File_Fnt_SourceCode, "fonts_sourcecode.filelist")
-
-//Carlito and Caladea fonts
-STD_FONT_FILELIST(gid_File_Fnt_Carlito, "fonts_carlito.filelist")
-STD_FONT_FILELIST(gid_File_Fnt_Caladea, "fonts_caladea.filelist")
-
-// EmojiOne_Color font
-STD_FONT_FILELIST(gid_File_Fnt_EmojiOne_Color, "fonts_emojione_color.filelist")
-
-#endif
-
-// fontconfig updates to allow proper use of local fonts
-
-#ifdef UNX
-#ifndef WITHOUT_FONTS
-File gid_File_FcLocal_Conf
- Dir = FILELIST_DIR;
- USER_FILE_BODY;
- Styles = (FILELIST);
- Name = "more_fonts_conf.filelist";
-End
-#endif
-#endif
diff --git a/scp2/source/ooo/module_hidden_ooo.scp b/scp2/source/ooo/module_hidden_ooo.scp
index 48644f36c600..cff32e16930d 100644
--- a/scp2/source/ooo/module_hidden_ooo.scp
+++ b/scp2/source/ooo/module_hidden_ooo.scp
@@ -18,6 +18,7 @@
#include "macros.inc"
#include "AutoInstall/ooo"
+#include "AutoInstall/ooo_fonts"
#include "AutoInstall/ooo_images"
#include "AutoInstall/ooobinarytable"
@@ -98,20 +99,7 @@ Module gid_Module_Root_Fonts_OOo_Hidden
Sortkey = "2100";
Default = YES;
Styles = (HIDDEN_ROOT);
- Files = (gid_File_Fnt_Opensymb,
- gid_File_Fnt_Caladea,
- gid_File_Fnt_Carlito,
- gid_File_Fnt_DejaVu,
- gid_File_Fnt_Gentium,
- gid_File_Fnt_LibSansNarrow,
- gid_File_Fnt_Liberation,
- gid_File_Fnt_LinuxLibertineG,
- gid_File_Fnt_PtSerif,
- gid_File_Fnt_OpenSans,
- gid_File_Fnt_SourceSans,
- gid_File_Fnt_SourceCode,
- gid_File_Fnt_EmojiOne_Color,
- gid_File_FcLocal_Conf);
+ Files = (auto_ooo_fonts_ALL);
End
#endif