app-office/lyx depends on a whole bunch of packages which are actually not needed for it to work. Lyx alone requires only Qt library (it is not able to generate documents without latex, however). All other dependencies could be removed or changed to options. I modified the ebuild of the latest version to work on a 'typical' desktop system (uses latex and a spellchecker, not much more though;) Please take this change into account, as installing lyx on gentoo is a pain in the *ss because of the dependencies (i don't want half of my hard disk wasted just to install lyx ;) Modified ebuild included.
Created attachment 87766 [details] modified Lyx ebuild
(In reply to comment #0) Attach a unified diff so that someone can actually review the changes. Note however that killing functionality just because you dislike dependencies is not an option.
Here is the diff compared to the original ebuild: --- /usr/portage/app-office/lyx/lyx-1.4.1-r1.ebuild 2006-05-23 08:35:35.000000000 +0200 +++ lyx-1.4.1-r1.ebuild 2006-05-29 13:46:06.193276592 +0200 @@ -28,13 +28,7 @@ ) virtual/ghostscript virtual/aspell-dict - dev-tex/latex2html - dev-tex/dvipost - media-gfx/imagemagick - cups? ( virtual/lpr ) - app-text/sgmltools-lite - app-text/noweb - dev-tex/chktex" + cups? ( virtual/lpr )" # these dependencies need looking at. # does lyx only need qt to compile but not run ? @@ -52,7 +46,6 @@ virtual/tetex >=dev-lang/perl-5 nls? ( sys-devel/gettext ) - app-text/aiksaurus dev-lang/python >=sys-devel/autoconf-2.58 cjk? ( =x11-libs/qt-3* ) ------------------------------------------------------ So, basically, as of the functionality side, it removes image previews (maybe could be turned into an option, say: imagemagick? (media-gfx/imagemagick) The rest is unaffected by the removed dependencies (at least I didn't notice any changes).