Possible package...

Colin Walters walters at verbum.org
Sat Sep 12 01:13:46 UTC 2009


On Fri, Sep 11, 2009 at 9:03 PM, Kevin Kofler <kevin.kofler at 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.




More information about the devel mailing list