HOWTO: E17 在 Hoary 上安装和定制

参与到Ubuntu的翻译中来
回复
头像
freeflying
帖子: 521
注册时间: 2005-03-26 9:38

HOWTO: E17 在 Hoary 上安装和定制

#1

帖子 freeflying » 2005-05-10 22:40

This README is a little guide to install last E17 .tar.gz files from http://get-e.org plus deb packages from http://www.soulmachine.net/

I tested it with E17 IV (30.3.2005) and E17 V (18.4.2005)

LIBRARIES YOU HAVE TO INSTALL BEFORE :

0) libstdc
1) zlib1g_dev
2) libjpeg62_dev
3) libfreetype6
4) libxext6
5) x-dev
6) libxext-dev
7) libpng12-dev
8) libtiff4-dev
9) libungif4
10) libungif4-dev
11) libxi-dev
12) libx11-dev
13) libxinerama-dev
14) libxcursor-dev
15) libpcre3
16) libltdl3
17) libltdl3-dev
18) libxau6
19) libxau-dev
20) libimlib2
21) libimlib2-dev
22) libid3
23) libid3tag0-dev
24) libogg-dev
25) libextractor0
26) libextractor0-dev
27) xlibmesa-glu-dev


Note about libraries

15, 16, 22, 23, 24, 25, 26 needed for Evidence
16, 17, 18, 19 needed for Entrance

>> PRE - INSTALLATION

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

>> INSTALLATION ORDER (CVS Style)

EFL : 2 3 4 5 6 9 10
Entrance : 1 + EFL + 7 + 8 + 11
EWL : EFL + 13 + 14

1. e17/libs/edb
2. e17/libs/eet
3. e17/libs/imlib2
4. e17/libs/imlib2_loaders
5. e17/libs/evas
6. e17/libs/ecore
7. e17/libs/epeg
8. e17/libs/epsilon
9. e17/libs/embryo
10. e17/libs/edje
11. e17/libs/esmart
12. e17/libs/emotion (note that you'll need to have xine-lib installed as emotion uses it)
13. e17/libs/etox (this is only needed if you want to install eRSS, otherwise you can ignore etox)
14. e17/libs/ewl
15. e17/libs/engrave

>> INSTALLATION NOTE (FreeDesktop Style)

Enlightenment 0.17 : If you want E17 running you will need to get and compile (in order): eet, evas, ecore, embryo, imlib2, edje, enlightenment. You can run enlightenment as your window manager. You can also try it in Xnest. We assume you know how to change window managers already (by hand).

Core EFL : If you want to try the core EFL libraries for developing you will need (in order): eet, evas, ecore, embryo, imlib2, edje.

Entrance : If you want to try the Entrance login manager you will need (in order): eet, evas, ecore, embryo, imlib2, edje, epeg, epsilon, esmart, edb, entrance.

EWL : If you want to try the EWL widget set, you will need (in order): eet, evas, ecore, embryo, imlib2, edje, etox, ewl.

>> APPS ( From Enlightenment Web Site )

The following apps for example should build with the above libraries:

* e17/apps/entice (image viewer)
* e17/apps/entrance (login manager)
* e17/apps/eclair (media player)
* e17/apps/e (E17 windowmanager)
* misc/engage (dockbar and E17 module)
* misc/erss (RSS feed application)
* e17/apps/e_utils (user-friendly utilities for the E17 WM)
* e17/apps/e_modules (additional modules for the E17 WM)


------- MY 26.4.2005 INSTALLATIONS -------

Operations are the same (and classical) for all packages :

tar xvzf <package.tar.gz>
cd <package>
./configure
make
make install

Installation Order [ a mix between CVS style and tar.gz installation ]

- edb
- eet
- imlib2

echo "/usr/local/lib/imlib2/loaders" >> /etc/ld.so.conf
echo "/usr/local/lib/imlib2/filters" >> /etc/ld.so.conf
ldconfig

- imlib2_loaders
- evas (OK without cairo)
- ecore
ldconfig
- epeg
ldconfig
- epsilon
- embryo
- edje
- esmart
- emotion

echo "/usr/lib/xine/plugins/1.0.0" >> /etc/ld.so.conf
echo "/usr/local/lib/emotion" >> /etc/ld.so.conf
ldconfig

- etox
- ewl

- enlightenment

echo "/usr/local/lib/enlightenment/modules/test/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/ibar/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/dropshadow/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/clock/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/pager/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/battery/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/temperature/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/cpufreq/linux-gnu-i686" >> /etc/ld.so.conf

ldconfig

*** TO START E17 LIKE A GDM SESSION

create /usr/share/xsessions/E17.desktop with this content:

[Desktop Entry]
Encoding=UTF-8
Name=E17
Comment=This session logs you into Enlightenment 17
Exec=/usr/local/bin/enlightenment
# no icon yet, only the top three are currently used
Icon=
Type=Application

======================================================================

Having E17 in action I paid more attentions to E17 Apps like:

°°° EVIDENCE [ File Manager, but I think is a lot more than a File Manager ]

Install with Synaptic:

libid3-dev
libid3tag0
libid3tag0-dev
libogg-dev
libextractor0
libextractor0-dev

Then:

Get libedb1, libeet0, libevas0 [ .deb from http://www.soulmachine.net/ ]
Get evidence from http://evidence.sourceforge.net/

dpkg -i libedb
dpkg -i libeet0
dpkg -i libevas0

dpkg -i evidence

A note about Evidence's icons and themes
_________________________________________

If you launch Evidence via command line you'll notice that images "indigo_96" aren't found.
I founded a "trick" to solve it: download the RPM file from http://evidence.sourceforge.net/ and install it
(I used a Fedora partition on my laptop). Then move all interested files to /usr/share/evidence.


*** ENTICE [ Image Viewer ]

Get all libraries from http://www.soulmachine.net/
Get entice from http://enlightenment.freedesktop.org/

dpkg -i libecore0
dpkg -i libembryo0
dpkg -i libedje0
dpkg -i libepeg0
dpkg -i libepsilon0
dpkg -i libesmart0

Install entice as usual (./configure ; make ; make install)

*** EUTILS ( for e17setroot, emblem, e_util_eapp_edit )

.deb from http://www.soulmachine.net/
dpkg -i --force-depends eutils


------- FIRST CUSTOMIZATION ( Just like read from Enlightenment Web Site)

---> How to change background

E17 uses EDJ format for themes and backgrounds.

If you want to use an image for background you can use two of e-utilities

a) emblem

b) e17setroot

