I had Gallery installed prior to the availability of the ebuild... I noticed it today and --pretend suggests the following: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/jbigkit [1.4] [ebuild N ] media-video/mpeg2vidcodec [12-r1] [ebuild U ] dev-lang/perl [5.8.0-r12] [5.8.0-r10] [ebuild N ] dev-perl/Text-Balanced [1.95] [ebuild N ] dev-perl/Parse-RecDescent [1.94] [ebuild N ] dev-util/intltool [0.26] [ebuild U ] x11-libs/gtk+ [1.2.10-r10] [2.2.1] [ebuild N ] media-sound/esound [0.2.29-r1] [ebuild N ] gnome-base/ORBit [0.5.17] [ebuild N ] media-libs/giflib [4.1.0-r3] [ebuild N ] media-libs/imlib [1.9.14-r1] [ebuild N ] gnome-base/gnome-libs [1.4.2] [ebuild N ] media-libs/gdk-pixbuf [0.21.0] [ebuild N ] dev-perl/XML-Writer [0.4-r2] [ebuild N ] dev-perl/gtk-perl [0.7008-r9] [ebuild N ] dev-perl/File-Spec [0.84-r1] [ebuild N ] dev-perl/Data-Dumper [2.101] [ebuild N ] dev-perl/Inline [0.44] [ebuild N ] dev-perl/Filter [1.29] [ebuild N ] dev-perl/ExtUtils-F77 [1.14-r1] [ebuild N ] dev-perl/PDL [2.4.0-r1] [ebuild N ] media-libs/mpeg-lib [1.3.1-r1] [ebuild N ] media-gfx/gimp [1.2.4] [ebuild N ] net-print/cups [1.1.19] [ebuild N ] net-print/foomatic [2.0.0] [ebuild N ] media-gfx/gimp-print [4.2.5] [ebuild N ] app-text/ghostscript [7.05.6-r2] [ebuild N ] media-gfx/imagemagick [5.5.6-r1] [ebuild N ] app-misc/gallery [1.3.3] MPEG2 codec?? The Gimp? CUPS?? LOL. I have everything that Gallery supports installed, though they might not all have been available under Portage at the time. Rest assured you don't need ghostscript, Cups, the Gimp, gnome-libs, etc for it to function. :) The unstable branch --pretend: Calculating dependencies ...done! [ebuild N ] media-libs/jbigkit-1.4 [ebuild N ] media-video/mpeg2vidcodec-12-r1 [ebuild N ] net-print/cups-1.1.19-r1 [ebuild N ] app-text/ghostscript-7.05.6-r3 [ebuild N ] media-gfx/imagemagick-5.5.7-r1 [ebuild N ] app-misc/gallery-1.3.4 Officially, Gallery's requirements are: Apache, PHP, NetPBM, optionally jhead, ImageMagick, mod_rewrite. Thanks for your help! Reproducible: Always Steps to Reproduce: Expected Results: Not require so many dependancies for something that is meant to be run on server boxes... :) Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20 i686 Pentium II (Klamath) GENTOO_MIRRORS="http://gentoo.seren.com/gentoo rsync://gentoo.seren.com/gentoo http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad mikmod mmx mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga tcltk java mysql gpm tcpd pam libwww ssl perl python motif opengl -X -kde -qt -gtk -gnome -alsa SSH PHP APACHE -APACHE2 mod_gzip mod_perl mod_php" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache distcc"
post your `emerge info` if you actually look at the DEPEND for gallery, you'll see: DEPEND=">=net-www/apache-1.3.24-r1 >=dev-php/mod_php-4.1.2-r5 >=media-gfx/jhead-1.6 >=media-libs/netpbm-9.12 >=media-gfx/imagemagick-5.4.9.1-r1" of course if you look at what imagemagick requires, you'll see this: DEPEND=">=sys-apps/sed-4 media-libs/jbigkit >=sys-apps/bzip2-1 sys-libs/zlib X? ( virtual/x11 >=app-text/dgs-0.5.9.1 ) cups? ( >=app-text/ghostscript-6.50 ) jpeg? ( >=media-libs/jpeg-6b ) lcms? ( >=media-libs/lcms-1.06 ) mpeg? ( media-video/mpeg2vidcodec ) png? ( media-libs/libpng ) tiff? ( >=media-libs/tiff-3.5.5 ) xml2? ( >=dev-libs/libxml2-2.4.10 ) truetype? ( =media-libs/freetype-2* ) wmf? ( media-libs/libwmf )" in other words, you need to either (1) setup your make.conf per the documentation or (2) emerge the package because it is pulling in what you wanted
I think this is resolved/invalid.
So by default portage includes alot of USE flags even though they are not specified in /etc/make.conf. In order to setup a server, one must exclude alot of USE flags... I had to add -cups -jpeg -mpeg -png to my use flags which had already included things like -X. I'm not disagreeing with the solution, however I will say it does seem a bit suspect. Perhaps we need another level of control, a flag that excludes other flags for example. +server might keep all those unnecessary flags from being added... rather than require someone to go through (and keep up with changes to) the USE documentation. Thanks for your help, it now shows the dependencies I would expect. :)
make.conf contains a link to http://www.gentoo.org/doc/use-howto.html - that page is quite verbose about what you think is hard to find out. If you use "ufed", you don't even have to know which variables exist... sorry, don't want to sound rude, but for me this looks like a typical case of RTFM :-)
LOL! Well, I've been using Gentoo for almost a year now, this is the first time I've had to populate my USE flag with a bunch of excludes... Since I do have the Fine Manual printed out, I see it has one (1) smaller font paragraph about the USE variables, mentioning excludes. Even as a programmer, that for some reason did not jump out at me in a 29 page document. :) Thanks for the help again :)
the profile is setup for the default multi user desktop system since we feel that is the largest group of people using Gentoo