Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 08:49:20 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437186 - in head/deskutils/plasma-applet-daisy: . files
Message-ID:  <201703290849.v2T8nKKx071115@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Wed Mar 29 08:49:20 2017
New Revision: 437186
URL: https://svnweb.freebsd.org/changeset/ports/437186

Log:
  Unbreak linking after r436971
  
  /usr/bin/ld: cannot find -ltaskmanager
  c++: error: linker command failed with exit code 1 (use -v to see invocation)
  *** Error code 1
  
  Add missing dependencies
  Fix LICENSE and add LICENSE_FILE

Added:
  head/deskutils/plasma-applet-daisy/files/
  head/deskutils/plasma-applet-daisy/files/patch-applet_CMakeLists.txt   (contents, props changed)
Modified:
  head/deskutils/plasma-applet-daisy/Makefile

Modified: head/deskutils/plasma-applet-daisy/Makefile
==============================================================================
--- head/deskutils/plasma-applet-daisy/Makefile	Wed Mar 29 08:36:41 2017	(r437185)
+++ head/deskutils/plasma-applet-daisy/Makefile	Wed Mar 29 08:49:20 2017	(r437186)
@@ -2,7 +2,7 @@
 
 PORTNAME=	daisy
 PORTVERSION=	0.0.4.26
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	deskutils kde
 MASTER_SITES=	http://cdlszm.org/downloads/
 PKGNAMEPREFIX=	plasma-applet-
@@ -11,10 +11,12 @@ DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	Simple launcher plasma applet for KDE4
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake gettext kde:4
 USE_KDE=	automoc4 kdelibs workspace
-USE_QT4=	qmake_build moc_build rcc_build uic_build
+USE_QT4=	corelib dbus gui network svg xml \
+		qmake_build moc_build rcc_build uic_build
 
 .include <bsd.port.mk>

Added: head/deskutils/plasma-applet-daisy/files/patch-applet_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/plasma-applet-daisy/files/patch-applet_CMakeLists.txt	Wed Mar 29 08:49:20 2017	(r437186)
@@ -0,0 +1,21 @@
+Specifically find taskmanager library with CMake
+
+--- applet/CMakeLists.txt.orig	2017-03-29 07:44:51 UTC
++++ applet/CMakeLists.txt
+@@ -4,6 +4,7 @@ project(daisy)
+  
+ # Find the required Libaries
+ find_package(KDE4 REQUIRED)
++find_package(KDE4Workspace REQUIRED)
+ include(KDE4Defaults)
+  
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+@@ -26,7 +27,7 @@ kde4_add_plugin(plasma_applet_daisy ${da
+ 
+ target_link_libraries(plasma_applet_daisy 
+                       ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KUTILS_LIBS} 
+-		      ${KDE4_KIO_LIBS} taskmanager )
++		      ${KDE4_KIO_LIBS} ${KDE4WORKSPACE_TASKMANAGER_LIBRARY} )
+  
+ install(TARGETS plasma_applet_daisy
+         DESTINATION ${PLUGIN_INSTALL_DIR})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703290849.v2T8nKKx071115>