Re: Build broken in canvas

2013-01-16 Thread Herbert Duerr

Hi Pedro,

On 15.01.2013 03:37, Pedro Giffuni wrote:

Compiling: canvas/source/cairo/cairo_devicehelper.cxx
[...]
/usr/ports/editors/openoffice-3-devel/work/ooo/main/canvas/source/cairo/cairo_devicehelper.cxx:
 In member function 'void cairocanvas::DeviceHelper::dumpScreenContent() const':
/usr/ports/editors/openoffice-3-devel/work/ooo/main/canvas/source/cairo/cairo_devicehelper.cxx:271: error: no match for 
'operator' in 'aStream  OutputDevice::GetBitmap(const Point, const Size) const(((const 
Point)( aEmptyPoint)), ((const Size)((const Size*)(((OutputDevice*)((const 
cairocanvas::DeviceHelper*)this)-cairocanvas::DeviceHelper::mpRefDevice)-OutputDevice::GetOutputSizePixel()'


The change http://svn.apache.org/viewvc?rev=1431512view=rev removed the 
the Bitmap::operator() method.


I don't understand how the linux build can work without it? Maybe it 
found an implicit conversion to something else that had such a stream 
operator? The purpose of my commit 
http://svn.apache.org/viewvc?rev=1432943view=rev was to catch such 
unintended conversions make by making some important implicit 
conversions explicit, but I doubt the window related classes are 
involved here.


Herbert



Re: Build broken in canvas

2013-01-16 Thread Armin Le Grand

Hi Pedro,

should be done with rev 1433875 in source/cairo/cairo_devicehelper.cxx, 
please check.


On 16.01.2013 10:41, Armin Le Grand wrote:

Hi Pedro,

looks as if I had cairo disabled when building linux version of that 
change, sorry. I'm on it...



--
ALG


Re: Build broken in canvas

2013-01-16 Thread Pedro Giffuni
Thank you Armin;

It will take me some time to check but I think that you hit the issue.

I guess it's time to have a BSD buildbot (hi Andrew ;) ).


The difference with the linux buildbot is that we try to use all the system
libraries available.

Pedro.




 Da: Armin Le Grand armin.le.gr...@me.com
A: dev@openoffice.apache.org 
Inviato: Mercoledì 16 Gennaio 2013 5:03
Oggetto: Re: Build broken in canvas
 
    Hi Pedro,

should be done with rev 1433875 in source/cairo/cairo_devicehelper.cxx, please 
check.

On 16.01.2013 10:41, Armin Le Grand wrote:
 Hi Pedro,
 
 looks as if I had cairo disabled when building linux version of that change, 
 sorry. I'm on it...
 
--
ALG




Re: Build broken in canvas

2013-01-16 Thread Andrew Rist


On 1/16/2013 6:48 AM, Pedro Giffuni wrote:

Thank you Armin;

It will take me some time to check but I think that you hit the issue.

I guess it's time to have a BSD buildbot (hi Andrew ;) ).


YES!





The difference with the linux buildbot is that we try to use all the system
libraries available.

Pedro.





Da: Armin Le Grand armin.le.gr...@me.com
A: dev@openoffice.apache.org
Inviato: Mercoledì 16 Gennaio 2013 5:03
Oggetto: Re: Build broken in canvas

 Hi Pedro,

should be done with rev 1433875 in source/cairo/cairo_devicehelper.cxx, please 
check.

On 16.01.2013 10:41, Armin Le Grand wrote:

Hi Pedro,

looks as if I had cairo disabled when building linux version of that change, 
sorry. I'm on it...


--
ALG







Re: Build broken in canvas

2013-01-16 Thread Pedro Giffuni
Hi Maho;

Money is never a problem in the ASF ;)

We talked about the buildbot in ApacheConEU. infra@ was providing a VM
with FreeBSD 9 (9.1 now?).

The setup should not be difficult if we start from the current FreeBSD port
(which maho@ wrote and maintains).

Pedro.





 Da: Nakata Maho maho.nak...@gmail.com
A: dev@openoffice.apache.org dev@openoffice.apache.org 
Cc: dev@openoffice.apache.org dev@openoffice.apache.org 
Inviato: Mercoledì 16 Gennaio 2013 19:47
Oggetto: Re: Build broken in canvas
 
Yes!! We should have a build bot. Is any financial support for a new machine 
for that purpose? Then I can (if no still I can do).

iPhoneから送信

2013/01/17 8:53、Andrew Rist andrew.r...@oracle.com のメッセージ:

 
 On 1/16/2013 6:48 AM, Pedro Giffuni wrote:
 Thank you Armin;
 
 It will take me some time to check but I think that you hit the issue.
 
 I guess it's time to have a BSD buildbot (hi Andrew ;) ).
 
 YES!
 
 
 
 
 The difference with the linux buildbot is that we try to use all the system
 libraries available.
 
 Pedro.
 
 
 
 
 Da: Armin Le Grand armin.le.gr...@me.com
 A: dev@openoffice.apache.org
 Inviato: Mercoledì 16 Gennaio 2013 5:03
 Oggetto: Re: Build broken in canvas
 
     Hi Pedro,
 
 should be done with rev 1433875 in source/cairo/cairo_devicehelper.cxx, 
 please check.
 
 On 16.01.2013 10:41, Armin Le Grand wrote:
 Hi Pedro,
 
 looks as if I had cairo disabled when building linux version of that 
 change, sorry. I'm on it...
 --
 ALG
 




Re: Build broken in canvas

2013-01-14 Thread Pedro Giffuni


Hmm...

I think I have a dirty build for running svn update in the middle of a build.

Nevermind :(.

Pedro.



- Messaggio originale -
 Da: Pedro Giffuni 
...
 gmake: Nothing to be done for `allandcheck'.
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/canvas/source/cairo/cairo_devicehelper.cxx:
  
 In member function 'void cairocanvas::DeviceHelper::dumpScreenContent() 
 const':
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/canvas/source/cairo/cairo_devicehelper.cxx:271:
  
 error: no match for 'operator' in 'aStream  
 OutputDevice::GetBitmap(const Point, const Size) const(((const 
 Point)( aEmptyPoint)), ((const Size)((const 
 Size*)(((OutputDevice*)((const 
 cairocanvas::DeviceHelper*)this)-cairocanvas::DeviceHelper::mpRefDevice)-OutputDevice::GetOutputSizePixel()'
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:370:
  
 note: candidates are: SvStream SvStream::operator(sal_uInt16)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:371:
  
 note:                 SvStream SvStream::operator(sal_uInt32)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:372:
  
 note:                 SvStream SvStream::operator(long int)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:373:
  
 note:                 SvStream SvStream::operator(short int)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:374:
  
 note:                 SvStream SvStream::operator(int)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:375:
  
 note:                 SvStream SvStream::operator(signed char)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:376:
  
 note:                 SvStream SvStream::operator(char)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:377:
  
 note:                 SvStream SvStream::operator(unsigned char)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:378:
  
 note:                 SvStream SvStream::operator(float)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:379:
  
 note:                 SvStream SvStream::operator(const 
 double)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:380:
  
 note:                 SvStream SvStream::operator(const char*)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:381:
  
 note:                 SvStream SvStream::operator(const unsigned 
 char*)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:388:
  
 note:                 SvStream SvStream::operator(SvStream)
 /usr/ports/editors/openoffice-3-devel/work/ooo/main/solver/350/unxfbsdx.pro/inc/tools/stream.hxx:625:
  
 note:                 SvStream operator(SvStream, 
 SvStream (*)(SvStream))
 dmake:  Error code 1, while making 
 '../../unxfbsdx.pro/slo/cairo_devicehelper.obj'
 
 ...
 
 _
 
 Thanks for fixing ;),
 
 Pedro.