26 Commits

Author SHA1 Message Date
Lasse Collin
9815cdf698 Bump version and soname for 5.2.2. 2015-09-29 13:59:35 +03:00
Lasse Collin
cbe0cec847 Update NEWS for 5.2.2. 2015-09-29 13:57:46 +03:00
Andre Noll
49427ce7ee Fix typo in German translation.
As pointed out by Robert Pollak, there's a typo in the German
translation of the compression preset option (-0 ... -9) help text.
"The compressor" translates to "der Komprimierer", and the genitive
form is "des Komprimierers". The old word makes no sense at all.
2015-09-28 19:05:13 +03:00
Hauke Henningsen
608d6f06c9 Update German translation, mostly wrt orthography
Provide an update of the German translation.
* A lot of compound words were previously written with spaces, while
  German orthography is relatively clear in that the components
  should not be separated.
* When referring to the actual process of (de)compression rather than the
  concept, replace “(De-)Kompression” with “(De-)Komprimierung”.
  Previously, both forms were used in this context and are now used in a
  manner consistent with “Komprimierung” being more likely to refer to
  a process.
* Consistently translate “standard input”/“output”
* Use “Zeichen” instead of false friend “Charakter” for “character”
* Insert commas around relative clauses (as required in German)
* Some other minor corrections
* Capitalize “ß” as “ẞ”
* Consistently start option descriptions in --help with capital letters

Acked-By: Andre Noll <maan@tuebingen.mpg.de>

* Update after msgmerge
2015-09-25 14:03:24 +03:00
Lasse Collin
c8988414e5 Build: Minor Cygwin cleanup.
Some tests used "cygwin*" and some used "cygwin". I changed
them all to use "cygwin". Shouldn't affect anything in practice.
2015-09-25 14:03:24 +03:00
Lasse Collin
85a6dfed53 Build: Support building of MSYS2 binaries. 2015-09-25 14:03:24 +03:00
Lasse Collin
77f270be84 Windows: Define DLL_EXPORT when building liblzma.dll with MSVC.
src/liblzma/common/common.h uses it to set __declspec(dllexport)
for the API symbols.

Thanks to Adam Walling.
2015-09-25 14:03:24 +03:00
Lasse Collin
8c975446c5 Windows: Omit unneeded header files from MSVC project files. 2015-09-25 14:03:24 +03:00
Lasse Collin
119a004349 liblzma: A MSVC-specific hack isn't needed with MSVC 2013 and newer. 2015-09-25 14:03:24 +03:00
Lasse Collin
d4e7c557fc Update THANKS. 2015-09-25 14:03:24 +03:00
Lasse Collin
98001740ca Windows: Update the docs. 2015-09-25 14:03:24 +03:00
Lasse Collin
28195e4c87 Windows: Add MSVC project files for building liblzma.
Thanks to Adam Walling for creating these files.
2015-09-25 14:03:24 +03:00
Lasse Collin
960440f323 Tests: Fix a memory leak in test_bcj_exact_size.
Thanks to Cristian Rodríguez.
2015-05-13 21:36:19 +03:00
Lasse Collin
68cd35acaf Fix NEWS about threading in 5.2.0.
Thanks to Andy Hochhaus.
2015-05-12 18:08:38 +03:00
Lasse Collin
ff96ed6d25 xz: Document that threaded decompression hasn't been implemented yet. 2015-05-11 21:26:40 +03:00
Lasse Collin
00d37b64a6 Update THANKS. 2015-04-20 20:20:29 +03:00
Lasse Collin
db190a832c Revert "xz: Use pipe2() if available."
This reverts commit 7a11c4a8e5.
It is a problem when libc has pipe2() but the kernel is too
old to have pipe2() and thus pipe2() fails. In xz it's pointless
to have a fallback for non-functioning pipe2(); it's better to
avoid pipe2() completely.

Thanks to Michael Fox for the bug report.
2015-04-20 19:59:18 +03:00
Lasse Collin
eccd8155e1 Update THANKS. 2015-03-29 22:14:47 +03:00
Lasse Collin
25263fd9e7 Fix the detection of installed RAM on QNX.
The earlier version compiled but didn't actually work
since sysconf(_SC_PHYS_PAGES) always fails (or so I was told).

Thanks to Ole André Vadla Ravnås for the patch and testing.
2015-03-29 22:13:48 +03:00
Lasse Collin
4c544d2410 Fix CPU core count detection on QNX.
It tried to use sysctl() on QNX but
  - it broke the build because sysctl() needs -lsocket on QNX;
  - sysctl() doesn't work for detecting the core count on QNX
    even if it compiled.

sysconf() works. An alternative would have been to use
QNX-specific SYSPAGE_ENTRY(num_cpu) from <sys/syspage.h>.

Thanks to Ole André Vadla Ravnås.
2015-03-27 22:39:07 +02:00
Lasse Collin
e0ea6737b0 xz: size_t/uint32_t cleanup in options.c. 2015-03-07 22:05:57 +02:00
Lasse Collin
8bcca29a65 xz: Fix a comment and silence a warning in message.c. 2015-03-07 22:04:23 +02:00
Lasse Collin
f243f5f44c liblzma: Silence more uint32_t vs. size_t warnings. 2015-03-07 22:01:00 +02:00
Lasse Collin
7f0a4c50f4 xz: Make arg_count an unsigned int to silence a warning.
Actually the value of arg_count cannot exceed INT_MAX
but it's nicer as an unsigned int.
2015-03-07 19:54:00 +02:00
Lasse Collin
f6ec468015 liblzma: Fix a warning in index.c. 2015-03-07 19:33:17 +02:00
Lasse Collin
a24518971c Build: Fix a CR+LF problem when running autoreconf -fi on OS/2. 2015-02-26 20:46:14 +02:00
27 changed files with 1156 additions and 245 deletions

29
INSTALL
View File

@@ -136,22 +136,31 @@ XZ Utils Installation
1.2.7. Windows
Building XZ Utils on Windows is supported under MinGW + MSYS,
MinGW-w64 + MSYS, and Cygwin. There is windows/build.bash to
ease packaging XZ Utils with MinGW(-w64) + MSYS into a
redistributable .zip or .7z file. See windows/INSTALL-Windows.txt
for more information.
Building XZ Utils on Windows is supported under the following
environments:
- MinGW-w64 + MSYS (32-bit and 64-bit x86): This is used
for building the official binary packages for Windows.
There is windows/build.bash to ease packaging XZ Utils with
MinGW(-w64) + MSYS into a redistributable .zip or .7z file.
See windows/INSTALL-MinGW.txt for more information.
- MinGW + MSYS (32-bit x86): I haven't recently tested this.
- Cygwin 1.7.35 and later: NOTE that using XZ Utils >= 5.2.0
under Cygwin older than 1.7.35 can lead to DATA LOSS! If
you must use an old Cygwin version, stick to XZ Utils 5.0.x
which is safe under older Cygwin versions. You can check
the Cygwin version with the command "cygcheck -V".
- Microsoft Visual Studio 2013 update 2 or later (MSVC for short):
See windows/INSTALL-MSVC.txt for more information.
It may be possible to build liblzma with other toolchains too, but
that will probably require writing a separate makefile. Building
the command line tools with non-GNU toolchains will be harder than
building only liblzma.
Starting with XZ Utils 5.2.0, building liblzma (not the whole
XZ Utils) should work with MSVC 2013 update 2 or later using
windows/config.h. No project files or makefiles are included yet,
so the build process isn't as convenient yet as it could be.
Even if liblzma is built with MinGW(-w64), the resulting DLL can
be used by other compilers and linkers, including MSVC. See
windows/README-Windows.txt for details.

21
NEWS
View File

@@ -2,6 +2,24 @@
XZ Utils Release Notes
======================
5.2.2 (2015-09-29)
* Fixed bugs in QNX-specific code.
* Omitted the use of pipe2() even if it is available to avoid
portability issues with some old Linux and glibc combinations.
* Updated German translation.
* Added project files to build static and shared liblzma (not the
whole XZ Utils) with Visual Studio 2013 update 2 or later.
* Documented that threaded decompression hasn't been implemented
yet. A 5.2.0 NEWS entry describing multi-threading support had
incorrectly said "decompression" when it should have said
"compression".
5.2.1 (2015-02-26)
* Fixed a compression-ratio regression in fast mode of LZMA1 and
@@ -66,8 +84,9 @@ XZ Utils Release Notes
is non-trivial, so as of writing it is unknown if it will be
backported to the v5.0 branch.
- Multi-threaded decompression can be enabled with the
- Multi-threaded compression can be enabled with the
--threads (-T) option.
[Fixed: This originally said "decompression".]
- New command line options in xz: --single-stream,
--block-size=SIZE, --block-list=SIZES,

4
THANKS
View File

@@ -21,6 +21,7 @@ has been important. :-) In alphabetical order:
- Milo Casagrande
- Marek Černocký
- Tomer Chachamu
- Gabi Davar
- Chris Donawa
- Andrew Dudman
- Markus Duft
@@ -29,6 +30,7 @@ has been important. :-) In alphabetical order:
- Gilles Espinasse
- Denis Excoffier
- Michael Felt
- Michael Fox
- Mike Frysinger
- Daniel Richard G.
- Bill Glessner
@@ -74,6 +76,7 @@ has been important. :-) In alphabetical order:
- Mikko Pouru
- Trần Ngọc Quân
- Pavel Raiskup
- Ole André Vadla Ravnås
- Robert Readman
- Bernhard Reutner-Fischer
- Eric S. Raymond
@@ -95,6 +98,7 @@ has been important. :-) In alphabetical order:
- Alexey Tourbin
- Patrick J. Volkerding
- Martin Väth
- Adam Walling
- Christian Weisgerber
- Bert Wesarg
- Fredrik Wikstrom

View File

@@ -21,4 +21,4 @@ sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
src/liblzma/api/lzma/version.h \
| tr '\n' '|' \
| sed 's/|/./; s/|/./; s/|//g' \
| tr -d '\n'
| tr -d '\r\n'

View File

@@ -34,8 +34,8 @@ AC_CANONICAL_HOST
# We do some special things on Windows (32-bit or 64-bit) builds.
case $host_os in
mingw* | cygwin*) is_w32=yes ;;
*) is_w32=no ;;
mingw* | cygwin | msys) is_w32=yes ;;
*) is_w32=no ;;
esac
AM_CONDITIONAL([COND_W32], [test "$is_w32" = yes])
@@ -43,9 +43,15 @@ AM_CONDITIONAL([COND_W32], [test "$is_w32" = yes])
# executables. Cygwin is an exception to this, since it is recommended
# that symlinks don't have the .exe suffix. To make this work, we
# define LN_EXEEXT.
#
# MSYS2 is treated the same way as Cygwin. It uses plain "msys" like
# the original MSYS when building MSYS/MSYS2-binaries. Hopefully this
# doesn't break things for the original MSYS developers. Note that this
# doesn't affect normal MSYS/MSYS2 users building non-MSYS/MSYS2 binaries
# since in that case the $host_os is usually mingw32.
case $host_os in
cygwin) LN_EXEEXT= ;;
*) LN_EXEEXT='$(EXEEXT)' ;;
cygwin | msys) LN_EXEEXT= ;;
*) LN_EXEEXT='$(EXEEXT)' ;;
esac
AC_SUBST([LN_EXEEXT])
@@ -283,7 +289,7 @@ if test "x$enable_assembler" = xyes; then
case $host_os in
# Darwin should work too but only if not creating universal
# binaries. Solaris x86 could work too but I cannot test.
linux* | *bsd* | mingw* | cygwin* | *djgpp*)
linux* | *bsd* | mingw* | cygwin | msys | *djgpp*)
case $host_cpu in
i?86) enable_assembler=x86 ;;
x86_64) enable_assembler=x86_64 ;;
@@ -626,8 +632,8 @@ gl_GETOPT
# Find the best function to set timestamps.
AC_CHECK_FUNCS([futimens futimes futimesat utimes utime], [break])
# These are nice to have but not mandatory.
AC_CHECK_FUNCS([posix_fadvise pipe2])
# This is nice to have but not mandatory.
AC_CHECK_FUNCS([posix_fadvise])
TUKLIB_PROGNAME
TUKLIB_INTEGER

View File

