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

Bug 83311

Summary: app-text/djvu ebuild cleanup
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch over current ebuild.
Gentoo specific acdesktop.m4

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-25 08:06:25 UTC
The attached patch applied over the current ebuild, with the other file put in ${FILESDIR} cleans up some problems with app-test/djvu ebuild.

At the moment the ebuild mark libjpeg dependency as mandatory, but it can be disable at ./configure, with also tiff dependency.
It also misses some flags like threads, debug, pic and nls.

The ebuild also adds a nsplugin useflag which enable/disable the build of the plugin for netscape-compatible browsers (I haven't called it mozilla as it could be used also by opera and konqueror, calling it mozilla it's an error imho).

And to close, the other file is used to bypass the autocheck for kde/gnome data directories, hardsetting the ones used by Gentoo (/usr/share/applications for desktop file, and mime-data which is used by gnome and other environment), with a kde flag to enable/disable the installation of mimelnk, needed until KDE4 doesn't show up.

This make djvu not install files in KDE's prefix (as it shouldn't) and removes the icon in /usr/share/pixmaps which is not needed.

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-25 08:07:02 UTC
Created attachment 52125 [details, diff]
Patch over current ebuild.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-25 08:07:38 UTC
Created attachment 52126 [details]
Gentoo specific acdesktop.m4
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-04-08 21:37:18 UTC
Thanks for the patch. Added as dvju-3.5.14-r1.ebuild.