From 83545ee94de81df038cd6dba49bc99363cf10d18 Mon Sep 17 00:00:00 2001 From: Jehan Date: Tue, 29 Nov 2022 04:37:09 +0100 Subject: [PATCH] devel-docs: adding libgimp as dependency to libgimpui. Also use proper naming of dependencies, regarding of casing (e.g. GIMP and GEGL, but babl). --- devel-docs/reference/gimp-ui/gimp-ui-3.0.toml.in | 16 +++++++++++++--- devel-docs/reference/gimp-ui/urlmap.js | 1 + 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/devel-docs/reference/gimp-ui/gimp-ui-3.0.toml.in b/devel-docs/reference/gimp-ui/gimp-ui-3.0.toml.in index ec8ff1ca1f..50a795e115 100644 --- a/devel-docs/reference/gimp-ui/gimp-ui-3.0.toml.in +++ b/devel-docs/reference/gimp-ui/gimp-ui-3.0.toml.in @@ -10,6 +10,7 @@ license = "GPL-3.0-or-later" description = "GIMP UI library" dependencies = [ 'Babl-0.1', + 'Gimp-3.0', 'GLib-2.0', 'GObject-2.0', 'GdkPixbuf-2.0', @@ -21,11 +22,18 @@ dependencies = [ devhelp = true search_index = true + # These links are mostly used for the dependency lists in index page. + [dependencies."Babl-0.1"] - name = "Babl" + name = "babl" description = "Pixel encoding and color space conversion engine" docs_url = "https://gegl.org/babl" + [dependencies."Gimp-3.0"] + name = "GIMP" + description = "GIMP Library" + docs_url = "https://developer.gimp.org/api/3.0/libgimp/" + [dependencies."GLib-2.0"] name = "GLib" description = "C Utility Library" @@ -42,12 +50,12 @@ search_index = true docs_url = "https://docs.gtk.org/gdk-pixbuf/" [dependencies."Gegl-0.4"] - name = "Gegl" + name = "GEGL" description = "Generic Graphics Library" docs_url = "https://gegl.org/" [dependencies."Gio-2.0"] - name = "Gio" + name = "GIO" description = "GObject interfaces and objects" docs_url = "https://developer.gnome.org/gio/stable" @@ -106,4 +114,6 @@ content_images = [ 'images/string-combo-box.png', 'images/unit-combo-box.png', ] +# The urlmap is used as base links when an API docs refer to a type or +# function from another library. urlmap_file = "urlmap.js" diff --git a/devel-docs/reference/gimp-ui/urlmap.js b/devel-docs/reference/gimp-ui/urlmap.js index 912da71647..37a1b836fe 100644 --- a/devel-docs/reference/gimp-ui/urlmap.js +++ b/devel-docs/reference/gimp-ui/urlmap.js @@ -6,4 +6,5 @@ baseURLs = [ [ 'GdkPixbuf', 'https://docs.gtk.org/gdk-pixbuf/' ], [ 'Gio', 'https://docs.gtk.org/gio/' ], [ 'Gtk', 'https://docs.gtk.org/gtk3/' ], + [ 'Gimp', 'https://developer.gimp.org/api/3.0/libgimp/' ], ]