SHA256
1
0
forked from pool/kauth

Accepting request 240061 from KDE:Frameworks5

Update to 5.0.0

OBS-URL: https://build.opensuse.org/request/show/240061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kauth?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2014-07-10 12:55:52 +00:00 committed by Git OBS Bridge
commit ee9c3c5ef7
5 changed files with 48 additions and 6 deletions

View File

@ -0,0 +1,27 @@
From f900d7d4798503479b88346a2689ec6bee417193 Mon Sep 17 00:00:00 2001
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Wed, 2 Jul 2014 09:32:23 +0200
Subject: [PATCH 1/1] Pass trailing slash to searched backend/helper plugin dir
Unbreaks plugin loading
CCMAIL: aleixpol@kde.org
---
src/BackendsManager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/BackendsManager.cpp b/src/BackendsManager.cpp
index cd0bf3f..0dd4661 100644
--- a/src/BackendsManager.cpp
+++ b/src/BackendsManager.cpp
@@ -44,7 +44,7 @@ QList< QObject * > BackendsManager::retrieveInstancesIn(const QString &subdir)
{
QList<QObject *> retlist;
foreach (const QString& pPath, QCoreApplication::libraryPaths()) {
- QDir pluginPath(pPath + subdir);
+ QDir pluginPath(pPath + QLatin1Char('/') + subdir);
if (!pluginPath.exists() || pPath.isEmpty()) {
continue;
}
--
2.0.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce8114879837cad63bd5397e9f7914b45e0083bad92bd84b41d66f2874274f07
size 2727348

3
kauth-5.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edfe226693004db0e097430b9dd81b658c35a4127740891c63aebafd631fc703
size 2723456

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jul 1 21:36:06 UTC 2014 - hrvoje.senjan@gmail.com
- Update to 5.0.0
* Final release of KDE Frameworks 5
* API improvements and cleanups
* Buildsystem fixes
* For more details please see:
http://www.kde.org/announcements/kde-frameworks-5.0.php
- Added 0001-Pass-trailing-slash-to-searched-backend-helper-plugi.patch,
fixes helper/backend plugin loading
-------------------------------------------------------------------
Wed Jun 11 22:24:49 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -18,10 +18,10 @@
%define lname libKF5Auth5
Name: kauth
Version: 4.100.0
Version: 5.0.0
Release: 0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.14
BuildRequires: extra-cmake-modules >= 1.0.0
BuildRequires: fdupes
BuildRequires: kcoreaddons-devel >= %{_kf5_version}
BuildRequires: kf5-filesystem
@ -33,10 +33,12 @@ Summary: Framework which lets applications perform actions as a privilege
License: LGPL-2.1+
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz
Source: http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM polkit-qt5-support.patch -- add support for polkit-qt-1 Qt5 port, https://git.reviewboard.kde.org/r/118264/
Patch0: polkit-qt5-support.patch
# PATCH-FIX-UPSTREAM 0001-Pass-trailing-slash-to-searched-backend-helper-plugi.patch
Patch1: 0001-Pass-trailing-slash-to-searched-backend-helper-plugi.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -66,6 +68,7 @@ Development files.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir}