Bug 67814 - New port: desktop-file-utils, a couple of command line utilities for working with desktop entries
Summary: New port: desktop-file-utils, a couple of command line utilities for working ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 00:40 UTC by Jean-Yves Lefort
Modified: 2004-07-18 13:04 UTC (History)
0 users

See Also:


Attachments
file.shar (3.60 KB, text/plain)
2004-06-11 00:40 UTC, Jean-Yves Lefort
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Lefort 2004-06-11 00:40:19 UTC

    
Comment 1 Jean-Yves Lefort 2004-06-12 01:39:44 UTC
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 <jylefort@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@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 <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
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2004-07-18 13:04:45 UTC
State Changed
From-To: open->closed

Commited, thanks!