summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jordan <immoloism@gmail.com>2023-12-18 02:32:55 +0000
committerSam James <sam@gentoo.org>2023-12-21 11:49:43 +0000
commit935b3bc9bda84040619f15c5ac3ae5b66b20bd36 (patch)
treec4813e23e64c4afccb46b2206b1b4e9954bc4092 /mate-extra/mate-screensaver
parentmate-extra/mate-power-manager: add 1.26.1, 1.27.0 (diff)
downloadgentoo-935b3bc9bda84040619f15c5ac3ae5b66b20bd36.tar.gz
gentoo-935b3bc9bda84040619f15c5ac3ae5b66b20bd36.tar.bz2
gentoo-935b3bc9bda84040619f15c5ac3ae5b66b20bd36.zip
mate-extra/mate-screensaver: add 1.26.2, 1.27.0
Signed-off-by: Ian Jordan <immoloism@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mate-extra/mate-screensaver')
-rw-r--r--mate-extra/mate-screensaver/Manifest2
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.26.2.ebuild121
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.27.0.ebuild121
3 files changed, 244 insertions, 0 deletions
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest
index 107f7f1436bb..36addf008023 100644
--- a/mate-extra/mate-screensaver/Manifest
+++ b/mate-extra/mate-screensaver/Manifest
@@ -1 +1,3 @@
DIST mate-screensaver-1.26.1.tar.xz 5141728 BLAKE2B bf20c049b3714b223225bb9b902bdefecce5d04f48858104ecd6217b04c22c2f5f874ea07f75ff365cee1d2230415133c06027b804fd5d695237d29007b427cf SHA512 608c8baecfb415c9a97563f4bf62a183899ae0ad40d10a5ce8dc409f4c33940ed57a7c8c37c93cdf693f76cd310b1cef3441de1cbd36d0ecc40919c8a8917f30
+DIST mate-screensaver-1.26.2.tar.xz 5154752 BLAKE2B 9958647156c84f1c7cc346dc9e0905a07ab626b2fe0913b5108e533e6b7708efceaf3ab3a399f7d6ec73cfccb2173127c13e69a11218bb2f5cb6e6a05f43318d SHA512 00820a431c64e9486258c33f211630060f1f07c36642b90a981dc16cd8b8995140f58118d7ee642002e6ab64d1667556c4682aac4f2f1c02720cb815447287cf
+DIST mate-screensaver-1.27.0.tar.xz 5154896 BLAKE2B 284307e9b3dd755e92c248badfcf70d129822d816f19f174d04f866a2a53b06db849ba5f11409990c919cce770424da80979f69cc74c0acff9c24aea5b236725 SHA512 fb9911767b1713f17caef33b2e17113e644c83636788ecf33c81d483a008e736ef9b3f15958469fe4fcd7d7052f2c16fe3e32c401d0f7a63f8abaf458bdfebf1
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.26.2.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.26.2.ebuild
new file mode 100644
index 000000000000..fc4b3a33e3fc
--- /dev/null
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.26.2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate readme.gentoo-r1
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
+
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug elogind libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+COMMON_DEPEND="
+ >=dev-libs/dbus-glib-0.71:0
+ >=dev-libs/glib-2.58: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
+ 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
+ libnotify? ( >=x11-libs/libnotify-0.7: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
+ virtual/libintl
+ !!<gnome-extra/gnome-screensaver-3
+ mate-base/mate-panel
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8:*
+ x11-base/xorg-proto
+ virtual/pkgconfig:*
+"
+
+DOC_CONTENTS="
+ Information for converting screensavers is located in
+ /usr/share/doc/${PF}/xss-conversion.txt*
+"
+
+src_configure() {
+ local myconf=(
+ --enable-locking
+ --with-kbd-layout-indicator
+ --with-xf86gamma-ext
+ --with-xscreensaverdir=/usr/share/xscreensaver/config
+ --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver
+ --without-console-kit
+ $(use_with X x)
+ $(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() {
+ 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
+ # https://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.27.0.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.27.0.ebuild
new file mode 100644
index 000000000000..fc4b3a33e3fc
--- /dev/null
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.27.0.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mate readme.gentoo-r1
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
+
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug elogind libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+COMMON_DEPEND="
+ >=dev-libs/dbus-glib-0.71:0
+ >=dev-libs/glib-2.58: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
+ 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
+ libnotify? ( >=x11-libs/libnotify-0.7: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
+ virtual/libintl
+ !!<gnome-extra/gnome-screensaver-3
+ mate-base/mate-panel
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8:*
+ x11-base/xorg-proto
+ virtual/pkgconfig:*
+"
+
+DOC_CONTENTS="
+ Information for converting screensavers is located in
+ /usr/share/doc/${PF}/xss-conversion.txt*
+"
+
+src_configure() {
+ local myconf=(
+ --enable-locking
+ --with-kbd-layout-indicator
+ --with-xf86gamma-ext
+ --with-xscreensaverdir=/usr/share/xscreensaver/config
+ --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver
+ --without-console-kit
+ $(use_with X x)
+ $(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() {
+ 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
+ # https://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
+}