Date: Sun, 28 Jun 2009 04:41:53 GMT From: "Carlos A. M. dos Santos" <unixmania@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136117: net-im/ayttm: missing category in .desktop file Message-ID: <200906280441.n5S4frUk018376@www.freebsd.org> Resent-Message-ID: <200906280450.n5S4o4ri096759@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136117 >Category: ports >Synopsis: net-im/ayttm: missing category in .desktop file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 28 04:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Carlos A. M. dos Santos >Release: 8-CURRENT >Organization: N.A. >Environment: FreeBSD avatar 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jun 18 00:12:45 BRT 2009 root@avatar:/usr/obj/usr/src/sys/Compaq_nx6320 amd64 >Description: The ayttm.desktop file generated by the ayttm build does not have a "Categories" entry. Because of this ayttm is included in the "other" group of the application menu, at least on on XFce4. This is not a defect but it would be preferable to have ayttm in the "network" group, as happens with other IM software like Pidgim and Empathy. >How-To-Repeat: # cd /usr/ports/net-im/ayttm # make install start a Xfce4 session activate the Xfce menu >Fix: Apply the attached patch. It adds a line at the end of the ayttm.desktop file containing "Categories=Application;Network;" and bumps the port revision number. Patch attached with submission follows: --- ayttm/Makefile.orig 2009-04-11 10:03:17.000000000 -0300 +++ ayttm/Makefile 2009-06-28 01:18:24.000000000 -0300 @@ -7,7 +7,7 @@ PORTNAME= ayttm PORTVERSION= 0.5.0.45 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} @@ -63,4 +63,7 @@ 's|-L/usr/local/lib/pth/||g ; \ s|-lproxy|../libproxy/libproxy.a|g' ${WRKSRC}/src/Makefile.in +post-build: + @${ECHO} 'Categories=Application;Network;' >> ${WRKSRC}/ayttm.desktop + .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906280441.n5S4frUk018376>