Image 01
profile-image

Dreid

Dmitry Melnikov
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

To fix current weather data change

grep -A 21 id=\"weather\"
or
grep -A 26 id=\"weather\"
to
grep -A 68 id=\"weather\" | tail -n 34

in lines 36,41-43, 47-49, 53 and 57.

I can upload whole file, if You wish - Sep 26 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

This HTML looks much like previous gismeteo.ru version, try 1.5.10. I didn't test it on Your files but I see − in negative temperatures, which broke 1.5.9 and has been fixed in 1.5.10. 1.5.11 fixed multiply units in HTML. - Mar 02 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

This is sad.
As You can see, You has been redirected to gismeteo.UA (look at line 4). I've been redirected to gismeteo.RU, which recently changed file format.
All I can suggest is to remove gismeteo.com as provider and add gismeteo.ru and gismeteo.ua instead with different XML-files (UA from 1.5.5 or 1.5.8 and RU from 1.5.11). - Feb 29 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

This is strange.
Can You please wget http://gismeteo.ru/city/daily/{your_city} and http://gismeteo.ru/city/weekly/{your_city} and upload it somewhere? - Feb 29 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

please test my new version (http://pastebin.com/Hy0cmAza) and tell me, does it work for You. - Feb 28 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

please test my new version (http://pastebin.com/Hy0cmAza) and tell me, does it work for You. - Feb 28 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

They added alternate measures, so format changed one more time.
Updated version of www_gismeteo_com.xml is at
http://pastebin.com/Hy0cmAza - Feb 28 2012
Customizable Weather Plasmoid (CWP)

Plasma 4 Extensions by jaegerschnitzel 1069 comments

Gismeteo.com recently starts to replace - with −
To fix this, add
| sed -e "s/−/-/"
after "grep temp" in line 36 (/data_current_temperature/@temperature)
and after "-n 1" in lines 63-64,71-72,79-80,87-88,95-96,103-104,111-112 (/data_day[1-7]/@temperature_(low|high)). - Feb 19 2012
KDesktop transparency support

Various KDE 1.-4. Improvements by xonestonex 24 comments

Looks like it is enough to edit kdesktop/Makefile.in:
1. find line starting with
"for file in minicli.cpp"
and insert kdesktopapp.cpp into list of cpp-files
2. to the end of line starting with
"libkdeinit_kdesktop_la.all_cpp.cpp:"
add "kdesktopapp.moc"
3. Before previous line add
kdesktopapp.moc: $(srcdir)/kdesktopapp.h
$(MOC) $(srcdir)/kdesktopapp.h -o kdesktopapp.moc

After this corrections,
Quote:dpkg-buildpackage -rfakeroot -uc -b
worked for me.

PS: I'm using Debian, not kubuntu - line numbers in Makefile.in wouldn't match, so i don't post them.

One more time.
To make everything work in Debian:
1. apt-get everything
2. apply patch
3. edit one hunk in debian/patches/98_buildprep.diff started at line 182164 to look like this:
Quote:
@@ -1453,11 +1454,14 @@ libkdeinit_kdesktop_la.all_cc.cc: $(srcd
rm -f libkdeinit_kdesktop_la.all_cc.final libkdeinit_kdesktop_la.all_cc.files

#>+ 11
+kdesktopapp.moc: $(srcdir)/kdesktopapp.h
+ $(MOC) $(srcdir)/kdesktopapp.h -o kdesktopapp.moc
+
-libkdeinit_kdesktop_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/minicli.cpp kdesktopsettings.h $(srcdir)/startupid.cpp klaunchsettings.h $(srcdir)/kshadowengine.cpp $(srcdir)/kshadowsettings.cpp $(srcdir)/kdesktopshadowsettings.cpp $(srcdir)/kfileividesktop.cpp krootwm.moc minicli.moc startupid.moc lockeng.moc desktop.moc pixmapserver.moc kdiconview.moc kcustommenu.moc bgmanager.moc xautolock.moc
+libkdeinit_kdesktop_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/minicli.cpp kdesktopsettings.h $(srcdir)/startupid.cpp klaunchsettings.h $(srcdir)/kshadowengine.cpp $(srcdir)/kshadowsettings.cpp $(srcdir)/kdesktopshadowsettings.cpp $(srcdir)/kfileividesktop.cpp krootwm.moc minicli.moc startupid.moc lockeng.moc desktop.moc kdiconview.moc kcustommenu.moc pixmapserver.moc bgmanager.moc xautolock.moc kdesktopapp.moc
@echo 'creating libkdeinit_kdesktop_la.all_cpp.cpp ...'; \
rm -f libkdeinit_kdesktop_la.all_cpp.files libkdeinit_kdesktop_la.all_cpp.final; \
echo "#define KDE_USE_FINAL 1" >> libkdeinit_kdesktop_la.all_cpp.final; \
- for file in minicli.cpp startupid.cpp kshadowengine.cpp kshadowsettings.cpp kdesktopshadowsettings.cpp kfileividesktop.cpp ; do \
+ for file in kdesktopapp.cpp minicli.cpp startupid.cpp kshadowengine.cpp kshadowsettings.cpp kdesktopshadowsettings.cpp kfileividesktop.cpp ; do \
echo "#include \"$$file\"" >> libkdeinit_kdesktop_la.all_cpp.files; \
test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libkdeinit_kdesktop_la.all_cpp.final; \
done; \

4. dpkg-buildpackage -rfakeroot -uc -b - Dec 26 2007
KDesktop transparency support

Various KDE 1.-4. Improvements by xonestonex 24 comments

First of all i tried to compile it with dpkg-buildpackage and got the same error.

Then, i went into kdesktop target dir and compiled missing .o manualy:
1. Added missing cpp to libkdeinit_kdesktop_la.all_cpp.cpp (append line #include "kdesktopapp.cpp")
2. Created moc file:
/usr/share/qt3/bin/moc ~/kdebase-3.5.8.dfsg.1/./kdesktop/kdesktopapp.h -o kdesktopapp.moc

After that, make completed successfully.

I plan to investigate what source file to edit for properly Makefile generation and post it as a patch :) - Dec 26 2007
8 .5
9   Feb 19 2012