Jk2410-openmoko-toolchain
From Jollen's Wiki
目錄 |
[編輯]
Software Stack
OpenMoko 基於 libX11 以及 GTK+ 系統,完整的架構圖可在 OpenMoko 的 Wiki 查閱 [OpenMokoFramework]。
[編輯]
Development
Toolchain 需要包含的開發環境如下:
- libX11
- gtk+
[編輯]
libX11
- libX11 (Base X libs)
- libX11 depends
- util-macros, http://xorg.freedesktop.org/releases/X11R7.2/src/util/util-macros-X11R7.2-1.1.5.tar.bz2.
- xtrans, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/xtrans-X11R7.2-1.0.3.tar.bz2.
- libXau,http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXau-X11R7.2-1.0.3.tar.bz2.
- libxcb (xcb-xlib), see below.
- xproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xproto-X11R7.2-7.0.10.tar.bz2.
- xextproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2.
- inputproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/inputproto-X11R7.0-1.3.2.tar.bz2.
- kbproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/kbproto-X11R7.2-1.0.3.tar.bz2.
- xf86bigfontproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xf86bigfontproto-X11R7.0-1.1.2.tar.bz2.
- bigreqsproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/bigreqsproto-X11R7.0-1.0.2.tar.bz2.
- xcmiscproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xcmiscproto-X11R7.0-1.1.2.tar.bz2.
- libxdmcp, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXdmcp-X11R7.2-1.0.2.tar.bz2.
libXi, see below.
[編輯]
libxcb (xcb-xlib)
- libxcb >= 0.9.92
- xcb-xlib depends
- xtrans, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/xtrans-X11R7.2-1.0.3.tar.bz2.
- xcb-proto, http://xcb.freedesktop.org/dist/.
- libxml2, http://xmlsoft.org/.
- libxslt, ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1/.
- libpthread-stubs,http://xcb.freedesktop.org/dist/libpthread-stubs-0.1.tar.bz2.
- xproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xproto-X11R7.2-7.0.10.tar.bz2.
- libXau,http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXau-X11R7.2-1.0.3.tar.bz2.
[編輯]
libXi
- libXi
- X Input extension library.
- http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXi-X11R7.2-1.0.2.tar.bz2.
- libXi depends
- xproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2.
- xextproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2.
- libXext, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXext-X11R7.2-1.0.2.tar.bz2.
- inputproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/inputproto-X11R7.0-1.3.2.tar.bz2.
[編輯]
gtk+
- gtk+ >= 2.0
- gtk+ depends
- glib, see below.
- pango, see below.
- atk, ftp://ftp.gtk.org/pub/gtk/v2.10/dependencies/atk-1.9.1.tar.bz2.
- Depends: glib >= 2.0
- Depends: gtk-doc, ftp://ftp.gtk.org/pub/gtk-doc/gtk-doc-1.1.tar.gz.
- jpeg, http://www.ijg.org/.
- libpng, http://www.libpng.org/pub/png/libpng.html.
- libXext, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXext-X11R7.2-1.0.2.tar.bz2.
- libXcursor, see below.
- libgcrypt, ftp://ftp.gnupg.org/gcrypt/libgcrypt.
- Depends: libgpg-error, http://www.gnupg.org/related_software/libgpg-error/.
- libXinerama, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXinerama-X11R7.0-1.0.1.tar.bz2.
- Depends: libxext, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXext-X11R7.2-1.0.2.tar.bz2.
- Depends: xextproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2.
- Depends: xineramaproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xineramaproto-X11R7.0-1.1.2.tar.bz2.
- libXrandr,http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXrandr-X11R7.2-1.1.2.tar.bz2.
- Depends: randrproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/randrproto-X11R7.0-1.1.2.tar.bz2.
- Depends: libxext, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXext-X11R7.2-1.0.2.tar.bz2.
- Depends: xextproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xextproto-X11R7.0-7.0.2.tar.bz2.
- Depends: libxrender, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXrender-X11R7.2-0.9.2.tar.bz2.
- Depends: renderproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/renderproto-X11R7.0-0.9.2.tar.bz2.
- cairo, http://cairographics.org/.
- optional depends
- cups, http://www.cups.org/.
[編輯]
glib
- glib >= 2.0
- glib depends
- dbus, http://www.freedesktop.org/wiki/Software/dbus.
- libxml2, http://xmlsoft.org/.
- zlib, http://www.zlib.net/.
[編輯]
libXcursor
- libXcursor
- libXcursor depends
- renderproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/renderproto-X11R7.0-0.9.2.tar.bz2.
- libXrender, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXrender-X11R7.2-0.9.2.tar.bz2.
- depends on renderproto
- fixesproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/fixesproto-X11R7.1-4.0.tar.bz2.
- libXfixes, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXfixes-X11R7.2-4.0.3.tar.bz2.
- depends on xproto, fixesproto, xextproto
[編輯]
Pango
- pango
- pango depends
- glib >= 2.0, http://www.gtk.org/.
- zlib, http://www.zlib.net/.
- gtk-doc, ftp://ftp.gtk.org/pub/gtk-doc/gtk-doc-1.1.tar.gz.
- libXft, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXft-X11R7.2-2.1.12.tar.bz2.
- depends: libXrender, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXrender-X11R7.2-0.9.2.tar.bz2.
- fontconfig, see below.
[編輯]
fontconfig
- fontconfig
- fontconfig depends
- expat, http://expat.sourceforge.net/.
- freetype, http://freetype.sourceforge.net/index2.html.
- zlib, http://www.zlib.net/.
[編輯]
cairo
- cairo
- cairo depends
- libSM, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libSM-X11R7.2-1.0.2.tar.bz2
- depends on: libICE, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libICE-X11R7.2-1.0.3.tar.bz2.
- depends on: xproto, http://xorg.freedesktop.org/releases/X11R7.2/src/proto/xproto-X11R7.2-7.0.10.tar.bz2.
- depends on: xtrans, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/xtrans-X11R7.2-1.0.3.tar.bz2.
- libpng, http://www.libpng.org/pub/png/libpng.html.
- fontconfig, see above.
- libXrender, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libXrender-X11R7.2-0.9.2.tar.bz2.
- libSM, http://xorg.freedesktop.org/releases/X11R7.2/src/lib/libSM-X11R7.2-1.0.2.tar.bz2
[編輯]
順序
Milestone
- xtrans,xcb-proto,libxml2,libxslt,libpthread-stubs,xproto,libXau,libxcb
- libxslt depends on libxml2
- libXau depends on xproto
- util-macros, xextproto, inputproto, kbproto, xf86bigfontproto, bigreqsproto, xcmiscproto, libxdmcp, libX11
- libxdmcp depends on xproto
- libXext,libXi
- libXext depends on xproto
- libXext depends on xextproto
- libXext depends on libXau
- zlib, dbus, glib
- glib also depends on libxml2
- renderproto, libXrender, fixesproto, libXfixes, libXcursor
- expat, freetype, fontconfig
- gtk-doc,libXft,libICE,libSM,cairo,pango
- pango needs cairo to be pre-installed in order to enable pangocairo support
- atk,jpeg,libpng,libgp-error,libgcrypt,xineramaproto,libXinerama,randrproto,libXrandr,gtk+
- gtk+ depends on gtk-doc
- gtk+ depends on cairo
Summary
- xtrans,xcb-proto,libxml2,libxslt,libpthread-stubs,xproto,libXau,libxcb
- util-macros, xextproto, inputproto, kbproto, xf86bigfontproto, bigreqsproto, xcmiscproto, libxdmcp, libX11
- libXext,libXi
- zlib, dbus, glib
- renderproto, libXrender, fixesproto, libXfixes, libXcursor
- expat, freetype, fontconfig
- gtk-doc,libXft,libICE,libSM,libpng,cairo,pango
- atk,jpeg,libgpg-error,libgcrypt,xineramaproto,libXinerama,randrproto,libXrandr,gtk+
Overall Topologic
xtrans xcb-proto libxml2 libxslt libpthread-stubs xproto libXau libxcb util-macros xextproto inputproto kbproto xf86bigfontproto bigreqsproto xcmiscproto libxdmcp libX11 libXext libXi zlib dbus glib renderproto libXrender fixesproto libXfixes libXcursor expat freetype fontconfig gtk-doc libXft libICE libSM libpng cairo pango atk jpeg libgp-error libgcrypt xineramaproto libXinerama randrproto libXrandr gtk+
[編輯]
Changelog
2007-05-17 Jollen:
- migrating from Old ABI to Embedded ABI (aka. EABI)
- gcc 4.1.0
- glibc 2.4
- migrating '-march=armv4' (old ABI) to '-march=armv4t' (EABI)
2007-05-13 Jollen:
- In common/cross.mk, new 'PKG_CONFIG_PATH' to pkgconfig tool.
- eg. required for libxcb.
[編輯]
Native Development
libxcb 需要 xsltproc,以 Ubuntu 為例,需安裝 xsltproc 套件:
$ sudo apt-get install xsltproc
gtk-doc 需要 OpenJade 套件,以 Ubuntu 為例,安裝指令如下:
$ sudo apt-get install openjade
此外,以下的套件也要檢查是否安裝:
- xml-core
- sgml-data
- docbook
您可以直接安裝 docbook 來取得上述套件:
$ sudo apt-get install docbook
如果您的 Ubuntu 找不到 xmlcatalog 工具,需要另外再安裝 libxml2-utils 套件:
$ sudo apt-get install libxml2-utils
安裝 DocBook:
$ sudo apt-get install docbook-xml $ sudo apt-get install docbook-xsl


