のねのBlog

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

2015-11-01から1ヶ月間の記事一覧

mingw64のプロンプトを変える方法 ps

~/.bashrc export PS1="\w:$ "export PS1="$ "

glibのgit

glib - Low level core library

pango fatal error C1083: include ファイルを開けません。'msvc_recommended_pragmas.h':No such file or directory

VS2013でビルドすると、以下のエラーが出た。 このファイルが見つからない。 fatal error C1083: include ファイルを開けません。'msvc_recommended_pragmas.h':No such file or directoryプロジェクトのプロパティ>構成プロパティ>C/C++>詳細設定の必ず…

pango configure cmp: command not found

$ ./configure --prefix=$HOME/usrchecking for a working dd... ./configure: line 7843: cmp: command not found ./configure: line 7843: cmp: command not found$ pacman -S mingw-w64-x86_64-diffutils 依存関係を解決しています... 衝突するパッケージ…

pacman -Q

よく使うコマンドとしては pacman -S <package_name1> [package_name2...] : 指定したパッケージをインストールする pacman -Sl [repository] : パッケージを一覧表示する(リポジトリを指定可能) pacman -Ss [regex...] : パッケージを一覧・検索する(キーワードを指定可</package_name1>…

pacman -Sl

パッケージマネージャで以下のようにすると、一覧を表示できます。 $ pacman -Sl

gdb console

273,124 2-gdb-version 273,125 ~"GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\n" 273,129 ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" 273,129 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\ e software: you are free to</http://gnu.org/licenses/gpl.html>…

bash history timestamp

export HISTTIMEFORMAT='%F %T '

pango-querymodules

タイ語のモジュールが表示されるようになった。 u01@vm01:~/usr/bin$ ./pango-querymodules # Pango Modules file # Automatically generated file, do not edit # # ModulesPath = /home/u01/usr/lib/pango/1.8.0/modules # /home/u01/usr/lib/pango/1.8.0/…

makefile

522 pango-thai-lang.la: $(pango_thai_lang_la_OBJECTS) $(pango_thai_lang_la_DEPENDENCIES) $(EXTRA_pango_thai_lang_la_DEPENDENCIES) $(AM_V_CCLD)$(pango_thai_lang_la_LINK) $(am_pango_thai_lang_la_rpath) $(pango_thai_lang_la_OBJECTS) $(pango_t…

make

modules/thai/Makefile -288 LIBTHAI_CFLAGS = /home/u01/usr/include +288 LIBTHAI_CFLAGS = -I/home/u01/usr/include435 libpango_thai_lang_la_CFLAGS = -DPANGO_MODULE_PREFIX=_pango_thai_lang $(LIBTHAI_CFLAGS)

makeでエラー fatal error: thai/thwchar.h: No such file or directory

pangoのmakeでエラー thai-lang.c:26:26: fatal error: thai/thwchar.h: No such file or directory #include <thai/thwchar.h> ^LIBTHAI_CFLAGSを宣言してみたけど、エラーのまま CC thai-lang.lo thai-lang.c:26:26: fatal error: thai/thwchar.h: No such file or directo</thai/thwchar.h>…

configure with libthai

libthaiをインストールしてから、configureした。 $ ./configure --prefix=$HOME/usr

configure

$ ./configure --prefix=$HOME/usr

trietool

trietool http://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-0.2.10.tar.xz

configure: error: You need trietool[-0.2] (from libdatrie package) to generate dict, or just use --disable-dict to skip

エラーメッセージ configure: error: You need trietool[-0.2] (from libdatrie package) to generate dict, or just use --disable-dict to skip

configure --help

u01@vm01:~/layout/oss/libthai-0.1.23$ ./configure --help

icu4c thaidict.txt

platform_external_icu4c/thaidict.txt at master 揃 android/platform_external_icu4c

pango-querymodules

u01@vm01:~/usr/bin$ ./pango-querymodules # Pango Modules file # Automatically generated file, do not edit # # ModulesPath = /home/u01/usr/lib/pango/1.8.0/modules # /home/u01/usr/lib/pango/1.8.0/modules/pango-basic-fc.so BasicScriptEngineFc…

Silverlightが更新できない。

破損した Silverlight インストールをクリーンアップし、Silverlight を再インストールする方法 CleanSilverlight.cmdを作成し、実行したら、インストールできるようになった。

Eclipse シンタックスハイライトで色がつかない

Window>Preferences>Editor>Scalabilityの設定で、Scalability Mode SettingsがEnableになっていた。 そのため、HighlightがDisableになるようになっていた。 There is also a scalability mode which disable syntax highlighting if the file has more th…

get_shaper_and_font

1257 static gboolean 1258 get_shaper_and_font (ItemizeState *state, 1259 gunichar wc, 1260 PangoEngineShape **shape_engine, 1261 PangoFont **font) 1262 { 1263 GetShaperFontInfo info; 1264 1265 /* We'd need a separate cache when fallback is…

make fribidi_tab_char_type_n.i

44 #error You have no fribidi_tab_char_type_*.i file, please first make one by \ 45 make fribidi_tab_char_type_n.i which n is the compress level, a digit \ 46 between 2 and 9, or simply run make fribidi_tab_char_type_small, \ 47 retry to m…

pango_find_base_dir

946 PangoDirection 947 pango_find_base_dir (const gchar *text, 948 gint length) 949 { 950 PangoDirection dir = PANGO_DIRECTION_NEUTRAL; 951 const gchar *p; 952 953 g_return_val_if_fail (text != NULL || length == 0, PANGO_DIRECTION_NEUTRAL)…

G_UNLIKELY

コンパイルするとき、予測しやすいようにする。Trueになりにくい。 G_UNLIKELY()#define G_UNLIKELY(expr) 与えられた式の expr を TRUE と評価することがないようコンパイラに予告しておきます。これにより、最適化の際にコンパイラはこの情報を利用するか…

pango_layout_check_lines

3898 3899 static void 3900 pango_layout_check_lines (PangoLayout *layout) 3901 { 3902 const char *start; 3903 gboolean done = FALSE; 3904 int start_offset; 3905 PangoAttrList *attrs; 3906 PangoAttrList *no_shape_attrs; 3907 PangoAttrIterat…

pango_find_map

152 PangoMap * 153 pango_find_map (PangoLanguage *language, 154 guint engine_type_id, 155 guint render_type_id) 156 { 157 GList *tmp_list; 158 PangoMapInfo *map_info = NULL; 159 gboolean found_earlier = FALSE; 160 161 G_LOCK (maps); 162 16…

pango_script_iter_next

251 gboolean 252 pango_script_iter_next (PangoScriptIter *iter) 253 { 254 int start_sp; 255 256 if (iter->script_end == iter->text_end) 257 return FALSE; 258 259 start_sp = iter->paren_sp; 260 iter->script_code = PANGO_SCRIPT_COMMON; 261 i…

pango_script_for_unichar

89 pango_script_for_unichar (gunichar ch) 90 { 91 return g_unichar_get_script (ch); 92 } 93 g_unichar_get_script?() GUnicodeScript g_unichar_get_script (gunichar ch); Looks up the GUnicodeScript for a particular character (as defined by Un…

itemize_state_process_run

pango-view Default [C/C++ Application] pango-view [62093] [cores: 0] Thread #1 [pango-view] 62093 [core: 0] (Suspended : Step) itemize_state_process_run() at pango-context.c:1,482 0x7ffff7ba7d5f pango_itemize_with_base_dir() at pango-conte…