LinuxSir.cn,穿越时空的Linuxsir!

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

cairo和libXft的“newspr” USE标记是什么意思?

[复制链接]
发表于 2008-11-20 23:41:39 | 显示全部楼层 |阅读模式
添加gentoo-china的overlay后,用emerge -avuDN linuxqq,提示升级cairo软件包
Calculating dependencies... done!
[ebuild   R   ] media-libs/freetype-2.3.7  USE="X ubuntu%* -bindist -debug -doc -utils" 0 kB [0=>1]
[ebuild   R   ] media-libs/fontconfig-2.6.0-r2  USE="ubuntu%* -doc" 0 kB [0=>1]
[ebuild   R   ] x11-libs/cairo-1.6.4-r1  USE="X newspr%* -debug -directfb -doc -glitz -opengl -svg -test -xcb" 0 kB [0=>1]
[ebuild     UD] net-im/linuxqq-1.0_pre3 [1.0_p3] 0 kB [1]

当安装到cairo软件包时,提示必须给libXft包也加上newspr标记,不知道这个newspr USE 标记是什么意思。
* Messages for package x11-libs/cairo-1.6.4-r1:

* You need to rebuild libXft with newspr USE enabled
* before you can compile cairo with newspr.
*
* ERROR: x11-libs/cairo-1.6.4-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_setup
*   cairo-1.6.4-r1.ebuild, line   68:  Called die
* The specific snippet of code:
*                   die "lease rebuild libXft with newspr enabled."
*  The die message:
*   Please rebuild libXft with newspr enabled.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.6.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.6.4-r1/temp/die.env'.
* This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
*

有人知道吗?
发表于 2008-11-21 02:12:13 | 显示全部楼层
subpixel rendering 次像素渲染
可以看看这个:http://linuxsir.cn/bbs/thread331586.html
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-21 10:24:22 | 显示全部楼层
Post by kamanx;1911388
subpixel rendering 次像素渲染
可以看看这个:http://linuxsir.cn/bbs/thread331586.html


谢谢,知道一点了。
回复 支持 反对

使用道具 举报

发表于 2009-6-11 14:23:29 | 显示全部楼层
Post by zkeey;1911347
添加gentoo-china的overlay后,用emerge -avuDN linuxqq,提示升级cairo软件包
Calculating dependencies... done!
[ebuild   R   ] media-libs/freetype-2.3.7  USE="X ubuntu%* -bindist -debug -doc -utils" 0 kB [0=>1]
[ebuild   R   ] media-libs/fontconfig-2.6.0-r2  USE="ubuntu%* -doc" 0 kB [0=>1]
[ebuild   R   ] x11-libs/cairo-1.6.4-r1  USE="X newspr%* -debug -directfb -doc -glitz -opengl -svg -test -xcb" 0 kB [0=>1]
[ebuild     UD] net-im/linuxqq-1.0_pre3 [1.0_p3] 0 kB [1]

当安装到cairo软件包时,提示必须给libXft包也加上newspr标记,不知道这个newspr USE 标记是什么意思。
* Messages for package x11-libs/cairo-1.6.4-r1:

* You need to rebuild libXft with newspr USE enabled
* before you can compile cairo with newspr.
*
* ERROR: x11-libs/cairo-1.6.4-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called pkg_setup
*   cairo-1.6.4-r1.ebuild, line   68:  Called die
* The specific snippet of code:
*                   die "lease rebuild libXft with newspr enabled."
*  The die message:
*   Please rebuild libXft with newspr enabled.
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/cairo-1.6.4-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/cairo-1.6.4-r1/temp/die.env'.
* This ebuild is from an overlay: '/usr/local/portage/layman/gentoo-china/'
*

有人知道吗?


我也遇到这个问题了,但是我用如下命令重新安装libXft:

  USE="newspr" emerge libXft

然后重新安装 cairo :

emerge cairo

但是提示同样的错误.
后来我在/etc/make.conf中的USE中加入了 "newspr" ,同样无法解决问题.

请问你是怎么解决的呢?如果可以的话,请贴出相关的命令,感谢.
回复 支持 反对

使用道具 举报

发表于 2009-6-12 14:38:31 | 显示全部楼层
汗,我的错。已经将1.8.6-r1标记为stable,更新下gentoo-china-overlay,新版本的cairo已经不用newspr了。有cleartype和ubutu两个USE的选择,都是次像素渲染支持的。你可以挑一个用,我自己用的是cleartype。
回复 支持 反对

使用道具 举报

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

本版积分规则

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