|
|
e3f29c |
From 23f4b91105c4fa9fa2231d2e1049728a6383cd65 Mon Sep 17 00:00:00 2001
|
|
|
e3f29c |
From: Olivier Fourdan <ofourdan@redhat.com>
|
|
|
e3f29c |
Date: Fri, 15 Sep 2017 09:39:18 +0200
|
|
|
e3f29c |
Subject: [PATCH] Revert "build: Require libgudev >= 232"
|
|
|
e3f29c |
|
|
|
e3f29c |
This reverts commit 361bf847af82c7dca097302fe64c575079280c9c.
|
|
|
e3f29c |
---
|
|
|
e3f29c |
configure.ac | 4 ++--
|
|
|
e3f29c |
src/backends/native/meta-launcher.c | 4 ++++
|
|
|
e3f29c |
2 files changed, 6 insertions(+), 2 deletions(-)
|
|
|
e3f29c |
|
|
|
e3f29c |
diff --git a/configure.ac b/configure.ac
|
|
|
e3f29c |
index 805707933..813ca008a 100644
|
|
|
e3f29c |
--- a/configure.ac
|
|
|
e3f29c |
+++ b/configure.ac
|
|
|
e3f29c |
@@ -225,10 +225,10 @@ AC_MSG_CHECKING([gudev])
|
|
|
e3f29c |
if test x$with_gudev = xno ; then
|
|
|
e3f29c |
AC_MSG_RESULT([disabled])
|
|
|
e3f29c |
else
|
|
|
e3f29c |
- if $PKG_CONFIG --exists "gudev-1.0 >= 232"; then
|
|
|
e3f29c |
+ if $PKG_CONFIG --exists gudev-1.0; then
|
|
|
e3f29c |
have_gudev=yes
|
|
|
e3f29c |
AC_MSG_RESULT(yes)
|
|
|
e3f29c |
- MUTTER_PC_MODULES="$MUTTER_PC_MODULES gudev-1.0 >= 232"
|
|
|
e3f29c |
+ MUTTER_PC_MODULES="$MUTTER_PC_MODULES gudev-1.0"
|
|
|
e3f29c |
AC_DEFINE([HAVE_LIBGUDEV], 1, [Building with gudev for device type detection])
|
|
|
e3f29c |
else
|
|
|
e3f29c |
AC_MSG_RESULT(no)
|
|
|
e3f29c |
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c
|
|
|
e3f29c |
index eb35f88be..90b4b98ba 100644
|
|
|
e3f29c |
--- a/src/backends/native/meta-launcher.c
|
|
|
e3f29c |
+++ b/src/backends/native/meta-launcher.c
|
|
|
e3f29c |
@@ -49,6 +49,10 @@
|
|
|
e3f29c |
|
|
|
e3f29c |
#define DRM_CARD_UDEV_DEVICE_TYPE "drm_minor"
|
|
|
e3f29c |
|
|
|
e3f29c |
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevDevice, g_object_unref)
|
|
|
e3f29c |
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevClient, g_object_unref)
|
|
|
e3f29c |
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevEnumerator, g_object_unref)
|
|
|
e3f29c |
+
|
|
|
e3f29c |
struct _MetaLauncher
|
|
|
e3f29c |
{
|
|
|
e3f29c |
Login1Session *session_proxy;
|
|
|
e3f29c |
--
|
|
|
e3f29c |
2.13.5
|
|
|
e3f29c |
|