git: 606453c0f317 - main - devel/*pygobject*: install missed header (+)

Dima Panov <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=606453c0f3178d3540ad5837495293f842595b6d

commit 606453c0f3178d3540ad5837495293f842595b6d
Author:     Dima Panov <[email protected]>
AuthorDate: 2026-08-13 09:06:59 +0000
Commit:     Dima Panov <[email protected]>
CommitDate: 2026-08-13 09:06:59 +0000

    devel/*pygobject*: install missed header (+)
    
    Install missed pygobject-types.h
    It needed to unbreak consumers, e.g. multimedia/py-gstreamer1
    
    In file included from ../gi/overrides/gstanalyticsmodule.c:27:
    /usr/local/include/pygobject-3.0/pygobject.h:23:10: fatal error: 'pygobject-types.h' file not found
       23 | #include <pygobject-types.h>
          |          ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    
    Reported by:    bulk -t
---
 devel/py-pygobject/Makefile     | 4 +++-
 devel/pygobject-common/Makefile | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/py-pygobject/Makefile b/devel/py-pygobject/Makefile
index 6885cb25f09a..4758863ad3fc 100644
--- a/devel/py-pygobject/Makefile
+++ b/devel/py-pygobject/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pygobject
 DISTVERSION=	3.56.3
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	devel python
 MASTER_SITES=	GNOME
 PKGNAMEPREFIX?=	${PYTHON_PKGNAMEPREFIX}
@@ -33,6 +33,8 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/pygobject-3.0
 	${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \
 		${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
+	${INSTALL_DATA} ${WRKSRC}/gi/pygobject-types.h \
+		${STAGEDIR}${PREFIX}/include/pygobject-3.0/pygobject-types.h
 .else
 BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}meson-python>=0.12.1:devel/meson-python@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycairo>=1.16:graphics/py-pycairo@${PY_FLAVOR} \
diff --git a/devel/pygobject-common/Makefile b/devel/pygobject-common/Makefile
index af7c65aabebd..723d59d2e919 100644
--- a/devel/pygobject-common/Makefile
+++ b/devel/pygobject-common/Makefile
@@ -7,6 +7,7 @@ NO_BUILD=	yes
 NO_TEST=	yes
 NO_ARCH=	yes
 PLIST_FILES=	include/pygobject-3.0/pygobject.h \
+		include/pygobject-3.0/pygobject-types.h \
 		libdata/pkgconfig/pygobject-3.0.pc
 
 SLAVE_PORT=	common
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.