首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > Linux > Gnome2编译过程及脚本
【标  题】:Gnome2编译过程及脚本
【关键字】:脚本,Gnome2
【来  源】:网络

Gnome2编译过程及脚本

此脚本用来编译gnome2final的..包括一个脚本(g2com.sh)和一个编译顺序的数据文件(gnome2-order)

gnome2final大家在ftp.gnome.org下载.
[url=http://ftp.gnome.org/pub/GNOME/2.0.0/releases/gnome-2.0-desktop-final/]ftp.gnome.org[/url]
[url=http://www.gnome.org/start/2.0/releasenotes.html]Release Notes[/url]

1.下载时选tar.gz或tar.bz2,下载到一个目录下,然后解压.可用以下脚本.
2.解压
解tar.gz
#!/bin/sh
for i in ./*.gz ; do
tar zxvf $i
done

解tar.bz2
#!/bin/sh
for i in ./*.bz2 ; do
bzip2 -d $i | tar xvf -
done

3.解压后在使用编译脚本:
先做好gnome2-order文本文件.
把这个脚本拷贝到刚才解压的目录中.
执行

说明:
(1)g2com.sh流程:
先建了两个文件用来记录configure和make的信息,以便查错.
然打开一个文件描述府,读取一行作为目录,判断目录存在,进入目录,配置编译..否则退出.
最后关闭文件描述府.结束
(2)gnome2-order中的次序是gnome.org>>relase notes>>install order中提取的数据.

直接下载:[url=http://211.95.164.50/tmp/g2com.sh]g2com.sh[/url]|[url=http://211.95.164.50/tmp/gnome2-order]gnome2-order[/url]
编译脚本 g2com.sh
#################################################

#!/bin/sh
#g2com.sh

#create the tow file to record config/make status
touch conf.status
touch make.status
#open "gnome2-order" to read for compily
exec 4<&0 0<gnome2-order
sum=0
while [ $sum -lt 60 ];
do
read i
if [ -d $i ]; then
cd $i
pwd
echo -n "Start Compily $i";
./configure >> ../conf.status
make >> ../make.status
make install
cd ../
else
echo "The Dectionary $i is not exsit";
exit
fi
#counter
sum=$[$sum+1]

done
#close file_handle
exec 0<&4

#End###########################################################

gnome2-order文本文件:不能有空行..
libxml2-2.4.22
libxslt-1.0.18
scrollkeeper-0.3.9
pkgconfig-0.12.0
audiofile-0.2.3
esound-0.2.28
gtk-doc-0.9
glib-2.0.4
linc-0.5.0
atk-1.0.2
gnome-common-1.2.4
pango-1.0.3
libIDL-0.8.0
ORBit2-2.4.0
intltool-0.22
bonobo-activation-1.0.2
gtk+-2.0.5
GConf-1.2.0
libart_lgpl-2.3.9
libzvt-2.0.1
libbonobo-2.0.0
gnome-mime-data-2.0.0
gnome-vfs-2.0.1
libglade-2.0.0
libgnome-2.0.1
libgnomecanvas-2.0.1
libbonoboui-2.0.0
libgnomeui-2.0.1
libwnck-0.14
libgnomeprint-1.115.0
libgnomeprintui-1.115.0
libgtop-2.0.0
librsvg-2.0.0
gail-0.16
eel-2.0.0
libgtkhtml-2.0.0
gtk-engines-1.9.0
gnome-desktop-2.0.2
gnome-panel-2.0.1
gnome-session-2.0.1
gnome-terminal-2.0.0
gnome-utils-2.0.0
gnome-applets-2.0.0
control-center-2.0.0
gnome-games-2.0.1
bug-buddy-2.2.0
eog-1.0.1
nautilus-2.0.0
gnome-system-monitor-2.0.0
yelp-1.0.1
gedit-2.0.0
librep-0.16
rep-gtk-0.16
sawfish-2.0
gnome-media-2.0.0
gdm-2.4.0.0
at-spi-1.0.1
libgail-gnome-1.0.0
gconf-editor-0.2
gnome2-user-docs-1.93
Proftpd如何限速和设置发呆退出?:【上一篇】
刻录ISO文件:【下一篇】
【相关文章】
  • 一个快速自动安装Apache及其相关软件的Shell脚本
  • Linux+IMAP4.7c1安装脚本
  • Linux下JPEG库安装脚本
  • 用红帽子的chkconfig管理Init脚本
  • 感染linux脚本程序技术
  • Linux 编程之C与脚本的混合编程
  • 用shell编出来的查看dbf文件的脚本
  • TCL脚本数据文件格式
  • SCO下转换大写金额的SHELL脚本
  • UNIX SHELL脚本编程
  • 【随机文章】
  • 建立自己的Google镜像
  • 防火牆與ShoreWall使用方法
  • Winamp 5 5.25 Build 843 Beta 家族
  • 巧用Word在汉字上添加错误拼音
  • JAVA1.5+TOMCAT+Eeclipse 的配置
  • 初识MD5算法
  • 广而告之:推荐两个网站
  • Self();
  • 动感首页更新实现之五 ------ 首页管理篇
  • HTML语言剖析3:文件标记
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.