Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 165286
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gergan Penkov <gpp666_999@yahoo.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 165286 depends on: Show dependency tree
Bug 165286 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-04 16:01 0000
cleaning the cruft on my system I unmerged libXfontcache, but as a result
revdep-rebuild has shown xset broken because of this.
xset's ebuild does not have explicit dependency on libXfontcache in the ebuild,
but configure.ac shows:
PKG_CHECK_MODULES(SET_FONTCACHE, xfontcache,
        [SAVE_CPPFLAGS="$CPPFLAGS"
        CPPFLAGS="$CPPFLAGS $SET_FONTCACHE_CFLAGS $SET_X11_CFLAGS"
        AC_CHECK_HEADERS([X11/extensions/fontcache.h
X11/extensions/fontcacheP.h],,,[#include <X11/Xlib.h>])
        CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"])
looking in xset.c reveals that xset could control the fontcache if build with
libXfontcache:
#ifdef FONTCACHE
    fprintf (stderr, "    To control font cache:\n");
    fprintf (stderr, "\t fc [hi-mark [low-mark [balance]]]\n");
    fprintf (stderr, "\t    both mark values spcecified in KB\n");
    fprintf (stderr, "\t    balance value spcecified in percent (10 - 90)\n");
    fprintf (stderr, "    Show font cache statistics:\n");
    fprintf (stderr, "\t fc s\n");
#endif

so one possible resolution is to add unconditional depend on libXfontcache or
to make it an use-flag

------- Comment #1 From Joshua Baergen (RETIRED) 2007-02-04 17:47:36 0000 -------
Thanks for catching this!

I'll make the dependency unconditional, since it's a very small compile and it
would make sense to have this control by default.

I need a couple of keywords added to x11-libs/libXfontcache first - ~ia64 and
~x86-fbsd.

------- Comment #2 From Joshua Baergen (RETIRED) 2007-02-04 17:48:40 0000 -------
Oops - re-opening.

------- Comment #3 From Raúl Porcel 2007-03-26 16:37:29 0000 -------
~ia64 done. Adding bsd to cc.

------- Comment #4 From Peter Weller 2007-03-26 16:46:05 0000 -------
libXfontcache-1.0.4 keyworded ~x86-fbsd... and, unless I'm mistaken,
bsd@gentoo.org is not on the CC list? armin76...?

------- Comment #5 From Donnie Berkholz 2007-05-02 08:26:46 0000 -------
Fixed, thanks and sorry for the delay!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug