diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-09-14 14:12:40 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-09-15 11:01:39 +0200 |
commit | b0e0ee45d667df1473b47e441a6911dd2b4eadba (patch) | |
tree | 47554ac6c554c4167a9573869b2d37733f9f7836 | |
parent | 871d75e9c2c82d4b3ffbbff80f1dfa7a823e4f3d (diff) |
consistent naming of externals: png -> libpng
Change-Id: I82d95e74318600b390d5add716773c658817e504
Reviewed-on: https://gerrit.libreoffice.org/42296
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | Makefile.fetch | 2 | ||||
-rw-r--r-- | RepositoryExternal.mk | 12 | ||||
-rw-r--r-- | avmedia/Library_avmedia.mk | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | desktop/Executable_oosplash.mk | 2 | ||||
-rw-r--r-- | download.lst | 4 | ||||
-rw-r--r-- | external/cairo/ExternalProject_cairo.mk | 4 | ||||
-rw-r--r-- | external/collada2gltf/StaticLibrary_collada2gltf.mk | 2 | ||||
-rw-r--r-- | external/libpng/Module_libpng.mk | 4 | ||||
-rw-r--r-- | external/libpng/StaticLibrary_libpng.mk | 42 | ||||
-rw-r--r-- | external/libpng/StaticLibrary_png.mk | 42 | ||||
-rw-r--r-- | external/libpng/UnpackedTarball_libpng.mk (renamed from external/libpng/UnpackedTarball_png.mk) | 6 | ||||
-rw-r--r-- | external/libzmf/ExternalProject_libzmf.mk | 2 | ||||
-rw-r--r-- | vcl/commonfuzzer.mk | 2 | ||||
-rw-r--r-- | writerperfect/Library_wpftdraw.mk | 2 |
15 files changed, 65 insertions, 65 deletions
diff --git a/Makefile.fetch b/Makefile.fetch index 81af88593c7a..af57d2f9066c 100644 --- a/Makefile.fetch +++ b/Makefile.fetch @@ -158,7 +158,7 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S $(call fetch_Optional,LIBGPGERROR,LIBGPGERROR_TARBALL) \ $(call fetch_Optional,LIBLANGTAG,LANGTAGREG_TARBALL) \ $(call fetch_Optional,LIBLANGTAG,LIBLANGTAG_TARBALL) \ - $(call fetch_Optional,LIBPNG,PNG_TARBALL) \ + $(call fetch_Optional,LIBPNG,LIBPNG_TARBALL) \ $(call fetch_Optional,LIBTOMMATH,LIBTOMMATH_TARBALL) \ $(call fetch_Optional,LIBXML2,LIBXML_TARBALL) \ LIBXMLSEC_TARBALL \ diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 4794fce5541e..22dcc802aeaa 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -2644,7 +2644,7 @@ endif # ENABLE_DBUS ifneq ($(SYSTEM_LIBPNG),) -define gb_LinkTarget__use_png +define gb_LinkTarget__use_libpng $(call gb_LinkTarget_set_include,$(1),\ $$(INCLUDE) \ $(LIBPNG_CFLAGS) \ @@ -2656,25 +2656,25 @@ $(call gb_LinkTarget_add_libs,$(1),\ endef -gb_ExternalProject__use_png := +gb_ExternalProject__use_libpng := else # !SYSTEM_LIBPNG -define gb_LinkTarget__use_png +define gb_LinkTarget__use_libpng $(call gb_LinkTarget_set_include,$(1),\ $(LIBPNG_CFLAGS) \ $$(INCLUDE) \ ) $(call gb_LinkTarget_use_static_libraries,$(1),\ - png \ + libpng \ ) $(call gb_LinkTarget__use_zlib,$(1)) endef -define gb_ExternalProject__use_png +define gb_ExternalProject__use_libpng $(call gb_ExternalProject_use_static_libraries,$(1),\ - png \ + libpng \ ) endef diff --git a/avmedia/Library_avmedia.mk b/avmedia/Library_avmedia.mk index 72f46a38b5c6..4e3104681578 100644 --- a/avmedia/Library_avmedia.mk +++ b/avmedia/Library_avmedia.mk @@ -67,7 +67,7 @@ $(eval $(call gb_Library_use_externals,avmedia,\ collada2gltf \ libxml2 \ opencollada_parser \ - png \ + libpng \ )) endif diff --git a/configure.ac b/configure.ac index 3de1c765acf5..e5132ec4c034 100644 --- a/configure.ac +++ b/configure.ac @@ -11266,7 +11266,7 @@ dnl =================================================================== dnl Test whether to build libpng or rely on the system version dnl =================================================================== -libo_CHECK_SYSTEM_MODULE([libpng],[LIBPNG],[libpng],["-I${WORKDIR}/UnpackedTarball/png"],["-L${WORKDIR}/LinkTarget/StaticLibrary -lpng"]) +libo_CHECK_SYSTEM_MODULE([libpng],[LIBPNG],[libpng],["-I${WORKDIR}/UnpackedTarball/libpng"],["-L${WORKDIR}/LinkTarget/StaticLibrary -llibpng"]) dnl =================================================================== dnl Check for runtime JVM search path diff --git a/desktop/Executable_oosplash.mk b/desktop/Executable_oosplash.mk index 3f49b2d4eabf..365b58fdab5e 100644 --- a/desktop/Executable_oosplash.mk +++ b/desktop/Executable_oosplash.mk @@ -48,7 +48,7 @@ $(eval $(call gb_Executable_add_defs,oosplash,\ )) $(eval $(call gb_Executable_use_externals,oosplash,\ - png \ + libpng \ )) endif diff --git a/download.lst b/download.lst index 1778fa2d3ec0..f59fd67b0337 100644 --- a/download.lst +++ b/download.lst @@ -191,8 +191,8 @@ export PDFIUM_SHA256SUM := 76b08c5bc9cd41ccdd58aa41491d3f8e1fad517d7cb3e16d285b6 export PDFIUM_TARBALL := pdfium-3196.tar.bz2 export PIXMAN_SHA256SUM := 21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e export PIXMAN_TARBALL := e80ebae4da01e77f68744319f01d52a3-pixman-0.34.0.tar.gz -export PNG_SHA256SUM := 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666 -export PNG_TARBALL := libpng-1.6.30.tar.xz +export LIBPNG_SHA256SUM := 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666 +export LIBPNG_TARBALL := libpng-1.6.30.tar.xz export POPPLER_SHA256SUM := a3d626b24cd14efa9864e12584b22c9c32f51c46417d7c10ca17651f297c9641 export POPPLER_TARBALL := poppler-0.59.0.tar.xz export POSTGRESQL_SHA256SUM := db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461 diff --git a/external/cairo/ExternalProject_cairo.mk b/external/cairo/ExternalProject_cairo.mk index 5acd6f349aee..c6ad07a5c0b0 100644 --- a/external/cairo/ExternalProject_cairo.mk +++ b/external/cairo/ExternalProject_cairo.mk @@ -13,13 +13,13 @@ $(eval $(call gb_ExternalProject_use_external_project,cairo,pixman)) $(eval $(call gb_ExternalProject_use_externals,cairo,\ freetype \ - png \ + libpng \ zlib \ )) ifeq ($(OS),ANDROID) $(eval $(call gb_ExternalProject_use_unpacked,cairo,fontconfig)) -$(eval $(call gb_ExternalProject_use_unpacked,cairo,png)) +$(eval $(call gb_ExternalProject_use_unpacked,cairo,libpng)) endif $(eval $(call gb_ExternalProject_register_targets,cairo,\ diff --git a/external/collada2gltf/StaticLibrary_collada2gltf.mk b/external/collada2gltf/StaticLibrary_collada2gltf.mk index 2d1048d5cd70..03039976ea9d 100644 --- a/external/collada2gltf/StaticLibrary_collada2gltf.mk +++ b/external/collada2gltf/StaticLibrary_collada2gltf.mk @@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,collada2gltf,collada2gltf)) $(eval $(call gb_StaticLibrary_use_externals,collada2gltf, \ opencollada_parser \ - png \ + libpng \ )) $(eval $(call gb_StaticLibrary_set_warnings_not_errors,collada2gltf)) diff --git a/external/libpng/Module_libpng.mk b/external/libpng/Module_libpng.mk index afb0016fbaf4..f8f834d0ed80 100644 --- a/external/libpng/Module_libpng.mk +++ b/external/libpng/Module_libpng.mk @@ -10,8 +10,8 @@ $(eval $(call gb_Module_Module,libpng)) $(eval $(call gb_Module_add_targets,libpng,\ - StaticLibrary_png \ - UnpackedTarball_png \ + StaticLibrary_libpng \ + UnpackedTarball_libpng \ )) # vim: set noet sw=4 ts=4: diff --git a/external/libpng/StaticLibrary_libpng.mk b/external/libpng/StaticLibrary_libpng.mk new file mode 100644 index 000000000000..f500720616a2 --- /dev/null +++ b/external/libpng/StaticLibrary_libpng.mk @@ -0,0 +1,42 @@ +# -*- 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_StaticLibrary_StaticLibrary,libpng)) + +$(eval $(call gb_StaticLibrary_set_warnings_not_errors,libpng)) + +$(eval $(call gb_StaticLibrary_use_unpacked,libpng,libpng)) + +$(eval $(call gb_StaticLibrary_use_externals,libpng,\ + zlib \ +)) + +$(eval $(call gb_StaticLibrary_add_generated_cobjects,libpng,\ + UnpackedTarball/libpng/png \ + UnpackedTarball/libpng/pngerror \ + UnpackedTarball/libpng/pngget \ + UnpackedTarball/libpng/pngmem \ + UnpackedTarball/libpng/pngpread \ + UnpackedTarball/libpng/pngread \ + UnpackedTarball/libpng/pngrio \ + UnpackedTarball/libpng/pngrtran \ + UnpackedTarball/libpng/pngrutil \ + UnpackedTarball/libpng/pngset \ + UnpackedTarball/libpng/pngtrans \ + UnpackedTarball/libpng/pngwio \ + UnpackedTarball/libpng/pngwrite \ + UnpackedTarball/libpng/pngwtran \ + UnpackedTarball/libpng/pngwutil \ + $(if $(filter ARM,$(CPUNAME)),\ + UnpackedTarball/libpng/arm/arm_init \ + UnpackedTarball/libpng/arm/filter_neon_intrinsics \ + ) \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/external/libpng/StaticLibrary_png.mk b/external/libpng/StaticLibrary_png.mk deleted file mode 100644 index a735329b0ea9..000000000000 --- a/external/libpng/StaticLibrary_png.mk +++ /dev/null @@ -1,42 +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_StaticLibrary_StaticLibrary,png)) - -$(eval $(call gb_StaticLibrary_set_warnings_not_errors,png)) - -$(eval $(call gb_StaticLibrary_use_unpacked,png,png)) - -$(eval $(call gb_StaticLibrary_use_externals,png,\ - zlib \ -)) - -$(eval $(call gb_StaticLibrary_add_generated_cobjects,png,\ - UnpackedTarball/png/png \ - UnpackedTarball/png/pngerror \ - UnpackedTarball/png/pngget \ - UnpackedTarball/png/pngmem \ - UnpackedTarball/png/pngpread \ - UnpackedTarball/png/pngread \ - UnpackedTarball/png/pngrio \ - UnpackedTarball/png/pngrtran \ - UnpackedTarball/png/pngrutil \ - UnpackedTarball/png/pngset \ - UnpackedTarball/png/pngtrans \ - UnpackedTarball/png/pngwio \ - UnpackedTarball/png/pngwrite \ - UnpackedTarball/png/pngwtran \ - UnpackedTarball/png/pngwutil \ - $(if $(filter ARM,$(CPUNAME)),\ - UnpackedTarball/png/arm/arm_init \ - UnpackedTarball/png/arm/filter_neon_intrinsics \ - ) \ -)) - -# vim: set noet sw=4 ts=4: diff --git a/external/libpng/UnpackedTarball_png.mk b/external/libpng/UnpackedTarball_libpng.mk index ed8aa59c8493..dca4e4b5cfe9 100644 --- a/external/libpng/UnpackedTarball_png.mk +++ b/external/libpng/UnpackedTarball_libpng.mk @@ -7,11 +7,11 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -$(eval $(call gb_UnpackedTarball_UnpackedTarball,png)) +$(eval $(call gb_UnpackedTarball_UnpackedTarball,libpng)) -$(eval $(call gb_UnpackedTarball_set_tarball,png,$(PNG_TARBALL))) +$(eval $(call gb_UnpackedTarball_set_tarball,libpng,$(LIBPNG_TARBALL))) -$(eval $(call gb_UnpackedTarball_add_files,png,.,\ +$(eval $(call gb_UnpackedTarball_add_files,libpng,.,\ external/libpng/configs/pnglibconf.h \ )) diff --git a/external/libzmf/ExternalProject_libzmf.mk b/external/libzmf/ExternalProject_libzmf.mk index da720fb14157..f2c54c9dbddb 100644 --- a/external/libzmf/ExternalProject_libzmf.mk +++ b/external/libzmf/ExternalProject_libzmf.mk @@ -18,7 +18,7 @@ $(eval $(call gb_ExternalProject_register_targets,libzmf,\ $(eval $(call gb_ExternalProject_use_externals,libzmf,\ boost_headers \ icu \ - png \ + libpng \ revenge \ zlib \ )) diff --git a/vcl/commonfuzzer.mk b/vcl/commonfuzzer.mk index 4c9759856852..7581cf3e6761 100644 --- a/vcl/commonfuzzer.mk +++ b/vcl/commonfuzzer.mk @@ -31,7 +31,7 @@ fuzzer_externals = \ libxslt \ libxml2 \ libjpeg \ - png \ + libpng \ clew \ openssl \ expat \ diff --git a/writerperfect/Library_wpftdraw.mk b/writerperfect/Library_wpftdraw.mk index 3992fe7f2f88..163396a528d3 100644 --- a/writerperfect/Library_wpftdraw.mk +++ b/writerperfect/Library_wpftdraw.mk @@ -50,7 +50,7 @@ $(eval $(call gb_Library_use_externals,wpftdraw,\ mwaw \ odfgen \ zmf \ - png \ + libpng \ pagemaker \ qxp \ revenge \ |