Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8230 - samba should not depend on ghostscript ...
Summary: samba should not depend on ghostscript ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-22 15:33 UTC by Martin Holzer (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Holzer (RETIRED) gentoo-dev 2002-09-22 15:33:10 UTC
the idea is to have a server without x11.

i've a naked gentoo and wanted to install samba. emerge -p samba shows me, that 
xfree 4.2.0-r12 is to be installed.

maybe it should use the USE flag, but this should not be emerge by default.
Comment 1 SpanKY gentoo-dev 2002-09-22 20:23:40 UTC
add '-X' to your USE variable then
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-09-23 12:44:54 UTC
okey samba doesn't any more

but emerge php does it anyway
not a very good solve i think
Comment 3 SpanKY gentoo-dev 2002-09-23 13:05:50 UTC
here is my server (after i setup my USE variable):
root@rux0r xsw-1.34.0 # emerge mod_php samba -ep

These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild  N   ] sys-kernel/linux-headers-2.4.18
[ebuild  N   ] sys-libs/zlib-1.1.4
[ebuild  N   ] dev-python/python-fchksum-1.6.1
[ebuild  N   ] sys-libs/ncurses-5.2-r6
[ebuild  N   ] sys-apps/bash-2.05a-r3
[ebuild  N   ] sys-libs/readline-4.1-r4
[ebuild  N   ] dev-libs/expat-1.95.4
[ebuild  N   ] dev-lang/python-2.2.1-r2
[ebuild  N   ] sys-apps/debianutils-1.16
[ebuild  N   ] sys-devel/make-3.79.1-r4
[ebuild  N   ] sys-devel/libtool-1.4.1-r9
[ebuild  N   ] sys-devel/m4-1.4p
[ebuild  N   ] sys-devel/autoconf-2.53a
[ebuild  N   ] sys-apps/attr-20020330
[ebuild  N   ] sys-apps/acl-20020330
[ebuild  N   ] dev-libs/glib-1.2.10-r4
[ebuild  N   ] dev-util/xdelta-1.1.3
[ebuild  N   ] sys-apps/fileutils-4.1.8-r2
[ebuild  N   ] sys-apps/portage-2.0.37
[ebuild  N   ] sys-apps/gawk-3.1.1
[ebuild  N   ] sys-apps/baselayout-1.8.3
[ebuild  N   ] sys-libs/glibc-2.2.5-r6
[ebuild  N   ] sys-apps/groff-1.17.2-r2
[ebuild  N   ] sys-libs/gdbm-1.8.0-r5
[ebuild  N   ] sys-devel/perl-5.6.1-r6
[ebuild  N   ] app-arch/unzip-5.42-r1
[ebuild  N   ] dev-java/java-sdk-docs-1.3.1
[ebuild  N   ] dev-java/java-config-0.2.6
[ebuild  N   ] dev-java/blackdown-jdk-1.3.1-r7
[ebuild  N   ] media-libs/libpng-1.2.4
[ebuild  N   ] media-libs/pdflib-4.0.1-r3
[ebuild  N   ] app-crypt/mhash-0.8.16
[ebuild  N   ] dev-libs/openssl-0.9.6g
[ebuild  N   ] media-libs/jpeg-6b-r2
[ebuild  N   ] media-libs/tiff-3.5.7-r1
[ebuild  N   ] app-text/sablotron-0.95-r1
[ebuild  N   ] sys-devel/automake-1.6.1-r6
[ebuild  N   ] dev-libs/libmcrypt-2.5.1-r4
[ebuild  N   ] dev-libs/mm-1.2.1
[ebuild  N   ] sys-libs/db-1.85-r1
[ebuild  N   ] sys-libs/db-3.2.9-r1
[ebuild  N   ] net-www/apache-1.3.26-r4
[ebuild  N   ] sys-libs/pwdb-0.61-r3
[ebuild  N   ] sys-apps/miscfiles-1.3
[ebuild  N   ] sys-libs/cracklib-2.7-r5
[ebuild  N   ] sys-libs/pam-0.75-r7
[ebuild  N   ] media-libs/freetype-1.3.1-r3
[ebuild  N   ] media-libs/libgd-1.8.3-r5
[ebuild  N   ] dev-libs/libxml2-2.4.24
[ebuild  N   ] net-mail/uw-imap-2001a-r2
[ebuild  N   ] sys-devel/gettext-0.11.1
[ebuild  N   ] sys-apps/procps-2.0.7-r6
[ebuild  N   ] sys-apps/tcp-wrappers-7.6-r3
[ebuild  N   ] dev-db/mysql-3.23.52
[ebuild  N   ] net-libs/libwww-5.4.0-r1
[ebuild  N   ] dev-php/mod_php-4.2.2-r1
[ebuild  N   ] net-libs/openslp-1.0.8a
[ebuild  N   ] app-text/ghostscript-7.05.3-r3
[ebuild  N   ] net-print/cups-1.1.15-r2
[ebuild  N   ] net-fs/samba-2.2.5-r1
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-09-23 16:30:14 UTC
do you have a 1.4 iso system, or 1.2 ?

i've 1.2, looks like this

p133 root # emerge mod_php samba -ep


These are the packages that I would merge, in order.

