You are not logged in.

#1 2009-03-18 10:39:37

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Firefox-QT

There is one firefox-qt package in AUR, but it is very old. Now Firefox-QT is in Master branch, to compile it you must set "--enable-default-toolkit=cairo-qt" to configure. Ive tried making pkgbuild but got error when compiling:

gfxQPainterSurface.cpp                                                          
c++ -o gfxQPainterSurface.o -c -I../../../dist/include/system_wrappers -include ../../../config/gcc_hidden.h -DIMPL_THEBES -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux  -I. -I. -I../../../dist/include/cairo -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/xpcom -I../../../dist/include/unicharutil -I../../../dist/include/lcms -I../../../dist/include/locale -I../../../dist/include   -I../../../dist/include/thebes -I/usr/include/nspr     -I/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1/dist/sdk/include    -fPIC   -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions  -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -DQT_SHARED -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtUiTools -I/usr/include/QtXml      -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/gfxQPainterSurface.pp gfxQPainterSurface.cpp                                                                   
In file included from gfxQPainterSurface.cpp:43:                                
../../../dist/include/system_wrappers/cairo-qpainter.h:3:33: error: cairo-qpainter.h: Nie ma takiego pliku ani katalogu                                         
gfxQPainterSurface.cpp: In constructor 'gfxQPainterSurface::gfxQPainterSurface(QPainter*)':                                                                     
gfxQPainterSurface.cpp:47: error: 'cairo_qpainter_surface_create' was not declared in this scope                                                                
gfxQPainterSurface.cpp: In constructor 'gfxQPainterSurface::gfxQPainterSurface(const gfxIntSize&, gfxASurface::gfxImageFormat)':                                
gfxQPainterSurface.cpp:56: error: 'cairo_format_t' was not declared in this scope                                                                               
gfxQPainterSurface.cpp:58: error: 'cairo_qpainter_surface_create_with_qimage' was not declared in this scope                                                    
gfxQPainterSurface.cpp:59: error: 'cairo_qpainter_surface_get_qpainter' was not declared in this scope                                                          
gfxQPainterSurface.cpp: In constructor 'gfxQPainterSurface::gfxQPainterSurface(const gfxIntSize&, gfxASurface::gfxContentType)':                                
gfxQPainterSurface.cpp:66: error: 'cairo_content_t' was not declared in this scope                                                                              
gfxQPainterSurface.cpp:68: error: 'cairo_qpainter_surface_create_with_qpixmap' was not declared in this scope                                                   
gfxQPainterSurface.cpp:69: error: 'cairo_qpainter_surface_get_qpainter' was not declared in this scope                                                          
gfxQPainterSurface.cpp: In constructor 'gfxQPainterSurface::gfxQPainterSurface(cairo_surface_t*)':                                                              
gfxQPainterSurface.cpp:76: error: 'cairo_qpainter_surface_get_qpainter' was not declared in this scope                                                          
gfxQPainterSurface.cpp: In member function 'QImage* gfxQPainterSurface::GetQImage()':                                                                           
gfxQPainterSurface.cpp:91: error: 'cairo_qpainter_surface_get_qimage' was not declared in this scope
gfxQPainterSurface.cpp: In member function 'already_AddRefed<gfxImageSurface> gfxQPainterSurface::GetImageSurface()':
gfxQPainterSurface.cpp:100: error: 'cairo_qpainter_surface_get_image' was not declared in this scope
make[5]: *** [gfxQPainterSurface.o] Błąd 1
make[5]: Opuszczenie katalogu `/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1/gfx/thebes/src'
make[4]: *** [libs] Błąd 2
make[4]: Opuszczenie katalogu `/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1/gfx/thebes'
make[3]: *** [libs] Błąd 2
make[3]: Opuszczenie katalogu `/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1/gfx'
make[2]: *** [libs_tier_gecko] Błąd 2
make[2]: Opuszczenie katalogu `/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1'
make[1]: *** [tier_gecko] Błąd 2
make[1]: Opuszczenie katalogu `/home/dinth/builds/firefox-pgo-beta/src/mozilla-1.9.1'
make: *** [default] Błąd 2

Offline

#2 2009-03-18 20:40:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox-QT

can you translate that:
error: cairo-qpainter.h: Nie ma takiego pliku ani katalogu     

That's probably the cause of the error.  My guess it that you need cairo with qt support or something like that.

Offline

#3 2009-03-18 20:49:15

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Firefox-QT

"Couldnt find file or directory"

Offline

#4 2009-03-18 20:58:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox-QT

Is the file really on your system or is it just not finding it?
If it's not on your system,  you need to find what package provides it. try googling for cairo-qpainter.h

Offline

#5 2009-03-18 21:16:05

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Firefox-QT

There is cairo-qpainter.h in ./mozilla-1.9.1/gfx/cairo/cairo/src/ in FF sources.

Offline

#6 2009-03-18 21:40:33

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Firefox-QT

Try passign that path to the configure script.

Does the FF sources  include the complete cairo source?  If so, then maybe the best would be to rebuild your cairo with the necessary features that will install this header file. Otherwise, you might have other building/running problems later on.

Offline

#7 2010-04-01 22:28:20

friesoft
Member
Registered: 2009-07-09
Posts: 6

Re: Firefox-QT

I did some work and got it to work :-)

See my blog:
http://friesoft.wordpress.com/2010/04/0 … x-you-can/

[Edit]: whoops... wrong year.. f***** sorry...

Last edited by friesoft (2010-04-01 22:28:59)

Offline

Board footer

Powered by FluxBB