zziplib version bump.

This commit is contained in:
4fury-c3440d8
2021-01-22 08:51:34 +00:00
parent e59a0877bd
commit 3f173c0e1f
4 changed files with 25 additions and 83 deletions
+8 -8
View File
@@ -11,21 +11,21 @@ from pisi.actionsapi import get
shelltools.export("JOBS", get.makeJOBS().replace("-j5", "-j1"))
j = ''.join([
'-DCMAKE_BUILD_TYPE=Release ',
'-DCMAKE_INSTALL_LIBDIR=lib ',
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_LIBDIR=lib -L", sourceDir = '..')
cmaketools.configure("%s -G Ninja -L" % j, sourceDir = '..')
def build():
shelltools.cd("build")
cmaketools.make()
cmaketools.make("docs")
shelltools.system("ninja -C build")
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.system("DESTDIR=%s ninja -C build install" % get.installDIR())
pisitools.dohtml("docs/*.htm*")
shelltools.cd("..")
pisitools.dodoc("ChangeLog", "COPYING.LIB", "README", "TODO", "docs/COPYING*", "docs/README.SDL")
@@ -1,15 +0,0 @@
Index: zziplib-0.13.59/Makefile.in
===================================================================
--- zziplib-0.13.59.orig/Makefile.in
+++ zziplib-0.13.59/Makefile.in
@@ -279,8 +279,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign dist-bzip
ACLOCAL_AMFLAGS = -I m4
WANT_AUTOMAKE = 1.7
WANT_AUTOCONF = 2.57
-DIST_SUBDIRS = zzip zzipwrap bins test docs SDL
-SUBDIRS = zzip zzipwrap bins test docs @SDL@
+DIST_SUBDIRS = zzip zzipwrap bins test SDL
+SUBDIRS = zzip zzipwrap bins test @SDL@
OSC_ROOT = /my/own/osc
OSC_SRCDIR = $(OSC_ROOT)
OSC_PROJECT = home:guidod:zziplib-13
@@ -1,42 +0,0 @@
diff -Naupr zziplib-0.13.59.orig/zzip/_config.h zziplib-0.13.59/zzip/_config.h
--- zziplib-0.13.59.orig/zzip/_config.h 2010-02-14 22:29:34.000000000 +0100
+++ zziplib-0.13.59/zzip/_config.h 2010-12-04 16:22:19.809534085 +0100
@@ -133,7 +133,11 @@
/* whether the system defaults to 32bit off_t but can do 64bit when requested
*/
-/* #undef LARGEFILE_SENSITIVE */
+#if __WORDSIZE == 32
+#ifndef ZZIP_LARGEFILE_SENSITIVE
+#define ZZIP_LARGEFILE_SENSITIVE 1
+#endif
+#endif
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
@@ -178,8 +181,12 @@
/* The number of bytes in type long */
#ifndef ZZIP_SIZEOF_LONG
+#if __WORDSIZE == 32
+#define ZZIP_SIZEOF_LONG 4
+#elif __WORDSIZE == 64
#define ZZIP_SIZEOF_LONG 8
#endif
+#endif
/* The number of bytes in type short */
#ifndef ZZIP_SIZEOF_SHORT
@@ -209,7 +216,11 @@
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
-/* #undef _FILE_OFFSET_BITS */
+#if __WORDSIZE == 32
+#ifndef ZZIP__FILE_OFFSET_BITS
+#define ZZIP__FILE_OFFSET_BITS 64
+#endif
+#endif
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
+17 -18
View File
@@ -3,7 +3,7 @@
<PISI>
<Source>
<Name>zziplib</Name>
<Homepage>http://zziplib.sourceforge.net/</Homepage>
<Homepage>https://github.com/gdraheim/zziplib</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
@@ -18,22 +18,24 @@
<Description>
The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access.
</Description>
<Archive sha1sum="c03f539c8a6fe5f1b39db4b5d4646d869f78bdd6" type="targz">
https://github.com/gdraheim/zziplib/archive/v0.13.71.tar.gz
<Archive sha1sum="330cab1c477196d2d26d30d5f4cb031647fd4597" type="targz">
https://github.com/gdraheim/zziplib/archive/v0.13.72.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>xmlto</Dependency>
<Dependency>ninja</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>aalib-devel</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>docbook-xml</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>python3-six</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libsdl2-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">dont-build-docs.patch</Patch> -->
<!-- <Patch level="1">missing.patch</Patch> -->
</Patches>
</Source>
@@ -45,8 +47,8 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/aclocal</Path>
<Path fileType="man">/usr/share/man/man3</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
@@ -55,27 +57,24 @@
<Summary>Development files for zziplib</Summary>
<RuntimeDependencies>
<Dependency release="current">zziplib</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>libsdl2-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>zziplib-docs</Name>
<Summary>Documentation for zziplib</Summary>
<RuntimeDependencies>
<Dependency release="current">zziplib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2021-01-21</Date>
<Version>0.13.72</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="5">
<Date>2020-06-23</Date>
<Version>0.13.71</Version>