Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2007 09:14:52 GMT
From:      Christoph Mallon <christoph.mallon@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/116224: [patch] Option to disable splash screen for graphics/gimageview
Message-ID:  <200709090914.l899EqIw073122@www.freebsd.org>
Resent-Message-ID: <200709090920.l899K10F022544@freefall.freebsd.org>

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

>Number:         116224
>Category:       ports
>Synopsis:       [patch] Option to disable splash screen for graphics/gimageview
>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:   Sun Sep 09 09:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Mallon
>Release:        n/a
>Organization:
>Environment:
n/a
>Description:
This patch adds the option to disable the splash screen for graphics/gimageview. It adds --disable-splash to the configure arguments if requested. To preserve POLA the splash screen is enabled by default.
>How-To-Repeat:
n/a
>Fix:
see patch

Patch attached with submission follows:

--- Makefile.orig	2007-09-09 11:00:31.000000000 +0200
+++ Makefile	2007-09-09 11:05:09.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	gimageview
 PORTVERSION=	0.2.27
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	gtkmmviewer
@@ -31,8 +31,14 @@
 USE_GNOME=	gdkpixbuf gnomehier
 .endif
 
+OPTIONS=	SPLASH	"Show splash on startup"	On
+
 .include <bsd.port.pre.mk>
 
+.ifdef WITHOUT_SPLASH
+CONFIGURE_ARGS+=	--disable-splash
+.endif
+
 .if ${HAVE_GNOME:Mimlib}!=""
 USE_GNOME+=	imlib
 PKGNAMESUFFIX=	-imlib


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



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