mate-desktop / mate-utils

GNU General Public License v2.0
39 stars 30 forks source link

build mate-dictionary loadable module as versioned DSO #363

Open kloczek opened 8 months ago

lukefromdc commented 8 months ago

I do not know at all what this is supposed to do, leaving it for someone on the team that does

kloczek commented 8 months ago
$ rpm -qlv mate-utils | grep /usr/lib64/mate-utils
lrwxrwxrwx    1 root     root                       61 Feb 24 11:51 /usr/lib/.build-id/4d/15b2c84c8412bf8f178cf87c381b4fb52b65e5 -> ../../../../usr/lib64/mate-utils/libmate-dictionary-applet.so
drwxr-xr-x    2 root     root                        0 Feb 24 11:51 /usr/lib64/mate-utils
-rwxr-xr-x    1 root     root                    86376 Feb 24 11:51 /usr/lib64/mate-utils/libmate-dictionary-applet.so

if you will check version of the package without tat patch you will find that mate-utils/libmate-dictionary-applet.so it is symlink and you have as well mate-utils/libmate-dictionary-applet.so.0 and another symlink mate-utils/libmate-dictionary-applet.so.0.0.0 At the same time mate-utilsis binaries are loading only mate-utils/libmate-dictionary-applet.so. Look on for example mate-settings-daemon and its loadable DSOs.

kloczek commented 8 months ago

https://github.com/mate-desktop/mate-settings-daemon/blob/e35462eeefb6d5eabebf76317640ee4fa62ecbb0/configure.ac#L78

lukefromdc commented 8 months ago

At any rate, this is outside my knowledge so leaving it for the rest of the team