diff options
author | arved <arved@FreeBSD.org> | 2003-02-19 21:26:41 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-02-19 21:26:41 +0800 |
commit | 8584db9bc9e37d4ab3d769ef9c020149a28ad76d (patch) | |
tree | 28085441b3577dc3fe87747529cc6ebae7814440 /x11-clocks/kdetoys3 | |
parent | eb6dcf8968efca1bc7cfad9b25e96b1bef2a2e32 (diff) | |
download | freebsd-ports-gnome-8584db9bc9e37d4ab3d769ef9c020149a28ad76d.tar.gz freebsd-ports-gnome-8584db9bc9e37d4ab3d769ef9c020149a28ad76d.tar.zst freebsd-ports-gnome-8584db9bc9e37d4ab3d769ef9c020149a28ad76d.zip |
Fix Kweather for !english users.
Obtained from: KDE CVS (via Frerich Raabe <raabe@kde.org>
Reported by: arved, Michael Nottebrock <michaelnottebrock@gmx.net>, many
Diffstat (limited to 'x11-clocks/kdetoys3')
-rw-r--r-- | x11-clocks/kdetoys3/Makefile | 1 | ||||
-rw-r--r-- | x11-clocks/kdetoys3/files/patch-kweather-kweather.cpp | 17 | ||||
-rw-r--r-- | x11-clocks/kdetoys3/files/patch-kweather-reportmain.cpp | 23 |
3 files changed, 41 insertions, 0 deletions
diff --git a/x11-clocks/kdetoys3/Makefile b/x11-clocks/kdetoys3/Makefile index 627a3d301094..59444817b9c9 100644 --- a/x11-clocks/kdetoys3/Makefile +++ b/x11-clocks/kdetoys3/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdetoys PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES= x11-clocks kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src diff --git a/x11-clocks/kdetoys3/files/patch-kweather-kweather.cpp b/x11-clocks/kdetoys3/files/patch-kweather-kweather.cpp new file mode 100644 index 000000000000..f1aaf54edb3f --- /dev/null +++ b/x11-clocks/kdetoys3/files/patch-kweather-kweather.cpp @@ -0,0 +1,17 @@ +Index: kweather.cpp +=================================================================== +RCS file: /home/kde/kdetoys/kweather/kweather.cpp,v +retrieving revision 1.47 +retrieving revision 1.48 +diff -u -r1.47 -r1.48 +--- kweather.cpp 8 Jan 2003 12:40:57 -0000 1.47 ++++ kweather/kweather.cpp 24 Jan 2003 21:55:43 -0000 1.48 +@@ -672,7 +672,7 @@ + if (!client->isApplicationRegistered("KWeatherService")) + { + kdDebug() << "Could not find service so I am starting it..." << endl; +- if(!KApplication::startServiceByName("KWeatherService",QStringList(), &error,&appID )) ++ if(!KApplication::startServiceByDesktopName("kweatherservice",QStringList(), &error,&appID )) + + { + kdDebug() << "Starting KWeatherService failed with message: " << error << endl; diff --git a/x11-clocks/kdetoys3/files/patch-kweather-reportmain.cpp b/x11-clocks/kdetoys3/files/patch-kweather-reportmain.cpp new file mode 100644 index 000000000000..37e2737c4751 --- /dev/null +++ b/x11-clocks/kdetoys3/files/patch-kweather-reportmain.cpp @@ -0,0 +1,23 @@ +Index: reportmain.cpp +=================================================================== +RCS file: /home/kde/kdetoys/kweather/reportmain.cpp,v +retrieving revision 1.4 +retrieving revision 1.5 +diff -u -r1.4 -r1.5 +--- reportmain.cpp 9 Dec 2002 06:55:56 -0000 1.4 ++++ kweather/reportmain.cpp 24 Jan 2003 21:55:43 -0000 1.5 +@@ -1,4 +1,4 @@ +-/* $Id: reportmain.cpp,v 1.4 2002/12/09 06:55:56 mlaurent Exp $ */ ++/* $Id: reportmain.cpp,v 1.5 2003/01/24 21:55:43 cloose Exp $ */ + + #include <stdlib.h> + #include <kapplication.h> +@@ -27,7 +27,7 @@ + QCString appID = ""; + if (!client->isApplicationRegistered("kweatherservice")) + { +- if(KApplication::startServiceByName("kweatherservice",QStringList(), &error, &appID )) ++ if(KApplication::startServiceByDesktopName("kweatherservice",QStringList(), &error, &appID )) + { + kdDebug() << "Starting kweatherservice failed with message: " << error << endl; + exit(0); |