taskman n00b
Joined: 29 Nov 2018 Posts: 39
|
Posted: Sat Mar 02, 2019 3:28 pm Post subject: need help to fix a bug in www-client/surf-2.0 |
|
|
I have this bug and it drives me nuts.
I tried to install this patch but it wasn't for the www-client/surf version I am using.
Code: | [~] surf -v
surf-2.0, ©2009-2015 surf engineers, see LICENSE for details
[~, ERR:1] equery list www-client/surf
* Searching for surf in www-client ...
[IP-] [ ] www-client/surf-2.0:0
|
ADDITION:
I also tried to make my own patch for surf with settings of the patch I got from the maillingllist.
Here it is.
But it didn't update _SURF_URI neither.
Then I was trying to install the git-sources but they wont compile.
Code: | [src] git clone https://git.suckless.org/surf
[src] cd surf
arg.h common.c common.h config.def.h config.mk FAQ.md libsurf-webext.c LICENSE Makefile README surf.1 surf.c surf-open.sh surf.png TODO.md
[surf] sudo make -j17
...
In file included from /usr/include/webkitgtk-4.0/webkitdom/webkitdom.h:40,
from /usr/include/webkitgtk-4.0/webkit2/WebKitFrame.h:32,
from /usr/include/webkitgtk-4.0/webkit2/webkit-web-extension.h:33,
from libsurf-webext.c:7:
/usr/include/webkitgtk-4.0/webkitdom/WebKitDOMDOMWindow.h:191:1: Anmerkung: hier deklariert
webkit_dom_dom_window_scroll_by(WebKitDOMDOMWindow* self, gdouble x, gdouble y);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c99 `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` -DVERSION=\"2.0\" -DWEBEXTDIR=\"/usr/local/lib/surf\" -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE -fPIC -O -c common.c
Package gcr-3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gcr-3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gcr-3' found
c99 -shared -Wl,-soname,libsurf-webext.so -o libsurf-webext.so \
libsurf-webext.o common.o `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0`
c99 `pkg-config --cflags x11` `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` -DVERSION=\"2.0\" -DWEBEXTDIR=\"/usr/local/lib/surf\" -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE -fPIC -O -c surf.c
Package gcr-3 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gcr-3.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gcr-3' found
surf.c:8:10: schwerwiegender Fehler: glib.h: Datei oder Verzeichnis nicht gefunden
#include <glib.h>
^~~~~~~~
Kompilierung beendet.
make: *** [Makefile:24: surf.o] Fehler 1 |
Can some1 help me getting _SURF_URI updated properly,
or help me to get the git sources running. |
|