Author: arekm Date: Sat Oct 22 21:08:51 2011 GMT Module: packages Tag: HEAD ---- Log message: - rel 2; default parallel compression
---- Files affected: packages/xz: xz.spec (1.67 -> 1.68) , xz-parallel.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/xz/xz.spec diff -u packages/xz/xz.spec:1.67 packages/xz/xz.spec:1.68 --- packages/xz/xz.spec:1.67 Sat Oct 22 22:27:39 2011 +++ packages/xz/xz.spec Sat Oct 22 23:08:45 2011 @@ -19,12 +19,13 @@ Summary(pl.UTF-8): Koder/Dekoder LZMA Name: xz Version: 5.1.1 -Release: 1 +Release: 2 Epoch: 1 License: LGPL v2.1+, helper scripts on GPL v2+ Group: Applications/Archiving Source0: http://tukaani.org/xz/%{name}-%{version}alpha.tar.gz # Source0-md5: bb24436fa12780808e1c142980484104 +Patch0: %{name}-parallel.patch URL: http://tukaani.org/xz/ %{?with_asm:BuildRequires: gcc >= 5:3.4} BuildRequires: rpm >= 4.4.9-56 @@ -116,6 +117,7 @@ %prep %setup -q -n %{name}-%{version}alpha +%patch0 -p1 %build %configure \ @@ -181,6 +183,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.68 2011/10/22 21:08:45 arekm +- rel 2; default parallel compression + Revision 1.67 2011/10/22 20:27:39 arekm - up to 5.1.1 (it's basically 5.0.3 with small changes like threaded compression support; upstream developer is VERY conservative) ================================================================ Index: packages/xz/xz-parallel.patch diff -u /dev/null packages/xz/xz-parallel.patch:1.1 --- /dev/null Sat Oct 22 23:08:51 2011 +++ packages/xz/xz-parallel.patch Sat Oct 22 23:08:45 2011 @@ -0,0 +1,22 @@ +--- xz-5.1.1alpha/src/xz/hardware.c~ 2011-04-12 12:42:58.000000000 +0200 ++++ xz-5.1.1alpha/src/xz/hardware.c 2011-10-22 23:06:21.399474735 +0200 +@@ -16,7 +16,7 @@ + + /// Maximum number of worker threads. This can be set with + /// the --threads=NUM command line option. +-static uint32_t threads_max = 1; ++static uint32_t threads_max = 0; + + /// Memory usage limit for compression + static uint64_t memlimit_compress; +--- xz-5.1.1alpha/src/xz/xz.1~ 2011-04-12 12:42:58.000000000 +0200 ++++ xz-5.1.1alpha/src/xz/xz.1 2011-10-22 23:07:14.357449738 +0200 +@@ -913,7 +913,7 @@ + .B 0 + makes + .B xz +-use as many threads as there are CPU cores on the system. ++use as many threads as there are CPU cores on the system (default). + The actual number of threads can be less than + .I threads + if the input file is not big enough ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xz/xz.spec?r1=1.67&r2=1.68&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
