在breezy中可以使用e17吗?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
zengsun
帖子: 334
注册时间: 2005-05-17 14:45

在breezy中可以使用e17吗?

#1

帖子 zengsun » 2005-09-14 13:49

以前的那个源好像不行,报告依赖问题!
有好办法解决吗?
现在还是在学java!
zengsun
帖子: 334
注册时间: 2005-05-17 14:45

#2

帖子 zengsun » 2005-09-21 11:33

折磨了我不少时间终于在breezy上用上了e17了。这里我要特别感谢yonsan兄弟支持,没有他我是不能完成e17编译安装的,也就没有这篇文章了。
OK,如果你像我一样喜欢e17的风格的话,那就来跟我来吧!
先使用cvs来获得e17的源码。这里你可参考get-e.org上的中文帮助。
下面是你需要获得的部分原代码:
支持e17的库文件:
1. e17/libs/eet
2. e17/libs/edb
3. e17/libs/evas
4. e17/libs/ecore
5. e17/libs/embryo
6. e17/libs/imlib2
7. e17/libs/edje
8. e17/libs/epeg
9. e17/libs/epsilon
10. e17/libs/esmart
11. e17/libs/emotion (注意你需要安装xine-lib,因为 emotion 使用它)
12. e17/libs/engrave (当前只被e_utils需要)
13. e17/libs/ewl (同样被e_utils需要)
14. e17/libs/etox (只有你想安装eRSS时需要,不然你可以忽略)
以及e17的程序
* e17/apps/entice (图像查看器,image viewer)
* e17/apps/entrance (登陆管理器,login manager)
* e17/apps/eclair (媒体播放器,media player)
* e17/apps/e (E17窗口管理器,E17 windowmanager)
* misc/engage (停靠栏和E17模块,dockbar and E17 module)
* misc/erss (RSS阅读器,现在在E17中工作不正常,RSS feed application that does not work correctly in E17)
* e17/apps/e_utils (E17窗口管理器使用的用户友好的功能,user-friendly utilities for the E17 WM)
* e17/apps/e_modules (E17窗口管理器使用的附加模块,注意不包括Engage模块,additional modules for the E17 WM, note that this does NOT include the Engage module)
* e17/apps/elicit (颜色选择器/屏幕放大器 color picker/screen magnifier)
* misc/embrace (邮件检查工具和E17模块,mail checker and E17 module)
如何来获得它们呢?你必须确定你已经安装了cvs(可以使用:sudo apt-get install cvs)。
然后执行下面的代码
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment login
接着会要求你输入登录密码,直接回车就行了。
现在来获得一个库文件的源代码:
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment co e17/libs/eet
其他的你就一个一个的下好了。你要是觉得麻烦的话,你可以使用
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment co e17/libs
将libs中所有的文件都下载到你的本地目录(当然你会获得一些你不需要的库)。
下载程序也是一样的:)
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/enlightenment co e17/apps/e

编译:
这个部分是最麻烦的,因为你的系统一般都缺少编译需要的文件。
首先你必须按照<b>本站指南上的步骤安装基本的编译环境</b>。接着你还需要执行下面的命令:
sudo apt-get install libtool gettext-base gettext liblocale-gettext-perl libtagc0-dev libxml2-dev libsqlite3-dev libxine-dev
完成这一步离成功就不远了。
你现在要作的就是进入库文件和程序的目录中
执行编译和安装
$./autogen && make && sudo make install
这需要一些耐心。你在编译库时必须按照上面给出的顺序来作。编译程序要注意e17/apps/e_utils 和 e17/apps/e_modules 应该在安装e17/apps/e之后,因为它们依赖E17。

安装完成后你需要为e17建立一个启动项:
sudo gedit /usr/share/xsessions/E17.desktop

并且输入:

[Desktop Entry]
Encoding=UTF-8
Name=E17
Comment=
Exec=enlightenment
Icon=
Type=Application

现在你可以使用gdm来登录e17了。

