fdo#70393: move cairo to a subdir of external

Change-Id: I5a5d43521d3d7227dadd05525e2c69c63a3f1c1b
Reviewed-on: https://gerrit.libreoffice.org/6284
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
Khaled Hosny 2013-10-17 01:22:19 +02:00 committed by Björn Michaelsen
parent 4641fd9aec
commit 214fc91341
23 changed files with 13 additions and 17 deletions

View file

@ -24,7 +24,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
bean \
binaryurp \
bridges \
$(call gb_Helper_optional,CAIRO,cairo) \
canvas \
chart2 \
cli_ure \

View file

@ -22,6 +22,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\
$(call gb_Helper_optional,APACHE_COMMONS,apache-commons) \
$(call gb_Helper_optional,BOOST,boost) \
$(call gb_Helper_optional,BSH,beanshell) \
$(call gb_Helper_optional,CAIRO,cairo) \
$(call gb_Helper_optional,HARFBUZZ,harfbuzz) \
$(call gb_Helper_optional,LIBPNG,libpng) \
))

View file

@ -9,8 +9,6 @@
$(eval $(call gb_Module_Module,cairo))
ifeq ($(SYSTEM_CAIRO),NO)
$(eval $(call gb_Module_add_targets,cairo,\
ExternalPackage_cairo \
ExternalPackage_pixman \
@ -20,6 +18,4 @@ $(eval $(call gb_Module_add_targets,cairo,\
UnpackedTarball_pixman \
))
endif
# vim: set noet sw=4 ts=4:

View file

@ -12,38 +12,38 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,cairo))
$(eval $(call gb_UnpackedTarball_set_tarball,cairo,$(CAIRO_TARBALL),,cairo))
$(eval $(call gb_UnpackedTarball_add_patches,cairo,\
cairo/cairo/cairo-1.10.2.patch \
cairo/cairo/cairo.dlsym.lcdfilter.patch \
cairo/cairo/cairo-1.10.2-oldfontconfig.patch \
external/cairo/cairo/cairo-1.10.2.patch \
external/cairo/cairo/cairo.dlsym.lcdfilter.patch \
external/cairo/cairo/cairo-1.10.2-oldfontconfig.patch \
))
ifeq ($(OS)$(COM),WNTMSC)
$(eval $(call gb_UnpackedTarball_add_patches,cairo,\
cairo/cairo/cairo-1.10.2.wntmsc.patch \
external/cairo/cairo/cairo-1.10.2.wntmsc.patch \
))
endif
# FIXME add cairo/cairo/cairo-1.10.2.no-atsui.patch for MACOSX >= 1070
ifeq ($(OS),IOS)
$(eval $(call gb_UnpackedTarball_add_patches,cairo,\
cairo/cairo/cairo-1.10.2.no-atsui.patch \
cairo/cairo/cairo-1.10.2.ios.patch \
external/cairo/cairo/cairo-1.10.2.no-atsui.patch \
external/cairo/cairo/cairo-1.10.2.ios.patch \
))
endif
ifeq ($(OS),ANDROID)
$(eval $(call gb_UnpackedTarball_add_patches,cairo,\
cairo/cairo/cairo-1.10.2.android.patch \
external/cairo/cairo/cairo-1.10.2.android.patch \
))
endif
ifneq (,$(filter ANDROID IOS,$(OS)))
$(eval $(call gb_UnpackedTarball_add_file,cairo,.,cairo/cairo/dummy_pkg_config))
$(eval $(call gb_UnpackedTarball_add_file,cairo,.,external/cairo/cairo/dummy_pkg_config))
endif
ifeq ($(COM_GCC_IS_CLANG),TRUE)
$(eval $(call gb_UnpackedTarball_add_patches,cairo,\
cairo/cairo/no-flto-clang.patch \
external/cairo/cairo/no-flto-clang.patch \
))
endif

View file

@ -12,17 +12,17 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,pixman))
$(eval $(call gb_UnpackedTarball_set_tarball,pixman,$(PIXMAN_TARBALL),,cairo))
$(eval $(call gb_UnpackedTarball_add_patches,pixman,\
cairo/pixman/pixman-0.24.4.patch \
external/cairo/pixman/pixman-0.24.4.patch \
))
ifeq ($(OS),ANDROID)
$(eval $(call gb_UnpackedTarball_add_patches,pixman,\
cairo/pixman/pixman-0.24.4.android.patch \
external/cairo/pixman/pixman-0.24.4.android.patch \
))
endif
ifeq ($(OS)$(COM),WNTMSC)
$(eval $(call gb_UnpackedTarball_add_file,pixman,pixman,cairo/pixman/Makefile.win32.common))
$(eval $(call gb_UnpackedTarball_add_file,pixman,pixman,external/cairo/pixman/Makefile.win32.common))
endif
# vim: set noet sw=4 ts=4: