A few months back, I added support for .lzma packages to setup-1.7.exe. I did this by directly imported a few files from the LZMA SDK, and writing an interface class.
Now I want to add support for .xz packages. Unfortunately, the xz file format is a bit more intense, and would require importing a lot of files and associated build machinery into setup's CVS. So, like we have done with zlib and bzip2, I propose to add a mingw-xz package to the (1.7) distro, specifically so that its /usr/lib/mingw/liblzma.a and /usr/include/mingw/lzma/* files can be used by setup-1.7.exe -- once I get more tuits to adapt the existing interface class. http://cygwin.cwilson.fastmail.fm/ITP/mingw-liblzma-devel-4.999.8beta_20090605-10.tar.bz2 http://cygwin.cwilson.fastmail.fm/ITP/mingw-liblzma1-4.999.8beta_20090605-10.tar.bz2 http://cygwin.cwilson.fastmail.fm/ITP/mingw-xz-4.999.8beta_20090605-10-src.tar.bz2 http://cygwin.cwilson.fastmail.fm/ITP/mingw-xz-4.999.8beta_20090605-10.tar.bz2 http://cygwin.cwilson.fastmail.fm/ITP/setup.hint http://cygwin.cwilson.fastmail.fm/ITP/runtime.hint http://cygwin.cwilson.fastmail.fm/ITP/devel.hint The package is based on today's cygwin release, but it did require a few more tweaks in order to build with gcc -mno-cygwin. For good measure, the "main" mingw-xz binary package also include statically linked executables /usr/bin/mingw-lzmadec.exe /usr/bin/mingw-xz.exe /usr/bin/mingw-xzdec.exe mingw-liblzma1 contains /usr/bin/mgwlzma-1.dll, but the real goodies are in mingw-liblzma-devel. -- Chuck ============== setup.hint ==================== category: Mingw requires: mingw-liblzma1 mingw-liblzma-devel sdesc: "(mingw version) XZ and LZMA compression (utilities)" ldesc: "This package does NOT contain cygwin binaries. Instead, it contains msvcrt-linked binaries (aka 'mingw'). It is for use with gcc -mno-cygwin, and installs into /usr/include/mingw and /usr/lib/mingw." ============== runtime.hint ==================== category: Mingw requires: external-source: mingw-xz sdesc: "(mingw version) XZ and LZMA compression (runtime)" ldesc: "This is NOT a cygwin library. It is for use with gcc -mno-cygwin, and installs into /usr/include/mingw and /usr/lib/mingw." ============== devel.hint ==================== category: Mingw requires: mingw-liblzma1 external-source: mingw-xz sdesc: "(mingw version) XZ and LZMA compression (development)" ldesc: "This is NOT a cygwin library. It is for use with gcc -mno-cygwin, and installs into /usr/include/mingw and /usr/lib/mingw."
