-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
files installed by modules are not tracked #1601
Comments
Files installed by |
Yes any custom installation provided by modules is not currently tracked, we need to add some helper function to do so. |
I like to push the report again. |
@TingPing what sort of help is necessary for this to happen? I can try to add the feature. |
There's several lists in the |
Anyone have suggestions as to user-friendly ways to uninstall the mo files? I was thinking of generating an |
if get_option('nls')
ul = configuration_data()
ul.set('LOCALEDIR', localedir)
ul.set('MESON_SOURCE_ROOT', meson.source_root())
ul.set('MESON_PROJECT_NAME', meson.project_name())
configure_file(input : 'uninstall_langs.sh.in',
output : 'uninstall_langs.sh',
configuration : ul)
endif #!/bin/sh
LINGUAS=$(cat @MESON_SOURCE_ROOT@/po/LINGUAS)
for lang in $LINGUAS; do
file="@LOCALEDIR@/$lang/LC_MESSAGES/@MESON_PROJECT_NAME@.mo"
if test -f "$file"; then
echo "removing $file"
/bin/rm "$file"
else
echo "$file does not exist"
fi
done |
Just realized that this ticket existed, but I fixed it for i18n (not gnome.yelp) in #9074 |
Yep, it's fixed. Thanks! |
Some maintainer might want to reopen this issue or create a similar one for gnome.yelp and any other module. Those still need to be fixed. |
This is basically a rewrite of the gnome.yelp target to remove the ad-hoc script, which generates multiple issues, including meson not knowing which files were installed. Closes mesonbuild#7653 Closes mesonbuild#9539 Closes mesonbuild#6916 Closes mesonbuild#2775 Closes mesonbuild#7034 Closes mesonbuild#1052 Related mesonbuild#9105 Related mesonbuild#1601
This is basically a rewrite of the gnome.yelp target to remove the ad-hoc script, which generates multiple issues, including meson not knowing which files were installed. Closes mesonbuild#7653 Closes mesonbuild#9539 Closes mesonbuild#6916 Closes mesonbuild#2775 Closes mesonbuild#7034 Closes mesonbuild#1052 Related mesonbuild#9105 Related mesonbuild#1601
This is basically a rewrite of the gnome.yelp target to remove the ad-hoc script, which generates multiple issues, including meson not knowing which files were installed. Closes mesonbuild#7653 Closes mesonbuild#9539 Closes mesonbuild#6916 Closes mesonbuild#2775 Closes mesonbuild#7034 Closes mesonbuild#1052 Related mesonbuild#9105 Related mesonbuild#1601
26c1869 fixed this for gnome.yelp. |
After
ninja-build install
,ninja-build uninstall
I seeAll other installed files seem to be removed, so it seems only
i18n
does not support that.The text was updated successfully, but these errors were encountered: