From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 90AAB138CEA for ; Sun, 14 Jun 2015 01:56:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AD5BE0802; Sun, 14 Jun 2015 01:56:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41DDEE0802 for ; Sun, 14 Jun 2015 01:56:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41734340A49 for ; Sun, 14 Jun 2015 01:56:13 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2306) id F2CC0A38; Sun, 14 Jun 2015 01:56:11 +0000 (UTC) From: "Alexandre Rostovtsev (tetromino)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, tetromino@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/cinnamon-session/files: cinnamon-session-2.6.2-automagic.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: cinnamon-session-2.6.2-automagic.patch X-VCS-Directories: gnome-extra/cinnamon-session/files X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Rostovtsev Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20150614015611.F2CC0A38@oystercatcher.gentoo.org> Date: Sun, 14 Jun 2015 01:56:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 92cc32eb-1562-4ea6-9ccc-fd34a20613d6 X-Archives-Hash: 6bf58c3e6d9752bad8b7320776c13966 tetromino 15/06/14 01:56:11 Added: cinnamon-session-2.6.2-automagic.patch Log: Version bump for Cinnamon 2.6. Drop old. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D) Revision Changes Path 1.1 gnome-extra/cinnamon-session/files/cinnamon-session-2.6.2-automagic.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon-session/files/cinnamon-session-2.6.2-automagic.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/cinnamon-session/files/cinnamon-session-2.6.2-automagic.patch?rev=1.1&content-type=text/plain Index: cinnamon-session-2.6.2-automagic.patch =================================================================== >From 586c07b431e9b0e1f11a9017ee0b84dc9b8ec08a Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Mon, 5 May 2014 22:34:14 -0400 Subject: [PATCH] Make logind and old upower check non-automagic --- configure.ac | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2f6fa7a..6e908cc 100644 --- a/configure.ac +++ b/configure.ac @@ -56,7 +56,15 @@ PKG_CHECK_MODULES(CINNAMON_SESSION, dnl We can only support old upower dnl https://bugzilla.gnome.org/show_bug.cgi?id=710383 -PKG_CHECK_MODULES(UPOWER, upower-glib < 0.99.0, have_old_upower=yes, have_old_upower=no) +AC_ARG_ENABLE([old-upower], + AS_HELP_STRING([--disable-old-upower], [Do not check for old UPower API]), + [enable_old_upower=$enableval], + [enable_old_upower=auto]) + +have_old_upower=no +if test x$enable_old_upower != xno ; then + PKG_CHECK_MODULES(UPOWER, upower-glib < 0.99.0, have_old_upower=yes, have_old_upower=no) +fi AS_IF([test x$have_old_upower = xyes], [ AC_DEFINE([HAVE_OLD_UPOWER], [1], [Define if we have an older upower]) ]) @@ -96,7 +104,15 @@ dnl ==================================================================== dnl Check for logind dnl ==================================================================== -PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd-login >= 183], [have_logind=yes], [have_logind=no]) +AC_ARG_ENABLE([logind], + AS_HELP_STRING([--disable-logind], [Do not check for logind]), + [enable_logind=$enableval], + [enable_logind=auto]) + +have_logind=no +if test x$enable_logind != xno ; then + PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd-login >= 183], [have_logind=yes], [have_logind=no]) +fi if test x$have_logind = xyes; then AC_DEFINE(HAVE_LOGIND, 1, [Define if logind is supported]) -- 2.4.3