Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134299 - x11-misc/gtkdialog needs sometimes locate (sys-apps/slocate)
Summary: x11-misc/gtkdialog needs sometimes locate (sys-apps/slocate)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low trivial (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 02:55 UTC by Sebastian Noack
Modified: 2006-05-28 04:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Noack 2006-05-25 02:55:43 UTC
Hi,

that you can do something like below in your gtkdialog program you need sys-apps/slocate. Please don't make gtkdialog dependent on slocate but add an einfo to the pkg_postinst procedure that you need it for certain purposes.

<button>
       <input file>/usr/share/GUIcompletion/button_save.xpm</input>
</button>

Btw, I don't see actually a reason why gtkdialog should need slocate but it complains if the locate-binary isn't there, if you refer to external files like above. Maybe someone could patch gtkdialog to not use locate or better; to is only if a corresponding useflag is set.

Regards
Sebastian Noack
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-05-27 05:08:22 UTC
Acording to the code (see src/stringman.c) gtkdialog needs locate to find a pixmap when not specified by full path (it first tries with access() call, if that fails, it tries to find the pixmap in /usr/share/icons/Bluecurve/16x16/stock/ and finally with locate). It's up to gtkdialog devs to fix that function. And yes: locate is optional.
Comment 2 Sebastian Noack 2006-05-28 04:37:05 UTC
Ok, I see. But could we implement nevertheless an slocate-useflag and patch gtkdialog this way that it use find instead of locate if it is enabled?

Best Regards
Sebastian Noack