ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Re: Сборка пакета и предоставляемые им же библиотеки.
Date: Wed, 9 Nov 2005 00:31:45 +0300
Message-ID: <20051108213145.GB14451@lks.home> (raw)
In-Reply-To: <200511082330.52837.mothlike@gmail.com>

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

Hi Dmitry!

Tuesday 08, at 11:30:45 PM you wrote:

> На основании вышеизложенного у меня есть следующие вопросы: нужно ли мне 
> принудительно менять .la на .so в Makefile этих плагинов и как правильно 
> устанавливать с помощью libtool библиотеки при сборке в RPM? И что такое 
> relinking, о котором меня предупреждают?
менять .la на .so надо однозначно, .la у нас давно нет. relinking делается
в случае изменения путей до библиотек на этапе сборки/установки (как раз
%buildroot и %_libdir). Как раз, если забить на .la, этого делаться не
будет.

> 
> Я использовал заклинание вида:
> 
> %__subst "s/\(Wl,--no-undefined\)/-Wl,--warn-unresolved-symbols \1/g" 
> admin/acinclude.m4.in
> %__subst "s/\-lkdeui/-lkdeui -lpthread/g" admin/acinclude.m4.in
> %__subst "s/\.la/.so/g" admin/acinclude.m4.in
> %make -f admin/Makefile.common cvs ||:
> 
> для сборки KDE програм в Сизифе.
> 
> Также, нужно ли выделять в отдельный пакет библиотеки этой программы, или и 
> так пойдет? :)
выделять их можно (и нужно) лишь только в том случае, если есть
другие приложения, которые их используют. Иначе особого смысла нет. Либо
если можно распилить пакет на -libs, -plugins -ui, т.е. возможна ситуация,
что какой-то другой проге потребуется -libs (?-plugins), но не -ui или
-data от основного пакета.

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR

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

  reply	other threads:[~2005-11-08 21:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08 20:30 [devel] " Dmitry Marochko
2005-11-08 21:31 ` Konstantin A. Lepikhov [this message]
2005-11-09 18:01   ` [devel] " Dmitry Marochko
2005-11-09 18:49     ` Andrey Rahmatullin
2005-11-11 14:10       ` Sergey V Turchin
2005-11-08 21:59 ` [devel] " Alex Yustasov

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=20051108213145.GB14451@lks.home \
    --to=lakostis@altlinux.org \
    --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