From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 12 00:40:53 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A7BA16A4CE for ; Sat, 12 Jun 2004 00:40:53 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40F2643D1F for ; Sat, 12 Jun 2004 00:40:53 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5C0eMCb078848 for ; Sat, 12 Jun 2004 00:40:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5C0eMGP078847; Sat, 12 Jun 2004 00:40:22 GMT (envelope-from gnats) Date: Sat, 12 Jun 2004 00:40:22 GMT Message-Id: <200406120040.i5C0eMGP078847@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Jean-Yves Lefort Subject: Re: ports/67814: New port: desktop-file-utils, a couple of command line utilities for working with desktop entries X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Yves Lefort List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 00:40:53 -0000 The following reply was made to PR ports/67814; it has been noted by GNATS. From: Jean-Yves Lefort To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/67814: New port: desktop-file-utils, a couple of command line utilities for working with desktop entries Date: Sat, 12 Jun 2004 02:39:44 +0200 Errata: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # desktop-file-utils # desktop-file-utils/pkg-plist # desktop-file-utils/pkg-descr # desktop-file-utils/distinfo # desktop-file-utils/Makefile # desktop-file-utils/files # desktop-file-utils/files/patch-src::menu-method.c # echo c - desktop-file-utils mkdir -p desktop-file-utils > /dev/null 2>&1 echo x - desktop-file-utils/pkg-plist sed 's/^X//' >desktop-file-utils/pkg-plist << 'END-of-desktop-file-utils/pkg-plist' Xbin/desktop-file-install Xbin/desktop-file-validate Xbin/desktop-menu-tool X%%GNOME_VFS%%etc/gnome-vfs-2.0/modules/menu-modules.conf X%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.a X%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.la X%%GNOME_VFS%%lib/gnome-vfs-2.0/modules/libmenu.so END-of-desktop-file-utils/pkg-plist echo x - desktop-file-utils/pkg-descr sed 's/^X//' >desktop-file-utils/pkg-descr << 'END-of-desktop-file-utils/pkg-descr' Xdesktop-file-utils contains a couple of command line utilities for Xworking with desktop entries, aswell as a menu module for GnomeVFS. X XWWW: http://www.freedesktop.org/Software/desktop-file-utils X X- Jean-Yves Lefort Xjylefort@brutele.be END-of-desktop-file-utils/pkg-descr echo x - desktop-file-utils/distinfo sed 's/^X//' >desktop-file-utils/distinfo << 'END-of-desktop-file-utils/distinfo' XMD5 (desktop-file-utils-0.6.tar.gz) = dcace3294470e9cdc9ebfe7de1881ece XSIZE (desktop-file-utils-0.6.tar.gz) = 386988 END-of-desktop-file-utils/distinfo echo x - desktop-file-utils/Makefile sed 's/^X//' >desktop-file-utils/Makefile << 'END-of-desktop-file-utils/Makefile' X# New ports collection makefile for: desktop-file-utils X# Date created: 11 Jun 2004 X# Whom: Jean-Yves Lefort X# X# $FreeBSD$ X# X XPORTNAME= desktop-file-utils XPORTVERSION= 0.6 XCATEGORIES= devel XMASTER_SITES= http://freedesktop.org/Software/desktop-file-utils/releases/ X XMAINTAINER= jylefort@brutele.be XCOMMENT= A couple of command line utilities for working with desktop entries X XLIB_DEPENDS= popt:${PORTSDIR}/devel/popt X X# This port contains no X program but it might install a GnomeVFS X# module and thus we need to use the same prefix as GnomeVFS. XUSE_X_PREFIX= yes X XUSE_GNOME= glib20 XWANT_GNOME= yes XGNU_CONFIGURE= yes X XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" X X.include X X.if ${HAVE_GNOME:Mgnomevfs2} != "" XUSE_GNOME+= gnomevfs2 XPLIST_SUB+= GNOME_VFS="" X.else XPLIST_SUB+= GNOME_VFS="@comment " X.endif X X.include END-of-desktop-file-utils/Makefile echo c - desktop-file-utils/files mkdir -p desktop-file-utils/files > /dev/null 2>&1 echo x - desktop-file-utils/files/patch-src::menu-method.c sed 's/^X//' >desktop-file-utils/files/patch-src::menu-method.c << 'END-of-desktop-file-utils/files/patch-src::menu-method.c' X--- src/menu-method.c.orig Fri Jun 11 00:39:02 2004 X+++ src/menu-method.c Fri Jun 11 00:39:43 2004 X@@ -117,7 +117,7 @@ X GnomeVFSOpenMode mode, X FileHandle **handle, X gboolean exclusive, X- unsigned int perms); X+ mode_t perms); X static void file_handle_unref (FileHandle *handle); X static GnomeVFSResult file_handle_read (FileHandle *handle, X gpointer buffer, END-of-desktop-file-utils/files/patch-src::menu-method.c exit