Bug 144093 - [MAINTAINER] deskutils/plasma-applet-yawp: Update to 0.3.2
Summary: [MAINTAINER] deskutils/plasma-applet-yawp: Update to 0.3.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 07:00 UTC by Jason E. Hale
Modified: 2010-03-09 22:50 UTC (History)
0 users

See Also:


Attachments
2010-02-18-plasma-applet-yawp.diff (6.24 KB, patch)
2010-02-19 07:00 UTC, Jason E. Hale
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason E. Hale 2010-02-19 07:00:06 UTC
Update deskutils/plasma-applet-yawp 0.2.3 -> 0.3.2

How-To-Repeat: Use attached diff
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-02-19 08:32:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-03-08 23:21:46 UTC
State Changed
From-To: open->feedback

build failed: 

http://32bit.miwibox.org/index.php?action=describe_port&id=1602 
http://64bit.miwibox.org/index.php?action=describe_port&id=1602
Comment 3 Jason E. Hale 2010-03-09 04:01:14 UTC
Fix build by adding dependency on kdebase-workspace.  New diff attached.

--- 2010-03-08-plasma-applet-yawp.diff begins here ---
diff -ruN plasma-applet-yawp.orig/Makefile plasma-applet-yawp/Makefile
--- plasma-applet-yawp.orig/Makefile	2010-03-08 22:37:47.000000000 -0500
+++ plasma-applet-yawp/Makefile	2010-03-08 22:42:34.000000000 -0500
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	yawp
-PORTVERSION=	0.2.3
-PORTREVISION=	2
+PORTVERSION=	0.3.2
 CATEGORIES=	deskutils kde
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	plasma-applet-
@@ -17,11 +16,14 @@
 
 USE_BZIP2=	yes
 USE_CMAKE=	yes
-USE_KDE4=	automoc4 kdeprefix kdelibs
+USE_KDE4=	automoc4 kdeprefix workspace
 USE_QT_VER=	4
-QT_COMPONENTS=	gui dbus network opengl svg webkit xml \
+QT_COMPONENTS=	gui dbus network opengl phonon svg webkit xml xmlpatterns \
 		qmake_build moc_build rcc_build uic_build
 USE_GETTEXT=	yes
 MAKE_JOBS_SAFE=	yes
 
+post-patch:
+	${ECHO_CMD} >> ${WRKSRC}/applet/utils.h
+
 .include <bsd.port.mk>
