From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-text/libetonyek/Manifest | 8 +++ .../files/libetonyek-0.1.6-drop-test.patch | 36 ++++++++++++ .../files/libetonyek-0.1.6-mdds-1.2.patch | 33 +++++++++++ app-text/libetonyek/libetonyek-0.1.6.ebuild | 67 ++++++++++++++++++++++ app-text/libetonyek/libetonyek-9999.ebuild | 62 ++++++++++++++++++++ app-text/libetonyek/metadata.xml | 8 +++ 6 files changed, 214 insertions(+) create mode 100644 app-text/libetonyek/Manifest create mode 100644 app-text/libetonyek/files/libetonyek-0.1.6-drop-test.patch create mode 100644 app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch create mode 100644 app-text/libetonyek/libetonyek-0.1.6.ebuild create mode 100644 app-text/libetonyek/libetonyek-9999.ebuild create mode 100644 app-text/libetonyek/metadata.xml (limited to 'app-text/libetonyek') diff --git a/app-text/libetonyek/Manifest b/app-text/libetonyek/Manifest new file mode 100644 index 000000000000..ce8582963e0f --- /dev/null +++ b/app-text/libetonyek/Manifest @@ -0,0 +1,8 @@ +AUX libetonyek-0.1.6-drop-test.patch 1105 SHA256 050d1c99de0f5564ef8f05fe7e50bb1fce99b79ad3cb90e8da4777246967e099 SHA512 a4d53634fe5fea85120773b609aa901f164a3a93a0ead44f25fbde433470c22a6956744a3b35683bacdf1d55f99f63da47a0dcc39c78f02d537eb8a4883cec5e WHIRLPOOL c37d20925d1c149520fe3e0ca0b7389b89b775ae1d2fac28050881968ed747f77935d23649bb5c7dc080cf86f26a95f57c21e25d1dbf02834ed418bc73e46187 +AUX libetonyek-0.1.6-mdds-1.2.patch 1170 SHA256 d2956ab771787d88bec86221fa2fddb5219cb9ac1d64d82711bccc5b33abba8b SHA512 4432fda977bbb0d4b1a5e163d4ff18372717aa93a12775117880b04daeb695e64ec69d3e577caef09fdeb133237a868c8afaece9b60fb4511efb55032469137f WHIRLPOOL 5919d6e09a8294b8f5afc2ba8838cf08d32a27291f4f4bf33778839c8e81d46040090da5060940f3384e6652d06306cd5ebabae4529a28440653c29ea3e8d8a0 +DIST libetonyek-0.1.6.tar.xz 1243364 SHA256 df54271492070fbcc6aad9f81ca89658b25dd106cc4ab6b04b067b7a43dcc078 SHA512 10ae0403d98f33b27be4c3c905dec3df48cc01ce438f8760298edeadb76dd74da997edbd7dc03635fbc168b318bfe6e130f2306f495dfbf4135dd6dfcccabb4e WHIRLPOOL 932704f1d8bb1269e6be8e3fd7bd64af01ba0f098272befc747da9a4bd225bb201542bebf31d6e6338e613835fca4d7c6e2c1454df4ed764af30459393b6d73b +EBUILD libetonyek-0.1.6.ebuild 1505 SHA256 5d442a601cf146b06ec3b4e3e2af63db39b184f7ca884254bf117349201e651d SHA512 2576240fc405e4ab26bf2c80c5dca3ea3723010f5a9b9052aea06f12c6073894dc57522432fa3f540379a89e267f8ebd7af6d41d3892ea0629a63691b404e60d WHIRLPOOL 8a05d9fec7ea894765218e711a8af2628078d4b061a3ee1d7995648d7bee83a1177adfd24f581a9595eb82f6fb22af74ca75993a10641d09cfdd568369a43ff8 +EBUILD libetonyek-9999.ebuild 1406 SHA256 2ea7acbaa598a2b9b0d311c21263bc9ffd01468f82f9a7321eef4c68f6241bd1 SHA512 a7f170d0b41c96cb16689685875b41770be1e0017b4b2016dce4f3b80a2ab82cd019cda84837a9095aac89f9a5f86f558fc274f2c19b0f84fe554fb83d241d07 WHIRLPOOL 9f1f3929abdae8eb93a1c25fac474242f5b427bbd5db461f7e07280cd40b6c5d42500e7d6960608f6998883910ea30ac2cabc115cb3b2cc5e71c69aeed4a65f4 +MISC ChangeLog 6189 SHA256 9a127d40a3e9436851b5482fcdd712b137235123376ec7675a4307d8af8c1733 SHA512 1ddb61e03f4cb16a98380acab3f8523afb441641fea1e1b7987fe3eee8a864a34d06ab973ab37ddd86b4932e2ddcc9eb8cf0acf0c7cee683ec43dcf28efaf8aa WHIRLPOOL 501df2826e1bde3b795285bbca998143ab678f74ca1d924a57067dcb2dca93dd216acad22869e34a79a470bdc25bc859eefc974687aa59d31df98b8684457458 +MISC ChangeLog-2015 2369 SHA256 9a4563d8beab7e18e288e97e32a6cee1beadba719cc7a450f750e447e9f89b8f SHA512 17f6d0d1ab4b174cd24273c924e07440435e717aabd50a35a1e06bbfbef49a50ccea1eb727922e3ea8bbd5969d74ed4b3adccef979a9a6ec57f8e13b1f440d34 WHIRLPOOL 56afc7b2322bd406f85adc3ec4725f647034724a66a997fa2904fd15779c4748c305ce7562296a1c7e1b3fb976196b543f7028f9416319dc40fed79709fa1c69 +MISC metadata.xml 255 SHA256 34d028c790cfe86c47c5c3dcf8655fcefc3e23ff52fed38a400ce42d678c8c5e SHA512 ac646e8ac676faf0aac283e4be31c5f2b29e98ccf07327073ed05e688ce696caf639bdfea63e4aed141a90e84c0a86892bc717a52b95cdf1739aaa15240013c3 WHIRLPOOL 87f7199996948fe95e5417f8da0c4c90cd51a68f246ac8ae87a2e2a31c11c709f220d664eb893b34692577415e5f5eb351dd7e310dbc59f508fa40c7edb8ceeb diff --git a/app-text/libetonyek/files/libetonyek-0.1.6-drop-test.patch b/app-text/libetonyek/files/libetonyek-0.1.6-drop-test.patch new file mode 100644 index 000000000000..a868f797484d --- /dev/null +++ b/app-text/libetonyek/files/libetonyek-0.1.6-drop-test.patch @@ -0,0 +1,36 @@ +From 1a20d8ece2ea3e8aa1d319cd88e8a6aa637982f2 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Fri, 30 Sep 2016 09:57:15 +0200 +Subject: [PATCH] drop test that violates Unicode tr#35 + +(and therefore fails with latest liblangtag) + +Change-Id: I0e06c6c4e8bcf999cf5559d6287e77ae97e555d8 +--- + src/test/IWORKLanguageManagerTest.cpp | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/src/test/IWORKLanguageManagerTest.cpp b/src/test/IWORKLanguageManagerTest.cpp +index 8fca0a6..e663bd2 100644 +--- a/src/test/IWORKLanguageManagerTest.cpp ++++ b/src/test/IWORKLanguageManagerTest.cpp +@@ -104,16 +104,6 @@ void IWORKLanguageManagerTest::testTagToProps() + } + + { +- const string tag(mgr.addTag("ccc")); +- CPPUNIT_ASSERT(!tag.empty()); +- RVNGPropertyList props; +- mgr.writeProperties(tag, props); +- assertProperty("unknown lang", props, "fo:language", "ccc"); +- CPPUNIT_ASSERT(!props["fo:country"]); +- CPPUNIT_ASSERT(!props["fo:script"]); +- } +- +- { + // invalid tag + const string tag(mgr.addTag("13c")); + CPPUNIT_ASSERT(tag.empty()); +-- +1.7.9.5 + diff --git a/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch b/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch new file mode 100644 index 000000000000..7a3f22e94c2f --- /dev/null +++ b/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch @@ -0,0 +1,33 @@ +--- libetonyek-0.1.6/configure.ac ++++ libetonyek-0.1.6/configure.ac +@@ -24,8 +24,8 @@ AC_LANG([C++]) + # Configure options + # ================= + AC_ARG_WITH([mdds], +- AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]), +- [], [with_mdds="1.0"]) ++ AS_HELP_STRING([--with-mdds=1.2|0.x], [Specify which version of mdds to use (1.2 is the default)]), ++ [], [with_mdds="1.2"]) + + # =========================== + # Find required base packages +@@ -47,7 +47,7 @@ AC_PROG_SED + + AM_MISSING_PROG([GPERF], [gperf]) + +-AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])]) ++AS_IF([test "$with_mdds" != "0.x"], [AX_CXX_COMPILE_STDCXX_11([noext])]) + + # =============== + # Find librevenge +@@ -138,8 +138,8 @@ AC_SUBST([GLM_CFLAGS]) + # ========= + # Find mdds + # ========= +-AS_IF([test "$with_mdds" = "1.0"], [ +- PKG_CHECK_MODULES([MDDS], [mdds-1.0]) ++AS_IF([test "$with_mdds" != "0.x"], [ ++ PKG_CHECK_MODULES([MDDS], [mdds-][$with_mdds]) + ], [ + PKG_CHECK_MODULES([MDDS], [mdds]) + AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type]) diff --git a/app-text/libetonyek/libetonyek-0.1.6.ebuild b/app-text/libetonyek/libetonyek-0.1.6.ebuild new file mode 100644 index 000000000000..e73685fed275 --- /dev/null +++ b/app-text/libetonyek/libetonyek-0.1.6.ebuild @@ -0,0 +1,67 @@ +# 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/libetonyek.git" +inherit autotools +[[ ${PV} == 9999 ]] && inherit git-r3 + +DESCRIPTION="Library parsing Apple Keynote presentations" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" +[[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +[[ ${PV} == 9999 ]] || \ +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="doc static-libs test" + +RDEPEND=" + >=app-text/liblangtag-0.5 + dev-libs/librevenge + dev-libs/libxml2 + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + >=dev-util/mdds-1.2.0:1 + media-libs/glm + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" + +PATCHES=( + "${FILESDIR}/${P}-mdds-1.2.patch" # patch taken from Debian + "${FILESDIR}/${P}-drop-test.patch" # bug 595022 +) + +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] || { + [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } + then + eerror "Compilation with gcc older than 4.8 is not supported" + die "Too old gcc found." + fi +} + +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) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild new file mode 100644 index 000000000000..26e021ff6f50 --- /dev/null +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -0,0 +1,62 @@ +# 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/libetonyek.git" +[[ ${PV} == 9999 ]] && inherit autotools git-r3 + +DESCRIPTION="Library parsing Apple Keynote presentations" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" +[[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +[[ ${PV} == 9999 ]] || \ +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc static-libs test" + +RDEPEND=" + app-text/liblangtag + dev-libs/librevenge + dev-libs/libxml2 + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + >=dev-util/mdds-1.2.2:1 + media-libs/glm + sys-devel/libtool + virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) +" + +pkg_pretend() { + if [[ $(gcc-major-version) -lt 4 ]] || { + [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } + then + eerror "Compilation with gcc older than 4.8 is not supported" + die "Too old gcc found." + fi +} + +src_prepare() { + default + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-werror \ + $(use_with doc docs) \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + --with-mdds=1.2 +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/app-text/libetonyek/metadata.xml b/app-text/libetonyek/metadata.xml new file mode 100644 index 000000000000..13ce236ee519 --- /dev/null +++ b/app-text/libetonyek/metadata.xml @@ -0,0 +1,8 @@ + + + + + office@gentoo.org + Gentoo Office project + + -- cgit v1.2.3