Re: [gtk-vnc-devel] [PATCH] Browser plugin



On Fri, Jan 11, 2008 at 03:20:26PM +0000, Richard W.M. Jones wrote:
> Daniel P. Berrange wrote:
> >On Fri, Jan 11, 2008 at 09:12:46AM -0600, Anthony Liguori wrote:
> >>Richard W.M. Jones wrote:
> >>>This patch adds the browser plugin to the main Gtk-VNC sources.
> >>>
> >>>The browser plugin lives in the plugin/ directory.  It is disabled 
> >>>always by default.  To enable it, the user must:
> >>>
> >>> ./configure --enable-plugin
> >>>
> >>>(and of course it also checks for the required libraries).
> >>>
> >>>There is a detailed plugin/README file.
> >>>
> >>>It compiles without warnings, on Fedora 8 at least (ie. passes 
> >>>./configure --enable-plugin --enable-warnings --enable-fatal-warnings; 
> >>>make).
> >>Applied.  I'm not a huge fan of installing the plugin to /usr/local/lib 
> >>and then deleting it but I don't know enough about automake to know if 
> >>there's a better way.  Any thoughts Dan?
> >
> >Yep, instead of using  lib_LTLIBRARIES just make up a name and then
> >specify the desired install dir, eg
> >
> >     plugin_LTLIBRARIES = foo.la
> >     plugindir = $(PREFIX)/lib/mozilla/plugins
> 
> No, the problem is that libtool will install lots of crud with wrong 
> names if I do that.
> 
> I don't want the *.la file, or the symbolic links, or the lib- prefix on 
> the names.  The plugin is called gtk-vnc-plugin.so, just a single file.

If you add '-module' to the LDFLAGS then libtool will not enforce the
'lib' prefix on the name, and will not install the .la stuff. ALso
add -avoid-version which will get rid of the versioned symlinks.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]