Ticket #39199: patch-libquvi-0.9.diff

File patch-libquvi-0.9.diff, 2.6 KB (added by Ionic (Mihai Moldovan), 11 years ago)

Not really successful configure and header file hack to make use of libquvi-0.9

  • configure

    old new  
    1567415674    pkg_cv_libquvi_CFLAGS="$libquvi_CFLAGS"
    1567515675 elif test -n "$PKG_CONFIG"; then
    1567615676    if test -n "$PKG_CONFIG" && \
    15677     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquvi >= 0.4.0\""; } >&5
    15678   ($PKG_CONFIG --exists --print-errors "libquvi >= 0.4.0") 2>&5
     15677    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquvi-0.9 >= 0.4.0\""; } >&5
     15678  ($PKG_CONFIG --exists --print-errors "libquvi-0.9 >= 0.4.0") 2>&5
    1567915679  ac_status=$?
    1568015680  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1568115681  test $ac_status = 0; }; then
    15682   pkg_cv_libquvi_CFLAGS=`$PKG_CONFIG --cflags "libquvi >= 0.4.0" 2>/dev/null`
     15682  pkg_cv_libquvi_CFLAGS=`$PKG_CONFIG --cflags "libquvi-0.9 >= 0.4.0" 2>/dev/null`
    1568315683else
    1568415684  pkg_failed=yes
    1568515685fi
     
    1569015690    pkg_cv_libquvi_LIBS="$libquvi_LIBS"
    1569115691 elif test -n "$PKG_CONFIG"; then
    1569215692    if test -n "$PKG_CONFIG" && \
    15693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquvi >= 0.4.0\""; } >&5
    15694   ($PKG_CONFIG --exists --print-errors "libquvi >= 0.4.0") 2>&5
     15693    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libquvi-0.9 >= 0.4.0\""; } >&5
     15694  ($PKG_CONFIG --exists --print-errors "libquvi-0.9 >= 0.4.0") 2>&5
    1569515695  ac_status=$?
    1569615696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1569715697  test $ac_status = 0; }; then
    15698   pkg_cv_libquvi_LIBS=`$PKG_CONFIG --libs "libquvi >= 0.4.0" 2>/dev/null`
     15698  pkg_cv_libquvi_LIBS=`$PKG_CONFIG --libs "libquvi-0.9 >= 0.4.0" 2>/dev/null`
    1569915699else
    1570015700  pkg_failed=yes
    1570115701fi
     
    1571515715        _pkg_short_errors_supported=no
    1571615716fi
    1571715717        if test $_pkg_short_errors_supported = yes; then
    15718                 libquvi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquvi >= 0.4.0" 2>&1`
     15718                libquvi_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libquvi-0.9 >= 0.4.0" 2>&1`
    1571915719        else
    15720                 libquvi_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquvi >= 0.4.0" 2>&1`
     15720                libquvi_PKG_ERRORS=`$PKG_CONFIG --print-errors "libquvi-0.9 >= 0.4.0" 2>&1`
    1572115721        fi
    1572215722        # Put the nasty error message in config.log where it belongs
    1572315723        echo "$libquvi_PKG_ERRORS" >&5
  • src/ccquvi

    old new  
    77#include <string>
    88#include <map>
    99
    10 #include <quvi/quvi.h>
     10#include <quvi-0.9/quvi.h>
    1111#include <compat/options.h>
    1212#include <compat/media.h>
    1313#include <compat/error.h>