[Github-comments] [geany/geany] WIP: Meson build system (#2761)

Eli Schwartz notifications at xxxxx
Sun Mar 13 14:30:45 UTC 2022


> * `share/icons/Tango/icon-theme.cache` is missing with Meson but probably harmless

In autotools this is: https://github.com/geany/geany/blob/41624c411702d29834da0ff926f3c9f7c895bb47/icons/Makefile.am#L13-L24

In meson this is: https://github.com/geany/geany/pull/2761/files#diff-d1e552a6e8f531b9bf5c39efd19586bc133ac2770ad8d65654b93634bd660cdfR41-R46

```meson
if meson.version().version_compare('>=0.57.0')
    gnome.post_install(gtk_update_icon_cache: true)
else
    warning('You may need to run `gtk-update-icon-cache` yourself after installing')
    warning('E.g. gtk-update-icon-cache -f -t ' + join_paths(prefix, icons_dir))
endif
```

Note that to correctly handle `if test -z "$(DESTDIR)";` in meson you need those Meson 0.57 features, or you need to add a custom python script. There is some existing discussion about that in this PR here: https://github.com/geany/geany/pull/2761#issuecomment-1046495333

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2761#issuecomment-1066114275
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/2761/c1066114275 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220313/8c0d187d/attachment-0001.htm>


More information about the Github-comments mailing list