Hello community,
here is the log from the commit of package kdenetwork4-filesharing for
openSUSE:Factory checked in at 2016-06-20 10:59:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdenetwork4-filesharing (Old)
and /work/SRC/openSUSE:Factory/.kdenetwork4-filesharing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdenetwork4-filesharing"
Changes:
--------
---
/work/SRC/openSUSE:Factory/kdenetwork4-filesharing/kdenetwork4-filesharing.changes
2016-05-31 12:21:31.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.kdenetwork4-filesharing.new/kdenetwork4-filesharing.changes
2016-06-20 10:59:21.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Jun 10 17:55:27 UTC 2016 - [email protected]
+
+- Update to KDE Applications 16.04.2
+ * KDE Applications 16.04.2
+ * https://www.kde.org/announcements/announce-applications-16.04.2.php
+
+
+-------------------------------------------------------------------
Old:
----
kdenetwork-filesharing-16.04.1.tar.xz
New:
----
kdenetwork-filesharing-16.04.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdenetwork4-filesharing.spec ++++++
--- /var/tmp/diff_new_pack.vpoyou/_old 2016-06-20 10:59:22.000000000 +0200
+++ /var/tmp/diff_new_pack.vpoyou/_new 2016-06-20 10:59:22.000000000 +0200
@@ -17,7 +17,7 @@
Name: kdenetwork4-filesharing
-Version: 16.04.1
+Version: 16.04.2
Release: 0
Summary: KDE Network Libraries
License: GPL-2.0+
++++++ kdenetwork-filesharing-16.04.1.tar.xz ->
kdenetwork-filesharing-16.04.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kdenetwork-filesharing-16.04.1/samba/filepropertiesplugin/sambausershareplugin.cpp
new/kdenetwork-filesharing-16.04.2/samba/filepropertiesplugin/sambausershareplugin.cpp
---
old/kdenetwork-filesharing-16.04.1/samba/filepropertiesplugin/sambausershareplugin.cpp
2015-12-30 10:33:15.000000000 +0100
+++
new/kdenetwork-filesharing-16.04.2/samba/filepropertiesplugin/sambausershareplugin.cpp
2016-06-09 21:51:38.000000000 +0200
@@ -40,6 +40,19 @@
K_PLUGIN_FACTORY(SambaUserSharePluginFactory,
registerPlugin<SambaUserSharePlugin>();)
K_EXPORT_PLUGIN(SambaUserSharePluginFactory("fileshare_propsdlgplugin"))
+// copied from kio/src/core/ksambashare.cpp,
KSambaSharePrivate::isSambaInstalled()
+static bool isSambaInstalled()
+{
+ if (QFile::exists(QStringLiteral("/usr/sbin/smbd"))
+ || QFile::exists(QStringLiteral("/usr/local/sbin/smbd"))) {
+ return true;
+ }
+
+ //qDebug() << "Samba is not installed!";
+
+ return false;
+}
+
SambaUserSharePlugin::SambaUserSharePlugin(QObject *parent, const
QList<QVariant> &args)
: KPropertiesDialogPlugin(qobject_cast<KPropertiesDialog *>(parent))
, m_url(properties->url().toLocalFile())
@@ -105,7 +118,7 @@
for (int i = 0; i < model->rowCount(); ++i) {
propertiesUi.tableView->openPersistentEditor(model->index(i, 1,
QModelIndex()));
}
- if (QStandardPaths::findExecutable(QStringLiteral("smbd")).isEmpty()) {
+ if (!isSambaInstalled()) {
m_installSambaWidgets->show();
m_shareWidgets->hide();
} else {