[Libreoffice-commits] core.git: afms/ExternalPackage_fontunxafm.mk afms/Module_afms.mk afms/Zip_fontunxafm.mk scp2/source
Julien Nabet
serval2412 at yahoo.fr
Sun Apr 28 07:33:45 PDT 2013
afms/ExternalPackage_fontunxafm.mk | 48 +++++++++++++++++++++++++++++++++++
afms/Module_afms.mk | 2 -
afms/Zip_fontunxafm.mk | 50 -------------------------------------
scp2/source/ooo/file_extra_ooo.scp | 6 ++--
4 files changed, 52 insertions(+), 54 deletions(-)
New commits:
commit 9ed5affa51257e1bfece7fd8712acad77ad64cad
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Apr 28 15:20:46 2013 +0200
fdo#63197: convert fontunxafm
Change-Id: Ib382319a4916b711c820c06ba57928ca11d0b804
Reviewed-on: https://gerrit.libreoffice.org/3648
Tested-by: David Tardon <dtardon at redhat.com>
Reviewed-by: David Tardon <dtardon at redhat.com>
diff --git a/afms/Zip_fontunxafm.mk b/afms/ExternalPackage_fontunxafm.mk
similarity index 82%
rename from afms/Zip_fontunxafm.mk
rename to afms/ExternalPackage_fontunxafm.mk
index 058ee7e..d2600a1 100644
--- a/afms/Zip_fontunxafm.mk
+++ b/afms/ExternalPackage_fontunxafm.mk
@@ -7,13 +7,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-$(eval $(call gb_Zip_Zip,fontunxafm,$(call gb_UnpackedTarball_get_dir,afms)))
+$(eval $(call gb_ExternalPackage_ExternalPackage,afms_fontunxafm,afms))
-$(eval $(call gb_Zip_add_dependencies,fontunxafm,\
- $(call gb_UnpackedTarball_get_target,afms) \
-))
+$(eval $(call gb_ExternalPackage_set_outdir,afms_fontunxafm,$(INSTDIR)))
-$(eval $(call gb_Zip_add_files,fontunxafm,\
+$(eval $(call gb_ExternalPackage_add_unpacked_files,afms_fontunxafm,share/psprint/fontmetric,\
Courier-Bold.afm \
Courier-BoldOblique.afm \
Courier-Oblique.afm \
diff --git a/afms/Module_afms.mk b/afms/Module_afms.mk
index ee04aa9..5e0c750 100644
--- a/afms/Module_afms.mk
+++ b/afms/Module_afms.mk
@@ -11,7 +11,7 @@ $(eval $(call gb_Module_Module,afms))
$(eval $(call gb_Module_add_targets,afms,\
UnpackedTarball_afms \
- Zip_fontunxafm \
+ ExternalPackage_fontunxafm \
))
# vim: set noet sw=4 ts=4:
diff --git a/scp2/source/ooo/file_extra_ooo.scp b/scp2/source/ooo/file_extra_ooo.scp
index 93ebc12..0a804d3 100644
--- a/scp2/source/ooo/file_extra_ooo.scp
+++ b/scp2/source/ooo/file_extra_ooo.scp
@@ -208,10 +208,10 @@ End
#ifndef WITHOUT_AFMS
File gid_File_Extra_Fontunxafm
- Dir = gid_Dir_Psprint_Fontmetric;
+ Dir = FILELIST_DIR;
TXT_FILE_BODY;
- Styles = (ARCHIVE);
- Name = "fontunxafm.zip";
+ Styles = (FILELIST);
+ Name = "afms_fontunxafm.filelist";
End
#endif
More information about the Libreoffice-commits
mailing list