! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Fix for Cygwin and libtool
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Olivier Fourdan editbugs 2006-10-17 21:30:44 CEST
The panel in xfce 4.4 requires a .desktop per panel plugin, and the plugin name is to be listed in the .desktop file.

Unfortunately, the name of the so file is hardcoded:

/usr/lib/xfce4/panel-plugins/liblauncher.so

This is not portable at all, for example, on Cygwin, the equivalent lib name is "cyglauncher.dll" and not "liblauncher.so".

As a result, even if the panel builds and run on Cygwin, it's unusable because it's missing all of its plugins.

The following patch adresses this issue by extracting the libname from the libtool .la file and replacing it in the .desktop.in.in file.
Comment 1 Olivier Fourdan editbugs 2006-10-17 21:34:35 CEST
Created attachment 831 
Fix the libname in plugins' desktop files
Comment 2 Jasper Huijsmans editbugs 2006-10-18 18:29:39 CEST
Awesome. Thanks. Comitted in revision 23462.

Bug #2446

Reported by:
Olivier Fourdan
Reported on: 2006-10-17
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Fix the libname in plugins' desktop files (11.79 KB, patch)
2006-10-17 21:34 CEST , Olivier Fourdan
no flags

Additional information