diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-10-18 22:17:08 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-10-19 07:37:53 +0000 |
commit | 5c077d3b85f0fab70bc6e78fbc3c307e81f13ad7 (patch) | |
tree | 0180d89ebf6ced3e49eb8c9d63c1dc71acc8c4f1 /libvisio | |
parent | 392726f04252fa3802ade7c31ca65fac57896861 (diff) |
fdo#70393: move libvisio to a subdir of external
Change-Id: I8887369a0d355e803e31c52d7358c88d133cf89b
Reviewed-on: https://gerrit.libreoffice.org/6335
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'libvisio')
-rw-r--r-- | libvisio/0001-fdo-70480-do-not-crash-reading-malformed-zip.patch | 26 | ||||
-rw-r--r-- | libvisio/ExternalProject_libvisio.mk | 45 | ||||
-rw-r--r-- | libvisio/Makefile | 7 | ||||
-rw-r--r-- | libvisio/Module_libvisio.mk | 21 | ||||
-rw-r--r-- | libvisio/README | 4 | ||||
-rw-r--r-- | libvisio/UnpackedTarball_libvisio.mk | 20 |
6 files changed, 0 insertions, 123 deletions
diff --git a/libvisio/0001-fdo-70480-do-not-crash-reading-malformed-zip.patch b/libvisio/0001-fdo-70480-do-not-crash-reading-malformed-zip.patch deleted file mode 100644 index 6c7135f36ea4..000000000000 --- a/libvisio/0001-fdo-70480-do-not-crash-reading-malformed-zip.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 410f564d9a728b983cf11ba9b3eadfc7d59c187c Mon Sep 17 00:00:00 2001 -From: David Tardon <dtardon@redhat.com> -Date: Thu, 17 Oct 2013 10:35:34 +0200 -Subject: [PATCH] fdo#70480 do not crash reading malformed zip - -Change-Id: Ia37e8be5172a49669cb9f7271c5401ca88f39072 ---- - src/lib/VSDZipStream.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/lib/VSDZipStream.cpp b/src/lib/VSDZipStream.cpp -index 3b3e08a..1c12d56 100644 ---- a/src/lib/VSDZipStream.cpp -+++ b/src/lib/VSDZipStream.cpp -@@ -203,6 +203,8 @@ bool libvisio::VSDZipStreamImpl::isZipStream() - return false; - if (!readCentralDirectory(end)) - return false; -+ if (m_cdir.empty()) -+ return false; - CentralDirectoryEntry entry = m_cdir.begin()->second; - m_input->seek(entry.offset, WPX_SEEK_SET); - LocalFileHeader header; --- -1.8.3.1 - diff --git a/libvisio/ExternalProject_libvisio.mk b/libvisio/ExternalProject_libvisio.mk deleted file mode 100644 index ea5286bffa6c..000000000000 --- a/libvisio/ExternalProject_libvisio.mk +++ /dev/null @@ -1,45 +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_ExternalProject_ExternalProject,libvisio)) - -$(eval $(call gb_ExternalProject_use_autoconf,libvisio,build)) - -$(eval $(call gb_ExternalProject_register_targets,libvisio,\ - build \ -)) - -$(eval $(call gb_ExternalProject_use_externals,libvisio,\ - boost_headers \ - icu \ - wpd \ - wpg \ - libxml2 \ - zlib \ -)) - -$(call gb_ExternalProject_get_state_target,libvisio,build) : - $(call gb_ExternalProject_run,build,\ - export PKG_CONFIG="" \ - && ./configure \ - --with-pic \ - --enable-static \ - --disable-shared \ - --without-docs \ - --disable-debug \ - --disable-werror \ - CXXFLAGS="$(if $(filter NO,$(SYSTEM_BOOST)),-I$(call gb_UnpackedTarball_get_dir,boost),$(BOOST_CPPFLAGS)) \ - $(if $(filter NO,$(SYSTEM_LIBXML)),-I$(call gb_UnpackedTarball_get_dir,xml2)/include)" \ - $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ - && (cd $(EXTERNAL_WORKDIR)/src/lib && \ - $(if $(VERBOSE)$(verbose),V=1) \ - $(MAKE)) \ - ) - -# vim: set noet sw=4 ts=4: diff --git a/libvisio/Makefile b/libvisio/Makefile deleted file mode 100644 index ccb1c85a04da..000000000000 --- a/libvisio/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- - -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/libvisio/Module_libvisio.mk b/libvisio/Module_libvisio.mk deleted file mode 100644 index 9a8159f08489..000000000000 --- a/libvisio/Module_libvisio.mk +++ /dev/null @@ -1,21 +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_Module_Module,libvisio)) - -ifeq ($(SYSTEM_VISIO),NO) - -$(eval $(call gb_Module_add_targets,libvisio,\ - ExternalProject_libvisio \ - UnpackedTarball_libvisio \ -)) - -endif - -# vim: set noet sw=4 ts=4: diff --git a/libvisio/README b/libvisio/README deleted file mode 100644 index 216fee969d27..000000000000 --- a/libvisio/README +++ /dev/null @@ -1,4 +0,0 @@ -Libvisio is library providing ability to interpret and import visio diagrams into various applications. - -See also: -[http://www.freedesktop.org/wiki/Software/libvisio] diff --git a/libvisio/UnpackedTarball_libvisio.mk b/libvisio/UnpackedTarball_libvisio.mk deleted file mode 100644 index c2a2000a77b6..000000000000 --- a/libvisio/UnpackedTarball_libvisio.mk +++ /dev/null @@ -1,20 +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_UnpackedTarball_UnpackedTarball,libvisio)) - -$(eval $(call gb_UnpackedTarball_set_tarball,libvisio,$(VISIO_TARBALL))) - -$(eval $(call gb_UnpackedTarball_set_patchlevel,libvisio,1)) - -$(eval $(call gb_UnpackedTarball_add_patches,libvisio,\ - libvisio/0001-fdo-70480-do-not-crash-reading-malformed-zip.patch \ -)) - -# vim: set noet sw=4 ts=4: |