Review Request: Restore the ability to use Ark as an embedded KPart
Raphael Kubo da Costa
rakuco at freebsd.org
Sun Oct 30 01:52:22 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102803/#review7752
-----------------------------------------------------------
Ship it!
At first, I was in favour of fixing this the way Okular handles its mimetypes: each generator (in our case, plugin), has a .desktop file for the plugin itself, one with Type=Application and another one for the part. In our case, this would mean ark.desktop and ark_part.desktop could stop existing altogether.
However, we also have ark_dndextract.desktop and ark_servicemenu.desktop which need a list with all the mimetypes we support, which is a problem Okular does not have (I think replacing them with a .desktop file for each plugin would be redundant and overkill, as each plugin would have 5 .desktop files).
As I couldn't think of a better solution, please commit this to master.
plugins/libarchive/CMakeLists.txt
<http://git.reviewboard.kde.org/r/102803/#comment6648>
IIRC, NOT <expression> is only supported from CMake 2.8.something onwards, whereas we are supposed to support CMake 2.6.4. Can you please change this?
- Raphael Kubo da Costa
On Oct. 23, 2011, 7:41 p.m., Jonathan Marten wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102803/
> -----------------------------------------------------------
>
> (Updated Oct. 23, 2011, 7:41 p.m.)
>
>
> Review request for KDE Utils and Raphael Kubo da Costa.
>
>
> Description
> -------
>
> (Copied from original review request https://svn.reviewboard.kde.org/r/5405/)
>
> In KDE3 it was possible to use Ark as am embedded KPart, e.g. to browse the contents of a remote archive inside Konqueror. Now in KDE4 this is not possible, ark_part.desktop is installed but contains no MimeTypes list.
>
> This change restores the MIME type list (copied verbatim from the Ark application's desktop file).
>
>
> Diffs
> -----
>
> CMakeLists.txt fa623dd
> app/CMakeLists.txt 71b7cdd
> app/ark.desktop 8c79d6c
> app/ark.desktop.cmake PRE-CREATION
> app/ark_dndextract.desktop 8704137
> app/ark_dndextract.desktop.cmake PRE-CREATION
> app/ark_servicemenu.desktop 88e3b57
> app/ark_servicemenu.desktop.cmake PRE-CREATION
> part/CMakeLists.txt 0fdbcd1
> part/ark_part.desktop 123119f
> part/ark_part.desktop.cmake PRE-CREATION
> plugins/CMakeLists.txt b1c3c03
> plugins/cli7zplugin/CMakeLists.txt 3c114be
> plugins/cli7zplugin/kerfuffle_cli7z.desktop 2c3db3a
> plugins/cli7zplugin/kerfuffle_cli7z.desktop.cmake PRE-CREATION
> plugins/clilhaplugin/CMakeLists.txt 54cec6b
> plugins/clilhaplugin/kerfuffle_clilha.desktop 5db71f2
> plugins/clilhaplugin/kerfuffle_clilha.desktop.cmake PRE-CREATION
> plugins/clirarplugin/CMakeLists.txt 9fb2a8e
> plugins/clirarplugin/kerfuffle_clirar.desktop ab6ae21
> plugins/clirarplugin/kerfuffle_clirar.desktop.cmake PRE-CREATION
> plugins/clizipplugin/CMakeLists.txt 37e51d4
> plugins/clizipplugin/kerfuffle_clizip.desktop 472fbb5
> plugins/clizipplugin/kerfuffle_clizip.desktop.cmake PRE-CREATION
> plugins/karchiveplugin/CMakeLists.txt 7c6bf40
> plugins/karchiveplugin/kerfuffle_karchive.desktop 8ee4c65
> plugins/karchiveplugin/kerfuffle_karchive.desktop.cmake PRE-CREATION
> plugins/libarchive/CMakeLists.txt d0a03db
> plugins/libarchive/kerfuffle_libarchive.desktop 38cf3d2
> plugins/libarchive/kerfuffle_libarchive.desktop.cmake PRE-CREATION
> plugins/libarchive/kerfuffle_libarchive_readonly.desktop.cmake 793f49f
> plugins/libsinglefileplugin/CMakeLists.txt f2399f1
>
> Diff: http://git.reviewboard.kde.org/r/102803/diff/diff
>
>
> Testing
> -------
>
> Built and installed Ark with these changes, it is now possible to preview the contents of an archive within Konqueror.
>
>
> Thanks,
>
> Jonathan Marten
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20111030/018887af/attachment.html>
More information about the Kde-utils-devel
mailing list