Merge pull request #24 from groni/master
kwallet, kio, kinit, kxmlrpcclient, frameworkintegration, kded, kimageformats, kparts version bump and check
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
|
||||
-DLOCALE_INSTALL_DIR=/usr/share/locale \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COPYING.LIB")
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>frameworkintegration</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Framework providing components to allow applications to integrate with a KDE Workspace</Summary>
|
||||
<Description>Framework Integration is a set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace.</Description>
|
||||
<Archive sha1sum="4c4411d6a83025b9665bad3e7fafe2530c29dfd1" type="tarxz">http://download.kde.org/stable/frameworks/5.11/frameworkintegration-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>frameworkintegration</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libxcb</Dependency>
|
||||
<Dependency>libXcursor</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kxmlgui</Dependency>
|
||||
<Dependency>kcompletion</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kjobwidgets</Dependency>
|
||||
<Dependency>kconfigwidgets</Dependency>
|
||||
<Dependency>kiconthemes</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>frameworkintegration-devel</Name>
|
||||
<Summary>Development files for framework-integration</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">frameworkintegration</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>New Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import kde5
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
kde5.configure()
|
||||
|
||||
def build():
|
||||
kde5.make()
|
||||
|
||||
def install():
|
||||
kde5.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COPYING.LIB")
|
||||
Executable
+73
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kded</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>KDE5 daemon</Summary>
|
||||
<Description>Kded runs in the background and performs a number of small tasks.</Description>
|
||||
<Archive sha1sum="5424aae6d6dbb3753678b3d12219b2f8fd3e7346" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kded-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kded</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcrash</Dependency>
|
||||
<Dependency>kdbusaddons</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>kded-devel</Name>
|
||||
<Summary>Development files for kded</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kded</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-24</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-06-06</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COPYING.LIB")
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kimageformats</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Image formats addons for QT 5</Summary>
|
||||
<Description>This framework provides additional image format plugins for QtGui. </Description>
|
||||
<Archive sha1sum="5bac294ff1088996af8fb90283ddc313cd6622a0" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kimageformats-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kimageformats</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>openexr-libs</Dependency>
|
||||
<Dependency>ilmbase</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-30</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DLIBEXEC_INSTALL_DIR=lib \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COPYING.LIB")
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kinit</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>KDE applications initialization utility</Summary>
|
||||
<Description>Process launcher to speed up launching KDE applications.</Description>
|
||||
<Archive sha1sum="e9babb929e27419cc78b0b4936764616680bbf0c" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kinit-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kinit</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libcap</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>kcrash</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kdoctools</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
<Dependency>kwindowsystem</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<Package>
|
||||
<Name>kinit-devel</Name>
|
||||
<Summary>Development files for kinit</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kinit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<!--<Path fileType="header">/usr/include</Path> -->
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
|
||||
-DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
-DLIBEXEC_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COPYING.LIB")
|
||||
@@ -0,0 +1,52 @@
|
||||
From ae87a7d6999fc6ad90ab300dd8ea0c9c68c02bd4 Mon Sep 17 00:00:00 2001
|
||||
From: Maarten De Meyer <de.meyer.maarten@gmail.com>
|
||||
Date: Mon, 8 Sep 2014 23:58:55 +0200
|
||||
Subject: [PATCH 1/2] Fix thumbnails for mimetype groups.
|
||||
|
||||
KService::mimeTypes cannot handle mimetype groups. ex: text/*
|
||||
Go back to KService::serviceTypes and remove 'ThumbCreator' entries.
|
||||
|
||||
REVIEW: 119958
|
||||
---
|
||||
src/widgets/previewjob.cpp | 17 +++++++++++------
|
||||
1 file changed, 11 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/widgets/previewjob.cpp b/src/widgets/previewjob.cpp
|
||||
index 55a3fb7..ca47934 100644
|
||||
--- a/src/widgets/previewjob.cpp
|
||||
+++ b/src/widgets/previewjob.cpp
|
||||
@@ -268,20 +268,25 @@ void PreviewJobPrivate::startPreview()
|
||||
protocols.append(p);
|
||||
}
|
||||
foreach (const QString &protocol, protocols) {
|
||||
- const QStringList mtypes = (*it)->mimeTypes();
|
||||
+ // We cannot use mimeTypes() here, it doesn't support groups such as: text/*
|
||||
+ const QStringList mtypes = (*it)->serviceTypes();
|
||||
// Add supported mimetype for this protocol
|
||||
QStringList &_ms = m_remoteProtocolPlugins[protocol];
|
||||
foreach (const QString &_m, mtypes) {
|
||||
- protocolMap[protocol].insert(_m, *it);
|
||||
- if (!_ms.contains(_m)) {
|
||||
- _ms.append(_m);
|
||||
+ if (_m != QLatin1String("ThumbCreator")) {
|
||||
+ protocolMap[protocol].insert(_m, *it);
|
||||
+ if (!_ms.contains(_m)) {
|
||||
+ _ms.append(_m);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
if (enabledPlugins.contains((*it)->desktopEntryName())) {
|
||||
- const QStringList mimeTypes = (*it)->mimeTypes();
|
||||
+ const QStringList mimeTypes = (*it)->serviceTypes();
|
||||
for (QStringList::ConstIterator mt = mimeTypes.constBegin(); mt != mimeTypes.constEnd(); ++mt) {
|
||||
- mimeMap.insert(*mt, *it);
|
||||
+ if (*mt != QLatin1String("ThumbCreator")) {
|
||||
+ mimeMap.insert(*mt, *it);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
}
|
||||
--
|
||||
2.1.0
|
||||
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
From 5a5aa4b1786e793f457ad5a88a4e49d7469a92fa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= <lukas@kde.org>
|
||||
Date: Tue, 9 Sep 2014 22:49:27 +0200
|
||||
Subject: [PATCH 2/2] Fix relative paths being turned into http urls by
|
||||
fromUserInput.
|
||||
|
||||
Reviewed-By: (well, written by) David Faure.
|
||||
---
|
||||
src/filewidgets/kfilewidget.cpp | 24 ++++++++++++++++++++----
|
||||
1 file changed, 20 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/filewidgets/kfilewidget.cpp b/src/filewidgets/kfilewidget.cpp
|
||||
index 42320e3..58dd92e 100644
|
||||
--- a/src/filewidgets/kfilewidget.cpp
|
||||
+++ b/src/filewidgets/kfilewidget.cpp
|
||||
@@ -325,6 +325,22 @@ static bool containsProtocolSection(const QString &string)
|
||||
return false;
|
||||
}
|
||||
|
||||
+// this string-to-url conversion function handles relative paths, full paths and URLs
|
||||
+// without the http-prepending that QUrl::fromUserInput does.
|
||||
+static QUrl urlFromString(const QString& str)
|
||||
+{
|
||||
+ if (QDir::isAbsolutePath(str)) {
|
||||
+ return QUrl::fromLocalFile(str);
|
||||
+ }
|
||||
+ QUrl url(str);
|
||||
+ if (url.isRelative()) {
|
||||
+ url.clear();
|
||||
+ url.setPath(str);
|
||||
+ }
|
||||
+ return url;
|
||||
+}
|
||||
+
|
||||
+
|
||||
KFileWidget::KFileWidget(const QUrl &_startDir, QWidget *parent)
|
||||
: QWidget(parent), d(new KFileWidgetPrivate(this))
|
||||
{
|
||||
@@ -909,7 +925,7 @@ void KFileWidget::slotOk()
|
||||
containsProtocolSection(locationEditCurrentText))) {
|
||||
|
||||
QString fileName;
|
||||
- QUrl url = QUrl::fromUserInput(locationEditCurrentText);
|
||||
+ QUrl url = urlFromString(locationEditCurrentText);
|
||||
if (d->operationMode == Opening) {
|
||||
KIO::StatJob *statJob = KIO::stat(url, KIO::HideProgressInfo);
|
||||
KJobWidgets::setWindow(statJob, this);
|
||||
@@ -1447,7 +1463,7 @@ void KFileWidgetPrivate::_k_urlEntered(const QUrl &url)
|
||||
|
||||
bool blocked = locationEdit->blockSignals(true);
|
||||
if (keepLocation) {
|
||||
- QUrl currentUrl = QUrl::fromUserInput(filename);
|
||||
+ QUrl currentUrl = urlFromString(filename);
|
||||
locationEdit->changeUrl(0, QIcon::fromTheme(KIO::iconNameForUrl(currentUrl)), currentUrl);
|
||||
locationEdit->lineEdit()->setModified(true);
|
||||
}
|
||||
@@ -1494,7 +1510,7 @@ void KFileWidgetPrivate::_k_enterUrl(const QString &url)
|
||||
{
|
||||
// qDebug();
|
||||
|
||||
- _k_enterUrl(QUrl::fromUserInput(KUrlCompletion::replacedPath(url, true, true)));
|
||||
+ _k_enterUrl(urlFromString(KUrlCompletion::replacedPath(url, true, true)));
|
||||
}
|
||||
|
||||
bool KFileWidgetPrivate::toOverwrite(const QUrl &url)
|
||||
@@ -1677,7 +1693,7 @@ QList<QUrl> KFileWidgetPrivate::tokenize(const QString &line) const
|
||||
urls.append(u);
|
||||
}
|
||||
} else {
|
||||
- urls << QUrl::fromUserInput(line);
|
||||
+ urls << QUrl::fromLocalFile(line);
|
||||
}
|
||||
|
||||
return urls;
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kio</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Resource and network access abstraction</Summary>
|
||||
<Description>Network transparent access to files and data</Description>
|
||||
<Archive sha1sum="8a20f17d613b5ddfca363d71797bf64ffca4a264" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kio-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kio</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>attr</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>mit-kerberos</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>qt5-script</Dependency>
|
||||
<Dependency>qt5-x11extras</Dependency>
|
||||
<Dependency>karchive</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcodecs</Dependency>
|
||||
<Dependency>kbookmarks</Dependency>
|
||||
<Dependency>kcompletion</Dependency>
|
||||
<Dependency>kconfigwidgets</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kdbusaddons</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kiconthemes</Dependency>
|
||||
<Dependency>kitemviews</Dependency>
|
||||
<Dependency>kjobwidgets</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
<Dependency>ktextwidgets</Dependency>
|
||||
<Dependency>kwallet</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>kwindowsystem</Dependency>
|
||||
<Dependency>kxmlgui</Dependency>
|
||||
<Dependency>solid</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>kio-devel</Name>
|
||||
<Summary>Development files for kio</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md", "COMMENTS", "COPYING.LIB", "AUTHORS")
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kparts</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Plugin framework for user interface components</Summary>
|
||||
<Description>This library implements the framework for KDE parts, which are elaborate widgets with a user-interface defined in terms of actions (menu items, toolbar icons).</Description>
|
||||
<Archive sha1sum="40c1662823c0c35018cc175a55ee064920e528d2" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kparts-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kparts</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>kjobwidgets</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kiconthemes</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>kxmlgui</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>kparts-devel</Name>
|
||||
<Summary>Development files for kparts</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kparts</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||
-DBUILD_TESTING=OFF")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
pisitools.dodoc("README.md","COPYING.LIB")
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kwallet</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>KDE password storage framework</Summary>
|
||||
<Description>This framework contains two main components: Interface to KWallet, the safe desktop-wide storage for passwords on KDE workspaces. The kwalletd used to safely store the passwords on KDE work spaces.</Description>
|
||||
<Archive sha1sum="1302bf09ddae4fe6be4aa5bbf3aae92d301379a3" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kwallet-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kwallet</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libgcrypt</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kdbusaddons</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kiconthemes</Dependency>
|
||||
<Dependency>knotifications</Dependency>
|
||||
<Dependency>kservice</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>kwindowsystem</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>kwallet-devel</Name>
|
||||
<Summary>Development files for kwallet</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kwallet</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
pisitools.ldflags.add("-Wl,-rpath,/usr/lib")
|
||||
cmaketools.configure("-DBUILD_TESTING=OFF \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIBEXEC_INSTALL_DIR=libexec \
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
||||
-DQML_INSTALL_DIR=/usr/lib/qt5/qml \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||||
-DQT_PLUGIN_INSTALL_DIR=lib/qt5/plugins \
|
||||
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs/modules ")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.install()
|
||||
|
||||
#pisitools.insinto("/usr/include/KF5/KLDAP", "/usr/include/KF5/kldap_version.h")
|
||||
#pisitools.dodoc("COPYING.LIB", "README", "CHANGELOG", "AUTHORS")
|
||||
+74
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>kxmlrpcclient</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>XML-RPC client library for KDE</Summary>
|
||||
<Description>This library contains simple XML-RPC Client support. It is used mainly by the egroupware module of kdepim, but is a complete client and is quite easy to use. Only one interface is exposed to the world, kxmlrpcclient/client.h and of that interface, you only need to use 3 methods: setUrl, setUserAgent and call.</Description>
|
||||
<Archive sha1sum="3c5a1f2b0678cae6daad26698675b331b422d6b1" type="tarxz">http://download.kde.org/stable/frameworks/5.11/kxmlrpcclient-5.11.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>kxmlrpcclient</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>kxmlrpcclient-devel</Name>
|
||||
<Summary>Development files for kdelibs4-support</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">kxmlrpcclient</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-06-27</Date>
|
||||
<Version>5.11.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-05-31</Date>
|
||||
<Version>5.10.0</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user