[Pkg-kde-extras] Bug#919289: Bug#919289: kile: After upgrade, kile will not open until okular installed

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Sat Jan 19 20:34:11 GMT 2019


I have checked the code and Kile is trying to open the plugin and not the 
library:

From src/kileviewmanager.cpp::1088

void Manager::createViewerPart(KActionCollection *actionCollection)
{
    m_viewerPart = Q_NULLPTR;

    KPluginLoader pluginLoader(OKULAR_LIBRARY_NAME);
    KPluginFactory *factory = pluginLoader.factory();
    if(!factory) {
        KILE_DEBUG_MAIN << "Could not find the Okular library.";
        m_viewerPart = Q_NULLPTR;
        return;
    }

The plugin is currently shipped in the okular package itself, so I'll go 
forward and make okular an strict dependency.

*Maybe* in the future we could look at splitting the plugin into it's own 
package, but I don't know if that's just too much. After all I guess most of 
the people using Kile are using okular too (the sole fact that this took so 
long to find points me to that).

Cheers, Lisandro.

-- 
4: Que es un icono
    * Un caballono
    Damian Nadales
    http://mx.grulic.org.ar/lurker/message/20080307.141449.a70fb2fc.es.html

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-kde-extras/attachments/20190119/661d140e/attachment.sig>


More information about the pkg-kde-extras mailing list