トップ «前の日記(2013-06-12(水)) 最新 次の日記(2013-06-14(金))» 編集

新秀の介の日記

過去の日記

2013-06-13(木) 今日も雨

_ ひどい肩こり

また肩こりがひどくなってきて、首から腕までが痺れたように痛い。おまけに頭痛もするし、一度医者に行ったほうががいいかなあ。かかりつけの医院が店じまいしてしまったので、新しく探さないといけないのだが。

_ 今日のFirefox - Hg 2013061322-trunk/Linux

Bug-org 877626 : Port GTK2 to GTK3 - build configがFIXEDになった。Bug-org 627699 : Port GTK2 to GTK3comment 240のアドバイスのとおり、

ac_add_options --enable-system-cairo
ac_add_options --enable-default-toolkit=cairo-gtk3

を.mozconfigに追加してビルドしてみた。が、

/usr/bin/ccache c++ -o nsDeviceContextSpecG.i_o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/hideo/develop/mozilla-central/config/gcc_hidden.h -DNATIVE_THEME_SUPPORT -DMOZ_GLUE_IN_PROGRAM -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -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  -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_POSIX=1 -DOS_LINUX=1  -DCAIRO_GFX -DMOZ_APP_NAME='"firefox"' -I/home/hideo/develop/mozilla-central/ipc/chromium/src -I/home/hideo/develop/mozilla-central/ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I/home/hideo/develop/mozilla-central/widget/gtk2 -I. -I../../dist/include  -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nspr -I/home/hideo/develop/mozilla-central/fx-opt/dist/include/nss     -I/home/hideo/develop/mozilla-central/widget/gtk2/../xpwidgets -I/home/hideo/develop/mozilla-central/widget/gtk2/../shared -I/home/hideo/develop/mozilla-central/layout/generic -I/home/hideo/develop/mozilla-central/layout/xul/base/src -I/home/hideo/develop/mozilla-central/other-licenses/atk-1.0  -I/home/hideo/develop/mozilla-central/widget/gtk2/../shared/x11  -fPIC  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fno-omit-frame-pointer  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -I/usr/include/pixman-1    -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/gtk-3.0/unix-print     -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/nsDeviceContextSpecG.i_o.pp  /home/hideo/develop/mozilla-central/widget/gtk2/nsDeviceContextSpecG.cpp
nsPrintOptionsGTK.cpp
In file included from /home/hideo/develop/mozilla-central/widget/gtk2/nsWidgetFactory.cpp:12:0:
/home/hideo/develop/mozilla-central/widget/gtk2/../xpwidgets/nsBaseWidget.h:125:27: warning: ‘virtual gfxASurface* nsBaseWidget::GetThebesSurface()’ was hidden [-Woverloaded-virtual]
   virtual gfxASurface*    GetThebesSurface();
                           ^
In file included from /home/hideo/develop/mozilla-central/widget/gtk2/nsWidgetFactory.cpp:14:0:
/home/hideo/develop/mozilla-central/widget/gtk2/nsWindow.h:281:24: warning:   by ‘gfxASurface* nsWindow::GetThebesSurface(cairo_t*)’ [-Woverloaded-virtual]
     gfxASurface       *GetThebesSurface(cairo_t *cr);
                        ^
/home/hideo/develop/mozilla-central/widget/gtk2/nsDeviceContextSpecG.cpp: In member function ‘virtual nsresult nsDeviceContextSpecGTK::EndDocument()’:
/home/hideo/develop/mozilla-central/widget/gtk2/nsDeviceContextSpecG.cpp:578:79: error: invalid conversion from ‘void (*)(GtkPrintJob*, gpointer, GError*) {aka void (*)(_GtkPrintJob*, void*, _GError*)}’ to ‘GtkPrintJobCompleteFunc {aka void (*)(_GtkPrintJob*, void*, const _GError*)}’ [-fpermissive]
     gtk_print_job_send(mPrintJob, print_callback, mSpoolFile, ns_release_macro);
                                                                               ^
In file included from ../../dist/system_wrappers/gtk/gtkprintjob.h:3:0,
                 from /usr/include/gtk-3.0/unix-print/gtk/gtkunixprint.h:24,
                 from /home/hideo/develop/mozilla-central/widget/gtk2/nsDeviceContextSpecG.h:23,
                 from /home/hideo/develop/mozilla-central/widget/gtk2/nsDeviceContextSpecG.cpp:18:
/usr/include/gtk-3.0/unix-print/gtk/gtkprintjob.h:96:26: error:   initializing argument 2 of ‘void gtk_print_job_send(GtkPrintJob*, GtkPrintJobCompleteFunc, gpointer, GDestroyNotify)’ [-fpermissive]
 void                     gtk_print_job_send                   (GtkPrintJob              *job,
                          ^
make[6]: *** [nsDeviceContextSpecG.i_o] エラー 1

でエラーになってしまった。このパッチを当ててみると良さそうだという話もあるようなので、明日の晩に、もう一度トライしてみよう。


Copyright (C) 2005-2012 by Hidenosuke. All rights reserved.
mailto: hidenosuke_at_hidenosuke_dot_org or hideo.oshima_at_gmail_dot_com