Hi,

looking further in this issue:

- gstreamer from SUNWgnome-media is accepted if there are no
  NO_DEFAULT_PATH entries in cmake/FindGStreamer*.cmake

Would NO_DEFAULT_PATH prioritize the system library (/usr/lib)
in case we want to use FOSSgstreamer?
What's the best way to solve this please?


The build with NO_DEFAULT_PATH looks like this, as opposed
to the previous email.
===
pkgbuild: -- checking for module 'gstreamer-0.10'
pkgbuild: --   found gstreamer-0.10, version 0.10.21
pkgbuild: -- Found GStreamer: /usr/lib/libgstreamer-0.10.so
pkgbuild: -- Found GStreamer Plugins:
pkgbuild:     /usr/lib/libgstaudio-0.10.so
pkgbuild:     /usr/lib/libgstcdda-0.10.so
pkgbuild:     /usr/lib/libgstnetbuffer-0.10.so
pkgbuild:     /usr/lib/libgstpbutils-0.10.so
pkgbuild:     /usr/lib/libgstriff-0.10.so
pkgbuild:     /usr/lib/libgstrtp-0.10.so
pkgbuild:     /usr/lib/libgstrtsp-0.10.so
pkgbuild:     /usr/lib/libgstsdp-0.10.so
pkgbuild:     /usr/lib/libgsttag-0.10.so
pkgbuild:     /usr/lib/libgstvideo-0.10.so
===

- the phonon_backend stuff still needs to be removed
  when building _without_ '--without-gstreamer'


Was there any reason not to build with SUNWgnome-media's gstreamer?

If so, the depend_gstreamer macro should probably be removed:
%if %{?_with_osol:1}
%define depend_gstreamer        SUNWgnome-media
%else
%define depend_gstreamer        FOSSgstreamer,FOSSgst-plugins-base
%endif

If not, I noticed there were patches putting the NO_DEFAULT_PATH in
place and they're now upstream, which breaks the build with
SUNWgnome-media.
I'm not quite familiar with cmake, so I'd appreciate an explanation.

Regards,
hnhn

Jan Hnatek wrote:
> Hi,
> 
> SUNWgnome-media doesn't seem to be a valid gstreamer provider
> for phonon:
> 
> pkgbuild: -- checking for module 'gstreamer-0.10'
> pkgbuild: --   found gstreamer-0.10, version 0.10.21
> pkgbuild: -- GStreamer: WARNING: library not found
> pkgbuild: -- GStreamer: WARNING: interface library not found
> [..]
> pkgbuild: 
> ----------------------------------------------------------------------------- 
> 
> pkgbuild: -- The following OPTIONAL packages could NOT be located on 
> your system.
> pkgbuild: -- Consider installing them to enable more features from this 
> software.
> pkgbuild: + GStreamer, 0.10: gstreamer 0.10 is required for the 
> multimedia backend <http://gstreamer.freedesktop.org/modules/>
> pkgbuild: + GStreamer video plugin, 0.10: The gstreamer video plugin 
> (part of gstreamer-plugins-base 0.10) is required for the multimedia 
> gstreamer backend <http://gstreamer.freedesktop.org/modules/>
> pkgbuild: + GStreamer audio plugin, 0.10: The gstreamer audio plugin 
> (part of gstreamer-plugins-base 0.10) is required for the multimedia 
> gstreamer backend <http://gstreamer.freedesktop.org/modules/>
> pkgbuild: + GLib2: GLib 2 is required to compile the gstreamer backend 
> for Phonon <http://www.gtk.org/download/>
> pkgbuild: + XCB: XCB is needed for the video widget, libxine needs to be 
> compiled with XCB <http://xcb.freedesktop.org/>
> pkgbuild: + Xine: libxine is needed to compile phonon xine backend 
> <http://xinehq.de/>
> pkgbuild: 
> ----------------------------------------------------------------------------- 
> 
> 
> Then the build of phonon fails:
> pkgbuild: pkgbuild: File not found by glob: 
> /var/tmp/pkgbuild-test/phonon-4.2-build/opt/foss/lib/kde4/plugins/phonon_backend/*.so
>  
> 
> pkgbuild: pkgbuild: File not found by glob: 
> /var/tmp/pkgbuild-test/phonon-4.2-build/opt/foss/share/kde4/services/phononbackends/*
>  
> 
> 
> Ref. changeset: 
> http://solaris.bionicmutton.org/hg/kde4-specs-42/rev/58eab0f1a728
> 
> Again, it's Osol 111.
> 
> hnhn
> 
> 

-- 
Jan Hnatek
jan.hnatek at sun.com



Reply via email to