Calculating dependencies ...done!
[ebuild  N   ] sys-libs/zlib-1.1.4
[ebuild  N   ] dev-python/python-fchksum-1.6.1
[ebuild  N   ] sys-libs/ncurses-5.2-r6
[ebuild  N   ] sys-apps/bash-2.05a-r3
[ebuild  N   ] sys-libs/readline-4.1-r4
[ebuild  N   ] sys-devel/libtool-1.4.1-r9
[ebuild  N   ] sys-devel/gettext-0.11.1
[ebuild  N   ] sys-devel/m4-1.4p
[ebuild  N   ] sys-libs/db-1.85-r1
[ebuild  N   ] sys-libs/db-3.2.9-r1
[ebuild  N   ] dev-libs/expat-1.95.4
[ebuild  N   ] dev-lang/python-2.2.1-r2
[ebuild  N   ] sys-apps/debianutils-1.16
[ebuild  N   ] sys-apps/fileutils-4.1.8-r2
[ebuild  N   ] sys-apps/portage-2.0.37
[ebuild  N   ] sys-kernel/linux-headers-2.4.18
[ebuild  N   ] sys-apps/gawk-3.1.1
[ebuild  N   ] sys-apps/baselayout-1.8.3
[ebuild  N   ] sys-libs/glibc-2.2.5-r6
[ebuild  N   ] sys-apps/groff-1.17.2-r2
[ebuild  N   ] sys-libs/gdbm-1.8.0-r5
[ebuild  N   ] sys-devel/perl-5.6.1-r6
[ebuild  N   ] dev-java/java-config-0.2.6
[ebuild  N   ] dev-java/blackdown-jdk-1.3.1-r7
[ebuild  N   ] media-libs/libpng-1.2.4
[ebuild  N   ] media-libs/pdflib-4.0.1-r3
[ebuild  N   ] app-crypt/mhash-0.8.16
[ebuild  N   ] dev-libs/openssl-0.9.6g
[ebuild  N   ] media-libs/jpeg-6b-r2
[ebuild  N   ] media-libs/tiff-3.5.7-r1
[ebuild  N   ] sys-devel/autoconf-2.53a
[ebuild  N   ] sys-devel/automake-1.6.1-r6
[ebuild  N   ] dev-libs/libmcrypt-2.5.1-r4
[ebuild  N   ] dev-libs/mm-1.2.1
[ebuild  N   ] net-www/apache-1.3.26-r4
[ebuild  N   ] sys-libs/pwdb-0.61-r3
[ebuild  N   ] dev-libs/glib-1.2.10-r4
[ebuild  N   ] sys-apps/miscfiles-1.3
[ebuild  N   ] sys-libs/cracklib-2.7-r5
[ebuild  N   ] sys-libs/pam-0.75-r7
[ebuild  N   ] media-libs/freetype-2.1.2-r1
[ebuild  N   ] media-libs/lcms-1.09
[ebuild  N   ] media-libs/libmng-1.0.4
[ebuild  N   ] x11-base/opengl-update-1.4
[ebuild  N   ] sys-devel/flex-2.5.4a-r4
[ebuild  N   ] x11-base/xfree-4.2.0-r12
[ebuild  N   ] media-libs/giflib-4.1.0-r3
[ebuild  N   ] sys-devel/gcc-2.95.3-r7
[ebuild  N   ] media-libs/libungif-4.1.0-r1
[ebuild  N   ] x11-libs/qt-2.3.2-r1
[ebuild  N   ] dev-libs/libxml2-2.4.24
[ebuild  N   ] x11-libs/qt-3.0.5-r2
[ebuild  N   ] net-libs/libwww-5.4.0-r1
[ebuild  N   ] dev-php/mod_php-4.2.2-r1
[ebuild  N   ] sys-apps/tcp-wrappers-7.6-r3
[ebuild  N   ] app-text/ghostscript-7.05.3-r1
[ebuild  N   ] net-print/cups-1.1.15-r2
[ebuild  N   ] net-fs/samba-2.2.5-r1

p133 root # 
Comment 5 SpanKY gentoo-dev 2002-09-24 14:37:20 UTC
my server is 1.2 ... what is your USE variable ?
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2002-09-25 04:34:38 UTC
USE="-X"
Comment 7 SpanKY gentoo-dev 2002-09-25 07:03:22 UTC
try this:
`env USE="-X -qt" emerge mod_php samba -ep`
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2002-09-25 11:35:50 UTC
works with -X -qt
BUT
it has to work with only -X too.

Comment 9 SpanKY gentoo-dev 2002-09-25 12:51:50 UTC
samba has cups functionality which can be enabled/disabled by USE

cups has ghostscript functionality

ghostscript has functionality provided through X which can be toggled by USE

mod_php has qt and X functionality which can be toggled by USE

so what it comes down to is, you should setup your USE variable.  if you wish 
to make an arguement as to why you think X should not be in the default USE 
variable, then go for it.

either way, the current scope of the bug is 'samba should not depend on 
ghostscript', which is invalid (see above dependency graph)
if you wish to modify the scope, then rename the bug's description and post a 
good arguement about segmenting profiles into 'desktop' and 'server' profiles