For example : e17setroot -s image.jpg


---> How to change theme

Download a theme EDJ file under <home dir>/.e/e/themes
cd <home dir>/.e/e/themes
ln -s <EDJ file> default.edj
enlightenment_remote -restart


---> MENU, ICONS, BAR CUSTOMIZATION

I founded some problems customizing icons with e_util_eapp_edit
(like segmentation fault trying to open a directory or indicating an image).

So I decided to copy applications.tar.gz under a directory of mine and then to tar xvzf it.
After this I use some eapp files to insert in Menu and/or IBar some of my favorite applications.

For example, for Synaptic I used gaim.eapp (just because I don't use gaim so its eapp file was free to use)

cp gaim.eapp Synaptic.eapp

For other apps (like Evidence, for example) I used eapp files founded in tar.gz file

cd /home/oracle/ENLIG5/MENU_EXAMPLES/applications/all
cp Evidence.eapp /home/oracle/.e/e/applications/all
cd /home/oracle/.e/e/applications/favorites
vi .order


APPS I TESTED
______________

Evidence
Entice
Emblem
Enotes

APPS I'LL TRY
____________

Engage
Elation
Elicit
Eclair (also if I haven't found it)


FINAL NOTE
___________

I installed E17 on two laptops, both with Ubuntu Hoary.
One of the laptop is used at work.
I'm using E17 since 3 days ago, is not much time and is early to speak about stability, but till now I have had few problems.
RamboLee
帖子: 5
注册时间: 2005-05-18 22:31

#2

帖子 RamboLee » 2005-05-22 19:27

这篇README是安装最新版E17的一个小型指导,E17的源码可以从http://get-e.org下载,deb包来自http://www.soulmachine.net/

我分别用E17 IV(30.3.2005)和E17 V(18.4.2005)作了测试。

开始之前,你需要安装如下的库文件:

0) libstdc
1) zlib1g_dev
2) libjpeg62_dev
3) libfreetype6
4) libxext6
5) x-dev
6) libxext-dev
7) libpng12-dev
8) libtiff4-dev
9) libungif4
10) libungif4-dev
11) libxi-dev
12) libx11-dev
13) libxinerama-dev
14) libxcursor-dev
15) libpcre3
16) libltdl3
17) libltdl3-dev
18) libxau6
19) libxau-dev
20) libimlib2
21) libimlib2-dev
22) libid3
23) libid3tag0-dev
24) libogg-dev
25) libextractor0
26) libextractor0-dev
27) xlibmesa-glu-dev


