- Add patch to allow the NVIDIA driver to poke through seccomp and

thus not crashing (kde#384005):
  * 0001-Don-t-dissallow-open-with-write-flag-syscall-on-NVID.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kscreenlocker?expand=0&rev=96
This commit is contained in:
Fabian Vogt 2017-08-31 07:35:10 +00:00 committed by Git OBS Bridge
parent bc13e8c018
commit 84970c4034
3 changed files with 1650 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 31 07:33:23 UTC 2017 - fabian@ritter-vogt.de
- Add patch to allow the NVIDIA driver to poke through seccomp and
thus not crashing (kde#384005):
* 0001-Don-t-dissallow-open-with-write-flag-syscall-on-NVID.patch
-------------------------------------------------------------------
Tue Aug 22 19:11:30 CEST 2017 - fabian@ritter-vogt.de

View File

@ -27,6 +27,8 @@ Url: https://projects.kde.org/kscreenlocker
Source: http://download.kde.org/stable/plasma/%{version}/kscreenlocker-%{version}.tar.xz
# PATCH-FIX-OPENSUSE fix-wayland-version-requirement.diff -- Changes wayland requirement from 1.3 to 1.2.1
Patch0: fix-wayland-version-requirement.diff
# PATCH-FIX-UPSTREAM 0001-Don-t-dissallow-open-with-write-flag-syscall-on-NVID.patch
Patch1: 0001-Don-t-dissallow-open-with-write-flag-syscall-on-NVID.patch
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: kf5-filesystem
@ -59,11 +61,7 @@ BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xi)
Requires(post): pam-config
Requires(post): /usr/bin/killall
%if %{with lang}
Recommends: %{name}-lang
%else
Obsoletes: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -93,6 +91,7 @@ Development files for Library and components for secure lock screen architecture
# SLE12 has a patched 1.2.1 wayland with all features KDE needs from up to 1.7.0
%patch0 -p1
%endif
%patch1 -p1
%build
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}