のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2013-03-01から1ヶ月間の記事一覧

b2g framework

./B2G/frameworks/base/core/jni/android/graphics/TextLayoutCache.h:96: SkTypeface* typeface; ./B2G/frameworks/base/core/jni/android/graphics/Typeface.cpp:7:#include "SkTypeface.h" ./B2G/frameworks/base/core/jni/android/graphics/Typeface.cpp…

skia debug

59 #if !defined(SK_DEBUG) && !defined(SK_RELEASE) 60 #ifdef NDEBUG 61 #define SK_RELEASE 62 #else 63 #define SK_DEBUG 64 #endif 65 #endif 17 #if defined(SK_DEBUG) && defined(SK_RELEASE) 18 #error "cannot define both SK_DEBUG and SK_RELEASE…

b2g fontdata

$ grep -rn moztt ./* > moztt.log $ grep -rn DroidSans ./* > droid.log B2G/gecko/gfx/thebes/gfxFT2FontList.cpp #ifdef ANDROID void gfxFT2FontList::FindFontsInDir(const nsCString& aDir, FontNameCache *aFNC) { static const char* sStandardFont…

grepで.gitを除く方法

grep -r hoge ./ | grep -v .git

psutil/_psutil_linux.c:11:20: fatal error: Python.h: No such file or directory

Q following error occurs during installation psutil/_psutil_linux.c:11:20: fatal error: Python.h: No such file or directory compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 A install py…

Package gtk+-2.0 was not found in the pkg-config search path

checking for gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH envi…

autoconf2.13

初心者への GNU autoconf のススメを見ながらやってみる。 配布用ソフトウェアパッケージの作成時に使われるファイル: your source files --> [autoscan*] --> [configure.scan] --> configure.in configure.in --. .------> autoconf* -----> configure +--…

MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED"

NDEBUGはassertを無効にするためにあるようだ。 MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED" BohYoh.com【C言語講座】標準ライブラリ マクロ NDEBUG

MPLライセンス

MPL 下のコードと BSD ライセンスのコードを同一バイナリ内で結合できますか? できます。mozilla.org もやっています。例えば、JPEG 画像をデコードする libjpeg は BSD ライセンス下にあります。

b2g flash gecko

$ ./flash.sh gecko remount succeeded push: B2G/gecko/obj/dist/b2g/dictionaries/en-US.dic -> /system/b2g/dictionaries/en-US.dic push: B2G/gecko/obj/dist/b2g/dictionaries/en-US.aff -> /system/b2g/dictionaries/en-US.aff push: B2G/gecko/obj/di…

b2g client.mk

mozilla-central mozilla/client.mk

ubuntu vmware X11画面設定

Ubuntuを起動時に、テキストモードで立ち上げる( 10.4 LTS ) 1. grubファイルを編集(※バックアップ後) $ sudo vi /etc/default/grub ~~~ before GRUB_CMDLINE_LINUX_DEFALUT="quiet splash" after GRUB_CMDLINE_LINUX_DEFALUT="quiet splash text" 2. gr…

b2g build error :Can't add inexistent file to zip

build.shのエラーです。 build/webapp-zip.js:311: Error: Error: Can't add inexistent file to zip : /home/user01/B2G_nexus/B2G/gaia/shared/style/responsive.css from: sms.gaiamobile.org function addToZip(zip, pathInZip, file) { // Check @2x fi…

linaroからソースを取得する方法

mkdir linaro cd linaro repo init -u git://android.git.linaro.org/platform/manifest.git -b android-4.0.4_r1.2 repo sync export MANIFEST_REPO=git://android.git.linaro.org/platform/manifest.git export MANIFEST_BRANCH=linaro-android-12.05-rele…

build file copies are not in sync

TEST-UNEXPECTED-FAIL | check-sync-dirs.py | build file copies are not in sync TEST-INFO | check-sync-dirs.py | file(s) found in: /home/m_fujii/B2G_nexus/B2G/gecko/js/src/config TEST-INFO | check-sync-dirs.py | differ from their originals i…

ビルドまで

$mkdir B2G_nexus $cd B2G_nexus $git clone git://github.com/mozilla-b2g/B2G.git $cd B2G ダウンロードした直後は(no branch)であった。 $repo start master --all 変更があった場所を確認する。 $repo status $repo branches $cd B2G .userconfigを追加…

[FxOS]L10NBASEDIR not defined by configure.

ビルドでエラーがでる。 /home/user01/B2G_emu/B2G/gecko/config/config.mk:704: *** L10NBASEDIR not defined by configure. 中止. なぜか、emulatorのフォルダを参照している。L10NBASEDIRは存在するが、ないといわれる。 $ env | grep L10N L10NBASEDIR=/…

git 無視リストに追加した

# .config .repo/ .userconfig .var.profile *.swp *.pyc *.fix_b2g_stack.cache Adreno* Makefile abi/ backup-*/ bionic/ bootable/ build/ dalvik/ development/ device/ download-galaxy-nexus/ download-nexus-s/ external/ frameworks/ gaia/ gecko/ g…

