[devel] moved functions and find-package from rpm-build to rpm, added .provides.sh

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Вс Ноя 25 14:52:20 MSK 2007


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 sh and
>     coreutils; now this also includes grep, and possibly should include sed,
>     awk, and gzip).
>     
>     Consider mono-mcs package, which is mono C# compiler.  Recently I added
>     dependency on rpm-build-mono to this package, to enable automatic support
>     for mono dependencies whenever mono compiler is used.  Now the problem
>     is that rpm-build-mono depends on rpm-build (via /usr/lib/rpm/functions),
>     and rpm-build in turn requires a lot of packages, e.g. gcc and autotools,
>     for the purpose of populating base build environment.
>     
>     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.
>     
>     This seems like a minor problem to me, since every "devel" package (including
>     compilers) can conventionally require base build environment.  However,
>     Alexander Bokovoy argues that school kids desperately need mono-mcs compiler
>     on their desktops without gcc and another stuff from the base build environment!

$ hsh --initroot --pkg-build-list=basesystem
...
$ 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
$

Из "лишних" пакетов при установке mono встают только glib2-devel
и pkg-config.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20071125/5a7d8b95/attachment-0002.bin>


Подробная информация о списке рассылки Devel