您的位置:首页 > 其它

如何单独编译EFL各个库(注意configure的结果)

2011-04-26 13:37 399 查看
1. Download EFL source code
http://www.enlightenment.org/p.php?p=download&l=en

2. 先安装依赖

sudo apt-get install automake autoconf libtool gettext subversion libpam0g-dev libfreetype6-dev libpng12-dev libjpeg62-dev zlib1g-dev
libdbus-1-dev liblua5.1-0-dev libx11-dev libxcursor-dev libxrender-dev libxrandr-dev libxfixes-dev libxdamage-dev
libxcomposite-dev libxss-dev libxp-dev libxext-dev libxinerama-dev libxkbfile-dev libxtst-dev libtiff4-dev
librsvg2-dev libgif-dev libcurl3-gnutls libgnutls-dev libasound2-dev

3. Build, 按照顺序

序号

模块
说明
1
eina
数据结构和一些工具函数
2
eet
数据编码、界面;用于存储GUI数据
3
evas
Canvas Object and rendering
4
ecore
Core loop and OS interfacing libraries
5
embryo
Embedded Small Interpreter
6
edje
Higher level graphical object abstraction, 实现逻辑/GUI分离
7
e_dbus
可以不用装
8
efreet
可以不用装
9
elementary
Widget set, 控件集合
10
enligtenment
桌面环境,可以不用装
2.1: eina

sudo tar zxvf eina-1.0.0.tar.gz

cd eina-1.0.0
sudo ./configure

configure的结果:
Configuration Options Summary:

Magic debug..........: yes
Safety checks........: yes
Maximum log level....: <unset>
Report string usage..: no
Valgrind support.....: yes
Default mempool......: no
Thread Support.......: POSIX
spinlock...........: yes
debug usage........: no
Amalgamation.........: no
Iconv support........: yes
File dirfd...........: yes

Documentation........: no
Tests................: no
Coverage.............: no
Benchmark............: no

CPU Specific Extensions:
MMX................: yes
SSE................: yes
SSE2...............: yes
ALTIVEC............: no

Memory pools:
Chained pool.......: static
Ememoa fixed.......: no
Ememoa unknown.....: no
Fixed bitmap.......: no
Pass through.......: no
Buddy..............: no
One big............: static

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2 -Wall -W -Wshadow
LDFLAGS..............: -fno-strict-aliasing

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
然后切换为root帐号
su
make; make install

3.2 eet:

tar zxvf eet-1.4.0.tar.gz

cd eet-1.4.0
./configure
------------------------------------------------------------------------
eet 1.4.0
------------------------------------------------------------------------

Configuration Options Summary:

Amalgamation.........: no
Secure layer.........: no
Thread Support.......: POSIX

Old eet file format..: yes

Tests................: no
Coverage.............: no

Build eet............: yes

Documentation........: no
Examples.............: no

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2 -Wl,--as-needed
LDFLAGS..............:

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
make; make install

2.3: evas:

tar zxvf evas-1.0.0.tar.gz

cd evas-1.0.0
./configure
------------------------------------------------------------------------
evas 1.0.0
------------------------------------------------------------------------

Configuration Options Summary:

Engines:
Software Memory Buffer.....: yes
Software X11...............: yes (Xlib: yes) (XCB: no)
XRender X11................: no (XCB: no)
OpenGL X11.................: yes (GLES: no) (SGX: no) (s3c6410: no)
Software GDI...............: no
Software DirectDraw........: no
Direct3d...................: no
Quartz.....................: no
OpenGL Glew................: no
Software SDL...............: no (primitive: no)
OpenGL SDL.................: no
Software Framebuffer.......: yes
DirectFB...................: no
Software 8bit grayscale....: no
Software 16bit ............: no
Software 16bit X11.........: no
Software 16bit Directdraw..: no
Software 16bit WinCE.......: no
Software 16bit SDL.........: no (primitive: no)

Image Loaders:
EDB.....................: no
EET.....................: yes
GIF.....................: no
JPEG....................: yes (region: no)
PMAPS...................: yes
PNG.....................: yes
SVG.....................: no
TIFF....................: yes
XPM.....................: yes
BMP.....................: yes
TGA.....................: yes

Font Sourcing Systems:
EET.....................: yes

Font Searching Systems:
Fontconfig..............: yes
Fribidi.................: no

CPU Specific Extensions:
Fallback C Code.........: yes
MMX.....................: yes
SSE.....................: yes
ALTIVEC.................: no
NEON....................: no
Thread Support..........: yes

Features:
MAGIC_DEBUG.............: yes
Cache Server............: yes

Threaded Pipe Rendering.: no
Async Pipe Rendering....: no
Async Events............: yes
Async Image Preload.....: yes

Word Cache..............: no
Metric Cache............: no

ARGB Software Engine Options:
Sampling Scaler.........: yes
Smooth Scaler...........: yes
YUV Converter...........: yes

