splattael/libnotify — pull request #16 by statianzo (2012-06-06 16:11:09+00:00)
Title: Make gtkmm optional

This removes the mandatory dependency on gtkmm. I understand that libnotify is provided half-linked in some distributions, as described in #4. However, adding a hard dependency gtkmm when it's not always needed is not the best approach. It makes this gem unusable on Arch Linux without having to install an unnecessary library.

The included changeset attempts to load libnotify on its own. If that fails, then gtk and gtkmm will be loaded in attempt to resolve the dependency.