diff -ruN plasma-applet-yawp.orig/distinfo plasma-applet-yawp/distinfo
--- plasma-applet-yawp.orig/distinfo	2010-03-08 22:37:47.000000000 -0500
+++ plasma-applet-yawp/distinfo	2010-03-08 22:38:31.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (yawp-0.2.3.tar.bz2) = 8b457269ee6bfdf300158885003cb17e
-SHA256 (yawp-0.2.3.tar.bz2) = f143cd5ec24d92e583eee9a6bc81ac224534f18c9f0cd7f7046118c9ab4fb98d
-SIZE (yawp-0.2.3.tar.bz2) = 878491
+MD5 (yawp-0.3.2.tar.bz2) = ba4941e81e61086ccec06584f7ae98dd
+SHA256 (yawp-0.3.2.tar.bz2) = d311f3871258118de7d5032de895d5e11c9d42e1f18fc256bfac1fdbbb5b8daa
+SIZE (yawp-0.3.2.tar.bz2) = 982100
diff -ruN plasma-applet-yawp.orig/files/patch-applet__CMakeLists.txt plasma-applet-yawp/files/patch-applet__CMakeLists.txt
--- plasma-applet-yawp.orig/files/patch-applet__CMakeLists.txt	1969-12-31 19:00:00.000000000 -0500
+++ plasma-applet-yawp/files/patch-applet__CMakeLists.txt	2010-03-08 22:38:31.000000000 -0500
@@ -0,0 +1,26 @@
+--- ./applet/CMakeLists.txt.orig	2009-12-06 15:08:29.000000000 -0500
++++ ./applet/CMakeLists.txt	2010-02-05 03:23:32.000000000 -0500
+@@ -54,23 +54,3 @@
+         DESTINATION     ${DATA_INSTALL_DIR}/desktoptheme/default/widgets/
+         )
+ 
+-
+-## This is needed for the CPack package generator.
+-#
+-INSTALL(TARGETS plasma_yawp
+-        LIBRARY DESTINATION   "${YAWP_PACK_INSTALL_LIB_DIR}"
+-        ARCHIVE DESTINATION   "${YAWP_PACK_INSTALL_LIB_DIR}"
+-        RUNTIME DESTINATION   "${YAWP_PACK_INSTALL_LIB_DIR}"
+-        COMPONENT Libraries
+-        )
+-
+-INSTALL(FILES         plasma_yawp.desktop
+-        DESTINATION   "${YAWP_PACK_SERVICES_DIR}"
+-        COMPONENT     ApplicationData
+-        )
+-
+-STRING(REGEX REPLACE "/usr/" "" YAWP_PACK_DATA_DIR "${DATA_INSTALL_DIR}/desktoptheme/default/widgets/")
+-INSTALL(FILES         yawp_theme15.svg
+-        DESTINATION   "${YAWP_PACK_DATA_DIR}"
+-        COMPONENT     ApplicationData
+-        )
diff -ruN plasma-applet-yawp.orig/files/patch-applet__weatherdataprocessor.cpp plasma-applet-yawp/files/patch-applet__weatherdataprocessor.cpp
--- plasma-applet-yawp.orig/files/patch-applet__weatherdataprocessor.cpp	1969-12-31 19:00:00.000000000 -0500
+++ plasma-applet-yawp/files/patch-applet__weatherdataprocessor.cpp	2010-03-08 22:38:31.000000000 -0500
@@ -0,0 +1,11 @@
+--- ./applet/weatherdataprocessor.cpp.orig	2009-12-06 15:08:29.000000000 -0500
++++ ./applet/weatherdataprocessor.cpp	2010-02-05 03:23:32.000000000 -0500
+@@ -30,7 +30,7 @@
+ 
+ //--- KDE4 ---
+ 
+-#include <values.h>
++#include <float.h>
+ #if KDE_IS_VERSION(4,3,70)
+ 	#include <KUnitConversion/Value>
+ #endif
diff -ruN plasma-applet-yawp.orig/files/patch-ions__CMakeLists.txt plasma-applet-yawp/files/patch-ions__CMakeLists.txt
--- plasma-applet-yawp.orig/files/patch-ions__CMakeLists.txt	1969-12-31 19:00:00.000000000 -0500
+++ plasma-applet-yawp/files/patch-ions__CMakeLists.txt	2010-03-08 22:38:31.000000000 -0500
@@ -0,0 +1,20 @@
+--- ./ions/CMakeLists.txt.orig	2010-02-05 03:23:46.000000000 -0500
++++ ./ions/CMakeLists.txt	2010-02-05 03:24:02.000000000 -0500
+@@ -38,17 +38,3 @@
+ install(  TARGETS       ion_google            DESTINATION    ${PLUGIN_INSTALL_DIR})
+ install(  FILES         ${GOOGLE_DESKTOP}     DESTINATION    ${SERVICES_INSTALL_DIR})
+ 
+-
+-## This is needed for the CPack package generator.
+-#
+-INSTALL(TARGETS       ion_accuweather ion_google
+-	LIBRARY       DESTINATION "${YAWP_PACK_INSTALL_LIB_DIR}"
+-	ARCHIVE       DESTINATION "${YAWP_PACK_INSTALL_LIB_DIR}"
+-	RUNTIME       DESTINATION "${YAWP_PACK_INSTALL_LIB_DIR}"
+-	COMPONENT     Libraries
+-	)
+-
+-INSTALL(FILES         ${ACCUWEATHER_DESKTOP} ${GOOGLE_DESKTOP}
+-	DESTINATION   "${YAWP_PACK_SERVICES_DIR}"
+-	COMPONENT     ApplicationData
+-	)
diff -ruN plasma-applet-yawp.orig/files/patch-po__CMakeLists.txt plasma-applet-yawp/files/patch-po__CMakeLists.txt
--- plasma-applet-yawp.orig/files/patch-po__CMakeLists.txt	1969-12-31 19:00:00.000000000 -0500
+++ plasma-applet-yawp/files/patch-po__CMakeLists.txt	2010-03-08 22:38:31.000000000 -0500
@@ -0,0 +1,15 @@
+--- ./po/CMakeLists.txt.orig	2010-02-05 03:24:20.000000000 -0500
++++ ./po/CMakeLists.txt	2010-02-05 03:24:41.000000000 -0500
+@@ -27,12 +27,6 @@
+ 	        RENAME        plasma_applet_yawp.mo
+ 	        )
+ 
+-	INSTALL(FILES         ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo
+-		DESTINATION   "${YAWP_PACK_LOCALE_DIR}/${_lang}/LC_MESSAGES/"
+-		RENAME        plasma_applet_${CMAKE_PROJECT_NAME}.mo
+-		COMPONENT     ApplicationData
+-		)
+-
+ 	LIST(APPEND _gmoFiles ${_gmoFile})
+ ENDFOREACH(_current_PO_FILE)
+ ADD_CUSTOM_TARGET(pofiles ALL DEPENDS ${_gmoFiles})
diff -ruN plasma-applet-yawp.orig/pkg-plist plasma-applet-yawp/pkg-plist
--- plasma-applet-yawp.orig/pkg-plist	2010-03-08 22:37:47.000000000 -0500
+++ plasma-applet-yawp/pkg-plist	2010-03-08 22:38:31.000000000 -0500
@@ -1,11 +1,16 @@
+lib/kde4/ion_accuweather.so
+lib/kde4/ion_google.so
 lib/kde4/plasma_yawp.so
