Bug 377649

Summary: Kile has teoo many unnecessary dependencies
Product: [Applications] kile Reporter: Michael D <nortexoid>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version: 2.9.60   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael D 2017-03-15 15:11:27 UTC
I suppose this is not an issue exclusive to Ubuntu-based distros, which is why I'm reporting it as a bug here.

I currently have exactly the parts of a texlive distribution that I need, and it is relatively lean. When I try to install Kile it tells me that it's going to pull in a ridiculous amount of unnecessary dependencies, including:

Dependencies: 
4:2.9.60+bzr2531-0~ubuntu16.04.1 - konsole4-kpart (0 (null)) texlive-latex-base (0 (null)) okular (0 (null)) kde-runtime (0 (null)) libc6 (2 2.14) libgcc1 (2 1:4.1.1) libkdecore5 (2 4:4.4.95) libkdeui5 (2 4:4.9.98) libkfile4 (2 4:4.4.4) libkhtml5 (2 4:4.4.4) libkio5 (2 4:4.4.4) libkparts4 (2 4:4.5.85) libktexteditor4 (2 4:4.4.95) libpoppler-qt4-4 (2 0.20.1) libqt4-dbus (2 4:4.5.3) libqt4-script (2 4:4.5.3) libqt4-xml (2 4:4.5.3) libqtcore4 (2 4:4.8.0) libqtgui4 (2 4:4.8.0) libstdc++6 (2 4.2.1) ktexmaker2 (3 1.8) dvipng (0 (null)) ghostscript (0 (null)) imagemagick (0 (null)) psutils (0 (null)) texlive (0 (null)) aspell (16 (null)) ispell (16 (null)) hspell (0 (null)) asymptote (0 (null)) context (0 (null)) dblatex (0 (null)) kile-doc (0 (null)) kile-l10n (0 (null)) kbibtex (0 (null)) latex2html (0 (null)) lilypond (0 (null)) tex4ht (0 (null)) texlive-xetex (0 (null)) zip (0 (null)) ktexmaker2 (3 1.8) kile:i386 (32 (null)) 
4:2.1.3-3ubuntu1 - konsole4-kpart (0 (null)) texlive-latex-base (0 (null)) kde-runtime (4 4:4.10) libc6 (2 2.14) libgcc1 (2 1:3.0) libkdecore5 (2 4:4.4.95) libkdeui5 (2 4:4.9.98) libkfile4 (2 4:4.4.4) libkhtml5 (2 4:4.4.4) libkio5 (2 4:4.4.4) libkparts4 (2 4:4.5.85) libkrosscore4 (2 4:4.4.4) libktexteditor4 (2 4:4.4.95) libqt4-dbus (2 4:4.5.3) libqtcore4 (2 4:4.7.0~beta1) libqtgui4 (2 4:4.8.0) libstdc++6 (2 4.1.1) ktexmaker2 (3 1.8) dvipng (0 (null)) ghostscript (0 (null)) imagemagick (0 (null)) psutils (0 (null)) texlive (0 (null)) aspell (16 (null)) ispell (16 (null)) hspell (0 (null)) asymptote (0 (null)) context (0 (null)) dblatex (0 (null)) kbibtex (0 (null)) kile-doc (0 (null)) kile-l10n (0 (null)) latex2html (0 (null)) lilypond (0 (null)) tex4ht (0 (null)) texlive-xetex (0 (null)) zip (0 (null)) ktexmaker2 (3 1.8) kile:i386 (32 (null))

While I am aware that perhaps not all the functions of Kile would be available without pulling in these dependencies, something really needs to be done about dependencies for those of us who just basically want the editor. Perhaps a separate package, a "Kile Light", could be distributed?
Comment 1 Michel Ludwig 2017-03-15 15:15:33 UTC
Sorry, but this is exactly a problem of your distribution.

You will need to poke them if you want to have something done about this.
Comment 2 Michael D 2017-03-15 16:41:10 UTC
I was afraid you'd say that. I suppose I'll give it a shot, but I'm not optimistic.

Cheers!
Comment 3 Christoph Feck 2017-03-17 15:40:02 UTC
Use the Qt5/KF5 based Kile version, which does no longer pull in any Qt4/KDE4 dependencies.
Comment 4 Michael D 2017-03-19 12:59:17 UTC
I did use the qt5 version, specifically version 2.9.60, as you can (sort of) see from the original post's dependency list (first item).
Comment 5 Christoph Feck 2017-03-19 13:26:04 UTC
The dependency list from comment #0 shows the dependencies of the old KDE4 version.
Comment 6 Michael D 2017-03-20 09:12:34 UTC
I seee what you're saying, but the original post shows the dependency list of version 2.9.60 (qt5) with the ppa ppa:kile/livepreview enabled. I'm not sure what all the "(0 (null))" means, but "apt-cache showpkg" is probably showing dependencies of both packages, the qt4 version and the qt5 one, even though apt-get will install only the latest.

At any rate, still too many dependencies for the debian packages.
Comment 7 Christoph Feck 2017-03-24 21:17:05 UTC
The version number 2.9.60 does not mean this is the Qt5 version.

If indeed the Qt5 version of kile drags in Qt4 packages, then this would be a major distribution bug, because Qt does not support applications using both Qt4 and Qt5.

Please discuss this with the bug tracker of your distribution.