Skip to contentSkip to conversation

telepathy-glib: inherit gtk-doc

PATCH New [email protected] 1 participant 5 messages Jan 12, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 telepathy-glib: inherit gtk-doc

From: Ross Burton <[email protected]>

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc then gtkdocize will be called. This means that recipes that don't inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

---
 meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb +1 -1
index 1891eae40d..e083039232 100644
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
 
-inherit autotools pkgconfig gettext gobject-introspection vala
+inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
 
 # Respect GI_DATA_ENABLED value when enabling vala-bindings:
 # configure: error: GObject-Introspection must be enabled for Vala bindings
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/5 glade: inherit gtk-doc, fix FILES

From: Ross Burton <[email protected]>

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc then gtkdocize will be called. This means that recipes that don't inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to build the API documentation.

Also, clean up FILES:

Don't package all of ${datadir} in PN, as this means the locale information isn't split into the appropriate packages.

.la files are deleted globally so there's no need to package them in PN-dev.

Debug files are managed automatically so there's no need to package them at all.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

---
 meta-oe/recipes-devtools/glade/glade_3.22.2.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
meta-oe/recipes-devtools/glade/glade_3.22.2.bb +2 -5
index 3936e04c6d..d11751a4b2 100644
@@ -9,7 +9,7 @@ DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \
            autoconf-archive-native \
 "
 GNOMEBASEBUILDCLASS = "autotools"
-inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg
+inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg gtk-doc
 
 # xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
 # cairo would at least needed to be built with xlib.
@@ -23,7 +23,4 @@ SRC_URI[sha256sum] = "edefa6eb24b4d15bd52589121dc109bc08c286157c41288deb74dd9cc3
 
 EXTRA_OECONF += "--disable-man-pages"
 
-FILES:${PN} += "${datadir}/* ${libdir}/glade/modules/libgladegtk.so"
-FILES:${PN}-dev += "${libdir}/glade/modules/libgladegtk.la"
-FILES:${PN}-dbg += "${libdir}/glade/modules/.debug/libgladegtk.so"
-
+FILES:${PN} += "${datadir}/glade ${datadir}/metainfo ${libdir}/glade/modules/libgladegtk.so"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/5 libgxim: inherit gtk-doc

In reply to [email protected]

From: Ross Burton <[email protected]>

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc then gtkdocize will be called. This means that recipes that don't inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

---
 meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb +1 -1
index 3912e0a8d7..eb85a07e99 100644
@@ -26,6 +26,6 @@ file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
 EXTRA_OECONF = "--enable-debug --disable-static --disable-rebuilds --enable-compile-warnings=minimum"
 DEPENDS += "gtk+ glib-2.0 glib-2.0-native ruby-native intltool-native gnome-common-native autoconf-archive-native"
 
-inherit features_check autotools pkgconfig gettext
+inherit features_check autotools pkgconfig gettext gtk-doc
 
 REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/5 gmime: inherit gtk-doc

In reply to [email protected]

From: Ross Burton <[email protected]>

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc then gtkdocize will be called. This means that recipes that don't inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

---
 meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb +1 -1
index d8a6c1d6cf..f51451d971 100644
@@ -6,7 +6,7 @@ SECTION = "libs"
 DEPENDS = "glib-2.0 zlib"
 
 GNOMEBASEBUILDCLASS = "autotools"
-inherit gnomebase gobject-introspection vala
+inherit gnomebase gobject-introspection vala gtk-doc
 
 SRC_URI = "https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar.xz \
     file://iconv-detect.h \
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/5 raptor2: inherit gtk-doc

In reply to [email protected]

From: Ross Burton <[email protected]>

Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc then gtkdocize will be called. This means that recipes that don't inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly disable the use of gtkdocize will fail to configure.

Inheriting gtk-doc both solves the configure failure, and allows us to build the API documentation.

[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e

---
 meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb +1 -1
index 30df8e0648..85012bcfb3 100644
@@ -15,7 +15,7 @@ SRC_URI = " \
 "
 SRC_URI[sha256sum] = "089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig gtk-doc
 
 EXTRA_OECONF = " \
     --without-xml2-config \
Signature · 1 line
2.34.1