ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <sir_raorn@immo.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Q: %_prefix/%cross_fullarch
Date: Mon, 20 Oct 2003 18:53:18 +0400
Message-ID: <20031020145318.GS6596@inferno.immo> (raw)
In-Reply-To: <20031020142703.GA32694@basalt.office.altlinux.org>


[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --]

* Dmitry V. Levin <ldv@altlinux.org> [031020 18:27]:
> > Всвязи с последними изменениями в sisyphus_check, может всё-таки
> > разрешим кросскомпиляторам и сопутсвующему им барахлу ставиться в
> > %_prefix/%cross_fullarch? А то чесслово - очень было тяжело
> > загонять всё это в %_libdir/%cross_fullarch... Я mingw32 новый
> > собирать готовлюсь, опять неизвестно что там вылезет...
> > P.S. В Debian, например, оно в %_prefix/%cross_fullarch ставится...
> Я бы разрешил.
> Если никто не против, то давайте патч на sisyphus_check.
Attached. Рассказываю идею:

В файле /etc/sisyphus/crossarch-prefix для каждой разрешённой
архитектуры прописываются строки вида:

^/usr/avr
^/usr/i386-mingw32msvc
^/usr/m68k-palmos

И так далее. При check_fhs эти префиксы не учитываются (если я не
напутал с ключами grep'а ;-).

-- 
Regards, Sir Raorn.
-------------------
Сейчас бету выложим, отпразднуем, а потом все и обсудим. :-)
		-- aen in devel@

[-- Attachment #1.2: sisyphus-0.5.1-alt-cross-arch.patch --]
[-- Type: text/plain, Size: 633 bytes --]

diff -urN sisyphus-0.5.1-orig/etc/functions sisyphus-0.5.1/etc/functions
--- sisyphus-0.5.1-orig/etc/functions	2003-10-17 18:43:32 +0400
+++ sisyphus-0.5.1/etc/functions	2003-10-20 18:48:57 +0400
@@ -257,6 +257,9 @@
 				list=$(echo -n "$list" |grep -ve '^/opt/interbase')
 			fi
 			# END workarounds.
+			# BEGIN crosscompilers.
+			list=$(echo -n "$list" |grep -vf /etc/sisyphus/crossarch-prefix)
+			# END crosscompilers.
 
 			if echo -n "$list" |egrep -ve '^/(bin|boot|etc|lib|sbin|usr/(X11R6|bin|etc|games|include|lib|sbin|share|src)|var/(cache|lib|lock|log|run|spool|www|yp))/.*'; then
 				echo "$f: FHS-2.2 violations" >&2

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

  reply	other threads:[~2003-10-20 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 14:13 Alexey I. Froloff
2003-10-20 14:27 ` Dmitry V. Levin
2003-10-20 14:53   ` Alexey I. Froloff [this message]
2003-10-28 15:42     ` 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=20031020145318.GS6596@inferno.immo \
    --to=sir_raorn@immo.ru \
    --cc=devel@altlinux.ru \
    /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