- Use url for source - Use macro for configure - Add patch x11_linking.patch to fix linking - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/328910 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/nitrogen?expand=0&rev=4
25 lines
962 B
Diff
25 lines
962 B
Diff
From 30b50d1e3d77966cd29e27c12dbe8f12eff2175d Mon Sep 17 00:00:00 2001
|
|
From: Dave Foster <daf@minuslab.net>
|
|
Date: Wed, 28 Mar 2012 21:28:33 -0400
|
|
Subject: [PATCH] Explicitly check for X11 lib in configure.ac, possibly fixes
|
|
#12
|
|
|
|
---
|
|
configure.ac | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 05fa03b..aa4dc42 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -39,6 +39,9 @@ PKG_CHECK_MODULES(GTHREAD2, [gthread-2.0 >= $GTHREAD2_VERSION])
|
|
NITROGEN_LIBS="$GLIB2_LIBS $GTK2_LIBS $GTKMM2_LIBS $GTHREAD2_LIBS"
|
|
NITROGEN_CFLAGS="$GLIB2_CFLAGS $GTK2_CFLAGS $GTKMM2_CFLAGS $GTHREAD2_CFLAGS"
|
|
|
|
+dnl apparantly we have to check for X11 now
|
|
+AC_CHECK_LIB(X11, XOpenDisplay, [NITROGEN_LIBS="$NITROGEN_LIBS -lX11"])
|
|
+
|
|
dnl do some autotools picen to get inotify
|
|
AC_ARG_ENABLE(inotify, [ --disable-inotify disable support for inotify watching of dirs (default: enabled)], [enable_inotify=$enableval],[enable_inotify=yes])
|
|
|