[FZH] [Gentoo安装] 在 Fedora 系统下安装 portage 实现真正的双系统, 然后平滑过渡到 Gentoo 系统下
by microcai
这个是 IRC 上的 CyrusYzGTt 提出来的要求。需求是这样的:
他有个 Fedora 系统,但是眼馋 Gentoo 系统. 希望能不丢弃 Fedora 的同时使用
上 Gentoo 的 portage.
或许等 portage 安装的包逐渐替换掉 Fedora 的包,那系统就平滑过渡到 Gentoo
了。
然后我一直想找个机会实战一下,结果今天居然一次成功了。
其实做法很简单,就是安装个 portage 和同步一个 portage tree
同步个 portage tree 非常简单,就是下载个 snapshot, 解压到 /usr 就好了
wget http://mirrors.163.com/gentoo/snapshots/portage-latest.tar.xz
tar -xf portage-latest.tar.xz -C /usr
这样就可以了。
然后是安装 portage , 注意, portage 要安装2次。第一次手工安装,然后第二
次是用 portage 装 portage.
下载 portage 解压它
http://mirrors.163.com/gentoo/distfiles/portage-2.1.10.5.tar.bz2
tar -xf portage-2.1.10.5.tar.bz2
手工安装 portage
mkdir /usr/lib/portage
cp -a portage-2.1.10.5/* /usr/lib/portage
#建立 config
mkdir -pv /usr/share/portage/config
cp -a portage-2.1.10.5/cnf/* /usr/share/portage/config
#建立默认的 make.conf
cp portage-2.1.10.5/cnf/make.conf /etc
( cd /etc && patch -p0 ) < portage-2.1.10.5/cnf/make.conf.amd64.diff
做软链接, 把 /usr/lib/portage/bin 目录下的东西都链接一份到 /usr/bin (目
录除外)
cd /usr/bin/
ln -svf ../lib/portage/bin/emerge
ln -svf ../lib/portage/bin/ebuild
.
.
.
然后是建立选择 profile
ln -svf ../usr/share/portage/config/make.globals /etc/make.globals
好了,开始 emerge !
FEATURES=-sandbox emerge -av --nodeps portage !
这次一定要 -sandbox , 因为 Fedora 默认没有安装 sandbox :)
--
我是天马博士,对,就是创造了阿童木的那个天马博士
12 years, 4 months
Re: [FZH] Please sign the FPCA in transifex
by Caius 'kaio' Chance
翻譯的哥們:
請不忘簽一下新的協議:
a) 打開 https://www.transifex.net/projects/p/fedora/cla/ 登入;
b) 閱讀完 FPCA 協議後,按選同意格;
c) 按 "Sign it" 完成.
不然你的 transfex 戶口將會被清除。
K410
On 16 July 2011 03:38, Toshio Kuratomi <a.badger(a)gmail.com> wrote:
> Due to 26 language teams lacking coordinators that have signed the FPCA,
> we're delaying removal of people who have not signed the FPCA in transifex
> for one week. Please, go to fedora.transifex.net and sign the FPCA there,
> *especially* if you are a language coordinator. If we don't have language
> coordinators for a translation team, the team may be dropped from
> transifex.
>
> Original message with instructions for signing follows:
>
> --- Forwarded message ---
> Greetings,
>
> You've likely already been made aware that the Fedora Project has needed
> contributors to Fedora to sign a revised contributor agreement called the
> FPCA
> (Fedora Project Contributor Agreement located:
> https://fedoraproject.org/wiki/Legal:Fedora_Project_Contributor_Agreement).
> And as translators, some of you may have already heard that you needed to
> sign
> the agreement and done so in the Fedora Account System.
>
> For translators, however, we've run into a small issue. Translations are
> being
> in transifex on https://fedora.transifex.net/ The iuser accounts there
> are not
> linked to the Fedora Account System. This means that we can't accurately
> check
> whether you've signed the FPCA in the Fedora Account System. Instead, we
> rely
> on transifex.net's ability to ask that you sign the FPCA when you join a
> translation team there. When we initially updated from the old Fedora
> Individual Contributor License Agreement to the FPCA we allowed people to
> remain in the transifex groups while people signed the FPCA. But we do
> need to
> get everyone in those groups to have signed the FPCA by July 15^W (EDIT:
> Extended to July 22) or remove access for those people.
>
> You are currently one of the contributors who hasn't agreed to the new FPCA
> in
> transifex.net. To sign the FPCA, before you are removed from the
> translation
> teams:
>
> a) Open https://www.transifex.net/projects/p/fedora/cla/ logged in;
> b) Check the checkbox to agree with the FPCA after reading it;
> c) Click on "Sign it" and you are done.
>
> If you don't get around to signing the FPCA until after you are removed
> from
> the transifex translation teams follow these steps:
>
> a) Open the Fedora Teams' page on transifex.net:
> https://fedora.transifex.net
> logged in
> b) Click on the translation team that you want to work on
> c) Check the checkbox to agree with the project's contributor license
> agreement
> after reading it.
> d) Click on "Join this Team" and you are done.
>
>
> Thank you,
> -Toshio
>
> --
> Regards ☺ Caius 'kaio' Chance - Fedora Project Contributor http://
> goo.gl/9WWWC
> <http://goo.gl/9WWWC>IRC: kaio @ freenode | Twitter/Weibo: @K410 | Blog:
> kaio.net
>
>
>
12 years, 4 months
[FZH] [求助]F15下stardict崩溃。。
by 严晶涛
打开1-2秒后崩溃,提示如下:
ERROR:compositelookup.cpp:34:void
CompositeLookup::send_net_dict_request(const string&, const string&):
assertion failed: (NetDictRequests.end() ==
std::find(NetDictRequests.begin(), NetDictRequests.end(), request))e
12 years, 4 months
[FZH] [fedora-zh][D] 为什么 Fedora 应该放弃 RPM 包管理系统而改用 portage
by microcai
Fedora 是 Linux 发行版中的领头羊,别看用户少,缺了 Fedora , Linux 可就停
滞不前咯。
我相信通过转换到 portage , 能大大加速 Fedora 本来就第一的开发速度,将第
二名彻底鄙视。
好吧,我来说说 Fedora 使用 Portage 之后有多少好处:
Pro
1) 不再需要痛苦的夸版本升级,这是 bug 滋生的温床。
2) 人人都可以晋级为打包者
3) 对源的依赖降低。使得用户不再被 Fedora 没国内好源困扰(不是 Chinese
Only 的问题吧?很多国家源都没有)
4) 打包速度提升, 包维护代价降低
5) 能更吸引高级的用户青睐, 从而容易扩大社区。portage 同时支持二进制包,
也不会轻易丢失初级用户
6) 现有成千上万的高质量 ebuild. 而 ebuild 跨发行版要比 spec 文件容易的
多,能节约大量的劳动力。
7) 更加尊重 upstream name。 不需要有奇怪的改名。
8) 避免被 Gentoo 完全击毙。 Gentoo 正在考虑集成 anaconda ... 万一他们成
了, Gentoo 的安装就和 Fedora 一样了,到时候 Fedora 还有人用么? 现在吸
收对手,立于不败之地。
9) 放心的集成原本不能放到软件仓库里的软件。 portage 本质上只是脚本,只要
Fedora 的镜像服务器 上不放非自由软件就行。 ebuild 可以到这些软件的官方软
件自动下载代码来安装。考虑到这是 Fedora ,可以改为下载网站上的二进制版本
来安装。
Con
1) 一些偏见分子很可能会以此攻击 Fedora
2) 让 Fedora 承认 RPM 没有 ebuild 好,实在是有点没面子
--
我是天马博士,对,就是创造了阿童木的那个天马博士
12 years, 4 months
[FZH] 一不小心发现自己重复发明轮子了,还好我才开始发明,而不是已经发明了。
by microcai
一不小心发现自己重复发明轮子了,还好我才开始发明,而不是已经发明了。
这个轮子就是 emerge-rpm
其实这个东西 Gentoo 已经有了。
ebuild XXX.ebuild rpm 就可以生成 rpm 包了。只不过是缺乏依赖信息。
而我想要做的也不过是这种,但是包含依赖信息。现在有办法了,就是在 ebuild
基础上修改就好了,给他自己的 RPM 机制添加 dependences 信息。
哈哈,还好我今天多注意了一下。
--
我是天马博士,对,就是创造了阿童木的那个天马博士
12 years, 5 months