库文件的注意事项

Evidence需要15,16,22,23,24,25,26
Entrance需要16,17,18,19

>> 安装前

echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig

>> 安装顺序 (CVS风格)

EFL:2 3 4 5 6 9 10
Entrance:1 + EFL + 7 + 8 + 11
EWL:EFL + 13 + 14

1. e17/libs/edb
2. e17/libs/eet
3. e17/libs/imlib2
4. e17/libs/imlib2_loaders
5. e17/libs/evas
6. e17/libs/ecore
7. e17/libs/epeg
8. e17/libs/epsilon
9. e17/libs/embryo
10. e17/libs/edje
11. e17/libs/esmart
12. e17/libs/emotion (注意,你需要安装xine-lib,因为emotion会用到它)
13. e17/libs/etox (如果你想安装eRSS就安装它,否则可以跳过etox)
14. e17/libs/ewl
15. e17/libs/engrave

>> 安装注意事项 (FreeDesktop风格)

Enlightenment 0.17:如果你想运行E17,则需要得到并编译以下部分(按顺序): eet,evas,ecore,embryo,imlib2,edje,enlightenment. 你可以把enlightenment作为你的窗口管理器。你也可以在Xnest中试用它。我们假设你已经掌握了如何更改创口管理器(手动)。

Core EFL:如果你想在开发中试用core EFL,则需要下列部分(按顺序):eet,evas,ecore,embryo,imlib2,edje。

Entrance:如果你想用Entrance登录管理器,则需要以下部分(按顺序):eet,evas,ecore,embryo,imlib2,edje,epeg,epsilon,esmart,edb,entrance.

EWL:如果你想用EWL,则需要(按顺序):eet,evas,ecore,embryo,imlib2,edje,etox,ewl.

>> 应用程序(来自Enlightenment网站)

编译如下的应用程序都需要用到上面所说的库文件:

* e17/apps/entice (图像浏览)
* e17/apps/entrance (登录管理器)
* e17/apps/eclair (媒体播放器)
* e17/apps/e (E17窗口管理器)
* misc/engage (停靠栏和E17组件)
* misc/erss (RSS抓取程序)
* e17/apps/e_utils (用户界面友好的E17窗口管理器工具)
* e17/apps/e_modules (E17窗口管理器的附加工具)


------- 我在2005年4月26日进行的安装-------

对所有的包的操作过程都是一样的(经典的):

tar xvzf <package.tar.gz>
cd <package>
./configure
make
make install

安装顺序 [ 介于CVS风格和源码安装之间的方法 ]

- edb
- eet
- imlib2

echo "/usr/local/lib/imlib2/loaders" >> /etc/ld.so.conf
echo "/usr/local/lib/imlib2/filters" >> /etc/ld.so.conf
ldconfig

- imlib2_loaders
- evas (没有cairo也可)
- ecore
ldconfig
- epeg
ldconfig
- epsilon
- embryo
- edje
- esmart
- emotion

echo "/usr/lib/xine/plugins/1.0.0" >> /etc/ld.so.conf
echo "/usr/local/lib/emotion" >> /etc/ld.so.conf
ldconfig

- etox
- ewl

- enlightenment

