add file and index

This commit is contained in:
Erkan IŞIK
2020-04-29 02:03:57 +03:00
parent ccd58d69a6
commit d5f6bbd4d8
18 changed files with 244196 additions and 243407 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# autotools.autoreconf("-vif")
autotools.configure("--disable-static --enable-sdl --with-zlib")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Extract and install shipped man pages
#shelltools.system("tar xvf docs/zziplib-manpages.tar")
for manp in shelltools.ls("man3"):
pisitools.doman("man3/%s" % manp)
pisitools.dohtml("docs/*.htm*")
pisitools.dodoc("ChangeLog", "COPYING.LIB", "README", "TODO", "docs/COPYING*", "docs/README.SDL")
@@ -0,0 +1,15 @@
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
@@ -0,0 +1,42 @@
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 */
+101
View File
@@ -0,0 +1,101 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zziplib</Name>
<Homepage>http://zziplib.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<License>MPL-1.1</License>
<License>ZLIB</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>libZ-based ZIP-access Library</Summary>
<Description>
zziplib provides read access to zipped files in a zip-archive, using compression based solely on free algorithms provided by zlib.
</Description>
<Archive sha1sum="147ab9bef172f2b41544adfd19daa506256d83b7" type="tarbz2">https://sourceforge.net/projects/zziplib/files/zziplib13/0.13.68/zziplib-0.13.68.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libsdl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
<Patches>
<!--
<Patch level="1">dont-build-docs.patch</Patch>
<Patch level="1">zziplib-0.13.59-multilib.patch</Patch>
-->
</Patches>
</Source>
<Package>
<Name>zziplib</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>zziplib-devel</Name>
<Summary>Development files for zziplib</Summary>
<RuntimeDependencies>
<Dependency release="current">zziplib</Dependency>
<Dependency>libsdl-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</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>
</Files>
</Package>
<History>
<Update release="4">
<Date>2019-10-31</Date>
<Version>0.13.68</Version>
<Comment>Ver. bump</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="3">
<Date>2016-04-04</Date>
<Version>0.13.62</Version>
<Comment>Rebuilt with docker</Comment>
<Name>İbrahim KARAGÜZEL</Name>
<Email>karaguzelibrahim@gmail.com</Email>
</Update>
<Update release="2">
<Date>2013-01-16</Date>
<Version>0.13.62</Version>
<Comment>Rebuild for 1.0</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-03</Date>
<Version>0.13.62</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>zziplib</Name>
<Summary xml:lang="tr">libZ tabanlı ZIP erişim kitaplığı</Summary>
<Description xml:lang="tr">zziplib zip arşivindeki sıkıştırılmış dosyalara, zlib tarafından sunulan özgür algoritmalarla erişim sağlayan bir kitaplıktır.</Description>
</Source>
<Package>
<Name>zziplib-devel</Name>
<Summary xml:lang="tr">zziplib için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>zziplib-docs</Name>
<Summary xml:lang="tr">zziplib için belgelendirme dosyaları</Summary>
</Package>
</PISI>