Files could not be expanded: conflict in file gobject-introspection.spec

GObject Introspection Tools

Edit Package gobject-introspection
http://live.gnome.org/GObjectIntrospection

The goal of the project is to describe the APIs and collect them in
a uniform, machine readable format.

Refresh
Refresh
Source Files

Sources could not be expanded: conflict in file gobject-introspection.spec

Show unmerged sources

Comments 1

Luciano Santos's avatar

Note (to my future self):

Release 1.78.0 brought: Add GObject as a dependency for the Cairo GIR, by commit 9a9a7062:

From 9a9a70627143cad569b88fd729650197c4d17637 Mon Sep 17 00:00:00 2001
From: badcel <33569-badcel@users.noreply.gitlab.gnome.org>
Date: Sat, 1 Apr 2023 21:47:33 +0200
Subject: [PATCH] Include GObject in cairo gir file The include is needed as it
 contains the alias "GObject.Type". This alias is the return type of the
 get-type functions defined via "glib:get-type". If it is missing binding
 generators might not be able to resolve the return type due to an unknown
 alias.

---
 gir/cairo-1.0.gir.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gir/cairo-1.0.gir.in b/gir/cairo-1.0.gir.in
index e4c9fb3d7..7a606154a 100644
--- a/gir/cairo-1.0.gir.in
+++ b/gir/cairo-1.0.gir.in
@@ -3,6 +3,7 @@
        xmlns="http://www.gtk.org/introspection/core/1.0"
        xmlns:c="http://www.gtk.org/introspection/c/1.0"
        xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
+  <include name="GObject" version="2.0"/>
   <package name="[@CAIRO\_GIR\_PACKAGE](https://build.opensuse.org/users/CAIRO_GIR_PACKAGE)@"/>
   <c:include name="cairo-gobject.h"/>
   <namespace name="cairo" version="1.0"
-- 
GitLab

 

Not sure whether we have to do something about that.

openSUSE Build Service is sponsored by