Package Details: kdeplasma-applets-yawp 0.4.5-4

Git Clone URL: https://aur.archlinux.org/kdeplasma-applets-yawp.git (read-only)
Package Base: kdeplasma-applets-yawp
Description: Colorful weather plasmoid
Upstream URL: http://www.kde-look.org/content/show.php/yaWP+(Yet+Another+Weather+Plasmoid)?content=94106
Licenses: GPL
Conflicts: yawp-weather-plasmoid
Submitter: cmlr
Maintainer: Musikolo
Last Packager: Musikolo
Votes: 129
Popularity: 0.009203
First Submitted: 2012-07-15 12:50
Last Updated: 2015-06-24 03:12

Latest Comments

Musikolo commented on 2015-01-27 05:36

Issue hopefully fixed.

Enjoy!

HighValueWarrior commented on 2015-01-23 16:03

Good Build using the pastebin pkgbuild.



Musikolo commented on 2015-01-23 06:00

@HighValueWarrior
Please, copy the content of this PKGBUILD file you can find at http://pastebin.com/crJwDypc and try again. I suspect you have removed something unintentionally.

Kindly, let me know the result. If it fails, please, paste the full trace of your console in pastebin.

Regards.

HighValueWarrior commented on 2015-01-23 02:24

Afraid not ....

AUR Packages (1): kdeplasma-applets-yawp-0.4.5-2

:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
:: View kdeplasma-applets-yawp PKGBUILD? [Y/n] y
:: kdeplasma-applets-yawp PKGBUILD viewed
:: Checking kdeplasma-applets-yawp integrity...
==> ERROR: Missing package() function in /tmp/pacaurtmp-peter/kdeplasma-applets-yawp/PKGBUILD
:: failed to verify kdeplasma-applets-yawp integrity

Musikolo commented on 2015-01-20 05:02

@HighValueWarrior, can you please try editing your PKGBUILD file and replace the line:
cd "${_YAWPD_BUILD_DIR}"

for:
cd "$srcdir/yawp-$pkgver/build"

in the functions build() and package()?

I want to make sure it works prior to updating the package again.

Thank you.

HighValueWarrior commented on 2015-01-19 05:52

==> Starting build()...
CMake Error: The source directory "/tmp/pacaurtmp-peter/kdeplasma-applets-yawp" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
==> ERROR: A failure occurred in build().

Musikolo commented on 2015-01-18 01:27

Script updated to meet the new build standards - http://goo.gl/9nZP29

Enjoy!

otakar commented on 2015-01-17 18:42

You have to split build() function to build() and package(). This worked for me:
build() {
cd $srcdir/yawp-$pkgver
mkdir build
cd build
cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make VERBOSE=1
}
package() {
cd $srcdir/yawp-$pkgver/build
make DESTDIR=$pkgdir install
}

otakar commented on 2015-01-17 18:42

You have to split build() function to build() and package(). This worked for me:

