summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Feldman <NP-Hardass@gentoo.org>2020-03-26 18:22:43 -0400
committerAdam Feldman <NP-Hardass@gentoo.org>2020-04-09 18:49:21 -0400
commitb401689f8bfee7256a136b4fc100aef175bf4daa (patch)
tree925309725b1a79e5a6493879931bbac9ef15dbf8 /mate-extra/mate-screensaver
parentmate-base/mate-control-center: Drop old, sync with Gentoo (diff)
downloadgentoo-mate-b401689f8bfee7256a136b4fc100aef175bf4daa.tar.gz
gentoo-mate-b401689f8bfee7256a136b4fc100aef175bf4daa.tar.bz2
gentoo-mate-b401689f8bfee7256a136b4fc100aef175bf4daa.zip
mate-extra/mate-screensaver: Drop old, sync with Gentoo
Package-Manager: Portage-2.3.82, Repoman-2.3.18 Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
Diffstat (limited to 'mate-extra/mate-screensaver')
-rw-r--r--mate-extra/mate-screensaver/Manifest7
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.12.0-r1.ebuild116
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.22.1.ebuild (renamed from mate-extra/mate-screensaver/mate-screensaver-1.14.1.ebuild)99
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.22.2.ebuild (renamed from mate-extra/mate-screensaver/mate-screensaver-1.18.2.ebuild)88
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild (renamed from mate-extra/mate-screensaver/mate-screensaver-1.16.1.ebuild)107
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-9999.ebuild101
-rw-r--r--mate-extra/mate-screensaver/metadata.xml1
7 files changed, 206 insertions, 313 deletions
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest
index 9b4b7e8..04a6d8f 100644
--- a/mate-extra/mate-screensaver/Manifest
+++ b/mate-extra/mate-screensaver/Manifest
@@ -1,4 +1,3 @@
-DIST mate-screensaver-1.12.0.tar.xz 4868924 BLAKE2B b523e18eed64c7f4521e6ac5fb656479fc9ac15652ca6bb5a832b66944a52ac429bb9dcc73a6ac50fda49fc2ba22beda0ad3e58a7b5e44d96282066ab7d1a151 SHA512 01bdef496560eb8e9118b0ff66863568aaa6df872e7947d0a92fe9fcb1d305618b28928ea95c65a3367e3e4e79e9bdab7a8266287c8e3db2a5210b955d412c8d
-DIST mate-screensaver-1.14.1.tar.xz 4912772 BLAKE2B b317bd9e40d423fc16ec53966a5ca813dd07f250bee171dbbd351bfa14d33f4b28a2c98e71311903eea607c7059c75c12d38b09d91c55a13052bbe5026b46eec SHA512 28b5834450da9d7d2fd3a77504f244e69212e751435bd41a957f30a5231db312dba37ee39442c63a40098bb3d1e1fade81ea423f9d59b29fc5d1201522d1d8f8
-DIST mate-screensaver-1.16.1.tar.xz 4916316 BLAKE2B 0918082568752c52f8e03f52c8423f6d053327868eebca77615e22fcb5bab1225f0cbccdad2f66ec01325ba3b67fa67db617509855a27618be71e8cd9f76d60c SHA512 ac481226ccec9a2785321ecc18ef3ed7ec188ba3fcb6e31515bca97b86b68955b1b1e08d4f72dbb683552877240e2f294b48af6bdea36f23d39a0853e1620085
-DIST mate-screensaver-1.18.2.tar.xz 4926748 BLAKE2B 7790a579991886617accd3f38146b624c81145c588fbc93fe78b0015669ca53e493aca0689e157fc0c11b86248bbc3d00b479ad8c4c1c01288e853c1ef3dd40c SHA512 b8ec5705f1810ecb1b887d1c9ad2a5eca2a39f7a093154d45c8cfdbcef664520b09be0ed4ab5992b001a4445e71e4eefd4e28d83e22c7536788c9d32f703283e
+DIST mate-screensaver-1.22.1.tar.xz 4942928 BLAKE2B e82b6482ed9ec655bb8bea2795b0e2559cbdfcb2be5f27a2264486a2013b8234cb02292b6ca547f8812e6dc0c74646f51af8a2f8d7baf2f28bf1b688508350d5 SHA512 7ffb94d88095ff5580862fe9c958a2e4af7a424d40dc5e0f3c1da49a258035179573721fc7052710624916678e953a6347a898b53ff872a49e022987b8c02904
+DIST mate-screensaver-1.22.2.tar.xz 4943380 BLAKE2B 20d28ee7496af9fd9ac23d4f083eaee716eb97e1c3a9b921fc6b3655cfe4c6dc6e482827eb7fad40fbfd5dfb705bcac57aff3bf60e232b84562e496a7a56c354 SHA512 6d28f7261556d59af0bdb8c59ac13fc042c9c5b4cce47e7f6d4148041eb7f05d5cb062f85f05dddb51d009e4aebac31c21fc1243c0e07813adc050fede134ef3
+DIST mate-screensaver-1.24.0.tar.xz 5075860 BLAKE2B f669cb9ce1c84cdd2dd84b1c88b668ad1910102ae5d9765117d313b6ece03e535b5fdaae600d8f3315346ac1109d1316e15c0dcac5bd4a637b682fa7b5d1e22b SHA512 8947b85ab8b006a1756649131a9184e4eb8f44c563f5a1b55840aa8280820713bca1ce46fece92b5ac44a73193bfe965e8ef0d17e8e403a751807ee72c674cc0
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.12.0-r1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.12.0-r1.ebuild
deleted file mode 100644
index 6043c03..0000000
--- a/mate-extra/mate-screensaver/mate-screensaver-1.12.0-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit mate multilib readme.gentoo-r1
-
-if [[ ${PV} != 9999 ]]; then
- KEYWORDS="amd64 ~arm x86"
-fi
-
-DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="X debug consolekit gtk3 kernel_linux libnotify opengl pam systemd"
-
-DOC_CONTENTS="
- Information for converting screensavers is located in
- /usr/share/doc/${PF}/xss-conversion.txt*
-"
-
-RDEPEND="
- >=dev-libs/dbus-glib-0.71:0
- >=dev-libs/glib-2.36:2
- gnome-base/dconf:0
- >=mate-base/libmatekbd-1.7.1[gtk3(-)=]
- >=mate-base/mate-desktop-1.9.4[gtk3(-)=]
- >=mate-base/mate-menus-1.6
- >=mate-base/mate-session-manager-1.6
- >=sys-apps/dbus-0.30:0
- >=x11-libs/gdk-pixbuf-2.14:2
- >=x11-libs/libX11-1:0
- x11-libs/cairo:0
- x11-libs/libXext:0
- x11-libs/libXrandr:0
- x11-libs/libXScrnSaver:0
- x11-libs/libXxf86misc:0
- x11-libs/libXxf86vm:0
- x11-libs/libxklavier:0
- x11-libs/pango:0
- virtual/libintl:0
- consolekit? ( sys-auth/consolekit:0 )
- !gtk3? ( >=x11-libs/gtk+-2.24:2 )
- gtk3? ( >=x11-libs/gtk+-3.0:3 )
- libnotify? ( >=x11-libs/libnotify-0.7:0 )
- opengl? ( virtual/opengl:0 )
- pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
- !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
- systemd? ( sys-apps/systemd:0= )
- !!<gnome-extra/gnome-screensaver-3:0"
-
-DEPEND="${RDEPEND}
- >=dev-util/intltool-0.50.1:*
- sys-devel/gettext:*
- x11-proto/randrproto:0
- x11-proto/scrnsaverproto:0
- x11-proto/xextproto:0
- x11-proto/xf86miscproto:0
- 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 \
- --with-gtk=$(usex gtk3 3.0 2.0) \
- $(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)
-}
-
-src_install() {
- mate_src_install
-
- # Install the conversion script in the documentation.
- dodoc "${S}"/data/migrate-xscreensaver-config.sh
- dodoc "${S}"/data/xscreensaver-config.xsl
- dodoc "${FILESDIR}"/xss-conversion.txt
-
- # Non PAM users will need this suid to read the password hashes.
- # OpenPAM users will probably need this too when
- # http://bugzilla.gnome.org/show_bug.cgi?id=370847
- # is fixed.
- if ! use pam ; then
- fperms u+s /usr/libexec/mate-screensaver-dialog
- fi
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- mate_pkg_postinst
-
- if has_version "<x11-base/xorg-server-1.5.3-r4" ; then
- ewarn "You have a too old xorg-server installation. This will cause"
- ewarn "mate-screensaver to eat up your CPU. Please consider upgrading."
- echo
- fi
-
- if has_version "<x11-misc/xscreensaver-4.22-r2" ; then
- ewarn "You have xscreensaver installed, you probably want to disable it."
- ewarn "To prevent a duplicate screensaver entry in the menu, you need to"
- ewarn "build xscreensaver with -gnome in the USE flags."
- ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use"
- echo
- fi
-
- readme.gentoo_print_elog
-}
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.14.1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.22.1.ebuild
index b4d07cb..07f6449 100644
--- a/mate-extra/mate-screensaver/mate-screensaver-1.14.1.ebuild
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.22.1.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit mate multilib readme.gentoo-r1
+inherit mate readme.gentoo-r1
if [[ ${PV} != 9999 ]]; then
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 x86"
fi
DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="X debug consolekit gtk3 kernel_linux libnotify opengl pam systemd"
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
DOC_CONTENTS="
Information for converting screensavers is located in
@@ -22,60 +23,60 @@ DOC_CONTENTS="
COMMON_DEPEND="
>=dev-libs/dbus-glib-0.71:0
- >=dev-libs/glib-2.36:2
- gnome-base/dconf:0
- >=mate-base/libmatekbd-1.7.1[gtk3(-)=]
- >=mate-base/mate-desktop-1.9.4[gtk3(-)=]
- >=mate-base/mate-menus-1.6
- >=sys-apps/dbus-0.30:0
+ >=dev-libs/glib-2.50:2
+ gnome-base/dconf
+ >=mate-base/libmatekbd-1.17.0
+ >=mate-base/mate-desktop-1.17.0
+ >=mate-base/mate-menus-1.21.0
+ >=sys-apps/dbus-0.30
>=x11-libs/gdk-pixbuf-2.14:2
- >=x11-libs/libX11-1:0
- x11-libs/cairo:0
- x11-libs/libXext:0
- x11-libs/libXrandr:0
- x11-libs/libXScrnSaver:0
- x11-libs/libXxf86misc:0
- x11-libs/libXxf86vm:0
- x11-libs/libxklavier:0
- x11-libs/pango:0
- virtual/libintl:0
- consolekit? ( sys-auth/consolekit:0 )
- !gtk3? ( >=x11-libs/gtk+-2.24:2 )
- gtk3? ( >=x11-libs/gtk+-3.0:3 )
+ >=x11-libs/libX11-1
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXxf86misc
+ x11-libs/libXxf86vm
+ x11-libs/libxklavier
+ x11-libs/pango
+ virtual/libintl
+ consolekit? ( sys-auth/consolekit )
libnotify? ( >=x11-libs/libnotify-0.7:0 )
- opengl? ( virtual/opengl:0 )
- pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
- !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
- systemd? ( sys-apps/systemd:0= )
- !!<gnome-extra/gnome-screensaver-3:0"
+ opengl? ( virtual/opengl )
+ pam? ( gnome-base/gnome-keyring sys-libs/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd:= )
+ !!<gnome-extra/gnome-screensaver-3"
RDEPEND="${COMMON_DEPEND}
>=mate-base/mate-session-manager-1.6"
DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.50.1:*
+ >=dev-util/intltool-0.50.1
sys-devel/gettext:*
- x11-proto/randrproto:0
- x11-proto/scrnsaverproto:0
- x11-proto/xextproto:0
- x11-proto/xf86miscproto:0
+ x11-base/xorg-proto
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 \
- --with-gtk=$(usex gtk3 3.0 2.0) \
- $(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 elogind)
+ $(use_with libnotify)
+ $(use_with opengl libgl)
+ $(use_with systemd)
+ $(use_enable debug)
$(use_enable pam)
+ )
+
+ mate_src_configure "${myconf[@]}"
}
src_install() {
@@ -88,7 +89,7 @@ src_install() {
# Non PAM users will need this suid to read the password hashes.
# OpenPAM users will probably need this too when
- # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+ # https://bugzilla.gnome.org/show_bug.cgi?id=370847
# is fixed.
if ! use pam ; then
fperms u+s /usr/libexec/mate-screensaver-dialog
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.18.2.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.22.2.ebuild
index f050c57..5c25978 100644
--- a/mate-extra/mate-screensaver/mate-screensaver-1.18.2.ebuild
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.22.2.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit mate multilib readme.gentoo-r1
+inherit mate readme.gentoo-r1
if [[ ${PV} != 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd"
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
DOC_CONTENTS="
Information for converting screensavers is located in
@@ -22,58 +23,59 @@ DOC_CONTENTS="
COMMON_DEPEND="
>=dev-libs/dbus-glib-0.71:0
- >=dev-libs/glib-2.36:2
- gnome-base/dconf:0
+ >=dev-libs/glib-2.50:2
+ gnome-base/dconf
>=mate-base/libmatekbd-1.17.0
>=mate-base/mate-desktop-1.17.0
- >=mate-base/mate-menus-1.10.0
- >=sys-apps/dbus-0.30:0
+ >=mate-base/mate-menus-1.21.0
+ >=sys-apps/dbus-0.30
>=x11-libs/gdk-pixbuf-2.14:2
- >=x11-libs/libX11-1:0
- x11-libs/cairo:0
- >=x11-libs/gtk+-3.14:3
- x11-libs/libXext:0
- x11-libs/libXrandr:0
- x11-libs/libXScrnSaver:0
- x11-libs/libXxf86misc:0
- x11-libs/libXxf86vm:0
- x11-libs/libxklavier:0
- x11-libs/pango:0
- virtual/libintl:0
- consolekit? ( sys-auth/consolekit:0 )
+ >=x11-libs/libX11-1
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXxf86vm
+ x11-libs/libxklavier
+ x11-libs/pango
+ virtual/libintl
+ consolekit? ( sys-auth/consolekit )
libnotify? ( >=x11-libs/libnotify-0.7:0 )
- opengl? ( virtual/opengl:0 )
- pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
- !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
- systemd? ( sys-apps/systemd:0= )
- !!<gnome-extra/gnome-screensaver-3:0"
+ opengl? ( virtual/opengl )
+ pam? ( gnome-base/gnome-keyring sys-libs/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd:= )
+ !!<gnome-extra/gnome-screensaver-3"
RDEPEND="${COMMON_DEPEND}
>=mate-base/mate-session-manager-1.6"
DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.50.1:*
+ >=dev-util/intltool-0.50.1
sys-devel/gettext:*
- x11-proto/randrproto:0
- x11-proto/scrnsaverproto:0
- x11-proto/xextproto:0
- x11-proto/xf86miscproto:0
+ x11-base/xorg-proto
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 elogind)
+ $(use_with libnotify)
+ $(use_with opengl libgl)
+ $(use_with systemd)
+ $(use_enable debug)
$(use_enable pam)
+ )
+
+ mate_src_configure "${myconf[@]}"
}
src_install() {
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.16.1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild
index 9db9cf6..37afee1 100644
--- a/mate-extra/mate-screensaver/mate-screensaver-1.16.1.ebuild
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.24.0.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit mate multilib readme.gentoo-r1
+inherit mate readme.gentoo-r1
if [[ ${PV} != 9999 ]]; then
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="X debug consolekit gtk3 kernel_linux libnotify opengl pam systemd"
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
DOC_CONTENTS="
Information for converting screensavers is located in
@@ -22,60 +23,62 @@ DOC_CONTENTS="
COMMON_DEPEND="
>=dev-libs/dbus-glib-0.71:0
- >=dev-libs/glib-2.36:2
- gnome-base/dconf:0
- >=mate-base/libmatekbd-1.7.1[gtk3(-)=]
- >=mate-base/mate-desktop-1.9.4[gtk3(-)=]
- >=mate-base/mate-menus-1.6
- >=sys-apps/dbus-0.30:0
+ >=dev-libs/glib-2.50:2
+ gnome-base/dconf
+ >=mate-base/libmatekbd-1.17.0
+ >=mate-base/mate-desktop-1.17.0
+ >=mate-base/mate-menus-1.21.0
+ >=sys-apps/dbus-0.30
>=x11-libs/gdk-pixbuf-2.14:2
- >=x11-libs/libX11-1:0
- x11-libs/cairo:0
- x11-libs/libXext:0
- x11-libs/libXrandr:0
- x11-libs/libXScrnSaver:0
- x11-libs/libXxf86misc:0
- x11-libs/libXxf86vm:0
- x11-libs/libxklavier:0
- x11-libs/pango:0
- virtual/libintl:0
- consolekit? ( sys-auth/consolekit:0 )
- !gtk3? ( >=x11-libs/gtk+-2.24:2 )
- gtk3? ( >=x11-libs/gtk+-3.0:3 )
+ >=x11-libs/libX11-1
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXxf86vm
+ x11-libs/libxklavier
+ x11-libs/pango
+ consolekit? ( sys-auth/consolekit )
libnotify? ( >=x11-libs/libnotify-0.7:0 )
- opengl? ( virtual/opengl:0 )
- pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
- !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
- systemd? ( sys-apps/systemd:0= )
- !!<gnome-extra/gnome-screensaver-3:0"
+ opengl? ( virtual/opengl )
+ pam? ( gnome-base/gnome-keyring sys-libs/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd:= )
+"
RDEPEND="${COMMON_DEPEND}
- >=mate-base/mate-session-manager-1.6"
+ >=mate-base/mate-session-manager-1.6
+ virtual/libintl
+ !!<gnome-extra/gnome-screensaver-3
+"
DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.50.1:*
- sys-devel/gettext:*
- x11-proto/randrproto:0
- x11-proto/scrnsaverproto:0
- x11-proto/xextproto:0
- x11-proto/xf86miscproto:0
- virtual/pkgconfig:*"
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8:*
+ x11-base/xorg-proto
+ 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 \
- --with-gtk=$(usex gtk3 3.0 2.0) \
- $(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 elogind)
+ $(use_with libnotify)
+ $(use_with opengl libgl)
+ $(use_with systemd)
+ $(use_enable debug)
$(use_enable pam)
+ )
+
+ mate_src_configure "${myconf[@]}"
}
src_install() {
@@ -88,7 +91,7 @@ src_install() {
# Non PAM users will need this suid to read the password hashes.
# OpenPAM users will probably need this too when
- # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+ # https://bugzilla.gnome.org/show_bug.cgi?id=370847
# is fixed.
if ! use pam ; then
fperms u+s /usr/libexec/mate-screensaver-dialog
diff --git a/mate-extra/mate-screensaver/mate-screensaver-9999.ebuild b/mate-extra/mate-screensaver/mate-screensaver-9999.ebuild
index 284f936..37afee1 100644
--- a/mate-extra/mate-screensaver/mate-screensaver-9999.ebuild
+++ b/mate-extra/mate-screensaver/mate-screensaver-9999.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit mate multilib readme.gentoo-r1
+inherit mate readme.gentoo-r1
if [[ ${PV} != 9999 ]]; then
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd"
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
DOC_CONTENTS="
Information for converting screensavers is located in
@@ -22,58 +23,62 @@ DOC_CONTENTS="
COMMON_DEPEND="
>=dev-libs/dbus-glib-0.71:0
- >=dev-libs/glib-2.36:2
- gnome-base/dconf:0
+ >=dev-libs/glib-2.50:2
+ gnome-base/dconf
>=mate-base/libmatekbd-1.17.0
>=mate-base/mate-desktop-1.17.0
- >=mate-base/mate-menus-1.10.0
- >=sys-apps/dbus-0.30:0
+ >=mate-base/mate-menus-1.21.0
+ >=sys-apps/dbus-0.30
>=x11-libs/gdk-pixbuf-2.14:2
- >=x11-libs/libX11-1:0
- x11-libs/cairo:0
- >=x11-libs/gtk+-3.14:3
- x11-libs/libXext:0
- x11-libs/libXrandr:0
- x11-libs/libXScrnSaver:0
- x11-libs/libXxf86misc:0
- x11-libs/libXxf86vm:0
- x11-libs/libxklavier:0
- x11-libs/pango:0
- virtual/libintl:0
- consolekit? ( sys-auth/consolekit:0 )
+ >=x11-libs/libX11-1
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXxf86vm
+ x11-libs/libxklavier
+ x11-libs/pango
+ consolekit? ( sys-auth/consolekit )
libnotify? ( >=x11-libs/libnotify-0.7:0 )
- opengl? ( virtual/opengl:0 )
- pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
- !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
- systemd? ( sys-apps/systemd:0= )
- !!<gnome-extra/gnome-screensaver-3:0"
+ opengl? ( virtual/opengl )
+ pam? ( gnome-base/gnome-keyring sys-libs/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd:= )
+"
RDEPEND="${COMMON_DEPEND}
- >=mate-base/mate-session-manager-1.6"
+ >=mate-base/mate-session-manager-1.6
+ virtual/libintl
+ !!<gnome-extra/gnome-screensaver-3
+"
DEPEND="${COMMON_DEPEND}
- >=dev-util/intltool-0.50.1:*
- sys-devel/gettext:*
- x11-proto/randrproto:0
- x11-proto/scrnsaverproto:0
- x11-proto/xextproto:0
- x11-proto/xf86miscproto:0
- virtual/pkgconfig:*"
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8:*
+ x11-base/xorg-proto
+ 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 elogind)
+ $(use_with libnotify)
+ $(use_with opengl libgl)
+ $(use_with systemd)
+ $(use_enable debug)
$(use_enable pam)
+ )
+
+ mate_src_configure "${myconf[@]}"
}
src_install() {
@@ -86,7 +91,7 @@ src_install() {
# Non PAM users will need this suid to read the password hashes.
# OpenPAM users will probably need this too when
- # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+ # https://bugzilla.gnome.org/show_bug.cgi?id=370847
# is fixed.
if ! use pam ; then
fperms u+s /usr/libexec/mate-screensaver-dialog
diff --git a/mate-extra/mate-screensaver/metadata.xml b/mate-extra/mate-screensaver/metadata.xml
index a0d6c3a..4be3789 100644
--- a/mate-extra/mate-screensaver/metadata.xml
+++ b/mate-extra/mate-screensaver/metadata.xml
@@ -8,7 +8,6 @@
<use>
<flag name="consolekit">Enable support for
<pkg>sys-auth/consolekit</pkg></flag>
- <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
</use>
<upstream>
<remote-id type="github">mate-desktop/mate-screensaver</remote-id>