Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293118 - x11-apps/xset: has automagic deps
Summary: x11-apps/xset: has automagic deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: InVCS
: 295809 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-13 21:07 UTC by Rafał Mużyło
Modified: 2011-03-07 23:15 UTC (History)
3 users (show)

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


Attachments
patch making xfontcache configurable (default off) (xset-drop-xfontcache.patch,761 bytes, patch)
2009-11-14 18:44 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2009-11-13 21:07:24 UTC
You may disagree with my reason to file this against this
particular package.

I'm using xorg-server 1.7.1.
At the end of 'xset -q' output:
Font cache:
  Server does not have the FontCache Extension
As the server doesn't seem to build it, perhaps it would be
a good idea to drop it as a dep ?
I haven't checked yet if it's a case of "not built by default"
or "dropped from the tree". Also, right now if it wasn't for
RDEPEND, it would be automagical dep, but this looks like something
to consider.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-11-13 22:20:34 UTC
If the feature/dependency has a configure switch, please provide a patch and we'll consider it. If the feature is automagic, please write a patch to make it configurable.

Thanks
Comment 2 Rafał Mużyło 2009-11-14 18:44:11 UTC
Created attachment 210259 [details, diff]
patch making xfontcache configurable (default off)

Notice that other deps of xset in that configure.ac
are automagical too - including xprint.
Comment 3 Rafał Mużyło 2009-11-14 18:45:55 UTC
That's why, reopening (as I couldn't do it while creating
attachment and a reason is required by bugzilla)
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-12-05 11:43:56 UTC
*** Bug 295809 has been marked as a duplicate of this bug. ***
Comment 5 Rafał Mużyło 2009-12-05 19:36:47 UTC
*** Bug 295878 has been marked as a duplicate of this bug. ***
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-22 22:19:06 UTC
Actualy this patch is not required for 1.1.0, but it might deserve some useflags for the ebuild maybe.
Comment 7 Rafał Mużyło 2010-01-22 22:41:53 UTC
(In reply to comment #6)
> Actualy this patch is not required for 1.1.0, but it might deserve some
> useflags for the ebuild maybe.
> 
Hmm, strange...
I'm looking at 1.1.0 configure.ac and still seeing those automagical deps.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-22 22:46:10 UTC
I looked it on the cgit, so i prolly forgot to click on the tag first :]

Anyway we can use TRUNK configure.ac and useflag it maybe.
Comment 9 Fab 2010-07-20 14:08:17 UTC
Another automagic dep : x11-libs/libXp

Steps to reproduce :
 1. # emerge -1 libXp xset
 2. # emerge -C libXp
 3. # revdep-rebuild -i -- -av

You will see :
> [ 29% ]  *   broken /usr/bin/xset (requires libXp.so.6)
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2010-08-06 11:42:03 UTC
new version of xset has ./configure switches for those deps. Just a reminder to whoever will do the bump :)

Cheers
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-27 09:18:52 UTC
In main tree.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-27 09:19:23 UTC
(In reply to comment #10)
> new version of xset has ./configure switches for those deps. Just a reminder to
> whoever will do the bump :)
> 
> Cheers
> 

And for the record, it was already in main tree when you wrote this comment remi :D
Comment 13 Rafał Mużyło 2010-12-31 14:21:21 UTC
I forgot about this bug.
Well, so the configure switches are there, but the choice is still wrong.
xset should go with '--without-fontcache' and adjust deps for a very simple reason - this commit: http://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.9-branch&id=0b45ba488d8a3e901b83e445d17e7e9a67047b6c removed that extension before xorg-server 1.5.0 was released.
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-07 23:13:00 UTC
Right after looking to it i disabled both off.
Thanks for report and the patience.
Comment 15 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-07 23:15:14 UTC
Right after looking to it i disabled both off.
Thanks for report and the patience.