-share/apps/desktoptheme/default/widgets/yawp_theme13.svg
+share/apps/desktoptheme/default/widgets/yawp_theme15.svg
+share/kde4/services/ion-accuweather.desktop
+share/kde4/services/ion-google.desktop
 share/kde4/services/plasma_yawp.desktop
 share/locale/af/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/cs/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/de/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/es/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/fr/LC_MESSAGES/plasma_applet_yawp.mo
+share/locale/he/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/it/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/pl/LC_MESSAGES/plasma_applet_yawp.mo
 share/locale/ru/LC_MESSAGES/plasma_applet_yawp.mo
--- 2010-03-08-plasma-applet-yawp.diff ends here ---
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2010-03-09 22:43:05 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-03-09 22:46:13 UTC
miwi        2010-03-09 22:45:57 UTC

  FreeBSD ports repository

  Modified files:
    deskutils/plasma-applet-yawp Makefile distinfo pkg-plist 
  Added files:
    deskutils/plasma-applet-yawp/files 
                                       patch-applet__CMakeLists.txt 
                                       patch-applet__weatherdataprocessor.cpp 
                                       patch-ions__CMakeLists.txt 
                                       patch-po__CMakeLists.txt 
  Log:
  - Update to 0.3.2
  
  PR:             144093
  Submitted by:   Jason E. Hale <bsdkaffee@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.8       +6 -4      ports/deskutils/plasma-applet-yawp/Makefile
  1.5       +3 -3      ports/deskutils/plasma-applet-yawp/distinfo
  1.1       +26 -0     ports/deskutils/plasma-applet-yawp/files/patch-applet__CMakeLists.txt (new)
  1.1       +11 -0     ports/deskutils/plasma-applet-yawp/files/patch-applet__weatherdataprocessor.cpp (new)
  1.1       +20 -0     ports/deskutils/plasma-applet-yawp/files/patch-ions__CMakeLists.txt (new)
  1.1       +15 -0     ports/deskutils/plasma-applet-yawp/files/patch-po__CMakeLists.txt (new)
  1.3       +6 -1      ports/deskutils/plasma-applet-yawp/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"