mowemcfc
95a58358f8
build: Change zip export script shebang to use bash
...
The use of () array syntax and $() (which are not available in Bourne
shell) command substitution implies that this script is meant to be
executed using bash.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/244 >
2022-10-22 15:02:56 +02:00
Florian Müllner
757bcee4e2
build: Use backend-agnostic meson commands for export
...
There's no alternative backend in sight for us, but it's nice to
only deal with a single build tool.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/182 >
2021-08-13 05:25:47 +02:00
Florian Müllner
8a211f98fd
build: Rewrite gettext domain when exporting zips
...
Now that every extension picks up its gettext domain from
its metadata, we can easily change it when exporting the
zips.
That ensures that every extension only binds its own domain
instead of messing up other extension's translations.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/335
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/179 >
2021-08-11 19:05:45 +02:00
Florian Müllner
d6633397b7
build: Remove unused variable
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/335
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/179 >
2021-08-11 19:05:45 +02:00
Florian Müllner
a6ee142f21
build: Omit unneeded translations from zip files
...
Each extension zip we create includes the translations of all extensions,
which is clearly wasteful. Avoid that by generating per-extension .pot
files and filtering out unnecessary translations.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/114
2020-04-10 23:11:43 +02:00
Florian Müllner
35427ed4f1
build: Use gnome-extensions-tool for zipping up
...
The tool has a dedicated command for creating an extension bundle. It
knows how to handle translations and GSettings schemas, so we don't
have to.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/114
2020-04-10 23:11:43 +02:00
Florian Müllner
f25ffe6f63
build: Include translations in uploaded zip files
...
The meson port accidentally dropped translations from the generated
zip files for uploading to extensions.gnome.org, add them back.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/69
2018-05-07 12:00:19 +02:00
Florian Müllner
a2c63a46d3
build: Add utility script to export zip files
...
We currently do have some Makefile magic to export zip files suitable
for uploading to extensions.gnome.org. As this is not easily replicated
in meson, add a small non-magic script for the same purpose.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:41:07 +01:00