Re: GSOC / VLC status next steps ...

2013-08-25 Thread Tor Lillqvist

 Could anybody
 check it for successful compiling on Windows? Thanks.


It still requires libvlc headers, is that intentional?

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread Michael Meeks

On Wed, 2013-08-21 at 13:53 +0200, Jean-Baptiste Kempf wrote:
 Very very strong API stability on libVLC.

Great news :-)

 API functions are added, that's it. Nothing is removed, ABI is kept.
 Extension of API gets with newer functions, if needed.

Any chance of an easy-to-check version method a-la gtk that we can
depend on ? 

int libvcl_check_version_is(int major, int minor, int min); 

or whatever ? IIRC Minh had to fix some other issue without which we
failed to work anyway, so we could depend on a new method being there
easily enough.

 Complete API instability on libVLCcore, but you don't care, and if you
 link to libvlccore, I can't do anything for you :)

Excellent; of course we need an easy way to check / get parsed versions
to work around bugs, and avoid crashers so ...

 Default is on Program Files (32bits) /VideoLAN/VLC/libvlc.dll
 as recommended by Microsoft.
 Regedit is: HKLM\Software\VideoLAN\VLC\InstallDir as recommended.

Thanks for that - Minh - we should default to fetching the install path
from the registry key on windows I guess.

has nothing but perhaps a normal install path, and
 
 MacOS X is the usual mess, but we recommend /Applications/VLC.app/ and
 you can find the libvlc.dylib

Great; thanks.

for Linux it's unclear we want to use a system /
distro packaged VLC since it's almost certainly
pre-broken.
 
 Linux, what do you mean pre-broken?

I fully expect that every Linux packager in the world looks at VLC and
says: but really this is 173 packages bundled together, of which we can
only ship 13 by default - and explodes the thing into 173
mis-configured pieces, and in doing so destroys the value of VLC to
LibreOffice: ie. it just works :-)

Of course; then (I imagine) most people just go and download the real
thing from videolan.org - so my recommendation is, that we should only
use libVLC if we are reasonably sure it is not the distribution
package :-)

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread Jean-Baptiste Kempf
On 23 Aug, Michael Meeks wrote :
   Any chance of an easy-to-check version method a-la gtk that we can
 depend on ? 

libvlc_get_version is not enough?

  Linux, what do you mean pre-broken?
 
   I fully expect that every Linux packager in the world looks at VLC and
 says: but really this is 173 packages bundled together, of which we can
 only ship 13 by default - and explodes the thing into 173
 mis-configured pieces, and in doing so destroys the value of VLC to
 LibreOffice: ie. it just works :-)
 
   Of course; then (I imagine) most people just go and download the real
 thing from videolan.org - so my recommendation is, that we should only
 use libVLC if we are reasonably sure it is not the distribution
 package :-)

No, all VLC installs are from distributions.
We don't ship anything.

We host SuSE binaries, though, but they package the core VLC for the
next versions.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread bjoern
On Fri, Aug 23, 2013 at 05:09:54PM +0200, Jean-Baptiste Kempf wrote:
 On 23 Aug, Michael Meeks wrote :
   Linux, what do you mean pre-broken?
  
  I fully expect that every Linux packager in the world looks at VLC and
  says: but really this is 173 packages bundled together, of which we can
  only ship 13 by default - and explodes the thing into 173
  mis-configured pieces, and in doing so destroys the value of VLC to
  LibreOffice: ie. it just works :-)
  
  Of course; then (I imagine) most people just go and download the real
  thing from videolan.org - so my recommendation is, that we should only
  use libVLC if we are reasonably sure it is not the distribution
  package :-)
 
 No, all VLC installs are from distributions.
 We don't ship anything.

This is of course because the split into 173 mis-configured pieces fate is
carefully reserved by packagers for those upstreams that carelessly add 5
exciting new external dependencies with each major release ...

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread Jean-Baptiste Kempf
On 23 Aug, bjoern wrote :
 This is of course because the split into 173 mis-configured pieces fate is
 carefully reserved by packagers for those upstreams that carelessly add 5
 exciting new external dependencies with each major release ...

Like?

As far as I know VLC has exactly the same dependency on precise, raring,
quantal and saucy.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread Michael Meeks

On Fri, 2013-08-23 at 17:09 +0200, Jean-Baptiste Kempf wrote:
 libvlc_get_version is not enough?

We can be sure that it is digit+.digit+.digit+ followed by non-digits ?
if so, fine I guess.

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread Michael Stahl
On 23/08/13 17:36, Jean-Baptiste Kempf wrote:
 On 23 Aug, bjoern wrote :
 This is of course because the split into 173 mis-configured pieces fate is
 carefully reserved by packagers for those upstreams that carelessly add 5
 exciting new external dependencies with each major release ...
 
 Like?
 
 As far as I know VLC has exactly the same dependency on precise, raring,
 quantal and saucy.

i think his point was that LibreOffice doesn't :)


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-23 Thread bjoern
On Fri, Aug 23, 2013 at 05:36:53PM +0200, Jean-Baptiste Kempf wrote:
 As far as I know VLC has exactly the same dependency on precise, raring,
 quantal and saucy.

... unlike LibreOffice for example. ;)

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: GSOC / VLC status next steps ...

2013-08-21 Thread Jean-Baptiste Kempf
Hello,

On 21 Aug, Michael Meeks wrote :
   1. we need to be sure of the API guarentees around libvlc
   + JB - what API guarentees do you have there ?

Very very strong API stability on libVLC.
API functions are added, that's it. Nothing is removed, ABI is kept.
Extension of API gets with newer functions, if needed.

Complete API instability on libVLCcore, but you don't care, and if you
link to libvlccore, I can't do anything for you :)

   + we currently hard-code your ABI in the wrapper
 we use to make this a very lite dependency

ABI is maintained since libVLC 1.1 and we intend to always keep it.
ABI breakage should be considered a bug and reported ASAP.

   Would it be better to have an 'ABI version' that is
incremented as/when back-compatibility of your plugin API
changes ? [ that we could switch on ]

No, because we don't break ABI and we won't.

   2. we need a good way to locate VLC / libvlc by default on
  Win / Mac / Linux
   + JB: I assume that there are default install paths
 is there a registry key on Windows ? Mac (I assume)

Default is on Program Files (32bits) /VideoLAN/VLC/libvlc.dll
as recommended by Microsoft.
Regedit is: HKLM\Software\VideoLAN\VLC\InstallDir as recommended.

 has nothing but perhaps a normal install path, and

MacOS X is the usual mess, but we recommend /Applications/VLC.app/ and
you can find the libvlc.dylib

 for Linux it's unclear we want to use a system /
 distro packaged VLC since it's almost certainly
 pre-broken.

Linux, what do you mean pre-broken?

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice