From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 25 Nov 2007 14:52:20 +0300 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20071125115220.GM361@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org References: <20071120070048.GC23589@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/jvaajy/zP2g41+Q" Content-Disposition: inline In-Reply-To: <20071120070048.GC23589@solemn.turbinal> Subject: Re: [devel] moved functions and find-package from rpm-build to rpm, added .provides.sh X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 11:52:14 -0000 Archived-At: List-Archive: List-Post: --/jvaajy/zP2g41+Q Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 20, 2007 at 10:00:48AM +0300, Alexey M. Tourbin wrote: > This will allow to relax rpm-build-* dependencies, hopefully without = adding > new essential dependencies to rpm (note that rpm already depends on s= h and > coreutils; now this also includes grep, and possibly should include s= ed, > awk, and gzip). > =20 > Consider mono-mcs package, which is mono C# compiler. Recently I add= ed > dependency on rpm-build-mono to this package, to enable automatic sup= port > for mono dependencies whenever mono compiler is used. Now the problem > is that rpm-build-mono depends on rpm-build (via /usr/lib/rpm/functio= ns), > and rpm-build in turn requires a lot of packages, e.g. gcc and autoto= ols, > for the purpose of populating base build environment. > =20 > To put it another way, the problem is that it is impossible to install > mono compiler (with automatic support for mono dependencies) without = also > installing gcc and stuff, which is roughly 100M of unrelated packages. > =20 > This seems like a minor problem to me, since every "devel" package (i= ncluding > compilers) can conventionally require base build environment. Howeve= r, > Alexander Bokovoy argues that school kids desperately need mono-mcs c= ompiler > on their desktops without gcc and another stuff from the base build e= nvironment! $ hsh --initroot --pkg-build-list=3Dbasesystem =2E.. $ hsh-install mono Preparing packages for installation... glib2-2.14.3-alt1 pkg-config-0.22-alt2 glib2-devel-2.14.3-alt1 libX11-locales-1.1.3-alt6 libgamin-0.1.8-alt1 libgamin-fam-0.1.8-alt1 libexpat-2.0.1-alt0.1 libfreetype-2.3.5-alt2 fontconfig-2.5.0-alt1 Updating fonts cache: [ DONE ] libICE-1.0.4-alt1 libSM-1.0.3-alt1 libXau-1.0.3-alt1 libXdmcp-1.0.2-alt1.0 libxcb-1.1-alt2 libX11-1.1.3-alt6 libXrender-0.9.4-alt1 libalsa-1.0.14a-alt2.1 libdirectfb_0.9.25-0.9.25.1-alt2 libpng12-1.2.13-alt3 libcairo-1.4.10-alt1 libexif-0.6.16-alt1 libjpeg-6b-alt8 libtiff-3.8.2-alt1 libungif-4.1.4-alt1 libgdiplus-1.2.5-alt2 libmono-1.2.5.2-alt2 mono-1.2.5.2-alt2 $ hsh-install mono-mcs Preparing packages for installation... monodis-1.2.5.2-alt2 rpm-build-mono-1.2-alt2 mono-mcs-1.2.5.2-alt2 $ =E9=DA "=CC=C9=DB=CE=C9=C8" =D0=C1=CB=C5=D4=CF=D7 =D0=D2=C9 =D5=D3=D4=C1=CE= =CF=D7=CB=C5 mono =D7=D3=D4=C1=C0=D4 =D4=CF=CC=D8=CB=CF glib2-devel =C9 pkg-config. --/jvaajy/zP2g41+Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHSWH0fBKgtDjnu0YRAsoeAJ9+lCZWg67XjOcRmq1XJPzb8HxDAQCdHx9+ Fj2Un+2Q5Q/le9+MZrMlWiw= =rf+m -----END PGP SIGNATURE----- --/jvaajy/zP2g41+Q--