mirror of https://git.tukaani.org/xz.git
Change most public domain parts to 0BSD.
Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt were not touched. COPYING.0BSD was added.
This commit is contained in:
parent
76946dc433
commit
689e0228ba
|
@ -2,9 +2,6 @@
|
||||||
#
|
#
|
||||||
# Author: Jia Tan
|
# Author: Jia Tan
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
#
|
#
|
||||||
# Author: Jia Tan
|
# Author: Jia Tan
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
name: Windows-CI
|
name: Windows-CI
|
||||||
|
|
|
@ -38,9 +38,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.13...3.27 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.13...3.27 FATAL_ERROR)
|
||||||
|
|
108
COPYING
108
COPYING
|
@ -6,77 +6,95 @@ XZ Utils Licensing
|
||||||
is a rough summary of which licenses apply to which parts of this
|
is a rough summary of which licenses apply to which parts of this
|
||||||
package (but check the individual files to be sure!):
|
package (but check the individual files to be sure!):
|
||||||
|
|
||||||
- liblzma is in the public domain.
|
- liblzma is under the BSD Zero Clause License (0BSD).
|
||||||
|
|
||||||
- xz, xzdec, and lzmadec command line tools are in the public
|
- The command line tools xz, xzdec, lzmadec, and lzmainfo are
|
||||||
domain unless GNU getopt_long had to be compiled and linked
|
under 0BSD except that, on systems that don't have a usable
|
||||||
in from the lib directory. The getopt_long code is under
|
getopt_long, GNU getopt_long is compiled and linked in from the
|
||||||
GNU LGPLv2.1+.
|
'lib' directory. The getopt_long code is under GNU LGPLv2.1+.
|
||||||
|
|
||||||
- The scripts to grep, diff, and view compressed files have been
|
- The scripts to grep, diff, and view compressed files have been
|
||||||
adapted from gzip. These scripts and their documentation are
|
adapted from gzip. These scripts (xzgrep, xzdiff, xzless, and
|
||||||
under GNU GPLv2+.
|
xzmore) and their documentation are under GNU GPLv2+. The man
|
||||||
|
page of xzless ('xzless.1') is an exception: it's under 0BSD.
|
||||||
|
|
||||||
- All the documentation in the doc directory and most of the
|
- Most of the XZ Utils specific documentation that is in
|
||||||
XZ Utils specific documentation files in other directories
|
plain text files (like README, INSTALL, PACKAGERS, NEWS,
|
||||||
are in the public domain.
|
and ChangeLog) are under 0BSD unless stated otherwise in
|
||||||
|
the file itself. The files xz-file-format.txt and
|
||||||
|
lzma-file-format.xt are in the public domain but may
|
||||||
|
be distributed under the terms of 0BSD too.
|
||||||
|
|
||||||
|
- Doxygen-generated HTML version of the liblzma API documentation:
|
||||||
|
While Doxygen is under the GNU GPLv2, the license information
|
||||||
|
in Doxygen includes the following exception:
|
||||||
|
|
||||||
|
Documents produced by doxygen are derivative works
|
||||||
|
derived from the input used in their production;
|
||||||
|
they are not affected by this license.
|
||||||
|
|
||||||
Note: The JavaScript files (under the MIT license) have
|
Note: The JavaScript files (under the MIT license) have
|
||||||
been removed from the Doxygen-generated HTML version of the
|
been removed from the Doxygen output.
|
||||||
liblzma API documentation. Doxygen itself is under the GNU GPL
|
|
||||||
but the remaining files generated by Doxygen are not affected
|
|
||||||
by the licenses used in Doxygen because Doxygen licensing has
|
|
||||||
the following exception:
|
|
||||||
|
|
||||||
"Documents produced by doxygen are derivative works
|
- The XZ logo (xz-logo.png) included in the Doxygen-generated
|
||||||
derived from the input used in their production;
|
documentation is under the Creative Commons BY-SA 4.0 license.
|
||||||
they are not affected by this license."
|
|
||||||
|
|
||||||
- The XZ logo included in the Doxygen documentation is under
|
- Translated messages and man pages are under 0BSD except that
|
||||||
the Creative Commons BY-SA 4.0 license.
|
some old translations are in the public domain.
|
||||||
|
|
||||||
- Translated messages are in the public domain.
|
- Test files and test code in the 'tests' directory, and
|
||||||
|
debugging utilities in the 'debug' directory are under
|
||||||
|
the BSD Zero Clause License (0BSD).
|
||||||
|
|
||||||
- The build system contains public domain files, and files that
|
- The GNU Autotools based build system contains files that are
|
||||||
are under GNU GPLv2+ or GNU GPLv3+. None of these files end up
|
under GNU GPLv2+, GNU GPLv3+, and a few permissive licenses.
|
||||||
in the binaries being built.
|
These files don't affect the licensing of the binaries being
|
||||||
|
built.
|
||||||
|
|
||||||
- Test files and test code in the tests directory, and debugging
|
- The extra directory contain files that are under various
|
||||||
utilities in the debug directory are in the public domain.
|
free software licenses.
|
||||||
|
|
||||||
- The extra directory may contain public domain files, and files
|
For the files under the BSD Zero Clause License (0BSD), if
|
||||||
that are under various free software licenses.
|
a copyright notice is needed, the following is sufficient:
|
||||||
|
|
||||||
You can do whatever you want with the files that have been put into
|
Copyright (C) The XZ Utils authors and contributors
|
||||||
the public domain. If you find public domain legally problematic,
|
|
||||||
take the previous sentence as a license grant. If you still find
|
|
||||||
the lack of copyright legally problematic, you have too many
|
|
||||||
lawyers.
|
|
||||||
|
|
||||||
As usual, this software is provided "as is", without any warranty.
|
If you copy significant amounts of 0BSD-licensed code from XZ Utils
|
||||||
|
|
||||||
If you copy significant amounts of public domain code from XZ Utils
|
|
||||||
into your project, acknowledging this somewhere in your software is
|
into your project, acknowledging this somewhere in your software is
|
||||||
polite (especially if it is proprietary, non-free software), but
|
polite (especially if it is proprietary, non-free software), but
|
||||||
naturally it is not legally required. Here is an example of a good
|
it is not legally required by the license terms. Here is an example
|
||||||
notice to put into "about box" or into documentation:
|
of a good notice to put into "about box" or into documentation:
|
||||||
|
|
||||||
This software includes code from XZ Utils
|
This software includes code from XZ Utils
|
||||||
<https://xz.tukaani.org/xz-utils/>.
|
<https://xz.tukaani.org/xz-utils/>.
|
||||||
|
|
||||||
The following license texts are included in the following files:
|
The following license texts are included in the following files:
|
||||||
|
- COPYING.0BSD: BSD Zero Clause License
|
||||||
- COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
|
- COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
|
||||||
- COPYING.GPLv2: GNU General Public License version 2
|
- COPYING.GPLv2: GNU General Public License version 2
|
||||||
- COPYING.GPLv3: GNU General Public License version 3
|
- COPYING.GPLv3: GNU General Public License version 3
|
||||||
- COPYING.CC-BY-SA-4.0: Creative Commons Attribution-ShareAlike 4.0
|
- COPYING.CC-BY-SA-4.0: Creative Commons Attribution-ShareAlike 4.0
|
||||||
International Public License
|
International Public License
|
||||||
|
|
||||||
Note that the toolchain (compiler, linker etc.) may add some code
|
A note about old XZ Utils releases:
|
||||||
pieces that are copyrighted. Thus, it is possible that e.g. liblzma
|
|
||||||
binary wouldn't actually be in the public domain in its entirety
|
|
||||||
even though it contains no copyrighted code from the XZ Utils source
|
|
||||||
package.
|
|
||||||
|
|
||||||
If you have questions, don't hesitate to ask the author(s) for more
|
XZ Utils releases 5.4.6 and older and 5.5.1alpha have a
|
||||||
information.
|
significant amount of code put into the public domain and
|
||||||
|
that obviously remains so. The switch from public domain to
|
||||||
|
0BSD for newer releases was made in Febrary 2024 because
|
||||||
|
public domain has (real or perceived) legal ambiguities in
|
||||||
|
some jurisdictions.
|
||||||
|
|
||||||
|
There is very little *practical* difference between public
|
||||||
|
domain and 0BSD. The main difference likely is that one
|
||||||
|
shouldn't claim that 0BSD-licensed code is in the public
|
||||||
|
domain; 0BSD-licensed code is copyrighted but available under
|
||||||
|
an extremely permissive license. Neither 0BSD nor public domain
|
||||||
|
require retaining or reproducing author, copyright holder, or
|
||||||
|
license notices when distributing the software. (Compare to,
|
||||||
|
for example, BSD 2-Clause "Simplified" License which does have
|
||||||
|
such requirements.)
|
||||||
|
|
||||||
|
If you have questions, don't hesitate to ask for more information.
|
||||||
|
The contact information is in the README file.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
Permission to use, copy, modify, and/or distribute this
|
||||||
|
software for any purpose with or without fee is hereby granted.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||||
|
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||||
|
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
||||||
|
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||||
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
# Use -n to prevent gzip from adding a timestamp to the .gz headers.
|
# Use -n to prevent gzip from adding a timestamp to the .gz headers.
|
||||||
GZIP_ENV = -9n
|
GZIP_ENV = -9n
|
||||||
|
|
11
PACKAGERS
11
PACKAGERS
|
@ -124,14 +124,15 @@ Information to packagers of XZ Utils
|
||||||
|
|
||||||
If the package manager supports a license field, you probably should
|
If the package manager supports a license field, you probably should
|
||||||
put GPLv2+ there (GNU GPL v2 or later). The interesting parts of
|
put GPLv2+ there (GNU GPL v2 or later). The interesting parts of
|
||||||
XZ Utils are in the public domain, but some less important files
|
XZ Utils are under the BSD Zero Clause License (0BSD), but some less
|
||||||
ending up into the binary package are under GPLv2+. So it is simplest
|
important files ending up into the binary package are under GPLv2+.
|
||||||
to just say GPLv2+ if you cannot specify "public domain and GPLv2+".
|
So it is simplest to just say GPLv2+ if you cannot specify
|
||||||
|
"BSD0 and GPLv2+".
|
||||||
|
|
||||||
If you split XZ Utils into multiple packages as described earlier
|
If you split XZ Utils into multiple packages as described earlier
|
||||||
in this file, liblzma and liblzma-dev packages will contain only
|
in this file, liblzma and liblzma-dev packages will contain only
|
||||||
public domain code (from XZ Utils at least; compiler or linker may
|
0BSD-licensed code from XZ Utils (compiler or linker may add some
|
||||||
add some third-party code, which may be copyrighted).
|
third-party code which may have other licenses).
|
||||||
|
|
||||||
|
|
||||||
4. configure options
|
4. configure options
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
#
|
#
|
||||||
# Author: Jia Tan
|
# Author: Jia Tan
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
FORMAT=$1
|
FORMAT=$1
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
|
sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
file(READ "${INPUT_FILE}" STR)
|
file(READ "${INPUT_FILE}" STR)
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
function(tuklib_add_definitions TARGET_OR_ALL DEFINITIONS)
|
function(tuklib_add_definitions TARGET_OR_ALL DEFINITIONS)
|
||||||
# DEFINITIONS may be an empty string/list but it's fine here. There is
|
# DEFINITIONS may be an empty string/list but it's fine here. There is
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(TestBigEndian)
|
include(TestBigEndian)
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# NOTE: Don't add useless checks. autoscan detects this and that, but don't
|
# NOTE: Don't add useless checks. autoscan detects this and that, but don't
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
translation.bash
|
translation.bash
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "sysdefs.h"
|
#include "sysdefs.h"
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
CC = c99
|
CC = c99
|
||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# For debugging, set comment "#define NDEBUG 1" from config.h to enable
|
# For debugging, set comment "#define NDEBUG 1" from config.h to enable
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
# Authors: Jia Tan
|
# Authors: Jia Tan
|
||||||
# Lasse Collin
|
# Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin <lasse.collin@tukaani.org>
|
# Author: Lasse Collin <lasse.collin@tukaani.org>
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# You can use 7z or 7za, both will work.
|
# You can use 7z or 7za, both will work.
|
||||||
|
|
|
@ -11,9 +11,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_COMMON], [
|
AC_DEFUN_ONCE([TUKLIB_COMMON], [
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
|
|
@ -21,9 +21,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_CPUCORES], [
|
AC_DEFUN_ONCE([TUKLIB_CPUCORES], [
|
||||||
AC_REQUIRE([TUKLIB_COMMON])
|
AC_REQUIRE([TUKLIB_COMMON])
|
||||||
|
|
|
@ -15,9 +15,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_INTEGER], [
|
AC_DEFUN_ONCE([TUKLIB_INTEGER], [
|
||||||
AC_REQUIRE([TUKLIB_COMMON])
|
AC_REQUIRE([TUKLIB_COMMON])
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_MBSTR], [
|
AC_DEFUN_ONCE([TUKLIB_MBSTR], [
|
||||||
AC_REQUIRE([TUKLIB_COMMON])
|
AC_REQUIRE([TUKLIB_COMMON])
|
||||||
|
|
|
@ -33,9 +33,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_PHYSMEM], [
|
AC_DEFUN_ONCE([TUKLIB_PHYSMEM], [
|
||||||
AC_REQUIRE([TUKLIB_COMMON])
|
AC_REQUIRE([TUKLIB_COMMON])
|
||||||
|
|
|
@ -15,9 +15,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
|
|
||||||
AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
|
AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
|
||||||
AC_REQUIRE([TUKLIB_COMMON])
|
AC_REQUIRE([TUKLIB_COMMON])
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
#
|
#
|
||||||
# Author: Lasse Collin
|
# Author: Lasse Collin
|
||||||
#
|
#
|
||||||
# This file has been put into the public domain.
|
|
||||||
# You can do whatever you want with this file.
|
|
||||||
#
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
if type po4a > /dev/null 2>&1; then
|
if type po4a > /dev/null 2>&1; then
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
SUBDIRS = liblzma xzdec
|
SUBDIRS = liblzma xzdec
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <winresrc.h>
|
#include <winresrc.h>
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef MYTHREAD_H
|
#ifndef MYTHREAD_H
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef LZMA_SYSDEFS_H
|
#ifndef LZMA_SYSDEFS_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_COMMON_H
|
#ifndef TUKLIB_COMMON_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_cpucores.h"
|
#include "tuklib_cpucores.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_CPUCORES_H
|
#ifndef TUKLIB_CPUCORES_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_common.h"
|
#include "tuklib_common.h"
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_EXIT_H
|
#ifndef TUKLIB_EXIT_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_GETTEXT_H
|
#ifndef TUKLIB_GETTEXT_H
|
||||||
|
|
|
@ -37,9 +37,6 @@
|
||||||
// Authors: Lasse Collin
|
// Authors: Lasse Collin
|
||||||
// Joachim Henke
|
// Joachim Henke
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_INTEGER_H
|
#ifndef TUKLIB_INTEGER_H
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_MBSTR_H
|
#ifndef TUKLIB_MBSTR_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_mbstr.h"
|
#include "tuklib_mbstr.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_mbstr.h"
|
#include "tuklib_mbstr.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_open_stdxxx.h"
|
#include "tuklib_open_stdxxx.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_OPEN_STDXXX_H
|
#ifndef TUKLIB_OPEN_STDXXX_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_physmem.h"
|
#include "tuklib_physmem.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_PHYSMEM_H
|
#ifndef TUKLIB_PHYSMEM_H
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "tuklib_progname.h"
|
#include "tuklib_progname.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef TUKLIB_PROGNAME_H
|
#ifndef TUKLIB_PROGNAME_H
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
SUBDIRS = api
|
SUBDIRS = api
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
nobase_include_HEADERS = \
|
nobase_include_HEADERS = \
|
||||||
lzma.h \
|
lzma.h \
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
* \brief The public API of liblzma data compression library
|
* \brief The public API of liblzma data compression library
|
||||||
* \mainpage
|
* \mainpage
|
||||||
*
|
*
|
||||||
* liblzma is a public domain general-purpose data compression library with
|
* liblzma is a general-purpose data compression library with a zlib-like API.
|
||||||
* a zlib-like API. The native file format is .xz, but also the old .lzma
|
* The native file format is .xz, but also the old .lzma format and raw (no
|
||||||
* format and raw (no headers) streams are supported. Multiple compression
|
* headers) streams are supported. Multiple compression algorithms (filters)
|
||||||
* algorithms (filters) are supported. Currently LZMA2 is the primary filter.
|
* are supported. Currently LZMA2 is the primary filter.
|
||||||
*
|
*
|
||||||
* liblzma is part of XZ Utils <https://xz.tukaani.org/xz-utils/>. XZ Utils
|
* liblzma is part of XZ Utils <https://xz.tukaani.org/xz-utils/>. XZ Utils
|
||||||
* includes a gzip-like command line tool named xz and some other tools.
|
* includes a gzip-like command line tool named xz and some other tools.
|
||||||
|
@ -19,13 +19,12 @@
|
||||||
* 7-Zip <https://7-zip.org/>, which has a modified version of the public
|
* 7-Zip <https://7-zip.org/>, which has a modified version of the public
|
||||||
* domain SHA-256 code found from Crypto++ <https://www.cryptopp.com/>.
|
* domain SHA-256 code found from Crypto++ <https://www.cryptopp.com/>.
|
||||||
* The SHA-256 code in Crypto++ was written by Kevin Springle and Wei Dai.
|
* The SHA-256 code in Crypto++ was written by Kevin Springle and Wei Dai.
|
||||||
|
*
|
||||||
|
* liblzma is distributed under the BSD Zero Clause License (0BSD).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H
|
#ifndef LZMA_H
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -23,9 +23,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -17,9 +17,6 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Author: Lasse Collin
|
* Author: Lasse Collin
|
||||||
*
|
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LZMA_H_INTERNAL
|
#ifndef LZMA_H_INTERNAL
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
## Note: There is no check for COND_CHECK_CRC32 because
|
## Note: There is no check for COND_CHECK_CRC32 because
|
||||||
## currently crc32 is always enabled.
|
## currently crc32 is always enabled.
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef LZMA_CHECK_H
|
#ifndef LZMA_CHECK_H
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
// Jia Tan
|
// Jia Tan
|
||||||
// Hans Jansen
|
// Hans Jansen
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
// Ilya Kurdyukov
|
// Ilya Kurdyukov
|
||||||
// Hans Jansen
|
// Hans Jansen
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -11,9 +11,6 @@
|
||||||
* Authors: Igor Pavlov (original version)
|
* Authors: Igor Pavlov (original version)
|
||||||
* Lasse Collin (AT&T syntax, PIC support, better portability)
|
* Lasse Collin (AT&T syntax, PIC support, better portability)
|
||||||
*
|
*
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*
|
|
||||||
* This code needs lzma_crc32_table, which can be created using the
|
* This code needs lzma_crc32_table, which can be created using the
|
||||||
* following C code:
|
* following C code:
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
// Authors: Lasse Collin
|
// Authors: Lasse Collin
|
||||||
// Ilya Kurdyukov
|
// Ilya Kurdyukov
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
//
|
//
|
||||||
// Author: Lasse Collin
|
// Author: Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
* Authors: Igor Pavlov (original CRC32 assembly code)
|
* Authors: Igor Pavlov (original CRC32 assembly code)
|
||||||
* Lasse Collin (CRC64 adaptation of the modified CRC32 code)
|
* Lasse Collin (CRC64 adaptation of the modified CRC32 code)
|
||||||
*
|
*
|
||||||
* This file has been put into the public domain.
|
|
||||||
* You can do whatever you want with this file.
|
|
||||||
*
|
|
||||||
* This code needs lzma_crc64_table, which can be created using the
|
* This code needs lzma_crc64_table, which can be created using the
|
||||||
* following C code:
|
* following C code:
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
// Hans Jansen
|
// Hans Jansen
|
||||||
// Jia Tan
|
// Jia Tan
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef LZMA_CRC_COMMON_H
|
#ifndef LZMA_CRC_COMMON_H
|
||||||
|
|
|
@ -27,9 +27,6 @@
|
||||||
// Lasse Collin
|
// Lasse Collin
|
||||||
// Jia Tan
|
// Jia Tan
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// This file must not be included more than once.
|
// This file must not be included more than once.
|
||||||
|
|
|
@ -10,9 +10,6 @@
|
||||||
// Authors: Wei Dai
|
// Authors: Wei Dai
|
||||||
// Lasse Collin
|
// Lasse Collin
|
||||||
//
|
//
|
||||||
// This file has been put into the public domain.
|
|
||||||
// You can do whatever you want with this file.
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
##
|
##
|
||||||
## Author: Lasse Collin
|
## Author: Lasse Collin
|
||||||
##
|
##
|
||||||
## This file has been put into the public domain.
|
|
||||||
## You can do whatever you want with this file.
|
|
||||||
##
|
|
||||||
|
|
||||||
liblzma_la_SOURCES += \
|
liblzma_la_SOURCES += \
|
||||||
common/common.c \
|
common/common.c \
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue