Re: skype-2.1.0.81,1 problem in child proc
El día Monday, March 05, 2012 a las 12:06:36AM +0100, Juergen Lock escribió: Can you test the following patch? Also at: http://people.freebsd.org/~nox/tmp/xdg-utils-linux.patch The patch installs fine and the resulting package from the port solves the problem; thanks matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: skype-2.1.0.81,1 problem in child proc
In article 20120306085717.GA1403@tiny you write: El día Monday, March 05, 2012 a las 12:06:36AM +0100, Juergen Lock escribió: Can you test the following patch? Also at: http://people.freebsd.org/~nox/tmp/xdg-utils-linux.patch The patch installs fine and the resulting package from the port solves the problem; thanks matthias Committed, thanx! Juergen ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: skype-2.1.0.81,1 problem in child proc
In article 20120302075153.GA1349@tiny you write: El día Thursday, March 01, 2012 a las 10:13:14PM +0100, Juergen Lock escribió: I haven't really looked into this in detail but my guess is this is the Linux v4l2convert.so that is LD_PRELOAD'ed into skype for the benefit of cameras not able to provida yuv video. So I guess we'd need to prepend a wrapper for xdg-open to PATH that resets LD_PRELOAD before executing the real /usr/local/bin/xdg-open . (And btw I had to do something similar for google earth which sets LD_LIBRARY_PATH, see /usr/ports/astro/google-earth/files/browserwrapper and /usr/ports/astro/google-earth/files/patch-bin-googleearth .) Hm or should the xdg-utils port be patched to just unset LD_PRELOAD uncondtionally? I'll Cc gnome@ which is listed as maintainer for that port... I've set now a hardcoded 'unset LD_PRELOAD' in /usr/local/bin/xdg-open and on click on the URL konqueror comes up fine with the URL; thanks for the hint; Can you test the following patch? Also at: http://people.freebsd.org/~nox/tmp/xdg-utils-linux.patch Index: files/patch-scripts_xdg-open === RCS file: /home/pcvs/ports/devel/xdg-utils/files/patch-scripts_xdg-open,v retrieving revision 1.2 diff -u -p -r1.2 patch-scripts_xdg-open --- files/patch-scripts_xdg-open16 Aug 2009 03:41:39 - 1.2 +++ files/patch-scripts_xdg-open4 Mar 2012 22:30:59 - @@ -1,6 +1,19 @@ scripts/xdg-open.orig2009-08-15 13:22:26.0 -0400 -+++ scripts/xdg-open2009-08-15 13:26:02.0 -0400 -@@ -364,7 +364,9 @@ open_generic() +--- scripts/xdg-open.orig scripts/xdg-open +@@ -31,6 +31,12 @@ + # + #- + ++# If we are started from a Linux app with LD_PRELOAD set unset that ++# so native apps (like browers) won't fail to start. ++if [ x$(uname) = xLinux ]; then ++ unset LD_PRELOAD ++fi ++ + manualpage() + { + cat _MANUALPAGE +@@ -364,7 +370,9 @@ open_generic() for browser in $BROWSER; do if [ x$browser != x ]; then Thanx! :) If it works I hope it can be committed (along with a PORTREVISION bump of course...) Juergen ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
skype-2.1.0.81,1 problem in child proc
Hello, I'm using skype-2.1.0.81,1 in 10-CURRENT r226986, which works fine for chat and video calls; I encounter the following small problem: when a chat contains a URL one can open that URL with a browser; it seems that skype is launching a shell script /usr/local/bin/xdg-open which in turn tries to figure out if the desktop is Gnome or KDE and which browser to use; it simple does not start any browser for me; while digging into this (inserting printf's to a log file) I see, that the script wants to launch kfmclient exec http://www.hallo-verlag.de/... with the correct URL from the chat dialog in skype but this gives an error to stderr: Cannot open /usr/lib/libv4l/v4l2convert.so the shared lib exists in /compat/linux/usr/lib/libv4l/v4l2convert.so and in /usr/local/lib/libv4l/v4l2convert.so $ ls -l /usr/local/lib/libv4l/v4l2convert.so /compat/linux/usr/lib/libv4l/v4l2convert.so -rwxr-xr-x 1 root wheel 4788 14 nov 12:52 /compat/linux/usr/lib/libv4l/v4l2convert.so -rwxr-xr-x 1 root wheel 5341 14 nov 07:49 /usr/local/lib/libv4l/v4l2convert.so What is the matter with this and was has 'kfmclient' todo with v4l2convert.so shared objects? Thanks matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: skype-2.1.0.81,1 problem in child proc
In article 20120301153409.GA2478@tiny you write: Hello, I'm using skype-2.1.0.81,1 in 10-CURRENT r226986, which works fine for chat and video calls; I encounter the following small problem: when a chat contains a URL one can open that URL with a browser; it seems that skype is launching a shell script /usr/local/bin/xdg-open which in turn tries to figure out if the desktop is Gnome or KDE and which browser to use; it simple does not start any browser for me; while digging into this (inserting printf's to a log file) I see, that the script wants to launch kfmclient exec http://www.hallo-verlag.de/... with the correct URL from the chat dialog in skype but this gives an error to stderr: Cannot open /usr/lib/libv4l/v4l2convert.so the shared lib exists in /compat/linux/usr/lib/libv4l/v4l2convert.so and in /usr/local/lib/libv4l/v4l2convert.so $ ls -l /usr/local/lib/libv4l/v4l2convert.so /compat/linux/usr/lib/libv4l/v4l2convert.so -rwxr-xr-x 1 root wheel 4788 14 nov 12:52 /compat/linux/usr/lib/libv4l/v4l2convert.so -rwxr-xr-x 1 root wheel 5341 14 nov 07:49 /usr/local/lib/libv4l/v4l2convert.so What is the matter with this and was has 'kfmclient' todo with v4l2convert.so shared objects? I haven't really looked into this in detail but my guess is this is the Linux v4l2convert.so that is LD_PRELOAD'ed into skype for the benefit of cameras not able to provida yuv video. So I guess we'd need to prepend a wrapper for xdg-open to PATH that resets LD_PRELOAD before executing the real /usr/local/bin/xdg-open . (And btw I had to do something similar for google earth which sets LD_LIBRARY_PATH, see /usr/ports/astro/google-earth/files/browserwrapper and /usr/ports/astro/google-earth/files/patch-bin-googleearth .) Hm or should the xdg-utils port be patched to just unset LD_PRELOAD uncondtionally? I'll Cc gnome@ which is listed as maintainer for that port... Cheers, Juergen ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org
Re: skype-2.1.0.81,1 problem in child proc
El día Thursday, March 01, 2012 a las 10:13:14PM +0100, Juergen Lock escribió: I haven't really looked into this in detail but my guess is this is the Linux v4l2convert.so that is LD_PRELOAD'ed into skype for the benefit of cameras not able to provida yuv video. So I guess we'd need to prepend a wrapper for xdg-open to PATH that resets LD_PRELOAD before executing the real /usr/local/bin/xdg-open . (And btw I had to do something similar for google earth which sets LD_LIBRARY_PATH, see /usr/ports/astro/google-earth/files/browserwrapper and /usr/ports/astro/google-earth/files/patch-bin-googleearth .) Hm or should the xdg-utils port be patched to just unset LD_PRELOAD uncondtionally? I'll Cc gnome@ which is listed as maintainer for that port... I've set now a hardcoded 'unset LD_PRELOAD' in /usr/local/bin/xdg-open and on click on the URL konqueror comes up fine with the URL; thanks for the hint; matthias -- Matthias Apitz e g...@unixarea.de - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org