From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 15 05:20:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8931D106564A for ; Wed, 15 Dec 2010 05:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 433738FC0C for ; Wed, 15 Dec 2010 05:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBF5K5o4042840 for ; Wed, 15 Dec 2010 05:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBF5K5Mn042839; Wed, 15 Dec 2010 05:20:05 GMT (envelope-from gnats) Resent-Date: Wed, 15 Dec 2010 05:20:05 GMT Resent-Message-Id: <201012150520.oBF5K5Mn042839@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steve Wills Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25EDD106566B for ; Wed, 15 Dec 2010 05:17:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 144FC8FC12 for ; Wed, 15 Dec 2010 05:17:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBF5HA6A068418 for ; Wed, 15 Dec 2010 05:17:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBF5HAp2068417; Wed, 15 Dec 2010 05:17:10 GMT (envelope-from nobody) Message-Id: <201012150517.oBF5HAp2068417@red.freebsd.org> Date: Wed, 15 Dec 2010 05:17:10 GMT From: Steve Wills To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153166: [PATCH] fix www/opera plist when KDE4 option is enabled & dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 05:20:05 -0000 >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 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: