Package Details: surf 2.1-6

Git Clone URL: https://aur.archlinux.org/surf.git (read-only, click to copy)
Package Base: surf
Description: A simple web browser based on WebKit/GTK+.
Upstream URL: https://surf.suckless.org/
Keywords: browser
Licenses: MIT
Submitter: arojas
Maintainer: nicholascw
Last Packager: nicholascw
Votes: 18
Popularity: 0.057866
First Submitted: 2020-05-01 19:41 (UTC)
Last Updated: 2021-11-14 02:26 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

cyberpunkrocker commented on 2021-11-12 15:16 (UTC) (edited on 2021-11-12 15:24 (UTC) by cyberpunkrocker)

PKGBUILD never finds the modified config.h in the top build directory, because it is looking for it in the wrong place. The prepare() section should be something like this:

prepare() {
    if [[ -f ../config.h ]]; then
        echo "FOUND config.h, copying..."
        cp ../config.h "${pkgname}-${pkgver}/config.h"
    fi
}

aa121 commented on 2021-09-27 10:43 (UTC)

Also could you add tabbed as optional dependency?

aa121 commented on 2021-09-26 15:05 (UTC)

Please add libvoikko, libaspell, aspell, hspell, nuspell as dependencies.

yusufaktepe commented on 2021-05-11 15:15 (UTC)

@J5lx added, thanks.

J5lx commented on 2021-05-11 14:56 (UTC)

This package is missing a dependency on gcr:

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
Package 'gcr-3', required by 'virtual:world', not found
surf.c:9:10: fatal error: glib.h: No such file or directory
    9 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:31: surf.o] Error 1

frostyMakeItRain commented on 2021-01-29 18:39 (UTC)

This built for me on pinebook pro with aarch64

keithspg commented on 2020-11-14 19:11 (UTC) (edited on 2020-11-14 23:39 (UTC) by keithspg)

Tried building this for RPi running aarch64 and keep getting the DRI error

libEGL warning: DRI2: failed to authenticate
Could not create EGL sharing context.
Could not create EGL context.

Any idea how to get beyond this? The libGL files are all in /opt/vc/lib

-rw-r--r-- 1 root root 202072 Nov 14 12:07 libEGL.so
-rw-r--r-- 1 root root 245356 Nov 14 12:07 libEGL_static.a
lrwxrwxrwx 1 root root     12 Nov 14 12:07 libGLESv1_CM.so -> libGLESv2.so
-rw-r--r-- 1 root root 105768 Nov 14 12:07 libGLESv2.so

D'oh, those libs are for armv7h (32 bit) and will not work with aarch64.

Is there a way to get surf to run without the GL libs?

yusufaktepe commented on 2020-05-03 07:09 (UTC)

@The-Compiler That was from default config. I bumped package to a commit after 2.0 release, where StrictSSL enabled and toggle key introduced.

The-Compiler commented on 2020-05-02 14:45 (UTC) (edited on 2020-05-02 14:45 (UTC) by The-Compiler)

Looks like the config.h (which is probably coming from arojas?) does:

SETB(StrictSSL,          0),

Which seems like a horrible default - it just turns off TLS verification completely, which can be seen by e.g. visiting https://expired.badssl.com/