openbsd-ports/x11/gnome/gnote/patches/patch-configure_ac
jasper f0492d1151 import gnote 0.7.4
Gnote is a port of Tomboy to C++.
It is the same note taking application, including most of the add-ins
(more are to come). Synchronization support is being worked on.

This will replace tomboy in our tree, users can sync their tomboy notes
with the TomboyImport addin.

feedback/ok aja@
2011-05-06 11:25:46 +00:00

24 lines
957 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.1.1.1 2011/05/06 11:25:46 jasper Exp $
Use pkg-config to pickup uuid.
https://bugzilla.gnome.org/show_bug.cgi?id=649486
--- configure.ac.orig Sat Apr 30 20:39:54 2011
+++ configure.ac Thu May 5 18:26:32 2011
@@ -70,14 +70,11 @@ PKG_CHECK_MODULES(LIBXML, [libxml-2.0])
PKG_CHECK_MODULES(LIBXSLT, [libxslt])
PKG_CHECK_MODULES(GCONF, [gconf-2.0])
PKG_CHECK_MODULES(PCRE, [libpcrecpp])
+PKG_CHECK_MODULES(UUID, [e2fs-uuid])
PKG_CHECK_EXISTS(gtkmm-2.4 >= 2.14.0,
[AC_DEFINE(HAVE_CLASS_GTK__WIDGET_SIGNAL_POPUP_MENU, 1, [Define to 1 if class Gtk::Widget has signal_popup_menu])],
[])
-
-dnl check for the ext2 uuid library. TODO replace it with something more portable
-AC_CHECK_HEADER(uuid/uuid.h,,[AC_MSG_ERROR("uuid header is missing")])
-AC_CHECK_LIB(uuid,uuid_unparse_lower, ,[AC_MSG_ERROR("libuuid library is missing")])
AC_ARG_ENABLE([applet],
AS_HELP_STRING([--disable-applet],[Disable panel applet]),