From 38a1705a87408943914c02b64fb4d75c9963dd90 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 26 Apr 2018 01:19:18 +0300 Subject: [PATCH] lxqt-policykit --- desktop/lxqt/lxqt-policykit/actions.py | 27 +++++++++ .../lxqt-policykit-0.11.0-authdialog.patch | 12 ++++ desktop/lxqt/lxqt-policykit/pspec.xml | 56 +++++++++++++++++++ desktop/lxqt/lxqt-policykit/translations.xml | 7 +++ 4 files changed, 102 insertions(+) create mode 100644 desktop/lxqt/lxqt-policykit/actions.py create mode 100755 desktop/lxqt/lxqt-policykit/files/lxqt-policykit-0.11.0-authdialog.patch create mode 100644 desktop/lxqt/lxqt-policykit/pspec.xml create mode 100644 desktop/lxqt/lxqt-policykit/translations.xml diff --git a/desktop/lxqt/lxqt-policykit/actions.py b/desktop/lxqt/lxqt-policykit/actions.py new file mode 100644 index 0000000000..a49e13c357 --- /dev/null +++ b/desktop/lxqt/lxqt-policykit/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DCMAKE_BUILD_TYPE=release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib\ + -DPULL_TRANSLATIONS=no", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + shelltools.cd("..") + pisitools.dodoc("AUTHORS") diff --git a/desktop/lxqt/lxqt-policykit/files/lxqt-policykit-0.11.0-authdialog.patch b/desktop/lxqt/lxqt-policykit/files/lxqt-policykit-0.11.0-authdialog.patch new file mode 100755 index 0000000000..8f9846f76c --- /dev/null +++ b/desktop/lxqt/lxqt-policykit/files/lxqt-policykit-0.11.0-authdialog.patch @@ -0,0 +1,12 @@ +--- lxqt-policykit-0.11.0/src/policykitagentgui.cpp 2016-09-24 00:46:00.000000000 +0200 ++++ src/policykitagentgui.cpp.new 2016-09-26 11:45:19.666066086 +0200 +@@ -49,6 +49,8 @@ + if (icon.isNull()) + icon = QIcon::fromTheme(QLatin1String("dialog-question")); + iconLabel->setPixmap(icon.pixmap(64, 64)); ++ identityComboBox->hide(); ++ label->hide(); + + const uid_t current_uid = getuid(); + int current_user_index = -1; + diff --git a/desktop/lxqt/lxqt-policykit/pspec.xml b/desktop/lxqt/lxqt-policykit/pspec.xml new file mode 100644 index 0000000000..2fe68fd5e8 --- /dev/null +++ b/desktop/lxqt/lxqt-policykit/pspec.xml @@ -0,0 +1,56 @@ + + + + lxqt-policykit + http://www.lxde.org + + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + GPL2 + app:gui + lxqt + Policykit agent + The LXQt policykit authentication agent + https://github.com/lxde/lxqt-policykit/releases/download/0.12.0/lxqt-policykit-0.12.0.tar.xz + + cmake + glib2-devel + kwindowsystem-devel + libgcc + liblxqt-devel + libqtxdg-devel + polkit-devel + polkit-qt-devel + qt5-linguist + lxqt-build-tools + + + + + lxqt-policykit + + libgcc + liblxqt + polkit-qt + qt5-base + + + /usr/bin + /usr/libexec + /usr/share/doc + /usr/share/lxqt/translations + /etc/autostart + + + + + + 2018-04-23 + 0.12.0 + First release + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + + + diff --git a/desktop/lxqt/lxqt-policykit/translations.xml b/desktop/lxqt/lxqt-policykit/translations.xml new file mode 100644 index 0000000000..1cdf6480de --- /dev/null +++ b/desktop/lxqt/lxqt-policykit/translations.xml @@ -0,0 +1,7 @@ + + + lxqt-policykit + Policykit agent. + LXQt policykit doğrulama aracı. + +