From e485e0ffb51ed11325a31fe77e84252be6c9fad9 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 3 Nov 2013 20:02:13 +0200 Subject: [PATCH] fdo#70393: move jpeg to a subdir of external Change-Id: I56be33efe0cc1deaf7a7e7ce6c6ea292dbe7786d Reviewed-on: https://gerrit.libreoffice.org/6543 Reviewed-by: David Tardon Tested-by: David Tardon --- RepositoryModule_host.mk | 1 - external/Module_external.mk | 1 + {jpeg => external/jpeg}/Makefile | 2 +- {jpeg => external/jpeg}/Module_jpeg.mk | 0 {jpeg => external/jpeg}/README | 0 {jpeg => external/jpeg}/StaticLibrary_jpeg.mk | 0 {jpeg => external/jpeg}/UnpackedTarball_jpeg.mk | 4 ++-- {jpeg => external/jpeg}/configs/jconfig.h | 0 {jpeg => external/jpeg}/patches/jpeg-8c-jmorecfg.patch | 0 9 files changed, 4 insertions(+), 4 deletions(-) rename {jpeg => external/jpeg}/Makefile (71%) rename {jpeg => external/jpeg}/Module_jpeg.mk (100%) rename {jpeg => external/jpeg}/README (100%) rename {jpeg => external/jpeg}/StaticLibrary_jpeg.mk (100%) rename {jpeg => external/jpeg}/UnpackedTarball_jpeg.mk (78%) rename {jpeg => external/jpeg}/configs/jconfig.h (100%) rename {jpeg => external/jpeg}/patches/jpeg-8c-jmorecfg.patch (100%) diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk index 15468c510f26..090172ecad40 100644 --- a/RepositoryModule_host.mk +++ b/RepositoryModule_host.mk @@ -65,7 +65,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\ instsetoo_native \ io \ javaunohelper \ - $(call gb_Helper_optional,JPEG,jpeg) \ jurt \ jvmaccess \ jvmfwk \ diff --git a/external/Module_external.mk b/external/Module_external.mk index feee429a8e05..089a6323979b 100644 --- a/external/Module_external.mk +++ b/external/Module_external.mk @@ -43,6 +43,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\ $(call gb_Helper_optional,HYPHEN,hyphen) \ $(call gb_Helper_optional,ICU,icu) \ $(call gb_Helper_optional,JFREEREPORT,jfreereport) \ + $(call gb_Helper_optional,JPEG,jpeg) \ $(call gb_Helper_optional,LCMS2,lcms2) \ $(call gb_Helper_optional,LIBATOMIC_OPS,libatomic_ops) \ $(call gb_Helper_optional,LIBEXTTEXTCAT,libexttextcat) \ diff --git a/jpeg/Makefile b/external/jpeg/Makefile similarity index 71% rename from jpeg/Makefile rename to external/jpeg/Makefile index ccb1c85a04da..e4968cf85fb6 100644 --- a/jpeg/Makefile +++ b/external/jpeg/Makefile @@ -2,6 +2,6 @@ module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) -include $(module_directory)/../solenv/gbuild/partial_build.mk +include $(module_directory)/../../solenv/gbuild/partial_build.mk # vim: set noet sw=4 ts=4: diff --git a/jpeg/Module_jpeg.mk b/external/jpeg/Module_jpeg.mk similarity index 100% rename from jpeg/Module_jpeg.mk rename to external/jpeg/Module_jpeg.mk diff --git a/jpeg/README b/external/jpeg/README similarity index 100% rename from jpeg/README rename to external/jpeg/README diff --git a/jpeg/StaticLibrary_jpeg.mk b/external/jpeg/StaticLibrary_jpeg.mk similarity index 100% rename from jpeg/StaticLibrary_jpeg.mk rename to external/jpeg/StaticLibrary_jpeg.mk diff --git a/jpeg/UnpackedTarball_jpeg.mk b/external/jpeg/UnpackedTarball_jpeg.mk similarity index 78% rename from jpeg/UnpackedTarball_jpeg.mk rename to external/jpeg/UnpackedTarball_jpeg.mk index d2bdfd69b147..dae63e2ec4f8 100644 --- a/jpeg/UnpackedTarball_jpeg.mk +++ b/external/jpeg/UnpackedTarball_jpeg.mk @@ -11,10 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,jpeg)) $(eval $(call gb_UnpackedTarball_set_tarball,jpeg,$(JPEG_TARBALL))) -$(eval $(call gb_UnpackedTarball_add_file,jpeg,jconfig.h,jpeg/configs/jconfig.h)) +$(eval $(call gb_UnpackedTarball_add_file,jpeg,jconfig.h,external/jpeg/configs/jconfig.h)) $(eval $(call gb_UnpackedTarball_add_patches,jpeg,\ - jpeg/patches/jpeg-8c-jmorecfg.patch \ + external/jpeg/patches/jpeg-8c-jmorecfg.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/jpeg/configs/jconfig.h b/external/jpeg/configs/jconfig.h similarity index 100% rename from jpeg/configs/jconfig.h rename to external/jpeg/configs/jconfig.h diff --git a/jpeg/patches/jpeg-8c-jmorecfg.patch b/external/jpeg/patches/jpeg-8c-jmorecfg.patch similarity index 100% rename from jpeg/patches/jpeg-8c-jmorecfg.patch rename to external/jpeg/patches/jpeg-8c-jmorecfg.patch