First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 27169
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: SpanKY <vapier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brandy Westcott (RETIRED) <brandy@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.log emerge log text/plain Brandy Westcott (RETIRED) 2003-08-23 03:34 0000 23.71 KB Details
config.log config log text/plain Brandy Westcott (RETIRED) 2003-08-23 03:35 0000 33.15 KB Details
imlib2-1.1.0.ebuild.diff imlib2-1.1.0.ebuild.diff patch Mamoru KOMACHI (RETIRED) 2003-10-31 06:10 0000 341 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27169 depends on: Show dependency tree
Bug 27169 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-23 03:30 0000
Both imlib2-1.0.6.20030220-r1 and imlib2-1.0.7.20030629 fail to compile when 
USE="-X" is set. The configure script shows: 
 
	checking for X... disabled 
	configure: WARNING: Xlib support is disabled. 
 
However Xlib seems to be needed for compiling parts of the api.c and font.c source. 

Reproducible: Always
Steps to Reproduce:
1. USE="-X" emerge imlib2 
 
Actual Results:  
 

Expected Results:  
 

Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
GENTOO_MIRRORS="ftp://ftp.citylink.co.nz/gentoo http://gentoo.oregonstate.edu/ 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms 
xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java X sdl tcpd pam 
libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx cdr doc dvd 
sse tcltk tetex -3dnow" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"

------- Comment #1 From Brandy Westcott (RETIRED) 2003-08-23 03:34:04 0000 -------
Created an attachment (id=16495) [edit]
emerge log

------- Comment #2 From Brandy Westcott (RETIRED) 2003-08-23 03:35:19 0000 -------
Created an attachment (id=16496) [edit]
config log

------- Comment #3 From Thomas Capricelli 2003-08-24 14:08:56 0000 -------
hello. i confirm this behaviour. For some reason imlib2 is needed on my x-less 
server. (-x -X in USE). and imlib2 can't compile. tried with 
imlib2-1.0.7.20030629.ebuild and imlib2-1.0.6.20030220-r1.ebuild. 
 
the error is the following : 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders -I../libltdl 
-I/usr/X11R6/include -I/usr/include -I/usr/include -march=i586 -O3 -pipe -c 
api.c -MT api.lo -MD -MP -MF .deps/api.TPlo  -fPIC -DPIC -o .libs/api.lo 
In file included from api.c:34: 
font.h:119: parse error before "XFontSet" 
 
reason is that this XFontSet is declared on none of the .h on the system.. 
 
XFontSet is declared in /usr/include/X11/Xlib.h: which of course is not 
included if xfree is not installed. 

------- Comment #4 From Brandy Westcott (RETIRED) 2003-08-24 18:28:13 0000 -------
Quote from the Imlib2 homepage 
(http://www.enlightenment.org/pages/imlib2.html) : 
 
	Imlib 2 can run without a display, so it can be easily used for 
	background image processing for web sites or servers - it only 
	requires the X libraries to be installed - that is all - it does not 
	require an XServer to run unless you wish to display images 
 

------- Comment #5 From SpanKY 2003-08-25 20:49:36 0000 -------
thanks brandy, i've added virtual/x11 to DEPEND in all the imlib2 ebuilds

------- Comment #6 From Seemant Kulleen (RETIRED) 2003-08-25 21:22:51 0000 -------
actually, this bug serves as a reminder of what all needs to change when
xfree-libs becomes a separate package

------- Comment #7 From Jens Gassmann 2003-09-10 07:20:15 0000 -------
i speak with the author of imlib2 and hi help me to create a version without X.
Her corrected this in the cvs of imlib2. Simply remove all #include <X11/*>
from the source and try to compile with --without-x an all runs fine. Hth

------- Comment #8 From Mamoru KOMACHI (RETIRED) 2003-10-31 06:10:23 0000 -------
Created an attachment (id=20012) [edit]
imlib2-1.1.0.ebuild.diff

------- Comment #9 From Mamoru KOMACHI (RETIRED) 2003-10-31 06:12:49 0000 -------
As for imlib2-1.1.0.ebuild, it can be compiled with USE="-X" without
virtual/x11 dependency. Please apply a patch attached above.

------- Comment #10 From Martin Schlemmer (RETIRED) 2003-11-01 13:53:31 0000 -------
Should be fixed in 1.1.0-r1.  Reopen if there are still issues.

------- Comment #11 From SpanKY 2003-11-01 21:47:44 0000 -------
bleh

------- Comment #12 From Martin Schlemmer (RETIRED) 2003-11-02 07:25:16 0000 -------
Ok, really fixed.  Mike, not that we have to elibtoolize it, else the loaders
and filters have invalid paths in thier .la's ...

------- Comment #13 From SpanKY 2003-11-03 13:51:19 0000 -------
umm i dunno who you talked to about imlib2 but it hasnt been 'corrected'
in cvs ... all the files still explicitly require the X11 header files ...

i'll talk to raster (the primary dev of E) and see whats up

------- Comment #14 From SpanKY 2003-11-08 11:30:19 0000 -------
ok, i removed the imlib2-1.1.0-rX ebuilds and added in a cvs snapshot

i also pushed 1.1.0 to stable ...
so if you want to build imlib2 w/out X you have to use the snapshot ... i'm
not going to patch imlib2-1.1.0

First Last Prev Next    No search results available      Search page      Enter new bug