Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 570610 Details for
Bug 681334
mate-extra/mate-screensaver and mate-extra/mate-system-monitor: elogind support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
autoconf precious variable approach to adding elogind support
0001-mate-extra-mate-screensaver-add-elogind-support.patch (text/plain), 2.51 KB, created by
Mart Raudsepp
on 2019-03-24 16:12:13 UTC
(
hide
)
Description:
autoconf precious variable approach to adding elogind support
Filename:
MIME Type:
Creator:
Mart Raudsepp
Created:
2019-03-24 16:12:13 UTC
Size:
2.51 KB
patch
obsolete
>From c3836346b4c9b7c2c19f3262f7e714e3ce8582e7 Mon Sep 17 00:00:00 2001 >From: Mart Raudsepp <leio@gentoo.org> >Date: Sun, 24 Mar 2019 18:10:55 +0200 >Subject: [PATCH] mate-extra/mate-screensaver: add elogind support > >Closes: https://bugs.gentoo.org/681334 >Package-Manager: Portage-2.3.52, Repoman-2.3.12 >Signed-off-by: Mart Raudsepp <leio@gentoo.org> >--- > .../mate-screensaver-1.22.0.ebuild | 39 ++++++++++++------- > 1 file changed, 26 insertions(+), 13 deletions(-) > >diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild >index afbb7b7d8e6..1b95e70b41c 100644 >--- a/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild >+++ b/mate-extra/mate-screensaver/mate-screensaver-1.22.0.ebuild >@@ -13,7 +13,8 @@ DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop" > LICENSE="GPL-2" > SLOT="0" > >-IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd" >+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd" >+REQUIRED_USE="?? ( elogind systemd )" > > DOC_CONTENTS=" > Information for converting screensavers is located in >@@ -45,6 +46,7 @@ COMMON_DEPEND=" > opengl? ( virtual/opengl ) > pam? ( gnome-base/gnome-keyring virtual/pam ) > !pam? ( kernel_linux? ( sys-apps/shadow ) ) >+ elogind? ( sys-auth/elogind ) > systemd? ( sys-apps/systemd:= ) > !!<gnome-extra/gnome-screensaver-3" > >@@ -58,19 +60,30 @@ DEPEND="${COMMON_DEPEND} > virtual/pkgconfig:*" > > src_configure() { >- mate_src_configure \ >- --enable-locking \ >- --with-kbd-layout-indicator \ >- --with-xf86gamma-ext \ >- --with-xscreensaverdir=/usr/share/xscreensaver/config \ >- --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver \ >- $(use_with X x) \ >- $(use_with consolekit console-kit) \ >- $(use_with libnotify) \ >- $(use_with opengl libgl) \ >- $(use_with systemd) \ >- $(use_enable debug) \ >+ local myconf=( >+ --enable-locking >+ --with-kbd-layout-indicator >+ --with-xf86gamma-ext >+ --with-xscreensaverdir=/usr/share/xscreensaver/config >+ --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver >+ $(use_with X x) >+ $(use_with consolekit console-kit) >+ $(use_with libnotify) >+ $(use_with opengl libgl) >+ $(use_with systemd) >+ $(use_enable debug) > $(use_enable pam) >+ ) >+ >+ if use elogind; then >+ myconf+=( >+ --with-systemd >+ SYSTEMD_CFLAGS=`pkg-config --cflags "libelogind" 2>/dev/null` >+ SYSTEMD_LIBS=`pkg-config --libs "libelogind" 2>/dev/null` >+ ) >+ fi >+ >+ mate_src_configure "${myconf[@]}" > } > > src_install() { >-- >2.17.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 681334
: 570610