Re: [Banshee-List] Building an external plugin with 0.98.1



The emptying out of the --libs for the .pc file was intentional. The .pc file will be split into separate (heyna, non-gui, gui) .pc files, and maybe keep a "master" banshee-1.pc file that references the split .pc files.

I was happier with emptying out the .pc file for now than with leaving the old assembly information that does not apply at all to the new layout.

It should be fixed for 0.98.2. Please file a bug so it can be tracked, otherwise I may forget in time for 0.98.2, though that's the release I'm aiming for.

--Aaron

>>> Bertrand Lorentz <bertrand lorentz gmail com> 03/24/08 3:44 PM >>>
Hi,

On Wed, 2008-03-19 at 15:29 -0500, Gabriel Burt wrote:
> 2008/3/19 Bertrand Lorentz <bertrand lorentz gmail com>:
> >  As I'd like to enjoy the greatness of the new banshee AND wake up in the
> >  morning, I'm trying to port the alarm plugin
> >  (http://code.google.com/p/banshee-unofficial-plugins/) to the new code
> >  base.
> >
> >  This leads to several questions :
> > [...]
> >  
> >  - The "libs" stuff was removed from the pkg-config file (now
> >  banshee-1.pc) just before the release. "pkg-config --libs banshee-1" now
> >  gives nothing.
> >  Is this on purpose ? That would mean I have to find another way to get
> >  to the banshee libraries (or wait, see previous question). Doing auto*
> >  stuff is not a fun way to spend Easter week-end... ;)
> 
> Not sure.  Aaron?

If anybody's interested, the alarm plugin is now working with banshee
trunk. The code is in SVN on code.google.com, see link above.

Because of the issue mentionned above, the libraries are not detected at
configure time. To work around this, you have to set the BANSHEE_LIBS
environment variable like this (all on one line) :

export BANSHEE_LIBS="-r:/usr/lib/banshee-1/Banshee.Core.dll
-r:/usr/lib/banshee-1/Hyena.dll
-r:/usr/lib/banshee-1/Banshee.Services.dll
-r:/usr/lib/banshee-1/Banshee.ThickClient.dll -r:Mono.Posix
-r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
-r:/usr/lib/mono/gtk-sharp-2.0/gconf-sharp.dll
-r:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll"

I'll probably do a proper release when the build and install issues are
sorted out.

Have fun,

-- 
Bertrand Lorentz <bertrand lorentz gmail com>
> http://flickr.com/photos/bl8/ <



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