Closed zhuyaliang closed 11 months ago
When PR is still in progress you can convert them to a draft. This feature is also in gitlab available.
The previous problems are fixed but the menu file is not found. Trying to launch the control center I get
** (mate-control-center:102205): WARNING **: 01:54:45.669: Menu tree loading got error:Failed to look up menu_file for "matecc.menu"
matecc.menu turned up in /etc/xdg/autostart
@lukefromdc Please delete /etc/xdg/autostart/matecc.menu
Please test again
if we can get another review, ideally different distro and with accountsservice installed it would be nice. Debian Unstable here
Mime dir is at the wrong place and a lot of files are missing. Please use your own installation instructions and compare.
[rave@mother ~]$ ls -la /tmp/meson_dir/usr/mime/
insgesamt 0
drwxr-xr-x 3 rave rave 60 21. Dez 16:20 .
drwxr-xr-x 7 rave rave 140 21. Dez 16:20 ..
drwxr-xr-x 2 rave rave 60 21. Dez 16:20 packages
[rave@mother ~]$ ls -la /tmp/make_dir/usr/share/mime/
insgesamt 32
drwxr-xr-x 4 rave rave 320 21. Dez 16:27 .
drwxr-xr-x 14 rave rave 280 21. Dez 16:27 ..
-rw-r--r-- 1 rave rave 0 21. Dez 16:27 aliases
drwxr-xr-x 2 rave rave 60 21. Dez 16:27 application
-rw-r--r-- 1 rave rave 0 21. Dez 16:27 generic-icons
-rw-r--r-- 1 rave rave 131 21. Dez 16:27 globs
-rw-r--r-- 1 rave rave 134 21. Dez 16:27 globs2
-rw-r--r-- 1 rave rave 0 21. Dez 16:27 icons
-rw-r--r-- 1 rave rave 12 21. Dez 16:27 magic
-rw-r--r-- 1 rave rave 244 21. Dez 16:27 mime.cache
drwxr-xr-x 2 rave rave 60 21. Dez 16:27 packages
-rw-r--r-- 1 rave rave 62 21. Dez 16:27 subclasses
-rw-r--r-- 1 rave rave 16 21. Dez 16:27 treemagic
-rw-r--r-- 1 rave rave 33 21. Dez 16:27 types
-rw-r--r-- 1 rave rave 4 21. Dez 16:27 version
-rw-r--r-- 1 rave rave 0 21. Dez 16:27 XMLnamespaces
The rest of the installation is the same as with autotools. Function of applications aren't tested because i do not use meson for my RPMs for fedora. I am to lazy to rewrite my spec files :-)
Need to run update-mime-database -V /tmp/meson_dir/usr/share/mime/
update mime data,I have added meson_post_istall. py
, and the mime data will be updated after the installation is completed
Not sure if this is a good idea to add meson_post_install.py, because all this commands glib-compile-schemas
, 'gtk-update-icon-cache' and 'update-mime-database` are done with rpm package installation process. So this is a double action. I am sure debian and archlinux packaging do the same.
Btw. the script itself might be OK. But should this be called by meson.build?
After running update-mime-database -V /tmp/meson_dir/usr/share/mime/
the mime data are the same as with autotools. Also the mime datadir are the same now.
I thought you wants to run the meson_post_install.py with meson.build ?
This didn't happen here and i am fine with it.
The package should be installable directly with ninja -C build install
in which case we then need to recompile schemas from the build system as the packaging system is bypassed.
I tested it again and mine dir are the same after running update-mime-database -V /tmp/meson_dir/usr/share/mime/
.
test meson
test make