Hello community,
here is the log from the commit of package kdebase3
checked in at Tue Sep 12 15:58:05 CEST 2006.
--------
--- KDE/kdebase3/kdebase3.changes 2006-09-08 08:07:14.000000000 +0200
+++ kdebase3/kdebase3.changes 2006-09-12 15:21:15.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Sep 12 15:28:07 CEST 2006 - stbinner@suse.de
+
+- update kickoff patch and package plugin to kdebase3-beagle
+- add "bnc" web shortcut for Novell Bugzilla (#204724)
+
+-------------------------------------------------------------------
+Tue Sep 12 15:13:17 CEST 2006 - ltinkl@suse.cz
+
+- implement #199054 - Add low disk space real time monitor
+
+-------------------------------------------------------------------
New:
----
bnc.desktop
lowdiskspace.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebase3.spec ++++++
--- /var/tmp/diff_new_pack.CdskNm/_old 2006-09-12 15:56:24.000000000 +0200
+++ /var/tmp/diff_new_pack.CdskNm/_new 2006-09-12 15:56:24.000000000 +0200
@@ -41,7 +41,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://www.kde.org/
Version: 3.5.4
-Release: 16
+Release: 17
%define kde_version 3.5.4
Source0: kdebase-%{kde_version}.tar.bz2
Source3: startkde.suse.sh
@@ -64,6 +64,7 @@
Source19: kcheckpass.8.gz
Source20: kickoff-data.tar.bz2
Source21: kcheckpass-pam
+Source22: bnc.desktop
Patch0: 3_5_BRANCH.diff
Patch1: disable-kcm-modules.diff
Patch3: startkde.diff
@@ -151,6 +152,7 @@
Patch163: xinerama.patch
Patch164: kdm-path.diff
Patch165: optional-compmgr.diff
+Patch166: lowdiskspace.patch
Provides: kdebase
%description
@@ -319,12 +321,28 @@
--------
The KDE Team
+%if %suse_version > 1010
+%package beagle
+Summary: Beagle dependent plugins for KDE desktop
+Group: System/GUI/KDE
+
+%description beagle
+This package contains kdebase plugins which provide additional search
+functionality via Beagle.
+
+
+
+Authors:
+--------
+ The KDE Team
+
+%endif
%if %suse_version > 1000
%package -n fileshareset
Summary: Set and list fileshares
Group: System/Management
Version: 2.0
-Release: 117
+Release: 118
%description -n fileshareset
This package contains the the fileshareset utility to allow users to
@@ -463,6 +481,7 @@
%if %suse_version > 1000
%patch125
%endif
+%patch166
cp %SOURCE17 l10n/tw/flag.png
. /etc/opt/kde3/common_options
cd ../fileshareset2
@@ -531,6 +550,7 @@
install -m 0644 %SOURCE12 $RPM_BUILD_ROOT/opt/kde3/share/fonts/
install -D -m 0644 %SOURCE14 $RPM_BUILD_ROOT/etc/pam.d/xdm-np
install -D -m 0644 %SOURCE21 $RPM_BUILD_ROOT/etc/pam.d/kcheckpass
+install -m 0644 %SOURCE22 $RPM_BUILD_ROOT/opt/kde3/share/services/searchproviders/
%if %suse_version < 1011
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
%endif
@@ -1206,6 +1226,10 @@
/opt/kde3/share/servicetypes/thumbcreator.desktop
/opt/kde3/share/servicetypes/uasprovider.desktop
/opt/kde3/share/servicetypes/ksplashplugins.desktop
+%if %suse_version > 1010
+/opt/kde3/%_lib/libkickoffsearch_interfaces*
+/opt/kde3/share/servicetypes/kickoffsearchplugin.desktop
+%endif
/opt/kde3/share/sounds
/opt/kde3/share/templates
%if %suse_version > 1000
@@ -1379,6 +1403,13 @@
%config(noreplace) /etc/slp.reg.d/*
%config(noreplace) /etc/ksysguarddrc
%if %suse_version > 1000
+%if %suse_version > 1010
+
+%files beagle
+%defattr(-,root,root)
+/opt/kde3/%_lib/kde3/kickoffsearch_beagle.*
+/opt/kde3/share/services/kickoffsearch_beagle.desktop
+%endif
%files -n fileshareset
%defattr(-,root,root)
@@ -1389,6 +1420,11 @@
%endif
%changelog -n kdebase3
+* Tue Sep 12 2006 - stbinner@suse.de
+- update kickoff patch and package plugin to kdebase3-beagle
+- add "bnc" web shortcut for Novell Bugzilla (#204724)
+* Tue Sep 12 2006 - ltinkl@suse.cz
+- implement #199054 - Add low disk space real time monitor
* Thu Sep 07 2006 - dmueller@suse.de
- make kompmr optional
* Thu Sep 07 2006 - coolo@suse.de
++++++ kickoff.diff ++++++
++++ 15090 lines (skipped)
++++ between KDE/kdebase3/kickoff.diff
++++ and kdebase3/kickoff.diff
++++++ lowdiskspace.patch ++++++
Index: kioslave/media/medianotifier/medianotifier.cpp
===================================================================
--- kioslave/media/medianotifier/medianotifier.cpp (revision 568873)
+++ kioslave/media/medianotifier/medianotifier.cpp (working copy)
@@ -19,8 +19,11 @@
#include "medianotifier.h"
+#include
+
#include
#include
+#include
#include
#include
@@ -44,6 +47,10 @@
connectDCOPSignal( "kded", "mediamanager", "mediumChanged(QString, bool)",
"onMediumChange(QString, bool)", true );
+
+ m_freeTimer = new QTimer( this );
+ connect( m_freeTimer, SIGNAL( timeout() ), SLOT( checkFreeDiskSpace() ) );
+ m_freeTimer->start( 1000*60*20 /* 20 minutes */ );
}
MediaNotifier::~MediaNotifier()
@@ -304,4 +311,28 @@
}
}
+void MediaNotifier::checkFreeDiskSpace()
+{
+ struct statfs sfs;
+ int total, avail;
+ QString homeDirPath = QDir::homeDirPath();
+ if ( statfs( QFile::encodeName( homeDirPath ), &sfs ) == 0 )
+ {
+ total = sfs.f_blocks;
+ avail = ( getuid() ? sfs.f_bavail : sfs.f_bfree );
+ int freeperc = ( int )100 * avail / total;
+
+ if ( freeperc < 5 ) // free disk space dropped under a limit
+ {
+ int ret = KMessageBox::warningContinueCancel( 0, i18n( "You are running low on disk space on your home partition (currently %1% free), would you like to "
+ "run Konqueror to free some disk space and fix the problem?" ).arg( freeperc ),
+ i18n( "Low Disk Space" ), i18n( "Start Konqueror" ), "dontagainfreespace" );
+ if ( ret == KMessageBox::Continue ) // start Konqi
+ {
+ ( void ) new KRun( KURL::fromPathOrURL( homeDirPath ) );
+ }
+ }
+ }
+}
+
#include "medianotifier.moc"
Index: kioslave/media/medianotifier/medianotifier.h
===================================================================
--- kioslave/media/medianotifier/medianotifier.h (revision 568873)
+++ kioslave/media/medianotifier/medianotifier.h (working copy)
@@ -41,6 +41,7 @@
private slots:
void slotStatResult( KIO::Job *job );
+ void checkFreeDiskSpace();
private:
bool autostart( const KFileItem &medium );
@@ -52,6 +53,7 @@
const QString &autoopenFile );
QMapKIO::Job*,bool m_allowNotificationMap;
+ QTimer * m_freeTimer;
};
#endif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org