@@ -11,7 +11,7 @@
# Supported methods:
# - GetSystemInfo(): Windows (including Cygwin)
# - sysctl(): BSDs, OS/2
# - sysconf(): GNU/Linux, Solaris, Tru64, IRIX, AIX, Cygwin (but
# - sysconf(): GNU/Linux, Solaris, Tru64, IRIX, AIX, QNX, Cygwin (but
# GetSystemInfo() is used on Cygwin)
# - pstat_getdynamic(): HP-UX
#
@@ -61,10 +61,17 @@ main(void)
}
]])], [tuklib_cv_cpucores_method=cpuset], [
# Look for sysctl() solution first, because on OS/2, both sysconf()
# and sysctl() pass the tests in this file, but only sysctl()
# actually works.
# On OS/2, both sysconf() and sysctl() pass the tests in this file,
# but only sysctl() works. On QNX it's the opposite: only sysconf() works
# (although it assumes that _POSIX_SOURCE, _XOPEN_SOURCE, and _POSIX_C_SOURCE
# are undefined or alternatively _QNX_SOURCE is defined).
#
# We test sysctl() first and intentionally break the sysctl() test on QNX
# so that sysctl() is never used on QNX.
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#ifdef __QNX__
compile error
#endif
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>

View File

@@ -10,8 +10,8 @@
#
# Supported methods:
#
# - Windows (including Cygwin), OS/2, DJGPP (DOS), and OpenVMS have
# operating-system specific functions.
# - Windows (including Cygwin), OS/2, DJGPP (DOS), OpenVMS, AROS,
# and QNX have operating-system specific functions.
#
# - AIX has _system_configuration.physmem.
#
@@ -54,7 +54,7 @@ AC_CACHE_CHECK([how to detect the amount of physical memory],
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__OS2__) \
|| defined(__DJGPP__) || defined(__VMS) \
|| defined(AMIGA) || defined(__AROS__)
|| defined(AMIGA) || defined(__AROS__) || defined(__QNX__)
int main(void) { return 0; }
#else
compile error

385
po/de.po
View File

@@ -6,9 +6,9 @@ msgid ""
msgstr ""
"Project-Id-Version: XZ Utils 4.999.9beta\n"
"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
"POT-Creation-Date: 2014-10-13 01:59+0200\n"
"PO-Revision-Date: 2010-09-07 20:27+0200\n"
"Last-Translator: <maan@tuebingen.mpg.de>\n"
"POT-Creation-Date: 2015-08-07 05:10+0200\n"
"PO-Revision-Date: 2015-08-07 14:00+0200\n"
"Last-Translator: <sqrt@entless.org>\n"
"Language-Team: German\n"
"Language: de\n"
"MIME-Version: 1.0\n"
@@ -33,16 +33,16 @@ msgstr "0 kann nur das letzte Element in --block-list sein"
#: src/xz/args.c:406
#, c-format
msgid "%s: Unknown file format type"
msgstr "%s: Unbekanntes file format"
msgstr "%s: Unbekanntes Dateiformat"
#: src/xz/args.c:429 src/xz/args.c:437
#, c-format
msgid "%s: Unsupported integrity check type"
msgstr "%s: Integritäts-Check Typ nicht unterstützt"
msgstr "%s: Integritäts-Check-Typ nicht unterstützt"
#: src/xz/args.c:473
msgid "Only one file can be specified with `--files' or `--files0'."
msgstr "Nur ein file kann als Argument für --files oder --files0 angegeben werden."
msgstr "Nur eine Datei kann als Argument für --files oder --files0 angegeben werden."
#: src/xz/args.c:541
#, c-format
@@ -55,31 +55,31 @@ msgstr "Maximal vier Filter möglich"
#: src/xz/coder.c:129
msgid "Memory usage limit is too low for the given filter setup."
msgstr "Das Speicher Limit ist zu niedrig für die gegebene Filter Konfiguration."
msgstr "Das Speicher-Limit ist zu niedrig für die gegebene Filter-Konfiguration."
#: src/xz/coder.c:159
msgid "Using a preset in raw mode is discouraged."
msgstr "Verwendung der Voreinstellung im raw Modus wird nicht empfohlen."
msgstr "Verwendung einer Voreinstellung im Raw-Modus wird nicht empfohlen."
#: src/xz/coder.c:161
msgid "The exact options of the presets may vary between software versions."
msgstr "Die genauen Optionen der Voreinstellung können zwischen Software Versionen variieren."
msgstr "Die genauen Optionen der Voreinstellung können zwischen Softwareversionen variieren."
#: src/xz/coder.c:184
msgid "The .lzma format supports only the LZMA1 filter"
msgstr "Das .lzma Format unterstützt nur den LZMA1 Filter"
msgstr "Das .lzma-Format unterstützt nur den LZMA1-Filter"
#: src/xz/coder.c:192
msgid "LZMA1 cannot be used with the .xz format"
msgstr "LZMA1 kann nicht mit dem .xz Format verwendet werden"
msgstr "LZMA1 kann nicht mit dem .xz-Format verwendet werden"
#: src/xz/coder.c:209
msgid "The filter chain is incompatible with --flush-timeout"
msgstr "Diese Filter Kette ist inkompatibel zu --flush-timeout"
msgstr "Diese Filterkette ist inkompatibel zu --flush-timeout"
#: src/xz/coder.c:215
msgid "Switching to single-threaded mode due to --flush-timeout"
msgstr "Schalte um auf Single-Thread Modus wegen --flush-timeout"
msgstr "Schalte um auf Single-Thread-Modus wegen --flush-timeout"
#: src/xz/coder.c:234
#, c-format
@@ -93,24 +93,36 @@ msgstr "Optionen nicht unterstützt"
#: src/xz/coder.c:255
#, c-format
msgid "Decompression will need %s MiB of memory."
msgstr "Dekompression wird %s MiB Speicher brauchen."
msgstr "Dekomprimierung wird %s MiB Speicher brauchen."
#: src/xz/coder.c:290
#, c-format
msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
msgstr "Passte die Anzahl Threads von %s auf %s an um nicht das Speicher Nutzungslimit von %s MiB zu übersteigen"
msgstr "Passte die Anzahl Threads von %s auf %s an um nicht das Speichernutzungslimit von %s MiB zu übersteigen"
#: src/xz/coder.c:344
#, c-format
msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
msgstr "Passte LZMA%c Wörterbuch Größe von %s MiB to %s MiB an, um nicht das Speicher Nutzungslimit von %s MiB zu übersteigen"
msgstr "Passte LZMA%c-Wörterbuchgröße von %s MiB to %s MiB an, um nicht das Speichernutzungslimit von %s MiB zu übersteigen"
#: src/xz/file_io.c:90
#: src/xz/file_io.c:100 src/xz/file_io.c:108
#, c-format
msgid "Error creating a pipe: %s"
msgstr "Fehler beim Erzeugen der Pipeline: %s"
#: src/xz/file_io.c:166
#: src/xz/file_io.c:163
msgid "Sandbox is disabled due to incompatible command line arguments"
msgstr "Sandbox ist wegen inkompatibler Kommandozeilenargumente deaktiviert"
#: src/xz/file_io.c:206
msgid "Sandbox was successfully enabled"
msgstr "Sandbox wurde erfolgreich aktiviert"
#: src/xz/file_io.c:210
msgid "Failed to enable the sandbox"
msgstr "Konnte Sandbox nicht aktivieren"
#: src/xz/file_io.c:252
#, c-format
msgid "%s: poll() failed: %s"
msgstr "%s: poll() Fehler: %s"
@@ -125,117 +137,107 @@ msgstr "%s: poll() Fehler: %s"
#. it is possible that the user has put a new file in place
#. of the original file, and in that case it obviously
#. shouldn't be removed.
#: src/xz/file_io.c:236
#: src/xz/file_io.c:322
#, c-format
msgid "%s: File seems to have been moved, not removing"
msgstr "%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht"
#: src/xz/file_io.c:243 src/xz/file_io.c:761
#: src/xz/file_io.c:329 src/xz/file_io.c:847
#, c-format
msgid "%s: Cannot remove: %s"
msgstr "%s: Kann nicht löschen: %s"
#: src/xz/file_io.c:268
#: src/xz/file_io.c:354
#, c-format
msgid "%s: Cannot set the file owner: %s"
msgstr "%s: Kann Datei Eigentümer nicht setzen: %s"
msgstr "%s: Kann Dateieigentümer nicht setzen: %s"
#: src/xz/file_io.c:274
#: src/xz/file_io.c:360
#, c-format
msgid "%s: Cannot set the file group: %s"
msgstr "%s: Kann Datei Gruppe nicht setzen: %s"
msgstr "%s: Kann Dateigruppe nicht setzen: %s"
#: src/xz/file_io.c:293
#: src/xz/file_io.c:379
#, c-format
msgid "%s: Cannot set the file permissions: %s"
msgstr "%s: Kann Zugriffsrechte nicht setzen: %s"
#: src/xz/file_io.c:399
#: src/xz/file_io.c:489
#, c-format
msgid "Error getting the file status flags from standard input: %s"
msgstr "Kann Status Flags der Standardeingabe nicht ermitteln: %s"
msgstr "Kann Status-Flags der Standardeingabe nicht ermitteln: %s"
#: src/xz/file_io.c:408
#, c-format
msgid "Error setting O_NONBLOCK on standard input: %s"
msgstr "Fehler beim Setzen des O_NONBLOCK Flags für Standard Output: %s"
#: src/xz/file_io.c:460 src/xz/file_io.c:522
#: src/xz/file_io.c:543 src/xz/file_io.c:605
#, c-format
msgid "%s: Is a symbolic link, skipping"
msgstr "%s: Überspringe symbolischen Verweis"
msgstr "%s: Überspringe symbolischen Link"
#: src/xz/file_io.c:551
#: src/xz/file_io.c:634
#, c-format
msgid "%s: Is a directory, skipping"
msgstr "%s: Überspringe Verzeichnis"
#: src/xz/file_io.c:557
#: src/xz/file_io.c:640
#, c-format
msgid "%s: Not a regular file, skipping"
msgstr "%s: Keine reguläre Datei, überspringe"
#: src/xz/file_io.c:574
#: src/xz/file_io.c:657
#, c-format
msgid "%s: File has setuid or setgid bit set, skipping"
msgstr "%s: Datei hat das setuid oder setgid Bit gesetzt, überspringe"
msgstr "%s: Datei hat das setuid- oder setgid-Bit gesetzt, überspringe"
#: src/xz/file_io.c:581
#: src/xz/file_io.c:664
#, c-format
msgid "%s: File has sticky bit set, skipping"
msgstr "%s: Datei hat sticky Bit gesetzt, überspringe"
msgstr "%s: Datei hat sticky-Bit gesetzt, überspringe"
#: src/xz/file_io.c:588
#: src/xz/file_io.c:671
#, c-format
msgid "%s: Input file has more than one hard link, skipping"
msgstr "%s: Eingabedatei hat mehr als einen hard link, überspringe"
msgstr "%s: Eingabedatei hat mehr als einen Hard Link, überspringe"
#: src/xz/file_io.c:668
#: src/xz/file_io.c:756
#, c-format
msgid "Error restoring the status flags to standard input: %s"
msgstr "Fehler beim Wiederherstellen der Status Flags für die Standardausgabe: %s"
msgstr "Fehler beim Wiederherstellen der Status-Flags für die Standardausgabe: %s"
#: src/xz/file_io.c:714
#: src/xz/file_io.c:805
#, c-format
msgid "Error getting the file status flags from standard output: %s"
msgstr "Kann Status Flags der Standardausgabe nicht ermitteln: %s"
msgstr "Kann Status-Flags der Standardausgabe nicht ermitteln: %s"
#: src/xz/file_io.c:723
#, c-format
msgid "Error setting O_NONBLOCK on standard output: %s"
msgstr "Fehler beim Setzen von O_NONBLOCK für die Standardausgabe: %s"
#: src/xz/file_io.c:896
#: src/xz/file_io.c:983
#, c-format
msgid "Error restoring the O_APPEND flag to standard output: %s"
msgstr "Fehler beim Wiederherstellen des O_APPEND flags bei Standard Output: %s"
msgstr "Fehler beim Wiederherstellen des O_APPEND-Flags bei Standardausgabe: %s"
#: src/xz/file_io.c:908
#: src/xz/file_io.c:995
#, c-format
msgid "%s: Closing the file failed: %s"
msgstr "%s: Fehler beim Schließen der Datei: %s"
#: src/xz/file_io.c:944 src/xz/file_io.c:1170
#: src/xz/file_io.c:1031 src/xz/file_io.c:1257
#, c-format
msgid "%s: Seeking failed when trying to create a sparse file: %s"
msgstr "%s: Positionierungsfehler beim Versuch eine sparse Datei zu erzeugen: %s"
msgstr "%s: Positionierungsfehler beim Versuch eine sparse (dünnbesetzte) Datei zu erzeugen: %s"
#: src/xz/file_io.c:1039
#: src/xz/file_io.c:1126
#, c-format
msgid "%s: Read error: %s"
msgstr "%s: Lesefehler: %s"
#: src/xz/file_io.c:1059
#: src/xz/file_io.c:1146
#, c-format
msgid "%s: Error seeking the file: %s"
msgstr "%s: Fehler beim Lesen der Dateinamen: %s"
#: src/xz/file_io.c:1069
#: src/xz/file_io.c:1156
#, c-format
msgid "%s: Unexpected end of file"
msgstr "%s: Unerwartetes Ende der Datei"
#: src/xz/file_io.c:1128
#: src/xz/file_io.c:1215
#, c-format
msgid "%s: Write error: %s"
msgstr "%s: Schreibfehler: %s"
@@ -248,15 +250,15 @@ msgstr "Deaktiviert"
#. the alignment looks nice.
#: src/xz/hardware.c:126
msgid "Total amount of physical memory (RAM): "
msgstr "Gesamtmenge physikalischer Speicher (RAM): "
msgstr "Gesamtmenge physikalischer Speicher (RAM): "
#: src/xz/hardware.c:128
msgid "Memory usage limit for compression: "
msgstr "Speicher Nutzungslimit für Kompression: "
msgstr "Speichernutzungslimit für Komprimierung: "
#: src/xz/hardware.c:130
msgid "Memory usage limit for decompression: "
msgstr "Speicher Nutzungslimit für Dekompression: "
msgstr "Speichernutzungslimit für Dekomprimierung: "
#. TRANSLATORS: Indicates that there is no integrity check.
#. This string is used in tables, so the width must not
@@ -326,7 +328,7 @@ msgstr "%s: Datei ist leer"
#: src/xz/list.c:158
#, c-format
msgid "%s: Too small to be a valid .xz file"
msgstr "%s: Zu klein um ein gültiges .xz file zu sein"
msgstr "%s: Zu klein um eine gültige .xz-Datei zu sein"
#. TRANSLATORS: These are column headings. From Strms (Streams)
#. to Ratio, the columns are right aligned. Check and Filename
@@ -369,7 +371,7 @@ msgstr " Check: %s\n"
#: src/xz/list.c:724
#, c-format
msgid " Stream padding: %s\n"
msgstr " Strom Auffüllung: %s\n"
msgstr " Strom-Auffüllung: %s\n"
#. TRANSLATORS: The second line is column headings. All except
#. Check are right aligned; Check is left aligned. Test with
@@ -426,7 +428,7 @@ msgstr "Nein"
#: src/xz/list.c:901 src/xz/list.c:1076
#, c-format
msgid " Minimum XZ Utils version: %s\n"
msgstr " Kleinste XZ Utils version: %s\n"
msgstr " Kleinste XZ Utils-Version: %s\n"
#. TRANSLATORS: %s is an integer. Only the plural form of this
#. message is used (e.g. "2 files"). Test with "xz -l foo.xz bar.xz".
@@ -448,7 +450,7 @@ msgstr " Anzahl Dateien: %s\n"
#: src/xz/list.c:1140
msgid "--list works only on .xz files (--format=xz or --format=auto)"
msgstr "--list funktioniert nur mit .xz Dateien (--format=xz oder --format=auto)"
msgstr "--list funktioniert nur mit .xz-Dateien (--format=xz oder --format=auto)"
#: src/xz/list.c:1146
msgid "--list does not support reading from standard input"
@@ -467,13 +469,13 @@ msgstr "%s: Unerwartetes Ende beim Lesen der Dateinamen"
#: src/xz/main.c:120
#, c-format
msgid "%s: Null character found when reading filenames; maybe you meant to use `--files0' instead of `--files'?"
msgstr "%s: Null Charakter gefunden beim Lesen der Dateinamen; Meinten Sie `--files0' statt `--files'?"
msgstr "%s: Null-Zeichen gefunden beim Lesen der Dateinamen; Meinten Sie `--files0' statt `--files'?"
#: src/xz/main.c:174
msgid "Compression and decompression with --robot are not supported yet."
msgstr "Kompression und Dekompression mit --robot ist noch nicht unterstützt."
msgstr "Komprimierung und Dekomprimierung mit --robot ist noch nicht unterstützt."
#: src/xz/main.c:231
#: src/xz/main.c:249
msgid "Cannot read data from standard input when reading filenames from standard input"
msgstr "Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von der Standardeingabe gelesen werden"
@@ -481,68 +483,68 @@ msgstr "Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch v
#. of the line in messages. Usually it becomes "xz: ".
#. This is a translatable string because French needs
#. a space before a colon.
#: src/xz/message.c:713
#: src/xz/message.c:714
#, c-format
msgid "%s: "
msgstr "%s: "
#: src/xz/message.c:776 src/xz/message.c:826
#: src/xz/message.c:777 src/xz/message.c:827
msgid "Internal error (bug)"
msgstr "Interner Fehler (Bug)"
#: src/xz/message.c:783
#: src/xz/message.c:784
msgid "Cannot establish signal handlers"
msgstr "Kann Signal Routine nicht setzen"
msgstr "Kann Signalroutine nicht setzen"
#: src/xz/message.c:792
#: src/xz/message.c:793
msgid "No integrity check; not verifying file integrity"
msgstr "Kein Integritäts-Check; werde Datei-Integrität nicht überprüfen"
#: src/xz/message.c:795
#: src/xz/message.c:796
msgid "Unsupported type of integrity check; not verifying file integrity"
msgstr "Typ des Integritäts-Checks nicht unterstützt; werde Datei-Integrität nicht überprüfen"
#: src/xz/message.c:802
#: src/xz/message.c:803
msgid "Memory usage limit reached"
msgstr "Speicher-Limit erreicht"
msgstr "Speichernutzungslimit erreicht"
#: src/xz/message.c:805
#: src/xz/message.c:806
msgid "File format not recognized"
msgstr "Datei Format nicht erkannt"
msgstr "Dateiformat nicht erkannt"
#: src/xz/message.c:808
#: src/xz/message.c:809
msgid "Unsupported options"
msgstr "Optionen nicht unterstützt"
#: src/xz/message.c:811
#: src/xz/message.c:812
msgid "Compressed data is corrupt"
msgstr "Komprimierte Daten sind korrupt"
#: src/xz/message.c:814
#: src/xz/message.c:815
msgid "Unexpected end of input"
msgstr "Unerwartetes Eingabe Ende"
msgstr "Unerwartetes Ende der Eingabe"
#: src/xz/message.c:847
#: src/xz/message.c:848
#, c-format
msgid "%s MiB of memory is required. The limiter is disabled."
msgstr "%s MiB Speicher wird benötigt. Der Begrenzer ist deaktiviert."
#: src/xz/message.c:875
#: src/xz/message.c:876
#, c-format
msgid "%s MiB of memory is required. The limit is %s."
msgstr "%s MiB Speicher wird benötigt. Limit ist %s."
#: src/xz/message.c:1042
#: src/xz/message.c:1043
#, c-format
msgid "%s: Filter chain: %s\n"
msgstr "%s: Filter Kette: %s\n"
msgstr "%s: Filterkette: %s\n"
#: src/xz/message.c:1052
#: src/xz/message.c:1053
#, c-format
msgid "Try `%s --help' for more information."
msgstr "Versuchen Sie `%s --help' für mehr Informationen."
#: src/xz/message.c:1078
#: src/xz/message.c:1079
#, c-format
msgid ""
"Usage: %s [OPTION]... [FILE]...\n"
@@ -550,32 +552,32 @@ msgid ""
"\n"
msgstr ""
"Benutzung: %s [OPTION]... [DATEI]...\n"
"Komprimiert oder dekomprimiert .xz DATEI(EN).\n"
"Komprimiert oder dekomprimiert .xz-DATEI(EN).\n"
"\n"
#: src/xz/message.c:1085
#: src/xz/message.c:1086
msgid "Mandatory arguments to long options are mandatory for short options too.\n"
msgstr ""
"Obligatorische Argumente für lange Optionen sind auch für kurze Optionen\n"
"zwingend.\n"
#: src/xz/message.c:1089
#: src/xz/message.c:1090
msgid " Operation mode:\n"
msgstr " Operationsmodus:\n"
#: src/xz/message.c:1092
#: src/xz/message.c:1093
msgid ""
" -z, --compress force compression\n"
" -d, --decompress force decompression\n"
" -t, --test test compressed file integrity\n"
" -l, --list list information about .xz files"
msgstr ""
" -z, --compress erzwinge Komprimierung\n"
" -d, --decompress erzwinge Dekomprimierung\n"
" -t, --test überprüfe Datei Integrität\n"
" -l, --list liste Datei Informationen"
" -z, --compress Erzwinge Komprimierung\n"
" -d, --decompress Erzwinge Dekomprimierung\n"
" -t, --test Überprüfe Dateiintegrität\n"
" -l, --list Führe Dateiinformationen auf"
#: src/xz/message.c:1098
#: src/xz/message.c:1099
msgid ""
"\n"
" Operation modifiers:\n"
@@ -583,27 +585,27 @@ msgstr ""
"\n"
" Operationsmodifikatoren:\n"
#: src/xz/message.c:1101
#: src/xz/message.c:1102
msgid ""
" -k, --keep keep (don't delete) input files\n"
" -f, --force force overwrite of output file and (de)compress links\n"
" -c, --stdout write to standard output and don't delete input files"
msgstr ""
" -k, --keep Eingabedateien beibehalten (nicht löschen)\n"
" -f, --force erzwinge Überschreiben der Ausgabedatei und\n"
" -f, --force Erzwinge Überschreiben der Ausgabedatei und\n"
" (de)komprimiere Verweise (Links)\n"
" -c, --stdout schreibe nach Standard Output und lösche nicht die\n"
" -c, --stdout Schreibe nach Standardausgabe und lösche nicht die\n"
" Eingabedateien"
#: src/xz/message.c:1107
#: src/xz/message.c:1108
msgid ""
" --single-stream decompress only the first stream, and silently\n"
" ignore possible remaining input data"
msgstr ""
" --single-stream dekomprimiere nur den ersten Datenstrom und ignoriere\n"
" --single-stream Dekomprimiere nur den ersten Datenstrom und ignoriere\n"
" stillschweigend mögliche weitere Eingabedaten"
#: src/xz/message.c:1110
#: src/xz/message.c:1111
msgid ""
" --no-sparse do not create sparse files when decompressing\n"
" -S, --suffix=.SUF use the suffix `.SUF' on compressed files\n"
@@ -612,23 +614,24 @@ msgid ""
" filenames must be terminated with the newline character\n"
" --files0[=FILE] like --files but use the null character as terminator"
msgstr ""
" --no-sparse erzeuge keine sparse Datei beim Dekomprimieren\n"
" -S, --suffix=.SUF benutze `.SUF' Endung für komprimierte Dateien\n"
" --files=[DATEI] lese zu verarbeitende Dateinamen von DATEI; falls\n"
" --no-sparse Erzeuge beim Dekomprimieren keine dünnbesetzten\n"
" (sparse) Dateien\n"
" -S, --suffix=.SUF Benutze `.SUF' als Endung für komprimierte Dateien\n"
" --files=[DATEI] Lese zu verarbeitende Dateinamen von DATEI; falls\n"
" DATEI nicht angegeben wurde, werden Dateinamen\n"
" von Standard Input gelesen. Dateinamen müssen mit\n"
" von der Standardeingabe gelesen. Dateinamen müssen mit\n"
" einem Zeilenumbruch voneinander getrennt werden\n"
" --files0=[DATEI] wie --files, aber benutze den Null Charakter als Trenner"
" --files0=[DATEI] Wie --files, aber benutze das Null-Zeichen als Trenner"
#: src/xz/message.c:1119
#: src/xz/message.c:1120
msgid ""
"\n"
" Basic file format and compression options:\n"
msgstr ""
"\n"
" Grundlegende Optionen für Dateiformat und Kompression:\n"
" Grundlegende Optionen für Dateiformat und Komprimierung:\n"
#: src/xz/message.c:1121
#: src/xz/message.c:1122
msgid ""
" -F, --format=FMT file format to encode or decode; possible values are\n"
" `auto' (default), `xz', `lzma', and `raw'\n"
@@ -641,61 +644,61 @@ msgstr ""
" -C, --check=CHECK Typ des Integritätschecks: `none' (Vorsicht), `crc32',\n"
" `crc64' (Voreinstellung), oder `sha256'"
#: src/xz/message.c:1126
#: src/xz/message.c:1127
msgid " --ignore-check don't verify the integrity check when decompressing"
msgstr " --ignore-check überprüfe nicht den Integritätscheck beim Dekomprimieren"
#: src/xz/message.c:1130
#: src/xz/message.c:1131
msgid ""
" -0 ... -9 compression preset; default is 6; take compressor *and*\n"
" decompressor memory usage into account before using 7-9!"
msgstr ""
" -0 .. -9 Kompressionseinstellung; Voreinstellung is 6. Beachten\n"
" Sie den Speicherverbrauch des Komprimieres *und* des\n"
" Sie den Speicherverbrauch des Komprimierers *und* des\n"
" Dekomprimierers, wenn Sie 7-9 benutzen!"
#: src/xz/message.c:1134
#: src/xz/message.c:1135
msgid ""
" -e, --extreme try to improve compression ratio by using more CPU time;\n"
" does not affect decompressor memory requirements"
msgstr ""
" -e, --extreme Versuche durch stärkere CPU Nutzung das Kompressions-\n"
" verhältnis zu verbessern. Das beeinflusst nicht den\n"
" -e, --extreme Versuche durch stärkere CPU-Nutzung das Kompressions-\n"
" verhältnis zu verbessern. Dies beeinflusst nicht den\n"
" Speicherbedarf des Dekomprimierers."
#: src/xz/message.c:1138
#: src/xz/message.c:1139
msgid ""
" -T, --threads=NUM use at most NUM threads; the default is 1; set to 0\n"
" to use as many threads as there are processor cores"
msgstr ""
" -T, --threads=ZAHL erzeuge höchstens ZAHL viele Threads; die Grund-\n"
" -T, --threads=ZAHL Erzeuge höchstens ZAHL viele Threads; die Grund-\n"
" einstellung ist 1. Wenn der Wert 0 angegeben wird, dann\n"
" werden so viele Threads erzeugt wie es Prozessor Kerne\n"
" werden so viele Threads erzeugt, wie es Prozessorkerne\n"
" gibt"
#: src/xz/message.c:1143
#: src/xz/message.c:1144
msgid ""
" --block-size=SIZE\n"
" start a new .xz block after every SIZE bytes of input;\n"
" use this to set the block size for threaded compression"
msgstr ""
" --block-size=GRÖßE\n"
" beginne einen neuen .xz Block nach GRÖßE Input Bytes;\n"
" --block-size=GRÖE\n"
" Beginne einen neuen .xz-Block nach GRÖE Bytes Eingabe;\n"
" Benutzen Sie diese Option um die Block Größe für\n"
" Kompression mit mehreren Threads zu setzen"
" Komprimierung mit mehreren Threads zu setzen"
#: src/xz/message.c:1147
#: src/xz/message.c:1148
msgid ""
" --block-list=SIZES\n"
" start a new .xz block after the given comma-separated\n"
" intervals of uncompressed data"
msgstr ""
" --block-list=GRÖßEN\n"
" beginne einen neuen .xz Block gemäß der angegebenen,\n"
" --block-list=GRÖEN\n"
" Beginne einen neuen .xz-Block gemäß der angegebenen,\n"
" durch Kommata getrennten Intervalle an unkomprimierten\n"
" Daten"
#: src/xz/message.c:1151
#: src/xz/message.c:1152
msgid ""
" --flush-timeout=TIMEOUT\n"
" when compressing, if more than TIMEOUT milliseconds has\n"
@@ -703,13 +706,13 @@ msgid ""
" would block, all pending data is flushed out"
msgstr ""
" --flush-timeout=ZEITÜBERSCHREITUNG\n"
" wenn beim Komprimieren mehr als ZEITÜBERSCHREITUNG\n"
" Millisekunden vergangen sind seit der letzten Flush\n"
" Operation, und das Lesen von zusätzlichem Input den\n"
" Prozess blockieren würde, dann werden alle noch aus-\n"
" stehenden Daten geschrieben"
" Wenn beim Komprimieren mehr als ZEITÜBERSCHREITUNG\n"
" Millisekunden seit der letzten Flush-Operation ver-\n"
" gangen sind und das Lesen von zusätzlichen Eingabe-\n"
" daten den Prozess blockieren würde, dann werden alle\n"
" noch ausstehenden Daten geschrieben"
#: src/xz/message.c:1157
#: src/xz/message.c:1158
#, no-c-format
msgid ""
" --memlimit-compress=LIMIT\n"
@@ -720,28 +723,28 @@ msgid ""
msgstr ""
" --memlimit-compress=LIMIT\n"
" --memlimit-decompress=LIMIT\n"
" -M, --memlimit=LIMIT Setze Speicher Nutzungslimit für Kompression,\n"
" Dekompression, oder beides; LIMIT ist in bytes, % RAM,\n"
" oder 0 für Grundeinstellungen."
" -M, --memlimit=LIMIT Setze Speichernutzungslimit für Komprimierung,\n"
" Dekomprimierung, oder beides; LIMIT ist in Bytes, % RAM,\n"
" oder 0 für Verwenden der Grundeinstellungen."
#: src/xz/message.c:1164
#: src/xz/message.c:1165
msgid ""
" --no-adjust if compression settings exceed the memory usage limit,\n"
" give an error instead of adjusting the settings downwards"
msgstr ""
" --no-adjust Wenn die Kompressionseinstellungen das Speicher\n"
" Nutzungslimit übersteigen, erzeuge einen Fehler statt\n"
" --no-adjust Wenn die Kompressionseinstellungen das Speicher-\n"
" nutzungslimit übersteigen, erzeuge einen Fehler statt\n"
" die Einstellungen nach unten anzupassen."
#: src/xz/message.c:1170
#: src/xz/message.c:1171
msgid ""
"\n"
" Custom filter chain for compression (alternative for using presets):"
msgstr ""
"\n"
" User-definierte Filter Kette für Kompression (alternativ zu Voreinstellung):"
" Benutzerdef. Filterkette für Komprimierung (alternativ zu Voreinstellung):"
#: src/xz/message.c:1179
#: src/xz/message.c:1180
msgid ""
"\n"
" --lzma1[=OPTS] LZMA1 or LZMA2; OPTS is a comma-separated list of zero or\n"
@@ -758,14 +761,14 @@ msgid ""
msgstr ""
"\n"
" --lzma1[=OPTIONEN] LZMA1 oder LZMA2; OPTIONEN ist eine durch Kommata\n"
" --lzma2[=OPTIONEN] getrennte Liste bestehend aus den folgenden Optionen\n"
" --lzma2[=OPTIONEN] Getrennte Liste bestehend aus den folgenden Optionen\n"
" (zulässige Werte; Voreinstellung):\n"
" preset=NUM Setze Optionen zurück zu Voreinstellung\n"
" (0-9[e])\n"
" dict=NUM Wörterbuch Größe (4 KiB - 1536 MiB; 8 MiB)\n"
" lc=NUM Anzahl der Literal Kontext Bits (0-4; 3)\n"
" lp=NUM Anzahl der Literal Positionsbits (0-4; 0)\n"
" pb=NUM Anzahl der Positionsbits (0-4; 2)\n"
" dict=NUM Wörterbuchgröße (4 KiB - 1536 MiB; 8 MiB)\n"
" lc=NUM Anzahl der Literal-Kontext-Bits (0-4; 3)\n"
" lp=NUM Anzahl der Literal-Positions-Bits (0-4; 0)\n"
" pb=NUM Anzahl der Positions-Bits (0-4; 2)\n"
" mode=MODUS Kompressionsmodus (fast, normal; normal)\n"
" nice=NUM Nice-Länge eines Treffers (2-273; 64)\n"
" mf=NAME Algorithmus zum Auffinden von\n"
@@ -774,7 +777,7 @@ msgstr ""
" depth=NUM Maximale Suchtiefe; 0=automatisch\n"
" (Voreinstellung)"
#: src/xz/message.c:1194
#: src/xz/message.c:1195
msgid ""
"\n"
" --x86[=OPTS] x86 BCJ filter (32-bit and 64-bit)\n"
@@ -787,17 +790,17 @@ msgid ""
" start=NUM start offset for conversions (default=0)"
msgstr ""
"\n"
" --x86[=OPTIONEN] x86 BCJ Filter (32-bit und 64-bit)\n"
" --powerpc[=OPTIONEN] PowerPC BCJ Filter (nur big endian)\n"
" --ia64[=OPTIONEN] IA64 (Itanium) BCJ Filter\n"
" --arm[=OPTIONEN] ARM BCJ Filter (nur little endian)\n"
" --armthumb[=OPTIONEN] ARM-Thumb BCJ Filter (nur little endian)\n"
" --sparc[=OPTIONEN] SPARC BCJ Filter\n"
" Zulässige Optionen für alle BCJ Filter:\n"
" --x86[=OPTIONEN] x86 BCJ-Filter (32-bit und 64-bit)\n"
" --powerpc[=OPTIONEN] PowerPC-BCJ-Filter (nur Big Endian)\n"
" --ia64[=OPTIONEN] IA64-(Itanium-)BCJ-Filter\n"
" --arm[=OPTIONEN] ARM-BCJ-Filter (nur Little Endian)\n"
" --armthumb[=OPTIONEN] ARM-Thumb-BCJ-Filter (nur Little Endian)\n"
" --sparc[=OPTIONEN] SPARC-BCJ-Filter\n"
" Zulässige Optionen für alle BCJ-Filter:\n"
" start=NUM Start-Offset für Konversion\n"
" (Voreinstellung=0)"
#: src/xz/message.c:1206
#: src/xz/message.c:1207
msgid ""
"\n"
" --delta[=OPTS] Delta filter; valid OPTS (valid values; default):\n"
@@ -805,12 +808,12 @@ msgid ""
" from each other (1-256; 1)"
msgstr ""
"\n"
" --delta[=OPTIONEN] Delta Filter; zulässige Optionen (gültige Werte;\n"
" --delta[=OPTIONEN] Delta-Filter; zulässige Optionen (gültige Werte;\n"
" Voreinstellung):\n"
" dist=NUM Abstand zwischen den Bytes, die voneinander\n"
" subtrahiert werden (1-256; 1)"
#: src/xz/message.c:1214
#: src/xz/message.c:1215
msgid ""
"\n"
" Other options:\n"
@@ -818,55 +821,55 @@ msgstr ""
"\n"
" Andere Optionen:\n"
#: src/xz/message.c:1217
#: src/xz/message.c:1218
msgid ""
" -q, --quiet suppress warnings; specify twice to suppress errors too\n"
" -v, --verbose be verbose; specify twice for even more verbose"
msgstr ""
" -q, --quiet unterdrücke Warnungen; benutze diese Option zweimal\n"
" -q, --quiet Unterdrücke Warnungen; benutze diese Option zweimal\n"
" um auch Fehlermeldungen zu unterdrücken\n"
" -v, --verbose sei gesprächig; benutze diese Option zweimal um noch\n"
" -v, --verbose Sei gesprächig; benutze diese Option zweimal um noch\n"
" gesprächiger zu sein"
#: src/xz/message.c:1222
#: src/xz/message.c:1223
msgid " -Q, --no-warn make warnings not affect the exit status"
msgstr " -Q, --no-warn Warnungen verändern nicht den exit status"
msgstr " -Q, --no-warn Warnungen verändern nicht den Exit Status"
#: src/xz/message.c:1224
#: src/xz/message.c:1225
msgid " --robot use machine-parsable messages (useful for scripts)"
msgstr ""
" --robot benutze Maschinen-lesbare Meldungen (nützlich für\n"
" --robot Benutze maschinen-lesbare Meldungen (nützlich für\n"
" Skripte)"
#: src/xz/message.c:1227
#: src/xz/message.c:1228
msgid ""
" --info-memory display the total amount of RAM and the currently active\n"
" memory usage limits, and exit"
msgstr " --info-memory zeige Speicherlimit an und terminiere"
msgstr " --info-memory Zeige Speicherlimit an und terminiere"
#: src/xz/message.c:1230
#: src/xz/message.c:1231
msgid ""
" -h, --help display the short help (lists only the basic options)\n"
" -H, --long-help display this long help and exit"
msgstr ""
" -h, --help zeige kurze Hilfe and (zeigt nur die grundlegenden\n"
" -h, --help Zeige kurze Hilfe an (zeigt nur die grundlegenden\n"
" Optionen)\n"
" -H, --long-help zeige diese lange Hilfe an und terminiere"
" -H, --long-help Zeige diese lange Hilfe an und terminiere"
#: src/xz/message.c:1234
#: src/xz/message.c:1235
msgid ""
" -h, --help display this short help and exit\n"
" -H, --long-help display the long help (lists also the advanced options)"
msgstr ""
" -h, --help zeige diese kurze Hilfe an und terminiere\n"
" -H, --long-help zeige die lange Hilfe an (zeigt auch fortgeschrittene\n"
" -h, --help Zeige diese kurze Hilfe an und terminiere\n"
" -H, --long-help Zeige die lange Hilfe an (zeigt auch fortgeschrittene\n"
" Optionen an)"
#: src/xz/message.c:1239
#: src/xz/message.c:1240
msgid " -V, --version display the version number and exit"
msgstr " -V, --version zeige Versionsnummer an und terminiere"
msgstr " -V, --version Zeige Versionsnummer an und terminiere"
#: src/xz/message.c:1241
#: src/xz/message.c:1242
msgid ""
"\n"
"With no FILE, or when FILE is -, read standard input.\n"
@@ -879,21 +882,21 @@ msgstr ""
#. for this package. Please add _another line_ saying
#. "Report translation bugs to <...>\n" with the email or WWW
#. address for translation bugs. Thanks.
#: src/xz/message.c:1247
#: src/xz/message.c:1248
#, c-format
msgid "Report bugs to <%s> (in English or Finnish).\n"
msgstr ""
"Melde Bugs an <%s> (in englisch oder finnisch).\n"
"Melde Übersetzungsfehler an <maan@tuebingen.mpg.de> (in englisch oder deutsch).\n"
"Melde Bugs an <%s> (auf Englisch oder Finnisch).\n"
"Melde Übersetzungsfehler an <maan@tuebingen.mpg.de> (auf Engl. oder Deutsch).\n"
#: src/xz/message.c:1249
#: src/xz/message.c:1250
#, c-format
msgid "%s home page: <%s>\n"
msgstr "%s Homepage: <%s>\n"
#: src/xz/message.c:1253
#: src/xz/message.c:1254
msgid "THIS IS A DEVELOPMENT VERSION NOT INTENDED FOR PRODUCTION USE."
msgstr "DAS IST EINE ENTWICKLERVERSION, DIE NICHT FÜR DEN PRODUKTIVBETRIEB GEEIGNET IST."
msgstr "DIES IST EINE NICHT FÜR DEN PRODUKTIVBETRIEB GEEIGNETE ENTWICKLERVERSION."
#: src/xz/options.c:86
#, c-format
@@ -937,12 +940,12 @@ msgstr "%s: Dateiname hat unbekannte Endung, überspringe"
#: src/xz/suffix.c:185
#, c-format
msgid "%s: File already has `%s' suffix, skipping"
msgstr "%s: Datei hat bereits `%s' Endung, überspringe"
msgstr "%s: Datei hat bereits `%s'-Endung, überspringe"
#: src/xz/suffix.c:393
#, c-format
msgid "%s: Invalid filename suffix"
msgstr "%s: Ungültige Datei Endung"
msgstr "%s: Ungültige Dateiendung"
#: src/xz/util.c:71
#, c-format
@@ -965,7 +968,7 @@ msgstr "Wert der Option `%s' muss im Bereich [%<PRIu64>, %<PRIu64>] sein"
#: src/xz/util.c:257
msgid "Empty filename, skipping"
msgstr "Leere Dateiname, überspringe"
msgstr "Leerer Dateiname, überspringe"
#: src/xz/util.c:271
msgid "Compressed data cannot be read from a terminal"
@@ -982,3 +985,9 @@ msgstr "Schreiben auf die Standardausgabe fehlgeschlagen"
#: src/common/tuklib_exit.c:42
msgid "Unknown error"
msgstr "Unbekannter Fehler"
#~ msgid "Error setting O_NONBLOCK on standard input: %s"
#~ msgstr "Fehler beim Setzen des O_NONBLOCK-Flags für Standardausgabe: %s"
#~ msgid "Error setting O_NONBLOCK on standard output: %s"
#~ msgstr "Fehler beim Setzen von O_NONBLOCK für die Standardausgabe: %s"

View File

@@ -37,7 +37,10 @@
# define __USE_INLINE__
# include <proto/exec.h>
// AIX
#elif defined(__QNX__)
# include <sys/syspage.h>
# include <string.h>
#elif defined(TUKLIB_PHYSMEM_AIX)
# include <sys/systemcfg.h>
@@ -126,6 +129,15 @@ tuklib_physmem(void)
#elif defined(AMIGA) || defined(__AROS__)
ret = AvailMem(MEMF_TOTAL);
#elif defined(__QNX__)
const struct asinfo_entry *entries = SYSPAGE_ENTRY(asinfo);
size_t count = SYSPAGE_ENTRY_SIZE(asinfo) / sizeof(struct asinfo_entry);
const char *strings = SYSPAGE_ENTRY(strings)->data;
for (size_t i = 0; i < count; ++i)
if (strcmp(strings + entries[i].name, "ram") == 0)
ret += entries[i].end - entries[i].start + 1;
#elif defined(TUKLIB_PHYSMEM_AIX)
ret = _system_configuration.physmem;

View File

@@ -24,7 +24,7 @@ liblzma_la_CPPFLAGS = \
-I$(top_srcdir)/src/liblzma/simple \
-I$(top_srcdir)/src/common \
-DTUKLIB_SYMBOL_PREFIX=lzma_
liblzma_la_LDFLAGS = -no-undefined -version-info 7:1:2
liblzma_la_LDFLAGS = -no-undefined -version-info 7:2:2
EXTRA_DIST += liblzma.map validate_map.sh
if COND_SYMVERS

View File

@@ -82,12 +82,20 @@
# if !defined(UINT32_C) || !defined(UINT64_C) \
|| !defined(UINT32_MAX) || !defined(UINT64_MAX)
/*
* MSVC has no C99 support, and thus it cannot be used to
* compile liblzma. The liblzma API has to still be usable
* from MSVC, so we need to define the required standard
* integer types here.
* MSVC versions older than 2013 have no C99 support, and
* thus they cannot be used to compile liblzma. Using an
* existing liblzma.dll with old MSVC can work though(*),
* but we need to define the required standard integer
* types here in a MSVC-specific way.
*
* (*) If you do this, the existing liblzma.dll probably uses
* a different runtime library than your MSVC-built
* application. Mixing runtimes is generally bad, but
* in this case it should work as long as you avoid
* the few rarely-needed liblzma functions that allocate
* memory and expect the caller to free it using free().
*/
# if defined(_WIN32) && defined(_MSC_VER)
# if defined(_WIN32) && defined(_MSC_VER) && _MSC_VER < 1800
typedef unsigned __int8 uint8_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;

View File

@@ -22,7 +22,7 @@
*/
#define LZMA_VERSION_MAJOR 5
#define LZMA_VERSION_MINOR 2
#define LZMA_VERSION_PATCH 1
#define LZMA_VERSION_PATCH 2
#define LZMA_VERSION_STABILITY LZMA_VERSION_STABILITY_STABLE
#ifndef LZMA_VERSION_COMMIT

View File

@@ -339,7 +339,7 @@ index_tree_locate(const index_tree *tree, lzma_vli target)
/// Allocate and initialize a new Stream using the given base offsets.
static index_stream *
index_stream_init(lzma_vli compressed_base, lzma_vli uncompressed_base,
lzma_vli stream_number, lzma_vli block_number_base,
uint32_t stream_number, lzma_vli block_number_base,
const lzma_allocator *allocator)
{
index_stream *s = lzma_alloc(sizeof(index_stream), allocator);
@@ -1008,6 +1008,8 @@ iter_set_info(lzma_index_iter *iter)
iter->internal[ITER_GROUP].p = NULL;
}
// NOTE: lzma_index_iter.stream.number is lzma_vli but we use uint32_t
// internally.
iter->stream.number = stream->number;
iter->stream.block_count = stream->record_count;
iter->stream.compressed_offset = stream->node.compressed_base;

View File

@@ -139,7 +139,7 @@ fill_window(lzma_coder *coder, const lzma_allocator *allocator,
&& coder->mf.read_pos < coder->mf.read_limit) {
// Match finder may update coder->pending and expects it to
// start from zero, so use a temporary variable.
const size_t pending = coder->mf.pending;
const uint32_t pending = coder->mf.pending;
coder->mf.pending = 0;
// Rewind read_pos so that the match finder can hash

View File

@@ -464,7 +464,7 @@ length_encoder_reset(lzma_length_encoder *lencoder,
bittree_reset(lencoder->high, LEN_HIGH_BITS);
if (!fast_mode)
for (size_t pos_state = 0; pos_state < num_pos_states;
for (uint32_t pos_state = 0; pos_state < num_pos_states;
++pos_state)
length_update_prices(lencoder, pos_state);

View File

@@ -15,7 +15,7 @@ typedef struct {
char **arg_names;
/// Number of filenames from command line
size_t arg_count;
unsigned int arg_count;
/// Name of the file from which to read filenames. This is NULL
/// if --files or --files0 was not used.

View File

@@ -82,13 +82,7 @@ io_init(void)
// we are root.
warn_fchown = geteuid() == 0;
// Create a pipe for the self-pipe trick. If pipe2() is available,
// we can avoid the fcntl() calls.
# ifdef HAVE_PIPE2
if (pipe2(user_abort_pipe, O_NONBLOCK))
message_fatal(_("Error creating a pipe: %s"),
strerror(errno));
# else
// Create a pipe for the self-pipe trick.
if (pipe(user_abort_pipe))
message_fatal(_("Error creating a pipe: %s"),
strerror(errno));
@@ -101,7 +95,6 @@ io_init(void)
message_fatal(_("Error creating a pipe: %s"),
strerror(errno));
}
# endif
#endif
#ifdef __DJGPP__

View File

@@ -212,7 +212,7 @@ main(int argc, char **argv)
// Process the files given on the command line. Note that if no names
// were given, args_parse() gave us a fake "-" filename.
for (size_t i = 0; i < args.arg_count && !user_abort; ++i) {
for (unsigned i = 0; i < args.arg_count && !user_abort; ++i) {
if (strcmp("-", args.arg_names[i]) == 0) {
// Processing from stdin to stdout. Check that we
// aren't writing compressed data to a terminal or

View File

@@ -381,7 +381,7 @@ progress_speed(uint64_t uncompressed_pos, uint64_t elapsed)
}
/// Make a string indicating elapsed or remaining time. The format is either
/// Make a string indicating elapsed time. The format is either
/// M:SS or H:MM:SS depending on if the time is an hour or more.
static const char *
progress_time(uint64_t mseconds)
@@ -389,7 +389,8 @@ progress_time(uint64_t mseconds)
// 9999 hours = 416 days
static char buf[sizeof("9999:59:59")];
uint32_t seconds = mseconds / 1000;
// 32-bit variable is enough for elapsed time (136 years).
uint32_t seconds = (uint32_t)(mseconds / 1000);
// Don't show anything if the time is zero or ridiculously big.
if (seconds == 0 || seconds > ((9999 * 60) + 59) * 60 + 59)

View File

@@ -59,7 +59,7 @@ typedef struct {
static void
parse_options(const char *str, const option_map *opts,
void (*set)(void *filter_options,
uint32_t key, uint64_t value, const char *valuestr),
unsigned key, uint64_t value, const char *valuestr),
void *filter_options)
{
if (str == NULL || str[0] == '\0')
@@ -87,7 +87,7 @@ parse_options(const char *str, const option_map *opts,
"pairs separated with commas"), str);
// Look for the option name from the option map.
size_t i = 0;
unsigned i = 0;
while (true) {
if (opts[i].name == NULL)
message_fatal(_("%s: Invalid option name"),
@@ -103,7 +103,7 @@ parse_options(const char *str, const option_map *opts,
if (opts[i].map != NULL) {
// value is a string which we should map
// to an integer.
size_t j;
unsigned j;
for (j = 0; opts[i].map[j].name != NULL; ++j) {
if (strcmp(opts[i].map[j].name, value) == 0)
break;
@@ -149,7 +149,7 @@ enum {
static void
set_delta(void *options, uint32_t key, uint64_t value,
set_delta(void *options, unsigned key, uint64_t value,
const char *valuestr lzma_attribute((__unused__)))
{
lzma_options_delta *opt = options;
@@ -193,7 +193,7 @@ enum {
static void
set_bcj(void *options, uint32_t key, uint64_t value,
set_bcj(void *options, unsigned key, uint64_t value,
const char *valuestr lzma_attribute((__unused__)))
{
lzma_options_bcj *opt = options;
@@ -249,7 +249,7 @@ error_lzma_preset(const char *valuestr)
static void
set_lzma(void *options, uint32_t key, uint64_t value, const char *valuestr)
set_lzma(void *options, unsigned key, uint64_t value, const char *valuestr)
{
lzma_options_lzma *opt = options;

View File

@@ -5,7 +5,7 @@
.\" This file has been put into the public domain.
.\" You can do whatever you want with this file.
.\"
.TH XZ 1 "2014-12-16" "Tukaani" "XZ Utils"
.TH XZ 1 "2015-05-11" "Tukaani" "XZ Utils"
.
.SH NAME
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files
@@ -1055,6 +1055,14 @@ The default block size depends on the compression level and
can be overriden with the
.BI \-\-block\-size= size
option.
.IP ""
Threaded decompression hasn't been implemented yet.
It will only work on files that contain multiple blocks
with size information in block headers.
All files compressed in multi-threaded mode meet this condition,
but files compressed in single-threaded mode don't even if
.BI \-\-block\-size= size
is used.
.
.SS "Custom compressor filter chains"
A custom filter chain allows specifying

View File

@@ -65,6 +65,7 @@ decompress(void)
if (ret == LZMA_STREAM_END) {
expect(strm.total_in == compressed_size);
expect(strm.total_out == sizeof(in));
lzma_end(&strm);
return;
}

47
windows/INSTALL-MSVC.txt Normal file
View File

@@ -0,0 +1,47 @@
Building XZ Utils with Microsoft Visual Studio
==============================================
Introduction
------------
MSVC 2013 update 2 and later have enough C99 support to build
liblzma from XZ Utils 5.2.0 and later without modifications.
Older MSVC versions would require a large number of changes to
the XZ Utils code and thus the old MSVC versions aren't supported.
As of 2015-06-19, some work has been done to get xz.exe and other
command line tools built with MSVC, but it's not complete enough
to be included in XZ Utils.
Building
--------
The following files in this directory are for MSVC:
config.h liblzma configuration #defines for MSVC.
liblzma.vcxproj This builds static liblzma.
liblzma_dll.vcxproj This builds liblzma.dll.
xz_win.sln Solution using the above project files.
The projects have x86 and x86-64 platform configurations, as well
as a Debug, Release, and ReleaseMT configuration -- MT is the
compiler switch to link to the CRT statically, so it will not
have any other DLL dependencies.
Currently no test programs are built or run under MSVC.
MSVC gives a bunch of compiler warnings. Some warnings are specific
to 32-bit or 64-bit build and some appear for both builds. These
are known and shouldn't be a problem. Some of them will probably
be fixed in the future.
Notes
-----
liblzma API headers declare the functions with __declspec(dllimport)
by default. To avoid this when using static liblzma from your code,
#define LZMA_API_STATIC before #including <lzma.h>.

View File

@@ -6,7 +6,7 @@ Introduction
------------
This document explains shortly where to get and how to install the
build tool that are needed to build XZ Utils on Windows. The final
build tools that are needed to build XZ Utils on Windows. The final
binary package will be standalone in sense that it will depend only
on DLLs that are included in all Windows installations.

354
windows/liblzma.vcxproj Normal file
View File

@@ -0,0 +1,354 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="ReleaseMT|Win32">
<Configuration>ReleaseMT</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="ReleaseMT|x64">
<Configuration>ReleaseMT</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{12728250-16EC-4DC6-94D7-E21DD88947F8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\src\common\tuklib_cpucores.c" />
<ClCompile Include="..\src\common\tuklib_physmem.c" />
<ClCompile Include="..\src\liblzma\check\check.c" />
<ClCompile Include="..\src\liblzma\check\crc32_fast.c" />
<ClCompile Include="..\src\liblzma\check\crc32_table.c" />
<ClCompile Include="..\src\liblzma\check\crc64_fast.c" />
<ClCompile Include="..\src\liblzma\check\crc64_table.c" />
<ClCompile Include="..\src\liblzma\check\sha256.c" />
<ClCompile Include="..\src\liblzma\common\alone_decoder.c" />
<ClCompile Include="..\src\liblzma\common\alone_encoder.c" />
<ClCompile Include="..\src\liblzma\common\auto_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_header_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_header_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_util.c" />
<ClCompile Include="..\src\liblzma\common\common.c" />
<ClCompile Include="..\src\liblzma\common\easy_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\easy_decoder_memusage.c" />
<ClCompile Include="..\src\liblzma\common\easy_encoder.c" />
<ClCompile Include="..\src\liblzma\common\easy_encoder_memusage.c" />
<ClCompile Include="..\src\liblzma\common\easy_preset.c" />
<ClCompile Include="..\src\liblzma\common\filter_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_common.c" />
<ClCompile Include="..\src\liblzma\common\filter_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_encoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_flags_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_flags_encoder.c" />
<ClCompile Include="..\src\liblzma\common\hardware_cputhreads.c" />
<ClCompile Include="..\src\liblzma\common\hardware_physmem.c" />
<ClCompile Include="..\src\liblzma\common\index.c" />
<ClCompile Include="..\src\liblzma\common\index_decoder.c" />
<ClCompile Include="..\src\liblzma\common\index_encoder.c" />
<ClCompile Include="..\src\liblzma\common\index_hash.c" />
<ClCompile Include="..\src\liblzma\common\outqueue.c" />
<ClCompile Include="..\src\liblzma\common\stream_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_encoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_encoder_mt.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_common.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_encoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_decoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_encoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_size.c" />
<ClCompile Include="..\src\liblzma\delta\delta_common.c" />
<ClCompile Include="..\src\liblzma\delta\delta_decoder.c" />
<ClCompile Include="..\src\liblzma\delta\delta_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\fastpos_table.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma2_decoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma2_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_decoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_presets.c" />
<ClCompile Include="..\src\liblzma\lz\lz_decoder.c" />
<ClCompile Include="..\src\liblzma\lz\lz_encoder.c" />
<ClCompile Include="..\src\liblzma\lz\lz_encoder_mf.c" />
<ClCompile Include="..\src\liblzma\rangecoder\price_table.c" />
<ClCompile Include="..\src\liblzma\simple\arm.c" />
<ClCompile Include="..\src\liblzma\simple\armthumb.c" />
<ClCompile Include="..\src\liblzma\simple\ia64.c" />
<ClCompile Include="..\src\liblzma\simple\powerpc.c" />
<ClCompile Include="..\src\liblzma\simple\simple_coder.c" />
<ClCompile Include="..\src\liblzma\simple\simple_decoder.c" />
<ClCompile Include="..\src\liblzma\simple\simple_encoder.c" />
<ClCompile Include="..\src\liblzma\simple\sparc.c" />
<ClCompile Include="..\src\liblzma\simple\x86.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\common\mythread.h" />
<ClInclude Include="..\src\common\sysdefs.h" />
<ClInclude Include="..\src\common\tuklib_common.h" />
<ClInclude Include="..\src\common\tuklib_config.h" />
<ClInclude Include="..\src\common\tuklib_cpucores.h" />
<ClInclude Include="..\src\common\tuklib_integer.h" />
<ClInclude Include="..\src\common\tuklib_physmem.h" />
<ClInclude Include="..\src\liblzma\api\lzma.h" />
<ClInclude Include="..\src\liblzma\api\lzma\base.h" />
<ClInclude Include="..\src\liblzma\api\lzma\bcj.h" />
<ClInclude Include="..\src\liblzma\api\lzma\block.h" />
<ClInclude Include="..\src\liblzma\api\lzma\check.h" />
<ClInclude Include="..\src\liblzma\api\lzma\container.h" />
<ClInclude Include="..\src\liblzma\api\lzma\delta.h" />
<ClInclude Include="..\src\liblzma\api\lzma\filter.h" />
<ClInclude Include="..\src\liblzma\api\lzma\hardware.h" />
<ClInclude Include="..\src\liblzma\api\lzma\index.h" />
<ClInclude Include="..\src\liblzma\api\lzma\index_hash.h" />
<ClInclude Include="..\src\liblzma\api\lzma\lzma12.h" />
<ClInclude Include="..\src\liblzma\api\lzma\stream_flags.h" />
<ClInclude Include="..\src\liblzma\api\lzma\version.h" />
<ClInclude Include="..\src\liblzma\api\lzma\vli.h" />
<ClInclude Include="..\src\liblzma\check\check.h" />
<ClInclude Include="..\src\liblzma\check\crc32_table_be.h" />
<ClInclude Include="..\src\liblzma\check\crc32_table_le.h" />
<ClInclude Include="..\src\liblzma\check\crc64_table_be.h" />
<ClInclude Include="..\src\liblzma\check\crc64_table_le.h" />
<ClInclude Include="..\src\liblzma\check\crc_macros.h" />
<ClInclude Include="..\src\liblzma\common\alone_decoder.h" />
<ClInclude Include="..\src\liblzma\common\block_buffer_encoder.h" />
<ClInclude Include="..\src\liblzma\common\block_decoder.h" />
<ClInclude Include="..\src\liblzma\common\block_encoder.h" />
<ClInclude Include="..\src\liblzma\common\common.h" />
<ClInclude Include="..\src\liblzma\common\easy_preset.h" />
<ClInclude Include="..\src\liblzma\common\filter_common.h" />
<ClInclude Include="..\src\liblzma\common\filter_decoder.h" />
<ClInclude Include="..\src\liblzma\common\filter_encoder.h" />
<ClInclude Include="..\src\liblzma\common\index.h" />
<ClInclude Include="..\src\liblzma\common\index_encoder.h" />
<ClInclude Include="..\src\liblzma\common\memcmplen.h" />
<ClInclude Include="..\src\liblzma\common\outqueue.h" />
<ClInclude Include="..\src\liblzma\common\stream_decoder.h" />
<ClInclude Include="..\src\liblzma\common\stream_flags_common.h" />
<ClInclude Include="..\src\liblzma\delta\delta_common.h" />
<ClInclude Include="..\src\liblzma\delta\delta_decoder.h" />
<ClInclude Include="..\src\liblzma\delta\delta_encoder.h" />
<ClInclude Include="..\src\liblzma\delta\delta_private.h" />
<ClInclude Include="..\src\liblzma\lzma\fastpos.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma2_decoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma2_encoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_common.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_decoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_encoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_encoder_private.h" />
<ClInclude Include="..\src\liblzma\lz\lz_decoder.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder_hash.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder_hash_table.h" />
<ClInclude Include="..\src\liblzma\rangecoder\price.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_common.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_decoder.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_encoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_coder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_decoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_encoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_private.h" />
<ClInclude Include="config.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

383
windows/liblzma_dll.vcxproj Normal file
View File

@@ -0,0 +1,383 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="ReleaseMT|Win32">
<Configuration>ReleaseMT</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="ReleaseMT|x64">
<Configuration>ReleaseMT</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>
</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental />
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'">
<LinkIncremental>
</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'">
<LinkIncremental />
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName)\</OutDir>
<IntDir>$(Configuration)\$(Platform)\$(ProjectName)\</IntDir>
<TargetName>liblzma</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;_DEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseMT|x64'">
<ClCompile>
<PreprocessorDefinitions>WIN32;HAVE_CONFIG_H;DLL_EXPORT;NDEBUG;_WINDOWS;_USRDLL;LIBLZMADLL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;../src/liblzma/check;../src/liblzma/delta;../src/liblzma/lz;../src/liblzma/lzma;../src/liblzma/rangecoder;../src/liblzma/simple</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>./;../src/liblzma/common;../src/common;../src/liblzma/api;</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\src\common\tuklib_cpucores.c" />
<ClCompile Include="..\src\common\tuklib_physmem.c" />
<ClCompile Include="..\src\liblzma\check\check.c" />
<ClCompile Include="..\src\liblzma\check\crc32_fast.c" />
<ClCompile Include="..\src\liblzma\check\crc32_table.c" />
<ClCompile Include="..\src\liblzma\check\crc64_fast.c" />
<ClCompile Include="..\src\liblzma\check\crc64_table.c" />
<ClCompile Include="..\src\liblzma\check\sha256.c" />
<ClCompile Include="..\src\liblzma\common\alone_decoder.c" />
<ClCompile Include="..\src\liblzma\common\alone_encoder.c" />
<ClCompile Include="..\src\liblzma\common\auto_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_header_decoder.c" />
<ClCompile Include="..\src\liblzma\common\block_header_encoder.c" />
<ClCompile Include="..\src\liblzma\common\block_util.c" />
<ClCompile Include="..\src\liblzma\common\common.c" />
<ClCompile Include="..\src\liblzma\common\easy_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\easy_decoder_memusage.c" />
<ClCompile Include="..\src\liblzma\common\easy_encoder.c" />
<ClCompile Include="..\src\liblzma\common\easy_encoder_memusage.c" />
<ClCompile Include="..\src\liblzma\common\easy_preset.c" />
<ClCompile Include="..\src\liblzma\common\filter_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_common.c" />
<ClCompile Include="..\src\liblzma\common\filter_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_encoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_flags_decoder.c" />
<ClCompile Include="..\src\liblzma\common\filter_flags_encoder.c" />
<ClCompile Include="..\src\liblzma\common\hardware_cputhreads.c" />
<ClCompile Include="..\src\liblzma\common\hardware_physmem.c" />
<ClCompile Include="..\src\liblzma\common\index.c" />
<ClCompile Include="..\src\liblzma\common\index_decoder.c" />
<ClCompile Include="..\src\liblzma\common\index_encoder.c" />
<ClCompile Include="..\src\liblzma\common\index_hash.c" />
<ClCompile Include="..\src\liblzma\common\outqueue.c" />
<ClCompile Include="..\src\liblzma\common\stream_buffer_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_buffer_encoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_encoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_encoder_mt.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_common.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_decoder.c" />
<ClCompile Include="..\src\liblzma\common\stream_flags_encoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_decoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_encoder.c" />
<ClCompile Include="..\src\liblzma\common\vli_size.c" />
<ClCompile Include="..\src\liblzma\delta\delta_common.c" />
<ClCompile Include="..\src\liblzma\delta\delta_decoder.c" />
<ClCompile Include="..\src\liblzma\delta\delta_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\fastpos_table.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma2_decoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma2_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_decoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_optimum_fast.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_optimum_normal.c" />
<ClCompile Include="..\src\liblzma\lzma\lzma_encoder_presets.c" />
<ClCompile Include="..\src\liblzma\lz\lz_decoder.c" />
<ClCompile Include="..\src\liblzma\lz\lz_encoder.c" />
<ClCompile Include="..\src\liblzma\lz\lz_encoder_mf.c" />
<ClCompile Include="..\src\liblzma\rangecoder\price_table.c" />
<ClCompile Include="..\src\liblzma\simple\arm.c" />
<ClCompile Include="..\src\liblzma\simple\armthumb.c" />
<ClCompile Include="..\src\liblzma\simple\ia64.c" />
<ClCompile Include="..\src\liblzma\simple\powerpc.c" />
<ClCompile Include="..\src\liblzma\simple\simple_coder.c" />
<ClCompile Include="..\src\liblzma\simple\simple_decoder.c" />
<ClCompile Include="..\src\liblzma\simple\simple_encoder.c" />
<ClCompile Include="..\src\liblzma\simple\sparc.c" />
<ClCompile Include="..\src\liblzma\simple\x86.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\common\mythread.h" />
<ClInclude Include="..\src\common\sysdefs.h" />
<ClInclude Include="..\src\common\tuklib_common.h" />
<ClInclude Include="..\src\common\tuklib_config.h" />
<ClInclude Include="..\src\common\tuklib_cpucores.h" />
<ClInclude Include="..\src\common\tuklib_integer.h" />
<ClInclude Include="..\src\common\tuklib_physmem.h" />
<ClInclude Include="..\src\liblzma\api\lzma.h" />
<ClInclude Include="..\src\liblzma\api\lzma\base.h" />
<ClInclude Include="..\src\liblzma\api\lzma\bcj.h" />
<ClInclude Include="..\src\liblzma\api\lzma\block.h" />
<ClInclude Include="..\src\liblzma\api\lzma\check.h" />
<ClInclude Include="..\src\liblzma\api\lzma\container.h" />
<ClInclude Include="..\src\liblzma\api\lzma\delta.h" />
<ClInclude Include="..\src\liblzma\api\lzma\filter.h" />
<ClInclude Include="..\src\liblzma\api\lzma\hardware.h" />
<ClInclude Include="..\src\liblzma\api\lzma\index.h" />
<ClInclude Include="..\src\liblzma\api\lzma\index_hash.h" />
<ClInclude Include="..\src\liblzma\api\lzma\lzma12.h" />
<ClInclude Include="..\src\liblzma\api\lzma\stream_flags.h" />
<ClInclude Include="..\src\liblzma\api\lzma\version.h" />
<ClInclude Include="..\src\liblzma\api\lzma\vli.h" />
<ClInclude Include="..\src\liblzma\check\check.h" />
<ClInclude Include="..\src\liblzma\check\crc32_table_be.h" />
<ClInclude Include="..\src\liblzma\check\crc32_table_le.h" />
<ClInclude Include="..\src\liblzma\check\crc64_table_be.h" />
<ClInclude Include="..\src\liblzma\check\crc64_table_le.h" />
<ClInclude Include="..\src\liblzma\check\crc_macros.h" />
<ClInclude Include="..\src\liblzma\common\alone_decoder.h" />
<ClInclude Include="..\src\liblzma\common\block_buffer_encoder.h" />
<ClInclude Include="..\src\liblzma\common\block_decoder.h" />
<ClInclude Include="..\src\liblzma\common\block_encoder.h" />
<ClInclude Include="..\src\liblzma\common\common.h" />
<ClInclude Include="..\src\liblzma\common\easy_preset.h" />
<ClInclude Include="..\src\liblzma\common\filter_common.h" />
<ClInclude Include="..\src\liblzma\common\filter_decoder.h" />
<ClInclude Include="..\src\liblzma\common\filter_encoder.h" />
<ClInclude Include="..\src\liblzma\common\index.h" />
<ClInclude Include="..\src\liblzma\common\index_encoder.h" />
<ClInclude Include="..\src\liblzma\common\memcmplen.h" />
<ClInclude Include="..\src\liblzma\common\outqueue.h" />
<ClInclude Include="..\src\liblzma\common\stream_decoder.h" />
<ClInclude Include="..\src\liblzma\common\stream_flags_common.h" />
<ClInclude Include="..\src\liblzma\delta\delta_common.h" />
<ClInclude Include="..\src\liblzma\delta\delta_decoder.h" />
<ClInclude Include="..\src\liblzma\delta\delta_encoder.h" />
<ClInclude Include="..\src\liblzma\delta\delta_private.h" />
<ClInclude Include="..\src\liblzma\lzma\fastpos.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma2_decoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma2_encoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_common.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_decoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_encoder.h" />
<ClInclude Include="..\src\liblzma\lzma\lzma_encoder_private.h" />
<ClInclude Include="..\src\liblzma\lz\lz_decoder.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder_hash.h" />
<ClInclude Include="..\src\liblzma\lz\lz_encoder_hash_table.h" />
<ClInclude Include="..\src\liblzma\rangecoder\price.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_common.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_decoder.h" />
<ClInclude Include="..\src\liblzma\rangecoder\range_encoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_coder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_decoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_encoder.h" />
<ClInclude Include="..\src\liblzma\simple\simple_private.h" />
<ClInclude Include="config.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\liblzma\liblzma_w32res.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

48
windows/xz_win.sln Normal file
View File

@@ -0,0 +1,48 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma", "liblzma.vcxproj", "{12728250-16EC-4DC6-94D7-E21DD88947F8}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblzma_dll", "liblzma_dll.vcxproj", "{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
ReleaseMT|Win32 = ReleaseMT|Win32
ReleaseMT|x64 = ReleaseMT|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.ActiveCfg = Debug|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|Win32.Build.0 = Debug|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.ActiveCfg = Debug|x64
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Debug|x64.Build.0 = Debug|x64
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.ActiveCfg = Release|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|Win32.Build.0 = Release|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.ActiveCfg = Release|x64
{12728250-16EC-4DC6-94D7-E21DD88947F8}.Release|x64.Build.0 = Release|x64
{12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32
{12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64
{12728250-16EC-4DC6-94D7-E21DD88947F8}.ReleaseMT|x64.Build.0 = ReleaseMT|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.ActiveCfg = Debug|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|Win32.Build.0 = Debug|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.ActiveCfg = Debug|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Debug|x64.Build.0 = Debug|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.ActiveCfg = Release|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|Win32.Build.0 = Release|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.ActiveCfg = Release|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.Release|x64.Build.0 = Release|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.ActiveCfg = ReleaseMT|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|Win32.Build.0 = ReleaseMT|Win32
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.ActiveCfg = ReleaseMT|x64
{E0F247DB-EF12-4755-8DF9-F74BCD1348F7}.ReleaseMT|x64.Build.0 = ReleaseMT|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal