diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /gnome-extra/cinnamon-session/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'gnome-extra/cinnamon-session/files')
3 files changed, 0 insertions, 124 deletions
diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-3.0.1-automagic.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-3.0.1-automagic.patch deleted file mode 100644 index 9ca31379a60e..000000000000 --- a/gnome-extra/cinnamon-session/files/cinnamon-session-3.0.1-automagic.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/configure.ac~ 2016-05-20 13:03:13.000000000 +0200 -+++ b/configure.ac 2016-06-25 17:36:55.389583194 +0200 -@@ -56,7 +56,15 @@ - - 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,9 +104,15 @@ - dnl Check for logind - dnl ==================================================================== - --PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd-login], [have_logind=yes], [ -- PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd], [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 >= 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]) diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind.patch deleted file mode 100644 index fdbda72ca22e..000000000000 --- a/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff --git a/cinnamon-session/Makefile.am b/cinnamon-session/Makefile.am -index 789d47d..d8093d4 100644 ---- a/cinnamon-session/Makefile.am -+++ b/cinnamon-session/Makefile.am -@@ -71,6 +71,7 @@ cinnamon_session_CPPFLAGS = \ - $(XEXT_CFLAGS) \ - $(GCONF_CFLAGS) \ - $(LOGIND_CFLAGS) \ -+ $(ELOGIND_CFLAGS) \ - -I$(top_srcdir)/egg \ - -DLOCALE_DIR=\""$(datadir)/locale"\" \ - -DDATA_DIR=\""$(datadir)/cinnamon-session"\" \ -@@ -91,6 +92,7 @@ cinnamon_session_LDADD = \ - $(UPOWER_LIBS) \ - $(GCONF_LIBS) \ - $(LOGIND_LIBS) \ -+ $(ELOGIND_LIBS) \ - $(EXECINFO_LIBS) - - libcsmutil_la_SOURCES = \ -diff --git a/cinnamon-session/csm-systemd.c b/cinnamon-session/csm-systemd.c -index cef991c..dc2aa2e 100644 ---- a/cinnamon-session/csm-systemd.c -+++ b/cinnamon-session/csm-systemd.c -@@ -32,7 +32,11 @@ - #include <sys/types.h> - #include <pwd.h> - -+#ifdef HAVE_ELOGIND -+#include <elogind/sd-login.h> -+#else - #include <systemd/sd-login.h> -+#endif - - #include <glib.h> - #include <glib-object.h> -diff --git a/configure.ac b/configure.ac -index 38db5a3..8dafc6a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -113,15 +113,23 @@ AC_ARG_ENABLE([logind], - - have_logind=no - if test x$enable_logind != xno ; then -- PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd >= 183], [have_logind=yes], [have_logind=no]) -+ PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0], [have_logind=yes], [have_logind=no]) - fi - - if test x$have_logind = xyes; then - AC_DEFINE(HAVE_LOGIND, 1, [Define if logind is supported]) - fi - -+have_elogind=no -+PKG_CHECK_MODULES(ELOGIND, [libelogind], [have_elogind=yes], [have_elogind=no]) -+if test x$have_elogind = xyes; then -+ AC_DEFINE(HAVE_ELOGIND, 1, [Define if elogind is supported]) -+fi -+ - AC_SUBST(LOGIND_CFLAGS) - AC_SUBST(LOGIND_LIBS) -+AC_SUBST(ELOGIND_CFLAGS) -+AC_SUBST(ELOGIND_LIBS) - - dnl ==================================================================== - dnl Option to disable DBus user session support. diff --git a/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind2.patch b/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind2.patch deleted file mode 100644 index a58703bc1bf3..000000000000 --- a/gnome-extra/cinnamon-session/files/cinnamon-session-3.6.1-elogind2.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index c46b35f..5bde44a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -113,7 +113,7 @@ AC_ARG_ENABLE([logind], - - have_logind=no - if test x$enable_logind != xno ; then -- PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0], [have_logind=yes], [have_logind=no]) -+ PKG_CHECK_MODULES(LOGIND, [gio-unix-2.0 libsystemd], [have_logind=yes], [have_logind=no]) - fi - - if test x$have_logind = xyes; then -@@ -124,6 +124,7 @@ have_elogind=no - PKG_CHECK_MODULES(ELOGIND, [libelogind], [have_elogind=yes], [have_elogind=no]) - if test x$have_elogind = xyes; then - AC_DEFINE(HAVE_ELOGIND, 1, [Define if elogind is supported]) -+ AC_DEFINE(HAVE_LOGIND, 1, [Define if logind is supported]) - fi - - AC_SUBST(LOGIND_CFLAGS) |