[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Possible package...



On Fri, Sep 11, 2009 at 9:03 PM, Kevin Kofler <kevin kofler chello at> wrote:
> Ben Boeckel wrote:
>> Looking through the code, it looks like the #ifndef stuff for
>> things called "extensive hacks" could cause some issues, but
>> that's a cursory glance at it. I'm also not sure what to make of
>> the patches for Qt in its repository. If they're serious
>> patches, they should clone Qt on Gitorious and create merge
>> requests. Fedora's Qt probably won't ship with them without some
>> oversight that they aren't breaking things.
>
> At least part of their patches look like really awful hacks, e.g. they're
> making some of QtGui work without X11 to support their stuff being used in
> text mode despite using QtWebKit (which is normally a GUI component). Some
> of the patches also appear to break ABI compatibility.

I'd try adding a shell script wrapper which just does:

if test -z "$DISPLAY"; then
  exec xvfb-run /usr/libexec/foo/real-binary
else
  exec /usr/libexec/foo/real-binary
fi

Then you just need a dep on xorg-x11-server-Xvfb

Incidentally, I'd like to change the OS so that you *always* have a
DISPLAY (and DBUS_SESSION_BUS_ADDRESS), the first step of which would
probably just be a pam_session module that asks ConsoleKit if your uid
currently has a login, and if so pulls those bits in.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]