# Maintainer: Carl Mueller arch at carlm e4ward com
pkgname=kdeplasma-applets-yawp
pkgver=0.4.5
pkgrel=1
pkgdesc="Colorful weather plasmoid"
arch=(i686 x86_64)
url="http://www.kde-look.org/content/show.php/yaWP+(Yet+Another+Weather+Plasmoid)?content=94106"
conflicts=('yawp-weather-plasmoid')
depends=('kdebase-workspace' 'gettext')
makedepends=('cmake' 'automoc4')
source=(http://downloads.sourceforge.net/yawp/yawp-$pkgver.tar.bz2)
license=('GPL')
md5sums=('4ceb65c370107409fc07c430bd5a9822')

build() {
cd $srcdir/yawp-$pkgver
mkdir build
cd build
cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make VERBOSE=1
}
package() {
cd $srcdir/yawp-$pkgver/build
make DESTDIR=$pkgdir install
}

Musikolo commented on 2015-01-16 04:18

@saabzero
It's working good for me. Please, try the following and let me know whether it works for you as well:

$ wget https://aur.archlinux.org/packages/kd/kdeplasma-applets-yawp/kdeplasma-applets-yawp.tar.gz
$ tar xvfz kdeplasma-applets-yawp.tar.gz
$ cd kdeplasma-applets-yawp
$ makepkg

If you have any problem, please, share the whole trace through http://pastebin.com/.

Regards.

saabzero commented on 2015-01-15 19:49

build fails for me with

ERROR: Missing package() function in /kdeplasma-applets-yawp/PKGBUILD
:: failed to verify kdeplasma-applets-yawp integrity

Musikolo commented on 2013-03-23 11:11

Updated to version 0.4.5.

Enjoy!

cmlr commented on 2013-03-07 13:36

I'm using KDE less these days; does anyone want to adopt this package?

cmlr commented on 2013-03-07 13:20

Updated for qt4. Let me know if there are any problems.

saabzero commented on 2013-03-07 09:38

please update the package build to compile with qt4!

Thx!

cmlr commented on 2012-10-20 16:05

Removed kde-extragear-plasmoids dependency. This is a minor change, so I kept the same version number.

cmlr commented on 2012-07-15 12:51

This is a renamed version of yawp-weather-plasmoid, as requested by the developers.

cmlr commented on 2012-07-15 12:50

Moved to kdeplasma-applets-yawp, as requested by the developers.
https://aur.archlinux.org/packages.php?ID=60814

cmlr commented on 2012-04-18 07:47

Updated to 0.4.3.

cmlr commented on 2012-01-04 20:42

Updated to 0.4.2.

cmlr commented on 2011-12-03 19:03

Updated to 0.4.1. The geometry issue should be fixed now, with no need for a patch.

cmlr commented on 2011-11-19 14:21

Updated to the improved patch. Thanks for the help.

Musikolo commented on 2011-11-19 09:33

@Cmlr:

I have tried the new patch in my two PCs (i686 laptop and x86_64 desktop) and it's working seamlessly in both. So below you have the link to the new patch:

- http://pkgs.fedoraproject.org/gitweb/?p=kde-plasma-yawp.git;a=blob_plain;f=kde-plasma-yawp-fix-geometry.patch

Best regards.

cmlr commented on 2011-11-19 03:55

@Musikolo, I'll wait then till you've tested the patch, and then we can have a new PKGBUILD.

Musikolo commented on 2011-11-18 20:23

@Harey: Yes you're right, but it seems a new patch has been done that it's working. I have asked for it to be published and I'll test it out. Then, if working, I'll let you know all to include in a new revision of this package.

- https://bugzilla.redhat.com/show_bug.cgi?id=754407

Regards.

Harey commented on 2011-11-18 08:38

The patch does NOT fix the geometry bug! Tested on two different systems. New patch was submitted to https://bugzilla.redhat.com/show_bug.cgi?id=754407

cmlr commented on 2011-11-16 20:38

Included patch.

Musikolo commented on 2011-11-16 20:08

Please, apply the patch posted at the end of the thread to fix a geometry bug found in the new version:

- https://bugzilla.redhat.com/show_bug.cgi?id=754407

When applied, you should be able to resize the plasmoid and keep the geometry values between different sessions.

Best regards.

cmlr commented on 2011-11-13 19:10

Done.

Musikolo commented on 2011-11-13 19:05

@Cmlr: Please, replace arch=('any') for arch=(i686 x86_64) as I have just verified the package IS architecture dependent. In fact, I have built the package in my x86_64 PC and installed it in my i686 one and found it is not working.

Best regards.

cmlr commented on 2011-11-13 17:05

Updated to 0.4.0.

cmlr commented on 2011-09-11 02:38

Cleaned up the PKGBUILD.

Vamp898 commented on 2010-12-13 12:19

yay it works since the 0.3.6 finally (again)

cmlr commented on 2010-12-12 20:34

Updated to 0.3.6.

SanskritFritz commented on 2010-10-08 20:52

Thanks, confirmed. Not all services work though... still better than nothing :)

cmlr commented on 2010-10-08 20:24

Updated to 0.3.5. Finally, a version that compiles.

SanskritFritz commented on 2010-10-07 08:17

Thank you for keeping an eye on this.

cmlr commented on 2010-10-05 23:56

Yawp doesn't compile with the latest KDE update as of Oct 5, 2010. Upstream knows about this.

cmlr commented on 2010-08-21 14:23

