Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276353 - kde-base/okular djvu should pull in app-text/djview instead of app-text/djvu
Summary: kde-base/okular djvu should pull in app-text/djview instead of app-text/djvu
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 09:51 UTC by Sorin Panca
Modified: 2009-09-09 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sorin Panca 2009-07-03 09:51:21 UTC
app-text/djvu depends on qt:3 and was replaced by app-text/djview for qt:4 compatibility so kde-base/okular djvu should depend on app-text/djview. app-text/djvu pulls in x11-libs/qt:3, unnecessary loading a pure kde4 system.

Reproducible: Always

Steps to Reproduce:
1. unmerge qt:3
2. set the djvu useflag (for okular)
3. update the system

Actual Results:  
x11-libs/qt:3 is pulled in for app-text/djvu

Expected Results:  
app-text/djview should be the only dependency package pulled in by kde-base/okular after changing the djvu useflag from disabled to enabled.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-07-03 18:10:17 UTC
Overlay stuff done.
Comment 2 P Purkayastha 2009-08-05 21:57:17 UTC
I was trying to update to okular-4.3 and I realised that this bug report makes okular depend on djview4. This is not the desired behaviour.

In my opinion, this bug report is not correct. djview4 is only a qt4-based *viewer* for djvu files. In fact, app-text/djview4 pulls in app-text/djvu since it depends on the library files provided by djvu. I quote from the website http://djvu.sourceforge.net/djview4.html:
"Unlike the previous viewer DjView3, this new viewer is distributed as a separate package. To compile, you must first install DjVuLibre (>=3.5.19) and Qt4 (>=4.3)."

To the original poster: If you don't want qt3 to be pulled in by djvu, then set the USE flag -qt3.

To the maintainer of okular: Please revert the commit and set the dependency back to app-text/djvu. It makes no sense to have okular (which itself can view djvu files) depend on another *viewer* (djview4).
Comment 3 Andreas Fink 2009-08-06 22:35:25 UTC
I agree, that djview is definetly not the right dependency.
I unmerged djview4 and okular is still able to show djvu documents (because the right dependency is the djvu library, which belongs to the package app-text/djvu). So please revert to the old dependency.
Comment 4 Jonathan Callen (RETIRED) gentoo-dev 2009-09-09 05:07:51 UTC
This change has now been (un)done in the overlay and in the tree, for all versions.