Of libtool, xfce graphical installer and "--enable-final"

Olivier Fourdan fourdan at xfce.org
Thu Oct 19 21:40:05 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Benny,

While testing xfce on Cygwin, I saw that the xfce panel plugins where
not portable because the plugin name was hard coded in the .desktop
files (Bug #2446 [1], now applied on SVN trunk).

My patch extracts the dlname from the .la file as per the libtool
documentation, and use it in the plugin.desktop file. It seems to me
it's a sensible solution, since it follows libtool documentation.

Problem is that the installer uses the "--enable-final" options, and
with that option, dlname is set to an empty string in the .la file by
libtool, breaking the install of all panel plugins.

According to the libtool documentation, if dlname is empty in the .la
file, it means that the lib is not "dlopenable".

Maybe it's a bug in libtool, I don't know, but I'd rather vote for
banning the use of "--enable-final" in the installer, unles you have a
better solution.

What do you think?

TIA
Cheers,
Olivier.

[1] http://bugzilla.xfce.org/show_bug.cgi?id=2446

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFN9SVFHBtvh5LRUARAnaVAKDdAy/8yNYh7eQDKSnnONDnkpoxKQCeJxAS
ejQimPf7LtB55oespxsfvxg=
=bWNd
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list