From 931d631cc21c2c2585878b721bbfd2b0dd06edee Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 29 Dec 2017 23:40:22 +0100 Subject: media-libs/libvisio: Drop 0.1.5 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- media-libs/libvisio/Manifest | 1 - .../files/libvisio-0.1.3-tests-without-tools.patch | 12 ----- .../libvisio/files/libvisio-0.1.5-fix-test.patch | 41 --------------- .../libvisio/files/libvisio-0.1.5-no-zlib.patch | 46 ----------------- media-libs/libvisio/libvisio-0.1.5-r1.ebuild | 59 ---------------------- 5 files changed, 159 deletions(-) delete mode 100644 media-libs/libvisio/files/libvisio-0.1.3-tests-without-tools.patch delete mode 100644 media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch delete mode 100644 media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch delete mode 100644 media-libs/libvisio/libvisio-0.1.5-r1.ebuild (limited to 'media-libs') diff --git a/media-libs/libvisio/Manifest b/media-libs/libvisio/Manifest index 758f7f31db97..e4d6b6ef69b2 100644 --- a/media-libs/libvisio/Manifest +++ b/media-libs/libvisio/Manifest @@ -1,2 +1 @@ -DIST libvisio-0.1.5.tar.xz 504196 BLAKE2B d5b02b9724e17e1a5b48eee750f6e1a50f8d0a5e74ac6cfd90ad5ae6ab4bc79d40718486c6164faa192ac0ce26c13d55918ff1c6f3c03a09b61399754c5920d0 SHA512 094ab546f650840d52fc34c1b105eff139d2f6e4d5cab7c9c99f8387ece0d0c6b02ec1376b3281d56a901bac016c2a024bb708c065b8b5d9404104e6494b5fab DIST libvisio-0.1.6.tar.xz 676396 BLAKE2B dbd96b64a3789e275a47fe59cd939620787937e31ee11b7af7977575c183ade233afdb952d4c2e362312ae400d23726cbd01e3ccb644c9a413abc84ddbe0f161 SHA512 58cee8cfe4205b2cad2f11dbe17882e57ebf0d10500116ca9d8d120e138f8eb0c65a5fea3bd7d2746bf8140377ee9deb34258597e028f9fdc8d21f270606cce1 diff --git a/media-libs/libvisio/files/libvisio-0.1.3-tests-without-tools.patch b/media-libs/libvisio/files/libvisio-0.1.3-tests-without-tools.patch deleted file mode 100644 index 78eb9fe66bc9..000000000000 --- a/media-libs/libvisio/files/libvisio-0.1.3-tests-without-tools.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/configure.ac 2015-07-25 09:29:53.000000000 +0200 -+++ b/configure.ac 2016-02-07 00:19:30.534383076 +0100 -@@ -317,6 +317,9 @@ - ) - AS_IF([test "x$enable_tests" = "xyes"], [ - PKG_CHECK_MODULES([CPPUNIT], [cppunit]) -+ PKG_CHECK_MODULES([REVENGE_STREAM],[ -+ librevenge-stream-0.0 -+ ]) - ], []) - AC_SUBST([CPPUNIT_CFLAGS]) - AC_SUBST([CPPUNIT_LIBS]) diff --git a/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch b/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch deleted file mode 100644 index 801421a689c0..000000000000 --- a/media-libs/libvisio/files/libvisio-0.1.5-fix-test.patch +++ /dev/null @@ -1,41 +0,0 @@ -From a97d30ad693374deab404ec31fe00665882cc949 Mon Sep 17 00:00:00 2001 -From: David Tardon -Date: Mon, 18 Jan 2016 13:53:19 +0100 -Subject: [PATCH] tdf#92396 test must be run in specific time zone - -Change-Id: Idc9d85ae8c5c1a6eccca7e830baa05a867ac4402 -Change-Id: I03b40e2746ad90f2c7cf09560c218aab2a18090d ---- - src/test/Makefile.am | 3 +++ - src/test/importtest.cpp | 4 ++-- - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/test/Makefile.am b/src/test/Makefile.am -index 59d3419..23049b5 100644 ---- a/src/test/Makefile.am -+++ b/src/test/Makefile.am -@@ -29,4 +29,7 @@ EXTRA_DIST = \ - data/dwg.vsdx \ - $(test_SOURCES) - -+# ImportTest::testVsdMetadataTitleUtf8 checks formatted date string -+AM_TESTS_ENVIRONMENT = TZ=UTC; export TZ; -+ - TESTS = test -diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp -index e05b3c1..32fb185 100644 ---- a/src/test/importtest.cpp -+++ b/src/test/importtest.cpp -@@ -242,8 +242,8 @@ void ImportTest::testVsdMetadataTitleUtf8() - // Test the case when the string is UTF-8 encoded already in the file. - assertXPath(m_doc, "/document/setDocumentMetaData", "title", "mytitle\xC3\xA9\xC3\xA1\xC5\x91\xC5\xB1"); - // Test and . -- assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T09:24:56Z"); -- assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T09:24:56Z"); -+ assertXPath(m_doc, "/document/setDocumentMetaData", "creation-date", "2014-11-26T08:24:56Z"); -+ assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-26T08:24:56Z"); - } - - void ImportTest::testVsdUserDefinedMetadata() --- -2.1.4 diff --git a/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch b/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch deleted file mode 100644 index c119ce619da5..000000000000 --- a/media-libs/libvisio/files/libvisio-0.1.5-no-zlib.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 8bfb5e3c19ab4e8aea09132881963facb76cfcda Mon Sep 17 00:00:00 2001 -From: David Tardon -Date: Thu, 23 Feb 2017 14:30:15 +0100 -Subject: [PATCH] zlib is not needed since the move to librevenge - -Change-Id: Ib83663e9cc7a808db966cd8dfb3fbcd1ee195da6 ---- - configure.ac | 12 ------------ - libvisio.pc.in | 2 +- - 2 files changed, 1 insertion(+), 13 deletions(-) - -diff --git a/configure.ac b/configure.ac -index a11115b..2aa8ece 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -76,18 +76,6 @@ PKG_CHECK_MODULES([ICU],[icu-i18n],[ - AC_SUBST(ICU_CFLAGS) - AC_SUBST(ICU_LIBS) - --# ========= --# Find zlib --# ========= --PKG_CHECK_MODULES([ZLIB],[zlib],[],[ -- AC_CHECK_HEADER(zlib.h, [ZLIB_CFLAGS=], -- [AC_MSG_ERROR(zlib.h not found. install zlib)], []) -- AC_CHECK_LIB(z, inflate, [ ZLIB_LIBS=-lz ], -- [AC_MSG_ERROR(zlib not found or functional)], []) --]) --AC_SUBST(ZLIB_CFLAGS) --AC_SUBST(ZLIB_LIBS) -- - # =========================== - # Find required boost headers - # =========================== -diff --git a/libvisio.pc.in b/libvisio.pc.in -index ce68e6f..638930b 100644 ---- a/libvisio.pc.in -+++ b/libvisio.pc.in -@@ -10,4 +10,4 @@ Requires: librevenge-0.0 - Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ - Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ - --Requires.private: icu-i18n libxml-2.0 zlib -+Requires.private: icu-i18n libxml-2.0 --- -2.1.4 diff --git a/media-libs/libvisio/libvisio-0.1.5-r1.ebuild b/media-libs/libvisio/libvisio-0.1.5-r1.ebuild deleted file mode 100644 index 549bc409b174..000000000000 --- a/media-libs/libvisio/libvisio-0.1.5-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git" -inherit autotools -[[ ${PV} == 9999 ]] && inherit git-r3 - -DESCRIPTION="Library parsing the visio documents" -HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" -[[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz" - -LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" -SLOT="0" -[[ ${PV} == 9999 ]] || \ -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86" -IUSE="doc static-libs test tools" - -RDEPEND=" - dev-libs/icu:= - dev-libs/librevenge - dev-libs/libxml2 -" -DEPEND="${RDEPEND} - dev-lang/perl - dev-libs/boost - dev-util/gperf - sys-devel/libtool - virtual/pkgconfig - doc? ( app-doc/doxygen ) - test? ( dev-util/cppunit ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.1.3-tests-without-tools.patch" - "${FILESDIR}/${P}-fix-test.patch" - "${FILESDIR}/${P}-no-zlib.patch" -) - -src_prepare() { - default - [[ -d m4 ]] || mkdir "m4" - eautoreconf -} - -src_configure() { - econf \ - --disable-werror \ - $(use_with doc docs) \ - $(use_enable static-libs static) \ - $(use_enable test tests) \ - $(use_enable tools) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad