On Sat, May 9, 2009 at 12:06 PM, Jan Hnatek <Jan.Hnatek at sun.com> wrote:
> 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?
To have the cmake files be conditional behaving based on
Solaris 10, SXCE or Open Solaris.
> 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?
Yes, because it's horribly unuseful for Solaris 10, and some of the
dependencies require more updated tools than Solaris 10 has.
Remeber, the focus of the kde-solaris project is Solaris 10.
SXCE and OSOL are moving targets, with dependencies changing
on a regular basis. It's hard enough to keep up with one moving
target (KDE. I've seen at least 4 versions since I started contributing).
We don't have enough resources to track 2 moving targets (KDE,
SXCE/OSOL) and not break our focus on Solaris 10, which is
stable with our set of dependencies.
> 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
Doing this will break on Solaris 10. Solaris 10 is our focus. You need
to figure out a way to have it build without breaking Solaris 10.
> 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.
See above. If you want to make changes so that CMAKE can condidtionally
build on Solaris 10 or OSOL with no changes, I'm all for that. But do not
break an existing working config for SOlaris 10, so you can build on
OpenSolaris.
Ben
>
> 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
>
>
> _______________________________________________
> kde-discuss mailing list
> kde-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/kde-discuss
>