LinuxSir.cn,穿越时空的Linuxsir!

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

为什么 gedit 现在要依赖一大堆东西了?

[复制链接]
发表于 2006-12-20 11:46:29 | 显示全部楼层 |阅读模式
我是装 gnome-light 的,主要是用来做工作用,不想装太多东西。但是我想装 gedit 的时候,就又要依赖一大堆的东西。应该是有办法避免的吧?!


  1. $ emerge gedit -pv

  2. These are the packages that would be merged, in order:

  3. Calculating dependencies... done!
  4. [ebuild  N    ] app-text/poppler-0.5.4  USE="jpeg zlib -cjk" 0 kB
  5. [ebuild  N    ] x11-apps/xprop-1.0.1  USE="-debug" 0 kB
  6. [ebuild  N    ] x11-misc/xdg-utils-1.0  0 kB
  7. [ebuild  N    ] app-crypt/opencdk-0.5.5  USE="-doc" 0 kB
  8. [ebuild  N    ] dev-libs/lzo-2.02-r1  USE="-examples" 0 kB
  9. [ebuild  N    ] dev-libs/libtasn1-0.3.5  USE="-doc" 0 kB
  10. [ebuild  N    ] net-libs/gnutls-1.4.4-r1  USE="nls zlib -doc" 0 kB
  11. [ebuild  N    ] app-text/libpaper-1.1.20  0 kB
  12. [ebuild  N    ] net-print/cups-1.2.6  USE="X jpeg nls pam ppds ssl tiff -dbus -php -png -samba -slp" 0 kB
  13. [ebuild  N    ] net-print/libgnomecups-0.2.2  USE="-debug" 0 kB
  14. [ebuild  N    ] gnome-base/libgnomeprint-2.12.1  USE="cups -debug -doc" 0 kB
  15. [ebuild  N    ] gnome-base/libgnomeprintui-2.12.1  USE="-debug -doc" 631 kB
  16. [ebuild  N    ] media-fonts/gnu-gs-fonts-std-8.11  0 kB
  17. [ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cups gtk -cjk -djvu -emacs -jpeg2k" 0 kB
  18. [ebuild  N    ] virtual/ghostscript-0  0 kB
  19. [ebuild  N    ] net-print/foomatic-db-ppds-20060720  11,009 kB
  20. [ebuild  N    ] net-print/foomatic-filters-3.0.20060720  USE="cups" 0 kB
  21. [ebuild  N    ] net-print/foomatic-filters-ppds-20060720  9,339 kB
  22. [ebuild  N    ] x11-libs/gtksourceview-1.8.1  USE="-debug -doc" 752 kB
  23. [ebuild  N    ] media-plugins/gst-plugins-gnomevfs-0.10.4  0 kB
  24. [ebuild  N    ] media-libs/gst-plugins-good-0.10.3  USE="-debug" 1,138 kB
  25. [ebuild  N    ] media-plugins/gst-plugins-pango-0.10.4  0 kB
  26. [ebuild  N    ] media-plugins/gst-plugins-gconf-0.10.3  USE="-debug" 0 kB
  27. [ebuild  N    ] media-video/totem-2.16.4  USE="firefox gnome nsplugin -a52 -dbus -debug -dvd -ffmpeg -flac -hal -lirc -mad -mpeg -nvtv -ogg -theora -vorbis -xine -xv" 1,777 kB
  28. [ebuild  N    ] gnome-base/libgtop-2.14.4  USE="X gdbm -debug -static" 0 kB
  29. [ebuild  N    ] dev-python/pyorbit-2.14.1  USE="-debug" 0 kB
  30. [ebuild  N    ] dev-python/gnome-python-2.16.2  USE="-debug -doc" 0 kB
  31. [ebuild  N    ] gnome-base/gnome-mount-0.4-r5  USE="-debug" 356 kB
  32. [ebuild  N    ] gnome-extra/nautilus-cd-burner-2.16.2  USE="-cdr -debug -dvdr" 698 kB
  33. [ebuild  N    ] gnome-extra/gnome-media-2.16.1  USE="ipv6 -debug -mad -ogg -vorbis" 2,904 kB
  34. [ebuild  N    ] dev-python/gnome-python-desktop-2.16.0  USE="X -debug" 419 kB
  35. [ebuild  N    ] app-editors/gedit-2.16.2  USE="python -debug -doc -spell" 2,785 kB

  36. Total size of downloads: 31,811 kB
复制代码
发表于 2006-12-20 12:35:41 | 显示全部楼层
是不是什么东西依赖 gnome 了?看下 gedit 的 ebuild 吧。
回复 支持 反对

使用道具 举报

发表于 2006-12-20 13:05:36 | 显示全部楼层
我把gedit的python的use给去掉了,少了好多
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-20 14:23:48 | 显示全部楼层
Post by ProgramFan
是不是什么东西依赖 gnome 了?看下 gedit 的 ebuild 吧。

如果是依赖 gnome 那么就应该连 gnome 这个包也要装吧,
也没有见它装 gnome 啊。
最不懂的就是为什么一个文本编辑器连 totem 也要依赖!
回复 支持 反对

使用道具 举报

发表于 2006-12-20 14:38:59 | 显示全部楼层
看看它的ebuild吧
回复 支持 反对

使用道具 举报

发表于 2006-12-20 15:54:08 | 显示全部楼层
emerge -uvDNp gedit 看看,或许依赖的还要多些。
因为我安装的是gnome不是gnome-light,所以没有这个问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-20 16:24:47 | 显示全部楼层
ebuild 文件也没有说要依赖 totem 啊,不知道为什么 gedit 竟然要依赖 totem ?!

[/code]
inherit gnome2

DESCRIPTION="A text editor for the GNOME desktop"
HOMEPAGE="http://www.gnome.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
IUSE="doc spell python"

RDEPEND=">=gnome-base/gconf-2
    >=dev-libs/glib-2.12
    >=x11-libs/gtk+-2.10
    >=x11-libs/gtksourceview-1.8.0
    >=gnome-base/libgnomeui-2.16
    >=gnome-base/libglade-2.5.1
    >=gnome-base/libgnomeprintui-2.12.1
    >=gnome-base/gnome-vfs-2.16
    >=gnome-base/orbit-2
    >=gnome-base/libbonobo-2
    spell? ( virtual/aspell-dict )
    python? (
        >=dev-python/pygtk-2.9.7
        >=dev-python/gnome-python-desktop-2.15.90
    )"
# FIXME : spell autodetect only

DEPEND="${RDEPEND}
    sys-devel/gettext
    >=dev-util/pkgconfig-0.9
    >=app-text/scrollkeeper-0.3.11
    >=dev-util/intltool-0.35
    >=app-text/gnome-doc-utils-0.3"

DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README THANKS TODO"

if [[ "${ARCH}" == "PC" ]] ; then
    MAKEOPTS="${MAKEOPTS} -j1"
fi
[/code]
回复 支持 反对

使用道具 举报

发表于 2006-12-20 21:00:20 | 显示全部楼层
我觉得gedit的速度比以前慢了不少,有没有人有同样的觉得?。。。
回复 支持 反对

使用道具 举报

发表于 2006-12-21 00:28:27 | 显示全部楼层
你的gedit使用python的use
而python的use依赖于gnome-python-desktop
你没看见你的gedit上方就是gnome-python-desktop吗?
这是个很大的套件,会安装gnome的很多包
你这样emerge gedit就少了
  1. USE="-python" emerge -av gedit
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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