Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 188691

Summary: app-text/djvu-3.5.19 shouldn't install .desktop without USE=qt3
Product: Gentoo Linux Reporter: Justin Blanchard <justinb>
Component: New packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED FIXED    
Severity: trivial CC: tex
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Justin Blanchard 2007-08-13 09:03:42 UTC
app-text/djvu installs "djview" (standalone viewer) only under USE=qt3.
Since it installs the icon and /usr/share/applications entry unconditionally, anyone without USE=qt3 gets an unusable desktop menu item.

Reproducible: Always

Steps to Reproduce:




This bug can be fixed by making lines 100-101 of djvu-3.5.19.ebuild conditional:
+if use qt3 ; then
    insinto /usr/share/icons/hicolor/32x32/apps && newins hi32-djview3.png djvulibre-djview3.png
    insinto /usr/share/applications/ && doins djvulibre-djview3.desktop
+fi

Thanks :)
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-08-13 10:27:38 UTC
Thank you for report, Justin. Fixed in djvu-3.5.19-r1.ebuild.