Re: firefox & flash9 patches - FreeBSD

This is a discussion on Re: firefox & flash9 patches - FreeBSD ; On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote: Do you have working sound with your flashsupport patch and flash9 ? I've tried both - your pre-build library and to build library myself with your patch - same effect, I ...

+ Reply to Thread
Results 1 to 15 of 15

Thread: Re: firefox & flash9 patches

  1. Re: firefox & flash9 patches

    On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:

    Do you have working sound with your flashsupport patch and flash9 ?

    I've tried both - your pre-build library and to build library myself
    with your patch - same effect, I have a lot of "ALSA" complains on
    output and no actual sound:
    (I am trying on 8-CURRENT)

    ....
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    ....

    Any hints will be very appreciated.

    > On Monday 29 September 2008 22:02:37 Chagin Dmitry wrote:
    > > please, test following patches (just -current).
    > > with them firefox && flash9 forks for me,
    > > I tested only on ia32@amd64 with 2.6.16 enabled,
    > > firefox 2.0.0.16 and flash9 plugin.
    > >
    > > If all is good, I will ask des@ and kib@ to review&commit them. thnx!

    >
    > On 7.1-PRERELEASE, linux 2.4, fc4, the linprocfs patch seems to improve
    > things a lot. I'm still having crashes from time to time, but overall
    > flash9 works much better. Great work!
    >
    > I've attached the patch for RELENG_7 (patch-linprocfs) and another
    > patch for libflashsupport [1]. It should improve OSS support, A/V sync
    > etc. For those without a linux box, I've attached a compiled version of
    > the lib as well. You can drop it in /compat/linux/usr/lib.
    >
    > [1] http://sourceforge.net/projects/flashsupport/
    > _______________________________________________
    > freebsd-emulation@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/lis...ebsd-emulation
    > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"

    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  2. Re: firefox & flash9 patches

    On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote:
    > On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:
    >
    > Do you have working sound with your flashsupport patch and flash9 ?
    >
    > I've tried both - your pre-build library and to build library myself
    > with your patch - same effect, I have a lot of "ALSA" complains on
    > output and no actual sound:
    > (I am trying on 8-CURRENT)
    >
    > ...
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    > ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    > ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    > ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    > ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    > ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    > ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    > ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    > ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    > ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    > ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    > ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    > ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    > ...
    >
    > Any hints will be very appreciated.


    I have sound in both linux-firefox and native firefox 2. The
    libflashsupport installed by the linux-flashplugin9 port already makes
    sound work for me.

    I have the following linux packages installed:

    linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
    linux-cairo-1.0.2 Linux cairo binary
    linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library
    linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla
    linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin
    linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
    linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib
    linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary
    linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
    linux-jpeg-6b.34 RPM of the JPEG lib
    linux-openssl-0.9.7f SSL and crypto library (Linux Version)
    linux-pango-1.10.2 Linux pango binary
    linux-png-1.2.8_2 RPM of the PNG lib
    linux-tiff-3.7.1 TIFF library, Linux/i386 binary
    linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
    linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)

    Kernel with Dmitry's linprocfs patch and linprocfs mounted on
    /compat/linux/proc

    sysctl compat.linux
    compat.linux.oss_version: 198144
    compat.linux.osrelease: 2.4.2
    compat.linux.osname: Linux

    That's it for linux-firefox.

    For native firefox, you need to install nspluginwrapper and run
    "nspluginwrapper -v -a -i" as root.

    My patch for libflashsupport improves handling of the sound buffer,
    but sound should already work without it.
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  3. Re: firefox & flash9 patches

    On Thu, 2008-10-02 at 14:46 +0200, Tijl Coosemans wrote:
    > On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote:
    > > On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:
    > >
    > > Do you have working sound with your flashsupport patch and flash9 ?
    > >
    > > I've tried both - your pre-build library and to build library myself
    > > with your patch - same effect, I have a lot of "ALSA" complains on
    > > output and no actual sound:
    > > (I am trying on 8-CURRENT)
    > >
    > > ...
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    > > ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    > > ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    > > ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    > > ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    > > ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    > > ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    > > ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    > > ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    > > ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    > > ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    > > ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    > > ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    > > ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    > > ...
    > >
    > > Any hints will be very appreciated.

    >
    > I have sound in both linux-firefox and native firefox 2. The
    > libflashsupport installed by the linux-flashplugin9 port already makes
    > sound work for me.
    >
    > I have the following linux packages installed:
    >
    > linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
    > linux-cairo-1.0.2 Linux cairo binary
    > linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library
    > linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla
    > linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin
    > linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
    > linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib
    > linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary
    > linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
    > linux-jpeg-6b.34 RPM of the JPEG lib
    > linux-openssl-0.9.7f SSL and crypto library (Linux Version)
    > linux-pango-1.10.2 Linux pango binary
    > linux-png-1.2.8_2 RPM of the PNG lib
    > linux-tiff-3.7.1 TIFF library, Linux/i386 binary
    > linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
    > linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)
    >
    > Kernel with Dmitry's linprocfs patch and linprocfs mounted on
    > /compat/linux/proc
    >
    > sysctl compat.linux
    > compat.linux.oss_version: 198144
    > compat.linux.osrelease: 2.4.2
    > compat.linux.osname: Linux
    >
    > That's it for linux-firefox.


    Hm, in my case it even does not starts with osrelease=2.4.2
    $ linux-firefox
    FATAL: kernel too old
    $

    > For native firefox, you need to install nspluginwrapper and run
    > "nspluginwrapper -v -a -i" as root.


    Same diagnostic from flashplugin9 under ff3, looks like it is due to
    glibc from fedora8

    looks like either flashpayer9 or flashsupport or some linux library
    provides additional ALSA->pcm compatibility.

    > My patch for libflashsupport improves handling of the sound buffer,
    > but sound should already work without it.


    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  4. Re: firefox & flash9 patches

    On Thu, Oct 02, 2008 at 05:03:38PM +0400, Vladimir Grebenschikov wrote:
    > On Thu, 2008-10-02 at 14:46 +0200, Tijl Coosemans wrote:
    > > On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote:
    > > > On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:

    > >
    > > I have the following linux packages installed:
    > >
    > > linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
    > > linux-cairo-1.0.2 Linux cairo binary
    > > linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library
    > > linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla
    > > linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin
    > > linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
    > > linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib
    > > linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary
    > > linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
    > > linux-jpeg-6b.34 RPM of the JPEG lib
    > > linux-openssl-0.9.7f SSL and crypto library (Linux Version)
    > > linux-pango-1.10.2 Linux pango binary
    > > linux-png-1.2.8_2 RPM of the PNG lib
    > > linux-tiff-3.7.1 TIFF library, Linux/i386 binary
    > > linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
    > > linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)
    > >
    > > Kernel with Dmitry's linprocfs patch and linprocfs mounted on
    > > /compat/linux/proc
    > >
    > > sysctl compat.linux
    > > compat.linux.oss_version: 198144
    > > compat.linux.osrelease: 2.4.2
    > > compat.linux.osname: Linux
    > >
    > > That's it for linux-firefox.

    >
    > Hm, in my case it even does not starts with osrelease=2.4.2
    > $ linux-firefox
    > FATAL: kernel too old
    > $
    >


    feel free to switch back to linux_base-fc4.... I'm curiously

    > > For native firefox, you need to install nspluginwrapper and run
    > > "nspluginwrapper -v -a -i" as root.

    >
    > Same diagnostic from flashplugin9 under ff3, looks like it is due to
    > glibc from fedora8
    >
    > looks like either flashpayer9 or flashsupport or some linux library
    > provides additional ALSA->pcm compatibility.
    >


    ktrace/linux_kdump of running linux-ff3 please

    > > My patch for libflashsupport improves handling of the sound buffer,
    > > but sound should already work without it.

    >


    thnx!

    --
    Have fun!
    chd
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  5. Re: firefox & flash9 patches

    On Thu, 2008-10-02 at 17:23 +0400, Chagin Dmitry wrote:

    > feel free to switch back to linux_base-fc4.... I'm curiously


    fc4 is too old, I guess I'll lose skype in that case:
    "Skype requires at least linux_base-fc6"

    > > > For native firefox, you need to install nspluginwrapper and run
    > > > "nspluginwrapper -v -a -i" as root.

    > >
    > > Same diagnostic from flashplugin9 under ff3, looks like it is due to
    > > glibc from fedora8
    > >
    > > looks like either flashpayer9 or flashsupport or some linux library
    > > provides additional ALSA->pcm compatibility.
    > >

    >
    > ktrace/linux_kdump of running linux-ff3 please


    Tijl, can you provide kdump ?

    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  6. Re: firefox & flash9 patches

    On Thursday 02 October 2008 15:03:38 Vladimir Grebenschikov wrote:
    > On Thu, 2008-10-02 at 14:46 +0200, Tijl Coosemans wrote:
    >> On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote:
    >>> On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:
    >>>
    >>> Do you have working sound with your flashsupport patch and flash9 ?
    >>>
    >>> I've tried both - your pre-build library and to build library myself
    >>> with your patch - same effect, I have a lot of "ALSA" complains on
    >>> output and no actual sound:
    >>> (I am trying on 8-CURRENT)
    >>>
    >>> ...
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    >>> ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    >>> ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    >>> ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    >>> ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    >>> ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    >>> ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_card_driver returned error: No such device
    >>> ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_concat returned error: No such device
    >>> ALSA lib confmisc.c:1072snd_func_refer) error evaluating name
    >>> ALSA lib conf.c:3493_snd_config_evaluate) function snd_func_refer returned error: No such device
    >>> ALSA lib conf.c:3962snd_config_expand) Evaluate error: No such device
    >>> ALSA lib pcm.c:2099snd_pcm_open_noupdate) Unknown PCM default
    >>> ALSA lib pcm_hw.c:1305_snd_pcm_hw_open) Invalid value for card
    >>> ALSA lib confmisc.c:672snd_func_card_driver) cannot find card '0'
    >>> ...
    >>>
    >>> Any hints will be very appreciated.

    >>
    >> I have sound in both linux-firefox and native firefox 2. The
    >> libflashsupport installed by the linux-flashplugin9 port already makes
    >> sound work for me.
    >>
    >> I have the following linux packages installed:
    >>
    >> linux-atk-1.9.1 Accessibility Toolkit, Linux/i386 binary
    >> linux-cairo-1.0.2 Linux cairo binary
    >> linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library
    >> linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla
    >> linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin
    >> linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
    >> linux-glib2-2.6.6 Version 2.X Linux/i386 binary port of GLib
    >> linux-gtk2-2.6.10 GTK+ library, version 2.X, Linux binary
    >> linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
    >> linux-jpeg-6b.34 RPM of the JPEG lib
    >> linux-openssl-0.9.7f SSL and crypto library (Linux Version)
    >> linux-pango-1.10.2 Linux pango binary
    >> linux-png-1.2.8_2 RPM of the PNG lib
    >> linux-tiff-3.7.1 TIFF library, Linux/i386 binary
    >> linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
    >> linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)
    >>
    >> Kernel with Dmitry's linprocfs patch and linprocfs mounted on
    >> /compat/linux/proc
    >>
    >> sysctl compat.linux
    >> compat.linux.oss_version: 198144
    >> compat.linux.osrelease: 2.4.2
    >> compat.linux.osname: Linux
    >>
    >> That's it for linux-firefox.

    >
    > Hm, in my case it even does not starts with osrelease=2.4.2
    > $ linux-firefox
    > FATAL: kernel too old
    > $
    >
    >> For native firefox, you need to install nspluginwrapper and run
    >> "nspluginwrapper -v -a -i" as root.

    >
    > Same diagnostic from flashplugin9 under ff3, looks like it is due to
    > glibc from fedora8
    >
    > looks like either flashpayer9 or flashsupport or some linux library
    > provides additional ALSA->pcm compatibility.


    There's no need for an ALSA->OSS layer. The flashsupport lib has direct
    access to the sound buffer.

    You need to make sure the flash plugin can load the support lib
    though, because it fails silently. Can it find all lib dependencies
    for instance? What does ldd say:

    % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x20059000)
    libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x201cb000)
    libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    /lib/ld-linux.so.2 (0x00000000)
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x203bc000)
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  7. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thu, 2008-10-02 at 15:57 +0200, Tijl Coosemans wrote:
    >
    > > looks like either flashpayer9 or flashsupport or some linux library
    > > provides additional ALSA->pcm compatibility.

    >
    > There's no need for an ALSA->OSS layer. The flashsupport lib has
    > direct
    > access to the sound buffer.


    So it provides pcm access.

    > You need to make sure the flash plugin can load the support lib
    > though, because it fails silently.


    Hm, bad case, need some way to report about such problems.

    > Can it find all lib dependencies for instance? What does ldd say:
    >
    > % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    > libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    > libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0
    > (0x20059000)
    > libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
    > (0x201cb000)
    > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    > libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    > libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    > libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    > libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    > libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    > /lib/ld-linux.so.2 (0x00000000)
    > libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
    > (0x203bc000)


    There was two missed libraries: libcom_err.so.2 and libkeyutils.so.1,
    after installation of
    e2fsprogs-libs-1.40.2-10.fc8.i386.rpm and
    keyutils-libs-1.2-2.fc6.i386.rpm
    sound works !

    Looks like we lack of two required ports for flash9 port.

    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  8. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thursday 02 October 2008 16:15:48 Vladimir Grebenschikov wrote:
    > On Thu, 2008-10-02 at 15:57 +0200, Tijl Coosemans wrote:
    >> Can it find all lib dependencies for instance? What does ldd say:
    >>
    >> % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    >> libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    >> libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x20059000)
    >> libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    >> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x201cb000)
    >> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    >> libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    >> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    >> libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    >> libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    >> libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    >> libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    >> /lib/ld-linux.so.2 (0x00000000)
    >> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x203bc000)

    >
    > There was two missed libraries: libcom_err.so.2 and libkeyutils.so.1,
    > after installation of
    > e2fsprogs-libs-1.40.2-10.fc8.i386.rpm and
    > keyutils-libs-1.2-2.fc6.i386.rpm
    > sound works !
    >
    > Looks like we lack of two required ports for flash9 port.


    % pkg_info -W /compat/linux/lib/libcom_err.so.2
    /compat/linux/lib/libcom_err.so.2 was installed by package linux_base-fc-4_13

    I don't have a libkeyutils installed, so it seems this depends on
    whichever linux_base you have.
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  9. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thu, Oct 02, 2008 at 06:15:48PM +0400, Vladimir Grebenschikov wrote:
    > On Thu, 2008-10-02 at 15:57 +0200, Tijl Coosemans wrote:
    > >

    >
    > > Can it find all lib dependencies for instance? What does ldd say:
    > >
    > > % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    > > libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    > > libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0
    > > (0x20059000)
    > > libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    > > libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
    > > (0x201cb000)
    > > libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    > > libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    > > libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    > > libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    > > libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    > > libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    > > libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    > > /lib/ld-linux.so.2 (0x00000000)
    > > libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
    > > (0x203bc000)

    >
    > There was two missed libraries: libcom_err.so.2 and libkeyutils.so.1,
    > after installation of
    > e2fsprogs-libs-1.40.2-10.fc8.i386.rpm and
    > keyutils-libs-1.2-2.fc6.i386.rpm
    > sound works !
    >
    > Looks like we lack of two required ports for flash9 port.
    >


    very good news, thnx Tijl && Vladimir!
    I suggest to prepare patches that it has been commited before 7.1R

    --
    Have fun!
    chd
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  10. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thu, Oct 2, 2008 at 11:53 AM, Boris Samorodov wrote:
    > Tijl Coosemans writes:
    >> On Thursday 02 October 2008 16:15:48 Vladimir Grebenschikov wrote:
    >>> On Thu, 2008-10-02 at 15:57 +0200, Tijl Coosemans wrote:
    >>>> Can it find all lib dependencies for instance? What does ldd say:
    >>>>
    >>>> % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    >>>> libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    >>>> libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x20059000)
    >>>> libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    >>>> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x201cb000)
    >>>> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    >>>> libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    >>>> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    >>>> libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    >>>> libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    >>>> libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    >>>> libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    >>>> /lib/ld-linux.so.2 (0x00000000)
    >>>> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x203bc000)
    >>>
    >>> There was two missed libraries: libcom_err.so.2 and libkeyutils.so.1,
    >>> after installation of
    >>> e2fsprogs-libs-1.40.2-10.fc8.i386.rpm and
    >>> keyutils-libs-1.2-2.fc6.i386.rpm
    >>> sound works !
    >>>
    >>> Looks like we lack of two required ports for flash9 port.

    >>
    >> % pkg_info -W /compat/linux/lib/libcom_err.so.2
    >> /compat/linux/lib/libcom_err.so.2 was installed by package linux_base-fc-4_13
    >>
    >> I don't have a libkeyutils installed, so it seems this depends on
    >> whichever linux_base you have.

    >
    > The port linux_base-f8 has been just fixed. It happens that at
    > recent distributions libraries (e2fsprogs-libs) has a package by
    > themselves.
    >
    > As for libkeyutils -- I'm not sure if it is needed. Prove me wrong. ;-)
    >
    > Thanks for the report and the analysis!
    >
    >
    > WBR
    > --
    > Boris Samorodov (bsam)
    > Research Engineer, http://www.ipt.ru Telephone & Internet SP
    > FreeBSD committer, http://www.FreeBSD.org The Power To Serve
    > _______________________________________________
    > freebsd-emulation@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/lis...ebsd-emulation
    > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"



    Can someone provide a step by step to get flash 9 with sound working
    on 8-CURRENT?

    eg what ports need to be installed


    Sam Fourman Jr.
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  11. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thu, 2008-10-02 at 23:14 -0500, Sam Fourman Jr. wrote:

    > Can someone provide a step by step to get flash 9 with sound working
    > on 8-CURRENT?
    >
    > eg what ports need to be installed


    By experience, you need:
    * recent 8-CURRENT with linuxator patch from Chagin Dmitry
    (see beginning of that thread)
    * recent ports tree with ports:
    - linux_base-f8-8_5 (Makefile 1.44 or later!)
    - linux-flashplugin-9.0r124_1
    - nspluginwrapper-1.0.0
    and dependencies

    also you need download and install keyutils-libs-1.2-2.fc6.i386.rpm (I
    do not know why .fc6 package get to fc8 distribution DVD, but it fits ok
    here).
    you can get it from any appropriate place, like:
    ftp://ftp.chg.ru/pub/Linux/fedora/li...2.fc6.i386.rpm
    Then you need to extract it to compat tree:
    cd /compat/linux && rpm2cpio /path/to/keyutils-1.2-2.fc6.i386.rpm | cpio
    -id

    now run as root:

    # nspluginwrapper -a -v -i
    Auto-install plugins from /usr/X11R6/lib/browser_plugins
    Looking for plugins in /usr/X11R6/lib/browser_plugins
    Auto-install plugins from /usr/X11R6/lib/firefox/plugins
    Looking for plugins in /usr/X11R6/lib/firefox/plugins
    Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
    Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
    Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
    into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
    Auto-install plugins from /root/.mozilla/plugins
    Looking for plugins in /root/.mozilla/plugins
    #

    Now you should have working flash9 under firefox2 (www/firefox).

    If you need it under firefox3 (www/firefox3) link plugin manually to
    firefox3 plugins:

    # ln /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/firefox3/plugins/

    Enjoy

    > Sam Fourman Jr.


    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  12. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thu, 2008-10-02 at 20:53 +0400, Boris Samorodov wrote:

    > > % pkg_info -W /compat/linux/lib/libcom_err.so.2
    > > /compat/linux/lib/libcom_err.so.2 was installed by package

    > linux_base-fc-4_13
    > >
    > > I don't have a libkeyutils installed, so it seems this depends on
    > > whichever linux_base you have.

    >
    > The port linux_base-f8 has been just fixed. It happens that at
    > recent distributions libraries (e2fsprogs-libs) has a package by
    > themselves.
    >
    > As for libkeyutils -- I'm not sure if it is needed. Prove me
    > wrong. ;-)


    I've just tested it without libkeyutils - libflashsupport just does not
    loaded and no sound as result.

    So we need it, not sure as dedicated port or as part of linux_base-f8 ?

    Another ways is try to rebuild libflashsupport without that dependency,
    (ky oing in mind that there was patches here about A/V sync for that
    lib). But I have no good idea how to cross-build Linux library on
    FreeBSD.

    > WBR

    --
    Vladimir B. Grebenschikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  13. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    On Thursday 02 October 2008 18:53:33 Boris Samorodov wrote:
    > Tijl Coosemans writes:
    >> On Thursday 02 October 2008 16:15:48 Vladimir Grebenschikov wrote:
    >>> On Thu, 2008-10-02 at 15:57 +0200, Tijl Coosemans wrote:
    >>> Can it find all lib dependencies for instance? What does ldd say:
    >>>>
    >>>> % /compat/linux/bin/sh /usr/bin/ldd /usr/lib/libflashsupport.so
    >>>> libssl.so.5 => /lib/libssl.so.5 (0x20020000)
    >>>> libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x20059000)
    >>>> libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x200ac000)
    >>>> libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x201cb000)
    >>>> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x201e2000)
    >>>> libcom_err.so.2 => /lib/libcom_err.so.2 (0x20254000)
    >>>> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x20257000)
    >>>> libresolv.so.2 => /lib/libresolv.so.2 (0x2027c000)
    >>>> libcrypto.so.5 => /lib/libcrypto.so.5 (0x2028e000)
    >>>> libdl.so.2 => /lib/libdl.so.2 (0x203a5000)
    >>>> libz.so.1 => /usr/lib/libz.so.1 (0x203a9000)
    >>>> /lib/ld-linux.so.2 (0x00000000)
    >>>> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x203bc000)
    >>>
    >>> There was two missed libraries: libcom_err.so.2 and libkeyutils.so.1,
    >>> after installation of
    >>> e2fsprogs-libs-1.40.2-10.fc8.i386.rpm and
    >>> keyutils-libs-1.2-2.fc6.i386.rpm
    >>> sound works !
    >>>
    >>> Looks like we lack of two required ports for flash9 port.

    >>
    >> % pkg_info -W /compat/linux/lib/libcom_err.so.2
    >> /compat/linux/lib/libcom_err.so.2 was installed by package linux_base-fc-4_13
    >>
    >> I don't have a libkeyutils installed, so it seems this depends on
    >> whichever linux_base you have.

    >
    > The port linux_base-f8 has been just fixed. It happens that at
    > recent distributions libraries (e2fsprogs-libs) has a package by
    > themselves.
    >
    > As for libkeyutils -- I'm not sure if it is needed. Prove me wrong. ;-)


    # pkg_info -W /compat/linux/usr/lib/libkrb5.so.3
    /compat/linux/usr/lib/libkrb5.so.3 was installed by package linux_base-f8-8_5

    # /compat/linux/bin/sh /usr/bin/ldd /compat/linux/usr/lib/libkrb5.so.3
    libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x200b1000)
    libcom_err.so.2 => /lib/libcom_err.so.2 (0x200d8000)
    libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x200db000)
    libkeyutils.so.1 => not found
    libresolv.so.2 => /lib/libresolv.so.2 (0x200e4000)
    libc.so.6 => /lib/libc.so.6 (0x200f8000)
    libkeyutils.so.1 => not found
    libkeyutils.so.1 => not found
    libselinux.so.1 => /lib/libselinux.so.1 (0x20256000)
    libdl.so.2 => /lib/libdl.so.2 (0x20271000)
    /lib/ld-linux.so.2 (0x00000000)

    So libkeyutils seems to be a dependency of some of the libs already
    installed by linux_base-f8.
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  14. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    Vladimir Grebenschikov writes:
    > On Thu, 2008-10-02 at 20:53 +0400, Boris Samorodov wrote:
    >
    >> > % pkg_info -W /compat/linux/lib/libcom_err.so.2
    >> > /compat/linux/lib/libcom_err.so.2 was installed by package

    >> linux_base-fc-4_13
    >> >
    >> > I don't have a libkeyutils installed, so it seems this depends on
    >> > whichever linux_base you have.

    >>
    >> The port linux_base-f8 has been just fixed. It happens that at
    >> recent distributions libraries (e2fsprogs-libs) has a package by
    >> themselves.
    >>
    >> As for libkeyutils -- I'm not sure if it is needed. Prove me
    >> wrong. ;-)

    >
    > I've just tested it without libkeyutils - libflashsupport just does not
    > loaded and no sound as result.


    Well, I'm not sure why a package for key management should be vital for
    a sound... But seems to be worth having it at the base port.

    > So we need it, not sure as dedicated port or as part of linux_base-f8 ?


    OK, I'll include it at the linux_base-f8 port until someone big and
    strong won't convince me to go the other way. ;-)

    > Another ways is try to rebuild libflashsupport without that dependency,
    > (ky oing in mind that there was patches here about A/V sync for that
    > lib). But I have no good idea how to cross-build Linux library on
    > FreeBSD.



    WBR
    --
    Boris Samorodov (bsam)
    Research Engineer, http://www.ipt.ru Telephone & Internet SP
    FreeBSD committer, http://www.FreeBSD.org The Power To Serve
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


  15. Re: firefox & flash9 patches - now it works with sound on 8-CURRENT

    Vladimir Grebenschikov writes:
    > On Thu, 2008-10-02 at 23:14 -0500, Sam Fourman Jr. wrote:
    >
    >> Can someone provide a step by step to get flash 9 with sound working
    >> on 8-CURRENT?
    >>
    >> eg what ports need to be installed

    >
    > By experience, you need:
    > * recent 8-CURRENT with linuxator patch from Chagin Dmitry
    > (see beginning of that thread)
    > * recent ports tree with ports:
    > - linux_base-f8-8_5 (Makefile 1.44 or later!)
    > - linux-flashplugin-9.0r124_1
    > - nspluginwrapper-1.0.0
    > and dependencies


    FYI the following step is not needed with linux_base-f8-8_6:
    -----
    > also you need download and install keyutils-libs-1.2-2.fc6.i386.rpm (I
    > do not know why .fc6 package get to fc8 distribution DVD, but it fits ok
    > here).
    > you can get it from any appropriate place, like:
    > ftp://ftp.chg.ru/pub/Linux/fedora/li...2.fc6.i386.rpm
    > Then you need to extract it to compat tree:
    > cd /compat/linux && rpm2cpio /path/to/keyutils-1.2-2.fc6.i386.rpm | cpio
    > -id

    -----

    > now run as root:
    >
    > # nspluginwrapper -a -v -i
    > Auto-install plugins from /usr/X11R6/lib/browser_plugins
    > Looking for plugins in /usr/X11R6/lib/browser_plugins
    > Auto-install plugins from /usr/X11R6/lib/firefox/plugins
    > Looking for plugins in /usr/X11R6/lib/firefox/plugins
    > Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
    > Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
    > Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
    > into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
    > Auto-install plugins from /root/.mozilla/plugins
    > Looking for plugins in /root/.mozilla/plugins
    > #
    >
    > Now you should have working flash9 under firefox2 (www/firefox).
    >
    > If you need it under firefox3 (www/firefox3) link plugin manually to
    > firefox3 plugins:
    >
    > # ln /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/firefox3/plugins/
    >
    > Enjoy
    >
    >> Sam Fourman Jr.



    WBR
    --
    Boris Samorodov (bsam)
    Research Engineer, http://www.ipt.ru Telephone & Internet SP
    FreeBSD committer, http://www.FreeBSD.org The Power To Serve
    _______________________________________________
    freebsd-emulation@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...ebsd-emulation
    To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"


+ Reply to Thread