LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 866|回复: 12

添加china-overlay出的问题

[复制链接]
发表于 2008-11-17 15:33:04 | 显示全部楼层 |阅读模式
/usr/local/portage/layman/make.conf
PORTDIR_OVERLAY="
/usr/portage/local/layman/gentoo-china"
  1. # emerge -uDNp world
  2. !!! Multiple versions within a single package slot have been
  3. !!! pulled into the dependency graph:
  4. x11-libs/cairo:0
  5.   ('installed', '/', 'x11-libs/cairo-1.6.4-r1', 'nomerge') pulled in by
  6.     ('installed', '/', 'net-libs/xulrunner-1.9.0.4-r1', 'nomerge')
  7.   ('ebuild', '/', 'x11-libs/cairo-1.4.14', 'merge') pulled in by
  8.     ('installed', '/', 'x11-libs/gtk+-2.12.11', 'nomerge')
  9.     ('installed', '/', 'x11-libs/pango-1.20.5', 'nomerge')
  10. It may be possible to solve this problem by using package.mask to
  11. prevent one of those packages from being selected. However, it is also
  12. possible that conflicting dependencies exist such that they are
  13. impossible to satisfy simultaneously. If such a conflict exists in the
  14. dependencies of two different packages, then those packages can not be
  15. installed simultaneously.
  16. For more information, see MASKED PACKAGES section in the emerge man page
  17. or refer to the Gentoo Handbook.
  18. ... done!
  19. [ebuild   R   ] app-arch/unzip-5.52-r2  LINGUAS="-zh%"
  20. [ebuild  NS   ] media-libs/freetype-1.4_pre20080316-r1  USE="nls -doc -kpathsea"
  21. [ebuild     UD] media-libs/fontconfig-2.5.0-r1 [2.6.0-r2] USE="-xml%"
  22. [ebuild     UD] x11-libs/cairo-1.4.14 [1.6.4-r1] USE="newspr%*"
复制代码


overlay的cairo和fontconfig都比官方的老,但是newspr又是一个很好的对字体的渲染。
发表于 2008-11-17 18:48:57 | 显示全部楼层
应该把 1.6.4-r1 以下的 stable 一下就可以了吧
等人来解决吧
回复 支持 反对

使用道具 举报

发表于 2008-11-17 19:42:54 | 显示全部楼层
net-libs/xulrunner-1.9.0.4
你的系统里什么软件依赖这个
回复 支持 反对

使用道具 举报

发表于 2008-11-17 22:38:21 | 显示全部楼层
Post by LaoLiulaoliu;1909807
/usr/local/portage/layman/make.conf
PORTDIR_OVERLAY="
/usr/portage/local/layman/gentoo-china"
  1. # emerge -uDNp world
  2. !!! Multiple versions within a single package slot have been
  3. !!! pulled into the dependency graph:
  4. x11-libs/cairo:0
  5.   ('installed', '/', 'x11-libs/cairo-1.6.4-r1', 'nomerge') pulled in by
  6.     ('installed', '/', 'net-libs/xulrunner-1.9.0.4-r1', 'nomerge')
  7.   ('ebuild', '/', 'x11-libs/cairo-1.4.14', 'merge') pulled in by
  8.     ('installed', '/', 'x11-libs/gtk+-2.12.11', 'nomerge')
  9.     ('installed', '/', 'x11-libs/pango-1.20.5', 'nomerge')
  10. It may be possible to solve this problem by using package.mask to
  11. prevent one of those packages from being selected. However, it is also
  12. possible that conflicting dependencies exist such that they are
  13. impossible to satisfy simultaneously. If such a conflict exists in the
  14. dependencies of two different packages, then those packages can not be
  15. installed simultaneously.
  16. For more information, see MASKED PACKAGES section in the emerge man page
  17. or refer to the Gentoo Handbook.
  18. ... done!
  19. [ebuild   R   ] app-arch/unzip-5.52-r2  LINGUAS="-zh%"
  20. [ebuild  NS   ] media-libs/freetype-1.4_pre20080316-r1  USE="nls -doc -kpathsea"
  21. [ebuild     UD] media-libs/fontconfig-2.5.0-r1 [2.6.0-r2] USE="-xml%"
  22. [ebuild     UD] x11-libs/cairo-1.4.14 [1.6.4-r1] USE="newspr%*"
复制代码


overlay的cairo和fontconfig都比官方的老,但是newspr又是一个很好的对字体的渲染。

overlay中的cairo和fontconfig的版本都是尽可能和portage同步的,即使最糟糕的情况下,版本落后也不会超过一周的

cairo-1.6.4和1.6.4-r1也都已经stablize了,你更新一下overlay再试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-18 16:25:00 | 显示全部楼层
Post by zhllg;1909928
net-libs/xulrunner-1.9.0.4
你的系统里什么软件依赖这个

firefox-3.0.4要这个。我firefox用的是~x86.

我重新layman -S,现在成功,谢谢。
# emerge -uDNP world
[ebuild   R   ] app-arch/unzip-5.52-r2  LINGUAS="-zh%"
[ebuild   R   ] media-libs/freetype-2.3.7  USE="ubuntu%*"
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.27-r3  USE="-build -symlink"
[ebuild   R   ] media-libs/fontconfig-2.6.0-r2  USE="ubuntu%*"
[ebuild   R   ] x11-libs/cairo-1.6.4-r1  USE="newspr%*"

USE ubuntu是什么?没有见过,没有查到。
回复 支持 反对

使用道具 举报

发表于 2008-11-18 17:24:57 | 显示全部楼层
看ebuild文件就可以查到
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-18 18:36:12 | 显示全部楼层
我装cairo时依赖libXft,但是libXft要~x86的mask。我想修改china-overlay里的ebuild,改成x86的mask。但是好像每次更新就会变回原样。开发者能帮忙吗?
回复 支持 反对

使用道具 举报

发表于 2008-11-18 18:46:27 | 显示全部楼层
你可以添加自己的overlay
回复 支持 反对

使用道具 举报

发表于 2008-11-18 23:29:53 | 显示全部楼层
Post by LaoLiulaoliu;1910368
我装cairo时依赖libXft,但是libXft要~x86的mask。我想修改china-overlay里的ebuild,改成x86的mask。但是好像每次更新就会变回原样。开发者能帮忙吗?


你在/etc/portage/package.keywords中允许 x11-libs/libXft ~x86就好了呀。

另外,libXft和portage中的keyword应该是一样的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-19 12:05:49 | 显示全部楼层
我的意思是/usr/portage/local/layman/gentoo-china/x11-libs/libXf/libXft-2.1.13.ebuild里面,"KEYWORDS="这一行里面加入"x86".这样就可以不在/etc/portage/package.keywords中加入x11-libs/libXft ~x86了。
原因是依赖于libXft的cairo是x86的mask,唯独libXft是~x86的。
当然自己加一个overlay也是不错的方法。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表