Hello community, here is the log from the commit of package mc for openSUSE:Factory checked in at 2012-03-29 07:45:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mc (Old) and /work/SRC/openSUSE:Factory/.mc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mc", Maintainer is "nadvor...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/mc/mc.changes 2012-03-26 15:37:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mc.new/mc.changes 2012-03-29 07:45:05.000000000 +0200 @@ -1,0 +2,8 @@ +Sat Mar 24 08:54:23 UTC 2012 - subchas...@gmail.com + +- x11_browser issues fixed + * use xdg-open if it possible + * HTML-files openning fixed + * firefox & chromium detection added + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mc-x11browser.diff ++++++ --- /var/tmp/diff_new_pack.rp9DBx/_old 2012-03-29 07:45:07.000000000 +0200 +++ /var/tmp/diff_new_pack.rp9DBx/_new 2012-03-29 07:45:07.000000000 +0200 @@ -8,7 +8,7 @@ regex/\.([hH][tT][mM][lL]?)$ - Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null - View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f -+ Open=/usr/share/mc/bin/x11_browser %f ++ Open=/usr/share/mc/x11_browser file://%f + View=%view{ascii} w3m -dump -T text/html %f; # StarOffice 5.2 ++++++ x11_browser ++++++ --- /var/tmp/diff_new_pack.rp9DBx/_old 2012-03-29 07:45:07.000000000 +0200 +++ /var/tmp/diff_new_pack.rp9DBx/_new 2012-03-29 07:45:07.000000000 +0200 @@ -10,6 +10,10 @@ url="$1" method="${1%%:*}" +if test -n "$DISPLAY" -a -x /usr/bin/xdg-open ; then + exec /usr/bin/xdg-open "$url" +fi + if test "$url" = "$method" ; then case "${url}" in */*.htm|*/*.html) method=http ;; @@ -41,8 +45,11 @@ test -n "$DISPLAY" && type -p Netscape >& /dev/null && http=Netscape test -n "$DISPLAY" && type -p opera >& /dev/null && http=opera test -n "$DISPLAY" && type -p mozilla >& /dev/null && http=mozilla + test -n "$DISPLAY" && type -p firefox >& /dev/null && http=firefox + test -n "$DISPLAY" && type -p chromium >& /dev/null && http=chromium case "$http" in - [nN]etscape|opera|mozilla) ($http -remote "openURL($url)" || $http "$url") >/dev/null 2>&1 & ;; + chromium) $http "$url" >/dev/null 2>&1 & ;; + [nN]etscape|opera|mozilla|firefox) ($http -remote "openURL($url)" || $http "$url") >/dev/null 2>&1 & ;; lynx|w3m|links) exec $http "$url" ;; *) echo "No HTTP browser found." -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org