Hello!

Henry Gebhardt has written on Wednesday, 10 February, at  2:17:
>Consider the situation where a package such as lxpanel is installed in
>/usr via the package manager, and also installed in /usr/local via "make
>install" from git sources. Then when calling /usr/local/bin/lxpanel, it
>still uses the plugins from the package in /usr/lib/lxpanel/plugins.
>This creates surprising behavior when testing the package. Should this
>be changed? What do people think about adding the install prefix as
>first search path?

The prefix is already used, see in src/Makefile:

lxpanel_CPPFLAGS = ..... -DPACKAGE_LIB_DIR=\""$(libdir)"\" .....

then in src/plugins.c:

fm_modules_add_directory(PACKAGE_LIB_DIR "/lxpanel/plugins");

i.e. if it was configured with prefix /usr/local then $libdir will be
/usr/local/lib and all the plugins will be searched in the directory
/usr/local/lib/lxpanel/plugins, not in /usr/lib/lxpanel/plugins. You can
test it yourself by using any custom --prefix such as $HOME/lxpanel-test
and you'll see custom plugins will be used, not system ones. :)

>Thanks,
>Henry

    With best regards,
    Andriy.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to