commit | c1add58d753f10b4381823c88d1c431ffd4e97ae | [log] [tgz] |
---|---|---|
author | Pavel Raiskup <praiskup@redhat.com> | Fri Oct 06 13:03:11 2017 +0200 |
committer | Pavel Raiskup <praiskup@redhat.com> | Fri Oct 06 13:03:11 2017 +0200 |
tree | 45f07b529b3fede111347ee94c116402b57619ec | |
parent | db1a70ee2189f8fe270dc87dc5408c6d17c2d8e5 [diff] |
Install zipconf.h into arch-independent directory Since zipconf.h is mostly arch independent nowadays (on systems with stdint.h), don't install zipconf into arch-dependant directory. Doing so only complicated packaging for such systems with multiarch/multilib support because package maintainers had to manually install header wrapper on '$includedir/zipconf.h' conditionally including appropriate header from arch-dependant location (because 'zip.h' includes '<zipconf.h>', and not every dependant project relies on pkg-config).
This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. Decryption and encryption of Winzip AES and decryption of legacy PKware encrypted files is supported. The API is documented by man pages.
For more information, take a look at the included man pages. You can start with libzip(3), which lists all others. Example source code is in the src/
subdirectory.
If you have developed an application using libzip, you can find out about API changes and how to adapt your code for them in the included file API-CHANGES
.
For generic installation instructions, see file INSTALL
, which describes the approach using autoconf; alternatively, you can use cmake to build.
Additionally, you'll need zlib (at least version 1.1.2). It comes with most operating systems nowadays, or you can get it at
For supporting bzip2-compressed zip archives, bzip2 from
needs to be installed.
When using a static Windows library, you need to define ZIP_STATIC
when compiling packages using libzip.
If you make a binary distribution, please include a pointer to the distribution site:
The latest version can always be found there. The official mercurial repository is at http://hg.nih.at/libzip/ and a read-only git mirror exists at https://github.com/nih-at/libzip/
There is a mailing list for developers using libzip. You can subscribe to it by sending a mail with the subject “subscribe libzip-discuss” to minimalist at nih.at. List mail should be sent to libzip-discuss at nih.at. Use this for bug reports or questions.
If you want to reach the authors in private, use libzip@nih.at.