...
 
Commits (594)
language: cpp
dist: trusty
sudo: required
cache: ccache
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "${MATRIX_EVAL}"; fi
- PATH=$PATH:$HOME/bin
install: travis/install_deps.sh
script: travis/compile.sh
env:
matrix:
- PLATFORM="native_static"
- PLATFORM="native_dyn"
- PLATFORM="win32_static"
- PLATFORM="win32_dyn"
- PLATFORM="android_arm"
- PLATFORM="android_arm64"
addons:
apt:
packages:
- cmake
- python3.5
- python3-pip
- libbz2-dev
- ccache
- zlib1g-dev
- uuid-dev
- cython3
- g++-mingw-w64-i686
- gcc-mingw-w64-i686
- gcc-mingw-w64-base
- mingw-w64-tools
matrix:
include:
- env: PLATFORM="native_dyn"
os: osx
libzim 5.0.0
============
* Fix thread slipping for win32 crosscompilation.
* Fix a potential invalid access when reading dirent.
* Fix memory leak in the decompression algorithm.
* [Writer] Fix a memory leak (cluster cleanning)
* [Writer] Write article data in a temporary cluster file instead of a
temporary file per article.
* [Writer] Better algorithm to store the dirent while creating the zim
file. Better memory usage.
* [Writer] [API Change] Url/Ns are now handle using the same struct Url.
* [Writer] [API Change] No more aid and redirectAid. A redirectArticle
have to implement redirectUrl.
* [Writer] Use a memory pool to avoid multiple small memory allocations.
* [Writer] [API Change] Rename `ZimCreator` to `Creator`.
* [API Change] File's `search` and `suggestions` now return a unique_ptr
instead of a raw pointer.
libzim 4.0.7
============
* Build libzim without rpath.
libzim 4.0.6
============
* Support zim file created with cluster not written sequentially.
* Remove a meson warning.
libzim 4.0.5
============
* Store the xapian database in the right url.
* Do not fail when reading very small zim file (<256b).
* Do not print message on normal behavior.
* [BUILDSYSTEM] Be able to build a dynamic lib (libzim.so) but using static
dependencies.
* [CI] Use last version of meson.
* [CI] Use the new deps archive xz
libzim 4.0.4
============
* Fix opening of multi-part zim.
* Fix convertion of path to wpath on Windows.
libzim 4.0.3
============
* Implement low level file manipilation using different backends
libzim 4.0.2
============
* [Windows] Fix opening of zim file bigger than 4GiB
libzim 4.0.1
============
* [Writer] Fix wrong redirectyon log message
* Make libzim compile natively on windows using MSVC
* Better message when failing to read a zim file.
* Make libzim on windows correctly open unicode path.
* Add compilation option to use less memory (but more I/O).
Usefull on low memory devices (android)
* Small fixes
libzim 4.0.0
============
* [Writer] Remove a lot of memory copy.
* [Writer] Add xapian indexing directly in libzim.
* [Writer] Better API.
* [Writer] Use multi-threading to write clusters.
* [Writer] Ensure mimetype of articles article is not null.
* Extend test timeout for cluster's test.
* Less memory copy for cluster's test.
* Allow skipping test using a lot memory using env variable
`SKIP_BIG_MEMORY_TEST=1`
* Explicitly use the icu namespace to allow using of packaged icu lib.
* Use a temporary file name as long as the ZIM writting process is
not finished (#163)
* [Travis] Do no compile using gcc-5 (but the default trusty's one 4.8)
libzim 3.3.0
============
* Fix handling of big cluster (>4GiB) on 32 bits architecture. This is mainly
done by :
* Do not mmap the whole cluster by default.
* MMap only the memory asociated to an article.
* If an article is > 4GiB, the blob associated to it is invalid
(data==size==0).
* Other information are still valid (directAccessInformation, ...)
* Fix writing of extended cluster in writer.
* Compile libzim on macos.
* Build libzim setting RPATH.
* Search result urls are now what is stored in the zim file. They should not
start with a `/`. This is a revert of the change made in last release.
(See kiwix/kiwix-lib#123)
* Spelling corrections in README.
libzim 3.2.0
============
* Support geo query if the xapian database has indexed localisation.
* Handle articles bigger than 4Go in the zim file (#110).
* Use AND operator between search term.
* Fix compilation with recent clang (#95).
* Add method to get article's data localisation in the zim file.
* Be able to get only a part of article (#77).
* Do not crash if we cannot open the xapian Database for some reasons.
(kiwix/kiwix-tools#153)
* Do not assumen there is always a checksum in the zim file.
(kiwix/kiwix-tools#150)
* Try to do some sanity checks when opening a zim file.
* Use pytest to do some tests (when cython is available).
* Use levenshtein distance to sort and have better suggestion results.
* Search result urls are now always absolute (starts with a '/').
(kiwix/kiwix-lib#110)
* Open the file readonly when checking the zim file (and so be able to check
read only file).
* Accept absolute url starting with '/' when searching for article.
* Fix various bugs
libzim 3.1.0
============
* Lzma is not a optional dependency anymore.
* Better handle (report and not crash) invalid zim file.
* Embed source of gtest (used only if gtest is not available on the system)
* Move zimDump tools out of libzim repository to zim-tools
* ZimCreator tools doesn't not read command line to set options.
libzim 3.0.0
============
This is a major change of the libzim.
Expect a lot new improvement and API changes.
* Add a suggestion mode to the search
* Fix licensing issues
* Fix wrong stemming of the query when searching
* Deactivate searching (and so crash) in the embedded database if the zim is
splitted
* Rewrite the low level memory management of libzim when reading a zim file:
* We use a buffer base entity to handle memory and reading file instead of
reading file using stream.
* MMap the memory when posible to avoid memory copy.
* Use const when posible (API break)
* Move to googletest instead of cxxtools for unit-tests.
* Fix endiannes bug on arm.
* Do not install private headers. Those headers declare private structure and
should not be visible (API break)
* Compile libzim with `-Werror` and `-Wall` options.
* Make libzim thread safe for reading article.
The search part is not thread safe, and all search operation must be
protected by a lock.
* Add method to get only a part of a article.
* Move some tools to zim-tools repository.
libzim 2.0.0
============
* Move to meson build system
`libzim` now use `meson` as build system instead of `autotools`
* Move to C++11 standard.
* Fulltext search in zim file.
We have integrated the xapian fulltext search in libzim.
So now, libzim provide an API to search in a zim containing embeded fulltext
index. This means that :
*libzim need xapian as (optional) dependencies (if you want compile with
xapian support).
* The old and unused search API has been removed.
* Remove bzip2 support.
* Remove Symbian support.
* Few API hanges
* Make some header files private (not installed);
* A `Blob` can now be cast to a `string` directly;
* Change a lot of `File` methods to const methods.
This diff is collapsed.
if MAKE_UNITTEST
UNITTEST_DIR = test
test: all
test/zimlib-test
endif
SUBDIRS = \
src \
src/tools \
include \
$(UNITTEST_DIR) \
examples
This diff is collapsed.
zimlib
------
The `zimlib` library is the standard implementation of the ZIM
specification. It is a library which implements read and write
methods for ZIM files.
Use the zimlib in your own software --- for example, reader
applications --- to make them ZIM-capable without the need having to
dig too much into the ZIM file format.
To build:
```
./autogen.sh
./configure
make
```
OSX compilation
---------------
On MacOSX, you'll need to install some packages from
[homebrew](http://brew.sh/):
```
brew update
brew install xz libmagic
```
You'll also want to add `/usr/local/include` to your search path,
for example:
```
./autogen.sh
./configure CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include
make
```
License
-------
The `zimlib` library is released under the GPLv2 license
terms.
ZIM library
===========
The ZIM library is the reference implementation for the ZIM file
format. It's a solution to read and write ZIM files on many systems
and architectures. More information about the ZIM format and the
openZIM project at http://www.openzim.org/
Disclaimer
----------
This document assumes you have a little knowledge about software
compilation. If you experience difficulties with the dependencies or
with the ZIM library compilation itself, we recommend to have a look to
[kiwix-build](https://github.com/kiwix/kiwix-build).
Preamble
--------
Although the ZIM library can be compiled/cross-compiled on/for many
systems, the following documentation explains how to do it on POSIX
ones. It is primarily though for GNU/Linux systems and has been tested
on recent releases of Ubuntu and Fedora.
Dependencies
------------
The ZIM library relies on many third parts software libraries. They
are prerequisites to the Kiwix library compilation. Following
libraries need to be available:
* Z ................................................. http://zlib.net/
(package zlib1g-dev on Ubuntu)
* LZMA ...................................... http://tukaani.org/lzma/
(package lzma-dev on Ubuntu)
* ICU ................................... http://site.icu-project.org/
(package libicu-dev on Ubuntu)
* Xapian (optional) .............................. https://xapian.org/
(package libxapian-dev on Ubuntu)
* Google test (optional) ........ https://github.com/google/googletest
(No valid package on Ubuntu, if gtest is not present, libzim will use
embedded one)
These dependencies may or may not be packaged by your operating
system. They may also be packaged but only in an older version. The
compilation script will tell you if one of them is missing or too old.
In the worse case, you will have to download and compile a more recent
version by hand.
If you want to install these dependencies locally, then ensure that
meson (through pkg-config) will properly find them.
Environment
-------------
The ZIM library builds using [Meson](http://mesonbuild.com/) version
0.39 or higher. Meson relies itself on Ninja, pkg-config and few other
compilation tools.
Install first the few common compilation tools:
* Meson
* Ninja
* Pkg-config
These tools should be packaged if you use a cutting edge operating
system. If not, have a look to the "Troubleshooting" section.
Compilation
-----------
Once all dependencies are installed, you can compile ZIM library with:
```
meson . build
ninja -C build
```
By default, it will compile dynamic linked libraries. All binary files
will be created in the "build" directory created automatically by
Meson. If you want statically linked libraries, you can add
`--default-library=static` option to the Meson command.
Depending of you system, `ninja` may be called `ninja-build`.
Installation
------------
If you want to install the libzim and the headers you just have
compiled on your system, here we go:
```
ninja -C build install
```
You might need to run the command as root (or using 'sudo'), depending
where you want to install the libraries. After the installation
succeeded, you may need to run ldconfig (as root).
Uninstallation
------------
If you want to uninstall the libzim:
```
ninja -C build uninstall
```
Like for the installation, you might need to run the command as root
(or using 'sudo').
Troubleshooting
---------------
If you need to install Meson "manually":
```
virtualenv -p python3 ./ # Create virtualenv
source bin/activate # Activate the virtualenv
pip3 install meson # Install Meson
hash -r # Refresh bash paths
```
If you need to install Ninja "manually":
```
git clone git://github.com/ninja-build/ninja.git
cd ninja
git checkout release
./configure.py --bootstrap
mkdir ../bin
cp ninja ../bin
cd ..
```
If the compilation still fails, you might need to get a more recent
version of a dependency than the one packaged by your Linux
distribution. Try then with a source tarball distributed by the
problematic upstream project or even directly from the source code
repository.
License
-------
GPLv2 or later, see COPYING for more details.
This diff is collapsed.
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-10-14.11; # UTC
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
AC_INIT(zimlib, 1.4, [Tommi Maekitalo <tommi@tntnet.org>])
AM_INIT_AUTOMAKE([subdir-objects])
abi_current=2
abi_revision=0
abi_age=0
sonumber=${abi_current}:${abi_revision}:${abi_age}
AC_SUBST(sonumber)
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_SRCDIR([src/file.cpp])
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_CHECK_HEADER([lzma.h], , AC_MSG_ERROR([lzma header files not found]))
AC_CHECK_FUNCS([stat64 lseek64 open64])
AC_LANG(C++)
AX_COMPILER_VENDOR
AS_IF([test "$ax_cv_cxx_compiler_vendor" = "ibm"],
[CXXFLAGS="$CXXFLAGS -qrtti -qlanglvl=newexcp -D__NOLOCK_ON_INPUT -D__NOLOCK_ON_OUTPUT"])
AX_CHECK_COMPILE_FLAG([-Wno-long-long], [CXXFLAGS="$CXXFLAGS -Wno-long-long"])
AX_CHECK_COMPILE_FLAG([-Wall], [CXXFLAGS="$CXXFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-pedantic], [CXXFLAGS="$CXXFLAGS -pedantic"])
#
# cxxtools
#
AC_ARG_WITH([cxxtools],
AS_HELP_STRING([--with-cxxtools=yes|no], [use cxxtools (default:yes)]),
[with_cxxtools=$withval],
[with_cxxtools=no])
if test "$with_cxxtools" = "yes"
then
AC_DEFINE(WITH_CXXTOOLS, [1], [defined if cxxtools is used])
AC_CHECK_HEADER([cxxtools/condition.h], , AC_MSG_ERROR([cxxtools headers not found]))
fi
AM_CONDITIONAL([WITH_CXXTOOLS], test "$with_cxxtools" = yes)
#
# cache size
#
AC_ARG_WITH([cluster-cache-size],
AS_HELP_STRING([--with-cluster-cache-size=number], [set cluster cache size to number (default:16)]),
[cluster_cache_size=$withval],
[cluster_cache_size=16])
AC_DEFINE_UNQUOTED(CLUSTER_CACHE_SIZE, $cluster_cache_size, [set cluster cache size to number of cached chunks])
AC_ARG_WITH([dirent-cache-size],
AS_HELP_STRING([--with-dirent-cache-size=number], [set dirent cache size to number (default:512)]),
[dirent_cache_size=$withval],
[dirent_cache_size=512])
AC_DEFINE_UNQUOTED(DIRENT_CACHE_SIZE, $dirent_cache_size, [set dirent cache size to number of cached chunks])
#
# compression algorithms
#
# zlib
AC_ARG_ENABLE([zlib],
AS_HELP_STRING([--enable-zlib], [add support for zlib compression (disabled by default)]),
[enable_zlib=$enableval],
[enable_zlib=no])
if test "$enable_zlib" = "yes"
then
AC_CHECK_HEADER([zlib.h], , AC_MSG_ERROR([zlib header not found]))
AC_DEFINE(ENABLE_ZLIB, [1], [defined if zlib compression is enabled])
fi
AM_CONDITIONAL(WITH_ZLIB, test "$enable_zlib" = "yes")
# bzip2
AC_ARG_ENABLE([bzip2],
AS_HELP_STRING([--enable-bzip2], [add support for bzip2 compression (disabled by default)]),
[enable_bzip2=$enableval],
[enable_bzip2=no])
if test "$enable_bzip2" = "yes"
then
AC_CHECK_HEADER([bzlib.h], , AC_MSG_ERROR([bzip2 header files not found]))
AC_DEFINE(ENABLE_BZIP2, [1], [defined if bzip2 compression is enabled])
fi
AM_CONDITIONAL(WITH_BZIP2, test "$enable_bzip2" = "yes")
# lzma
AC_ARG_ENABLE([lzma],
AS_HELP_STRING([--disable-lzma], [add support for lzma compression (enabled by default)]),
[enable_lzma=$enableval],
[enable_lzma=yes])
if test "$enable_lzma" = "yes"
then
AC_CHECK_HEADER([lzma.h], , AC_MSG_ERROR([lzma header files not found]))
AC_DEFINE(ENABLE_LZMA, [1], [defined if lzma compression is enabled])
fi
AM_CONDITIONAL(WITH_LZMA, test "$enable_lzma" = "yes")
#
# unittest
#
AC_ARG_ENABLE([unittest],
AS_HELP_STRING([--enable-unittest], [enable building unittest (cxxtools needed)]),
[enable_unittest=$enableval],
[enable_unittest=no])
if test "$enable_unittest" = "yes"
then
AC_CHECK_HEADER([cxxtools/unit/test.h], , AC_MSG_ERROR([cxxtools unit test headers not found]))
fi
AM_CONDITIONAL(MAKE_UNITTEST, test "$enable_unittest" = "yes")
#
# benchmark tool
#
AC_ARG_ENABLE([benchmark],
AS_HELP_STRING([--enable-benchmark], [build benchmark tool zimBench]),
[enable_benchmark=$enableval],
[enable_benchmark=disable_benchmark])
AM_CONDITIONAL(MAKE_BENCHMARK, test "$enable_benchmark" = "yes")
#
# lzma memory usage
#
AC_ARG_WITH([lzma-memory-size],
AS_HELP_STRING([--with-lzma-memory-size=number], [set lzma uncompress memory in MB (default:128)]),
[lzma_memory_size=$withval],
[lzma_memory_size=128])
AC_DEFINE_UNQUOTED(LZMA_MEMORY_SIZE, $lzma_memory_size, [set lzma uncompress memory size to number of MB])
#
# output
#
AC_CONFIG_FILES([
Makefile
src/Makefile
src/tools/Makefile
include/Makefile
test/Makefile
examples/Makefile
])
AC_OUTPUT
CDBS+git-buildpackage
---------------------
This source package uses CDBS and git-buildpackage. NMUs need not (but
are encouraged to) make special use of these tools. In particular, the
debian/control.in file can be completely ignored.
More info here: http://wiki.debian.org/CDBS+git-buildpackage
-- Jonas Smedegaard <dr@jones.dk> Mon, 18 Feb 2013 12:55:37 +0100
zimlib (5.0.0-2) experimental; urgency=medium
* Update gitlab-ci.yml for salsa-ci changes
* Update symbols file for armel armhf hppa i386 ia64 m68k mips mips64el
mipsel powerpc ppc64 ppc64el s390x sh4 sparc64 x32.
-- Kunal Mehta <legoktm@debian.org> Fri, 26 Jul 2019 17:40:10 -0400
zimlib (5.0.0-1) experimental; urgency=medium
* New upstream version 5.0.0
* Enable hardening flags
* Standards-Version: 4.4.0, no changes needed
-- Kunal Mehta <legoktm@debian.org> Tue, 09 Jul 2019 13:28:20 -0400
zimlib (4.0.4-5) unstable; urgency=medium
* Have libzim-dev depend upon libraries it Requires in libzim.pc
-- Kunal Mehta <legoktm@debian.org> Wed, 19 Dec 2018 00:53:38 -0800
zimlib (4.0.4-4) unstable; urgency=medium
* Release to unstable
* Update symbols file for more architectures
* Set Rules-Requires-Root: no
* Standards-Version: 4.2.1, no changes needed
-- Kunal Mehta <legoktm@debian.org> Mon, 10 Dec 2018 23:34:49 -0800
zimlib (4.0.4-3) experimental; urgency=medium
* Update amd64 symbols again
-- Kunal Mehta <legoktm@debian.org> Mon, 03 Dec 2018 21:28:00 -0800
zimlib (4.0.4-2) experimental; urgency=medium
* Update symbols for arm64 armel armhf i386 m68k mips mips64el mipsel
powerpc powerpcspe ppc64 ppc64el s390x sh4 sparc64 architectures.
* Configure Salsa-Pipeline.
-- Kunal Mehta <legoktm@debian.org> Tue, 13 Nov 2018 22:37:17 -0800
zimlib (4.0.4-1) experimental; urgency=medium
[ Ondřej Nový ]
* d/control: Set Vcs-* to salsa.debian.org
[ Kunal Mehta ]
* New upstream release 4.0.4 (Closes: #884440)
* Set SKIP_BIG_MEMORY_TEST=1 during build
* Add myself (Kunal Mehta) to uploaders
-- Kunal Mehta <legoktm@debian.org> Sun, 04 Nov 2018 20:31:24 -0800
zimlib (2.0.0-2) unstable; urgency=medium
* Modernize Vcs-* fields: Use git (not cgit) in path.
* Declare compliance with Debian Policy 4.0.1.
* Update symbols file.
Closes: Bug#872464. Thanks to James Clarke.
* Update git-buildpackage config: Filter any .gitignore file.
* Drop obsolete README.source: CDBS no longer used.
* Update copyright info:
+ Use only Github issue tracker as preferred form of contact.
-- Jonas Smedegaard <dr@jones.dk> Fri, 18 Aug 2017 17:17:32 +0200
zimlib (2.0.0-1) unstable; urgency=medium
* New upstream release.
Closes: bug#868641. Thanks to Kunal Mehta.
+ Move to meson build system
+ Move to C++11 standard
+ Full text search using xapian API's
+ Drop old unsupported API's
+ Remove bzip2 and symbian support.
* debian/watch:
+ Bump watch file version to 4.0.
+ Change upstream URL to Github.
* debian/control:
+ Mark package as compliant with Debian policy 4.0.0.
+ Drop libzim0v5 libzim0v5-dbg packages as upstream bumped soname to 2.
+ Introduce libzim2 package.
+ Drop build dependency on cdbs, dh-buildinfo and dh-buildinfo.
+ Drop build dependency on autotools-dev, automake, autoconf and
libtool as package upstream now uses meson build system.
+ Add build dependency on meson and ninja-build
+ Add versioned build dependency on debhelper >= 9.
+ Add build dependency on libxapian-dev, zlib1g-dev and pkg-config.
* Drop libzim0v5.symbols file.
* debian/patches:
+ Drop patch 1001_fix_uuid_test_on_hurd.patch its merged upstream.
+ Drop upstream cherry-picked patch 0002 as its included in new release.
* Create new libzim2.symbols file.
* debian/copyright:
+ Move around files which are now in new paths.
+ Remove all unused references to older release (autotools files)
+ Use secure URL for Format field.
+ Add new Github URL for Upstream-Contact and Source fields.
* Update debian/copyright_hints file for new release.
* Add debian/copyright-check for updating copyright_hints file.
* Add libzim2.install file for installing share library.
* Add libzim-dev.install for installing development header and
pkg-config files.
* debian/source/lintian-overrides:
+ Drop unused lintian-override on versioned debhelper dependency.
+ Add lintian-override for FIXME errors in copyright_hints.
* Drop hard coded Pre-Depends on multiarch-support package.
Closes: bug#870517. Thanks to Aurelien Jarno.
-- Vasudev Kamath <vasudev@copyninja.info> Sat, 05 Aug 2017 16:14:26 +0530
zimlib (1.4-2.1) unstable; urgency=medium
* Non-maintainer upload.
* Clean up symbols file, thanks James Clarke. (Closes: #860625)
-- Graham Inggs <ginggs@debian.org> Fri, 21 Apr 2017 10:06:38 +0200
zimlib (1.4-2) unstable; urgency=medium
* Update symbols file for all architectures supported by Debian except
alpha and sh4.
-- Vasudev Kamath <vasudev@copyninja.info> Sat, 12 Nov 2016 22:57:43 +0530
zimlib (1.4-1) unstable; urgency=medium
* New upstream release.
* Added 0002 patch from upstream source fixing build failure.
* Update symbols file for 1.4 release.
-- Vasudev Kamath <vasudev@copyninja.info> Sat, 12 Nov 2016 18:20:26 +0530
zimlib (1.3-1) unstable; urgency=medium
* New upstream release 1.3
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.