Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184844 - app-text/djview4 a new portable DjVu viewer and browser plugin
Summary: app-text/djview4 a new portable DjVu viewer and browser plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://djvu.sourceforge.net/djview4.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-07-10 14:18 UTC by Ștefan Talpalaru
Modified: 2007-07-28 10:10 UTC (History)
1 user (show)

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


Attachments
first ebuild (djview4-4.1.ebuild,1.09 KB, text/plain)
2007-07-10 14:20 UTC, Ștefan Talpalaru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ștefan Talpalaru 2007-07-10 14:18:41 UTC
DjView4 is a new portable DjVu viewer and browser plugin using Qt4. It has more functionality than djview3 included in app-text/djvu.

Ebuild attached. Should probably go in app-text.
Comment 1 Ștefan Talpalaru 2007-07-10 14:20:57 UTC
Created attachment 124427 [details]
first ebuild
Comment 2 Ștefan Talpalaru 2007-07-10 18:56:20 UTC
Please read the project page. The viewer is now separated from djvu. There is no djvu-4.1, but a new package djview-4.1 that depends on app-text/djvu.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2007-07-11 05:45:34 UTC
I do not have qt-4 installed and I doubt I'll install it before kde-4, so if anybody have interest, take it, please.
Comment 4 Ștefan Talpalaru 2007-07-11 05:50:16 UTC
Thanks. Now if somebody could fix the typo so that it reads "app-text/djview4" it would be great.
Comment 5 Alexis Ballier gentoo-dev 2007-07-27 16:35:51 UTC
added as app-text/djview4: upstream 4.1-2 is 4.1.2 for us.

Thanks Stefan ! 


I made small changes, esp. : removing the nsplugin useflag, as your approach of built_with_use won't work : imagine I  build djvu without nsplugin, then djview4 with nsplugin then djvu with nsplugin, that will collide.
as djvu is the main package, I suppose it's better that it remains the one that provides the plugin browser. Perphaps we could do something about that to have the choice, but the only thing I can think of is to talk with upstream and ask them to give djview4 nsplugin a different name.
Comment 6 Ștefan Talpalaru 2007-07-27 20:13:33 UTC
I think the browser plugin is basically the same as in the 3.x version. At some point djview will be separated from the djvu package and we won't have this problem. Until then, we should compile djvu with the qt3 flag to get the plugin, even if we don't use djview3...

If you have the time, could you please explain me why the  use of:
"emake CC=$(tc-getCC) CXX=$(tc-getCXX)"
Is there a toolchain w/o CC and CXX set? Thanks.
Comment 7 Alexis Ballier gentoo-dev 2007-07-27 20:19:27 UTC
> If you have the time, could you please explain me why the  use of:
> "emake CC=$(tc-getCC) CXX=$(tc-getCXX)"
> Is there a toolchain w/o CC and CXX set? Thanks.

that's just to call gcc/g++ with their full names. gcc/g++ are usually the native compilers and it defaults to them for CC and CXX. Without that you have pain cross compiling the package or have to do some hacks while using distcc over different arches
Comment 8 Ștefan Talpalaru 2007-07-27 20:23:01 UTC
Then why not putting it in emake?
Comment 9 Alexis Ballier gentoo-dev 2007-07-28 10:10:23 UTC
(In reply to comment #8)
> Then why not putting it in emake?


Usually there is no need for this, but I suppose the way they use autotools + qmake does not handle it. But you're right, if that annoys someone he can just add the correct options to MAKEOPTS in make.conf.