ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] moved functions and find-package from rpm-build to rpm, added .provides.sh
Date: Sun, 25 Nov 2007 14:52:20 +0300
Message-ID: <20071125115220.GM361@solemn.turbinal> (raw)
In-Reply-To: <20071120070048.GC23589@solemn.turbinal>

[-- Attachment #1: Type: text/plain, Size: 2351 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2007-11-25 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20  7:00 Alexey M. Tourbin
2007-11-20 11:50 ` Dmitry V. Levin
2007-11-20 12:17   ` Alexey Tourbin
2007-11-25 11:52 ` Alexey Tourbin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071125115220.GM361@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git