Bug 94067 - graphics/gimp: GIMP fails make with WITHOUT_X11
Summary: graphics/gimp: GIMP fails make with WITHOUT_X11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 16:30 UTC by Lapo Luchini
Modified: 2006-03-15 05:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2006-03-04 16:30:08 UTC
GIMP doesn't install using WITHOUT_X11, because
x11-toolkits/pango links a header in cairo that only gets compiled with X11.
Compiling only cairo using X11, and then using WITHOUT_X11 seems to
work around the problem and gimp installation completes.

Installing GIMP without X11 may seem silly, but as far as you only need it for
command line scripting is a useful thing.
E.g. it seems the only "real" way to convert a multi-level .xcf.gz to .png

How-To-Repeat: echo WITHOUT_X11=1 >>/etc/make.conf
cd /usr/ports/graphics/gimp
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-03-04 23:08:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-03-04 23:20:16 UTC
State Changed
From-To: open->feedback

When reporting a build failure, you must include any and all output related 
to that failure.
Comment 3 lapo.luchini 2006-03-05 08:28:08 UTC
if cc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_DISABLE_DEPRECATED -I..
-DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/local/include/cairo   -I/usr/X11R6/include  
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/include  -I/usr/local/include/freetype2 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
-I/usr/local/include  -I/usr/X11R6/include  -O2 -fno-strict-aliasing
-pipe -msse3 -march=k8 -Wall -MT cairoview.o -MD -MP -MF
".deps/cairoview.Tpo" \
  -c -o cairoview.o `test -f 'cairoview.c' || echo './'`cairoview.c; \
then mv -f ".deps/cairoview.Tpo" ".deps/cairoview.Po"; \
else rm -f ".deps/cairoview.Tpo"; exit 1; \
fi
cairoview.c:35:24: cairo-xlib.h: No such file or directory
cairoview.c: In function `update':
cairoview.c:145: warning: implicit declaration of function
`cairo_xlib_surface_create'
cairoview.c:147: warning: assignment makes pointer from integer without
a cast
gmake[2]: *** [cairoview.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/pango/work/pango-1.10.3/examples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/pango/work/pango-1.10.3'
gmake: *** [all] Error 2
*** Error code 2
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-03-15 05:58:11 UTC
State Changed
From-To: feedback->closed

Fixed in pango-1.10.4.