Kaydet (Commit) b0e0ee45 authored tarafından Michael Stahl's avatar Michael Stahl

consistent naming of externals: png -> libpng

Change-Id: I82d95e74318600b390d5add716773c658817e504
Reviewed-on: https://gerrit.libreoffice.org/42296Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 871d75e9
...@@ -158,7 +158,7 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S ...@@ -158,7 +158,7 @@ $(WORKDIR)/download: $(BUILDDIR)/config_$(gb_Side).mk $(SRCDIR)/download.lst $(S
$(call fetch_Optional,LIBGPGERROR,LIBGPGERROR_TARBALL) \ $(call fetch_Optional,LIBGPGERROR,LIBGPGERROR_TARBALL) \
$(call fetch_Optional,LIBLANGTAG,LANGTAGREG_TARBALL) \ $(call fetch_Optional,LIBLANGTAG,LANGTAGREG_TARBALL) \
$(call fetch_Optional,LIBLANGTAG,LIBLANGTAG_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,LIBTOMMATH,LIBTOMMATH_TARBALL) \
$(call fetch_Optional,LIBXML2,LIBXML_TARBALL) \ $(call fetch_Optional,LIBXML2,LIBXML_TARBALL) \
LIBXMLSEC_TARBALL \ LIBXMLSEC_TARBALL \
......
...@@ -2644,7 +2644,7 @@ endif # ENABLE_DBUS ...@@ -2644,7 +2644,7 @@ endif # ENABLE_DBUS
ifneq ($(SYSTEM_LIBPNG),) ifneq ($(SYSTEM_LIBPNG),)
define gb_LinkTarget__use_png define gb_LinkTarget__use_libpng
$(call gb_LinkTarget_set_include,$(1),\ $(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \ $$(INCLUDE) \
$(LIBPNG_CFLAGS) \ $(LIBPNG_CFLAGS) \
...@@ -2656,25 +2656,25 @@ $(call gb_LinkTarget_add_libs,$(1),\ ...@@ -2656,25 +2656,25 @@ $(call gb_LinkTarget_add_libs,$(1),\
endef endef
gb_ExternalProject__use_png := gb_ExternalProject__use_libpng :=
else # !SYSTEM_LIBPNG else # !SYSTEM_LIBPNG
define gb_LinkTarget__use_png define gb_LinkTarget__use_libpng
$(call gb_LinkTarget_set_include,$(1),\ $(call gb_LinkTarget_set_include,$(1),\
$(LIBPNG_CFLAGS) \ $(LIBPNG_CFLAGS) \
$$(INCLUDE) \ $$(INCLUDE) \
) )
$(call gb_LinkTarget_use_static_libraries,$(1),\ $(call gb_LinkTarget_use_static_libraries,$(1),\
png \ libpng \
) )
$(call gb_LinkTarget__use_zlib,$(1)) $(call gb_LinkTarget__use_zlib,$(1))
endef endef
define gb_ExternalProject__use_png define gb_ExternalProject__use_libpng
$(call gb_ExternalProject_use_static_libraries,$(1),\ $(call gb_ExternalProject_use_static_libraries,$(1),\
png \ libpng \
) )
endef endef
......
...@@ -67,7 +67,7 @@ $(eval $(call gb_Library_use_externals,avmedia,\ ...@@ -67,7 +67,7 @@ $(eval $(call gb_Library_use_externals,avmedia,\
collada2gltf \ collada2gltf \
libxml2 \ libxml2 \
opencollada_parser \ opencollada_parser \
png \ libpng \
)) ))
endif endif
......
...@@ -11266,7 +11266,7 @@ dnl =================================================================== ...@@ -11266,7 +11266,7 @@ dnl ===================================================================
dnl Test whether to build libpng or rely on the system version dnl Test whether to build libpng or rely on the system version
dnl =================================================================== 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 ===================================================================
dnl Check for runtime JVM search path dnl Check for runtime JVM search path
......
...@@ -48,7 +48,7 @@ $(eval $(call gb_Executable_add_defs,oosplash,\ ...@@ -48,7 +48,7 @@ $(eval $(call gb_Executable_add_defs,oosplash,\
)) ))
$(eval $(call gb_Executable_use_externals,oosplash,\ $(eval $(call gb_Executable_use_externals,oosplash,\
png \ libpng \
)) ))
endif endif
......
...@@ -191,8 +191,8 @@ export PDFIUM_SHA256SUM := 76b08c5bc9cd41ccdd58aa41491d3f8e1fad517d7cb3e16d285b6 ...@@ -191,8 +191,8 @@ export PDFIUM_SHA256SUM := 76b08c5bc9cd41ccdd58aa41491d3f8e1fad517d7cb3e16d285b6
export PDFIUM_TARBALL := pdfium-3196.tar.bz2 export PDFIUM_TARBALL := pdfium-3196.tar.bz2
export PIXMAN_SHA256SUM := 21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e export PIXMAN_SHA256SUM := 21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e
export PIXMAN_TARBALL := e80ebae4da01e77f68744319f01d52a3-pixman-0.34.0.tar.gz export PIXMAN_TARBALL := e80ebae4da01e77f68744319f01d52a3-pixman-0.34.0.tar.gz
export PNG_SHA256SUM := 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666 export LIBPNG_SHA256SUM := 267c332ffff70cc599d3929207869f698798f1df143aa5f9597b007c14353666
export PNG_TARBALL := libpng-1.6.30.tar.xz export LIBPNG_TARBALL := libpng-1.6.30.tar.xz
export POPPLER_SHA256SUM := a3d626b24cd14efa9864e12584b22c9c32f51c46417d7c10ca17651f297c9641 export POPPLER_SHA256SUM := a3d626b24cd14efa9864e12584b22c9c32f51c46417d7c10ca17651f297c9641
export POPPLER_TARBALL := poppler-0.59.0.tar.xz export POPPLER_TARBALL := poppler-0.59.0.tar.xz
export POSTGRESQL_SHA256SUM := db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461 export POSTGRESQL_SHA256SUM := db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461
......
...@@ -13,13 +13,13 @@ $(eval $(call gb_ExternalProject_use_external_project,cairo,pixman)) ...@@ -13,13 +13,13 @@ $(eval $(call gb_ExternalProject_use_external_project,cairo,pixman))
$(eval $(call gb_ExternalProject_use_externals,cairo,\ $(eval $(call gb_ExternalProject_use_externals,cairo,\
freetype \ freetype \
png \ libpng \
zlib \ zlib \
)) ))
ifeq ($(OS),ANDROID) ifeq ($(OS),ANDROID)
$(eval $(call gb_ExternalProject_use_unpacked,cairo,fontconfig)) $(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 endif
$(eval $(call gb_ExternalProject_register_targets,cairo,\ $(eval $(call gb_ExternalProject_register_targets,cairo,\
......
...@@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,collada2gltf,collada2gltf)) ...@@ -13,7 +13,7 @@ $(eval $(call gb_StaticLibrary_use_unpacked,collada2gltf,collada2gltf))
$(eval $(call gb_StaticLibrary_use_externals,collada2gltf, \ $(eval $(call gb_StaticLibrary_use_externals,collada2gltf, \
opencollada_parser \ opencollada_parser \
png \ libpng \
)) ))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,collada2gltf)) $(eval $(call gb_StaticLibrary_set_warnings_not_errors,collada2gltf))
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
$(eval $(call gb_Module_Module,libpng)) $(eval $(call gb_Module_Module,libpng))
$(eval $(call gb_Module_add_targets,libpng,\ $(eval $(call gb_Module_add_targets,libpng,\
StaticLibrary_png \ StaticLibrary_libpng \
UnpackedTarball_png \ UnpackedTarball_libpng \
)) ))
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -7,35 +7,35 @@ ...@@ -7,35 +7,35 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
$(eval $(call gb_StaticLibrary_StaticLibrary,png)) $(eval $(call gb_StaticLibrary_StaticLibrary,libpng))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,png)) $(eval $(call gb_StaticLibrary_set_warnings_not_errors,libpng))
$(eval $(call gb_StaticLibrary_use_unpacked,png,png)) $(eval $(call gb_StaticLibrary_use_unpacked,libpng,libpng))
$(eval $(call gb_StaticLibrary_use_externals,png,\ $(eval $(call gb_StaticLibrary_use_externals,libpng,\
zlib \ zlib \
)) ))
$(eval $(call gb_StaticLibrary_add_generated_cobjects,png,\ $(eval $(call gb_StaticLibrary_add_generated_cobjects,libpng,\
UnpackedTarball/png/png \ UnpackedTarball/libpng/png \
UnpackedTarball/png/pngerror \ UnpackedTarball/libpng/pngerror \
UnpackedTarball/png/pngget \ UnpackedTarball/libpng/pngget \
UnpackedTarball/png/pngmem \ UnpackedTarball/libpng/pngmem \
UnpackedTarball/png/pngpread \ UnpackedTarball/libpng/pngpread \
UnpackedTarball/png/pngread \ UnpackedTarball/libpng/pngread \
UnpackedTarball/png/pngrio \ UnpackedTarball/libpng/pngrio \
UnpackedTarball/png/pngrtran \ UnpackedTarball/libpng/pngrtran \
UnpackedTarball/png/pngrutil \ UnpackedTarball/libpng/pngrutil \
UnpackedTarball/png/pngset \ UnpackedTarball/libpng/pngset \
UnpackedTarball/png/pngtrans \ UnpackedTarball/libpng/pngtrans \
UnpackedTarball/png/pngwio \ UnpackedTarball/libpng/pngwio \
UnpackedTarball/png/pngwrite \ UnpackedTarball/libpng/pngwrite \
UnpackedTarball/png/pngwtran \ UnpackedTarball/libpng/pngwtran \
UnpackedTarball/png/pngwutil \ UnpackedTarball/libpng/pngwutil \
$(if $(filter ARM,$(CPUNAME)),\ $(if $(filter ARM,$(CPUNAME)),\
UnpackedTarball/png/arm/arm_init \ UnpackedTarball/libpng/arm/arm_init \
UnpackedTarball/png/arm/filter_neon_intrinsics \ UnpackedTarball/libpng/arm/filter_neon_intrinsics \
) \ ) \
)) ))
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # 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 \ external/libpng/configs/pnglibconf.h \
)) ))
......
...@@ -18,7 +18,7 @@ $(eval $(call gb_ExternalProject_register_targets,libzmf,\ ...@@ -18,7 +18,7 @@ $(eval $(call gb_ExternalProject_register_targets,libzmf,\
$(eval $(call gb_ExternalProject_use_externals,libzmf,\ $(eval $(call gb_ExternalProject_use_externals,libzmf,\
boost_headers \ boost_headers \
icu \ icu \
png \ libpng \
revenge \ revenge \
zlib \ zlib \
)) ))
......
...@@ -31,7 +31,7 @@ fuzzer_externals = \ ...@@ -31,7 +31,7 @@ fuzzer_externals = \
libxslt \ libxslt \
libxml2 \ libxml2 \
libjpeg \ libjpeg \
png \ libpng \
clew \ clew \
openssl \ openssl \
expat \ expat \
......
...@@ -50,7 +50,7 @@ $(eval $(call gb_Library_use_externals,wpftdraw,\ ...@@ -50,7 +50,7 @@ $(eval $(call gb_Library_use_externals,wpftdraw,\
mwaw \ mwaw \
odfgen \ odfgen \
zmf \ zmf \
png \ libpng \
pagemaker \ pagemaker \
qxp \ qxp \
revenge \ revenge \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment