https://bugs.documentfoundation.org/show_bug.cgi?id=163947

            Bug ID: 163947
           Summary: Create a Cambalache catalog for custom widgets
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: difficultyMedium, skillUI
          Severity: enhancement
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

We have a Glade catalog for custom widgets:
extras/source/glade/libreoffice-catalog.xml.in

The catalog input file is manipulated by
extras/source/glade/makewidgetgroup.xslt and the final .xml ends up as
instdir/share/glade/libreoffice-catalog.xml

The makefile is extras/CustomTarget_glade.mk

Glade is not maintained anymore, so we should look into Cambalache as a future
tool for UI design.

https://gitlab.gnome.org/jpu/cambalache

Cambalache supports catalogs since version 0.92:
https://blogs.gnome.org/xjuan/2024/09/26/new-cambalache-release-0-92-0/

Example catalogs can be seen in:
https://gitlab.gnome.org/jpu/cambalache/-/tree/main/catalogs

Cambalache looks for the catalogs in ~/.cambalache/catalogs

I assume the catalog has to be created by hand and/or with the help of xslt.
Cambalache catalogs are normally expected to be produced automatically by a
cmb-catalog-gen program from .gir files generated by g-ir-scanner, but I don't
think that workflow applies in our case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to