Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 21:40:25 GMT
From:      Kevin Zheng <kevinz5000@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179821: [patch] Install desktop icon for games/supertuxkart
Message-ID:  <201306212140.r5LLePti052668@oldred.freebsd.org>
Resent-Message-ID: <201306212150.r5LLo01m026380@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179821
>Category:       ports
>Synopsis:       [patch] Install desktop icon for games/supertuxkart
>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:   Fri Jun 21 21:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        9.1-RELEASE-p4
>Organization:
>Environment:
FreeBSD sigma.local 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:38:17 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
All games deserve a desktop icon; this patch installs a desktop icon for games/supertuxkart.
>How-To-Repeat:

>Fix:
Apply the attached patch.

Patch attached with submission follows:

diff -ruN /usr/ports/games/supertuxkart/Makefile supertuxkart/Makefile
--- /usr/ports/games/supertuxkart/Makefile	2013-04-26 05:44:28.000000000 -0500
+++ supertuxkart/Makefile	2013-06-21 14:42:12.000000000 -0500
@@ -39,6 +39,9 @@
 		-DNO_IRR_COMPILE_WITH_BZIP2_ \
 		-DNO_IRR_COMPILE_WITH_JOYSTICK_EVENTS_
 
+DESKTOP_ENTRIES=	"SuperTuxKart" "${COMMENT}" \
+			"${DATADIR}/data/supertuxkart_64.xpm" \
+			"supertuxkart" "Game;ArcadeGame;" false
 post-patch:
 	@${REINPLACE_CMD} -e 's|libIrrlicht.a|& -L${LOCALBASE}/lib -lpng -ljpeg|' ${WRKSRC}/CMakeLists.txt
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306212140.r5LLePti052668>