ports/67814: New port: desktop-file-utils, a couple of command line utilities for working with desktop entries
Jean-Yves Lefort
jylefort at brutele.be
Thu Jun 10 23:40:20 UTC 2004
>Number: 67814
>Category: ports
>Synopsis: New port: desktop-file-utils, a couple of command line utilities for working with desktop entries
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 10 23:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jean-Yves Lefort
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu May 27 14:42:30 CEST 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
# 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 at 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 <jylefort at brutele.be>
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 at 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= gtk20
XWANT_GNOME= yes
XGNU_CONFIGURE= yes
X
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list