Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2005 10:41:25 +0200
From:      Panagiotis Astithas <past@ebs.gr>
To:        Alexander Nedotsukov <bland@freebsd.org>
Cc:        eclipse@freebsd.org, gnome <freebsd-gnome@freebsd.org>
Subject:   Re: Failed to build eclipse with gnome 2.12 (failed on cario)
Message-ID:  <4371B635.90603@ebs.gr>
In-Reply-To: <437189E2.1040405@FreeBSD.org>
References:  <1126680998.14844.2.camel@localhost>	<4327DBC7.2090707@ebs.gr>	<1127115472.1082.15.camel@localhost>	<432E6E1B.8020108@ebs.gr>	<1127129214.997.5.camel@klamath.syndrom23.de>	<1131402336.1264.6.camel@localhost>	<437052E9.2040004@FreeBSD.org>	<1131444971.69134.5.camel@server.mcneil.com>	<4370906B.4090206@FreeBSD.org>	<1131473519.95131.2.camel@server.mcneil.com>	<1131506115.98117.3.camel@server.mcneil.com> <437189E2.1040405@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Nedotsukov wrote:
> Sean McNeil wrote:
> 
>> On Tue, 2005-11-08 at 10:11 -0800, Sean McNeil wrote:
>>  
>>
>>> On Tue, 2005-11-08 at 20:47 +0900, Alexander Nedotsukov wrote:
>>>   
>>>
>>>> Sean McNeil wrote:
>>>>
>>>>     
>>>>
>>>>> ......
>>>>>
>>>>>       
>>>>>
>>>>>>>>>            
>>>>>>>>>               
>>>>>>>>
>>>>>>>> FWIW, you can find a patch to eclipse that I use for 3.1+gnome 
>>>>>>>> 2.12 at
>>>>>>>> http://andreas.syndrom23.de/dump/eclipse-3.1-cairo.diff
>>>>>>>>        
>>>>>>>>             
>>>>>>>
>>>>>>> Any chance to get this patch commited ? java/eclipse still does 
>>>>>>> not build with gnome-2.12 (already in tree).
>>>>>>>
>>>>>>>    
>>>>>>>           
>>>>>>
>>>>>> I did this yesterday. Cvsup.
>>>>>>  
>>>>>>         
>>>>>
>>>>> One caveat (as mentioned on another thread) - The patches incorporated
>>>>> only fix the problem for x86.  amd64 systems still fail to build
>>>>> properly.
>>>>>
>>>>>
>>>>>       
>>>>
>>>> Very strange. The build log you showed in eclipse@ looks exactly 
>>>> like cairo related build faulre w/o patches commited yesterday. Are 
>>>> you sure you have file manualpatch-plugins-swt-cairo in files/ 
>>>> directory?
>>>> As last resort I can recommend to build eclipse with 
>>>> WITHOUT_CAIRO=yes for now.
>>>>     
>>>
>>> Positive.  The problem is that amd64 uses a different SWT:
>>>
>>> plugins/org.eclipse.swt.gtk.freebsd.amd64
>>>
>>> plugins/org.eclipse.swt.gtk.freebsd.amd64/src/Eclipse SWT
>>> PI/cairo/library/cairo.c needs to be patched as well.
>>>   
>>
>>
>> To follow up, it appears that the files patched are just for the
>> standard 32-bit implementation.  For 64-bit, those files appear to be
>> copied over then regenerated from the class file.  So, the problem is
>> that Cairo.java is not patched and it doesn't correspond to the new
>> cairo.c.  Using cairo in its current state should not really be possible
>> even on i386 as they don't match up.
>>  
>>
> Sounds like true. But I am not an eclipse expert. Please speak up to 
> patch author to finish this work.

In the meantime you could check the original patches at:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=106527

It seems there are some extra patches that Andreas hasn't kept in his 
version, that might make a difference on amd64.

Panagiotis



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