Add Pango to the gobject introspection and gi-docgen for libpurple

Mon, 31 Mar 2025 01:43:20 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 31 Mar 2025 01:43:20 -0500
changeset 43213
078c9e626db9
parent 43212
d2f7c939f650
child 43214
c338c4f15f0b

Add Pango to the gobject introspection and gi-docgen for libpurple

Testing Done:
Called in the turtles and verified the warnings were gone.

Reviewed at https://reviews.imfreedom.org/r/3948/

libpurple/meson.build file | annotate | diff | comparison | revisions
libpurple/reference/libpurple.toml.in file | annotate | diff | comparison | revisions
--- a/libpurple/meson.build	Sun Mar 30 22:27:50 2025 -0500
+++ b/libpurple/meson.build	Mon Mar 31 01:43:20 2025 -0500
@@ -337,7 +337,7 @@
 
 	libpurple_gir = gnome.generate_gir(libpurple,
 	    sources : introspection_sources,
-	    includes : ['Birb-1.0', 'GdkPixbuf-2.0', 'GLib-2.0', 'Gio-2.0', 'GObject-2.0', 'Gst-1.0', 'GPlugin-1.0'],
+	    includes : ['Birb-1.0', 'GdkPixbuf-2.0', 'GLib-2.0', 'Gio-2.0', 'GObject-2.0', 'Gst-1.0', 'GPlugin-1.0', 'Pango-1.0'],
 	    header : 'purple.h',
 	    namespace : 'Purple',
 	    symbol_prefix : 'purple',
--- a/libpurple/reference/libpurple.toml.in	Sun Mar 30 22:27:50 2025 -0500
+++ b/libpurple/reference/libpurple.toml.in	Mon Mar 31 01:43:20 2025 -0500
@@ -7,7 +7,7 @@
 logo_url = ""
 license = "GPL-2.0-or-later"
 description = "Purple Universal Chat Library"
-dependencies = [ "GLib-2.0", "GObject-2.0", "GPlugin-1.0" ]
+dependencies = [ "GLib-2.0", "GObject-2.0", "GPlugin-1.0", "Pango-1.0" ]
 devhelp = true
 search_index = true
 
@@ -26,6 +26,11 @@
   description = "GPlugin Plugin Library"
   docs_urls = "https://docs.imfreedom.org/gplugin/"
 
+  [dependencies."Pango-1.0"]
+  name = "Pango"
+  description = "Internationalized text layout and rendering"
+  docs_url = "https://docs.gtk.org/Pango/"
+
 [theme]
 name = "basic"
 show_index_summary = true

mercurial