* python-gi
@ 2023-01-23 14:00 Jon Turney
2023-01-24 12:32 ` python-gi Marco Atzeri
0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2023-01-23 14:00 UTC (permalink / raw)
To: cygwin-apps; +Cc: Marco Atzeri
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hi Marco,
It seems that the python-gi-devel package stopped providing the
pygobject-3.0.pc pkgconfig file in 3.36.1-1 (when upstream dropped the
autotools build system).
Unfortunately, some packages require that at build time (including some
I want to rebuild to drop python2 dependencies)
I'm going to suggest the attached patch to fix that (which restores the
steps to install that file in a meson-compatible way)
I can rebuild this package with that change, for you, if you like.
Please let me know how you'd like to proceed.
[-- Attachment #2: 0001-python-gi-3.36.1-3.patch --]
[-- Type: text/plain, Size: 1421 bytes --]
From e4bf46ec379086c9e141991602ce01b53c75799e Mon Sep 17 00:00:00 2001
From: Jon Turney <jon.turney@dronecode.org.uk>
Date: Mon, 23 Jan 2023 13:36:22 +0000
Subject: [PATCH] python-gi 3.36.1-3
---
python-gi.cygport | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/python-gi.cygport b/python-gi.cygport
index 7f94d7e..af456f0 100644
--- a/python-gi.cygport
+++ b/python-gi.cygport
@@ -5,7 +5,7 @@ inherit python-wheel gnome.org meson
NAME="python-gi"
VERSION=3.36.1
-RELEASE=2
+RELEASE=3
CATEGORY="Python"
SUMMARY="Python GObject Introspection bindings"
DESCRIPTION="This archive contains bindings for the GLib, GObject and GIO,
@@ -27,6 +27,7 @@ python39_gi_REQUIRES="girepository-GLib2.0 python39-cairo"
python_gi_common_CATEGORY="_obsolete"
python_gi_devel_CONTENTS="
usr/include/pygobject-3.0/
+ usr/lib/pkgconfig/pygobject-3.0.pc
usr/share/doc/python-gi-devel/
"
PKG_IGNORE="usr/share/doc/python-gi-common/"
@@ -34,6 +35,8 @@ DIFF_EXCLUDES="meson.build config.h"
src_compile() {
cd ${S}
+ cygmeson
+
# bypassing the lack of proper python lib link
sed -i -e "s/python.dependency()/dependency('python-3.6', method : 'pkg-config')/" meson.build
cd ${B}
@@ -56,4 +59,9 @@ src_compile() {
src_install() {
cd ${B}
python_wheel_install
+
+ includeinto pygobject-3.0
+ doinclude ${S}/gi/pygobject.h
+
+ dopkgconfig ${S}/*-pc-cygwin/pygobject-3.0.pc
}
--
2.39.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python-gi
2023-01-23 14:00 python-gi Jon Turney
@ 2023-01-24 12:32 ` Marco Atzeri
2023-01-25 15:44 ` python-gi Jon Turney
0 siblings, 1 reply; 3+ messages in thread
From: Marco Atzeri @ 2023-01-24 12:32 UTC (permalink / raw)
To: Jon Turney, cygwin-apps
On 23.01.2023 15:00, Jon Turney wrote:
>
> Hi Marco,
>
> It seems that the python-gi-devel package stopped providing the
> pygobject-3.0.pc pkgconfig file in 3.36.1-1 (when upstream dropped the
> autotools build system).
>
> Unfortunately, some packages require that at build time (including some
> I want to rebuild to drop python2 dependencies)
>
> I'm going to suggest the attached patch to fix that (which restores the
> steps to install that file in a meson-compatible way)
>
> I can rebuild this package with that change, for you, if you like.
>
> Please let me know how you'd like to proceed.
Hi Jon,
no pygobject-3.0.pc is built/packaged so I assume I am doing something wrong
feel free to update the package
MArco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: python-gi
2023-01-24 12:32 ` python-gi Marco Atzeri
@ 2023-01-25 15:44 ` Jon Turney
0 siblings, 0 replies; 3+ messages in thread
From: Jon Turney @ 2023-01-25 15:44 UTC (permalink / raw)
To: cygwin-apps, Marco Atzeri
On 24/01/2023 12:32, Marco Atzeri via Cygwin-apps wrote:
> On 23.01.2023 15:00, Jon Turney wrote:
>>
>> Hi Marco,
>>
>> It seems that the python-gi-devel package stopped providing the
>> pygobject-3.0.pc pkgconfig file in 3.36.1-1 (when upstream dropped the
>> autotools build system).
>>
>> Unfortunately, some packages require that at build time (including
>> some I want to rebuild to drop python2 dependencies)
>>
>> I'm going to suggest the attached patch to fix that (which restores
>> the steps to install that file in a meson-compatible way)
>>
>> I can rebuild this package with that change, for you, if you like.
>>
>> Please let me know how you'd like to proceed.
>
> Hi Jon,
>
> no pygobject-3.0.pc is built/packaged so I assume I am doing something
> wrong
>
> feel free to update the package
Done, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-25 15:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 14:00 python-gi Jon Turney
2023-01-24 12:32 ` python-gi Marco Atzeri
2023-01-25 15:44 ` python-gi Jon Turney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).