Merge pull request #4762 from ayhanyalcinsoy/master

lxqt-policykit
This commit is contained in:
2018-04-26 01:20:42 +03:00
committed by GitHub
4 changed files with 102 additions and 0 deletions
+27
View File
@@ -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")
@@ -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;
+56
View File
@@ -0,0 +1,56 @@
<PISI>
<Source>
<Name>lxqt-policykit</Name>
<Homepage>http://www.lxde.org</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPL2</License>
<IsA>app:gui</IsA>
<Icon>lxqt</Icon>
<Summary>Policykit agent</Summary>
<Description>The LXQt policykit authentication agent</Description>
<Archive sha1sum="d2287def1aa31846d5d15385badd4cd22586c36f" type="tarxz">https://github.com/lxde/lxqt-policykit/releases/download/0.12.0/lxqt-policykit-0.12.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>kwindowsystem-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency versionFrom="0.12.0">liblxqt-devel</Dependency>
<Dependency>libqtxdg-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>polkit-qt-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency versionFrom="0.4.0">lxqt-build-tools</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lxqt-policykit</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>liblxqt</Dependency>
<Dependency>polkit-qt</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/lxqt/translations</Path>
<Path fileType="config">/etc/autostart</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-04-23</Date>
<Version>0.12.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>lxqt-policykit</Name>
<Summary xml:lang="tr">Policykit agent.</Summary>
<Description xml:lang="tr">LXQt policykit doğrulama aracı.</Description>
</Source>
</PISI>