b2gのソースの変更方法 discarding 1 commits

ブランチを切らないと、repo syncのたびに破棄されてしまうようだ。 $ ./config.sh galaxy-nexus $ repo start myb2g --all $ git branch * master $ repo branches * myb2g | in all projects $ git checkout myb2g $ git branch master * myb2g repo start…

repoコマンドのメールアドレス

$ cat ~/.gitconfig [user] email = user01@example.com name = FirstName LastName [color] ui = auto

保存したモニターの設定を適用できませんでした(その2)

$ xrandr Screen 0: minimum 1 x 1, current 1680 x 1050, maximum 8192 x 8192 Virtual1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1920x1144 60.0 + 2560x1600 60.0 1920x1440 60.0 1856x1392 60.0 1792x1344 60.0 1…

保存したモニターの設定を適用できませんでした

保存したモニターの設定を適用できませんでした。 選択したモードはどれも利用可能なモードと互換性がありませんでした: CRTC 63 のモードを試します CRTC 63: 800x600@60Hz のモードを 1920x1144@60Hz (0 パス) の出力で試します CRTC 63: 2560x1600@60Hz …

b2g(FirefoxOS) configure.sh repo sync でエラー

curl: (22) The requested URL returned error: 404 Server does not provide clone.bundle; ignoring. サーバーの調子が悪いのかな? so you need to edit .repo/manifest.xml and change this line <remote name="linaro" fetch="git://android.git.linaro.org/"/>for this <remote name="linaro" fetch="">http://android.git.linaro.o…</remote></remote>

"Unable to get exclusive lock"  "排他的ロックを得ることができません"

"Unable to get exclusive lock" "排他的ロックを得ることができません" "This usually means that another package management application (like apt-get or aptitude) already running. Please close that application first." "これは大抵、他の(apt-get…

gecko configure.in

初心者への GNU autoconf のススメCross Reference: /mozilla/B2G/gecko/configure.in

gfx makefile

gecko\gfx\Makefile.in # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. DEPTH = @DEPTH@ …

b2g(FirefoxOS) ベースとなるファイル

b2g-manifest/emulator.xml at master mozilla-b2g/b2g-manifest GitHub <manifest> <remote name="aosp" fetch="https://android.googlesource.com/" /> <remote name="caf" fetch="git://codeaurora.org/" /> <remote name="b2g" fetch="https://git.mozilla.org/b2g" /> </remote></remote></remote></manifest>

outのinit.rc

outのinit.b2g.rc service fakeperm /system/bin/fakeperm class main user root service b2g /system/bin/b2g.sh class main onrestart restart media service rilproxy /system/bin/rilproxy class main socket rilproxy stream 660 root system user root…

b2g srcのinit.rcとoutのinit.rcの違い

/B2G/system/core/rootdir/init.rcと/B2G/out/target/product/generic/root/init.rcの違い --- /B2G/out/target/product/generic/root/init.rc Fri Mar 08 09:21:09 2013 +++ /rootdir/init.rc Sat Mar 09 23:17:37 2013 @@ -1,4 +1,3 @@ -import /init.b2g.…

b2gプロセス

$ ./run-gdb.sh attach 43 GECKO_PATH = /home/m_fujii/B2G_emu/B2G/gecko B2G_DEBUG = 1 B2G_NOOPT = 1 GECKO_OBJDIR = /home/m_fujii/B2G_emu/B2G/gecko/objdir-gonk-debug Attached; pid = 43 Listening on port 11043 prebuilt/linux-x86/toolchain/arm-…