ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: alexei@taf.ru
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Сборка расширений PostgreSQL
Date: Wed, 9 Feb 2022 22:34:10 +0800 (IRKT)
Message-ID: <137341124.891677.1644417250133.JavaMail.zimbra@taf.ru> (raw)
In-Reply-To: <2368123.6K4Gp6zYjV@zerg.malta.altlinux.ru>



----- Исходное сообщение -----
> От: "Sergey V Turchin" <zerg@altlinux.org>
> Кому: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
> Отправленные: Среда, 9 Февраль 2022 г 22:15:55
> Тема: Re: [devel] Сборка расширений PostgreSQL

> On Wednesday, 9 February 2022 17:04:45 MSK alexei  wrote:
> 
> [...]
>> На протяжении длительного времени у нас h-файлы от libpq, нужные обычным
>> клиентским программам, и серверные заголовки были свалены в одну кучу. По
>> этой причине было невозможно собирать серверные расширения под все
>> имеющиеся ветки сервера.
> Может, посмотреть, как у различных соседей сделано?

У соседей аналог server-devel в наличии. И требующие его приложения тем, или иным
способом производят выбор версии сервера.

Как вариант можно для приложений применять такую конструкцию в спеках:

%define full_ver %(pkg-config --modversion libpq)
%define pg_ver %(c=%{full_ver}; echo ${c%%.*})
...
BuildRequires: postgresql%pg_ver-server-devel
...

>> Собственно, если приложение знать не знает про версии новее 12, то имеет
>> смысл как раз задать ему зависимость postgresql12-server-devel, и тогда оно
>> полоучит именно то, что ожидает.
> Зачем? Оно у вас же собралось с 14-м.


  reply	other threads:[~2022-02-09 14:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 17:50 alexei
2022-02-04 17:56 ` Anton V. Boyarshinov
2022-02-04 18:41 ` Dmitry V. Levin
2022-02-09 12:51   ` alexei
2022-02-09 13:14     ` Dmitry V. Levin
2022-02-09 13:25       ` alexei
2022-02-09 13:29         ` alexei
2022-02-09 13:34         ` Dmitry V. Levin
2022-02-09 13:43         ` Sergey V Turchin
2022-02-09 14:04           ` alexei
2022-02-09 14:15             ` Sergey V Turchin
2022-02-09 14:34               ` alexei [this message]
2022-02-09 14:45                 ` Sergey V Turchin
2022-02-09 15:06                   ` alexei
2022-02-10  6:51                     ` Sergey V Turchin
2022-02-09 14:48                 ` Sergey V Turchin
2022-02-09 15:03                   ` alexei
2022-02-10  6:53                     ` Sergey V Turchin
2022-02-10  9:41                       ` alexei
2022-02-10  9:58                         ` Sergey V Turchin
2022-02-10 10:15                           ` alexei
2022-02-10 10:52                             ` Sergey V Turchin
2022-02-10 11:10                               ` alexei
2022-02-10 11:22                                 ` Sergey V Turchin
2022-02-10 11:44                                   ` alexei
2022-02-10 12:16                                     ` Sergey V Turchin
2022-02-09 16:03                 ` Dmitry V. Levin
2022-02-09 13:30       ` 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=137341124.891677.1644417250133.JavaMail.zimbra@taf.ru \
    --to=alexei@taf.ru \
    --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