Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2007 11:39:06 GMT
From:      Lars Kristiansen<lars+lister.freebsd@adventuras.no>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111266: patch for graphics/gimp pre-everything old version detection missing gimp-gnome
Message-ID:  <200704051139.l35Bd6WD059206@www.freebsd.org>
Resent-Message-ID: <200704051150.l35Bo496008494@freefall.freebsd.org>

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

>Number:         111266
>Category:       ports
>Synopsis:       patch for graphics/gimp pre-everything old version detection missing gimp-gnome
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 11:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Lars Kristiansen
>Release:        6.1-RELEASE
>Organization:
Adventuras
>Environment:
FreeBSD ladyda.hovin.local 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: Fri Nov 10 16:35:01 CET 2006     root@ladyda.hovin.local:/usr/obj/usr/src/sys/LADYDA  i386
>Description:
Concerning upgrade of graphics/gnome
For some reason my installation of gimp has the portname gimp-gnome.
Since new gimp need special attention mentioned in UPDATING, it has a
pre-everything old version detection.
This detection misses gimp-gnome.

Note that the same problem may concern the gimp-devel port.
The following patch is for graphics/gimp.


>How-To-Repeat:

>Fix:
--- Makefile.orig       Thu Apr  5 12:39:08 2007
+++ Makefile    Thu Apr  5 13:18:04 2007
@@ -27,7 +27,7 @@
 .include <bsd.port.pre.mk>
 
 pre-everything::
-       @if [ -n "`${PKG_INFO} -xI '^gimp-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
+       @if [ -n "`${PKG_INFO} -xI '^gimp[-gnome]*-[0-9].[0-9].[0-9]*' 2>/dev/null`" ]; then \
                ${ECHO_CMD} "${PKGNAME}: Old version of gimp detected! Please see ${PORTSDIR}/UPDATING for information on upgrading ${PKGNAME}" ; \
                ${FALSE}; \
        fi

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



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