Package Details: neosurf-git 16.r21.gd6c77f2-1

Git Clone URL: https://aur.archlinux.org/neosurf-git.git (read-only, click to copy)
Package Base: neosurf-git
Description: A NetSurf fork with various improvements
Upstream URL: https://github.com/CobaltBSD/neosurf
Licenses: GPL-2.0-only
Submitter: nicolarevelant
Maintainer: nicolarevelant
Last Packager: nicolarevelant
Votes: 1
Popularity: 0.000000
First Submitted: 2023-06-17 15:33 (UTC)
Last Updated: 2024-03-11 09:48 (UTC)

Latest Comments

dreieck commented on 2026-09-05 09:39 (UTC)

Please add

  • provides=("neosurf=${pkgver}") and
  • conflicts=("neosurf").

Regards!

dreieck commented on 2026-09-05 09:38 (UTC) (edited on 2026-09-05 09:39 (UTC) by dreieck)

Many conflicts with files installed by other packages:

error: failed to commit transaction (conflicting files)
neosurf-git: /usr/include/dom/bindings/hubbub/errors.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/dom/bindings/hubbub/parser.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/dom/bindings/xml/xmlerror.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/dom/bindings/xml/xmlparser.h exists in filesystem (owned by libdom)
[...]
neosurf-git: /usr/include/dom/html/html_ulist_element.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/dom/inttypes.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/dom/walk.h exists in filesystem (owned by libdom)
neosurf-git: /usr/include/hubbub/errors.h exists in filesystem (owned by libhubbub)
neosurf-git: /usr/include/hubbub/functypes.h exists in filesystem (owned by libhubbub)
[...
neosurf-git: /usr/include/hubbub/tree.h exists in filesystem (owned by libhubbub)
neosurf-git: /usr/include/hubbub/types.h exists in filesystem (owned by libhubbub)
[...]
neosurf-git: /usr/include/libcss/computed.h exists in filesystem (owned by libcss)
neosurf-git: /usr/include/libcss/errors.h exists in filesystem (owned by libcss)
[...]
neosurf-git: /usr/include/libcss/types.h exists in filesystem (owned by libcss)
neosurf-git: /usr/include/libcss/unit.h exists in filesystem (owned by libcss)
[...]
neosurf-git: /usr/include/libnsbmp.h exists in filesystem (owned by libnsbmp)
neosurf-git: /usr/include/libwapcaplet/libwapcaplet.h exists in filesystem (owned by libwapcaplet)
neosurf-git: /usr/include/nsgif.h exists in filesystem (owned by libnsgif)
neosurf-git: /usr/include/nsutils/assert.h exists in filesystem (owned by libnsutils)
neosurf-git: /usr/include/nsutils/base64.h exists in filesystem (owned by libnsutils)
[...]
neosurf-git: /usr/include/nsutils/time.h exists in filesystem (owned by libnsutils)
neosurf-git: /usr/include/nsutils/unistd.h exists in filesystem (owned by libnsutils)
neosurf-git: /usr/include/parserutils/charset/codec.h exists in filesystem (owned by libparserutils)
neosurf-git: /usr/include/parserutils/charset/mibenum.h exists in filesystem (owned by libparserutils)
[...]
neosurf-git: /usr/include/parserutils/utils/stack.h exists in filesystem (owned by libparserutils)
neosurf-git: /usr/include/parserutils/utils/vector.h exists in filesystem (owned by libparserutils)
neosurf-git: /usr/include/svgtiny.h exists in filesystem (owned by libsvgtiny)
neosurf-git: /usr/lib/libcss.so exists in filesystem (owned by libcss)
neosurf-git: /usr/lib/libdom.so exists in filesystem (owned by libdom)
neosurf-git: /usr/lib/libhubbub.so exists in filesystem (owned by libhubbub)
neosurf-git: /usr/lib/libnsbmp.so exists in filesystem (owned by libnsbmp)
neosurf-git: /usr/lib/libnsgif.so exists in filesystem (owned by libnsgif)
neosurf-git: /usr/lib/libnsutils.so exists in filesystem (owned by libnsutils)
neosurf-git: /usr/lib/libparserutils.so exists in filesystem (owned by libparserutils)
neosurf-git: /usr/lib/libsvgtiny.so exists in filesystem (owned by libsvgtiny)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

Need to either declare all those packages in the conflicts array, or (better) change where neosurf-git installs it's files.

Regards!

dreieck commented on 2026-09-05 09:36 (UTC)

Needed to add the following to build() in order to work around build errors:

    local _NOWARNINGS=("implicit-function-declaration" "builtin-declaration-mismatch")
    local _CFLAGSADDITIONS=''
    local _nowarning
    for _nowarning in "${_NOWARNINGS[@]}"; do
      _CFLAGSADDITIONS+=" -Wno-${_nowarning} -Wno-error=${_nowarning}"
    done
    CFLAGS+="${_CFLAGSADDITIONS}"
    export CFLAGS

Build fais for me with

[...]
/var/cache/makepkg/build/neosurf-git/src/neosurf/contrib/libdom/bindings/xml/xmlparser.c:144:34: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
  144 |                 return len > 0 ? malloc(len) : NULL;
      |                                  ^~~~~~
/var/cache/makepkg/build/neosurf-git/src/neosurf/contrib/libdom/bindings/xml/xmlparser.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
   24 | #include "core/document.h"
  +++ |+#include <stdlib.h>
   25 | 
/var/cache/makepkg/build/neosurf-git/src/neosurf/contrib/libdom/bindings/xml/xmlparser.c:144:34: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch]
  144 |                 return len > 0 ? malloc(len) : NULL;
      |                                  ^~~~~~
[...]

dreieck commented on 2026-09-05 09:11 (UTC)

depends needs to be changed (libjpeg):

Can you please change

  • dependendy libjpeg to libjpeg-turbo (any maybe existing make dependency libjpeg needs also to be changed to libjpeg-turbo),
    or maybe more elaboreate,
  • dependencies libjpeg to libjpeg.so AND add make dependency libjpeg-turbo?

Reason: Arch Linux does not have libjpeg anymore, and libjpeg-turbo stopped to declare libjpeg in it's provides array.

Regards and thanks for maintaining!

eliran commented on 2025-05-20 20:46 (UTC)

even after applying the patch d3Xt3r mentioned the transaction is failing to commit due to conflicts with many *.h files from packages: libcss libdom libhubbub libnsbmp libnsgif libnsutils libparserutils libsvgtiny libwapcaplet

d3Xt3r commented on 2025-04-22 22:22 (UTC)

Managed to fix it with: https://github.com/CobaltBSD/neosurf/pull/35/commits/e613a02f6c79a977cad47ebf2d3a07c59fa8dbbc

Can the PKGBUILD be updated to include this patch?

d3Xt3r commented on 2025-04-22 22:15 (UTC)

Build fails with several errors:

[139/854] Building C object contrib/libdom/CMakeFiles/dom.dir/bindings/xml/xmlparser.c.o
FAILED: contrib/libdom/CMakeFiles/dom.dir/bindings/xml/xmlparser.c.o
[...]
[156/854] Linking C shared library contrib/libhubbub/libhubbub.so.14
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...