トップ «前の日記(2013-05-26) 最新 次の日記(2013-05-28)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|04|

2013-05-27 :-(

_ 午前

0520 起床

0540 筋トレ

0830 事後処理

_ 午後

1300 事後処理

1740 退勤

_

1900 人工無脳は考える

2130 飯。鮭のちゃんちゃん焼き

_ [NetBSD][翻訳][Firefox]NetBSD Blog - Firefox on sparc64

May 26, 2013 posted by Martin Husemann

I use a NetBSD/sparc64 machine (a dual sun blade 2500 silver) as desktop. Of course this sometimes requires me fixing some of the desktop software I use. Luckily, as a software developer, my requirements are quite simple and most software I need (editors, gimp, xsane, ...) just works.

デスクトップとして NetBSD/sparc64 マシン( デュアル Sun Blade 2500 シルバー )を使っている。もちろんデスクトップソフトウェアのいくつかは修正する必要がある。運がいいことに、ソフトウェア開発者として、私の要求はとてもシンプルで、私が必要とするほとんどのソフトウェア(エディター、gimp、xsane ...)はちゃんと動作する。

One of the itching points used to be Firefox. Late in the Firefox 4.0 release cycle some changes landed in the mozilla main tree that broke it for sparc64 - and for a while no one knew how to fix it.

Firefox は微妙なものの{ 痒いって }うちの一つだ。Firefox 4.0 リリースサイクルの後半のうちのいくつかの変更は、moziila のメインツリーに入ってから sparc64 のため壊れた。誰も対応できるひとが居ないため{ かな }だ。

When lately I had the need to test a web app with all "strange" clients available (I even booted my macppc into MacOS and tried the ancient safari version) I noticed that my sparc64 firefox (3.6.28) was not usable for testing - firefox did not have websocket support back then, which the app I was testing needed.

最近 利用可能な「妙な」ウェブアプリをテストしなければならなかったのだが(自分の macppc の MacOS を起動し、古代の safari バージョンを試してみた) 私の sparc64 の Firefox (3.6.28) はテストに使用できないことに気づいた。Firefox は、当時私がテストしていたアプリが必要としていた websocket をサポートしていなかった。

I checked out the mozilla mercurial tree for the firefox alpha version, applied all pkgsrc patches (we lyhave plenty!) and modified the configuration to generate a debuggable version, and after surprisingly little effort I had it building.

私は Firefox アルファバージョンのために mozilla mercurial ツリーからチェックアウトし、すべての pkgsrc パッチを適用し { we lyhave plenty! って? }、デバッグ可能なバージョンを生成するために設定を反映し、その後 驚くほどの少ない労力で構築した。

Of course it did not run.

もちろん動作しなかった。

So I started to debugging it (which is not for the light hearted, as you can imagine). Thanks to some bank holiday plus additional bridge day off I used a long weekend and managed to get it running:

なので私はデバッグすることにした(お先真っ暗であることは想像に難くない)。いくつかの祝日 { bank holiday } とさらに祭日 { bridge day }も追加して長い週末を利用し、走らせられるようになった。

Firefox Aurora 22 screenshot

Then I tried to run my websocket app again, but it crashed imediately. So I fired up gdb one more time, and this time everything was fixed quickly. My app now runs fine (sorry, no pictures here, it is not yet public).

そして再び自分の websocket アプリを試したら、ソッコーでクラッシュした{ immediately でいいのか???? }。なので、私はもう一度 gdb を起動し、これですぐにすべてを修正した。いまや私のアプリの動作は好調だ( 開発中のため画像はまだ公開できない )。

I filed all necessary changes as bugzilla tickets upstream and am working with the responsible maintainers to get them included.

私は必要なすべての bugzilla チケットを提出し、チケットが含まれているのでメンテナとして作業している。

This will be available in pkgsrc as soon as the official firefox 22 release is imported into pkgsrc.

これですぐに Firefox 22 リリースは pkgsrc に取り込まれ、pkgsrc で利用できるようになる。