tag:blogger.com,1999:blog-42268900150997943512024-02-19T13:33:02.800+09:00gimpのビルドメモAnonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-4226890015099794351.post-10065403848243988392013-04-24T00:35:00.001+09:002013-04-24T00:35:06.506+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その6)<span style="font-family: inherit;">いくつかバージョンあげ。</span><br />
<span style="font-family: inherit;">あげた後、</span><br />
<span style="font-family: inherit;">gtkが不安定だったのが安定した気がする。</span><br />
gimpの起動時のsplashが表示されないのが解決。<br />
あと、gtk-demoをいじっていたらたまに落ちたのが、<br />
落ちなくなった。<br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">・libpng</span><br />
cd $LOCALBUILDDIR && \<br />
cd libpng-1.5.15 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xzf libpng-1.5.15.tar.gz && \<br />
cd libpng-1.5.15 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR && \<br />
make && \<br />
make install<br />
<br />
・libffi<br />
cd $LOCALBUILDDIR && \<br />
cd libffi-3.0.13 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xzf libffi-3.0.13.tar.gz && \<br />
cd libffi-3.0.13 && \<br />
./configure --prefix=$LOCALDESTDIR --host=x86_64-w64-mingw32 && \<br />
make && \<br />
make install<br />
<br />
・glib<br />
cd $LOCALBUILDDIR && \<br />
cd glib-2.36.1 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar -jxf glib-2.36.1.tar.bz2 && \<br />
cd glib-2.36.1 && \<br />
./autogen.sh --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --with-pcre=internal --enable-debug=no --disable-gtk-doc && \<br />
make && \<br />
make install<br />
<br />
・fontconfig<br />
cd $LOCALBUILDDIR && \<br />
cd fontconfig-2.10.92 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xzf fontconfig-2.10.92.tar.gz && \<br />
cd fontconfig-2.10.92 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --enable-libxml2 --disable-docs && \<br />
make && \<br />
make install<br />
<br />
・pango<br />
cd $LOCALBUILDDIR && \<br />
cd pango-1.34.0 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xf pango-1.34.0.tar.xz && \<br />
cd pango-1.34.0 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --with-included-modules=yes --disable-debug --disable-gtk-doc && \<br />
make && \<br />
make install<br />
<br />
・atk<br />
cd $LOCALBUILDDIR && \<br />
cd atk-2.8.0 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xf atk-2.8.0.tar.xz && \<br />
cd atk-2.8.0 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR && \<br />
make && \<br />
make install<br />
<br />
・gdk-pixbuf<br />
cd $LOCALBUILDDIR && \<br />
cd gdk-pixbuf-2.28.1 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xf gdk-pixbuf-2.28.1.tar.xz && \<br />
cd gdk-pixbuf-2.28.1 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --with-included-loaders=yes --without-libjasper --disable-debug && \<br />
make && \<br />
make install<br />
<br />
・gtk+<br />
cd $LOCALBUILDDIR && \<br />
cd gtk+-2.24.17 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xf gtk+-2.24.17.tar.xz && \<br />
cd gtk+-2.24.17 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --with-gdktarget=win32 --with-included-immodules=ime --disable-debug --disable-gtk-doc && \<br />
rm gtk/gtk.def && \<br />
make && \<br />
make install<br />
<br />
cd demos<br />
./pixbuf-demo<br />
<br />
cd gtk-demo<br />
gtk-demo<br />
<br />
・libexif<br />
cd $LOCALBUILDDIR && \<br />
cd libexif-0.6.21 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar -jxf libexif-0.6.21.tar.bz2 && \<br />
cd libexif-0.6.21 && \<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR && \<br />
make && \<br />
make install<br />
<br />
・librsvg<br />
<br />
cd $LOCALBUILDDIR && \<br />
cd librsvg-2.37.0 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xf librsvg-2.37.0.tar.xz && \<br />
cd librsvg-2.37.0<br />
<br />
パッチは前に使ったやつをそのまま使う<br />
librsvg-2.32.0-gtk3.patch<br />
<br />
patch -p1 < librsvg-2.32.0-gtk3.patch<br />
<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --disable-introspection --enable-gtk-theme --disable-pixbuf-loader --enable-shared --disable-static<br />
<br />
make<br />
make install<br />
<br />
・poppler<br />
<br />
cd $LOCALBUILDDIR && \<br />
cd poppler-0.22.3 && \<br />
make clean<br />
<br />
cd $LOCALBUILDDIR && \<br />
tar xzf poppler-0.22.3.tar.gz && \<br />
cd poppler-0.22.3<br />
<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --enable-shared --disable-static --enable-xpdf-headers GLIB_MKENUMS=/local64/bin/glib-mkenums<br />
<br />
C:\MinGW\build64\poppler-0.22.3\test<br />
perf-test.cc<br />
<br />
下記のように修正<br />
<br />
void strcpy_s(char* dst, size_t dst_size, const char* src)<br />
↓<br />
errno_t strcpy_s(char* dst, size_t dst_size, const char* src)<br />
<br />
make<br />
make install<br />
<div>
<br />
・gimpを再度ビルド<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-8453582114214433702013-04-15T03:23:00.001+09:002013-04-15T03:23:27.531+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その5)<br />
放置していたgimp依存パッケージに対応します。<br />
<br />
<br />
・wmf<br />
<br />
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/src/mingw64-libwmf-0.2.8.4-5.257.src.rpm<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf libwmf-0.2.8.4.tar.gz<br />
cd libwmf-0.2.8.4<br />
<br />
各種パッチ<br />
https://github.com/drawoc/windows-gimp-jhbuild/tree/master/patches/libwmf<br />
<br />
patch -p1 < libwmf-0.2.8.3-nodocs.patch<br />
patch -p1 < libwmf-0.2.8.3-relocatablefonts.patch<br />
patch -p1 < libwmf-0.2.8.4-deps.patch<br />
patch -p1 < libwmf-0.2.8.4-fallbackfont.patch<br />
patch -p1 < libwmf-0.2.8.4-intoverflow.patch<br />
patch -p1 < libwmf-0.2.8.4-libpng-1.5.patch<br />
patch -p1 < libwmf-0.2.8.4-multiarchdevel.patch<br />
patch -p1 < libwmf-0.2.8.4-reducesymbols.patch<br />
patch -p1 < libwmf-0.2.8.4-useafterfree.patch<br />
<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --enable-shared --disable-static --without-x<br />
<br />
make<br />
make install<br />
<br />
・mng<br />
<br />
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_12.3/src/mingw64-libmng-1.0.10-2.5.src.rpm<br />
<br />
cd $LOCALBUILDDIR<br />
tar -jxf libmng-1.0.10.tar.bz2<br />
cd libmng-1.0.10<br />
<br />
libmng-1.0.10-mingw.patch<br />
libmng-1.0.9-dont-leak-zlib-streams.diff<br />
<br />
patch -p1 < libmng-1.0.10-mingw.patch<br />
patch -p0 < libmng-1.0.9-dont-leak-zlib-streams.diff<br />
<br />
C:\MinGW\build64\libmng-1.0.10\makefiles<br />
makefile.mingwdll<br />
の下記箇所を変更<br />
<br />
INSTALL_PREFIX = /local64<br />
ZLIBLIB=-L/local64/lib -lz<br />
JPEGLIB=-L/local64/lib -ljpeg<br />
LCMSLIB=-L/local64/lib -llcms<br />
LCMSINC=-I/local64/include<br />
<br />
make -f makefiles/makefile.mingwdll<br />
make -f makefiles/makefile.mingwdll INSTALL_PREFIX=/local64/ install<br />
<br />
・poppler<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf poppler-0.22.2.tar.gz<br />
cd poppler-0.22.2<br />
<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --enable-shared --disable-static --enable-xpdf-headers GLIB_MKENUMS=/local64/bin/glib-mkenums<br />
<br />
C:\MinGW\build64\poppler-0.22.2\test<br />
perf-test.cc<br />
<br />
下記のように修正<br />
<br />
void strcpy_s(char* dst, size_t dst_size, const char* src)<br />
↓<br />
errno_t strcpy_s(char* dst, size_t dst_size, const char* src)<br />
<br />
make<br />
make install<br />
<br />
<br />
・参考:windows向けビルドのパッチたち<br />
こんなのがありました。<br />
https://github.com/drawoc/windows-gimp-jhbuild/tree/master/patches<br />
<br />
<br />
=====<br />
<br />
windowsでのpkg依存解決状況<br />
WebKitをやりたいけどいろいろはまって進んでない。。<br />
<br />
Extra Binaries:<br />
gimp-console: yes<br />
<br />
Optional Features:<br />
D-Bus service: no<br />
Language selection: yes<br />
<br />
Optional Plug-Ins:<br />
Ascii Art: no (AA library not found)<br />
Compressor: yes<br />
Ghostscript: no (Ghostscript library not found)<br />
Help Browser: no (WebKit not found)<br />
LCMS: yes<br />
JPEG: yes<br />
JPEG 2000: yes<br />
MNG: yes<br />
PDF (import): yes<br />
PDF (export): yes<br />
PNG: yes<br />
Print: yes<br />
PSP: yes<br />
Python: yes<br />
Script-Fu: yes<br />
SVG: yes<br />
TIFF: yes<br />
TWAIN (MacOS X): no<br />
TWAIN (Win32): yes<br />
URI: yes (using libcurl)<br />
Webpage: no (WebKit not found)<br />
Windows ICO: yes<br />
WMF: yes<br />
XJT: no (not built on Windows)<br />
X11 Mouse Cursor: no (libXcursor not found)<br />
XPM: no (XPM library not found)<br />
<br />
Plug-In Features:<br />
EXIF support: yes<br />
<br />
Optional Modules:<br />
ALSA (MIDI Input): no (libasound not found or unusable)<br />
Linux Input: no (linux input support disabled) (GUdev support: no)<br />
DirectInput (Win32): no<br />
Color Correction: yes<br />
Soft Proof: yes<br />
<br />
Tests:<br />
Use xvfb-run no (not found)<br />
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-74543507446322824452013-04-09T23:28:00.001+09:002013-04-09T23:31:04.306+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その4)<br />
msys・gccのバージョンアップ<br />
<br />
これまでの手順だと、<br />
gccは4.7.0なのでバージョンをあげてみる。<br />
4.8.0はvirtualメソッドの不具合?でうまくコンパイルできないパッケージがあった。<br />
<br />
msysはインストールするタイミングで<br />
最新がとられると思うので、<br />
あがらないかも。<br />
確認したmsysCOREのバージョンは1.0.18でした。<br />
<br />
<br />
(1)バックアップ<br />
<br />
C:\MinGW\msys\1.0\etc\profile<br />
が上書きされるようなので、<br />
バックアップする。<br />
<br />
C:\MinGW\mingw64\bin\.gdbinit<br />
もバックアップする。<br />
<br />
<br />
(2)msysアップデート<br />
<br />
msysから<br />
mingw-get update<br />
mingw-get upgrade<br />
<br />
upgradeで、<br />
32bit関連のgccが入ったりするが<br />
そのあたりは使わないように注意する。<br />
<br />
C:\MinGW\msys\1.0\etc\profile<br />
を元に戻す。<br />
<br />
msysコンソールを閉じる。<br />
<br />
<br />
(3)GCCアップデート<br />
<br />
C:\MinGW\mingw64<br />
の中身を適当なバックアップフォルダへ移動。<br />
<br />
4.7.2をダウンロード<br />
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.7-release/x86_64-w64-mingw32-gcc-4.7.2-release-win64_rubenvb.7z/download<br />
<br />
x86_64-w64-mingw32-gcc-4.7.2-release-win64_rubenvb.7z<br />
をC:\MinGW\mingw64に展開して、<br />
msysを起動する。<br />
<br />
gcc --version<br />
で<br />
gcc.exe (rubenvb-4.7.2-release) 4.7.2<br />
になっていることを確認する。<br />
<br />
C:\MinGW\mingw64\bin\.gdbinit<br />
を元に戻す。<br />
<br />
<br />
(4)コンパイルオプション見直し<br />
<br />
デフォルトで使うコンパイルオプションもいじってみた。<br />
<br />
C:\MinGW\local64\etc\profile.local<br />
CFLAGS="-I/local64/include -mms-bitfields -mthreads -O2 -mtune=athlon64 -mfpmath=sse -msse"<br />
CXXFLAGS="-I/local64/include -mms-bitfields -mthreads -O2 -mtune=athlon64 -mfpmath=sse -msse"<br />
<br />
よく使いそうな下記も追記した。<br />
C:\MinGW\local64\etc\profile.local<br />
export PYTHON_INCLUDES="-I/c/Python27/include/"<br />
export PYTHON_LIBS="-L/c/Python27/libs -lpython27"<br />
export PYTHON_LIB_LOC="/c/Python27/libs/"<br />
export ACLOCAL_FLAGS="-I/local64/share/aclocal -I/c/MinGW/opt/share/aclocal"<br />
<br />
<br />
(5)再コンパイル(半日コース・・・)<br />
<br />
「Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その1)」の<br />
intltool以降を流しなおしてみる。<br />
<br />
全てのパッケージについて、<br />
以下のように、make cleanしてから再度ソースを展開しなおして、make。<br />
パッチがあるのは適用してから、make。<br />
<br />
cd $LOCALBUILDDIR<br />
cd intltool-0.50.2<br />
make clean<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf intltool-0.50.2.tar.gz<br />
cd intltool-0.50.2<br />
./configure --prefix=/opt<br />
make<br />
make install<br />
<br />
pkg-configだけ、make clean後に、下記ファイルを削除する。<br />
C:\MinGW\local64\bin\pkg-config.exe<br />
C:\MinGW\local64\bin\x86_64-w64-mingw32-pkg-config.exe<br />
<br />
C:\MinGW\local64\etc\profile.localでデフォルトを-O2としたので、<br />
gimpのビルドをdebugでやる場合は、<br />
<br />
export CFLAGS="$CFLAGS -O0"<br />
export CXXFLAGS="$CXXFLAGS -O0"<br />
<br />
を行ってからconfigure、make、make installする。<br />
<br />
4.7.2でも特に問題なくビルドできました。<br />
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-7910272346453155202013-04-09T00:12:00.000+09:002013-04-22T22:53:42.922+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その3)<br />
openSUSEの場合と同様にeclipseと連携していきます。<br />
<br />
(1)OSの環境変数設定<br />
PATHに下記を追加。<br />
<br />
C:\MinGW\mingw64\bin<br />
C:\MinGW\msys\1.0\bin<br />
<br />
(2)eclipseのインストール<br />
<br />
eclipse-cpp-juno-SR2-win32-x86_64.zip<br />
をダウンロードしてきて、<br />
展開して、下記となるように配置しました。<br />
<br />
C:\eclipse_cdt\eclipse.exe<br />
<br />
eclipse.exeを起動<br />
<br />
ワークスペースは下記にした。<br />
C:\eclipse_cdt\workspace<br />
<br />
使いそうなパースペクティブは<br />
Window/Open Perspective<br />
から開いておく。<br />
<br />
とりあえず、下記3つ。<br />
<br />
Debug<br />
Git Repository Exploring<br />
Team Synchronizing<br />
<br />
(3)eclipseプロジェクト作成(git-gimp-2.8用)<br />
<br />
C/C++パースペクティブを選択。<br />
ProjectExplorerで右クリックして、import。<br />
C/C++/Exisiting Code as Makefile Projectを選択して、Next。<br />
<br />
Project Name : git-gimp-2.8<br />
Existing Code Location : C:\work\git\gimp-2.8<br />
Toolchain for Indexer Settings : MinGW GCC<br />
<br />
としてFinish。<br />
<br />
Project/Propertiesを選択。<br />
C/C++ General/Paths and Symbols<br />
<br />
のIncludeタブでGNU CとGNU C++に下記をAdd。<br />
<br />
C:\MinGW\local64\include<br />
C:\MinGW\local64\include\freetype2<br />
C:\MinGW\local64\include\cairo<br />
C:\MinGW\local64\include\pango-1.0<br />
C:\MinGW\local64\include\glib-2.0<br />
C:\MinGW\local64\include\gdk-pixbuf-2.0<br />
C:\MinGW\local64\include\gtk-2.0<br />
C:\MinGW\local64\include\babl-0.1<br />
C:\MinGW\local64\include\gegl-0.2<br />
<br />
SymbolタブでGNU CとGNU C++に下記をAdd。<br />
G_OS_WIN32 : 1<br />
<br />
(4)debug configuration<br />
<br />
まず下記ファイルを作成。<br />
(ドット始まりのファイルはexplorerから作れないので、コマンド等でやってください。)<br />
C:\MinGW\mingw64\bin\.gdbinit<br />
中身は空のまま。<br />
<br />
Run/Debug Configurationsを選択。<br />
C/C++ Applicationを追加。<br />
<br />
Mainタブ<br />
Name : git-gimp-2.8 Debug<br />
C/C++ Application : C:\work\gimpbin\git-gimp-2.8\bin\gimp-2.8.exe<br />
Project : git-gimp-2.8<br />
Build before launching : Disable auto build<br />
<br />
Environmentタブ<br />
下記3つの変数を追加<br />
rem<span style="font-family: inherit;"> <span style="background-color: white; line-height: 18px;">gtk+-2.24.16では、LANG設定する必要なしでした</span></span><br />
rem LANG=de<br />
HOME=C:\work\gimphome\git-gimp-2.8<br />
PATH=C:\work\gimpbin\git-gimp-2.8;C:\work\gimpbin\git-gimp-2.8\bin;C:\MinGW\local64;C:\MinGW\local64\bin;C:\MinGW\mingw64\bin<br />
<br />
Debuggerタブ<br />
GDB debugger : C:\MinGW\mingw64\bin\gdb.exe<br />
GDB command file : C:\MinGW\mingw64\bin\.gdbinit<br />
<br />
debug実行すると、debugできます。<br />
<br />
(5)eclipseプロジェクト作成(git-gimp-painter-2.7_postprocess用)<br />
<br />
C/C++パースペクティブを選択。<br />
ProjectExplorerで右クリックして、import。<br />
C/C++/Exisiting Code as Makefile Projectを選択して、Next。<br />
<br />
Project Name : git-gimp-painter-2.7_postprocess<br />
Existing Code Location : C:\work\git\git-gimp-painter-2.7_postprocess<br />
Toolchain for Indexer Settings : MinGW GCC<br />
<br />
としてFinish。<br />
<br />
Project/Propertiesを選択。<br />
C/C++ General/Paths and Symbols<br />
<br />
のIncludeタブでGNU CとGNU C++に下記をAdd。<br />
<br />
C:\MinGW\local64\include<br />
C:\MinGW\local64\include\freetype2<br />
C:\MinGW\local64\include\cairo<br />
C:\MinGW\local64\include\pango-1.0<br />
C:\MinGW\local64\include\glib-2.0<br />
C:\MinGW\local64\include\gdk-pixbuf-2.0<br />
C:\MinGW\local64\include\gtk-2.0<br />
C:\MinGW\local64\include\babl-0.1<br />
C:\MinGW\local64\include\gegl-0.2<br />
<br />
SymbolタブでGNU CとGNU C++に下記をAdd。<br />
G_OS_WIN32 : 1<br />
<br />
(6)debug configuration<br />
<br />
Run/Debug Configurationsを選択。<br />
C/C++ Applicationを追加。<br />
<br />
Mainタブ<br />
Name : git-gimp-painter-2.7_postprocess Debug<br />
C/C++ Application : C:\work\gimpbin\git-gimp-painter-2.7_postprocess\bin\gimp-2.8.exe<br />
Project : git-gimp-painter-2.7_postprocess<br />
Build before launching : Disable auto build<br />
<br />
Environmentタブ<br />
下記3つの変数を追加<br />
rem<span style="font-family: inherit;"> <span style="background-color: white; line-height: 18px;">gtk+-2.24.16では、LANG設定する必要なし</span></span><br />
rem LANG=de<br />
HOME=C:\work\gimphome\git-gimp-painter-2.7_postprocess<br />
PATH=C:\work\gimpbin\git-gimp-painter-2.7_postprocess;C:\work\gimpbin\git-gimp-painter-2.7_postprocess\bin;C:\MinGW\local64;C:\MinGW\local64\bin;C:\MinGW\mingw64\bin<br />
<br />
Debuggerタブ<br />
GDB debugger : C:\MinGW\mingw64\bin\gdb.exe<br />
GDB command file : C:\MinGW\mingw64\bin\.gdbinit<br />
<br />
debug実行すると、debugできます。Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-32187764520772526762013-04-07T08:40:00.001+09:002013-04-25T00:11:25.606+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その2)<br />
前回の続き。<br />
<br />
いろいろやっていた気づいたことは、<br />
ビルド失敗時に必要なパッチを探すのが大変ってこと。<br />
<br />
今は下記のように調査・対応してます(大体これでいけるような?)。<br />
openSUSEのOBSの検索(<a href="http://software.opensuse.org/search">http://software.opensuse.org/search</a>)で<br />
パッケージを検索する。<br />
同一パッケージでも、いろいろなソースが出てくるので、<br />
mingw64のところのソース(rpm)を落としてくる。<br />
rpmの中のcpioの中にソース、パッチとspecファイルが入っているので、<br />
パッチは中身をさらっと確認して、適用。<br />
specファイルを参考にして、configure、make、make install。<br />
<br />
それでは、ビルドが続きます。<br />
<br />
<br />
(1)gimpが使用している他パッケージ(以外もあるけど)<br />
<br />
・libopenjpeg<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf openjpeg-1.5.1.tar.gz<br />
cd openjpeg-1.5.1<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR<br />
make<br />
make install<br />
<br />
・JasPer<br />
<br />
http://software.opensuse.org/download.html?project=windows:mingw:win64&package=mingw64-jasper<br />
<br />
mingw64-jasper-1.900.1-6.231.src.rpm<br />
<br />
cd $LOCALBUILDDIR<br />
unzip -o jasper-1.900.1.zip<br />
cd jasper-1.900.1<br />
<br />
パッチ配置($LOCALBUILDDIR/jasper-1.900.1に配置)<br />
<br />
jasper-1.900.1-canonical-target.patch<br />
jasper-1.900.1-enable-shared.patch<br />
jasper-1.900.1-mingw64.patch<br />
jasper-1.900.1-sleep.patch<br />
patch-libjasper-stepsizes-overflow.diff<br />
<br />
パッチ適用<br />
<br />
patch -p1 < jasper-1.900.1-sleep.patch<br />
patch -p1 < jasper-1.900.1-mingw64.patch<br />
patch -p1 < jasper-1.900.1-enable-shared.patch<br />
patch -p1 < patch-libjasper-stepsizes-overflow.diff<br />
patch -p1 < jasper-1.900.1-canonical-target.patch<br />
<br />
libtoolize --copy --force<br />
aclocal<br />
automake --add-missing<br />
autoconf<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --enable-shared --disable-opengl --enable-libjpeg<br />
make<br />
make install<br />
<br />
・lcms<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf lcms-1.19.tar.gz<br />
cd lcms-1.19<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 CPPFLAGS="-I/opt/include -I/c/Python27/include" LIBS="-L/opt/lib -L/c/Python27/Lib"<br />
make<br />
make install<br />
<br />
・babl<br />
<br />
cd $LOCALBUILDDIR<br />
tar -jxf babl-0.1.10.tar.bz2<br />
cd babl-0.1.10<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include" LIBS="-L/usr/lib -L/c/Python27/Lib" --enable-shared --disable-static<br />
<br />
C:\MinGW\build64\babl-0.1.10\babl\babl-palette.c<br />
下記を削除する。<br />
#include <values.h><br />
<br />
make<br />
make install<br />
<br />
・gegl<br />
<br />
cd $LOCALBUILDDIR<br />
tar -jxf gegl-0.2.0.tar.bz2<br />
cd gegl-0.2.0<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include -I/local64/include" LIBS="-L/usr/lib -L/c/Python27/Lib" --enable-shared --disable-static --without-sdl --disable-docs<br />
make<br />
make install<br />
<br />
・python連携用?ファイル準備<br />
<br />
partha先生(<a href="http://www.partha.com/articles/buildinggimp.html">http://www.partha.com/articles/buildinggimp.html</a>)を真似。<br />
「pygtk-codegen-2.0」ファイルを<br />
C:\Python27に作成。<br />
<br />
「pygtk-codegen-2.0」<br />
----<br />
#! /bin/sh<br />
prefix=c:/Python27<br />
exec_prefix=${prefix}<br />
pygobject_script=${exec_prefix}/pygobject-codegen-2.0<br />
echo "note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead" > /dev/stderr<br />
echo "note: I will now try to invoke pygobject-codegen-2.0 in the same directory" > /dev/stderr<br />
exec $pygobject_script "$@"<br />
----<br />
<br />
「pygobject-codegen-2.0」ファイルを<br />
C:\Python27に作成。<br />
<br />
「pygobject-codegen-2.0」<br />
----<br />
#!/bin/sh<br />
prefix=@prefix@<br />
datarootdir=@datarootdir@<br />
datadir=c:/Python27<br />
codegendir=${datadir}/site-packages/gtk-2.0/codegen<br />
PYTHONPATH=$codegendir<br />
export PYTHONPATH<br />
exec c:/Python27/python.exe c:/Python27/Lib/site-packages/gtk-2.0/codegen/codegen.py "$@"<br />
----<br />
<br />
・pygtkのdef<br />
<br />
下記フォルダを作成<br />
C:\Python27\share\pygtk\2.0\defs<br />
<br />
pygtk-2.24.0.tar.bz2を展開して、<br />
pygtk-2.24.0\gtk\gtk-base-types.defs<br />
↓リネームしてコピー<br />
C:\Python27\share\pygtk\2.0\defs\gtk-types.defs<br />
<br />
pygtk-2.24.0\gtk\gdk-base-types.defs<br />
↓リネームしてコピー<br />
C:\Python27\share\pygtk\2.0\defs\gdk-types.defs<br />
<br />
・python27.a作成<br />
<br />
msysから、<br />
mingw-get install mingw32-pexports<br />
を実行。<br />
<br />
C:\Windows\system32\python27.dll<br />
を<br />
C:\Python27<br />
へコピー。<br />
<br />
pexports /c/python27/python27.dll > /c/python27/python27.def<br />
<br />
/mingw64/bin/dlltool -v --dllname /c/python27/python27.dll --def /c/python27/python27.def --output-lib /c/python27/libs/libpython27.a<br />
<br />
python周りいろいろやったけど、<br />
結局プラグイン認識できてない・・・。<br />
次回以降解決したい。<br />
<br />
・libxslt<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf libxslt-1.1.28.tar.gz<br />
cd libxslt-1.1.28<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include" LIBS="-L/usr/lib -L/c/Python27/Lib"<br />
<br />
windows向けに下記を修正<br />
<br />
C:\MinGW\build64\libxslt-1.1.28\libxslt\security.c<br />
line:346<br />
- ret = mkdir(directory, 0755);<br />
+ ret = mkdir(directory);<br />
<br />
make<br />
make install<br />
<br />
・iso-codes<br />
<br />
cd $LOCALBUILDDIR<br />
tar xf iso-codes-3.41.tar.xz<br />
cd iso-codes-3.41<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR<br />
make<br />
make install<br />
<br />
・libexif<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf libexif-0.6.20.tar.gz<br />
cd libexif-0.6.20<br />
./configure --build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR<br />
make<br />
make install<br />
<br />
・bz2<br />
<br />
http://software.opensuse.org/download.html?project=windows:mingw:win64&package=mingw64-bzip2<br />
<br />
mingw64-bzip2-1.0.6-3.218.src.rpm<br />
<br />
cd $LOCALBUILDDIR<br />
tar xzf bzip2-1.0.6.tar.gz<br />
cd bzip2-1.0.6<br />
<br />
bzip2-1.0.4-bzip2recover.patch<br />
bzip2-1.0.5-slash.patch<br />
bzip2-1.0.6-dll.patch<br />
<br />
patch -p1 < bzip2-1.0.4-bzip2recover.patch<br />
patch -p1 < bzip2-1.0.5-slash.patch<br />
patch -p1 < bzip2-1.0.6-dll.patch<br />
<br />
make -f Makefile-libbz2_so<br />
make clean<br />
make<br />
<br />
C:\MinGW\build64\bzip2-1.0.6\Makefile<br />
の下記を修正(「.exe」を追記)<br />
(参考:<a href="http://mingw.doorblog.jp/archives/22758238.html">http://mingw.doorblog.jp/archives/22758238.html</a>)<br />
<br />
chmod a+x $(PREFIX)/bin/bzip2.exe<br />
chmod a+x $(PREFIX)/bin/bunzip2.exe<br />
chmod a+x $(PREFIX)/bin/bzcat.exe<br />
chmod a+x $(PREFIX)/bin/bzip2recover.exe<br />
<br />
make install PREFIX=$LOCALDESTDIR<br />
<br />
cp ./bz2-1.dll $LOCALDESTDIR/bin<br />
cp ./libbz2.dll.a $LOCALDESTDIR/lib<br />
<br />
・libcroco<br />
<br />
cd $LOCALBUILDDIR<br />
tar xf libcroco-0.6.8.tar.xz<br />
cd libcroco-0.6.8<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32<br />
make<br />
make install<br />
<br />
・librsvg<br />
<br />
http://software.opensuse.org/download.html?project=windows:mingw:win64&package=mingw64-librsvg<br />
<br />
mingw64-librsvg-2.36.3-2.75.src.rpm<br />
<br />
cd $LOCALBUILDDIR<br />
tar xf librsvg-2.36.4.tar.xz<br />
cd librsvg-2.36.4<br />
<br />
※ここではlibrsvg-2.36.4.tar.xzを使用するが、patchはそのまま使える<br />
librsvg-2.32.0-gtk3.patch<br />
<br />
patch -p1 < librsvg-2.32.0-gtk3.patch<br />
<br />
./configure --prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --disable-introspection --enable-gtk-theme --disable-pixbuf-loader --enable-shared --disable-static<br />
<br />
make<br />
make install<br />
<br />
<br />
(2)gimp<br />
<br />
いよいよgimpです。<br />
<br />
・gimp-2.8.4<br />
<br />
まずはtarボールを使ってやってみます。<br />
<br />
cd $LOCALBUILDDIR<br />
tar -jxf gimp-2.8.4.tar.bz2<br />
cd gimp-2.8.4<br />
export PYTHON_LIBS="-L/c/Python27/libs -lpython27"<br />
<br />
./configure --prefix=/c/work/gimpbin/gimp-2.8.4 --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include -I/local64/include" LIBS="-L/usr/lib -L/c/Python27/Lib" CFLAGS="-DMS_WIN64" --enable-debug --without-gvfs<br />
<br />
※1の修正を行う。<br />
<br />
make<br />
make install<br />
<br />
起動用batを作成して、batから実行。<br />
<br />
gimp-2.8.4_start.bat<br />
---<br />
rem<span style="font-family: inherit;"> <span style="background-color: white; line-height: 18px;">gtk+-2.24.16では、LANG設定する必要なし</span></span><br />
rem set LANG=de<br />
set HOME=C:\work\gimphome\gimp-2.8.4<br />
if not exist %HOME% mkdir %HOME% > nul<br />
set PATH=C:\work\gimpbin\gimp-2.8.4;C:\work\gimpbin\gimp-2.8.4\bin;C:\MinGW\local64;C:\MinGW\local64\bin;C:\MinGW\mingw64\bin;%PATH%<br />
start C:\work\gimpbin\gimp-2.8.4\bin\gimp-2.8.exe<br />
---<br />
<br />
<br />
次はgitのソースでやってみます。<br />
まずは2.8系。<br />
<br />
c:/work/git/gimpに<br />
git clone<br />
git://git.gnome.org/gimp<br />
<br />
・git-gimp-2.8<br />
<br />
2.8系も次の2.8.6?リリースに向けて修正が日々入るので、<br />
windowsでビルドができないコミットが入ることがあります。<br />
<br />
解決したい場合は、<br />
gimp-2.8系に関するbug検索<br />
<a href="http://www.google.com/custom?hl=ja&domains=mail.gnome.org&hq=inurl%3A%2Farchives%2F&q=gimp%2Fgimp-2-8+Bug">http://www.google.com/custom?hl=ja&domains=mail.gnome.org&hq=inurl%3A%2Farchives%2F&q=gimp%2Fgimp-2-8+Bug</a><br />
で探すと出てくることがあります。<br />
gimp最新系(2.9)からのフィードバックもあるので、<br />
gimp全般<br />
<a href="http://www.google.com/custom?hl=ja&domains=mail.gnome.org&hq=inurl%3A%2Farchives%2F&q=gimp+Bug&as_qdr=y">http://www.google.com/custom?hl=ja&domains=mail.gnome.org&hq=inurl%3A%2Farchives%2F&q=gimp+Bug&as_qdr=y</a><br />
から検索してもよいかも。<br />
<br />
<br />
openSUSEの時と同様に、<br />
c:/work/git/gimp<br />
を<br />
c:/work/git/gimp-2.8<br />
にまるごとコピーして、<br />
2.8系用のブランチにスイッチする。<br />
<br />
<br />
cd /c/work/git/gimp-2.8<br />
export PYTHON_INCLUDES="-I/c/Python27/include/"<br />
export PYTHON_LIBS="-L/c/Python27/libs -lpython27"<br />
export PYTHON_LIB_LOC="/c/Python27/libs/"<br />
export ACLOCAL_FLAGS="-I/local64/share/aclocal -I/c/MinGW/opt/share/aclocal"<br />
<br />
./autogen.sh --prefix=/c/work/gimpbin/git-gimp-2.8 --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include -I/local64/include" LIBS="-L/usr/lib -L/c/Python27/Lib" CFLAGS="-DMS_WIN64" --enable-debug --without-gvfs --disable-gtk-doc<br />
<br />
<br />
※1の修正<br />
<br />
※2の修正<br />
Bug 593167 - Support Windows in gimp_get_default_unit()<br />
2013/3/18のコミットでwindowsエラーがでるようになった。<br />
<br />
※3の修正<br />
たぶんmsysからgitコマンドが使えない場合にエラーとなるので、<br />
<br />
app/git-version.hを手動で作成。<br />
tarボールでとってきたソースにはもともと入っているので問題ない。<br />
<br />
make<br />
make install<br />
<br />
起動用batを作成して、batから実行。<br />
<br />
git-gimp-2.8_start.bat<br />
---<br />
rem<span style="font-family: inherit;"> <span style="background-color: white; line-height: 18px;">gtk+-2.24.16では、LANG設定する必要なし</span></span><br />
rem set LANG=de<br />
set HOME=C:\work\gimphome\git-gimp-2.8<br />
if not exist %HOME% mkdir %HOME% > nul<br />
set PATH=C:\work\gimpbin\git-gimp-2.8;C:\work\gimpbin\git-gimp-2.8\bin;C:\MinGW\local64;C:\MinGW\local64\bin;C:\MinGW\mingw64\bin;%PATH%<br />
start C:\work\gimpbin\git-gimp-2.8\bin\gimp-2.8.exe<br />
---<br />
<br />
・git-gimp-painter-2.7_postprocess<br />
<br />
openSUSEの時と同様に、<br />
c:/work/git/gimp-painter-2.7<br />
を<br />
c:/work/git/gimp-painter-2.7_postprocess<br />
にまるごとコピーして、<br />
postprocess用のブランチにスイッチする。<br />
<br />
cd /c/work/git/gimp-painter-2.7_postprocess<br />
export PYTHON_INCLUDES="-I/c/Python27/include/"<br />
export PYTHON_LIBS="-L/c/Python27/libs -lpython27"<br />
export PYTHON_LIB_LOC="/c/Python27/libs/"<br />
export ACLOCAL_FLAGS="-I/local64/share/aclocal -I/c/MinGW/opt/share/aclocal"<br />
<br />
./autogen.sh --prefix=/c/work/gimpbin/git-gimp-painter-2.7_postprocess --build=x86_64-w64-mingw32 CPPFLAGS="-I/usr/include -I/c/Python27/include -I/local64/include" LIBS="-L/usr/lib -L/c/Python27/Lib" CFLAGS="-DMS_WIN64" --enable-debug --without-gvfs --disable-gtk-doc<br />
<br />
※3の修正<br />
<br />
※4の修正<br />
<br />
make<br />
make install<br />
<br />
起動用batを作成して、batから実行。<br />
<br />
git-gimp-painter-2.7_postprocess_start.bat<br />
---<br />
rem<span style="font-family: inherit;"> <span style="background-color: white; line-height: 18px;">gtk+-2.24.16では、LANG設定する必要なし</span></span><br />
rem set LANG=de<br />
set HOME=C:\work\gimphome\git-gimp-painter-2.7_postprocess<br />
if not exist %HOME% mkdir %HOME% > nul<br />
set PATH=C:\work\gimpbin\git-gimp-painter-2.7_postprocess;C:\work\gimpbin\git-gimp-painter-2.7_postprocess\bin;C:\MinGW\local64;C:\MinGW\local64\bin;C:\MinGW\mingw64\bin;%PATH%<br />
start C:\work\gimpbin\git-gimp-painter-2.7_postprocess\bin\gimp-2.8.exe<br />
---<br />
<br />
やっとwindowsで起動できた。。。<br />
rotate、mypaintブラシが動くのと、<br />
処理がpostprocess(ペン操作後少し遅れて効果が表示?)されるようです。<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf9NRXERogqUsa7_lZKJWNUqKojEkJongDsRLQ1NxQJin6mCoEwOMK6TxIT_JwnFZuDyC9ZmmlosOBa7_HLXU3rJtKjHmU7ep1y6XCwt0Msru0caDNSUl3gsaM2_wC5OGi0KYxJ8YC6bs/s1600/painter-2.7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf9NRXERogqUsa7_lZKJWNUqKojEkJongDsRLQ1NxQJin6mCoEwOMK6TxIT_JwnFZuDyC9ZmmlosOBa7_HLXU3rJtKjHmU7ep1y6XCwt0Msru0caDNSUl3gsaM2_wC5OGi0KYxJ8YC6bs/s1600/painter-2.7.png" height="112" width="200" /></a></div>
<br />
<br />
・git-gimp-2.9<br />
<br />
次は、gitの最新コードでビルドと思ったけど、<br />
windowsではうまくビルドができなかったのでとりあえずしばらく放置。<br />
<br />
<br />
eclipseでのdebugは次回。<br />
<br />
<br />
=============<br />
<br />
(※1)windows向けビルドでいつも修正が必要な箇所。<br />
<br />
gimp起動時に、Gimp-Text-ERROR pangoほにゃららダイアログが出る。<br />
<br />
修正内容<br />
<br />
app\text\gimpfontlist.c<br />
<br />
fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT);<br />
if (! fontmap)<br />
g_error ("You are using a Pango that has been built against a cairo "<br />
"that lacks the Freetype font backend");<br />
<br />
↓<br />
<br />
fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT);<br />
if (! fontmap)<br />
fontmap = pango_cairo_font_map_get_default ();<br />
if (! fontmap)<br />
g_error ("You are using a Pango that has been built against a cairo "<br />
"that lacks the Freetype font backend");<br />
<br />
<br />
下記も同様に更新しておく。<br />
app/text/gimptext-compat.c<br />
app/text/gimptextlayout.c<br />
<div>
<br /></div>
<br />
(※2)make時、下記エラーになる場合。<br />
<br />
make[4]: Entering directory `/c/work/git/gimp-2.8/app/core'<br />
CC gimp-utils.o<br />
gimp-utils.c: In function 'gimp_get_default_language':<br />
gimp-utils.c:299:10: warning: unused variable 'cat' [-Wunused-variable]<br />
gimp-utils.c: In function 'gimp_get_default_unit':<br />
gimp-utils.c:363:3: error: unknown type name 'DWORD'<br />
gimp-utils.c:366:3: warning: implicit declaration of function 'GetLocaleInfo' [-<br />
Wimplicit-function-declaration]<br />
gimp-utils.c:366:23: error: 'LOCALE_USER_DEFAULT' undeclared (first use in this<br />
function)<br />
gimp-utils.c:366:23: note: each undeclared identifier is reported only once for<br />
each function it appears in<br />
gimp-utils.c:367:23: error: 'LOCALE_IMEASURE' undeclared (first use in this func<br />
tion)<br />
gimp-utils.c:367:41: error: 'LOCALE_RETURN_NUMBER' undeclared (first use in this<br />
function)<br />
gimp-utils.c:368:24: error: 'LPTSTR' undeclared (first use in this function)<br />
gimp-utils.c:369:52: error: 'TCHAR' undeclared (first use in this function)<br />
gimp-utils.c: In function 'gimp_value_array_truncate':<br />
gimp-utils.c:490:5: warning: 'g_value_array_remove' is deprecated (declared at C<br />
:/MinGW/local64/include/glib-2.0/gobject/gvaluearray.h:91): Use 'g_array_remove_<br />
index' instead [-Wdeprecated-declarations]<br />
make[4]: *** [gimp-utils.o] Error 1<br />
make[4]: Leaving directory `/c/work/git/gimp-2.8/app/core'<br />
make[3]: *** [all-recursive] Error 1<br />
make[3]: Leaving directory `/c/work/git/gimp-2.8/app'<br />
make[2]: *** [all] Error 2<br />
make[2]: Leaving directory `/c/work/git/gimp-2.8/app'<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/c/work/git/gimp-2.8'<br />
make: *** [all] Error 2<br />
<br />
修正内容<br />
<br />
app/core/gimp-utils.c<br />
<br />
Bug593167.patch<br />
を作成して、コミットされた修正をreverseして戻す。<br />
<br />
下記サイトから全てコピーして、Bug593167.patchを作成して、<br />
C:\work\git\gimp-2.8に配置。<br />
<br />
https://mail.gnome.org/archives/commits-list/2013-March/msg21051.html<br />
の<br />
commit 194ef70d7446a627c274135c54498d3092c9b356<br />
から<br />
return GIMP_UNIT_MM;<br />
までコピー。<br />
<br />
パッチ適用を戻す。<br />
cd /c/work/git/gimp-2.8<br />
patch -p1 -R < Bug593167.patch<br />
<br />
(※3)make時、下記エラーになる場合。<br />
<br />
about-dialog.c:36:25: fatal error: git-version.h: No such file or directory<br />
<br />
make cleanで消えるので注意。<br />
<br />
追加内容<br />
<br />
何かそれっぽいのをてきとーに。。<br />
<div>
<br /></div>
app/git-version.h<br />
---<br />
#ifndef __GIT_VERSION_H__<br />
#define __GIT_VERSION_H__<br />
#define GIMP_GIT_VERSION "GIMP_2_8"<br />
#define GIMP_GIT_LAST_COMMIT_YEAR "2013"<br />
#endif /* __GIT_VERSION_H__ */<br />
---<br />
<br />
(※4)gimp-painter-2.7向けdiff<br />
<br />
gimp-painter-2.7_postprocess.diff<br />
<a href="https://sites.google.com/site/gimpbuilder/files/gimp-painter-2.7_postprocess.diff?attredirects=0&d=1">https://sites.google.com/site/gimpbuilder/files/gimp-painter-2.7_postprocess.diff?attredirects=0&d=1</a><br />
<br />
windowsでせめて起動できるように<br />
なんとか自力でgtkのエラーがでないようにしただけ。。。<br />
ちょっと画面を動かすとエラーがでまくります><<br />
<br />Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-2016041667023365362013-04-03T00:25:00.006+09:002013-04-14T22:25:09.166+09:00Windows7 64bitでgimp2.8.4、gimp2.9~、gimp-painterをビルド(その1)<span style="font-family: inherit;">Windowsで<a href="http://www.gimpchat.com/viewtopic.php?f=8&t=6459">gimp-painter-2.7(mypaint組み込み版)</a>。</span><br />
<span style="font-family: inherit;">とりあえず、すでにやってた。<span style="background-color: white; text-align: -webkit-center;">さすがpartha先生。</span></span><br />
<span style="font-family: inherit;">がんばってうちでもビルドしたいなー。</span><br />
<span style="color: black;">Onkel_Hatti先生も、やってらした。</span><br />
<a href="http://sourceforge.net/projects/gimp-packagers/files/Onkel_Hatti/"><span style="color: black;">http://sourceforge.net/projects/gimp-packagers/files/Onkel_Hatti/</span></a><br />
<span style="-webkit-tap-highlight-color: rgb(0, 119, 170); background-color: white; font-family: inherit; line-height: 18px; margin: 0px; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline; white-space: nowrap;">のgimp-painter-2.8_Onkel_Hatti_x64.zip</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">gimp-painter-2.7のgitのコードを</span><br />
<span style="font-family: inherit;">debugで動作させてわかった問題は</span><br />
<span style="font-family: inherit;">gtk周りでcriticalなエラーが出ている点。</span><br />
<span style="font-family: inherit;">widnows7だとこれでクラッシュする様子。</span><br />
<span style="font-family: inherit;">linuxでも出ているが動くw</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">いくつかは修正できたけど、</span><br />
<span style="font-family: inherit;">まだまだ勉強不足&実装残部分が多いので</span><br />
<span style="font-family: inherit;">どう対応したらいいのかわからないとこが多い。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">ということで、、、?</span><br />
<span style="font-family: inherit;">まず、openSUSEと同じようにWindows上に</span><br />
<span style="font-family: inherit;">gimpのベースとなるパッケージ群を入れるところから</span><span style="font-family: inherit;">。</span><br />
違う点は自分でビルドするパッケージがいろいろあるところ。<br />
&ものすごく時間がかかるところ><<br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">では構築手順。</span><br />
<span style="font-family: inherit;">まずはmsys、mingw、各種pkg、gtk+2まで。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(1)python</span><br />
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;"><a href="http://www.python.org/getit/">ここ</a>からダウンロードした</span>python2.7.3をインストール。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">python-2.7.3.amd64.msi </span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">インストール先は、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">C:\Python27</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">とした。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">たぶん下記はおかしい(32bitなので)と</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">思ってるけど入れてみた。(とりあえず放置・・・)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">pycairo-1.8.10.win32-py2.7.msi</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">pygobject-2.28.3.win32-py2.7.msi</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">pygtk-2.24.0.win32-py2.7.msi</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">インストール先は、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">C:\Python27</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">とした。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(2)perl</span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">perl</span><span style="color: black;">は</span><span style="color: black;">msys</span><span style="color: black;">にデフォルトで入っていた</span><span style="color: black;">5.8.8</span><span style="color: black;">を使用する。</span></span><br />
<span style="font-family: inherit;"><span style="color: black;">(msysは手順(3)で入れる。)</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;">※新しいバージョンを追加する場合は、下記を入れて、</span></div>
<div style="margin-bottom: 0cm;">
<a href="http://www.activestate.com/activeperl/downloads"><span style="color: black; font-family: inherit;">http://www.activestate.com/activeperl/downloads</span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">ActivePerl-5.16.2.1602-MSWin32-x64-296513.msi</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
インストール先は、</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">C:\Perl64</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
などとする。動作確認はしてない。</div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">C:\MinGW\local64\etc\profile.local (後の手順で出てくるファイル)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">のPATHを設定する。(msysより前にすること)</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(3)msys・mingwインストール&パッケージ各種</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<span style="font-family: inherit;">msys+mingwを入れて、</span><br />
<span style="font-family: inherit;">いろいろ</span><span style="font-family: inherit;">64bitでビルドをしていきます。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">ダウンロードにものすごい時間がかかるけど、</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">手順どおり構築して</span><span style="font-family: inherit;">、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">build64(ソースをおいてここでビルド)、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">local64(ビルドした後のインストール先)側だけを使う。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
コマンドもコピペでいけました。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
バージョンはここで無理してあげない。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">明らかに32bit向けっぽい手順の部分は、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">やらないでいける。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">(32bitビルドをしたい人は、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"> 手順で出てくるbulid32、local32に</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"> インストールしていくとできると思われる。)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">まずこの手順。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;"><a href="http://ingar.satgnu.net/devenv/mingw32/base.html">http://ingar.satgnu.net/devenv/mingw32/base.html</a></span><br />
vimの手順はスキップした。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="background-color: white; font-size: 16px;">zlib.pcの手動作成を忘れずに(後から見直して忘れてることに気づいた・・・)。</span><br />
<span style="background-color: white; font-size: 16px;"><br /></span>
<span style="background-color: white; font-size: 16px;">zlib.pc</span><br />
<span style="background-color: white;"></span><br />
<span style="background-color: white;">---</span><br />
<span style="background-color: white;">prefix=/local64</span><br />
<span style="background-color: white;">exec_prefix=${prefix}</span><br />
<span style="background-color: white;">libdir=${prefix}/lib</span><br />
<span style="background-color: white;">sharedlibdir=${prefix}/bin</span><br />
<span style="background-color: white;">includedir=${prefix}/include</span><br />
<span style="background-color: white;"><br /></span>
<span style="background-color: white;">Name: zlib</span><br />
<span style="background-color: white;">Description: zlib compression library</span><br />
<span style="background-color: white;">Version: 1.2.7</span><br />
<span style="background-color: white;"><br /></span>
<span style="background-color: white;">Requires:</span><br />
<span style="background-color: white;">Libs: -L${libdir} -L${sharedlibdir} -lz</span><br />
<span style="background-color: white;">Cflags: -I${includedir}</span><br />
<span style="background-color: white;">---</span><br />
<div style="font-size: 16px;">
<span style="background-color: white;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
次にこの手順。OpenALで自分がよくわからなかった点だけ補足。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;"><a href="http://ingar.satgnu.net/devenv/mingw32/local.html">http://ingar.satgnu.net/devenv/mingw32/local.html</a></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
後から見直すと英語のままだった感じ。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
OpenALの手順で出てくる、</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
cmakeって何?って自分からすると<br />
意味がわかりませんでしたorz</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">”<span style="background-color: white;">After </span><tt style="background-color: white;">cmake</tt><span style="background-color: white;">, run </span><tt style="background-color: white;">cmake-gui ..</tt><span style="background-color: white;">, disable MMDEVAPI and click the Configure button followed by the Generate button.</span>”</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
cd ~ cmakeコマンド(最後の「..」も必要)まで実行後、</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<pre style="background-color: #e0e0e0; border: 1px solid rgb(0, 0, 0); font-family: 'Courier New', Courier, fixed; font-size: 10pt; margin-left: 32px; margin-right: 32px; padding: 16px;">cd $LOCALBUILDDIR && \
wget -c http://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2 && \
tar xjf openal-soft-1.14.tar.bz2 && \
cd openal-soft-1.14 && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=$LOCALDESTDIR -G "MSYS Makefiles" ..</pre>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
cmake-gui.exe</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
を起動する。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
「Where is the source code」に下記を入力。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
C:/MinGW/build64/openal-soft-1.14</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
「Where to build the binaries」に下記を入力。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
C:/MinGW/build64/openal-soft-1.14/build</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7lxPsG7Cnp6BTTRmkIZyNXL-VUnZnsHHM6JHS0lES1RUTL0ucrmyBNDbskW6_fKehZXZnxBOB7INYs43hkShk6-8kT1f3kFx9Ak2h97Qx8fOITW3RlPymocG0VkRiiyiZy_7gnkWHkLk/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7lxPsG7Cnp6BTTRmkIZyNXL-VUnZnsHHM6JHS0lES1RUTL0ucrmyBNDbskW6_fKehZXZnxBOB7INYs43hkShk6-8kT1f3kFx9Ak2h97Qx8fOITW3RlPymocG0VkRiiyiZy_7gnkWHkLk/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8.bmp" height="148" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="background-color: white; font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; font-family: inherit;">MMDEVAPIのチェックをはずして、Generate。</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="background-color: white; font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqbBVIFEC9OAB1j2DP37ztM9LBC9T5wbapGZPYeLtAR44NZ0jKtts_LSbpqCtfAdsCrsfKh6rW6mpuwstmCQ8nHmwuGBcHXiuGweLlZ-Rs12-G2SM0Fse54i0dukU5lQCSOg38YGE0QRQ/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8+(2).bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqbBVIFEC9OAB1j2DP37ztM9LBC9T5wbapGZPYeLtAR44NZ0jKtts_LSbpqCtfAdsCrsfKh6rW6mpuwstmCQ8nHmwuGBcHXiuGweLlZ-Rs12-G2SM0Fse54i0dukU5lQCSOg38YGE0QRQ/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8+(2).bmp" height="148" width="200" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Configure。</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0UfOTGtdL15IbTGgLygJ2tQSaZicq6PvO7V5RaWsUbQJ-Ept3mvjkr3fgrs_SeW0PXBBvfNB9HvXGejMEOUVqdoz7nDRrsygNBbyE-24wxDmqgoV8rgkEQX2wQOXQFaWGJbC4vlE0G8U/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8+(3).bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0UfOTGtdL15IbTGgLygJ2tQSaZicq6PvO7V5RaWsUbQJ-Ept3mvjkr3fgrs_SeW0PXBBvfNB9HvXGejMEOUVqdoz7nDRrsygNBbyE-24wxDmqgoV8rgkEQX2wQOXQFaWGJbC4vlE0G8U/s1600/%E6%96%B0%E3%81%97%E3%81%84%E3%83%93%E3%83%83%E3%83%88%E3%83%9E%E3%83%83%E3%83%97+%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8+(3).bmp" height="148" width="200" /></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
最後に、</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<pre style="background-color: #e0e0e0; border: 1px solid rgb(0, 0, 0); font-family: 'Courier New', Courier, fixed; font-size: 10pt; margin-left: 32px; margin-right: 32px; padding: 16px;">make && \
make install</pre>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
で完了。</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">次にこの手順でgtkをビルド・インストール。手順どおりでOK。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;"><a href="http://ingar.satgnu.net/devenv/mingw32/gtk.html">http://ingar.satgnu.net/devenv/mingw32/gtk.html</a></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<span style="color: black; font-family: inherit;">64bitしからやらない予定なので</span>profileを<span style="font-family: inherit;">固定で設定する。</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;"><br /></span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\msys\1.0\etc\profile</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">下記のようにコメントして、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">#if
[ -f /local32/etc/profile.local ]; then</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">#
source /local32/etc/profile.local</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">#fi</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;"><br /></span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">下記を追加。</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">source
/local64/etc/profile.local</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">msys起動時のデフォルトの環境設定は以降、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\local64\etc\profile.local</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">に記述していく。</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;">C:\MinGW\msys\1.0\etc\fstab</span><span style="font-family: inherit;">に下記を追記。</span></div>
<div style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">perlは別途インストールした場合だけ。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:/Perl64
/opt/perl</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:/Python27
/usr/python</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">C:\MinGW\local64\etc\profile.local</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">に下記を追記。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">export
PATH="$PATH:/usr/python"</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">export
PYTHONPATH=/usr/python</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/lib/pkgconfig:/usr/python/Lib/pkgconfig</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">C:\MinGW\msys\1.0\msys.bat</span></div>
<div>
を再起動。</div>
<div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">以降、各種tarをgnuなどから落として入れていきます。</span><br />
<span style="font-family: inherit;">tarは全て、</span><br />
<br />
$LOCALBUILDDIR、つまり、C:\MinGW\build64<br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">に配置します。</span>
</div>
<div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(4)intltool</span></div>
<div style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf intltool-0.50.2.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
intltool-0.50.2</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure --prefix=/opt</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">※手順(2)で</span><span style="font-family: inherit;">perlの</span><span style="font-family: inherit;">新しいバージョンを入れた場合は、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">下記4ファイルの先頭を</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\opt\bin\intltool-extract</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\opt\bin\intltool-merge</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\opt\bin\intltool-prepare</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">C:\MinGW\opt\bin\intltool-update</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">下記のようにパスが通るようにする</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">#!/c/Perl64/bin/perl
-w</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<br />
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;">(5)local packagesバージョンアップ</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・nasm</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf nasm-2.10.07.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
nasm-2.10.07</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・libpng</span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf libpng-1.5.14.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
libpng-1.5.14</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・libjpeg</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
zxf jpegsrc.v9.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
jpeg-9</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--prefix=$LOCALDESTDIR --enable-shared --enable-static
--build=x86_64-w64-mingw32</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・libtiff</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf tiff-4.0.3.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
tiff-4.0.3</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・smpeg</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">svn
co -r 399 svn://svn.icculus.org/smpeg/tags/release_0_4_5 smpeg-399</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
smpeg-399</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./autogen.sh</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --enable-mmx
--disable-gtk-player --disable-opengl-player --disable-gtktest </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
CXXLD='$(CXX) -no-undefined'</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・bullet</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf bullet-2.81-rev2613.tgz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
bullet-2.81-rev2613</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./autogen.sh</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32 --disable-demos</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(6)gtk+のバージョンアップ</span></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: inherit;">(たまにmsysを再起動しているけどバックアップをとるためにやったので、必須ではないかも。)</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;">・gettext</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf gettext-0.18.2.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">mv
gettext-0.18.2 gettext-0.18.2-runtime</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gettext-0.18.2-runtime</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cat
gettext-tools/woe32dll/gettextlib-exports.c | grep -v rpl_opt >
gettext-tools/woe32dll/gettextlib-exports.c.new</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">mv
gettext-tools/woe32dll/gettextlib-exports.c.new
gettext-tools/woe32dll/gettextlib-exports.c</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">export
CFLAGS="$CFLAGS -O2" </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">export
CXXFLAGS="$CXXFLAGS -O2" </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32
--enable-threads=win32 --enable-relocatable </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gettext-runtime</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf gettext-0.18.2.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">mv
gettext-0.18.2 gettext-0.18.2-static</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gettext-0.18.2-static</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">export
CFLAGS="$CFLAGS -O2" </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><span style="color: black;">export
CXXFLAGS="$CXXFLAGS -O2" </span>
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--prefix=$LOCALDESTDIR --build=x86_64-w64-mingw32
--enable-threads=win32 --enable-relocatable --disable-shared</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">install
gettext-tools/src/msgfmt.exe $LOCALDESTDIR/bin</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">install
gettext-tools/src/msgmerge.exe $LOCALDESTDIR/bin</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">install
gettext-tools/src/xgettext.exe $LOCALDESTDIR/bin</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;">msysを再起動。</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・libffi</span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf libffi-3.0.12.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
libffi-3.0.12</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure --prefix=$LOCALDESTDIR
--host=x86_64-w64-mingw32</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・glib : (2.35.8はエラー解決できなかった・・・)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xf glib-2.34.3.tar.xz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
glib-2.34.3</span></span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR<span style="color: black;">
</span><span style="color: black;">--with-pcre=internal
--enable-debug=no --disable-gtk-doc</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・pkg-config</span></div>
<div style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf pkg-config-0.28.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
pkg-config-0.28</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・freetype</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
zxf freetype-2.4.11.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
freetype-2.4.11</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・libxml2</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
zxf libxml2-2.9.0.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
libxml2-2.9.0</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR
--with-zlib=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・fontconfig</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf fontconfig-2.10.91.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
fontconfig-2.10.91</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR --enable-libxml2
--disable-docs</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・pixman</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xzf pixman-0.28.2.tar.gz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
pixman-0.28.2</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・cario</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">xz
-d -c cairo-1.12.14.tar.xz | tar xv</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
cairo-1.12.14</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・pango</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xf pango-1.33.7.tar.xz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
pango-1.33.7</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR
--with-included-modules=yes --disable-debug --disable-gtk-doc</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・atk</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xf atk-2.7.91.tar.xz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
atk-2.7.91</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・gdk-pixbuf</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xf gdk-pixbuf-2.27.1.tar.xz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gdk-pixbuf-2.27.1</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR
--with-included-loaders=yes --without-libjasper --disable-debug</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">msysを再起動。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;"><br /></span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">・gtk+</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
$LOCALBUILDDIR</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">tar
xf gtk+-2.24.16.tar.xz</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gtk+-2.24.16</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./configure
--build=x86_64-w64-mingw32 --prefix=$LOCALDESTDIR
<span style="color: black;">--with-gdktarget=win32
--with-included-immodules=ime --disable-debug --disable-gtk-doc</span></span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">rm
gtk/gtk.def</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">make
install</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
demos</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">./pixbuf-demo</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">cd
gtk-demo</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black;"><span style="font-family: inherit;">gtk-demo</span></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">これでデモ画面がでればgtkがバージョンあがったはず。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-72322032634669979752013-04-01T03:02:00.000+09:002013-04-06T12:56:08.491+09:00mypaintのビルド<br />
gimp-painterに組み込まれ中のmypaintとはなんぞや?<br />
と思ったので、ビルド&実行。<br />
pythonのコードが結構ある。<br />
pydev入れると、<br />
eclipseでのdebugができるのかな。<br />
<br />
環境はgimpビルドと同じでやってみた。<br />
openSUSE12.3 64bit(VirtualBox on Windows7)<br />
<a href="http://gimp-builder.blogspot.jp/2013/03/opensuse123-64bitvirtualbox-on.html">openSUSE12.3 64bit(VirtualBox on Windows7)でgimp2.8.4、gimp2.9~、gimp-painterをビルド(その2)</a>(※)を実行した後に試しています。<br />
<br />
ソース<br />
git://gitorious.org/mypaint/mypaint.git<br />
<br />
/home/admin/git/mypaint<br />
にcloneしました。<br />
<br />
下記パッケージをインストール<br />
(これで足りない場合は※の手順のパッケージを参照して・・・)<br />
scons<br />
libjson-devel<br />
swig<br />
python-numpy-devel<br />
python3-gobject-devel<br />
<br />
ビルドとインストール<br />
cd /home/admin/git/mypaint<br />
scons<br />
scons prefix=/home/admin/testbin/mypaint install<br />
<br />
起動(dolphinなどから起動)<br />
/home/admin/testbin/mypaint/bin/mypaint<br />
<br />
gimpもmypaintも日々更新が入るので、<br />
差分を見ながら勉強中。<br />
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-30989789800212999912013-03-30T11:11:00.001+09:002013-03-30T22:38:49.061+09:00ゲストOS(VirtualBox)側でWacomのペンタブを使用する<br />
<div>
Vmwareでもそうだったが、</div>
intuos 5 mediumをホストOS(Windows7)側でUSB3.0接続していると、<br />
うまくゲスト側に切り替えられなかった。<br />
ホスト側をUSB2.0にするとうまくいった。<br />
<br />
あと、VirtualBOXでは<br />
「マウス統合の無効化」設定をしないとペンのカーソルが変。<br />
<div>
<br />
ペンタブの情報量はよくわからないけど、<br />
ホスト側でUSB3で使ったほうが<br />
書き味パフォーマンスはいいのかな・・・。<br />
<br />
それにしても、openSUSEにデフォルトで<br />
wacomのドライバパッケージ(wacomが作っているわけではないみたいだが)が<br />
入ってるってのはすごいな。。<br />
linux全般入っているのだろうか。<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-3104619642144663412013-03-20T09:31:00.000+09:002013-03-27T23:46:11.416+09:00シングルウィンドウモードでツールボックスを右側に表示(gimp2.8)<span style="font-family: inherit;"><br />
・シングルウィンドウモードで右側にツールボックスを持ってくる</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">そっこーブログタイトルからそれたけど、、</span><br />
<span style="font-family: inherit;">(Windowsビルド手順評価中のつなぎ・・・)</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><a href="http://www.partha.com/">partha先生</a>(※)の</span><br />
<span style="font-family: inherit;">gimp画面を見ていたら、</span><br />
<span style="font-family: inherit;">できるんだなーと思ったんだけど、</span><br />
<span style="font-family: inherit;">ドッキング可能なダイアログについては、直感的に操作できるけど、</span><br />
<span style="font-family: inherit;">ツールボックスの移動については、手順がよくわからん。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">四苦八苦しながらやっとできた・・・。</span><br />
<span style="font-family: inherit;">まず分割モード?(シングルウィンドウモードじゃないやつ)で、</span><br />
<span style="font-family: inherit;">「ツールボックス」ウィンドウを</span><br />
<span style="font-family: inherit;">「GIMP (GNU Image Manipulation Program)」ウィンドウより右側に持っていく。</span><br />
<span style="font-family: inherit;">シングルウィンドウモードにする。</span><br />
<span style="font-family: inherit;">以上。</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">これが</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ4iaVQm3yuPrTOGUrRVwelNZUyBjgxKaNr0h1mJ8noLqIYZL9Ut5PBGgZkhQsl1-LSv4z0D5Nq96TXh4fCs6lurCeKJqNO9waWnQmtp3lIZTIAk82Vya8T7lBOSuxaBZO7IuZnsY3a8o/s1600/%E5%88%86%E5%89%B2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ4iaVQm3yuPrTOGUrRVwelNZUyBjgxKaNr0h1mJ8noLqIYZL9Ut5PBGgZkhQsl1-LSv4z0D5Nq96TXh4fCs6lurCeKJqNO9waWnQmtp3lIZTIAk82Vya8T7lBOSuxaBZO7IuZnsY3a8o/s1600/%E5%88%86%E5%89%B2.png" height="148" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">こうなる。</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3YNJkwAo3_Tmw1hGHsAcOaWtWU6AQP2yWPxJfu9rUGNk7zAN18D0yqaIiOq5UntLj16EjD4ACWBC3t6wWJWn07XC9ZjGzA3T0bIhXqGQUFGT9MOa0cq9pepZwyRzgoe9Q_SwkxwGf3Sw/s1600/gimp%E7%94%BB%E9%9D%A2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3YNJkwAo3_Tmw1hGHsAcOaWtWU6AQP2yWPxJfu9rUGNk7zAN18D0yqaIiOq5UntLj16EjD4ACWBC3t6wWJWn07XC9ZjGzA3T0bIhXqGQUFGT9MOa0cq9pepZwyRzgoe9Q_SwkxwGf3Sw/s1600/gimp%E7%94%BB%E9%9D%A2.png" height="148" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">(※)</span><br />
<span style="font-family: inherit;">手順は素人にはなかなか難解ですが・・・、</span><br />
<span style="font-family: inherit;">Windowsでのgimpビルド手順(2.7だけど)を紹介してくれている人。</span><br />
<span style="font-family: inherit;">2.9のビルドイメージも公開してくれてたりする。</span><br />
<br />Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-23591628726843545032013-03-15T01:52:00.003+09:002013-04-07T01:18:34.913+09:00openSUSE12.3 64bit(VirtualBox on Windows7)でgimp2.8.4、gimp2.9~、gimp-painterをビルド(その2)<span style="font-family: inherit;">eclipse周りの設定~debug実行まで。</span><br />
<span style="font-family: inherit;">下記のような構成。</span><br />
<span style="font-family: inherit;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgptzWA3tR5cHHMf4a_Ht9cvKJfu59t3QquHihJMDlXbLP1ZgHiYig7DQX9mUPCkj9nQ4Em0kVllF2KxjYricoIpn8py2VseyX2kiiS754dJaHfEYTpOPCHAsDNnvK6b1qbs-FWa519_10/s1600/%E7%92%B0%E5%A2%83.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgptzWA3tR5cHHMf4a_Ht9cvKJfu59t3QquHihJMDlXbLP1ZgHiYig7DQX9mUPCkj9nQ4Em0kVllF2KxjYricoIpn8py2VseyX2kiiS754dJaHfEYTpOPCHAsDNnvK6b1qbs-FWa519_10/s200/%E7%92%B0%E5%A2%83.png" height="100" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
<br />
</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(1)eclipse
CDTのインストール</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">下記tarをダウンロードしてきて展開。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">eclipse-cpp-juno-SR2-linux-gtk-x86_64.tar.gz</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/eclipse</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">配下に実行ファイル「eclipse」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">がくるように配置。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">git cloneソース置き場として、下記フォルダを作成。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/git/</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(2)eclipseからgit clone・プロジェクト作成</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/eclipse/eclipse</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">を起動。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/eclipse/workspace</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">をworkspaceとした。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">・gimpのソース。</span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Window」/「Open
Perspective」から「Git
Repository Exploring」を起動</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Clone
a Git repository」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">uriに「git://git.gnome.org/gimp」を入れて、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="color: black; font-family: inherit;">「Next」。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Next」。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">Directoryを「/home/admin/git/gimp」として、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Finish」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gimp-painterも同じように追加する。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">git://git.sourceforge.jp/gitroot/gimp-painter/gimp-painter-2.7.git</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">eclipse上でcloneが終わったら、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/git/gimp/</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">を丸ごと、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/home/admin/git/gimp-2.8/</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">としてコピーする。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">コピーが完了したら、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">eclipse上で、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Add
an existing local Git Repository to this view」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">で</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「/home/admin/git/gimp-2.8/.git」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">を追加する。</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqS-nOIkDvZio1n6R_QYF7ip4MBx0i1B0qQjdZA_5XXCkXcb7YPmB4YtABbN1n6d5WRs9TfNecCxVVWXIxbtKN_cypx36_pbJh2EuHvSkJ3GPofVUeqkh_vYYo367EmIO-5l7XYBknrqw/s1600/openSUSE12_02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqS-nOIkDvZio1n6R_QYF7ip4MBx0i1B0qQjdZA_5XXCkXcb7YPmB4YtABbN1n6d5WRs9TfNecCxVVWXIxbtKN_cypx36_pbJh2EuHvSkJ3GPofVUeqkh_vYYo367EmIO-5l7XYBknrqw/s200/openSUSE12_02.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gimp-2.8/Branches/Remote Tracking/origin/gimp-2-8</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">をダブルクリックしてチェックアウトする。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgugGHKwZIoy06t6zBTnMhd6DU7XAzK6Bkz6dtmax-WD8qn8vnIaGyKz1QQyRYiSrCbyDUjrL-PPfWrJanbtWbCV9zUxmSLmEoAj5fYoPImYBkiCc8DkaEI8ezuBQYlBSiQLZGd4EpOmuA/s1600/openSUSE12_03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgugGHKwZIoy06t6zBTnMhd6DU7XAzK6Bkz6dtmax-WD8qn8vnIaGyKz1QQyRYiSrCbyDUjrL-PPfWrJanbtWbCV9zUxmSLmEoAj5fYoPImYBkiCc8DkaEI8ezuBQYlBSiQLZGd4EpOmuA/s200/openSUSE12_03.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「C/C++」パースペクティブで、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">importして、プロジェクト「gimp」を追加する。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhudk7aRmoTIG9Y7MBh30VNtC0cu6AIyGo3Dz2Nt0Ww1MxE9Kn9DFpzd-2I7KC7J560Ka2MxEirQ1YhvQxH23Tbw6ZnuznyQfmpMEBeRWxqEgpVrtNQTdyIU9H4r8sXjBE4QDEw4CnkHUk/s1600/openSUSE12_04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhudk7aRmoTIG9Y7MBh30VNtC0cu6AIyGo3Dz2Nt0Ww1MxE9Kn9DFpzd-2I7KC7J560Ka2MxEirQ1YhvQxH23Tbw6ZnuznyQfmpMEBeRWxqEgpVrtNQTdyIU9H4r8sXjBE4QDEw4CnkHUk/s200/openSUSE12_04.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTVy6wHHhzKPC-OKgPqT3soUMN6Vmf1bJPBCpmFkT_RjDD45N5LiC_TKYsO6w82LHIicRgqSxXyT7WkOBauViqRtzvgD-ADsgDigwtFNqzABcf6iaNAIbubQCvrQ8LuWrzdYYySlBMH8/s1600/openSUSE12_05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwTVy6wHHhzKPC-OKgPqT3soUMN6Vmf1bJPBCpmFkT_RjDD45N5LiC_TKYsO6w82LHIicRgqSxXyT7WkOBauViqRtzvgD-ADsgDigwtFNqzABcf6iaNAIbubQCvrQ8LuWrzdYYySlBMH8/s200/openSUSE12_05.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj95GT8HHWv89lg_g-mLU2B5sqXEF5tdPGs19Hw21iKvjFhju8X20m0gqDx_Ehv-Q23KGMIlh5saLmLDcluQsSCt-4UXgAerLbQ1Ivm4kYts74Ha8UHAtV0zbcX0-O7KVQv8CGzQKGWcQ0/s1600/openSUSE12_06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj95GT8HHWv89lg_g-mLU2B5sqXEF5tdPGs19Hw21iKvjFhju8X20m0gqDx_Ehv-Q23KGMIlh5saLmLDcluQsSCt-4UXgAerLbQ1Ivm4kYts74Ha8UHAtV0zbcX0-O7KVQv8CGzQKGWcQ0/s200/openSUSE12_06.png" height="150" width="200" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;">同じように、「gimp-2.8」を追加。</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0vl7JUzz3WCg8We6YzWV0eQaIiZQ-8nzot0MDYAZ_pOj-s83d8PSVR6Jt-Kwpla9ZwwOkt9HsPgNJNOrn0rpjQjBIzegPBXmf9xxrHU3WjfwUuyyVKQqFX9aJChFDeXbQ1h6cgJ4RDZ4/s1600/openSUSE12_07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0vl7JUzz3WCg8We6YzWV0eQaIiZQ-8nzot0MDYAZ_pOj-s83d8PSVR6Jt-Kwpla9ZwwOkt9HsPgNJNOrn0rpjQjBIzegPBXmf9xxrHU3WjfwUuyyVKQqFX9aJChFDeXbQ1h6cgJ4RDZ4/s200/openSUSE12_07.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
同じように、「gimp-painter-2.7」を追加。 </span><br />
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gimp-painter-2.7/Branches/Remote Tracking/origin/postprocess</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">をダブルクリックしてチェックアウトする。</span><br />
ちなみにpostprocessだと、書いた後にぬるっと後から効果が出てくる感じ。<br />
ブランチのorigin/gimp-2.8なら、書きと同時に表示されます。<br />
postprocessはすばやい書き重視の上級者やlowスペック向け?<br />
2.9で実装中のprecisionで遅くなるかもしれない?対応?<br />
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ep280_Vxnp863o2Ki91_4V2ursuiJ7YLDYw9aBurJZWpCPZELCt7hnk65Kvl5QgAI2ThN7TdUvbwrMGEn2BGg9uiV2EBb4rQIsWKHhApBjmHdgqn_Q9UOMybIY_6QmZpkxhxxlIByOI/s1600/openSUSE12_08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ep280_Vxnp863o2Ki91_4V2ursuiJ7YLDYw9aBurJZWpCPZELCt7hnk65Kvl5QgAI2ThN7TdUvbwrMGEn2BGg9uiV2EBb4rQIsWKHhApBjmHdgqn_Q9UOMybIY_6QmZpkxhxxlIByOI/s200/openSUSE12_08.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"> 追加後イメージ。</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4l2-EQa74GiDXi37_DPajzjyB6rdVf_4KJE9KtqESIozkaxsmvfjAzXJjL_nixNoWWgulNskfHsgbqJi_8KmIukF8lkEI-kn73gQjUrc_LL75lEXE5KS4M2UzxEzVYeMHuzgrgmOjwo/s1600/openSUSE12_09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp4l2-EQa74GiDXi37_DPajzjyB6rdVf_4KJE9KtqESIozkaxsmvfjAzXJjL_nixNoWWgulNskfHsgbqJi_8KmIukF8lkEI-kn73gQjUrc_LL75lEXE5KS4M2UzxEzVYeMHuzgrgmOjwo/s200/openSUSE12_09.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span>
gitなので、それぞれのプロジェクトで、<br />
右クリックでteam/share projectsしておく。<br />
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gimp2.9以上用の追加リポジトリとして、下記bablとgeglを追加。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">プロジェクトは作らない(eclipseでコードを参照したければ作ってもよい)。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">基本的にこの2つは、</span><span style="font-family: inherit;">gimp最新をビルドする前に、</span><br />
<span style="font-family: inherit;">取得してビルド・インストールしておく。</span><br />
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">git://git.gnome.org/babl</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcCP0wNYFVGYLoDJXJBLaj3NXOanKHz2QeLjZL6qqcAgjwBR5ZdkdRP2z2jwA_ESQjo7HL_pcya9K8m3dTI_fMqP3HfOkM_XQRB-azHUCD041b0xKGYaKE5mlqCQL2JCyJE9cJInauado/s1600/openSUSE12_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcCP0wNYFVGYLoDJXJBLaj3NXOanKHz2QeLjZL6qqcAgjwBR5ZdkdRP2z2jwA_ESQjo7HL_pcya9K8m3dTI_fMqP3HfOkM_XQRB-azHUCD041b0xKGYaKE5mlqCQL2JCyJE9cJInauado/s200/openSUSE12_10.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZz50weBGAUBpwcvSSSCPhqJM3SxbN39FDDGIqElZ5QvnUTizmbpXbiKP2Aa50UzzUszBWMct-EfmjHq-YnSCDJ-ovR3aesz6i5-e_r6QZixK5GJkwXzlQgmzHyaeoxZn2NYliKiEbWig/s1600/openSUSE12_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZz50weBGAUBpwcvSSSCPhqJM3SxbN39FDDGIqElZ5QvnUTizmbpXbiKP2Aa50UzzUszBWMct-EfmjHq-YnSCDJ-ovR3aesz6i5-e_r6QZixK5GJkwXzlQgmzHyaeoxZn2NYliKiEbWig/s200/openSUSE12_11.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ZsEfHIn6TS3WzRQAZhyphenhyphenE7a0DKMoB-KU7I7kQgsBdfHrgeTe04_hszTC-bmcResffhMTiVIEqANdG-KU_KzYubcP4NVRGkNV2iRpq-PCONVMkew46EyQ4lYQ0nFpKImXlv9pCbJ10TDI/s1600/openSUSE12_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ZsEfHIn6TS3WzRQAZhyphenhyphenE7a0DKMoB-KU7I7kQgsBdfHrgeTe04_hszTC-bmcResffhMTiVIEqANdG-KU_KzYubcP4NVRGkNV2iRpq-PCONVMkew46EyQ4lYQ0nFpKImXlv9pCbJ10TDI/s200/openSUSE12_12.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">git://git.gnome.org/gegl</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioPBga3nJ7RSSh_Z4dOcH__t2jL3QHmQKXu0UV3bb7ycYiwC_9rvSqh0Rv2kqvYLV_kk4SRexfQy7H0CfUHa4HBD21XZmuOKXAZT1LcU3K_OQCAhBxZ0gzZ-b_Bj16bCrsIi1pV0_s0IY/s1600/openSUSE12_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioPBga3nJ7RSSh_Z4dOcH__t2jL3QHmQKXu0UV3bb7ycYiwC_9rvSqh0Rv2kqvYLV_kk4SRexfQy7H0CfUHa4HBD21XZmuOKXAZT1LcU3K_OQCAhBxZ0gzZ-b_Bj16bCrsIi1pV0_s0IY/s200/openSUSE12_13.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLhBuobzqfXDtzvXopA8RRCL59aXSMKZQKkR4vmQO_dpSD2aXSK63yJm_1K3TJrsyisBsT588h714xW-tr2UNjoWiqb9j0Ar47FLRV-eylTo40N1pO1TB_AjaFlmaolV99WywysJ1EYGc/s1600/openSUSE12_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLhBuobzqfXDtzvXopA8RRCL59aXSMKZQKkR4vmQO_dpSD2aXSK63yJm_1K3TJrsyisBsT588h714xW-tr2UNjoWiqb9j0Ar47FLRV-eylTo40N1pO1TB_AjaFlmaolV99WywysJ1EYGc/s200/openSUSE12_14.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC__I5wUTfHqT2gy_NYyATA-Fy1nttI3Zxzylb2SAhXxwRw-XqMPZQMguxuPsp9NvOmr08ajqt8HS4xbMLYaMUft2igpy1rt6GGmcj6vZN_U416gMAp6HU3NDJS44cBbXHxX6pI12adbQ/s1600/openSUSE12_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC__I5wUTfHqT2gy_NYyATA-Fy1nttI3Zxzylb2SAhXxwRw-XqMPZQMguxuPsp9NvOmr08ajqt8HS4xbMLYaMUft2igpy1rt6GGmcj6vZN_U416gMAp6HU3NDJS44cBbXHxX6pI12adbQ/s200/openSUSE12_15.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">追加した後。</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3y38nMeTMozUhZEW6ctuN_-GWIkOQpUFa51Vz-_vGc3r0ffAzydTm7QaHlZF2Rj9apcFeQNbBh_2P7IjgpzQBWSUqHZVqXvZUjnNcGsSQ13XShmY-svR7BF9sl55Nd7PnLyvbqMtAav4/s1600/openSUSE12_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3y38nMeTMozUhZEW6ctuN_-GWIkOQpUFa51Vz-_vGc3r0ffAzydTm7QaHlZF2Rj9apcFeQNbBh_2P7IjgpzQBWSUqHZVqXvZUjnNcGsSQ13XShmY-svR7BF9sl55Nd7PnLyvbqMtAav4/s200/openSUSE12_16.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"> </span><br />
<span style="font-family: inherit;"><br />
</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(3)gimp2.9以上用のbabl・geglビルド</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;"><br /></span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><b> </b>※YaSTでバージョン確認してバージョンが古い場合のみ</span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;"><br /></span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">・babl(0.1.11以上)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">※-j4の4はCPUコア数。自分の環境に合わせて適切な数値をあわせる。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">※できれば「-----」の区切りごとにコンソールを再起動すること。</span><br />
<span style="font-family: inherit;">(exportとか評価していないので・・・</span><br />
<span style="font-family: inherit;"> exportのある次のやつだけ再起動でよいかも)。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/git/babl</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">./autogen.sh
--prefix=/home/admin/testopt/gimp-2.9</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
-j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
install -j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">・gegl(0.2.1以上)</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/git/gegl</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">export
LANG="en_US.UTF-8"</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">./autogen.sh
--prefix=/home/admin/testopt/gimp-2.9 --disable-gtk-doc</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
-j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
install -j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b>(4)gimpビルド・インストール</b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<br />
<br />
・gimp(最新)</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">-----</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/git/gimp</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
export CFLAGS="$CFLAGS -O0"<br />
export CXXFLAGS="$CXXFLAGS -O0"<br />
<span style="font-family: inherit;">export
XVFB_RUN=/usr/bin/xvfb-run.sh</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">export
PKG_CONFIG_PATH=/home/admin/testopt/gimp-2.9/lib64/pkgconfig:$PKG_CONFIG_PATH</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">./autogen.sh
--prefix=/home/admin/testbin/gimp-2.9
--with-gimpdir=/testhome/gimp-2.9 --enable-debug</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
-j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
install -j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">・gimp(2.8系)</span><br />
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;">-----</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/git/gimp-2.8</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
export CFLAGS="$CFLAGS -O0"<br />
export CXXFLAGS="$CXXFLAGS -O0"<br />
<span style="font-family: inherit;">export
XVFB_RUN=/usr/bin/xvfb-run.sh</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">./autogen.sh
--prefix=/home/admin/testbin/gimp-2.8
--with-gimpdir=/testhome/gimp-2.8 --enable-debug</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
-j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
install -j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span>
<br />
<span style="font-family: inherit;">・gimp-painter</span><br />
<div>
<span style="font-family: inherit;"><br /></span></div>
</div>
<div>
<span style="font-family: inherit;">gimp-painterの下記コードを一部修正</span></div>
<span style="font-family: inherit;">gimp-painter-2.7/autogen.sh</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ACLOCAL=${ACLOCAL-aclocal-1.11}</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">~</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">AUTOMAKE=${AUTOMAKE-automake-1.11}</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">↓下記のように12にする</span></div>
<div>
<br /></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ACLOCAL=${ACLOCAL-aclocal-1.12}</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">~</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">AUTOMAKE=${AUTOMAKE-automake-1.12}</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/git/gimp-painter-2.7</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
export CFLAGS="$CFLAGS -O0"<br />
export CXXFLAGS="$CXXFLAGS -O0"<br />
<span style="font-family: inherit;">export
XVFB_RUN=/usr/bin/xvfb-run.sh</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">./autogen.sh
--prefix=/home/admin/testbin/gimp-painter-2.7
--with-gimpdir=/testhome/gimp-painter-2.7 --enable-debug</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
-j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make
install -j4</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">eclipse上で3つのプロジェクトをF5でリフレッシュ</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">フォルダ構成はこんな感じ。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFEYyGu46j8a8Dvl5Xc27y-TqojEeruSEJNqRANLSokbcTYNIL9FK4KM1x8ChsVk8hyphenhyphen9ooNwc4lP7sksiPS6Uor6WnCgGCPF3aSZtc18MTQLV-dZjDhTrj_Pz65dNn-eqvNgD8iRmxsCQ/s1600/openSUSE12_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFEYyGu46j8a8Dvl5Xc27y-TqojEeruSEJNqRANLSokbcTYNIL9FK4KM1x8ChsVk8hyphenhyphen9ooNwc4lP7sksiPS6Uor6WnCgGCPF3aSZtc18MTQLV-dZjDhTrj_Pz65dNn-eqvNgD8iRmxsCQ/s200/openSUSE12_17.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><b>(5)eclipseプロジェクトの</b><b>include</b><b>設定</b></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Paths
and Symbols」からincludesを設定</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp」プロジェクトは下記のように設定</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「GNU C」、「GNU C++」に設定</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmnbzJ-NkqFxyuwrl9DG-ISSxxVtqeQ0g4zGvBSw0fAAaP8clKigkwygesN3ZSEZhxu-0_uy_t6F9ZYePc5yxuJ5I0Ji6R3fGKscC7aYrsv-A1xAv7Askvx6cOmZTBgXY3rGbWyOgn7No/s1600/openSUSE12_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmnbzJ-NkqFxyuwrl9DG-ISSxxVtqeQ0g4zGvBSw0fAAaP8clKigkwygesN3ZSEZhxu-0_uy_t6F9ZYePc5yxuJ5I0Ji6R3fGKscC7aYrsv-A1xAv7Askvx6cOmZTBgXY3rGbWyOgn7No/s200/openSUSE12_19.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp-2.8」、「gimp-painter-2.7」プロジェクトは下記のように設定</span></div>
<div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「GNU C」、「GNU C++」に設定</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9M5Ht5l1YtkLvvjUdjnErBFXvIV-DIFc_oCPGC-REGzvoHHK364iwn1X4LJZkJlGtrE83C20SWYU4vguSm4qHJC6if271NaOtypMaaoS1dXVfOjh3MWq3EcPsjy2Eyz7CYjxjZ1c4nZ8/s1600/openSUSE12_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9M5Ht5l1YtkLvvjUdjnErBFXvIV-DIFc_oCPGC-REGzvoHHK364iwn1X4LJZkJlGtrE83C20SWYU4vguSm4qHJC6if271NaOtypMaaoS1dXVfOjh3MWq3EcPsjy2Eyz7CYjxjZ1c4nZ8/s200/openSUSE12_18.png" height="150" width="200" /></span></a></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><b>(6)eclipseプロジェクトのdebugger</b><b>設定</b></span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「Debug
Configurations」から「C/C++
Application設定」で</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">3つのプロジェクトについて設定</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp-2.8」</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiM8oHE-E7c4Qu77G6bbBE_UO43ghGf92ReKSOlHVvlzByE4CEwoeas2ysVNiLGPuQ_chNdrJYRBgJ4FZtRbMp-BBgwGNyCdQsUswc6DXgsC_nFjd424hcKRh2L_I-40N3oMgRR9cE7g0/s1600/openSUSE12_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiM8oHE-E7c4Qu77G6bbBE_UO43ghGf92ReKSOlHVvlzByE4CEwoeas2ysVNiLGPuQ_chNdrJYRBgJ4FZtRbMp-BBgwGNyCdQsUswc6DXgsC_nFjd424hcKRh2L_I-40N3oMgRR9cE7g0/s200/openSUSE12_20.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzmsq4YvVqueTw5U7pbgiXep4ahSKXRHLWvj2HUfCuUdOPV7uYQBY4ClRc1WxKhxAL0lKrPZ5nnkuwT79q3AlPBopGuzuFb3LCVS9FO_WSNxRgg1l71PIzT9vGlTEFCdUagI9jKJrAA7Y/s1600/openSUSE12_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzmsq4YvVqueTw5U7pbgiXep4ahSKXRHLWvj2HUfCuUdOPV7uYQBY4ClRc1WxKhxAL0lKrPZ5nnkuwT79q3AlPBopGuzuFb3LCVS9FO_WSNxRgg1l71PIzT9vGlTEFCdUagI9jKJrAA7Y/s200/openSUSE12_21.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp-painter-2.7」。Debugger設定は「gimp-2.8」と同じ。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQZjwLBtwAfX4vCxXQmrI1vQTF8hv3SnIao-7FIQy13raPQvFEqxc5h2WXkZv_rOm2lJ5ee-xLtnfywMwPfmYUSZIohSi7WzpmUqe2aC1vlNXDKPvqpFL_jrrQ1nbyGE74Wh2Wr2zz06I/s1600/openSUSE12_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQZjwLBtwAfX4vCxXQmrI1vQTF8hv3SnIao-7FIQy13raPQvFEqxc5h2WXkZv_rOm2lJ5ee-xLtnfywMwPfmYUSZIohSi7WzpmUqe2aC1vlNXDKPvqpFL_jrrQ1nbyGE74Wh2Wr2zz06I/s200/openSUSE12_22.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp-2.9」。Debugger設定は「gimp-2.8」と同じ。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOCMIZrDmARTnLMWUj73ejH8El7YybH6sAKD_zqyjFjACnUUjtV6817Eqky73EPEwiZjnoEpdbYJoquHmLaPx5a1gAd-8rKuoFyXNyCjE40NYSWcMZ39TFua2gqQRTjQfKC3K8C6tqeEA/s1600/openSUSE12_23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOCMIZrDmARTnLMWUj73ejH8El7YybH6sAKD_zqyjFjACnUUjtV6817Eqky73EPEwiZjnoEpdbYJoquHmLaPx5a1gAd-8rKuoFyXNyCjE40NYSWcMZ39TFua2gqQRTjQfKC3K8C6tqeEA/s200/openSUSE12_23.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「gimp-2.9」だけ、下記environment設定を追加。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMEDJn3FudSRyyZjwEIkKrnkuaZlUx3E78eX327ZceFeWGJNDhyphenhyphenxKTxz2AkEaJUrQiJSBBZ61EqjcEkG_dBrdYt4S8fuzCmWVZnhg_WyDGi6w-Y6XdZA72GixPX6TdA2rCfrXmCEzjO8/s1600/openSUSE12_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMEDJn3FudSRyyZjwEIkKrnkuaZlUx3E78eX327ZceFeWGJNDhyphenhyphenxKTxz2AkEaJUrQiJSBBZ61EqjcEkG_dBrdYt4S8fuzCmWVZnhg_WyDGi6w-Y6XdZA72GixPX6TdA2rCfrXmCEzjO8/s200/openSUSE12_24.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(7)gdb用設定ファイル</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">/usr/bin/.gdbinit</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">を空で作成する。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ここだけ、sudoが必要。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">sudo
vi</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">esc</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">:w
/usr/bin/.gdbinit</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">esc</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">:q</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">-----</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(8)起動</span></b></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">gimp-painter-2.7をeclipseから起動すると、こんな感じ。</span><br />
<span style="font-family: inherit;">3つのプロジェクトを同時には起動できないけど、</span><br />
<span style="font-family: inherit;">それぞれ独立したフォルダ管理になっているはずなので、</span><br />
<span style="font-family: inherit;">環境が上書きされたりしないはず。。?</span></div>
<div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNdEYmNxkWfgdUSeWXhgvyEPrlEOAEgaZjVY5Bim121fp9iEC2Ttes5pIRphlqQbJKfOpAc69Sg3ZSdszg69Ll3ioPxVIxYTJvu5R8uJXTi9DykrNt1cmnUs-ZEAn7bkj1UQTDhbnchzc/s1600/openSUSE12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNdEYmNxkWfgdUSeWXhgvyEPrlEOAEgaZjVY5Bim121fp9iEC2Ttes5pIRphlqQbJKfOpAc69Sg3ZSdszg69Ll3ioPxVIxYTJvu5R8uJXTi9DykrNt1cmnUs-ZEAn7bkj1UQTDhbnchzc/s320/openSUSE12.png" height="240" width="320" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">※gimp-painter-2.7を停止時に、</span><br />
<span style="font-family: inherit;">/home/admin/testhome/gimp-painter-2.7/mypaint-brushes/</span><br />
<span style="font-family: inherit;">がないエラーになるので手動で作成してください。</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<b>(9)参考になるかもしれないサイト</b><br />
<br />
なんかそっくりなことをやっているのを見つけたので。。<br />
同時起動できるみたい。<br />
http://ninedegreesbelow.com/photography/build-gimp-in-prefix.html<br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0tag:blogger.com,1999:blog-4226890015099794351.post-29519592414680362752013-03-11T16:24:00.000+09:002013-03-26T23:20:27.466+09:00openSUSE12.3 64bit(VirtualBox on Windows7)でgimp2.8.4、gimp2.9~、gimp-painterをビルド(その1)<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span>
<br />
<div>
<span style="font-family: inherit;">もともと、VMware向けで書いてましたが、</span></div>
<div>
<span style="font-family: inherit;">openSUSE12.3リリースにあわせて</span></div>
<div>
<span style="font-family: inherit;">スナップショットを取れるVirutualBoxに変更しました。</span></div>
<div>
<span style="font-family: inherit;">(画像を取ったので手順に追加しました。)</span></div>
<div>
<span style="font-family: inherit;">違いは、下記です。</span></div>
<div>
<span style="font-family: inherit;">・VMware=>VirtualBox</span></div>
<div>
<span style="font-family: inherit;">・VMwareTool=>GuestAdditions</span></div>
<div>
<span style="font-family: inherit;">・途中でインストールするパッケージのバージョンが一部新しくなった</span></div>
<div>
</div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><b><br /></b>
<b>(0)目的・背景など</b></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">gimp2.8.4、2.9、gimp-painterをopenSUSE上でビルドして、</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">実行、eclipse CDTでdebugできるようにする。</span><br />
<span style="font-family: inherit;"><br />
メインPCはWindowsなので、</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">Windows上で開発したかったが、mingwはあまりに遅いので、</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">開発はVMでもlinuxでやったほうが早いことがわかったため。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">そのうちmingw周りの手順もアップする予定。</span></div>
<div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">最終的には、Windows7上で、</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">gimp-painterの64bitビルドを行うところまでやりたい。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">こっちは、ビルドはできたけど、実行するとクラッシュして死ぬ。。。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;"><a href="http://blog.goo.ne.jp/sigetch_2005/e/2754badc80426ed4bf6011526714c85b">しげっちさんのmypaint組み込み版</a>の完成版がgitへあがったらビルドしたい。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;"><a href="http://sourceforge.jp/projects/gimp-painter/scm/git/gimp-painter-2.7/">sourceforge版</a>(<span style="background-color: #f9f9f9; line-height: 20px;"><a href="http://sourceforge.jp/projects/gimp-painter/scm/git/gimp-painter-2.7/commits/d9cea0000b4de066f9eb19ddc81a57a6a057da3e">2013-02-11</a></span>)でRotateは動いた(すごい!)けど、</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<strike><span style="font-family: inherit;">mypaintブラシは動きませんでした(><)。</span></strike><br />
<span style="font-family: inherit;">mypaintブラシ動きました!UIを認識できてなかったorz</span><br />
<span style="font-family: inherit;"><br />
あと、linuxはほとんどやったことがないので、</span><br />
<span style="font-family: inherit;">表現にうそがあるかもしれません。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">あと、自分でも機能追加したい。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">基本的に64bit。32bitはたぶんやらない。</span></div>
<span style="font-family: inherit;">
</span><br />
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: center;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<b><span style="font-family: inherit;">(1)VMの作成</span></b></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">VirtualBoxとオプションのインストール</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">・VirtualBox-4.2.8-83876-Win.exe</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">・Oracle_VM_VirtualBox_Extension_Pack-4.2.8-83876.vbox-extpack</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">openSUSEのサイトからisoをダウンロードしてきて、VMを作成。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">openSUSE-12.3-DVD-x86_64.iso</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">(ちなみにバンドル版のgimpは2.8.4ではなく、2.8.2でした。)</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;">Installationを選択</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcsheXjRK3lSnkI6qSy3nf4JzPX7B44spwExpOtW8SXN9yJ9tZZyDrkpk_kGzCC_zDIdjyGrAESLIXzp-Dk9Sp7GYJlc-dryYK69DprF1SytvCrB1O2y6z7bABQ6uPZeuq4OnU1WhnJEw/s1600/openSUSE12_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcsheXjRK3lSnkI6qSy3nf4JzPX7B44spwExpOtW8SXN9yJ9tZZyDrkpk_kGzCC_zDIdjyGrAESLIXzp-Dk9Sp7GYJlc-dryYK69DprF1SytvCrB1O2y6z7bABQ6uPZeuq4OnU1WhnJEw/s200/openSUSE12_01.png" height="150" width="200" /></span></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit; text-align: center;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit; text-align: center;">言語で、日本語を選択して、次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><strike><br /></strike>
</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVpbg9llTAvWeGxFUc5hH550SY8sZ0kjvVn0UYYmtGt07u4KbauTgjzMJWmMl7AAQ21Bq61aF75YZnJ8wfZnjPAJbdRT1oDxY_QSDSe6YgyAsBOCgOO6ULD_e2jtrrpYDeEjvBK2YzTlY/s1600/openSUSE12_02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVpbg9llTAvWeGxFUc5hH550SY8sZ0kjvVn0UYYmtGt07u4KbauTgjzMJWmMl7AAQ21Bq61aF75YZnJ8wfZnjPAJbdRT1oDxY_QSDSe6YgyAsBOCgOO6ULD_e2jtrrpYDeEjvBK2YzTlY/s200/openSUSE12_02.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"> 次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs0IRRczzpA3IzvaG47f2sYqfXBvqR74aNKAYutf0Hb47Ln0Jt70jswqKA_Eah1F6BBb91tx_6N7xPs6mMCfaUTrjTWwxiPacMJEzVGlZGjq3uNvticRDxRhGBSsrnCTycSgGAeIwdq4w/s1600/openSUSE12_03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs0IRRczzpA3IzvaG47f2sYqfXBvqR74aNKAYutf0Hb47Ln0Jt70jswqKA_Eah1F6BBb91tx_6N7xPs6mMCfaUTrjTWwxiPacMJEzVGlZGjq3uNvticRDxRhGBSsrnCTycSgGAeIwdq4w/s200/openSUSE12_03.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFuh7uy6gLwIp_P8Y6o57MoDO2UnyCn2qBoJOIPuzF2owadzasMoQlrovZWlGuJtF6PwTu3q8r2qpKv0oyuX58OqStcoFIpzdM2pMqlxL6tYjvbftIOkeeqIU-zYl0WfspbbcnagUeBlw/s1600/openSUSE12_04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFuh7uy6gLwIp_P8Y6o57MoDO2UnyCn2qBoJOIPuzF2owadzasMoQlrovZWlGuJtF6PwTu3q8r2qpKv0oyuX58OqStcoFIpzdM2pMqlxL6tYjvbftIOkeeqIU-zYl0WfspbbcnagUeBlw/s200/openSUSE12_04.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4oY2kiPWDEC-9pmuW4dSHKXMWoldqYtXGqTqaqjXDcN6xn7vYfzBzwngShaHvsTIX5KCQ3Sq4DQQ4fWV-jsQwsK5f01DHz9GnpHU3-mywFu_ZHJGjCdo-4vAfua59MgBz9RaRenavp-0/s1600/openSUSE12_05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4oY2kiPWDEC-9pmuW4dSHKXMWoldqYtXGqTqaqjXDcN6xn7vYfzBzwngShaHvsTIX5KCQ3Sq4DQQ4fWV-jsQwsK5f01DHz9GnpHU3-mywFu_ZHJGjCdo-4vAfua59MgBz9RaRenavp-0/s200/openSUSE12_05.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">パーティションの設定の編集で、容量を変更して、次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">容量設定は適当に。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">/dev/sda1 2.01GB Swap swap</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">/dev/sda2 17.99GB Ext4 /</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">/dev/sda3 20.00GB Ext4 /home</span></div>
<div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Wma1IRAIwVA7T7fAx-8X88vfOxxIY8YNRnk1vKYc6O042LLOgabRzMW1VDzq1DD8GSGNrfjrI5Ady4J1AVSlZLiKTzHMXgz0Xz1WL_HE8b84M4bNJr83rkGPZNQJb1h9U73KgZ5IVLQ/s1600/openSUSE12_06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Wma1IRAIwVA7T7fAx-8X88vfOxxIY8YNRnk1vKYc6O042LLOgabRzMW1VDzq1DD8GSGNrfjrI5Ady4J1AVSlZLiKTzHMXgz0Xz1WL_HE8b84M4bNJr83rkGPZNQJb1h9U73KgZ5IVLQ/s200/openSUSE12_06.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">ユーザはadminとしました。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">以降、以下がユーザのホーム。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">/home/admin</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">次へ</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioyhW8NjdDtUXX2YdKUB_LDHp71xzqOavXlDGjhIlTv4dPKfK7V92dTfbiccr1MfJwXkHs9hf3Bc6-eVxjOSho1MqHfhj9I-j36j0G2NCDGwe2GLHO87OgmM6IeFXzwC6DweILneuld9Y/s1600/openSUSE12_07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioyhW8NjdDtUXX2YdKUB_LDHp71xzqOavXlDGjhIlTv4dPKfK7V92dTfbiccr1MfJwXkHs9hf3Bc6-eVxjOSho1MqHfhj9I-j36j0G2NCDGwe2GLHO87OgmM6IeFXzwC6DweILneuld9Y/s200/openSUSE12_07.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">インストールする</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh394pTQ-Umt7wnXsCXsiZlnmiErFriQUYBvNcviyYnLs0Q1l7FIt2T4LHZMZujdfum4PIxr-UD_1oSrYu6Ij2vJP1dF4sosc7uk7xj2NHkD-UxqeSydiwYPPbNPH6zixcGR6YIMzyw1F4/s1600/openSUSE12_08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh394pTQ-Umt7wnXsCXsiZlnmiErFriQUYBvNcviyYnLs0Q1l7FIt2T4LHZMZujdfum4PIxr-UD_1oSrYu6Ij2vJP1dF4sosc7uk7xj2NHkD-UxqeSydiwYPPbNPH6zixcGR6YIMzyw1F4/s200/openSUSE12_08.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">インストールする</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxB2TX_fp26QjXD61qPrgeJD-HOPzgeMF0g2qdc5SAwA8d_AAnfbA8h6ynKxYIq2RNU9WbYIAi9i3U2nH6-3mP66HhPh9QTI2wuwMK9BZ7Le6sn8CkQS6FMKSo_bfmPshcq_kUi939pbM/s1600/openSUSE12_09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxB2TX_fp26QjXD61qPrgeJD-HOPzgeMF0g2qdc5SAwA8d_AAnfbA8h6ynKxYIq2RNU9WbYIAi9i3U2nH6-3mP66HhPh9QTI2wuwMK9BZ7Le6sn8CkQS6FMKSo_bfmPshcq_kUi939pbM/s200/openSUSE12_09.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">初期起動画面</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF0CzWoFLHipZVmz-tTZv_sesriUK4clG-LYIsL3OUL-qhtC5V5gNyWScOZWeOiuN_Jx5flr2hnKiJk3k1LtQEXl7btnJ9czjQ0HKGcyyjYdOtmDQOPTAoa7w7p0iTacxYLss4eSfJSIg/s200/openSUSE12_10.png" height="150" width="200" /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">デスクトップに出ているやつは閉じた(好み)。</span></div>
<div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
ゲストOSを停止。</span></div>
</div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
VM設定からisoを取り出し。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<b><span style="font-family: inherit;">(2)ソフトウェア全般を最新に更新</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
</div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">ゲストOSを起動して、</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">デフォルトブラウザ(firefox)を起動して、</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">インターネット接続できることを確認。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div style="text-align: left;">
<span style="font-family: inherit;">以降のパッケージインストールでネットにつながっていないとNG。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">YaSTを起動。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl7LSe_-GV2AR_X3VGcJoqeeGhk7NuQ2rXMNe9frKEhRg8UGijKyn9HxV4lqK4_xTI8a5I0HjhpkyQGvmHhy-CcDS9PctDcQ1r7_Y3ruPLlSDzx1nRpk1qrH3E4cBO_Oogp6fQL2rsZ2o/s1600/openSUSE12_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: left;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl7LSe_-GV2AR_X3VGcJoqeeGhk7NuQ2rXMNe9frKEhRg8UGijKyn9HxV4lqK4_xTI8a5I0HjhpkyQGvmHhy-CcDS9PctDcQ1r7_Y3ruPLlSDzx1nRpk1qrH3E4cBO_Oogp6fQL2rsZ2o/s200/openSUSE12_11.png" height="150" width="200" /></span></a></div>
<div class="" style="clear: both; text-align: center;">
</div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
「ソフトウェア管理」を選択。(画面A)</span><br />
<span style="font-family: inherit;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHZYa9N2SdUMEddacGU1H4VR-yE6nUJIHWgmhCWfM-l7XRvXn65wPUuArbiKmYPwjMk3PnYIMWyybdaiAv67lYbK6yFvLqP98zWn4KTT-BCmpXbJVL15Aq6eoC2OoXOKut2Oe4uW_H1fA/s1600/openSUSE12_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: justify;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHZYa9N2SdUMEddacGU1H4VR-yE6nUJIHWgmhCWfM-l7XRvXn65wPUuArbiKmYPwjMk3PnYIMWyybdaiAv67lYbK6yFvLqP98zWn4KTT-BCmpXbJVL15Aq6eoC2OoXOKut2Oe4uW_H1fA/s200/openSUSE12_12.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">ディスクを入れろみたいのが出た場合はとりあえずスキップ(後の手順で出ないようにする)。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYTkRevCoE08Zll7EuhgLcF_irH3f6URAb_16m4ZBDXL7621D6UgAwPF6eULN_5kMHzY7QTFX4DGJVeXz3XSJIFhd34i2v62l3UHJORoyoV0xPlH3VtJKDjmXSdPsYB9Co6FiBG6rsYWg/s1600/openSUSE12_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: justify;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYTkRevCoE08Zll7EuhgLcF_irH3f6URAb_16m4ZBDXL7621D6UgAwPF6eULN_5kMHzY7QTFX4DGJVeXz3XSJIFhd34i2v62l3UHJORoyoV0xPlH3VtJKDjmXSdPsYB9Co6FiBG6rsYWg/s200/openSUSE12_13.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div style="text-align: left;">
<span style="font-family: inherit;">
下記が出たら、OK。</span><br />
<span style="font-family: inherit;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_w62ALnj1zpwhYQqxzeha_LMmq-4FtDMYVMb9VU-tGnaPgJPol8x-7AvqQqXjCEpBssxNl1ZxAGdwe5o5G5LOWIrxB2tQoKZU9QNuzP5kewEntQ6pThJ8ZI38Eoa8Vit3vliZOwgDJBE/s1600/openSUSE12_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: left;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_w62ALnj1zpwhYQqxzeha_LMmq-4FtDMYVMb9VU-tGnaPgJPol8x-7AvqQqXjCEpBssxNl1ZxAGdwe5o5G5LOWIrxB2tQoKZU9QNuzP5kewEntQ6pThJ8ZI38Eoa8Vit3vliZOwgDJBE/s200/openSUSE12_14.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">YaSTで、設定から、「オンライン更新」を選択。</span></div>
</div>
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKjeQTW2honJV1QijM3xIyCn4JdfbjoEFk3lWg23RIBhkNJeiTAuP1Gvdk2eD5OmkT1ioGhPj8LwrpDNcDCz1H13j9-Xg5xQPzlQURnTWZUj9jRNr2HfHw-044lxaoAxw61crW7YNEdSE/s1600/openSUSE12_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKjeQTW2honJV1QijM3xIyCn4JdfbjoEFk3lWg23RIBhkNJeiTAuP1Gvdk2eD5OmkT1ioGhPj8LwrpDNcDCz1H13j9-Xg5xQPzlQURnTWZUj9jRNr2HfHw-044lxaoAxw61crW7YNEdSE/s200/openSUSE12_15.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />yast2-online-update-configurationをインストールする。</span></div>
<span style="font-family: inherit;">
</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC4aWHjUcslskWzt8BsJygPFKNPzKkNIyrHV-D1TrOR7iAn3zvD8eHlv5wojRv4zV1z5hGWVinG5Zzs1Z1wcIk0e0vm9YW7DkiC2OZk1v0mYhktQYd_wUP4J2dwVNQo1bMia1fWdMKsEg/s1600/openSUSE12_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC4aWHjUcslskWzt8BsJygPFKNPzKkNIyrHV-D1TrOR7iAn3zvD8eHlv5wojRv4zV1z5hGWVinG5Zzs1Z1wcIk0e0vm9YW7DkiC2OZk1v0mYhktQYd_wUP4J2dwVNQo1bMia1fWdMKsEg/s200/openSUSE12_16.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
OK。</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT3OkIztfEk9NWHPZG442yG3LcN2ZUFC8RqPC-qdahJW2yPfdvrF6CqZHBahjtGfyFEDhmxwHGKOBtpCPyPqteArLFFOws7yFxUEm09j7DYPNezyFoOFQI3hYxLcPhRCwpJogDMcXkXEo/s1600/openSUSE12_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT3OkIztfEk9NWHPZG442yG3LcN2ZUFC8RqPC-qdahJW2yPfdvrF6CqZHBahjtGfyFEDhmxwHGKOBtpCPyPqteArLFFOws7yFxUEm09j7DYPNezyFoOFQI3hYxLcPhRCwpJogDMcXkXEo/s200/openSUSE12_17.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
上述(A)の画面の「ソフトウェアリポジトリ」を選択して、</span><br />
<span style="font-family: inherit;">一番上の「cd:///?devices=/dev~」ではじまるリポジトリの</span><br />
<span style="font-family: inherit;">有効チェックをはずす(これで、ディスク入れろ~、は出なくなる)。</span><br />
<span style="font-family: inherit;">「有効なものを全て更新」して、OK。</span><br />
<span style="font-family: inherit;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcU1Phs7SnAvquACYFmwB-qHMSaqASYjvKqda1CANUUwrLNYuOZc3MEYEctQEuRohS3iCqYPYqDniqI9xPnsdGS5TSlAVUT_SORVRW9NmuX2XmwxTfNba6FT5-TXUO99roZ72loDrm8o/s1600/openSUSE12_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcU1Phs7SnAvquACYFmwB-qHMSaqASYjvKqda1CANUUwrLNYuOZc3MEYEctQEuRohS3iCqYPYqDniqI9xPnsdGS5TSlAVUT_SORVRW9NmuX2XmwxTfNba6FT5-TXUO99roZ72loDrm8o/s200/openSUSE12_21.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
上述(A)の画面の「オンライン更新」を選択すると一覧が出てくるので、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">デフォルトでチェック入っているものだけをインストール。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">更新によってはゲストOS再起動があるかも。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">「YaST/オンライン更新」で更新リストがなくなるまでインストールし続ける。</span><br />
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgStj9SrKCML9oyPGR2QbBs_eawEd-yKmCidehWLWK7q5EDhDRdTv96H7Okk8rLxC9pIO_yn9E1rexA7IGMIgqAeM9LehuOyFCX-oH0RgFrxVhZCLvQYO7ZyBW1ZX3bG6BuxFvlf7JhXqQ/s1600/openSUSE12_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgStj9SrKCML9oyPGR2QbBs_eawEd-yKmCidehWLWK7q5EDhDRdTv96H7Okk8rLxC9pIO_yn9E1rexA7IGMIgqAeM9LehuOyFCX-oH0RgFrxVhZCLvQYO7ZyBW1ZX3bG6BuxFvlf7JhXqQ/s200/openSUSE12_19.png" height="150" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHCSobdmls1gHd-YIKgWbPyIH7S6Q_JnbgFJrY7rAWeBx7mydWktfniKV8z4MX2naDVht-ggGRLdsGRl4uT6ZOq76pTorvSrRLra2-GyZyyCHFtuT6u7OL4mnCoCVBw4VmWDRLfsDgTNA/s1600/openSUSE12_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHCSobdmls1gHd-YIKgWbPyIH7S6Q_JnbgFJrY7rAWeBx7mydWktfniKV8z4MX2naDVht-ggGRLdsGRl4uT6ZOq76pTorvSrRLra2-GyZyyCHFtuT6u7OL4mnCoCVBw4VmWDRLfsDgTNA/s200/openSUSE12_20.png" height="150" width="200" /></a></span></div>
<span style="font-family: inherit;"><br />
上述(A)の画面で「ソフトウェア管理」を選択。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<span style="font-family: inherit;">下記パッケージを検索してインストール(画面B)。</span><br />
<span style="font-family: inherit;"><br />
gcc</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gcc-c++</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">make</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">kernel-source</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HZEwTJE2O90Y09oL-hopHqOEkuO0JCGRxWmpNDkYFvF3tgKKSds_hbWT1m3iltcGGPr3RqV7toAUGW9rI2lcMTDE_RPPRR3JHe8Ufdbti5mLE3UOeMTpWOtSFEJUdzpw4HXlXekdSbc/s1600/openSUSE12_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HZEwTJE2O90Y09oL-hopHqOEkuO0JCGRxWmpNDkYFvF3tgKKSds_hbWT1m3iltcGGPr3RqV7toAUGW9rI2lcMTDE_RPPRR3JHe8Ufdbti5mLE3UOeMTpWOtSFEJUdzpw4HXlXekdSbc/s200/openSUSE12_18.png" height="150" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ppEjYfYN9iqxBgTGUgDi5KSuCI31srvyxLI1dXI9AhqHDFhKPuVq0pBVxO1wvG-N8-N4wkbIc7xMBEINXgxyDb_k0Onf0IEGLoISZcFekTFrhY981EHoKoyQwBp7Atp8Q74l4ZTeMqQ/s1600/openSUSE12_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ppEjYfYN9iqxBgTGUgDi5KSuCI31srvyxLI1dXI9AhqHDFhKPuVq0pBVxO1wvG-N8-N4wkbIc7xMBEINXgxyDb_k0Onf0IEGLoISZcFekTFrhY981EHoKoyQwBp7Atp8Q74l4ZTeMqQ/s200/openSUSE12_22.png" height="150" width="200" /></a></span></div>
<span style="font-family: inherit;"><br />
<br />
</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB76V6HUxggs_aLxB3T75FV3UZGrmUTp3RJb7dW23jvrhjh4fMtw-L60XQXaqs2IsxOwV_I_rRCHtSudyKLa0MDrX9O1n5xslWrq4fd6i1_JGqVJf9CVflZ7_ZM5tL8wG2TGIxTpoGxDQ/s1600/openSUSE12_23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB76V6HUxggs_aLxB3T75FV3UZGrmUTp3RJb7dW23jvrhjh4fMtw-L60XQXaqs2IsxOwV_I_rRCHtSudyKLa0MDrX9O1n5xslWrq4fd6i1_JGqVJf9CVflZ7_ZM5tL8wG2TGIxTpoGxDQ/s200/openSUSE12_23.png" height="150" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin__pktOQe18Rzheur3d25iV9lf36vNOWeGEhw-r2RJa-zOWTVBKL_bTXVGbXvtGWGI4Wo9MtPdVuFiU-cSVc5E2yzaDtxjv0TAAxGcVmZBzPJ-KWnXAX30-kU4RIa1LHlheuQbQG0A_0/s1600/openSUSE12_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin__pktOQe18Rzheur3d25iV9lf36vNOWeGEhw-r2RJa-zOWTVBKL_bTXVGbXvtGWGI4Wo9MtPdVuFiU-cSVc5E2yzaDtxjv0TAAxGcVmZBzPJ-KWnXAX30-kU4RIa1LHlheuQbQG0A_0/s200/openSUSE12_24.png" height="150" width="200" /></a></span></div>
<span style="font-family: inherit;"><br /></span></div>
</div>
<div style="text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<b><span style="font-family: inherit;">(3)GuestAdditionsインストール</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">「デバイス」/「Guest Additionsのインストール」を選択。DolphinでCDのファイルを見ると、インストーラが見えるようになる。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvtUNb1ifR4P8aWLQfEcmGC7Y3D06HSa0Ub-mJn2tpZ_JqPkrDS_MEySgqPMCFbo0AuEBO8ZEX2XFoX5XL9qpOIDq-LsZ-vV9Q5I8VDQRpO0zYk9GPcMaXOsyt1QsNiP7kw12XHm0TJC4/s1600/openSUSE12_25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvtUNb1ifR4P8aWLQfEcmGC7Y3D06HSa0Ub-mJn2tpZ_JqPkrDS_MEySgqPMCFbo0AuEBO8ZEX2XFoX5XL9qpOIDq-LsZ-vV9Q5I8VDQRpO0zYk9GPcMaXOsyt1QsNiP7kw12XHm0TJC4/s200/openSUSE12_25.png" height="150" width="200" /></span></a></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: center;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ターミナルを起動して下記を実行する。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">sudo sh /var/run/media/admin/VBOXADDITIONS_4.2.8_83876/VBoxLinuxAdditions.run</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
</div>
</div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC4aWHjUcslskWzt8BsJygPFKNPzKkNIyrHV-D1TrOR7iAn3zvD8eHlv5wojRv4zV1z5hGWVinG5Zzs1Z1wcIk0e0vm9YW7DkiC2OZk1v0mYhktQYd_wUP4J2dwVNQo1bMia1fWdMKsEg/s1600/openSUSE12_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></span></div>
<div style="text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixUnrp_n5s3S-OMgJactNtHX8k0H0zEvE2JBhz8hGw97swA7_NVkAGvcbWFsYsAVfQci8oQisJZN01iUnh0rGqVOfQ0JhKq44p4bJdXaTCAoaW7s9I9BQCaqvZ8vyvpVTkVGcdFbfS2cQ/s1600/openSUSE12_27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixUnrp_n5s3S-OMgJactNtHX8k0H0zEvE2JBhz8hGw97swA7_NVkAGvcbWFsYsAVfQci8oQisJZN01iUnh0rGqVOfQ0JhKq44p4bJdXaTCAoaW7s9I9BQCaqvZ8vyvpVTkVGcdFbfS2cQ/s200/openSUSE12_27.png" height="150" width="200" /></span></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
インストールが終わったら、ゲストOSを停止して、isoの取り出し。</span><br />
<div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br />
ゲストOSを起動。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div>
</div>
</div>
</div>
<div class="separator" style="clear: both;">
<span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKjeQTW2honJV1QijM3xIyCn4JdfbjoEFk3lWg23RIBhkNJeiTAuP1Gvdk2eD5OmkT1ioGhPj8LwrpDNcDCz1H13j9-Xg5xQPzlQURnTWZUj9jRNr2HfHw-044lxaoAxw61crW7YNEdSE/s1600/openSUSE12_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></span></div>
<div>
</div>
</div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: center;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<b><span style="font-family: inherit;">(4)日本語フォルダ名の英語化(好み)</span></b></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br />
日本語名フォルダが気持ち悪い人だけ、</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">日本語フォルダ名の英語化する手順。</span><br />
<span style="font-family: inherit;"><br />
上述(A)の画面で「ソフトウェア管理」を選択して、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">画面B群のように下記パッケージをインストール。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div>
</div>
</div>
<span style="font-family: inherit;"><br />
xdg-user-dirs-gtk</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;">xdg-user-dirs-gtk-lang</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;">ターミナルを起動して、下記を実行する。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br />
LANG=C
xdg-user-dirs-gtk-update</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;">下記ダイアログがでるので、「Update Names」を選択する。</span><br />
<div>
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0TZF3UGVLD38r7Za_mmuZE0S7KQcOTpK2MQzHE7tz-mWvMmVhSnLHj64JN8vBLjVgIRxmv-Wa8PhkXr01oZn-dUqWrW6xIbiqwB5Nhr3TbGw5sekcAZ9YMoWpfTPEZ_jc4vfjhP27wQA/s1600/openSUSE12_28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: inherit;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0TZF3UGVLD38r7Za_mmuZE0S7KQcOTpK2MQzHE7tz-mWvMmVhSnLHj64JN8vBLjVgIRxmv-Wa8PhkXr01oZn-dUqWrW6xIbiqwB5Nhr3TbGw5sekcAZ9YMoWpfTPEZ_jc4vfjhP27wQA/s200/openSUSE12_28.png" height="150" width="200" /></span></a></div>
<span style="font-family: inherit;"><br />
ゲストOS再起動。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br />
/home/adminに残っている、</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br />
「デスクトップ」「ドキュメント」を削除。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm; text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">画面設定変更</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">「Lancelot」ウィジェットを追加して、デフォルトのランチャは削除。</span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">フォントを小さくしたり、windowsっぽいUIにしたりお好みで。</span><br />
<span style="font-family: inherit;"><br />
</span></div>
<div style="text-align: left;">
<b><span style="font-family: inherit;">(5)gimp用パッケージ(じゃないのも・・・)インストール</span></b><br />
<span style="font-family: inherit;"><br />
下記パッケージを全て、</span></div>
<div style="text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">上述(A)の画面で「ソフトウェア管理」を選択して、</span><br />
<span style="font-family: inherit;">画面B群のように下記パッケージをインストール。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div>
</div>
</div>
<span style="font-family: inherit;"><br />
依存関係のあるパッケージはそのままインストール。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">一度に全て入れるのではなく、少しずつ入れていくとたぶん吉。</span></div>
</div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libpng15-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libjpeg8-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libtiff-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gettext-tools</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">glib2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">freetype2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libexpat-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libxml2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">fontconfig-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libpixman-1-0-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cairo-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">pango-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">atk-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gdk-pixbuf-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gtk2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gtkglext-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">python-gobject-pygtkcompat</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">python-cairo-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">python-gtk-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">intltool</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">openjpeg</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">openjpeg-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">jasper</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libjasper-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">lcms</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">liblcms-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">liblcms2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">babl-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gegl</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gegl-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libxslt-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gobject-introspection-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libwebkitgtk-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libwebkitgtk3-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ghostscript-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libmng-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">aalib</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">aalib-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libgsm-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libpoppler-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libpoppler-glib-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">librsvg-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libwmf-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libexif-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libexif-gtk</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libexif-gtk-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">autoconf</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">automake</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">ModemManager-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">dbus-1-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">dbus-1-glib-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">dbus-1-python-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libcroco-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">iso-codes-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">alsa-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libgudev-1_0-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libbz2-devel</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libtool</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">gtk-doc</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">git</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">libzip-devel</span><br />
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;"><br /></span></div>
</div>
</div>
<div style="text-align: left;">
<b><span style="font-family: inherit;">(6)xvfb-run</span></b></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
画面のテスト用のツール?</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">実行ユーザには、必須ではないように思うが、</span><br />
<span style="font-family: inherit;">gimpをautogen(、またはconfigure)した時に</span><br />
<span style="font-family: inherit;">Testsの「Use xvfb-run」をnoとしないため。</span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br />
/usr/binに配置して、autogen(、またはconfigure)前にexportしておく。</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
/home/admin/</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">mkdir
temp</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">cd
temp</span></div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<span style="font-family: inherit;">wget
<a href="http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh">http://svn.exactcode.de/t2/trunk/package/xorg/xorg-server/xvfb-run.sh</a></span></div>
</div>
</div>
<div lang="ja-JP" style="margin-bottom: 0cm;">
<div style="text-align: left;">
<span style="font-family: inherit;">sudo
cp /home/admin/temp/xvfb-run.sh /usr/bin</span></div>
<span style="font-family: inherit;"><br />
</span><br />
<span style="font-family: inherit;">これで、依存するパッケージ群は全てインストール完了(のはず)。</span><br />
<br /></div>
Anonymoushttp://www.blogger.com/profile/08433896830300170433noreply@blogger.com0