ARGB Conversion Options:
Smaller Dither Mask.....: no
Line Dither Mask........: no
No Dither Mask for 16bpp: no
8bpp RGB 332............: yes
8bpp RGB 666............: yes
8bpp RGB 232............: yes
8bpp RGB 222............: yes
8bpp RGB 221............: yes
8bpp RGB 121............: yes
8bpp RGB 111............: yes
8bpp Grayscale (256)....: yes
8bpp Grayscale (16).....: yes
8bpp Grayscale 64-pal...: yes
16bpp RGB 565...........: yes
16bpp BGR 565...........: yes
16bpp RGB 555...........: yes
16bpp RGB 444...........: yes
16bpp RGB 565 (444 ipaq): yes
16bpp Rotation 0........: yes
16bpp Rotation 90.......: yes
16bpp Rotation 180......: yes
16bpp Rotation 270......: yes
24bpp RGB 888...........: yes
24bpp BGR 888...........: yes
24bpp RGB 666 (666 ezx).: yes
32bpp RGB 8888..........: yes
32bpp RGBX 8888.........: yes
32bpp BGR 8888..........: yes
32bpp BGRX 8888.........: yes
32bpp RGB 666 (666 ezx).: yes
32bpp Rotation 0........: yes
32bpp Rotation 90.......: yes
32bpp Rotation 180......: yes
32bpp Rotation 270......: yes

Documentation.............: no
Examples..................: install:yes build:no

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
CXXFLAGS.............: -g -O2
LDFLAGS..............:

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
make; make install

2.4: ecore

tar zxvf ecore-1.0.0.tar.gz

cd ecore-1.0.0
./configure
ecore 1.0.0

Optional Modules:

Core:

Ecore........................: always
Thread support.............: POSIX
GLib support...............: yes
Always integrate GLib......: no
Use g_main_loop............: no
Gathering memory statistic.: yes
Ecore_Con....................: yes
OpenSSL....................: no
GnuTLS.....................: no
CURL.......................: no
Abstract Sockets...........: yes
c-ares.....................: no
Ecore_Ipc....................: yes
OpenSSL....................: no
GnuTLS.....................: no
Ecore_File...................: yes
Inotify....................: yes
Windows notification.......: no
Poll.......................: yes
CURL.......................: no
Ecore_IMF....................: yes
Ecore_IMF_Evas...............: yes
Ecore_Input..................: yes
Ecore_Input_Evas.............: yes

Graphic systems:

Ecore_X (Xlib backend).......: yes
Xcursor....................: yes
Xkb........................: yes
Xprint.....................: no
Xinerama...................: yes
Xrandr.....................: no
Xscreensaver...............: no
Xrender....................: yes
Xcomposite.................: yes
Xfixes.....................: yes
Xdamage....................: yes
Xdpms......................: yes
Xtest......................: no
XIM........................: yes
Xi2........................: no
Ecore_Win32..................: no
Ecore_Cocoa..................: no
Ecore_SDL....................: no
Ecore_FB.....................: yes
Touchscreen................: no
Ecore_DirectFB...............: no
Ecore_WinCE..................: no

Ecore Evas:

Ecore_Evas...................: yes
Software Memory Buffer.....: yes
Software X11...............: yes (Xlib=yes) (XCB=no)
XRender X11................: yes
OpenGL X11.................: yes
XRender XCB................: no
Software GDI...............: no
Software DirectDraw........: no
Direct3D...................: no
OpenGL Glew................: no
Cocoa......................: no
Software SDL...............: no
OpenGL SDL.................: no
DirectFB...................: no
Software Framebuffer.......: yes
Software 8bit grayscale XCB: no
Software 16bit X11.........: yes
Software 16bit DirectDraw..: no
Software 16bit WinCE.......: no

Tests................: no
Maximum log level....: <unset>
Documentation..........: no

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
CXXFLAGS.............: -g -O2
LDFLAGS..............:

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
make; make install

2.5: embryo

tar zxvf embryo-1.0.0.tar.gz

cd embryo-1.0.0
------------------------------------------------------------------------
embryo 1.0.0
------------------------------------------------------------------------

Configuration Options Summary:

Build embryo_cc......: yes

Documentation........: no

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
LDFLAGS..............:

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
make; make install

2.6: edje

tar zxvf edje-1.0.0.tar.gz

cd edje-1.0.0
./configure
------------------------------------------------------------------------
edje 1.0.0
------------------------------------------------------------------------

Configuration Options Summary:

Amalgamation.........: no
Ecore IMF............: yes
EDJE_PROGRAM_CACHE...: no
EDJE_CALC_CACHE......: yes
Fixed point..........: no
Documentation........: no

Programs:

Build edje_cc................: yes
Build edje_decc..............: yes
Build edje_recc..............: yes
Build edje_player............: yes
Build edje_inspector.........: yes
Build edje_external_inspector: yes

Compilation............: make (or gmake)
CPPFLAGS.............:
CFLAGS...............: -g -O2
LDFLAGS..............:

Installation...........: make install (as root if needed, with 'su' or 'sudo')
prefix...............: /usr/local
2.7: efreet
不用装
2.8: e_dbus
暂时不用装
2.9: elementary
./configure; make; sudo make install

运行测试程序:
elementary_test
可以看看EFL各个控件运行的结果。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: