python-gi (was Re: virt-manager regression python 3.12 and glib 2.90)

Jon Turney jon.turney@dronecode.org.uk
Mon Nov 2 13:31:40 GMT 2026


On 01/11/2026 07:10, Marco Atzeri via Cygwin-apps wrote:
> On 31/10/2026 18:17, Jon Turney via Cygwin-apps wrote:
>> On 17/10/2026 21:36, Marco Atzeri via Cygwin-apps wrote:
>>> On 17/10/2026 20:52, Jon Turney via Cygwin-apps wrote:
>>>> On 17/10/2026 18:59, Marco Atzeri via Cygwin-apps wrote:
>>>>> On 17/10/2026 11:06, Marco Atzeri wrote:
>>>>>> On 17/10/2026 10:38, Marco Atzeri wrote:
>>>>>>> On 16/10/2026 22:22, Jon Turney wrote:
>>>>>>>> On 15/10/2026 13:51, Jason Pyeron via Cygwin wrote:
>>>
>>> let me double check
>>   Hmmm... pygobject-3.0.pc is present, but...
>>
>> pygobject-types.h (which seems to be new in this version, and is 
>> included by pygobject.h) is only installed in /usr/include/python3.12/ 
>> pygobject/pygobject-3.0/, not /usr/include/pygobject-3.0/, which is 
>> where the flags provided by pygobject-3.0.pc point.
>>
>> This breaks rebuilding a few things which try to use pygobject-3.0.pc 
>> to get the right flags to include pygobject.h
>>
>> So maybe:
>>
>>> --- python-gi.cygport.bak       2026-10-31 17:16:09.194320100 +0000
>>> +++ python-gi.cygport   2026-10-31 17:16:41.990373800 +0000
>>> @@ -61,6 +61,7 @@
>>>
>>>         includeinto pygobject-3.0
>>>         doinclude ${S}/gi/pygobject.h
>>> +       doinclude ${S}/gi/pygobject-types.h
>>>
>>>         dopkgconfig ${S}/*-pc-cygwin/pygobject-3.0.pc
>>>  }
>>
> Thanks Jon,
> 
> added on  python-gi-3.58.1-3 that is going up
> 

Thanks.

(And thanks for all the other python package updates, too!)

You seem to have reverted some other stuff, and re-added the empty, 
obsolete python-gi-common, typoed with a leading 'p'.

> # diff -u /usr/src/python-gi-3.58.1-1.src/python-gi.cygport /usr/src/python-gi-3.58.1-3.src/python-gi.cygport
> --- /usr/src/python-gi-3.58.1-1.src/python-gi.cygport   2026-10-31 17:16:09.194320100 +0000
> +++ /usr/src/python-gi-3.58.1-3.src/python-gi.cygport   2026-11-01 07:03:00.000000000 +0000
> @@ -5,7 +5,7 @@
> 
>  NAME="python-gi"
>  VERSION=3.58.1
> -RELEASE=1
> +RELEASE=3
> 
>  LICENSE="LGPL-2.0-or-later"
>  CATEGORY="Python"
> @@ -15,19 +15,12 @@
>  it's already rather useful, and is usable to write moderately
>  complex programs."
> 
> -BUILD_REQUIRES="
> -       girepository-GLib2.0
> -       libcairo-devel
> -       libffi-devel
> -       libcairo-devel
> -       python-cairo-devel
> -       python312-devel
> -"
> +BUILD_REQUIRES=" girepository-cairo1.0 girepository-GLib2.0 gobject-introspection libcairo-devel libffi-devel libgirepository1.0-devel python312-devel python312-cairo python-cairo-devel"
> 
> -PKG_NAMES+=" python-gi-devel"
> +PKG_NAMES+=" ppython-gi-common python-gi-devel"
>  python312_gi_REQUIRES="girepository-GLib2.0 python312-cairo"
> 
> -python_gi_devel_OBSOLETES="python-gi-common"
> +python_gi_common_CATEGORY="_obsolete"
>  python_gi_devel_CONTENTS="
>         usr/include/pygobject-3.0/
>         usr/lib/pkgconfig/pygobject-3.0.pc
> @@ -61,6 +54,7 @@
> 
>         includeinto pygobject-3.0
>         doinclude ${S}/gi/pygobject.h
> +       doinclude ${S}/gi/pygobject-types.h
> 
>         dopkgconfig ${S}/*-pc-cygwin/pygobject-3.0.pc
>  }

I'm assuming this is an accident?



More information about the Cygwin-apps mailing list