| Summary: | LXDE: update of the list of mime types handled by xarchiver in libfm | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Nicolas Salguero <nicolas.salguero> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, lewyssmith, sysadmin-bugs |
| Version: | 5 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | advisory MGA5-64-OK | ||
| Source RPM: | libfm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 18050 | ||
| Bug Blocks: | |||
|
Description
Nicolas Salguero
2016-03-15 12:54:18 CET
Suggested advisory: ======================== The updated package allows all the types of archive handled by Xarchiver to be seen as archives, which allows a user, in pcmanfm, to right-click on a ".tar.xz" archive, for example, and to have access to "Extract to" and "Extract here" options in place of "Compress" option. ======================== Updated packages in core/updates_testing: ======================== i586: lxshortcut-1.2.3-4.2.mga5.i586.rpm libfm-1.2.3-4.2.mga5.i586.rpm libfm-devel-1.2.3-4.2.mga5.i586.rpm libfm4-1.2.3-4.2.mga5.i586.rpm x86_64: lxshortcut-1.2.3-4.2.mga5.x86_64.rpm libfm-1.2.3-4.2.mga5.x86_64.rpm lib64fm-devel-1.2.3-4.2.mga5.x86_64.rpm lib64fm4-1.2.3-4.2.mga5.x86_64.rpm Source RPMs: libfm-1.2.3-4.2.mga5.src.rpm Status:
NEW =>
ASSIGNED I forgot to mention that, to see the modification if you are already logged into LXDE, you need to log out and log into LXDE again. I found that the mime type for ".tar.lzo" archives must be "application/x-tzo" and not "application/x-lzop-compressed-tar" so I updated my previous patch. Updated packages in core/updates_testing: ======================== i586: lxshortcut-1.2.3-4.3.mga5.i586.rpm libfm-1.2.3-4.3.mga5.i586.rpm libfm-devel-1.2.3-4.3.mga5.i586.rpm libfm4-1.2.3-4.3.mga5.i586.rpm x86_64: lxshortcut-1.2.3-4.3.mga5.x86_64.rpm libfm-1.2.3-4.3.mga5.x86_64.rpm lib64fm-devel-1.2.3-4.3.mga5.x86_64.rpm lib64fm4-1.2.3-4.3.mga5.x86_64.rpm Source RPMs: libfm-1.2.3-4.3.mga5.src.rpm I also found that the mime type "application/x-compress" does not apply to tar.Z archives (only other *.Z files) so I added "application/x-tarz" to my previous patch. Updated packages in core/updates_testing: ======================== i586: lxshortcut-1.2.3-4.4.mga5.i586.rpm libfm-1.2.3-4.4.mga5.i586.rpm libfm-devel-1.2.3-4.4.mga5.i586.rpm libfm4-1.2.3-4.4.mga5.i586.rpm x86_64: lxshortcut-1.2.3-4.4.mga5.x86_64.rpm libfm-1.2.3-4.4.mga5.x86_64.rpm lib64fm-devel-1.2.3-4.4.mga5.x86_64.rpm lib64fm4-1.2.3-4.4.mga5.x86_64.rpm Source RPMs: libfm-1.2.3-4.4.mga5.src.rpm When testing the already present mime types, I found that libfm does not handle aliases so "application/x-deb" is not seen as "application/vnd.debian.binary-package" (the mime type for DEB archives). So I added that mime type to my patch. To sum up, the options "Extract to" and "Extract here" are now available when the selected files are: .arj, .bz, .tar.bz, .gz, .rar, .tar, .zip, .7z, .tar.gz, .bz2, .tar.bz2, .lzma, .tar.lzma, .deb, .xz, .tar.xz, .rpm, .lzo, .tar.lzo, .war, .Z, .tar.Z, .jar, .lha and .lzh. Updated packages in core/updates_testing: ======================== i586: lxshortcut-1.2.3-4.5.mga5.i586.rpm libfm-1.2.3-4.5.mga5.i586.rpm libfm-devel-1.2.3-4.5.mga5.i586.rpm libfm4-1.2.3-4.5.mga5.i586.rpm x86_64: lxshortcut-1.2.3-4.5.mga5.x86_64.rpm libfm-1.2.3-4.5.mga5.x86_64.rpm lib64fm-devel-1.2.3-4.5.mga5.x86_64.rpm lib64fm4-1.2.3-4.5.mga5.x86_64.rpm Source RPMs: libfm-1.2.3-4.5.mga5.src.rpm
Dave Hodgins
2016-03-25 07:53:31 CET
CC:
(none) =>
davidwhodgins Testing M5 x64 LXDE desktop, pcmanfm-1.2.3-2.1.mga5, xarchiver-0.5.4-1.1.mga5 Archive types to specifically test: .tar.xz .tar.lzo .tar.Z .deb BEFORE the update: Right-clicking in PCManFM archive files *not* on the list above, i.e. already correctly handled, showed on the context menu both Xarchiver *and* the 'Extract here' & 'Extract to' options. Doing the same thing for the listed archive types did *not* show Xarchiver in the context menu; nor the two 'Extract' items. The latter is the bug. Other archive programs installed were shown for all archive file types I tried, but not the 'Extract' context menu items unless Xarchiver was also listed. AFTER the update: lib64fm4-1.2.3-4.5.mga5 libfm-1.2.3-4.5.mga5 lxshortcut-1.2.3-4.5.mga5 All archive types I tried, including files with the listed extensions, showed 'Extract here' & 'Extract to' in the right-click context menu from PCManFM. However, Xarchiver was still *not* offered for the tested file types, same as before the update. @Nicolas: please comment on this. From the 'before' test, it looked as if the 'extract' options came with Xarchiver; but this is clearly not so. As previously, other archive programs were all shown, however. Since this update does not relate to Xarchiver, and resolves the specific complaint, I deem it OK. CC:
(none) =>
lewyssmith (In reply to Lewis Smith from comment #7) > @Nicolas: please comment on this. From the 'before' test, it looked as if > the 'extract' options came with Xarchiver; but this is clearly not so. > As previously, other archive programs were all shown, however. I think those options came from the fact Xarchiver is present even if the files are not configured to be opened with it: I think libfm checks the file "/usr/share/libfm/archivers.list" from top to bottom and uses the configuration of the first archiver from that list (file-roller, xarchiver, squeeze, engrampa, ark) which is present in the system.
Dave Hodgins
2016-03-31 19:44:18 CEST
Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGAA-2016-0057.html Status:
ASSIGNED =>
RESOLVED |