From: Andrey Rahmatullin <wrar@yandex.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] SIM again (automake 1.8: changed behavior?)
Date: Wed, 10 Mar 2004 20:28:23 +0500
Message-ID: <20040310152823.GA5401@wrars-comp.wrarsdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]
Я тут помаленьку его допиливаю, осталось докрутить поддержку automake 1.8
и дождаться от апстрима фиксенья одного сегфолта - будет уже похоже на
рабочую версию.
Есть в sim проблема - как сказал zerg, надо делать либам разные soname в
зависимости от $use_kde. Как это делается у меня: в Makefile.am от обеих
либ вместо
lib_LTLIBRARIES = libsimapi.la
стоит
if KDE
lib_LTLIBRARIES = libsimapi.la
else
lib_LTLIBRARIES = libsimapi-qt.la
endif
И ниже
libsimapi_la_LIBADD =
libsimapi_la_SOURCES =
libsimapi_la_LDFLAGS =
libsimapi_qt_la_LIBADD =
libsimapi_qt_la_SOURCES =
libsimapi_qt_la_LDFLAGS =
(строки после = не пустые, просто писать неохота).
В configure.in.in стоит
AM_CONDITIONAL(KDE, test "$use_kde" = "yes")
Не знаю, насколько это правильно с т.зр. GNU Autotools, но под automake
1.7 всё нормально собирается. Под 1.8 - в Makefile.in в некоторых местах
помимо всех условных структур вылезает незавернутый libsimapi-qt.la
(точнее, тот из вариантов, который стоит 2-м - я пробовал ставить !KDE и
менять местами lib_LTLIBRARIES - вылезает libsimapi.la). Чушь получается
полная. К тому же почему-то добавление в спек строки
%set_automake_version 1.7
не влияет на реально используемую версию.
Может, именем собираемой библиотеки можно управлять более правильно? А то
мне свой костыль не очень нравится, а с учетом automake 1.8 делать
придется, похоже, еще хуже...
--
WBR, wRAR (ALT Linux Team)
Единственный helper, которому я доверяю, это /usr/lib/utempter/utempter из
пакета libutempter, ибо я написал его с нуля, пользуясь лишь идеей
Eric Troan'овского utempter'а.
-- ldv in devel@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2004-03-10 15:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-10 15:28 Andrey Rahmatullin [this message]
2004-03-10 16:21 ` Sergey Vlasov
2004-03-10 16:58 ` Andrey Rahmatullin
2004-03-10 18:23 ` Sergey Vlasov
2004-03-11 2:58 ` Andrey Rahmatullin
2004-03-11 6:23 ` Alexander Bokovoy
2004-03-11 16:38 ` Andrey Rahmatullin
2004-03-10 21:58 ` [devel] " Mikhail Zabaluev
2004-03-11 10:49 ` [devel] " Sergey V Turchin
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=20040310152823.GA5401@wrars-comp.wrarsdomain \
--to=wrar@yandex.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