<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs.git/pkgs/test/make-hardcode-gsettings-patch/fixtures, branch master</title>
<subtitle>Nix Packages collection</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/'/>
<entry>
<title>makeHardcodeGsettingsPatch: Fix `schemaExistsFunction` w/o stdbool.h</title>
<updated>2025-05-17T17:55:04+00:00</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2025-05-17T17:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=5309164a9632bbe971a3b8915f6e0164962d9be0'/>
<id>5309164a9632bbe971a3b8915f6e0164962d9be0</id>
<content type='text'>
If project uses C and does not include `stdbool.h`,
it will not have available lowercase booleans.
However, since this tool targets GLib programs,
we can rely on uppercase constants defined by GLib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If project uses C and does not include `stdbool.h`,
it will not have available lowercase booleans.
However, since this tool targets GLib programs,
we can rely on uppercase constants defined by GLib.
</pre>
</div>
</content>
</entry>
<entry>
<title>makeHardcodeGsettingsPatch: Add support for `schemaExistsFunction`</title>
<updated>2025-05-08T16:29:49+00:00</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2025-05-08T12:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=e50f76c7d09667f255cf64590e4e0acdb7ecf4d2'/>
<id>e50f76c7d09667f255cf64590e4e0acdb7ecf4d2</id>
<content type='text'>
evolution-ews introduced a check for optional schemas, which would skip our hardcoded code paths.
https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/a0c514bd345c67fe0fd2ed6ef48a25649b1f4d8e

Let’s update the semantic patch to also replace the invocations of specified `schemaExistsFunction` for known schemas with `true`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
evolution-ews introduced a check for optional schemas, which would skip our hardcoded code paths.
https://gitlab.gnome.org/GNOME/evolution-ews/-/commit/a0c514bd345c67fe0fd2ed6ef48a25649b1f4d8e

Let’s update the semantic patch to also replace the invocations of specified `schemaExistsFunction` for known schemas with `true`.
</pre>
</div>
</content>
</entry>
<entry>
<title>makeHardcodeGsettingsPatch: Support applying patches</title>
<updated>2023-11-21T07:42:47+00:00</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2023-11-13T01:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=bc41b2db3db188be72ab71919893b160d44c98d9'/>
<id>bc41b2db3db188be72ab71919893b160d44c98d9</id>
<content type='text'>
This is useful for replacing code that cannot be easily handled by the generator,
such as the tentative settings constructor in e-d-s.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful for replacing code that cannot be easily handled by the generator,
such as the tentative settings constructor in e-d-s.
</pre>
</div>
</content>
</entry>
<entry>
<title>makeHardcodeGsettingsPatch: Support other constructors</title>
<updated>2022-12-19T16:38:57+00:00</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2022-12-15T20:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=4346dee4243e2f3b900b710cf800a1ee7309d2b1'/>
<id>4346dee4243e2f3b900b710cf800a1ee7309d2b1</id>
<content type='text'>
In addition to `g_settings_new`, there are three other GSettings constructors:
https://docs.gtk.org/gio/ctor.Settings.new.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition to `g_settings_new`, there are three other GSettings constructors:
https://docs.gtk.org/gio/ctor.Settings.new.html
</pre>
</div>
</content>
</entry>
<entry>
<title>makeHardcodeGsettingsPatch: Add simple tests</title>
<updated>2022-12-19T16:38:56+00:00</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2022-12-15T20:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/nixos/nixpkgs.git/commit/?id=98e84e79a97155cf748cbca8d1abbd56038c11f9'/>
<id>98e84e79a97155cf748cbca8d1abbd56038c11f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
