From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 9 21:50:10 2011 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 0EDD4106566C for ; Wed, 9 Mar 2011 21:50:10 +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 BF0288FC13 for ; Wed, 9 Mar 2011 21:50:09 +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 p29Lo9JZ027685 for ; Wed, 9 Mar 2011 21:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p29Lo9F2027684; Wed, 9 Mar 2011 21:50:09 GMT (envelope-from gnats) Resent-Date: Wed, 9 Mar 2011 21:50:09 GMT Resent-Message-Id: <201103092150.p29Lo9F2027684@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, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 441031065752 for ; Wed, 9 Mar 2011 21:49:08 +0000 (UTC) (envelope-from bsam@bb.ipt.ru) Received: from bb.ipt.ru (bb.ipt.ru [194.62.233.89]) by mx1.freebsd.org (Postfix) with ESMTP id CF6B78FC13 for ; Wed, 9 Mar 2011 21:49:07 +0000 (UTC) Received: from bb.ipt.ru (localhost [127.0.0.1]) by bb.ipt.ru (8.14.4/8.14.4) with ESMTP id p29Ln6JW085039 for ; Thu, 10 Mar 2011 00:49:06 +0300 (MSK) (envelope-from bsam@bb.ipt.ru) Received: (from bsam@localhost) by bb.ipt.ru (8.14.4/8.14.4/Submit) id p29Ln6mx085038; Thu, 10 Mar 2011 00:49:06 +0300 (MSK) (envelope-from bsam) Message-Id: <201103092149.p29Ln6mx085038@bb.ipt.ru> Date: Thu, 10 Mar 2011 00:49:06 +0300 (MSK) From: Boris Samorodov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/155423: [patch] x11/xterm: add a desktop entry X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Boris Samorodov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 21:50:10 -0000 >Number: 155423 >Category: ports >Synopsis: [patch] x11/xterm: add a desktop entry >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Mar 09 21:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 9.0-CURRENT i386 >Organization: InPharmTech, Co. >Environment: System: FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #18 r219408: Wed Mar 9 01:32:00 MSK 2011 bsam@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 >Description: A desktop entry exists at the distribution but the port currently does not install a desktop entry. >How-To-Repeat: >Fix: --- xterm.diff begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/x11/xterm/Makefile,v retrieving revision 1.81 diff -u -r1.81 Makefile --- Makefile 24 Feb 2011 15:39:09 -0000 1.81 +++ Makefile 9 Mar 2011 21:44:53 -0000 @@ -7,7 +7,7 @@ PORTNAME= xterm PORTVERSION= 269 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= ftp://invisible-island.net/xterm/ \ CRITICAL @@ -19,6 +19,7 @@ BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit USE_XORG= xaw xft +USE_GNOME= desktopfileutils GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -54,6 +55,9 @@ .for f in koi8rxterm resize uxterm xterm @${CHMOD} ${BINMODE} ${PREFIX}/bin/${f} .endfor + @${MKDIR} ${PREFIX}/share/applications/ + @${INSTALL_DATA} ${WRKSRC}/xterm.desktop ${PREFIX}/share/applications/ + @-update-desktop-database .if defined(WITH_WIDE_CHARS) @${CAT} ${PKGMESSAGE} Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/x11/xterm/pkg-plist,v retrieving revision 1.7 diff -u -r1.7 pkg-plist --- pkg-plist 4 May 2010 17:54:21 -0000 1.7 +++ pkg-plist 9 Mar 2011 21:44:53 -0000 @@ -8,7 +8,11 @@ lib/X11/app-defaults/UXTerm-color lib/X11/app-defaults/XTerm lib/X11/app-defaults/XTerm-color +share/applications/xterm.desktop share/pixmaps/xterm-color_32x32.xpm share/pixmaps/xterm-color_48x48.xpm share/pixmaps/xterm_32x32.xpm share/pixmaps/xterm_48x48.xpm +@dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true --- xterm.diff ends here --- -- WBR, bsam >Release-Note: >Audit-Trail: >Unformatted: