elementary / switchboard-plug-applications

Switchboard Applications Plug
https://elementary.io
GNU General Public License v3.0
14 stars 12 forks source link

Install path issue #13

Closed peteruithoven closed 6 years ago

peteruithoven commented 6 years ago

I build and installed the latest version with the meson build system, doing:

$ meson build --prefix=/usr
$ cd build/
$ ninja
$ sudo ninja install

But I didn't see my changes when I opened the plug in System Settings.

I noticed that the libapplications.so file was installed to /usr/personal:

Installing src/libapplications.so to /usr/personal/libapplications.so

Looking into that I think I was missing the switchboard_dep.get_pkgconfig_variable('plugsdir'), variable. When I build and installed the latest switchboard it's now installed to /usr/lib/x86_64-linux-gnu/switchboard/personal/.

Maybe we should clarify / define this dependency on a newer version of switchboard?

But the above didn't fix my issue. Looking into /usr/lib/x86_64-linux-gnu/switchboard/personal isn't installed in it's own folder, like the other plugs. Notice the new libapplications.so file.

/usr/lib/x86_64-linux-gnu/switchboard/personal$ tree
.
├── elementary-tweaks
│   └── libelementary-tweaks.so
├── libapplications.so
├── pantheon-applications-plug
│   └── libapplications-plug.so
├── pantheon-desktop
│   ├── hotcornerdisplay.svg
│   └── libpantheon-desktop.so
├── pantheon-locale
│   ├── languagelist
│   └── liblocale.so
├── pantheon-notifications-plug
│   ├── bubbles.svg
│   ├── libnotifications-plug.so
│   ├── notify-center.svg
│   └── sounds.svg
└── pantheon-security-privacy
    ├── libpantheon-security-privacy.so
    └── security-privacy-plug-helper