Improve gsettings support

Bug #959256 reported by Marc-Antoine Perennou
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intltool
Triaged
High
Unassigned

Bug Description

Hi,

Currently, intltool's support for gsettings is restricted to *.gschema.xml files.
It would be great to also support *.gschema.xml(.in)* files (like it already supports *.xml.in, *.desktop.in.in files and so on)

This would allow to make some substitutions in the gschema files, which is currently not supported since substitued stuff goes in builddir and only things in srcdir are allowed in POTFILES.

Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

This patch solves this issue here

Revision history for this message
Данило Шеган (danilo) wrote :

Hi Marc-Antoine, thanks for the patch and bug report.

What kind of substitutions do you plan to make in these files? I am just wondering to see if this really makes sense to support .in files as well.

Changed in intltool:
status: New → Incomplete
Revision history for this message
Marc-Antoine Perennou (keruspe) wrote :

Hi,

Actually, like most of the projects using gsettings, I'm providing a .in file in which the Gettext package gets substituted.

I don't think I've ever seen any project doing differently

Changed in intltool:
status: Incomplete → Triaged
importance: Undecided → High
Revision history for this message
Allison Karlitskaya (desrt) wrote :

Please don't add this support. Using .in with a nomerge rule for GSettings schemas was only ever done because intltool was lacking proper native support. There is no reason for doing this anymore.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.