summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-20 16:21:32 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-20 16:21:32 +0100
commite7288dddf57560d8b5c36d43ee4ef0b02e69e720 (patch)
tree3a1056b991b8cf3b577fec8f5bc1e388acb0df49 /kde-plasma
parentkde-base/kdebase-cursors -> kde-plasma/kdebase-cursors (diff)
downloadgentoo-e7288dddf57560d8b5c36d43ee4ef0b02e69e720.tar.gz
gentoo-e7288dddf57560d8b5c36d43ee4ef0b02e69e720.tar.bz2
gentoo-e7288dddf57560d8b5c36d43ee4ef0b02e69e720.zip
kde-base/kscreensaver -> kde-plasma/kscreensaver
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/kscreensaver/Manifest1
-rw-r--r--kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch21
-rw-r--r--kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild22
-rw-r--r--kde-plasma/kscreensaver/metadata.xml8
4 files changed, 52 insertions, 0 deletions
diff --git a/kde-plasma/kscreensaver/Manifest b/kde-plasma/kscreensaver/Manifest
new file mode 100644
index 000000000000..db5163f83985
--- /dev/null
+++ b/kde-plasma/kscreensaver/Manifest
@@ -0,0 +1 @@
+DIST kde-workspace-4.11.22.tar.xz 13553668 SHA256 f035334e843d67ee88551ae9e6c5f64bf7b1edfe311b12501575fe74be0b03b7 SHA512 9def2cc8d1e597259966cd6cc44e9aad7ebe2c7cde5943e362c6782d1344e7da4fff0dddd0fe0c948bca159dba128d8a36006e1ae409415cd22f74955d0a9b95 WHIRLPOOL 14b0fcef19bda4b92a42612387fb6307a50dbb3620e911e3e0aaf5d764fb263e1959baae2e55cb71d92d064542844ae963b170bb960a9b7dc18a11627b731802
diff --git a/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch b/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch
new file mode 100644
index 000000000000..ff3aebf2e98d
--- /dev/null
+++ b/kde-plasma/kscreensaver/files/kscreensaver-4.5.95-nsfw.patch
@@ -0,0 +1,21 @@
+diff -ruN kscreensaver-4.5.95.orig/kscreensaver/krandom_screensaver/random.cpp kscreensaver-4.5.95/kscreensaver/krandom_screensaver/random.cpp
+--- kscreensaver-4.5.95.orig/kscreensaver/krandom_screensaver/random.cpp 2010-10-27 21:54:59.000000000 +0200
++++ kscreensaver-4.5.95/kscreensaver/krandom_screensaver/random.cpp 2011-01-09 19:52:54.000000000 +0100
+@@ -110,6 +110,7 @@
+ const bool opengl = configGroup.readEntry("OpenGL", false);
+ const bool manipulatescreen = configGroup.readEntry("ManipulateScreen", false);
+ // TODO replace this with TryExec=fortune in the desktop files
++ const bool notsafeforwork = false;
+ const bool fortune = !KStandardDirs::findExe("fortune").isEmpty();
+ foreach( const KService::Ptr& service, lst ) {
+ //QString file = KStandardDirs::locate("services", service->entryPath());
+@@ -126,6 +127,9 @@
+ } else if (type == QLatin1String("Fortune")) {
+ if (!fortune)
+ goto fail;
++ } else if (type == QLatin1String("NotSafeForWork")) {
++ if (!notsafeforwork)
++ goto fail;
+ }
+ }
+ availableSavers.append(service);
diff --git a/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild b/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild
new file mode 100644
index 000000000000..f976c9577d36
--- /dev/null
+++ b/kde-plasma/kscreensaver/kscreensaver-4.11.22.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kde-workspace"
+inherit kde4-meta
+
+DESCRIPTION="KDE Plasma screensaver framework"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+RDEPEND="
+ kde-plasma/kcheckpass:4
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.5.95-nsfw.patch"
+)
diff --git a/kde-plasma/kscreensaver/metadata.xml b/kde-plasma/kscreensaver/metadata.xml
new file mode 100644
index 000000000000..0cf59224b009
--- /dev/null
+++ b/kde-plasma/kscreensaver/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+</maintainer>
+</pkgmetadata>