libetonyek-0.1.12

This commit is contained in:
uglyside
2025-02-08 22:32:12 +03:00
parent 17eac5eb83
commit 3bd54e904f
4 changed files with 38 additions and 76 deletions
+14 -14
View File
@@ -1,33 +1,33 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get from pisi.actionsapi import get
i = ''.join([
' --prefix=/usr',
' --disable-werror',
' --disable-static',
' --without-docs',
' --with-mdds=2.1 '
])
def setup(): def setup():
# pisitools.cxxflags.add("-std=gnu++11") autotools.configure(i)
shelltools.system("./autogen.sh")
autotools.autoreconf("-fi")
autotools.configure("--prefix=/usr \
--disable-werror \
--without-docs \
--enable-static=no \
--with-mdds=2.1")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build(): def build():
autotools.make() autotools.make()
#def check(): def check():
#autotools.make("check") autotools.make("check")
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "FEATURES") pisitools.dodoc("AUTHORS", "COPYING")
@@ -1,33 +0,0 @@
--- 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])
@@ -1,11 +0,0 @@
diff -Nru libetonyek-0.1.9.orig/src/lib/NUM3Parser.cpp libetonyek-0.1.9/src/lib/NUM3Parser.cpp
--- libetonyek-0.1.9.orig/src/lib/NUM3Parser.cpp 2018-12-28 20:45:35.000000000 +0300
+++ libetonyek-0.1.9/src/lib/NUM3Parser.cpp 2021-03-10 19:02:13.203978181 +0300
@@ -8,6 +8,7 @@
*/
#include <functional>
+#include <algorithm>
#include "NUM3Parser.h"
+24 -18
View File
@@ -1,33 +1,33 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>libetonyek</Name> <Name>libetonyek</Name>
<Homepage>http://www.freedesktop.org/wiki/Software/libetonyek/</Homepage> <Homepage>https://wiki.documentfoundation.org/DLP/Libraries/libetonyek</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<License>MPL-1.0</License> <License>MPL-2</License>
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>A library for import of Apple Keynote presentations</Summary> <Summary>The Apple iWork documents toolchain.</Summary>
<Description>Libetonyek is library providing ability to interpret and import Apple Keynote presentations into various applications. You can find it being used in libreoffice.</Description> <Description>libetonyek library and a set of tools for reading and converting Apple iWork documents (Keynote, Numbers and Pages).</Description>
<Archive sha1sum="45e99328babedfa5514e30573c49a1698c5b5b2a" type="tarxz">https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.12.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>doxygen</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>cppunit-devel</Dependency>
<Dependency>librevenge-devel</Dependency>
<Dependency>glm</Dependency> <Dependency>glm</Dependency>
<Dependency>gperf</Dependency> <Dependency>gperf</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>mdds-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>cppunit-devel</Dependency>
<Dependency>librevenge-devel</Dependency>
<Dependency>liblangtag-devel</Dependency> <Dependency>liblangtag-devel</Dependency>
<Dependency versionFrom="2.0.1">mdds-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Archive sha1sum="d0dc3fac41b56edaf3ac528ec274aa07357f989b" type="tarxz">https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.10.tar.xz</Archive> <Patches>
<!-- <Patches> <!-- <Patch level="1"></Patch> -->
<Patch level="1">libetonyek-build-fix.patch</Patch> </Patches>
</Patches>-->
</Source> </Source>
<Package> <Package>
@@ -57,13 +57,19 @@
<Dependency release="current">libetonyek</Dependency> <Dependency release="current">libetonyek</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="10">
<Date>2025-02-09</Date>
<Version>0.1.12</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="9"> <Update release="9">
<Date>2023-10-29</Date> <Date>2023-10-29</Date>
<Version>0.1.10</Version> <Version>0.1.10</Version>