Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in a browser. It should work with all browsers on Unix-like systems that use the NS4 API (Seamonkey, Firefox, Epiphany, etc). from David Coppa (MAINTAINER) with some tweaks
230 lines
7.8 KiB
Plaintext
230 lines
7.8 KiB
Plaintext
$OpenBSD: patch-configure,v 1.1.1.1 2009/03/16 13:00:19 ajacoutot Exp $
|
|
--- configure.orig Wed Feb 11 15:49:36 2009
|
|
+++ configure Mon Mar 16 12:44:52 2009
|
|
@@ -8375,225 +8375,6 @@ if test -n "$GECKO_CFLAGS"; then
|
|
pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
|
|
elif test -n "$PKG_CONFIG"; then
|
|
if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-if test -n "$GECKO_LIBS"; then
|
|
- pkg_cv_GECKO_LIBS="$GECKO_LIBS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-if test $pkg_failed = yes; then
|
|
-
|
|
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
- _pkg_short_errors_supported=yes
|
|
-else
|
|
- _pkg_short_errors_supported=no
|
|
-fi
|
|
- if test $_pkg_short_errors_supported = yes; then
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
|
|
- else
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
|
|
- fi
|
|
- # Put the nasty error message in config.log where it belongs
|
|
- echo "$GECKO_PKG_ERRORS" >&5
|
|
-
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
- { $as_echo "$as_me:$LINENO: WARNING: mozilla-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
|
|
-elif test $pkg_failed = untried; then
|
|
- { $as_echo "$as_me:$LINENO: WARNING: mozilla-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
|
|
-else
|
|
- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
|
|
- GECKO_LIBS=$pkg_cv_GECKO_LIBS
|
|
- { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-
|
|
-
|
|
-fi
|
|
-fi
|
|
-
|
|
-if test "$GECKO_CFLAGS" = ""; then
|
|
-
|
|
-pkg_failed=no
|
|
-{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
|
|
-$as_echo_n "checking for GECKO... " >&6; }
|
|
-
|
|
-if test -n "$GECKO_CFLAGS"; then
|
|
- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-if test -n "$GECKO_LIBS"; then
|
|
- pkg_cv_GECKO_LIBS="$GECKO_LIBS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-if test $pkg_failed = yes; then
|
|
-
|
|
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
- _pkg_short_errors_supported=yes
|
|
-else
|
|
- _pkg_short_errors_supported=no
|
|
-fi
|
|
- if test $_pkg_short_errors_supported = yes; then
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
|
|
- else
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
|
|
- fi
|
|
- # Put the nasty error message in config.log where it belongs
|
|
- echo "$GECKO_PKG_ERRORS" >&5
|
|
-
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
- { $as_echo "$as_me:$LINENO: WARNING: firefox-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
|
|
-elif test $pkg_failed = untried; then
|
|
- { $as_echo "$as_me:$LINENO: WARNING: firefox-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
|
|
-else
|
|
- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
|
|
- GECKO_LIBS=$pkg_cv_GECKO_LIBS
|
|
- { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-
|
|
-
|
|
-fi
|
|
-fi
|
|
-
|
|
-if test "$GECKO_CFLAGS" = ""; then
|
|
-
|
|
-pkg_failed=no
|
|
-{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
|
|
-$as_echo_n "checking for GECKO... " >&6; }
|
|
-
|
|
-if test -n "$GECKO_CFLAGS"; then
|
|
- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-if test -n "$GECKO_LIBS"; then
|
|
- pkg_cv_GECKO_LIBS="$GECKO_LIBS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\"") >&5
|
|
- ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
|
|
- ac_status=$?
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; then
|
|
- pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
|
|
-else
|
|
- pkg_failed=yes
|
|
-fi
|
|
- else
|
|
- pkg_failed=untried
|
|
-fi
|
|
-
|
|
-
|
|
-
|
|
-if test $pkg_failed = yes; then
|
|
-
|
|
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
- _pkg_short_errors_supported=yes
|
|
-else
|
|
- _pkg_short_errors_supported=no
|
|
-fi
|
|
- if test $_pkg_short_errors_supported = yes; then
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
|
|
- else
|
|
- GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
|
|
- fi
|
|
- # Put the nasty error message in config.log where it belongs
|
|
- echo "$GECKO_PKG_ERRORS" >&5
|
|
-
|
|
- { $as_echo "$as_me:$LINENO: result: no" >&5
|
|
-$as_echo "no" >&6; }
|
|
- { $as_echo "$as_me:$LINENO: WARNING: seamokey-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
|
|
-elif test $pkg_failed = untried; then
|
|
- { $as_echo "$as_me:$LINENO: WARNING: seamokey-plugin not found, trying another" >&5
|
|
-$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
|
|
-else
|
|
- GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
|
|
- GECKO_LIBS=$pkg_cv_GECKO_LIBS
|
|
- { $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
-$as_echo "yes" >&6; }
|
|
-
|
|
-
|
|
-fi
|
|
-fi
|
|
-
|
|
-if test "$GECKO_CFLAGS" = ""; then
|
|
-
|
|
-pkg_failed=no
|
|
-{ $as_echo "$as_me:$LINENO: checking for GECKO" >&5
|
|
-$as_echo_n "checking for GECKO... " >&6; }
|
|
-
|
|
-if test -n "$GECKO_CFLAGS"; then
|
|
- pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
|
|
- elif test -n "$PKG_CONFIG"; then
|
|
- if test -n "$PKG_CONFIG" && \
|
|
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\"") >&5
|
|
($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
|
|
ac_status=$?
|