Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox Qt4 - a bit raw
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jbouzan
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2007
Posts: 138

PostPosted: Tue Jan 18, 2011 6:24 pm    Post subject: Reply with quote

Awesome. Have you tested on of the builds on your computer? I will in a bit, need these tabs open right now.
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Sat Mar 19, 2011 4:10 am    Post subject: Reply with quote

I'm running amd64 and am therefore not interested in the builds, which are i686. Is anyone currently working on proper ebuilds for a Qt4 firefox? I tried editing the --enable-default-toolkit line and changed it to qt, but that makes the build fail with following error:
Code:
In file included from /usr/include/qt4/QtCore/qvector.h:48,
                 from /usr/include/qt4/QtGui/qpolygon.h:45,
                 from /usr/include/qt4/QtGui/qmatrix.h:45,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qlist.h:81:27: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qlist.h:489:28: error: macro "realloc" requires 2 arguments, but only 1 given
In file included from /usr/include/qt4/QtGui/qpolygon.h:45,
                 from /usr/include/qt4/QtGui/qmatrix.h:45,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qvector.h:83:93: error: macro "malloc" passed 4 arguments, but takes just 1
/usr/include/qt4/QtCore/qvector.h:86:54: error: macro "free" passed 2 arguments, but takes just 1
/usr/include/qt4/QtCore/qvector.h:96:66: error: macro "free" passed 2 arguments, but takes just 1
/usr/include/qt4/QtCore/qvector.h:96:128: error: macro "free" passed 2 arguments, but takes just 1
/usr/include/qt4/QtCore/qvector.h:440:34: error: macro "free" passed 2 arguments, but takes just 1
In file included from /usr/include/qt4/QtCore/qstring.h:46,
                 from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtGui/qregion.h:50,
                 from /usr/include/qt4/QtGui/qmatrix.h:46,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qbytearray.h:370:27: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qbytearray.h:418:58: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qbytearray.h:432:53: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qbytearray.h:435:42: error: macro "realloc" requires 2 arguments, but only 1 given
In file included from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtGui/qregion.h:50,
                 from /usr/include/qt4/QtGui/qmatrix.h:46,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qstring.h:127:76: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qstring.h:274:38: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qstring.h:629:18: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qstring.h:630:27: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qstring.h:718:51: error: macro "realloc" requires 2 arguments, but only 1 given
/usr/include/qt4/QtCore/qstring.h:884:93: error: macro "realloc" requires 2 arguments, but only 1 given
gfxXlibSurface.cpp
x86_64-pc-linux-gnu-g++ -o gfxXlibSurface.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DIMPL_THEBES -DWOFF_MOZILLA_CLIENT -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/include/nspr -I/usr/include/nss       -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-variadic-macros -Werror=return-type -pipe -march=native -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -Os -freorder-blocks -fomit-frame-pointer  -DQT_SHARED -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -DQT_SHARED -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL    -pthread -DQT_SHARED -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore     -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/gfxXlibSurface.pp gfxXlibSurface.cpp
In file included from /usr/include/qt4/QtCore/qvector.h:48,
                 from /usr/include/qt4/QtGui/qpolygon.h:45,
                 from /usr/include/qt4/QtGui/qmatrix.h:45,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qlist.h:81: error: variable or field 'realloc' declared void
/usr/include/qt4/QtCore/qlist.h: In member function 'void QList<T>::reserve(int)':
/usr/include/qt4/QtCore/qlist.h:489: error: 'struct QListData' has no member named 'realloc'
In file included from /usr/include/qt4/QtGui/qpolygon.h:45,
                 from /usr/include/qt4/QtGui/qmatrix.h:45,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qvector.h: At global scope:
/usr/include/qt4/QtCore/qvector.h:86: error: variable or field 'free' declared void
/usr/include/qt4/QtCore/qvector.h:96: error: function definition does not declare parameters
In file included from /usr/include/qt4/QtCore/qstring.h:46,
                 from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtGui/qregion.h:50,
                 from /usr/include/qt4/QtGui/qmatrix.h:46,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qbytearray.h:370: error: variable or field 'realloc' declared void
In file included from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/qiodevice.h:46,
                 from /usr/include/qt4/QtCore/qdatastream.h:46,
                 from /usr/include/qt4/QtGui/qregion.h:50,
                 from /usr/include/qt4/QtGui/qmatrix.h:46,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qstring.h:629: error: variable or field 'realloc' declared void
/usr/include/qt4/QtCore/qstring.h:630: error: variable or field 'realloc' declared void
In file included from /usr/include/qt4/QtGui/qpolygon.h:45,
                 from /usr/include/qt4/QtGui/qmatrix.h:45,
                 from /usr/include/qt4/QtGui/qtransform.h:44,
                 from /usr/include/qt4/QtGui/qimage.h:45,
                 from /usr/include/qt4/QtGui/QImage:1,
                 from /usr/include/cairo/cairo-qt.h:44,
                 from gfxQPainterSurface.cpp:45:
/usr/include/qt4/QtCore/qvector.h: In member function 'void QVector<T>::moz_free(QVectorTypedData<T>*) [with T = QPoint]':
/usr/include/qt4/QtCore/qvector.h:119:   instantiated from 'QVector<T>::~QVector() [with T = QPoint]'
/usr/include/qt4/QtGui/qpolygon.h:63:   instantiated from here
/usr/include/qt4/QtCore/qvector.h:440: error: 'struct QVectorTypedData<QPoint>' has no member named 'free'
/usr/include/qt4/QtCore/qvector.h: In member function 'void QVector<T>::moz_free(QVectorTypedData<T>*) [with T = QPointF]':
/usr/include/qt4/QtCore/qvector.h:119:   instantiated from 'QVector<T>::~QVector() [with T = QPointF]'
/usr/include/qt4/QtGui/qpolygon.h:135:   instantiated from here
/usr/include/qt4/QtCore/qvector.h:440: error: 'struct QVectorTypedData<QPointF>' has no member named 'free'
/usr/include/qt4/QtCore/qvector.h: In member function 'void QVector<T>::moz_free(QVectorTypedData<T>*) [with T = QPainterPath::Element]':
/usr/include/qt4/QtCore/qvector.h:513:   instantiated from 'void QVector<T>::moz_realloc(int, int) [with T = QPainterPath::Element]'
/usr/include/qt4/QtCore/qvector.h:325:   instantiated from 'void QVector<T>::detach_helper() [with T = QPainterPath::Element]'
/usr/include/qt4/QtCore/qvector.h:134:   instantiated from 'void QVector<T>::detach() [with T = QPainterPath::Element]'
/usr/include/qt4/QtCore/qvector.h:234:   instantiated from 'T* QVector<T>::begin() [with T = QPainterPath::Element]'
/usr/include/qt4/QtCore/qvector.h:247:   instantiated from 'T& QVector<T>::first() [with T = QPainterPath::Element]'
/usr/include/qt4/QtGui/qpainterpath.h:389:   instantiated from here
/usr/include/qt4/QtCore/qvector.h:440: error: 'struct QVectorTypedData<QPainterPath::Element>' has no member named 'free'
make[4]: *** [gfxQPainterSurface.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-2.0_rc1/work/mozilla-2.0/gfx/thebes'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-2.0_rc1/work/mozilla-2.0/gfx'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-2.0_rc1/work/mozilla-2.0'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-2.0_rc1/work/mozilla-2.0'
make: *** [default] Error 2
emake failed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum