ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Cc: "Alexey I. Froloff" <raorn@altlinux.org>
Subject: [devel] Re: buildreq
Date: Thu, 22 May 2003 16:08:15 +0400
Message-ID: <20030522120815.GC4337@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030522114038.GG3117@inferno.immo>

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

On Thu, May 22, 2003 at 03:40:38PM +0400, Alexey I. Froloff wrote:
> Таки полез я [...] в недра buildreq...
> 
> CLEAN_REQS=
> for r in $REQS; do
>     echo "$REQS" |grep -qs "^$r-" && continue ||:
>     rs="${r#lib}"
>     if [ "$rs" != "$r" ];then
>         echo "$REQS" |grep -qs "^$rs\$" && continue ||:
>     fi
>     CLEAN_REQS="$CLEAN_REQS $r"
> done
> echo $CLEAN_REQS >"$OUTFILE"
> 
> Этот момент немного непонятен.
> 
> если есть "name" и "name-*", выкидываем "name"
> если есть "name" и "libname", выкидываем "libname"
> 
> Почему именно так? Не лучше ли:

Кажется, лучше.
Никто не против?

> если есть "name" и "name-devel*", выкидываем "name"
> (для lib*)
> если есть "libname" и "name-devel*", выкидываем "libname"
> (для libffmpeg и ffmpeg-devel например, вчера столкнулся)
> Возможно можно (положительные примеры XFree86 и quakeforge):
> если есть "name-libs" и "name-devel*", выкидываем "name-libs"
> 
> CLEAN_REQS=
> for r in $REQS; do
>     echo "$REQS" |grep -qs "^$r-devel" && continue ||:
>     rs="${r#lib}"
>     if [ "$rs" != "$r" ];then
>         echo "$REQS" |grep -qs "^$rs-devel\$" && continue ||:
> 	# Или даже так:
>         #echo "$REQS" |grep -qs "^$rs-devel" && continue ||:
>     fi
>     rs="${r%-libs}"
>     if [ "$rs" != "$r" ];then
>         echo "$REQS" |grep -qs "^$rs-devel\$" && continue ||:
> 	# Или даже так:
>         #echo "$REQS" |grep -qs "^$rs-devel" && continue ||:
>     fi
>     CLEAN_REQS="$CLEAN_REQS $r"
> done
> echo $CLEAN_REQS >"$OUTFILE"


--
ldv

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

       reply	other threads:[~2003-05-22 12:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22 12:08 ` Dmitry V. Levin [this message]
2003-05-22 12:28   ` Alexey I. Froloff
2003-05-22 13:32     ` Dmitry V. Levin
2003-05-23 22:48       ` Alexey I. Froloff
2003-05-24  8:57         ` Ivan Zakharyaschev
2003-05-24 10:00           ` Dmitry V. Levin
2003-05-24 22:37           ` Alexey I. Froloff
2003-05-25 10:55           ` Mikhail Zabaluev
2003-05-25 11:10             ` Dmitry V. Levin
2003-05-25 12:54               ` [devel] naming policy Mikhail Zabaluev
2003-05-25 13:09                 ` Dmitry V. Levin

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=20030522120815.GC4337@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    --cc=raorn@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