diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2006-04-03 08:23:08 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2006-04-03 08:23:08 +0000 |
commit | e6d2928d9160be4adb93fb5cdfea75051dbb1280 (patch) | |
tree | 46e84c381407f6cb3e1a02b07786178495053d4a /net/knemo-kde4/files | |
parent | Require perl from ports. Do not bump PORTREVISION as it doesn't affect (diff) |
- Update to version 0.4.0
- Use MASTER_SITE_LOCAL to provide an own distfile, since the original one
was created with unsermake. Apart from the buildsystem there are no changes.
- Change WWW in pkg-descr to point to the new projectsite
Notes
Notes:
svn path=/head/; revision=158714
Diffstat (limited to 'net/knemo-kde4/files')
-rw-r--r-- | net/knemo-kde4/files/patch-kcm-configdialog.cpp | 14 | ||||
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-global.h (renamed from net/knemo-kde4/files/patch-knemod-data.h) | 12 | ||||
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp | 8 | ||||
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui | 17 | ||||
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp | 8 | ||||
-rw-r--r-- | net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp | 30 |
6 files changed, 40 insertions, 49 deletions
diff --git a/net/knemo-kde4/files/patch-kcm-configdialog.cpp b/net/knemo-kde4/files/patch-kcm-configdialog.cpp index d8285d4fe55f..32a00999bf67 100644 --- a/net/knemo-kde4/files/patch-kcm-configdialog.cpp +++ b/net/knemo-kde4/files/patch-kcm-configdialog.cpp @@ -1,7 +1,7 @@ ---- kcm/configdialog.cpp.orig Wed Sep 15 18:24:37 2004 -+++ kcm/configdialog.cpp Wed Jan 19 15:23:57 2005 +--- src/kcm/configdialog.cpp.orig Sat Apr 1 21:44:21 2006 ++++ src/kcm/configdialog.cpp Sun Apr 2 19:14:11 2006 @@ -17,6 +17,16 @@ - Boston, MA 02111-1307, USA. + Boston, MA 02110-1301, USA. */ +#ifdef __FreeBSD__ @@ -17,7 +17,7 @@ #include <qfile.h> #include <qdict.h> #include <qlabel.h> -@@ -355,6 +365,39 @@ +@@ -363,6 +373,39 @@ void ConfigDialog::defaults() { // Default interfaces @@ -57,7 +57,7 @@ QFile proc( "/proc/net/dev" ); if ( proc.open( IO_ReadOnly ) ) { -@@ -372,6 +415,7 @@ +@@ -380,6 +423,7 @@ if ( interface == "lo" ) continue; @@ -65,8 +65,8 @@ InterfaceSettings* settings = new InterfaceSettings(); settings->customCommands = false; settings->hideWhenNotAvailable = false; -@@ -391,8 +435,10 @@ - mDlg->checkBoxNotExisting->setChecked( false ); +@@ -401,8 +445,10 @@ + mDlg->checkBoxStatistics->setChecked( false ); mDlg->checkBoxCustom->setChecked( false ); } +#ifndef __FreeBSD__ diff --git a/net/knemo-kde4/files/patch-knemod-data.h b/net/knemo-kde4/files/patch-knemod-global.h index c45f8b191029..b20cda0a6a99 100644 --- a/net/knemo-kde4/files/patch-knemod-data.h +++ b/net/knemo-kde4/files/patch-knemod-global.h @@ -1,14 +1,14 @@ ---- knemod/data.h.orig Sat Jan 22 00:10:05 2005 -+++ knemod/data.h Fri Jan 21 17:38:50 2005 +--- src/knemod/global.h.orig Sat Apr 1 21:44:22 2006 ++++ src/knemod/global.h Sun Apr 2 21:33:36 2006 @@ -22,6 +22,7 @@ #include <qpair.h> #include <qcolor.h> +#include <qdict.h> #include <qstring.h> - #include <qvaluevector.h> -@@ -41,6 +42,11 @@ + /** +@@ -36,6 +37,11 @@ int toolTipContent; }; @@ -19,8 +19,8 @@ + struct InterfaceData { - InterfaceData::InterfaceData() -@@ -64,11 +70,9 @@ + InterfaceData() +@@ -59,11 +65,9 @@ unsigned long prevTxBytes; unsigned long incomingBytes; unsigned long outgoingBytes; diff --git a/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp b/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp index 822857eff083..217998e0b9f2 100644 --- a/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp +++ b/net/knemo-kde4/files/patch-knemod-interfacestatusdialog.cpp @@ -1,5 +1,5 @@ ---- knemod/interfacestatusdialog.cpp.orig Sat Jan 22 00:11:02 2005 -+++ knemod/interfacestatusdialog.cpp Sat Jan 22 00:15:24 2005 +--- src/knemod/interfacestatusdialog.cpp.orig Sat Apr 1 21:44:22 2006 ++++ src/knemod/interfacestatusdialog.cpp Sun Apr 2 21:34:55 2006 @@ -24,6 +24,7 @@ #include <qtabwidget.h> @@ -8,7 +8,7 @@ #include <kconfig.h> #include <klocale.h> #include <kglobal.h> -@@ -69,6 +70,10 @@ +@@ -92,6 +93,10 @@ mTimer = new QTimer(); connect( mTimer, SIGNAL( timeout() ), this, SLOT( updateDialog() ) ); mTimer->start( 1000 ); @@ -19,7 +19,7 @@ } InterfaceStatusDialog::~InterfaceStatusDialog() -@@ -152,12 +157,28 @@ +@@ -201,12 +206,28 @@ if ( data.available ) { // ip tab diff --git a/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui b/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui index d506e3f44a0f..073ca19a3734 100644 --- a/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui +++ b/net/knemo-kde4/files/patch-knemod-interfacestatusdlg.ui @@ -1,14 +1,5 @@ ---- knemod/interfacestatusdlg.ui.orig Fri Jan 21 16:57:24 2005 -+++ knemod/interfacestatusdlg.ui Fri Jan 21 20:02:50 2005 -@@ -9,7 +9,7 @@ - <x>0</x> - <y>0</y> - <width>272</width> -- <height>258</height> -+ <height>237</height> - </rect> - </property> - <property name="caption"> +--- src/knemod/interfacestatusdlg.ui.orig Sat Apr 1 21:44:22 2006 ++++ src/knemod/interfacestatusdlg.ui Sun Apr 2 21:28:01 2006 @@ -145,7 +145,7 @@ </property> <widget class="QLayoutWidget"> @@ -248,7 +239,7 @@ </widget> </hbox> </widget> -@@ -728,8 +676,6 @@ +@@ -893,8 +841,6 @@ </widget> </vbox> </widget> @@ -257,7 +248,7 @@ <connections> <connection> <sender>buttonClose</sender> -@@ -740,10 +686,6 @@ +@@ -905,10 +851,6 @@ </connections> <layoutdefaults spacing="6" margin="11"/> <includehints> diff --git a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp b/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp index 10235e4477c3..9dce92066cf6 100644 --- a/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp +++ b/net/knemo-kde4/files/patch-knemod-interfacetooltip.cpp @@ -1,6 +1,6 @@ ---- knemod/interfacetooltip.cpp.orig Fri Jan 21 17:51:13 2005 -+++ knemod/interfacetooltip.cpp Fri Jan 21 17:59:47 2005 -@@ -99,6 +99,23 @@ +--- src/knemod/interfacetooltip.cpp.orig Sat Apr 1 21:44:22 2006 ++++ src/knemod/interfacetooltip.cpp Sun Apr 2 21:30:52 2006 +@@ -101,6 +101,23 @@ if ( data.available ) { @@ -24,7 +24,7 @@ if ( toolTipContent & IP_ADDRESS ) text += "<tr><td>" + mToolTips[4].first + "</td><td>" + data.ipAddress + "</td></tr>"; if ( toolTipContent & SUBNET_MASK ) -@@ -107,6 +124,7 @@ +@@ -109,6 +126,7 @@ { if ( toolTipContent & BCAST_ADDRESS ) text += "<tr><td>" + mToolTips[18].first + "</td><td>" + data.broadcastAddress + "</td></tr>"; diff --git a/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp b/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp index 4a743c105842..ba194f906dbd 100644 --- a/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp +++ b/net/knemo-kde4/files/patch-knemod-interfaceupdater.cpp @@ -1,7 +1,7 @@ ---- knemod/interfaceupdater.cpp.orig Fri Aug 20 20:26:41 2004 -+++ knemod/interfaceupdater.cpp Sat Jan 22 13:34:49 2005 +--- src/knemod/interfaceupdater.cpp.orig Sat Apr 1 21:44:22 2006 ++++ src/knemod/interfaceupdater.cpp Sun Apr 2 21:29:24 2006 @@ -17,6 +17,24 @@ - Boston, MA 02111-1307, USA. + Boston, MA 02110-1301, USA. */ +#ifdef __FreeBSD__ @@ -25,7 +25,7 @@ #include <qmap.h> #include <qtimer.h> #include <qregexp.h> -@@ -48,6 +66,7 @@ +@@ -49,6 +67,7 @@ mTimer->stop(); delete mTimer; @@ -33,7 +33,7 @@ if ( mRouteProcess ) { mRouteProcess->kill(); -@@ -63,10 +82,12 @@ +@@ -64,10 +83,12 @@ mIwconfigProcess->kill(); delete mIwconfigProcess; } @@ -46,7 +46,7 @@ if ( !mIfconfigProcess ) { mIfconfigStdout = QString::null; -@@ -108,6 +129,7 @@ +@@ -109,6 +130,7 @@ } } #endif @@ -54,7 +54,7 @@ #ifdef PATH_ROUTE if ( !mRouteProcess ) -@@ -116,7 +138,11 @@ +@@ -117,7 +139,11 @@ mRouteProcess = new KProcess(); mRouteProcess->setEnvironment( "LANG", "C" ); mRouteProcess->setEnvironment( "LC_ALL", "C" ); @@ -66,7 +66,7 @@ connect( mRouteProcess, SIGNAL( receivedStdout( KProcess*, char*, int ) ), this, SLOT( routeProcessStdout( KProcess*, char*, int ) ) ); connect( mRouteProcess, SIGNAL( receivedStderr( KProcess*, char*, int ) ), -@@ -131,6 +157,140 @@ +@@ -132,6 +158,140 @@ } } #endif @@ -207,7 +207,7 @@ } void InterfaceUpdater::routeProcessExited( KProcess* process ) -@@ -180,6 +340,7 @@ +@@ -181,6 +341,7 @@ void InterfaceUpdater::parseIfconfigOutput() { @@ -215,7 +215,7 @@ /* mIfconfigStdout contains the complete output of 'ifconfig' which we * are going to parse here. */ -@@ -235,10 +396,12 @@ +@@ -237,10 +398,12 @@ } interface->activateMonitor(); } @@ -228,7 +228,7 @@ QRegExp regExp( ".*RX.*:(\\d+).*:\\d+.*:\\d+.*:\\d+" ); if ( regExp.search( config ) > -1 ) data.rxPackets = regExp.cap( 1 ).toULong(); -@@ -318,10 +481,12 @@ +@@ -330,10 +493,12 @@ if ( regExp.search( config ) > -1 ) data.ptpAddress = regExp.cap( 2 ); } @@ -241,7 +241,7 @@ /* mIwconfigStdout contains the complete output of 'iwconfig' which we * are going to parse here. */ -@@ -364,10 +529,12 @@ +@@ -376,10 +541,12 @@ updateWirelessData( configs[key], interface->getWirelessData() ); } } @@ -254,15 +254,15 @@ QRegExp regExp( "ESSID:\"?([^\"]*)\"?" ); if ( regExp.search( config ) > -1 ) data.essid = regExp.cap( 1 ); -@@ -401,6 +568,7 @@ - regExp.setPattern( "Link Quality:([\\d/]*)" ); +@@ -413,6 +580,7 @@ + regExp.setPattern( "Link Quality[=:]([\\d/]*)" ); if ( regExp.search( config ) > -1 ) data.linkQuality = regExp.cap( 1 ); +#endif } void InterfaceUpdater::parseRouteOutput() -@@ -409,16 +577,25 @@ +@@ -421,16 +589,25 @@ * are going to parse here. */ QMap<QString, QStringList> configs; |