ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Проверка версии automake
@ 2012-04-26 15:19 Roman Savochenko
  2012-04-26 15:35 ` Led
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Roman Savochenko @ 2012-04-26 15:19 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Всем привет!

С момента обновления версии automake скрипты ряда пакетов TDE (KDE3) 
перестали узнавать новую версию.
Странно тут то, что в скрипте всё написано вроде корректно:
case $AUTOMAKE_STRING in
   automake*1.5d* | automake*1.5* | automake*1.5-* )
     echo "*** YOU'RE USING $AUTOMAKE_STRING."
     echo "*** KDE requires automake $required_automake_version"
     exit 1
     ;;
   automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | 
automake*1.10* | automake*1.11* | automake*1.12*)
     echo "*** $AUTOMAKE_STRING found."
     UNSERMAKE=no
     ;;
   "" )

Хотя я догадываюсь, что сработало первое условие, поскольку сейчас 
версия automake 1.11.5.
Хотел обойти проблему принудительной установкой automake_1.10, но нечто 
тянет за собой и automake_1.11.
Можно конечно поднять проверку на корректность на уровень выше, над 
проверкой некорректности.

Как более правильно обойти эту проблему?

С уважением, Роман.

[-- Attachment #2: rom_as.vcf --]
[-- Type: text/x-vcard, Size: 324 bytes --]

begin:vcard
fn:Roman Savochenko
n:Savochenko;Roman
org:DIYA Ltd
adr:;;;Dneprodzerzinsk;Dnepropetrovsk;51925;Ukraine
email;internet:rom_as@diyaorg.dp.ua
title:Leading engineer-programer
tel;work:+380675675542
tel;fax:+380569262025
tel;home:+380569292458
tel;cell:+380679859815
url:http://diyaorg.dp.ua
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Проверка версии automake
  2012-04-26 15:19 [devel] Проверка версии automake Roman Savochenko
@ 2012-04-26 15:35 ` Led
  2012-04-26 16:05 ` Sergey V Turchin
  2012-04-27  1:54 ` REAL
  2 siblings, 0 replies; 4+ messages in thread
From: Led @ 2012-04-26 15:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

s/automake\*/& /g

-- 
Led


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Проверка версии automake
  2012-04-26 15:19 [devel] Проверка версии automake Roman Savochenko
  2012-04-26 15:35 ` Led
@ 2012-04-26 16:05 ` Sergey V Turchin
  2012-04-27  1:54 ` REAL
  2 siblings, 0 replies; 4+ messages in thread
From: Sergey V Turchin @ 2012-04-26 16:05 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

On 26 апреля 2012 18:19:29 Roman Savochenko wrote:

[...]
> Как более правильно обойти эту проблему?
Я раньше всегда патчил этот case. Всегда срабатывало.

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] Проверка версии automake
  2012-04-26 15:19 [devel] Проверка версии automake Roman Savochenko
  2012-04-26 15:35 ` Led
  2012-04-26 16:05 ` Sergey V Turchin
@ 2012-04-27  1:54 ` REAL
  2 siblings, 0 replies; 4+ messages in thread
From: REAL @ 2012-04-27  1:54 UTC (permalink / raw)
  To: ALT Linux Team development discussions

26.04.2012 22:19, Roman Savochenko пишет:
> Странно тут то, что в скрипте всё написано вроде корректно:
> case $AUTOMAKE_STRING in
> automake*1.5d* | automake*1.5* | automake*1.5-* )
> echo "*** YOU'RE USING $AUTOMAKE_STRING."
> echo "*** KDE requires automake $required_automake_version"
> exit 1
> ;;
> automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* |
> automake*1.10* | automake*1.11* | automake*1.12*)
> echo "*** $AUTOMAKE_STRING found."
> UNSERMAKE=no
> ;;
[...]
>
> Хотя я догадываюсь, что сработало первое условие, поскольку сейчас
> версия automake 1.11.5.

Я переставил эти два кейса местами, и заработало.

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-27  1:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 15:19 [devel] Проверка версии automake Roman Savochenko
2012-04-26 15:35 ` Led
2012-04-26 16:05 ` Sergey V Turchin
2012-04-27  1:54 ` REAL

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