Make gtkmm optional #16

Merged
merged 1 commit into from Jun 10, 2012

Projects

None yet

2 participants

@statianzo

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.

@splattael splattael merged commit b5cec5a into splattael:master Jun 10, 2012
@splattael
Owner

I've just released 0.7.3. Thanks!

@statianzo

Thank you for the quick new release. It's much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment