ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Gusarov <dottedmag@dottedmag.net>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Одинаковые имена библиотек для Qt3 и  Qt4
Date: Sun, 30 Dec 2007 23:24:44 +0600
Message-ID: <87ir2grt7n.fsf@vertex.dottedmag.net> (raw)
In-Reply-To: <200712302014.11147.gik@bigur.ru> (Gennady Kovalev's message of "Sun, 30 Dec 2007 20:14:10 +0300")


Twas brillig at 20:14:10 30.12.2007 UTC+03 when Gennady Kovalev did gyre and gimble:

 GK> В библиотеке предусмотрено два варианта: для Qt3 и Qt4. То есть два
 GK> каталога исходных кодов для каждой версии.

А заголовочные файлы у этих двух версий могут присутствовать
одновременно? Т.е. разведены куда-нибудь в /usr/include/qscintillia-qt3
и /usr/include/qscintilla-qt4?

Моё имхо такое:

развести SONAME у создаваемых библиотек: например libqscintilla2-qt3 и
libqscintilla2-qt4, аналогично - имена файлов библиотек.

Складывать их в %_libdir.

Разнести заголовочные файлы в /usr/include/qscintilla-qt{3,4} (если ещё
не разнесены).

Сделать devel-пакеты libqtscintilla-qt3-devel и libqtscintilla-qt4-devel
с соответствующими заголовочными файлами и библиотеками.

И - главное - отослать патч в upstream и убедить его, что это хорошо :)

-- 
JID: dottedmag@jabber.dottedmag.net

  reply	other threads:[~2007-12-30 17:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-30 17:14 Gennady Kovalev
2007-12-30 17:24 ` Mikhail Gusarov [this message]
2007-12-30 20:36   ` Eugene Ostapets
2007-12-30 20:39     ` Mikhail Gusarov
2007-12-30 20:49       ` Eugene Ostapets
2007-12-30 20:41     ` Gennady Kovalev
2007-12-31 11:17       ` Eugene Ostapets
2008-01-09 15:00         ` Sergey V Turchin
2008-01-09 15:16           ` Gennady Kovalev
2008-01-09 16:40             ` Sergey V Turchin
2008-01-09 17:47               ` Gennady Kovalev
2008-01-10 11:02                 ` Sergey V Turchin
2008-01-10 12:10                   ` Gennady Kovalev
2007-12-31 22:38 ` Ivan Fedorov
2008-01-01 17:10   ` Gennady Kovalev
2008-01-02  1:40     ` Ivan Fedorov

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=87ir2grt7n.fsf@vertex.dottedmag.net \
    --to=dottedmag@dottedmag.net \
    --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