Hello community, here is the log from the commit of package smb4k for openSUSE:Factory checked in at 2015-10-12 10:02:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smb4k (Old) and /work/SRC/openSUSE:Factory/.smb4k.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smb4k" Changes: -------- --- /work/SRC/openSUSE:Factory/smb4k/smb4k.changes 2013-11-11 14:53:30.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.smb4k.new/smb4k.changes 2015-10-12 10:02:53.000000000 +0200 @@ -1,0 +2,102 @@ +Thu Oct 8 20:13:10 UTC 2015 - [email protected] + +- Update to 1.2.1: + * Fixed the "authentication dialog is missing the host name" error + (closes SF ticket #37). + * Fixed scanning of broadcast areas (added missing pipe). + * Updated license text to the current version of GPL v2 + (closes SF ticket #40). + * Make Smb4K also useful with operating systems that are not supported. + You can now do anything with it except mounting. + * Fixed code under FreeBSD/NetBSD. + * Split the mount options off the other options. Adjusted the code accordingly. + The reason for this is that we want to support more operating systems + and that is is now easier to deal with different mount options. + * Use KIO::convertSize() instead self written code. + * Refactored and improved code responsible for mounting. + * Fix out-of-source builds when po is present. When building out-of-source, + ALLOW_DUPLICATE_CUSTOM_TARGETS never gets turned on because the po directory + doesn't exist in the build directory, causing a build failure. + This ensures that the correct source directory is always checked. + +------------------------------------------------------------------- +Wed Apr 1 13:25:32 UTC 2015 - [email protected] + +- Update to 1.2.0: + * Added support for NetBSD. + * Added support for profiles. + * Added appdata file. Closes SF ticket #35. + * Updated handbook. + * Fix the Smb4KMounter::cleanup() function. + * Added share name to the homes user dialog. + * Implemented profiles page in the plasmoid. + * Removed old CTRL+R shortcut for rescanning the network neighborhood. + * Implemented use of Kerberos with net command. + * Improved handling of sleep states. Smb4K now reacts on changes of + the network connection instead of on button press events. + * Implemented more CIFS mount options under Linux as well as a + whitelist of mount.cifs options that are save to be entered via the + "Additional options" line edit in the configuration dialog. + * Remove setting for temporal storage of the login information. + Now, the user either stores the passwords in the wallet or needs to + enter the login information each time it is needed. + +------------------------------------------------------------------- +Sat Jan 31 18:20:47 UTC 2015 - [email protected] + +- Update to 1.1.4: + * Hopefully fixed a crash reported by Ingo Ratsdorf that happened when the + user used the "Master browsers need authentication" setting and an + authentication error occurred. + * Fix a potential crash in Smb4KMainWindow. Thanks go to Mounty One for + reporting this issue. + * When the user cancels the homes user dialog, don't show the custom options + dialog. + From 1.1.3: + * Make mounting of a password protected share work under FreeBSD, if + no password has been defined yet. + * Fixed compilation errors under FreeBSD. + +------------------------------------------------------------------- +Tue May 6 18:57:23 UTC 2014 - [email protected] + +- Update to 1.1.2 + * Fixed a crash that could happen during the loading of bookmarks + into the bookmark editor's tree widget. + * Fixed the enabling and disabling of the "Up" action in the + preview dialog. + * Fixed two crashes in the previewer: The first occurred when + authentication data was requested and the password dialog was + just closed and the other one occurred when a recurring + authentication error happened. + * Improved 'Command Reference' section in the handbook. + +------------------------------------------------------------------- +Mon Mar 24 14:29:03 UTC 2014 - [email protected] + +- Add patch fix_plugin_path.diff to ensure that the qml plugin + is installed in the correct directory + +------------------------------------------------------------------- +Mon Mar 24 10:34:40 UTC 2014 - [email protected] + +- Update to 1.1.1 + * Fixed a string in the handbook. + * Set date when documentation was updated to 2014-03-16. + * Fixed potential security issue reported by Heiner Markert. + Do not allow the cruid option to be entered via the + "Additional options" line edit. (bnc#869828) + * Fix crash that might happen due to a (misconfigured) smb.conf + file that does not contain a global section. + +------------------------------------------------------------------- +Wed Jan 29 23:46:34 UTC 2014 - [email protected] + +- Update to 1.1.0: + * Fixed many issues reported by krazy2. + * Made Smb4K a kdeinit executable. + * Introduced a new dynamic main tool bar. + * Added Wake-On-LAN (WOL) feature. + See the Changelog file for the complete changelog. + +------------------------------------------------------------------- Old: ---- smb4k-1.0.9.tar.bz2 New: ---- fix_plugin_path.diff smb4k-1.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smb4k.spec ++++++ --- /var/tmp/diff_new_pack.Qan94K/_old 2015-10-12 10:02:54.000000000 +0200 +++ /var/tmp/diff_new_pack.Qan94K/_new 2015-10-12 10:02:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package smb4k # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,19 @@ Name: smb4k -Version: 1.0.9 +Version: 1.2.1 Release: 0 Summary: Advanced Network Neighborhood Browser for KDE License: GPL-2.0+ Group: Productivity/Networking/Samba Url: http://smb4k.sourceforge.net/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +#PATCH-FIX-OPENSUSE [email protected] -- install the qml plugins into the right directory +Patch1: fix_plugin_path.diff BuildRequires: fdupes BuildRequires: gettext BuildRequires: libkde4-devel +BuildRequires: xz Requires: cifs-utils Requires: samba-client Recommends: %{name}-doc = %{version} @@ -38,6 +41,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires +%if 0%{?_kde_minorver} == 0 +%define _kde_minorver %(echo %{_kde_platform_version} | cut -f 2 -d \.) +%endif + %description Smb4K is an advanced network neighborhood browser for KDE and a frontend to the programs of the Samba software suite. Its purpose is to provide a program @@ -59,6 +66,11 @@ %prep %setup -q +%patch1 -p1 +%if 0%{?suse_version} +echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc +echo "setBadness('polkit-unauthorized-privilege', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc +%endif %build %cmake_kde4 -d build @@ -67,11 +79,6 @@ %install %kde4_makeinstall -C build -%if 0%{?suse_version} < 1220 -echo "setBadness('suse-dbus-unauthorized-service', 0)" > $RPM_SOURCE_DIR/%name-rpmlintrc -echo "setBadness('polkit-unauthorized-privilege', 0)" >> $RPM_SOURCE_DIR/%name-rpmlintrc -%endif - # Not needed, fix "devel-file-in-non-devel-package" rpmlint warning rm -f %{buildroot}%{_kde4_libdir}/libsmb4kcore.so @@ -82,6 +89,8 @@ %fdupes -s %{buildroot} %find_lang %{name} +%find_lang smb4k-core %{name}.lang +%find_lang plasma_applet_smb4k-qml %{name}.lang %kde_post_install @@ -91,21 +100,41 @@ %files %defattr(-,root,root,-) -%doc AUTHORS BUGS COPYING ChangeLog README TODO +%doc AUTHORS BUGS COPYING ChangeLog README +%config %{_sysconfdir}/dbus-1/system.d/net.sourceforge.smb4k.mounthelper.conf + +%if 0%{?_kde_minorver} >= 10 +%dir %{_kde4_appsdir}/plasma +%dir %{_kde4_appsdir}/plasma/plasmoids +%dir %{_kde4_modulesdir}/imports +%dir %{_kde4_modulesdir}/imports/org +%dir %{_kde4_modulesdir}/imports/org/kde +%endif + %{_kde4_applicationsdir}/smb4k.desktop %{_kde4_appsdir}/kconf_update/*.sh %{_kde4_appsdir}/kconf_update/smb4ksettings.upd + +%if 0%{?_kde_minorver} >= 10 +%{_kde4_appsdir}/plasma/plasmoids/smb4k-qml/ +%{_kde4_modulesdir}/imports/org/kde/smb4kqml/ +%endif + %{_kde4_appsdir}/smb4k/ %{_kde4_bindir}/smb4k %{_kde4_configkcfgdir}/smb4k.kcfg +%{_kde4_datadir}/dbus-1/system-services/net.sourceforge.smb4k.mounthelper.service +%{_kde4_datadir}/polkit-1/actions/net.sourceforge.smb4k.mounthelper.policy %{_kde4_iconsdir}/*/*/apps/smb4k.png %{_kde4_libdir}/libsmb4kcore.so* -%{_kde4_libexecdir}/mounthelper %{_kde4_libdir}/libsmb4ktooltips.so* +%{_kde4_libexecdir}/mounthelper %{_kde4_modulesdir}/smb4k*.so -%config %{_sysconfdir}/dbus-1/system.d/de.berlios.smb4k.mounthelper.conf -%{_datadir}/dbus-1/system-services/de.berlios.smb4k.mounthelper.service -%{_datadir}/polkit-1/actions/de.berlios.smb4k.mounthelper.policy +%{_datadir}/appdata/ + +%if 0%{?_kde_minorver} >= 10 +%{_kde4_servicesdir}/plasma-applet-smb4k-qml.desktop +%endif %files lang -f %{name}.lang %defattr(-,root,root,-) ++++++ fix_plugin_path.diff ++++++ diff -urB a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2015-02-26 19:48:47.000000000 +0100 +++ b/CMakeLists.txt 2015-04-01 16:23:43.329654268 +0200 @@ -17,6 +17,7 @@ include(FindGettext) include(ConvenienceLibs.cmake) include(ConfigureChecks.cmake) +cmake_policy(SET CMP0002 OLD) # Make sure that Smb4K builds when several custom targets # with the same name exist (happens in the po directory). diff -urB a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml --- a/plasmoid/package/contents/ui/main.qml 2015-02-25 06:43:10.000000000 +0100 +++ b/plasmoid/package/contents/ui/main.qml 2015-04-01 16:02:26.847841678 +0200 @@ -28,6 +28,7 @@ import org.kde.plasma.components 0.1 as PlasmaComponents import org.kde.plasma.extras 0.1 as PlasmaExtras import org.kde.qtextracomponents 0.1 +import org.kde.smb4kqml 1.0 PlasmaExtras.App { diff -urB a/plasmoid/package/contents/ui/qmldir b/plasmoid/package/contents/ui/qmldir --- a/plasmoid/package/contents/ui/qmldir 2015-02-25 06:43:10.000000000 +0100 +++ b/plasmoid/package/contents/ui/qmldir 2015-04-01 16:01:47.623952813 +0200 @@ -6,5 +6,3 @@ BrowserItemDelegate 0.1 browseritemdelegate.qml SharesViewItemDelegate 0.1 sharesviewitemdelegate.qml ProfileItemDelegate 0.1 profileitemdelegate.qml - -plugin smb4kqml ../plugin \ No newline at end of file diff -urB a/plasmoid/plugin/CMakeLists.txt b/plasmoid/plugin/CMakeLists.txt --- a/plasmoid/plugin/CMakeLists.txt 2015-02-25 06:43:10.000000000 +0100 +++ b/plasmoid/plugin/CMakeLists.txt 2015-04-01 16:01:35.975982423 +0200 @@ -8,5 +8,5 @@ ${QT_QTDECLARATIVE_LIBRARY} ${KDE4_KDECORE_LIBS} ) -install( TARGETS smb4kqml DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/smb4k-qml/contents/plugin/ ) -install( FILES qmldir DESTINATION ${DATA_INSTALL_DIR}/plasma/plasmoids/smb4k-qml/contents/plugin/ ) +install( TARGETS smb4kqml DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/smb4kqml/ ) +install( FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/smb4kqml/ )