I hope the maintainers release a version for KDE 4.5 soon. The current version with the patch works for me, but I'm using KDE 4.4. I tried Berlin with wetter.com, and it worked. Weather.com is not on the list, maybe it got removed. To go back to the old version, just delete this line in the PKGBUILD.

patch -p1 <../../yawp.patch

Anyone else having problems?

Vamp898 commented on 2010-08-21 11:38

since the latest updated, yawp doesnt work anymore for me

i just get 0° at every day and when i try to use wetter.com instead of accuweather, weather.com doesn´t find any city (it did before)

cmlr commented on 2010-08-18 14:00

Added patch for KDE 4.5, thanks to olih. I'm using KDE 4.4, so please tell me if it doesn't work.

olih commented on 2010-08-18 07:38

The package don't build for kde 4.5 because some preprocess directive don't test it.
A quick&dirty patch, just test for kde 4.x with x >=4 (x == 4 before).
http://aur.pastebin.com/RkMnbrar

cmlr commented on 2010-08-16 14:59

Removed unneeded "patch" build dependency.

cmlr commented on 2010-08-16 14:43

I don't know what to say, it built for me with no problem (Aug 16, 2010). I just have a generic setup.

fettouhi commented on 2010-08-16 14:30

Won't build!

[ 17%] Building CXX object applet/CMakeFiles/plasma_applet_yawp.dir/plasma_applet_yawp_automoc.o
cd /tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet && /usr/bin/c++ -DMAKE_PLASMA_APPLET_YAWP_LIB -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DENABLE_DSTREAMLOGGER -march=x86-64 -mtune=generic -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG -fPIC -I/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet -I/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/applet -I/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4 -I/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/applet/.. -I/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet/.. -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDBus -I/usr/include/QtAssistant -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/share/qt/mkspecs/default -I/usr/include/KDE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/plasma_applet_yawp.dir/plasma_applet_yawp_automoc.o -c /tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet/plasma_applet_yawp_automoc.cpp
In file included from /tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet/../../applet/configdialog/yawpconfig.h:26:0,
from /tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet/moc_yawpconfig.cpp:10,
from /tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build/applet/plasma_applet_yawp_automoc.cpp:5:
/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/applet/utils.h: In function ‘QString Utils::GetUnitString(int)’:
/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/applet/utils.h:60:17: fejl: ‘getUnitString’ is not a member of ‘WeatherUtils’
make[2]: *** [applet/CMakeFiles/plasma_applet_yawp.dir/plasma_applet_yawp_automoc.o] Fejl 1
make[2]: Forlader katalog '/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build'
make[1]: *** [applet/CMakeFiles/plasma_applet_yawp.dir/all] Fejl 2
make[1]: Forlader katalog '/tmp/yaourt-tmp-af/aur-yawp-weather-plasmoid/src/yawp-0.3.4/build'

cmlr commented on 2010-07-07 19:42

Updated to 0.3.4.

cmlr commented on 2010-06-23 19:30

Added "kdeplasma" to the description, so people can find it by searching for this word.

Anonymous comment on 2010-06-13 16:44

Thanks for the reply, I guess I'll wait until 4.6.3-2 or 4.6.4 is built then. I'm not entirely proficient at compiling packages yet.

cmlr commented on 2010-06-13 14:14

Yes, I'm using qt 4.6.3-1.

Anonymous comment on 2010-06-13 12:56

Thanks for the quick reply, I'm having the same issue when I try to compile straight from the install script in the tarball.

Can I confirm if you're using qt 4.6.3-1?

cmlr commented on 2010-06-13 12:20

It compiled fine for me. I just have a generic setup, so I don't know why you're having trouble.

Anonymous comment on 2010-06-13 11:36

During the build of the src code, I get this error:

CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1170 (message):
Qt compiled without support for -fvisibility=hidden. This will break
plugins and linking of some applications. Please fix your Qt installation.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:23 (FIND_PACKAGE)


Anyone else seeing this? Qt package I run is from the repos.

cmlr commented on 2010-06-12 20:42

Updated to 0.3.3.

cmlr commented on 2010-05-03 09:25

Thanks, updated to 0.3.2-3, including the patch for gcc 4.5.

Anonymous comment on 2010-05-02 23:17

For works with gcc 4.5 need this patch:

http://aur.pastebin.com/JiMNPPQd

I have made it and works fine for me.

[]s