[Okular-devel] Review Request: Split active app desktop file

Marco Martin notmart at gmail.com
Mon Oct 22 19:04:46 UTC 2012



> On Oct. 19, 2012, 5:45 p.m., Albert Astals Cid wrote:
> > Now this poses an interesting question, we are installing both okular and active-documentviewer saying they open the same mimetypes and saying they have the same initial preference, thus on a system that has both installed, which one wins? One would say that on desktop
> 
> Albert Astals Cid wrote:
>     ..continue..
>     One would say that on desktop you want okular to have a higher initial preference and the reverse on touch systems, but how do we do that? with a cmake switch?

eh, in ideal world that priority should be able to switch back and forth dynamically.. but that doesn't seem much changeable in the short term..

anyways, i would give to the active version less priority than the desktop one, so normal okular still in use on the desktop if both are installed, while on active only the touch version would be installed.

other problem i noticed with the patch is that it installs the active desktop files unconditionally, i'll fix that


- Marco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106930/#review20581
-----------------------------------------------------------


On Oct. 18, 2012, 9:09 a.m., Marco Martin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106930/
> -----------------------------------------------------------
> 
> (Updated Oct. 18, 2012, 9:09 a.m.)
> 
> 
> Review request for Okular.
> 
> 
> Description
> -------
> 
> splits the desktop file of the active app per mimetype, as is done for the desktop version and for the part, so only the ones that were actually built will be supported
> 
> 
> Diffs
> -----
> 
>   active/app/active-documentviewer.desktop 66c751e 
>   generators/chm/CMakeLists.txt 3f28603 
>   generators/chm/active-documentviewer_chm.desktop PRE-CREATION 
>   generators/comicbook/CMakeLists.txt 067a07a 
>   generators/comicbook/active-documentviewer_comicbook.desktop PRE-CREATION 
>   generators/djvu/CMakeLists.txt dc9b998 
>   generators/djvu/active-documentviewer_djvu.desktop PRE-CREATION 
>   generators/dvi/CMakeLists.txt d517b42 
>   generators/dvi/active-documentviewer_dvi.desktop PRE-CREATION 
>   generators/epub/CMakeLists.txt f05bf38 
>   generators/epub/active-documentviewer_epub.desktop PRE-CREATION 
>   generators/fax/CMakeLists.txt 79e7faa 
>   generators/fax/active-documentviewer_fax.desktop PRE-CREATION 
>   generators/fictionbook/CMakeLists.txt 821cdbf 
>   generators/fictionbook/active-documentviewer_fb.desktop PRE-CREATION 
>   generators/kimgio/CMakeLists.txt 07d9f0c 
>   generators/ooo/CMakeLists.txt 2496fbb 
>   generators/ooo/active-documentviewer_ooo.desktop PRE-CREATION 
>   generators/plucker/CMakeLists.txt c79d59a 
>   generators/plucker/active-documentviewer_plucker.desktop PRE-CREATION 
>   generators/poppler/CMakeLists.txt 78885fc 
>   generators/poppler/active-documentviewer_pdf.desktop PRE-CREATION 
>   generators/spectre/CMakeLists.txt d3d6f80 
>   generators/spectre/active-documentviewer_ghostview.desktop PRE-CREATION 
>   generators/tiff/CMakeLists.txt 31186ea 
>   generators/tiff/active-documentviewer_tiff.desktop PRE-CREATION 
>   generators/xps/CMakeLists.txt 50eec71 
>   generators/xps/active-documentviewer_xps.desktop PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/106930/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Marco Martin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20121022/d400d53f/attachment.html>


More information about the Okular-devel mailing list