Skip to content

Commit 8bfb5e3

Browse files
committed
zlib is not needed since the move to librevenge
Change-Id: Ib83663e9cc7a808db966cd8dfb3fbcd1ee195da6
1 parent 3f2307f commit 8bfb5e3

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
libvisio is a library and a set of tools for reading and converting MS
22
Visio diagrams.
33

4-
libvisio requires boost, gperf, icu, librevenge, libxml2, perl and zlib
4+
libvisio requires boost, gperf, icu, librevenge, libxml2 and perl
55
to build. Most up to date code is available from Git repository at
66
libreoffice.org (https://gerrit.libreoffice.org/gitweb?p=libvisio.git)
77
or the mirror at freedesktop.org

configure.ac

-12
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,6 @@ PKG_CHECK_MODULES([ICU],[icu-i18n],[
7676
AC_SUBST(ICU_CFLAGS)
7777
AC_SUBST(ICU_LIBS)
7878

79-
# =========
80-
# Find zlib
81-
# =========
82-
PKG_CHECK_MODULES([ZLIB],[zlib],[],[
83-
AC_CHECK_HEADER(zlib.h, [ZLIB_CFLAGS=],
84-
[AC_MSG_ERROR(zlib.h not found. install zlib)], [])
85-
AC_CHECK_LIB(z, inflate, [ ZLIB_LIBS=-lz ],
86-
[AC_MSG_ERROR(zlib not found or functional)], [])
87-
])
88-
AC_SUBST(ZLIB_CFLAGS)
89-
AC_SUBST(ZLIB_LIBS)
90-
9179
# ===========================
9280
# Find required boost headers
9381
# ===========================

libvisio.pc.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Requires: librevenge-0.0
1010
Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@
1111
Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@
1212

13-
Requires.private: icu-i18n libxml-2.0 zlib
13+
Requires.private: icu-i18n libxml-2.0

0 commit comments

Comments
 (0)