Improve gsettings support

Bug #959256 reported by Marc-Antoine Perennou on 2012-03-19
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intltool
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.

Marc-Antoine Perennou (keruspe) wrote :

This patch solves this issue here

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
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
desrt (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  Edit
Everyone can see this information.

Other bug subscribers