echo "/usr/local/lib/enlightenment/modules/test/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/ibar/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/dropshadow/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/clock/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/pager/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/battery/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/temperature/linux-gnu-i686" >> /etc/ld.so.conf
echo "/usr/local/lib/enlightenment/modules/cpufreq/linux-gnu-i686" >> /etc/ld.so.conf

ldconfig

*** 启动E17作为GDM会话

创建 /usr/share/xsessions/E17.desktop,内容如下:

[Desktop Entry]
Encoding=UTF-8
Name=E17
Comment=This session logs you into Enlightenment 17
Exec=/usr/local/bin/enlightenment
# 还没有图标,目前只用到了前3个
Icon=
Type=Application

======================================================================

E17运行起来后,我关注更多的是E17上的应用程序,例如:

°°° EVIDENCE [ 文件管理器,但我认为它并不仅限于此 ]

用“新立德”包管理器安装:

libid3-dev
libid3tag0
libid3tag0-dev
libogg-dev
libextractor0
libextractor0-dev

然后:

下载 libedb1,libeet0,libevas0 [ .deb包来自 http://www.soulmachine.net/ ]
下载 evidence,来自 http://evidence.sourceforge.net/

dpkg -i libedb
dpkg -i libeet0
dpkg -i libevas0

dpkg -i evidence

关于Evidence的图标和主题的说明
_________________________________________

如果你用命令行方式启动Evidence,你会发现图片“indigo_96”未找到。
我用了一个小计策来解决这个问题:从http://evidence.sourceforge.net/ 下载它的RPM文件,并安装。
(我的笔记本电脑上有一个Fedora分区)。然后将安装所得的所有我认为有用的文件移动到 /usr/share/evidence。


*** ENTICE [ 图像浏览器 ]

http://www.soulmachine.net/ 下载所有的库文件
http://enlightenment.freedesktop.org/ 下载entice

dpkg -i libecore0
dpkg -i libembryo0
dpkg -i libedje0
dpkg -i libepeg0
dpkg -i libepsilon0
dpkg -i libesmart0

按正常方法安装entice。 (./configure ; make ; make install)

*** EUTILS ( e17setroot,emblem,e_util_eapp_edit )

.deb包来自 http://www.soulmachine.net/
dpkg -i --force-depends eutils


------- 初级的自定义 ( 在Enlightenment网站上可以看到 )

---> 如何更改背景

E17使用EDJ格式作为主题和背景。

如果你想把一张图片作为背景,可以用e-utilities中的两种工具:

a) emblem

b) e17setroot

例如:e17setroot -s image.jpg


---> 如何更改主题

下载一个主题EDJ文件,放入 <home dir>/.e/e/themes
cd <home dir>/.e/e/themes
ln -s <EDJ file> default.edj
enlightenment_remote -restart


---> 自定义菜单、图标、边栏

我发现用e_util_eapp_edit自定义图标时会出现问题(例如打开某个目录或指定某张图片是会发生分割错误segmentation fault)。

因此我决定复制源码程序包到自己的文件夹然后再解开。
然后我用一些eapp文件将自己喜欢的程序插入菜单栏和/或IBar。

例如,我用gaim.eapp文件来插入“新立德”包管理器。(因为我不用gaim,所以它的eapp文件可以随意使用)

cp gaim.eapp Synaptic.eapp

对于其它的程序(例如Evidence),我使用在源码包中找到的eapp文件。

cd /home/oracle/ENLIG5/MENU_EXAMPLES/applications/all
cp Evidence.eapp /home/oracle/.e/e/applications/all
cd /home/oracle/.e/e/applications/favorites
vi .order


我测试过的程序
______________

Evidence
Entice
Emblem
Enotes

我将要测试的程序
____________

Engage
Elation
Elicit
Eclair


最后的说明
___________

我在两台笔记本电脑上安装了E17,都是基于Ubuntu Hoary系统。
其中一台用于我的工作。
我从3天前开始使用E17,时间并不长,要评论它是否稳定还为时过早,不过到现在为止,我所遇到的问题非常少。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2005-06-08 21:43

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#4

帖子 millenniumdark » 2006-07-31 18:33

过时了吧
先放着
回复