<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.magiclinux.org/index.php?action=history&amp;feed=atom&amp;title=JhbuildGnome</id>
	<title>JhbuildGnome - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.magiclinux.org/index.php?action=history&amp;feed=atom&amp;title=JhbuildGnome"/>
	<link rel="alternate" type="text/html" href="https://wiki.magiclinux.org/index.php?title=JhbuildGnome&amp;action=history"/>
	<updated>2026-11-18T08:32:02Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.magiclinux.org/index.php?title=JhbuildGnome&amp;diff=54&amp;oldid=prev</id>
		<title>Sejishikong：创建页面，内容为“=jhbuild是啥？= JHBuild is a build script for building Gnome from CVS. Unlike some build scripts, jhbuild makes use of dependency information, so it will only build what is needed to build the packages you want.  jhbuild&#039;s homepage：[http://www.jamesh.id.au/software/jhbuild/ http://www.jamesh.id.au/software/jhbuild/]  =取得jhbuild=   $ mkdir -p ~/cvs/gnome2  $ cd ~/cvs/gnome2  $ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login  Logging in to :…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.magiclinux.org/index.php?title=JhbuildGnome&amp;diff=54&amp;oldid=prev"/>
		<updated>2021-12-19T08:22:51Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“=jhbuild是啥？= JHBuild is a build script for building Gnome from CVS. Unlike some build scripts, jhbuild makes use of dependency information, so it will only build what is needed to build the packages you want.  jhbuild&amp;#039;s homepage：[http://www.jamesh.id.au/software/jhbuild/ http://www.jamesh.id.au/software/jhbuild/]  =取得jhbuild=   $ mkdir -p ~/cvs/gnome2  $ cd ~/cvs/gnome2  $ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login  Logging in to :…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=jhbuild是啥？=&lt;br /&gt;
JHBuild is a build script for building Gnome from CVS. Unlike some build scripts, jhbuild makes use of dependency information, so it will only build what is needed to build the packages you want.&lt;br /&gt;
&lt;br /&gt;
jhbuild&amp;#039;s homepage：[http://www.jamesh.id.au/software/jhbuild/ http://www.jamesh.id.au/software/jhbuild/]&lt;br /&gt;
&lt;br /&gt;
=取得jhbuild=&lt;br /&gt;
&lt;br /&gt;
 $ mkdir -p ~/cvs/gnome2&lt;br /&gt;
 $ cd ~/cvs/gnome2&lt;br /&gt;
 $ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome login&lt;br /&gt;
 Logging in to :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome&lt;br /&gt;
 CVS password: ENTER&lt;br /&gt;
 $ cvs -d :pserver:anonymous@anoncvs.gnome.org:/cvs/gnome get jhbuild&lt;br /&gt;
&lt;br /&gt;
=安装jhbuild=&lt;br /&gt;
&lt;br /&gt;
 $ cd ~/cvs/gnome2/jhbuild&lt;br /&gt;
 $ make install&lt;br /&gt;
&lt;br /&gt;
上面的命令将会把jhbuild工具安装到~/bin底下。&lt;br /&gt;
&lt;br /&gt;
--[[User:Ricetons|Ricetons]] 16:21 2006年3月26日 (CST)&lt;br /&gt;
&lt;br /&gt;
=创建~/.jhbuildrc文件=&lt;br /&gt;
最好的办法还是复制一个现成的来用：&lt;br /&gt;
 $ cd ~/&lt;br /&gt;
 $ wget http://ftp.gnome.org/pub/GNOME/teams/releng/2.14.0/sample-tarball.jhbuildrc&lt;br /&gt;
 $ mv sample-tarball.jhbuildrc .jhbuildrc&lt;br /&gt;
&lt;br /&gt;
==修改~/.jhbuildrc文件和其它几个文件中的参数==&lt;br /&gt;
==~/.jhbuildrc==&lt;br /&gt;
我只改了一个prefix参数，指定GNOME安装到哪个目录：&lt;br /&gt;
&lt;br /&gt;
 prefix = &amp;#039;/usr&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==~/cvs/gnome2/jhbuild/jhbuild/modtypes/tarball.py==&lt;br /&gt;
在~/cvs/gnome2/jhbuild/jhbuild/modtypes/tarball.py中可以指定使用哪个工具来下载软件包，默认是wget。&lt;br /&gt;
&lt;br /&gt;
 res = buildscript.execute([&amp;#039;wget&amp;#039;, self.source_url,&lt;br /&gt;
&lt;br /&gt;
=安装所有依赖的软件包=&lt;br /&gt;
jhbuild的正确运行依赖于以下包组（MGC 2.0 Final上都带了）：&lt;br /&gt;
  gettext &amp;gt;= 0.10.40&lt;br /&gt;
  libtool &amp;gt;= 1.5&lt;br /&gt;
  autoconf &amp;gt;= 2.58&lt;br /&gt;
  automake 1.4-p6&lt;br /&gt;
  automake 1.6.x&lt;br /&gt;
  automake 1.7.x&lt;br /&gt;
  automake 1.8.x&lt;br /&gt;
  pkg-config &amp;gt;= 0.14&lt;br /&gt;
  python &amp;gt;= 2.2&lt;br /&gt;
  audiofile&lt;br /&gt;
&lt;br /&gt;
请确认自己的系统上已经安装了这些软件。&lt;br /&gt;
如果有一些没有安装，可以使用这个命令来解决：&lt;br /&gt;
&lt;br /&gt;
 $ jhbuild bootstrap&lt;br /&gt;
&lt;br /&gt;
=正式编译安装gnome-2.14=&lt;br /&gt;
激动人心的时刻,isn&amp;#039;t it？&lt;br /&gt;
&lt;br /&gt;
 $ jhbuild -m http://ftp.gnome.org/pub/GNOME/teams/releng/2.14.0/gnome-2.14.0.modules build&lt;br /&gt;
&lt;br /&gt;
jhbuild默认将下载的tar包放在该目录下：&lt;br /&gt;
 ~/cvs/tarball-gnome/pkgs&lt;br /&gt;
&lt;br /&gt;
=错误=&lt;br /&gt;
出错了建议先看看这里：&lt;br /&gt;
&lt;br /&gt;
 http://www.gnome.org/~newren/tutorials/developing-with-gnome/html/ch04s03.html&lt;br /&gt;
&lt;br /&gt;
==XML::Simple perl module==&lt;br /&gt;
&lt;br /&gt;
 checking for XML::Simple... configure: error: XML::Simple perl module is required for icon-naming-utils&lt;br /&gt;
&lt;br /&gt;
缺少XML-Simple，可到这里下载最新版本：&lt;br /&gt;
http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-2.14.tar.gz&lt;/div&gt;</summary>
		<author><name>Sejishikong</name></author>
	</entry>
</feed>