summaryrefslogtreecommitdiff
path: root/build-aux/meson
Commit message (Collapse)AuthorAgeFilesLines
* post-install: Use gtk4-update-icon-cacheMatthias Clasen2019-04-021-1/+1
| | | | | | I was building GTK in a minimal container without GTK3 installed, and this caused install to fail. We should use the tool that we just installed.
* build: use condense the mkdir calls to onelinersJordan Petridis2019-02-271-4/+2
|
* build: no need to replace path separatorsJordan Petridis2019-02-271-2/+2
| | | | Python APIs accept both `\` and `/` as path separators.
* build: Use python3 for the post install scriptJordan Petridis2019-02-271-1/+1
| | | | | | | | | While *some* systems alias python to python3 nowdays, this is not true for eveything. Especially systems that can potentially offer both python2 and python3. According to both PEP 394 and PEP 441 its recommended to always add the 3 in the shebang.
* build: Make post-install script a Python scriptChun-wei Fan2018-12-062-26/+33
| | | | | | | | | | The existing post-install shell script will most likely not work on Visual Studio builds as there is normally no shell interpreter installed on the system where the build is done, but the build is normally done in a standard Windows cmd.exe console. Instead, use a Python script so that it will work on the platforms that Python supports.
* Use gio-querymodulesMatthias Clasen2018-03-061-0/+8
| | | | | | | GIO has this facility, so we should use it. At the same time, make sure the immodules directory exists, even if we don't install any modules there outselves.
* Convert immodules to use an extension pointMatthias Clasen2018-02-241-5/+0
| | | | | | | | | | | Add an extension point called gtk-im-module, which requires the type GtkIMContext. Simplify the loading by using GIO infrastructure. Drop the locale filtering for now, I don't think it is really necessary nowadays. Convert existing platform modules to gio modules. Sill to do: Drop the conditional build machinery. Either always include them, or never.
* build: Create input method module cache directoryDaniel Stone2018-02-051-1/+3
| | | | | | | | Before running gtk-query-immodules, the cache output directory may not actually exist. Make sure it does before we try to write into it. https://bugzilla.gnome.org/show_bug.cgi?id=793182 Signed-off-by: Daniel Stone <daniels@collabora.com>
* build: Fix post-install scriptEmmanuele Bassi2017-08-141-2/+2
| | | | | Use the appropriate variable when expanding the input method modules path.
* build: Add post-install scriptEmmanuele Bassi2017-05-031-0/+21
When building GTK+ straight from the repository without any assistance from packaging tools, we need to trigger system-wide updates, like the icon theme cache update, or the schema compilation.