ports/136117: net-im/ayttm: missing category in .desktop file
Carlos A. M. dos Santos
unixmania at gmail.com
Sun Jun 28 04:50:05 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list