我现在还不会替换系统默认的登录管理器。如果你十分喜欢e17的登录管理器,你可以进入其他的控制台(比如ctrl+alt+F1)
登录后:
sudo /etc/init.d/gdm stop
sudo /etc/init.d/entrance start
再回到图形界面(ctrl+alt+F7)你就可以看到e17的登录管理器了。
但是我发现使用e17的登录管理器并不能正确的登录e17,不知道是什么原因。希望解决的朋友能指点一二。
上次由 zengsun 在 2005-09-27 14:37,总共编辑 2 次。
现在还是在学java!
头像
内存不足
论坛版主
帖子: 3277
注册时间: 2005-08-18 18:43
联系:

#3

帖子 内存不足 » 2005-09-21 11:42

虽然完全看不懂 :shock: 还是要顶你
໌→ iCookie Gtk Theme
໌→DropPlusBluetheme
กรัก กรัก`菠萝
zengsun
帖子: 334
注册时间: 2005-05-17 14:45

#4

帖子 zengsun » 2005-09-22 11:40

内存不足 写了:虽然完全看不懂 :shock: 还是要顶你
我的表达真是有问题! :(
请没看懂的兄弟说说那个地方看不明白。我好修改。谢谢
现在还是在学java!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2005-09-22 11:45

写经验确实是一门技术。要大家都懂,是难。不过,你的确实不明白。你先站在一个初学者的角度写,就大家都懂了。希望有个很清楚的经验文章出来。
● 鸣学
头像
内存不足
论坛版主
帖子: 3277
注册时间: 2005-08-18 18:43
联系:

#6

帖子 内存不足 » 2005-09-22 12:36

我也没说清楚,对于我这样的面瓜来说,不把每一步详细的写出来就看不懂了。(根本没有linux知识,一切都是看到了才知道)

对于有些基础的人应该能看懂 :lol:
໌→ iCookie Gtk Theme
໌→DropPlusBluetheme
กรัก กรัก`菠萝
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#7

帖子 yongyi » 2005-09-23 23:53

我编译安装后,启动到e17,竟然是黑白的!而且还花屏!晕。
可能前面几个库包编译出错了。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#8

帖子 yongyi » 2005-09-24 12:27

再编译了一次,还是登陆后是黑白的!花屏的!晕菜了!
这第二次的编译,除了参考了zengsun兄弟的帖子,以及get-e.org上的中文帮助,还加上了这里:
http://www.ubuntu.org.cn/support/docume ... chterm=e17
的有关/etc/ld.so.conf 的调整。

我发现在编译前面的库包时,有好几个都在make时警告,什么没定义,还提到指针什么的。

强烈要求zengsun兄弟指点迷津。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
zengsun
帖子: 334
注册时间: 2005-05-17 14:45

#9

帖子 zengsun » 2005-09-24 13:28

看到大家的问题,真是有点茫然。
我在机器上编译出现问题,是因为缺少了一些如lib*-dev的开发包文件。
通常是报告error的错误。
我就是直接按顺序编译,没有修改/etc/ld.so.conf文件。
编译的时候也同样报警告:指针……什么的,
但运行没有问题!
但是yongyi的问题似乎不是编译的原因。
这里提供一个方法:
ctrl+alt+f1 (用普通的用户登录。)
sudo /etc/init.d/gdm stop (结束gdm)
xinit (初始化 xclient 进入 x 有一个控制台)
enlightenment (在x下的控制台输入,启动e17)
如果启动后花屏,就按ctrl+c来结束e17,启动e17的情况应该就在控制台上,
看看我们能不能得到出错的原因。
现在还是在学java!
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#10

帖子 yongyi » 2005-09-24 14:15

看到错误信息了。
是默认皮肤的图片都不能加载!
我是安装到/opt/e17的。不过这不应该是问题的关键吧。
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
zengsun
帖子: 334
注册时间: 2005-05-17 14:45

#11

帖子 zengsun » 2005-09-24 17:11

