Commit Graph

1 Commits (7b3b3cdaebb97346de478eca7e4a84fdb1392b4b)

Author SHA1 Message Date
Nico dcb93f1187 Implement automatic precompilation (#29)
* Implement automatic precompilation - #656
Following the path of Adwaita, this commit implements the automation to
automatically precompile the GTK3 theme versions to gresource binary
files, to improve performance of theme rendering, and avoid unnecessary
re-read and re-parsing of the theme on every app run.
.
Given that the theme is coded in sass to begin with directly altering it
is not a reasonable thing to do, and so we don't loose anything by
having the installed theme in binary form, specially when accessing the
sources is easy enough.
.
The takes #656 and adds to this proposed commit and ensures that
precompilation works for both GTK+3.18 and later GTK+ versions

* Use an standard file rather than symbolic to solve compile issues on GTK+3.18

* Use configure.ac to insert the compilation of resources

* Remove extraneous script

* Revert "Use configure.ac to insert the compilation of resources"

This reverts commit ae52d3287dc91d26745dfb3de35416c87d19c5e0.

* Compile to gresources only for gnome versions later than 3.18

* Ensure Arc-Dark compiles correctly with gresources
2018-09-25 13:29:16 +01:00