From owner-svn-ports-head@FreeBSD.ORG Thu May 9 15:22:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DD51D95E; Thu, 9 May 2013 15:22:47 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CF475D7B; Thu, 9 May 2013 15:22:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r49FMlhn018119; Thu, 9 May 2013 15:22:47 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r49FMl7F018118; Thu, 9 May 2013 15:22:47 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201305091522.r49FMl7F018118@svn.freebsd.org> From: Koop Mast Date: Thu, 9 May 2013 15:22:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317738 - head X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 15:22:47 -0000 Author: kwm Date: Thu May 9 15:22:47 2013 New Revision: 317738 URL: http://svnweb.freebsd.org/changeset/ports/317738 Log: Document new USES: desktop-file-utils and shared-mime-info. Modified: head/CHANGES Modified: head/CHANGES ============================================================================== --- head/CHANGES Thu May 9 12:48:12 2013 (r317737) +++ head/CHANGES Thu May 9 15:22:47 2013 (r317738) @@ -10,6 +10,32 @@ in the release notes and/or placed into All ports committers are allowed to commit to this file. +20130509: +AUTHOR: kwm@FreeBSD.org + + * Two new USES macros to handle mime data of ports. + + USES= desktop-file-utils + Handles MimeType in .desktop files that are installed in + share/applications. + USES= shared-mime-info + For supporting mime xml files installed in + share/mime/packages. + + The desktop-file-utils USES is only needed if the .desktop files + installed by the port has a MimeType field. + USE_GNOME=desktopfileutils is deprecated. + + The shared-mime-info USES handles mime types xml files. + Please note that only the packages/${NAME}.xml file should be listed in + the plist. The shared-mime-info port will clean up the share/mime/* + directories and generated files. + + Both USES have there own post-install and code that adds @exec/@unexec + lines to the pkg-plist. This means that when a port switches to the + USES macro, the related post-install command and @exec/@unexec + lines can be removed from the prot. + 20130507: AUTHOR: bapt@FreeBSD.org