tSwitch headers to webkit2 - surf - customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit abcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e (DIR) parent 566b452b46a171a4426256cdb02704ae8351a2b3 (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Wed, 18 Nov 2015 14:43:04 +0100 Switch headers to webkit2 Diffstat: M config.mk | 4 ++-- M surf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/config.mk b/config.mk t@@ -10,8 +10,8 @@ MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib -GTKINC = `pkg-config --cflags gtk+-3.0 webkitgtk-3.0` -GTKLIB = `pkg-config --libs gtk+-3.0 webkitgtk-3.0` +GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0` +GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0` # includes and libs INCS = -I. -I/usr/include -I${X11INC} ${GTKINC} (DIR) diff --git a/surf.c b/surf.c t@@ -17,7 +17,7 @@ #include <limits.h> #include <stdlib.h> #include <stdio.h> -#include <webkit/webkit.h> +#include <webkit2/webkit2.h> #include <glib/gstdio.h> #include <JavaScriptCore/JavaScript.h> #include <sys/file.h>