Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2010 05:17:10 GMT
From:      Steve Wills <steve@mouf.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/153166: [PATCH] fix www/opera plist when KDE4 option is enabled & dependencies
Message-ID:  <201012150517.oBF5HAp2068417@red.freebsd.org>
Resent-Message-ID: <201012150520.oBF5K5Mn042839@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         153166
>Category:       ports
>Synopsis:       [PATCH] fix www/opera plist when KDE4 option is enabled & dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 15 05:20:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        8.2-PRERELEASE
>Organization:
>Environment:
>Description:
When I enable the KDE4 option in www/opera and build in my ports tinderbox, it reports a plist error. Also, in the log I see a call to update-desktop-database which isn't found. The attached patch fixes the plist in KDE4 option case and adds USE_GNOME=desktopfileutils so that update-desktop-database is available.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/opera/Makefile,v
retrieving revision 1.99
diff -u -r1.99 Makefile
--- Makefile	26 Oct 2010 16:48:18 -0000	1.99
+++ Makefile	15 Dec 2010 05:03:40 -0000
@@ -37,6 +37,7 @@
 
 USE_BZIP2=	yes
 USE_XORG=	x11 xext sm ice xft xrender
+USE_GNOME=	desktopfileutils
 INSTALLS_ICONS=	yes
 
 MAN1=		opera.1 opera-widget-manager.1
@@ -65,6 +66,9 @@
 
 .if defined(WITH_KDE4)
 USE_KDE4=	kdelibs
+PLIST_SUB+=	KDE4=""
+.else
+PLIST_SUB+=	KDE4="@comment "
 .endif
 
 .include <bsd.port.pre.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/opera/pkg-plist,v
retrieving revision 1.41
diff -u -r1.41 pkg-plist
--- pkg-plist	16 Aug 2010 18:53:42 -0000	1.41
+++ pkg-plist	15 Dec 2010 04:48:40 -0000
@@ -46,6 +46,8 @@
 share/icons/hicolor/scalable/mimetypes/opera-unite-application.svg
 share/mime/packages/opera-unite-application.xml
 share/mime/packages/opera-widget.xml
+%%KDE4%%share/mime/application/x-opera-uniteapplication.xml
+%%KDE4%%share/mime/application/x-opera-widgets.xml
 %%DATADIR%%/defaults/bookmarks.adr
 %%DATADIR%%/defaults/feedreaders.ini
 %%DATADIR%%/defaults/filehandler.ini


>Release-Note:
>Audit-Trail:
>Unformatted:



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