[Fedora-haskell-list] attempt at a ghc-DBus spec
by R. Andrew Bailey
Hi All,
I'm an xmonad user, and would like to try the xmonad-log-applet for
Gnome. xmonad-log-applet depends on ghc-DBus, which isn't packaged
yet, so I've taken a stab at it.
DBus-0.4 includes an autoconf configure script, which produces a
DBus.buildinfo file. That file appears to contain the correct values
for cc-options and ld-options, but when the subsequent Setup.hs build
runs, the values are ignored, and the build fails missing
dbus/dbus.h, although dbus-devel is installed.
As a temporary workaround, I adjusted the cabal_configure macro to
pass --extra-include-dirs, and the build completes
successfully. However, when I then try to import DBus into xmonad,
all the libdbus-1 symbols are undefined, and running ldd against
libHSDBus-0.4-ghc6.12.3.so, I don't see libdbus-1 in the list. I
wonder if there's something special I need to do to get it to link
with the shared libdbus-1?
I've tried a I think this was probably a bad first package to
attempt, and I'm hoping perhaps someone on the list may have a
working spec file for this one already.
Thanks in advance!
.andy
13 years, 5 months