Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vbqrG-00Edj7-2s for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 01:55:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vbqrF-00BooW-1x for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Jan 2026 01:55:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vbqrF-00BooN-0b for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 01:55:10 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vbqrC-003u5p-2i for pgsql-hackers@lists.postgresql.org; Sat, 03 Jan 2026 01:55:08 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id AA848510F23 for ; Sat, 03 Jan 2026 02:55:02 +0100 (CET) Received: from s934.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 9A1AC50F9E5; Sat, 03 Jan 2026 02:55:02 +0100 (CET) Received: from localhost (unknown [172.22.191.5]) by s934.loopia.se (Postfix) with ESMTP id 96CC37CEA7B; Sat, 03 Jan 2026 02:55:02 +0100 (CET) X-Virus-Scanned: amavis at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s472.loopia.se (amavis); dkim=pass (2048-bit key) header.d=proxel.se Received: from s899.loopia.se ([172.22.191.5]) by localhost (s472.loopia.se [172.22.190.12]) (amavis, port 10024) with LMTP id Idf_AtV4EtQq; Sat, 3 Jan 2026 02:54:59 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: andreas@proxel.se X-Loopia-Originating-IP: 147.28.75.140 Received: from [192.168.0.121] (customer-147-28-75-140.stosn.net [147.28.75.140]) (Authenticated sender: andreas@proxel.se) by s899.loopia.se (Postfix) with ESMTPSA id 9B2D02C8B90E; Sat, 03 Jan 2026 02:54:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxel.se; s=loopiadkim1707418970; t=1767405299; bh=bsOwHoN4EbRIMwvpEqnlR2gMgO++SNkYTrNkUnNFxHQ=; h=Date:Subject:To:References:From:In-Reply-To; b=GIgvA6jcs2w2HRcBnWbn09N9a6kHFeIDsq2ZtyZ8JYgWmtcXA9t5rWk7QKDcb0My4 dRXfntweXkWafFfaeLco/8c/2jlhfNwCboRbywSlhqem8ZteWppA/KYE94nSpd0Rno DH77/bO7YuxlTexA5kHpzJq+FREh444Z0cl8FpR0hq0tlZeLOl8PtWzgSXy+sZmSvc 0pyrmhjIemSjJ45TZRdAoRckWTx8WEHqb5y97TtAn7dcybz+ND28o/MdUfdd8tnw8O qo+dZK43moZ4pTHmUjlQeVGGEdnRlRcgy7bk5jlEVQz97hzPoYZje1Wk1pDV/JB+B4 ScU/MvHAwlWVA== Message-ID: Date: Sat, 3 Jan 2026 02:54:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Use Postgres as meson wrap subproject To: Niyaz Hazigaleyev , pgsql-hackers@lists.postgresql.org, Elliot Haisley , Andres Freund References: From: Andreas Karlsson Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/23/25 4:21 PM, Niyaz Hazigaleyev wrote: > So to use Postgres as wrap subproject u need to change @SOURCE_DIR@ to meson.project_source_root() and check include_directories for all dependencies. Is there any plans to support it? Thanks for the patch! There was an earlier patch[1] for this from Elliot Haisley which looks more complete that Andres seemed a bit interested in but as far as I know no progress has been made on it recently. You could help out by testing it out and reviewing it. Out of curiosity since I am quite new to Meson: what is your personal use case for wrap subprojects? References 1. https://www.postgresql.org/message-id/PH0PR84MB1954C7D61C4882403B8258708605A%40PH0PR84MB1954.NAMPRD84.PROD.OUTLOOK.COM Andreas