Bug 287913 - [KDE 4.8 Beta 1] KNewStuff is useless if the new stuff comes in a tar.xz file.
Summary: [KDE 4.8 Beta 1] KNewStuff is useless if the new stuff comes in a tar.xz file.
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: knewstuff (show other bugs)
Version: 4.9-Git
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 15:26 UTC by Alejandro Nova
Modified: 2013-08-08 18:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Correctly identify xz- and lzma- compressed archives (821 bytes, patch)
2013-08-08 18:57 UTC, sw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Nova 2011-11-30 15:26:09 UTC
Version:           Git (using Devel) 
OS:                Linux

Self explanatory. Either we restrict KDE Look users to tar.gz, or implement a logic applying the right command (tar xvfJ instead of tar xvfz) to those files.

Reproducible: Always

Steps to Reproduce:
1. Use Get New Hot Stuff to install the Xenon or Helium Plasma themes. They come in handy tar.xz files.

Actual Results:  
Nothing happens.

Expected Results:  
Xenon or Helium Plasma themes are installed.

This is a matter of implementing a simple extension detection logic (tar.xz or txz) and associate a command to it (tar xvfJ).
Comment 1 Jeremy Whiting 2011-12-01 21:59:43 UTC
I agree this would be very useful.  A quick test shows we are using plasmapackage for installation of plasma themes.  I'll see what it will take to add xz support to that, shouldn't be much.
Comment 2 Christoph Feck 2011-12-02 10:11:10 UTC
Git commit 897b07485a8cd70f831b8f586dc84859016b2572 by Jeremy Whiting.
Committed on 01/12/2011 at 23:50.
Pushed by whiting into branch 'KDE/4.7'.

KTar already supports xz and lzma files, also support them in Plasma::Package.
BUG:287193 (nope, it's 287913 ;)

M  +2    -1    plasma/package.cpp

http://commits.kde.org/kdelibs/897b07485a8cd70f831b8f586dc84859016b2572
Comment 3 Jeremy Whiting 2011-12-02 19:04:26 UTC
Git commit b11766c9f5cb2ae375d99e333a6e8e249d1731be by Jeremy Whiting.
Committed on 01/12/2011 at 23:50.
Pushed by whiting into branch 'frameworks'.

KTar already supports xz and lzma files, also support them in Plasma::Package.
BUG:287913
(cherry picked from commit 897b07485a8cd70f831b8f586dc84859016b2572)

M  +2    -1    plasma/package.cpp

http://commits.kde.org/kdelibs/b11766c9f5cb2ae375d99e333a6e8e249d1731be
Comment 4 sw 2013-08-08 18:57:05 UTC
Created attachment 81609 [details]
Correctly identify xz- and lzma- compressed archives

The original patch checked for xz and lzma compressed files. This patch checks for compressed archives.