diff -up gnucash-2.6.17/configure.foo gnucash-2.6.17/configure
--- gnucash-2.6.17/configure.foo 2017-07-10 22:16:35.894106443 -0400
+++ gnucash-2.6.17/configure 2017-07-10 22:19:39.317530206 -0400
@@ -23454,105 +23454,6 @@ $as_echo "$with_html_engine" >&6; }
;;
webkit)
-
- succeeded=no
-
- if test -z "$PKG_CONFIG"; then
- # Extract the first word of "pkg-config", so it can be a program name with args.
-set dummy pkg-config; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PKG_CONFIG+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $PKG_CONFIG in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
- ;;
-esac
-fi
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
-$as_echo "$PKG_CONFIG" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-
- if test "$PKG_CONFIG" = "no" ; then
- echo "*** The pkg-config script could not be found. Make sure it is"
- echo "*** in your path, or set the PKG_CONFIG environment variable"
- echo "*** to the full path to pkg-config."
- echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
- else
- pkg_config_min_version=0.9.0
- if $PKG_CONFIG --atleast-pkgconfig-version $pkg_config_min_version; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit-1.0 >= \"1.2\"" >&5
-$as_echo_n "checking for webkit-1.0 >= \"1.2\"... " >&6; }
-
- if $PKG_CONFIG --silence-errors --exists "webkit-1.0 >= "1.2"" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- succeeded=yes
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking WEBKIT_CFLAGS" >&5
-$as_echo_n "checking WEBKIT_CFLAGS... " >&6; }
- WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= "1.2""`
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WEBKIT_CFLAGS" >&5
-$as_echo "$WEBKIT_CFLAGS" >&6; }
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking WEBKIT_LIBS" >&5
-$as_echo_n "checking WEBKIT_LIBS... " >&6; }
- WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= "1.2""`
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WEBKIT_LIBS" >&5
-$as_echo "$WEBKIT_LIBS" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- WEBKIT_CFLAGS=""
- WEBKIT_LIBS=""
- ## If we have a custom action on failure, don't print errors, but
- ## do set a variable so people can do so.
- WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= "1.2"" 2>&1`
- echo $WEBKIT_PKG_ERRORS
- fi
-
-
-
- else
- echo "*** Your version of pkg-config is too old. You need version $pkg_config_min_version or newer."
- echo "*** See http://www.freedesktop.org/software/pkgconfig"
- fi
- fi
-
- if test $succeeded = yes; then
- :
- else
- as_fn_error $? "Library requirements (webkit-1.0 >= \"1.2\") not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5
- fi
-
;;
*) as_fn_error $? "Invalid HTML engine: must be webkit" "$LINENO" 5 ;;
diff -up gnucash-2.6.17/src/html/Makefile.in.foo gnucash-2.6.17/src/html/Makefile.in
--- gnucash-2.6.17/src/html/Makefile.in.foo 2017-07-02 14:50:42.000000000 -0400
+++ gnucash-2.6.17/src/html/Makefile.in 2017-07-10 22:16:35.890106412 -0400
@@ -552,7 +552,8 @@ libgncmod_html_la_LIBADD = \
${top_builddir}/src/gnome-utils/libgncmod-gnome-utils.la \
${top_builddir}/src/app-utils/libgncmod-app-utils.la \
$(top_builddir)/lib/libc/libc-missing.la \
- ${WEBKIT_LIBS} \
+ ${top_builddir}/webkitgtk-2.4.11/libjavascriptcoregtk-1.0.la \
+ ${top_builddir}/webkitgtk-2.4.11/libwebkitgtk-1.0.la \
${GTK_LIBS} \
${GLIB_LIBS} \
${DB_LIBS} \
diff -up gnucash-2.6.17/src/html/gnc-html-webkit.c.cow gnucash-2.6.17/src/html/gnc-html-webkit.c
--- gnucash-2.6.17/src/html/gnc-html-webkit.c.cow 2017-07-11 23:47:07.175542657 -0400
+++ gnucash-2.6.17/src/html/gnc-html-webkit.c 2017-07-11 23:47:16.821580424 -0400
@@ -39,7 +39,7 @@
#include <regex.h>
#include <libguile.h>
-#include <webkit/webkit.h>
+#include "webkit/webkit.h"
#include "Account.h"
#include "gnc-prefs.h"