Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2013 07:46:23 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        knyght@gmail.com
Subject:   ports/181499: [PATCH] emulators/dosbox: add icon
Message-ID:  <20130824034624.15DC1F67@hades.panopticon>
Resent-Message-ID: <201308240350.r7O3o0dK049712@freefall.freebsd.org>

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

>Number:         181499
>Category:       ports
>Synopsis:       [PATCH] emulators/dosbox: add icon
>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:   Sat Aug 24 03:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r251956: Tue Jun 18 21:41:37 MSK
>Description:
Install an icon and use it in a desktop file

Port maintainer (knyght@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- dosbox-0.74_5.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 325284)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dosbox
 PORTVERSION=	0.74
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	emulators
 MASTER_SITES=	SF
 
@@ -14,7 +14,7 @@
 
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl net sound
-PLIST_FILES=	bin/dosbox
+PLIST_FILES=	bin/dosbox share/pixmaps/dosbox.ico
 PORTDOCS=	NEWS README
 
 MAN1=		dosbox.1
@@ -24,7 +24,7 @@
 CONFIGURE_ARGS+=	--enable-core-inline
 
 DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \
-		"" "dosbox" \
+		"${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \
 		"System;Emulator;" "true"
 
 OPTIONS_RADIO=	DEBUGGER
@@ -46,6 +46,7 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
+	${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${PREFIX}/share/pixmaps/
 	${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${MAN1PREFIX}/man/man1/
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
--- dosbox-0.74_5.patch ends here ---

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



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