Bug 20329 - LXDE: add application/gzip to the list of MIME types handled by xarchiver in libfm
: LXDE: add application/gzip to the list of MIME types handled by xarchiver in ...
Status: ASSIGNED
Product: Mageia
Classification: Unclassified
Component: RPM Packages
: 5
: All Linux
: Normal Severity: enhancement
: ---
Assigned To: QA Team
:
:
: advisory feedback
:
:
:
  Show dependency treegraph
 
Reported: 2017-02-21 10:01 CET by Nicolas Salguero
Modified: 2017-03-27 22:40 CEST (History)
3 users (show)

See Also:
Source RPM: libfm-1.2.3-4.6.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Salguero 2017-02-21 10:01:55 CET
Hi,

I found that a gzip compressed file (not a tar.gz one) is not seen as an archive in pcmanfm because the list of MIME types handled by xarchiver in libfm contains application/x-gzip but, in Mageia 5, the MIME type used for gzip compressed files is application/gzip.

Best regards,

Nico.
Comment 1 Nicolas Salguero 2017-02-21 10:07:55 CET
Suggested advisory:
========================

The updated packages allow the extraction of a gzip compressed file (other than a tar.gz one, for which there was already no problem) using the context menu (right-click) of pcmanfm.
========================

Updated package in core/updates_testing:
========================
libfm-1.2.3-4.7.mga5
lib(64)fm4-1.2.3-4.7.mga5
lib(64)fm-devel-1.2.3-4.7.mga5
lxshortcut-1.2.3-4.7.mga5

from SRPMS:
libfm-1.2.3-4.7.mga5.src.rpm
Comment 2 Brian Rockwell 2017-03-05 03:57:13 CET
$ potrace --help
potrace 1.14. Transforms bitmaps into vector graphics.


$ potrace bitmap.bmp
[brian@localhost Documents]$ ls -ltr
total 2544
-rw-rw-r-- 1 brian brian    8885 Mar  4 20:46 bitmap.bmp.odg
-rw-rw-r-- 1 brian brian 2585142 Mar  4 20:47 bitmap.bmp
-rw-r--r-- 1 brian brian    2525 Mar  4 20:49 bitmap.eps


eps file was crated.



I verified it in fact converted the bmp to a vector graphic.
Comment 3 Brian Rockwell 2017-03-05 03:58:33 CET
(In reply to Brian Rockwell from comment #2)
> $ potrace --help
> potrace 1.14. Transforms bitmaps into vector graphics.
> 
> 
> $ potrace bitmap.bmp
> [brian@localhost Documents]$ ls -ltr
> total 2544
> -rw-rw-r-- 1 brian brian    8885 Mar  4 20:46 bitmap.bmp.odg
> -rw-rw-r-- 1 brian brian 2585142 Mar  4 20:47 bitmap.bmp
> -rw-r--r-- 1 brian brian    2525 Mar  4 20:49 bitmap.eps
> 
> 
> eps file was crated.
> 
> 
> 
> I verified it in fact converted the bmp to a vector graphic.

Wrong Link - if someone can delete these thanks
Comment 4 Lewis Smith 2017-03-27 22:40:01 CEST
Testing M5_64 using LXDE

Sorry for leaving this so long, especially as it it so easy to test.

Not sure.
BEFORE the update, I gzipped a file which *already had a suffix* to tmp.pcap.gz , and PCMANFM did not recognise it as an archive; i.e. no archive program was offered in the right-click pop-up menu. I did not try a filename.gz file...
Things like .tar.gz or .tar.bz2 were recognised as archives.

 libfm-1.2.3-4.7.mga5
 lxshortcut-1.2.3-4.7.mga5
 lib64fm4-1.2.3-4.7.mga5
AFTER the update, the test file tmp.pcap.gz was *still not* recognised as an archive. However, re-naming it to tmp_pcap.gz , it *was* recognised as an archive. So this update is only effective if the .gz suffix *has no previous suffix*.

Back to Nicolas, please.
Another point: this update is labelled 'enhancement'and is flagged as having an advisory uploaded. In fact when I last checked that, it was not there in SVN. I only know about 'security' & 'bugfix' for updates which require advisories. If 'enhancement' is valid, something might need changing in QA procedures. OTOH if enhancement is valid, does it need an advisory?

Note You need to log in before you can comment on or make changes to this bug.