Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  8 Oct 2007 19:36:20 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117020: [PATCH] graphics/libpano: fix dependency on gimp
Message-ID:  <20071008153620.C92BE40CB@hades.panopticon>
Resent-Message-ID: <200710081540.l98Fe1C9000709@freefall.freebsd.org>

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

>Number:         117020
>Category:       ports
>Synopsis:       [PATCH] graphics/libpano: fix dependency on gimp
>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:   Mon Oct 08 15:40:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
libpano12 depends on graphics/gimp in a wrong way. Thus, while I have GIMP installed, building libpano tries to install it again.

# cd /usr/ports/graphics/libpano12 && make
===>  Extracting for libpano12-2.8.6
=> MD5 Checksum OK for libpano12-2.8.6.tar.gz.
=> SHA256 Checksum OK for libpano12-2.8.6.tar.gz.
===>  Patching for libpano12-2.8.6
===>  Applying FreeBSD patches for libpano12-2.8.6
===>   libpano12-2.8.6 depends on package: gimp>0 - not found
===>    Verifying install for gimp>0 in /usr/ports/graphics/gimp

# pkg_info | grep gimp
gimp-app-2.2.17,1   A GNU Image Manipulation Program

# ls -l /usr/local/bin/gimp* /usr/local/lib/libgimp*
lrwxr-xr-x  1 root  wheel        8 Aug  7 14:06 /usr/local/bin/gimp -> gimp-2.2
-r-xr-xr-x  1 root  wheel  3027144 Aug  7 14:06 /usr/local/bin/gimp-2.2
lrwxr-xr-x  1 root  wheel       15 Aug  7 14:05 /usr/local/bin/gimp-remote -> gimp-remote-2.2
-r-xr-xr-x  1 root  wheel    11800 Aug  7 14:05 /usr/local/bin/gimp-remote-2.2
-r-xr-xr-x  1 root  wheel    11227 Aug  7 14:08 /usr/local/bin/gimptool-2.0
-rw-r--r--  1 root  wheel   261022 Aug  7 14:06 /usr/local/lib/libgimp-2.0.a
-rwxr-xr-x  1 root  wheel     1062 Aug  7 14:06 /usr/local/lib/libgimp-2.0.la
lrwxr-xr-x  1 root  wheel       18 Aug  7 14:06 /usr/local/lib/libgimp-2.0.so -> libgimp-2.0.so.200
-rwxr-xr-x  1 root  wheel   210888 Aug  7 14:06 /usr/local/lib/libgimp-2.0.so.200
-rw-r--r--  1 root  wheel    69026 Aug  7 14:05 /usr/local/lib/libgimpbase-2.0.a
-rwxr-xr-x  1 root  wheel     1017 Aug  7 14:05 /usr/local/lib/libgimpbase-2.0.la
lrwxr-xr-x  1 root  wheel       22 Aug  7 14:05 /usr/local/lib/libgimpbase-2.0.so -> libgimpbase-2.0.so.200
-rwxr-xr-x  1 root  wheel    67234 Aug  7 14:05 /usr/local/lib/libgimpbase-2.0.so.200
-rw-r--r--  1 root  wheel    41152 Aug  7 14:05 /usr/local/lib/libgimpcolor-2.0.a
-rwxr-xr-x  1 root  wheel     1028 Aug  7 14:05 /usr/local/lib/libgimpcolor-2.0.la
lrwxr-xr-x  1 root  wheel       23 Aug  7 14:05 /usr/local/lib/libgimpcolor-2.0.so -> libgimpcolor-2.0.so.200
-rwxr-xr-x  1 root  wheel    39383 Aug  7 14:05 /usr/local/lib/libgimpcolor-2.0.so.200
-rw-r--r--  1 root  wheel    15968 Aug  7 14:06 /usr/local/lib/libgimpmath-2.0.a
-rwxr-xr-x  1 root  wheel     1021 Aug  7 14:06 /usr/local/lib/libgimpmath-2.0.la
lrwxr-xr-x  1 root  wheel       22 Aug  7 14:06 /usr/local/lib/libgimpmath-2.0.so -> libgimpmath-2.0.so.200
-rwxr-xr-x  1 root  wheel    19675 Aug  7 14:06 /usr/local/lib/libgimpmath-2.0.so.200
-rw-r--r--  1 root  wheel    15104 Aug  7 14:06 /usr/local/lib/libgimpmodule-2.0.a
-rwxr-xr-x  1 root  wheel     1098 Aug  7 14:06 /usr/local/lib/libgimpmodule-2.0.la
lrwxr-xr-x  1 root  wheel       24 Aug  7 14:06 /usr/local/lib/libgimpmodule-2.0.so -> libgimpmodule-2.0.so.200
-rwxr-xr-x  1 root  wheel    19090 Aug  7 14:06 /usr/local/lib/libgimpmodule-2.0.so.200
-rw-r--r--  1 root  wheel    33952 Aug  7 14:06 /usr/local/lib/libgimpthumb-2.0.a
-rwxr-xr-x  1 root  wheel     1131 Aug  7 14:06 /usr/local/lib/libgimpthumb-2.0.la
lrwxr-xr-x  1 root  wheel       23 Aug  7 14:06 /usr/local/lib/libgimpthumb-2.0.so -> libgimpthumb-2.0.so.200
-rwxr-xr-x  1 root  wheel    35976 Aug  7 14:06 /usr/local/lib/libgimpthumb-2.0.so.200
-rw-r--r--  1 root  wheel    80016 Aug  7 14:06 /usr/local/lib/libgimpui-2.0.a
-rwxr-xr-x  1 root  wheel     1859 Aug  7 14:06 /usr/local/lib/libgimpui-2.0.la
lrwxr-xr-x  1 root  wheel       20 Aug  7 14:06 /usr/local/lib/libgimpui-2.0.so -> libgimpui-2.0.so.200
-rwxr-xr-x  1 root  wheel    74090 Aug  7 14:06 /usr/local/lib/libgimpui-2.0.so.200
-rw-r--r--  1 root  wheel  1034518 Aug  7 14:06 /usr/local/lib/libgimpwidgets-2.0.a
-rwxr-xr-x  1 root  wheel     1791 Aug  7 14:06 /usr/local/lib/libgimpwidgets-2.0.la
lrwxr-xr-x  1 root  wheel       25 Aug  7 14:06 /usr/local/lib/libgimpwidgets-2.0.so -> libgimpwidgets-2.0.so.200
-rwxr-xr-x  1 root  wheel   974309 Aug  7 14:06 /usr/local/lib/libgimpwidgets-2.0.so.200

>How-To-Repeat:
having GIMP installed, try:
cd /usr/ports/graphics/libpano12 && make
>Fix:

--- libpano.patch begins here ---
diff -ruN libpano12.orig/Makefile libpano12/Makefile
--- libpano12.orig/Makefile	Mon Oct  8 19:30:18 2007
+++ libpano12/Makefile	Mon Oct  8 19:30:32 2007
@@ -17,7 +17,7 @@
 MAINTAINER=	vd@FreeBSD.org
 COMMENT=	Panorama Tools to make panorama pictures
 
-BUILD_DEPENDS=	gimp>0:${PORTSDIR}/graphics/gimp
+BUILD_DEPENDS=	gimp:${PORTSDIR}/graphics/gimp
 RUN_DEPENDS=	${BUILD_DEPENDS}
 LIB_DEPENDS=	tiff:${PORTSDIR}/graphics/tiff \
 		png:${PORTSDIR}/graphics/png \
--- libpano.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?20071008153620.C92BE40CB>