Makefile.top | 2 - RepositoryExternal.mk | 27 +++++++++++++- config_host.mk.in | 5 -- configure.ac | 11 +----- external/mingw-dlls/makefile.mk | 1 scp2/InstallModule_ooo.mk | 1 scp2/source/ooo/mingw_dlls.scp | 6 --- solenv/inc/libs.mk | 6 --- zlib/ExternalPackage_zlib.mk | 17 +++++++++ zlib/Makefile | 14 +++++++ zlib/Module_zlib.mk | 28 +++++++++++++++ zlib/StaticLibrary_zlib.mk | 28 +++++++++++++++ zlib/StaticLibrary_zlib_x64.mk | 35 +++++++++++++++++++ zlib/UnpackedTarball_zlib.mk | 19 ++++++++++ zlib/make_patched_header.pl | 66 ------------------------------------ zlib/makefile.mk | 73 ---------------------------------------- zlib/prj/d.lst | 11 ------ zlib/zlib-dmakebuild.patch | 68 ------------------------------------- 18 files changed, 170 insertions(+), 248 deletions(-)
New commits: commit 50857f22df5311f4a30237639f4a8c5259b77c01 Author: David Tardon <dtar...@redhat.com> Date: Fri Oct 26 16:03:00 2012 +0200 minizip is not used anymore Change-Id: I0ddc4d343882248d208c9f96366625bcbe6ac4f7 diff --git a/config_host.mk.in b/config_host.mk.in index fc348b3..9a5fbfd 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -384,7 +384,6 @@ export MINGW_LIBEXSLT_DLL=@MINGW_LIBEXSLT_DLL@ export MINGW_LIBXML_DLL=@MINGW_LIBXML_DLL@ export MINGW_LIBXSLT_DLL=@MINGW_LIBXSLT_DLL@ export MINGW_LPSOLVE_DLL=@MINGW_LPSOLVE_DLL@ -export MINGW_MINIZIP_DLL=@MINGW_MINIZIP_DLL@ export MINGW_MYTHES_DLL=@MINGW_MYTHES_DLL@ export MINGW_NEON_DLL=@MINGW_NEON_DLL@ export MINGW_NSPR4_DLL=@MINGW_NSPR4_DLL@ @@ -413,8 +412,6 @@ export MINGW_SYSROOT=@MINGW_SYSROOT@ export MINGW_TASN1_DLL=@MINGW_TASN1_DLL@ export MINGW_TERMCAP_DLL=@MINGW_TERMCAP_DLL@ export MINGW_ZLIB_DLL=@MINGW_ZLIB_DLL@ -export MINIZIP_CFLAGS=@MINIZIP_CFLAGS@ -export MINIZIP_LIBS=@MINIZIP_LIBS@ export MKDEPENDSOLVER=TRUE export ML_EXE=@ML_EXE@ export MOC4=@MOC4@ @@ -606,7 +603,6 @@ export SYSTEM_LIBXSLT=@SYSTEM_LIBXSLT@ export SYSTEM_LIBXSLT_FOR_BUILD=@SYSTEM_LIBXSLT_FOR_BUILD@ export SYSTEM_LPSOLVE=@SYSTEM_LPSOLVE@ export SYSTEM_MDDS=@SYSTEM_MDDS@ -export SYSTEM_MINIZIP=@SYSTEM_MINIZIP@ export SYSTEM_MESA_HEADERS=@SYSTEM_MESA_HEADERS@ export SYSTEM_MOZILLA=@SYSTEM_MOZILLA@ export SYSTEM_MOZILLA_HEADERS=@SYSTEM_MOZILLA_HEADERS@ diff --git a/configure.ac b/configure.ac index 0556a9a..6f654a2 100644 --- a/configure.ac +++ b/configure.ac @@ -6824,16 +6824,9 @@ if test "$with_system_zlib" = "yes"; then [AC_MSG_ERROR(zlib.h not found. install zlib)], []) AC_CHECK_LIB(z, deflate, [ ZLIB=-lz ], [AC_MSG_ERROR(zlib not found or functional)], []) - if test "$WITH_MINGW" = "yes"; then - # we need minizip too - PKG_CHECK_MODULES([MINIZIP], [minizip]) - libo_MINGW_CHECK_DLL([MINIZIP], [libminizip]) - SYSTEM_MINIZIP=YES - fi else AC_MSG_RESULT([internal]) SYSTEM_ZLIB=NO - SYSTEM_MINIZIP=NO BUILD_TYPE="$BUILD_TYPE ZLIB" ZLIB_CFLAGS="-I${OUTDIR}/inc/external/zlib" ZLIB_LIBS="-L${OUTDIR}/lib -lz" @@ -6842,8 +6835,6 @@ fi AC_SUBST(ZLIB_CFLAGS) AC_SUBST(ZLIB_LIBS) AC_SUBST(SYSTEM_ZLIB) -AC_SUBST([SYSTEM_MINIZIP]) -AC_SUBST([MINGW_MINIZIP_DLL]) AC_SUBST(ZLIB_TARBALL) dnl =================================================================== diff --git a/external/mingw-dlls/makefile.mk b/external/mingw-dlls/makefile.mk index 8a7b3c5..3aa71cf 100644 --- a/external/mingw-dlls/makefile.mk +++ b/external/mingw-dlls/makefile.mk @@ -68,7 +68,6 @@ MINGW_DLLS:= \ $(MINGW_LIBXML_DLL) \ $(MINGW_LIBXSLT_DLL) \ $(MINGW_LPSOLVE_DLL) \ - $(MINGW_MINIZIP_DLL) \ $(MINGW_MYTHES_DLL) \ $(MINGW_NEON_DLL) \ $(MINGW_NSPR4_DLL) \ diff --git a/scp2/InstallModule_ooo.mk b/scp2/InstallModule_ooo.mk index c1b3c44..ddd498d 100644 --- a/scp2/InstallModule_ooo.mk +++ b/scp2/InstallModule_ooo.mk @@ -117,7 +117,6 @@ $(eval $(call gb_InstallModule_define_mingw_dll_if_set,scp2/ooo,\ MINGW_LIBXML_DLL \ MINGW_LIBXSLT_DLL \ MINGW_LPSOLVE_DLL \ - MINGW_MINIZIP_DLL \ MINGW_MYTHES_DLL \ MINGW_NEON_DLL \ MINGW_NSPR4_DLL \ diff --git a/scp2/source/ooo/mingw_dlls.scp b/scp2/source/ooo/mingw_dlls.scp index 7124530..33f7d67 100644 --- a/scp2/source/ooo/mingw_dlls.scp +++ b/scp2/source/ooo/mingw_dlls.scp @@ -136,12 +136,6 @@ MINGW_DLL( gid_Brand_File_Lib_Mingw_Libgrahpite, MINGW_GRAPHITE2_DLL ) #endif #endif -#ifdef SYSTEM_MINIZIP -#ifdef NEEDS_MINGW_MINIZP_DLL -MINGW_DLL( gid_Brand_File_Lib_Mingw_Libminizip, MINGW_MINIZIP_DLL ) -#endif -#endif - #ifdef SYSTEM_NEON #ifdef NEEDS_MINGW_TASN1_DLL MINGW_DLL( gid_Brand_File_Lib_Mingw_Libtasn, MINGW_TASN1_DLL ) diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk index f705d5f..2720144 100644 --- a/solenv/inc/libs.mk +++ b/solenv/inc/libs.mk @@ -187,12 +187,6 @@ ZLIB3RDLIB=-lz .ELSE ZLIB3RDLIB=-lzlib .ENDIF -.IF "$(SYSTEM_MINIZIP)"=="YES" -MINIZIP3RDLIB=$(MINIZIP_LIBS) -.ELSE -# internally, minizip is included in zlib -MINIZIP3RDLIB= -.ENDIF JPEG3RDLIB=-ljpeg .IF "$(SYSTEM_DB)" == "YES" BERKELEYLIB=-l$(DB_LIB) commit cb2762360fc6edb6afe52759550979ce5068b9b0 Author: David Tardon <dtar...@redhat.com> Date: Fri Oct 26 15:33:26 2012 +0200 gbuildify zlib Change-Id: I702c044fdf510c67364f2fc32889ca394583edf6 diff --git a/Makefile.top b/Makefile.top index f289412..6df4094 100644 --- a/Makefile.top +++ b/Makefile.top @@ -203,6 +203,7 @@ xmlreader\ xmlscript\ xmlsecurity\ xsltml\ +zlib\ dmake_modules:=\ berkeleydb\ @@ -247,7 +248,6 @@ setup_native\ stlport\ sysui\ xpdf\ -zlib\ export gb_TAILBUILDTARGET=all slowcheck diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 83d90ad..e08beec 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -167,23 +167,46 @@ $(call gb_LinkTarget_add_libs,$(1),-lz) endef +# nothing on system +define gb_LinkTarget__use_zlib_x64 + +endef + else # !SYSTEM_ZLIB $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ zlib \ + zlib_x64 \ )) -define gb_LinkTarget__use_zlib +define gb_LinkTarget__use_zlib_multiarch +$(if $(2),,$(call gb_Output_error,gb_LinkTarget__use_zlib_multiarch needs two arguments)) + +$(call gb_LinkTarget_use_packages,$(1),\ + zlib_inc \ +) + $(call gb_LinkTarget_set_include,$(1),\ -I$(OUTDIR)/inc/external/zlib \ $$(INCLUDE) \ ) + $(call gb_LinkTarget_use_static_libraries,$(1),\ - zlib \ + $(2) \ ) endef +define gb_LinkTarget__use_zlib +$(call gb_LinkTarget__use_zlib_multiarch,$(1),zlib) + +endef + +define gb_LinkTarget__use_zlib_x64 +$(call gb_LinkTarget__use_zlib_multiarch,$(1),zlib_x64) + +endef + endif # SYSTEM_ZLIB diff --git a/config_host.mk.in b/config_host.mk.in index 1f9793f..fc348b3 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -705,3 +705,4 @@ export XSLTML_TARBALL=@XSLTML_TARBALL@ export XSLTPROC=@XSLTPROC@ export ZLIB_CFLAGS=@ZLIB_CFLAGS@ export ZLIB_LIBS=@ZLIB_LIBS@ +export ZLIB_TARBALL=@ZLIB_TARBALL@ diff --git a/configure.ac b/configure.ac index 5f5671b..0556a9a 100644 --- a/configure.ac +++ b/configure.ac @@ -6837,12 +6837,14 @@ else BUILD_TYPE="$BUILD_TYPE ZLIB" ZLIB_CFLAGS="-I${OUTDIR}/inc/external/zlib" ZLIB_LIBS="-L${OUTDIR}/lib -lz" + ZLIB_TARBALL="2ab442d169156f34c379c968f3f482dd-zlib-1.2.7.tar.bz2" fi AC_SUBST(ZLIB_CFLAGS) AC_SUBST(ZLIB_LIBS) AC_SUBST(SYSTEM_ZLIB) AC_SUBST([SYSTEM_MINIZIP]) AC_SUBST([MINGW_MINIZIP_DLL]) +AC_SUBST(ZLIB_TARBALL) dnl =================================================================== dnl Check for system jpeg diff --git a/zlib/ExternalPackage_zlib.mk b/zlib/ExternalPackage_zlib.mk new file mode 100644 index 0000000..15571a1 --- /dev/null +++ b/zlib/ExternalPackage_zlib.mk @@ -0,0 +1,17 @@ +# -*- 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_ExternalPackage_ExternalPackage,zlib_inc,zlib)) + +$(eval $(call gb_ExternalPackage_add_unpacked_files,zlib_inc,inc/external/zlib,\ + zconf.h \ + zlib.h \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/zlib/Makefile b/zlib/Makefile new file mode 100644 index 0000000..0997e62 --- /dev/null +++ b/zlib/Makefile @@ -0,0 +1,14 @@ +# -*- 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/. +# + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/zlib/Module_zlib.mk b/zlib/Module_zlib.mk new file mode 100644 index 0000000..446e07e --- /dev/null +++ b/zlib/Module_zlib.mk @@ -0,0 +1,28 @@ +# -*- 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/. +# + +ifneq ($(SYSTEM_ZLIB),YES) + +$(eval $(call gb_Module_Module,zlib)) + +$(eval $(call gb_Module_add_targets,zlib,\ + ExternalPackage_zlib \ + StaticLibrary_zlib \ + UnpackedTarball_zlib \ +)) + +ifeq ($(BUILD_X64),TRUE) +$(eval $(call gb_Module_add_targets,zlib,\ + StaticLibrary_zlib_x64 \ +)) +endif + +endif + +# vim: set noet sw=4 ts=4: diff --git a/zlib/StaticLibrary_zlib.mk b/zlib/StaticLibrary_zlib.mk new file mode 100644 index 0000000..69e7017 --- /dev/null +++ b/zlib/StaticLibrary_zlib.mk @@ -0,0 +1,28 @@ +# -*- 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,zlib)) + +$(eval $(call gb_StaticLibrary_use_unpacked,zlib,zlib)) + +$(eval $(call gb_StaticLibrary_set_warnings_not_errors,zlib)) + +$(eval $(call gb_StaticLibrary_add_generated_cobjects,zlib,\ + UnpackedTarball/zlib/adler32 \ + UnpackedTarball/zlib/compress \ + UnpackedTarball/zlib/crc32 \ + UnpackedTarball/zlib/deflate \ + UnpackedTarball/zlib/inffast \ + UnpackedTarball/zlib/inflate \ + UnpackedTarball/zlib/inftrees \ + UnpackedTarball/zlib/trees \ + UnpackedTarball/zlib/zutil \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/zlib/StaticLibrary_zlib_x64.mk b/zlib/StaticLibrary_zlib_x64.mk new file mode 100644 index 0000000..cd25005 --- /dev/null +++ b/zlib/StaticLibrary_zlib_x64.mk @@ -0,0 +1,35 @@ +# -*- 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,zlib_x64)) + +$(eval $(call gb_StaticLibrary_set_x64,zlib,YES)) + +$(eval $(call gb_StaticLibrary_use_unpacked,zlib_x64,zlib)) + +$(eval $(call gb_StaticLibrary_set_warnings_not_errors,zlib_x64)) + +$(eval $(call gb_StaticLibrary_set_include,zlib_x64,\ + -I$(call gb_UnpackedTarball_get_dir,zlib) \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_StaticLibrary_add_x64_generated_cobjects,zlib_x64,\ + UnpackedTarball/zlib/x64/adler32 \ + UnpackedTarball/zlib/x64/compress \ + UnpackedTarball/zlib/x64/crc32 \ + UnpackedTarball/zlib/x64/deflate \ + UnpackedTarball/zlib/x64/inffast \ + UnpackedTarball/zlib/x64/inflate \ + UnpackedTarball/zlib/x64/inftrees \ + UnpackedTarball/zlib/x64/trees \ + UnpackedTarball/zlib/x64/zutil \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/zlib/UnpackedTarball_zlib.mk b/zlib/UnpackedTarball_zlib.mk new file mode 100644 index 0000000..fa476b9 --- /dev/null +++ b/zlib/UnpackedTarball_zlib.mk @@ -0,0 +1,19 @@ +# -*- 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_UnpackedTarball_UnpackedTarball,zlib)) + +$(eval $(call gb_UnpackedTarball_set_tarball,zlib,$(ZLIB_TARBALL))) + +$(eval $(call gb_UnpackedTarball_set_post_action,zlib,\ + mkdir -p x64 && \ + cp $(addsuffix .c,adler32 compress crc32 deflate inffast inflate inftrees trees zutil) x64 \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/zlib/make_patched_header.pl b/zlib/make_patched_header.pl deleted file mode 100755 index 41dbdc5..0000000 --- a/zlib/make_patched_header.pl +++ /dev/null @@ -1,66 +0,0 @@ -: -eval 'exec perl -S $0 ${1+"$@"}' - if 0; -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -# -# make_patched_header - make patched header -# - -use strict; -use File::Basename; -use File::Path; -use Carp; - -my $patched_file = shift @ARGV; -$patched_file =~ s/\\/\//g; -my $module = shift @ARGV; -my $patch_dir = dirname($patched_file); -my $orig_file = $patched_file; -$orig_file =~ s/\/patched\//\//; - -if (!-f $orig_file) { carp("Cannot find file $orig_file\n"); }; -if (!-d $patch_dir) { - mkpath($patch_dir, 0, 0775); - if (!-d $patch_dir) {("mkdir: could not create directory $patch_dir\n"); }; -}; - -open(PATCHED_FILE, ">$patched_file") or carp("Cannot open file $patched_file\n"); -open(ORIG_FILE, "<$orig_file") or carp("Cannot open file $orig_file\n"); -foreach (<ORIG_FILE>) { - if (/#include\s*"(\w+\.h\w*)"/) { - my $include = $1; - s/#include "$include"/#include <$module\/$include>/g; - }; - print PATCHED_FILE $_; -}; -close PATCHED_FILE; -close ORIG_FILE; - -exit(0); - - diff --git a/zlib/makefile.mk b/zlib/makefile.mk deleted file mode 100644 index 7a677e5..0000000 --- a/zlib/makefile.mk +++ /dev/null @@ -1,73 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=. - -PRJNAME=zlib -TARGET=zlib - -.IF "$(GUI)" == "UNX" -.IF "$(SYSTEM_ZLIB)" == "YES" -all: - @echo "An already available installation of zlib should exist on your system." - @echo "Therefore the version provided here does not need to be built in addition." -.ENDIF -.ENDIF - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -TARFILE_NAME=zlib-1.2.7 -TARFILE_MD5=2ab442d169156f34c379c968f3f482dd - -PATCH_FILES=zlib-dmakebuild.patch -ADDITIONAL_FILES=makefile.mk - -#relative to CONFIGURE_DIR - -BUILD_DIR=$(CONFIGURE_DIR) -BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS) - -OUT2INC= \ - zlib.h \ - zconf.h - -PATCHED_HEADERS=$(INCCOM)$/patched$/zlib.h - -# --- Targets ------------------------------------------------------ - -.INCLUDE : set_ext.mk -.INCLUDE : target.mk -.INCLUDE : tg_ext.mk - -ALLTAR: $(PATCHED_HEADERS) - -$(PATCHED_HEADERS) : $(PACKAGE_DIR)$/$(PREDELIVER_FLAG_FILE) - @$(PERL) make_patched_header.pl $@ $(PRJNAME) diff --git a/zlib/prj/d.lst b/zlib/prj/d.lst index ef40caf..e69de29 100644 --- a/zlib/prj/d.lst +++ b/zlib/prj/d.lst @@ -1,11 +0,0 @@ -mkdir: %_DEST%\inc\external\zlib -mkdir: %_DEST%\lib\x64 - -..\%__SRC%\inc\patched\zlib.h %_DEST%\inc\external\zlib\zlib.h -..\%__SRC%\inc\zconf.h %_DEST%\inc\external\zlib\zconf.h - -..\%__SRC%\lib\libzlib.a %_DEST%\lib\libzlib.a -..\%__SRC%\slb\zlib.lib %_DEST%\lib\zlib.lib -..\%__SRC%\slb\zlib.lin %_DEST%\lib\zlib.lin -..\%__SRC%\slb\x64\zlib.lib %_DEST%\lib\x64\zlib.lib -..\%__SRC%\slb\x64\zlib.lin %_DEST%\lib\x64\zlib.lin diff --git a/zlib/prj/dmake b/zlib/prj/dmake deleted file mode 100644 index e69de29..0000000 diff --git a/zlib/zlib-dmakebuild.patch b/zlib/zlib-dmakebuild.patch deleted file mode 100644 index 7a3abb3..0000000 --- a/zlib/zlib-dmakebuild.patch +++ /dev/null @@ -1,68 +0,0 @@ ---- misc/zlib-1.2.7/makefile.mk Fri Mar 14 10:17:06 2008 -+++ misc/build/zlib-1.2.7/makefile.mk Fri Mar 14 10:16:56 2008 -@@ -1 +1,64 @@ --dummy -+#************************************************************************* -+# -+# Copyright according the GNU Public License. -+# -+#************************************************************************* -+ -+PRJ=..$/..$/..$/.. -+ -+PRJNAME=zlib -+TARGET=zlib -+LIBTARGET=NO -+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE -+UWINAPILIB= -+ -+# --- Settings ----------------------------------------------------- -+ -+.INCLUDE : settings.mk -+ -+# --- Files -------------------------------------------------------- -+ -+INCEXT=contrib$/minizip -+ -+SLOFILES= $(SLO)$/adler32.obj \ -+ $(SLO)$/compress.obj \ -+ $(SLO)$/deflate.obj \ -+ $(SLO)$/crc32.obj \ -+ $(SLO)$/inffast.obj \ -+ $(SLO)$/inflate.obj \ -+ $(SLO)$/inftrees.obj \ -+ $(SLO)$/trees.obj \ -+ $(SLO)$/zutil.obj -+ -+ -+LIB1TARGET=$(SLB)$/$(TARGET).lib -+LIB1ARCHIV=$(LB)$/lib$(TARGET).a -+LIB1OBJFILES=$(SLOFILES) -+ -+.IF "$(BUILD_X64)"!="" -+SLOFILES_X64= $(SLO_X64)$/adler32.obj \ -+ $(SLO_X64)$/compress.obj \ -+ $(SLO_X64)$/deflate.obj \ -+ $(SLO_X64)$/crc32.obj \ -+ $(SLO_X64)$/inffast.obj \ -+ $(SLO_X64)$/inflate.obj \ -+ $(SLO_X64)$/inftrees.obj \ -+ $(SLO_X64)$/trees.obj \ -+ $(SLO_X64)$/zutil.obj -+ -+LIB1TARGET_X64=$(SLB_X64)$/$(TARGET).lib -+LIB1OBJFILES_X64=$(SLOFILES_X64) -+.ENDIF # "$(BUILD_X64)"!="" -+ -+ -+# --- Targets ------------------------------------------------------ -+ -+$(MISC)$/%.c : contrib$/minizip$/%.c -+ @echo ------------------------------ -+ @echo Making: $@ -+ @$(COPY) $< $@ -+ -+.INCLUDE : set_wntx64.mk -+.INCLUDE : target.mk -+.INCLUDE : tg_wntx64.mk -+ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits