Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83311 - app-text/djvu ebuild cleanup
Summary: app-text/djvu ebuild cleanup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-25 08:06 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-04-08 21:37 UTC (History)
0 users

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


Attachments
Patch over current ebuild. (djvu.patch,2.22 KB, patch)
2005-02-25 08:07 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Gentoo specific acdesktop.m4 (gentoo-acdesktop.m4,2.43 KB, text/plain)
2005-02-25 08:07 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.