Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196209 - appt-text/djvu - nsplugin requires USE=qt3
Summary: appt-text/djvu - nsplugin requires USE=qt3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
: 203162 204765 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-17 20:09 UTC by Miron
Modified: 2008-01-07 18:43 UTC (History)
4 users (show)

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


Attachments
djvu-3.5.20-r1.ebuild.diff (djvu-3.5.20-r1.ebuild.diff,717 bytes, patch)
2007-12-23 19:06 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miron 2007-10-17 20:09:56 UTC
For the browserplugin to build the the djview binary is needed, which then again is only build when the qt3-flag is enabled. So the ebuild should stop to build if the nsplugin-flag is enabled and the qt3-flag is not.

Reproducible: Always

Steps to Reproduce:
1.USE="nsplugin -qt3"
2.
3.

Actual Results:  
no nsdejavu.so

Expected Results:  
To stop the ebuild and tell the user to either enable qt3-flag or disable nsplugin-flag
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-17 20:48:40 UTC
Sigh... Don't you think that ebuild name would be useful?!
Comment 2 Miron 2007-10-19 13:48:58 UTC
ups, sorry, again with ebuild-name
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 14:25:30 UTC
pkg_setup() {
        if ! use qt3; then
                ewarn
                ewarn "The standalone djvu viewer, djview, will not be compiled."
                ewarn "Add \"qt3\" to your USE flags if you want it."
                ewarn
        fi
}
Comment 4 Miron 2007-10-19 14:47:49 UTC
I'm not talking about the standalone viewer, that is clear, but its not clear that you need the standalone viewer to get the browserplugin. Btw, i compiled also with nsplugin and qt3 and there was too no browserpugin...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 18:55:15 UTC
*** Bug 203162 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 19:06:29 UTC
Created attachment 139198 [details, diff]
djvu-3.5.20-r1.ebuild.diff

- make the thing die w/ a useful message w/ USE="nsplugin -qt3" since people don't grok this...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-12-23 19:07:06 UTC
Reopen.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2007-12-24 06:53:37 UTC
Thank you Miron for report, and Jakub for the fix. Fixed in djvu-3.5.20-r1.

Jakub, could I ask you at least to assign such bugs to maintainer even in case you close them. I'm interested to see what bugs are reported on software I maintain. Even if bugs are about broken digest which was fixed to the moment. Thank you.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-01-07 18:43:30 UTC
*** Bug 204765 has been marked as a duplicate of this bug. ***