把default.edj文件拷贝到~/.e/e/themes/下,再试试看吧。
现在还是在学java!
头像
bluebell
帖子: 264
注册时间: 2005-05-08 21:28

#12

帖子 bluebell » 2005-09-25 1:10

I installed e17 from snapshot source packages without difficulty.
However, engage and e_utils are not included.

So, next time I will install it from CVS.

Here is the script to install E17, very rough, modify it to suit your needs. (No ganrantee it works very well.)

代码: 全选

#!/bin/bash
# This script helps build e17 Window manager
# In this order:
# eet,edb,evas,ecore,embryo,imlib2,edje,enlightenment

# if you know how to use this function to get files, just do it.
Get_Packages()
{
echo "http://enlightenment.freedesktop.org/fetch.php?file=ecore-0.9.9.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=edb-1.0.5.004.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=edje-0.5.0.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=eet-0.9.10.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=embryo-0.9.1.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=enlightenment-0.16.999.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=evas-0.9.9.014.tar.gz
http://enlightenment.freedesktop.org/fetch.php?file=imlib2-1.2.1.005.tar.gz" > .e17.wget
wget -i .e17.wget
rm -f .e17.wget
}

Install_Deps()
{
sudo apt-get install libjpeg62-dev libtool automake1.9 libncurses5-dev libgtk1.2-dev libfreetype6-dev libpng12-dev xlibs-dev  libssl-dev libdirectfb-dev libttf-dev libtiff4-dev libungif4-dev libbz2-dev libltdl3-dev
}


Compile_Package()
{
clear
echo "============================================"
echo -n "Preparing to compile $1 "
sleep 0.5
# find the source packge
pkg=`find -name *$1*.tar.gz`
if [ "$pkg" = "" ];then
echo "No $1 source package found. Please download it first."
exit 1
fi
echo -n "..."
# remove the old dir
pkg_dir=${pkg%.tar.gz}
if [ -d $pkg_dir ]
then
rm -rf $pkg_dir
fi
echo -n "..."
# ld first
sudo ldconfig
echo -n "..."
# uncompress the package
tar zxf $pkg
echo "..."

# find the compile rules for debian and compile it
cd $pkg_dir
if [ -d debian ];then
        dpkg-buildpackage -us -uc -rfakeroot
        if [ $? -eq 0 ];then
        :
        else
        echo "=============================================="
        echo "Failed to compile :(  Read infomation above."
        exit 1
        fi

        # install packages, ask for confirm first
        clear
        echo -e "Ready to install $1 ...\nPress Enter key to continue."
        read confirmed
        cd ..
        rm -rf $pkg_dir
        sudo dpkg -i *.deb
        # move the packges to buld directory
        if [ ! -d build ];then
        mkdir build
fi
        mv *deb *.dsc *.changes build
else
        echo "No deb compile rules found."
        echo "You may have to compile manually in this way:"
        echo "./configure --prefix=/usr && make && sudo checkinstall"
        ### uncomment the following commands if you want
        # ./configure --prefix=/usr
        # make
        # sudo checkinstall
        # sudo chown $USER:$USER *.deb
        # mv *.deb ../build
        # cd ..
        # rm -rf $pkg_dir
        exit
fi
}

### Run from Here ###
# download files
echo "Please download eet,edb,evas,ecore,embryo,imlib2,edje,enlightenment"
echo "from http://enlightenment.freedesktop.org/"
echo
echo "Then put all those source package in a directory named (for example) E17 and put this script in that directory, too. And run this script again. "
echo
echo -n "If you are sure you have done things above, just type continue here:"
read prepare_done
case $prepare_done in
continue)
:
;;
*)
exit
::
esac

# install dependencies
clear
echo =============================
echo "Install dependencies ..."
Install_Deps

# compile and install
for file in eet edb evas ecore embryo imlib2- edje enlightenment
do
Compile_Package $file
done
Ubuntu 5.10 Breezy Badger
回复