kuser 2:16.08.3-6 (aarch64;x86_64;znver1) 2020-12310
9999

Status published
Submitter nobodydead [@T] gmail.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/823957
Packages
kuser-2:16.08.3-6.aarch64.binary
kuser-2:16.08.3-6.aarch64.source
kuser-debuginfo-2:16.08.3-6.aarch64.debuginfo
kuser-debugsource-2:16.08.3-6.aarch64.binary
kuser-2:16.08.3-6.x86_64.binary
kuser-2:16.08.3-6.x86_64.source
kuser-debuginfo-2:16.08.3-6.x86_64.debuginfo
kuser-debugsource-2:16.08.3-6.x86_64.binary
kuser-2:16.08.3-6.znver1.binary
kuser-2:16.08.3-6.znver1.source
kuser-debuginfo-2:16.08.3-6.znver1.debuginfo
kuser-debugsource-2:16.08.3-6.znver1.binary
Build Date 2020-09-11 23:08:34 +0000 UTC
Last Updated 2020-09-13 16:07:08.909078843 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 349069f8731e3b867c5fa02451f91a0dd8d9aa70

commit 349069f8731e3b867c5fa02451f91a0dd8d9aa70
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Thu Sep 3 00:45:13 2020 +0200
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Thu Sep 3 00:45:13 2020 +0200

    Don't use KApplication
---
 kuser-16.08.3-rip-kapplication.patch | 34 ++++++++++++++++++++++++++++++++++
 kuser.spec                           |  3 ++-
 2 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 kuser-16.08.3-rip-kapplication.patch

diff --git a/kuser-16.08.3-rip-kapplication.patch b/kuser-16.08.3-rip-kapplication.patch
new file mode 100644
index 0000000..da28423
--- /dev/null
+++ b/kuser-16.08.3-rip-kapplication.patch
@@ -0,0 +1,34 @@
+diff -up kuser-16.08.3/ku_main.cpp.3~ kuser-16.08.3/ku_main.cpp
+--- kuser-16.08.3/ku_main.cpp.3~	2020-09-03 00:42:46.384399833 +0200
++++ kuser-16.08.3/ku_main.cpp	2020-09-03 00:43:42.652722815 +0200
+@@ -21,8 +21,9 @@
+ 
+ #include "globals.h"
+ 
++#include <QApplication>
++
+ #include <kiconloader.h>
+-#include <kapplication.h>
+ #include <kconfig.h>
+ #include <klocale.h>
+ #include <kcmdlineargs.h>
+@@ -45,6 +46,7 @@ static const char *description =
+ 
+ int main(int argc, char **argv) 
+ {
++    QApplication a(argc, argv);
+     K4AboutData aboutData("kuser", 0, ki18n("KUser"), _KU_VERSION, ki18n(description), K4AboutData::License_GPL,
+                          ki18n("(c) 1997-2000, Denis Perchine\n(c) 2004, Szombathelyi György"), KLocalizedString(), 
+                           "http://kde.org/applications/system/kuser/");
+@@ -53,10 +55,9 @@ int main(int argc, char **argv)
+     "dyp@perchine.com", "http://www.perchine.com/dyp/");
+   aboutData.addAuthor(ki18n("Szombathelyi György"), ki18n("kuser author"),
+     "gyurco@freemail.hu");
+-  KCmdLineArgs::init(argc, argv, &aboutData);
++  KAboutData::setApplicationData(aboutData);
+   KU_MainWidget *mw = 0;
+ 
+-  KApplication a;
+   KGlobal::locale()->insertCatalog( QLatin1String( "libkldap" ));
+   KConfigGroup group( KGlobal::config(), "general" );
+   KU_Global::initCfg( group.readEntry( "connection", "default" ) );
diff --git a/kuser.spec b/kuser.spec
index 03bc672..5834bf6 100644
--- a/kuser.spec
+++ b/kuser.spec
@@ -1,7 +1,7 @@
 Summary:	Users and groups manager
 Name:		kuser
 Version:	16.08.3
-Release:	5
+Release:	6
 Epoch:		2
 License:	GPLv2+
 Group:		Graphical desktop/KDE
@@ -15,6 +15,7 @@ Url:		http://www.kde.org
 Source0:	http://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz
 Patch0:		https://aur.archlinux.org/cgit/aur.git/plain/port_to_kf5.patch?h=kuser-frameworks
 Patch1:		kuser-16.08.3-rootonly.patch
+Patch2:		kuser-16.08.3-rip-kapplication.patch
 BuildRequires:	cmake(ECM)
 BuildRequires:	cmake(Qt5Widgets)
 BuildRequires:	cmake(KF5KIO)
Not Available

benbullard79 [@T] cox.netNo Comment.1292d 17hrs
benbullard79 [@T] cox.netNo Comment.1292d 17hrs