@kugel- Finally had some time to try it on macOS but I get the following error:
``` The Meson build system Version: 0.59.0 Source dir: /Users/jhbuild/geany Build dir: /Users/jhbuild/geany/_builddir Build type: native build Project name: geany Project version: 1.38 C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)") C linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc ld64 650.9 C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ (clang 12.0.5 "Apple clang version 12.0.5 (clang-1205.0.22.11)") C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ ld64 650.9 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /Users/jhbuild/gtk/inst/bin/pkg-config (0.29.2) Run-time dependency glib-2.0 found: YES 2.68.0 Run-time dependency gmodule-2.0 found: YES 2.68.0 Run-time dependency gtk+-3.0 found: YES 3.24.30 Has header "dlfcn.h" : YES Has header "errno.h" : YES Has header "fcntl.h" : YES Has header "glob.h" : YES Has header "inttypes.h" : YES Has header "limits.h" : YES Has header "locale.h" : YES Has header "memory.h" : YES Has header "stdint.h" : YES Has header "stdlib.h" : YES Has header "strings.h" : YES Has header "string.h" : YES Has header "stdbool.h" : YES Has header "sys/stat.h" : YES Has header "sys/time.h" : YES Has header "sys/types.h" : YES Has header "unistd.h" : YES Checking for function "gnu_get_libc_version" : NO Checking for function "fnmatch" : YES Checking for function "ftruncate" : YES Checking for function "mkstemp" : YES Checking for function "regcomp" : YES Checking for function "socket" : YES Checking for function "strerror" : YES Checking for function "strstr" : YES Program sh found: YES (/bin/sh) Program cp found: YES (/bin/cp) Program ln found: YES (/bin/ln) Program python3 found: YES (/Users/jhbuild/gtk/inst/bin/python3) Program rst2html found: NO Program rst2pdf found: NO Program git found: YES (/usr/bin/git) Configuring config.h using configuration Configuring geany.pc using configuration Compiler for C supports arguments -fvisibility=hidden: YES Configuring geany.1 using configuration Message: Building from tarball, installing prebuild html Program doxygen found: NO Program ctags/runner.sh found: YES (/Users/jhbuild/geany/tests/ctags/runner.sh) Message: [['COPYING', 'GPL-2']] Program cp found: YES (/bin/cp) Build targets in project: 22
Found ninja-1.8.2 at /Users/jhbuild/.new_local/bin/ninja [1/252] Compiling C++ object libscintilla.a.p/scintilla_lexlib_CharacterSet.cxx.o FAILED: libscintilla.a.p/scintilla_lexlib_CharacterSet.cxx.o /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -Ilibscintilla.a.p -I. -I.. -I../scintilla/include -I../scintilla/src -I../scintilla/lexlib -I/Users/jhbuild/gtk/inst/include/glib-2.0 -I/Users/jhbuild/gtk/inst/lib/glib-2.0/include -I/Users/jhbuild/gtk/inst/include/gtk-3.0 -I/Users/jhbuild/gtk/inst/include/gio-unix-2.0 -I/Users/jhbuild/gtk/inst/include/cairo -I/Users/jhbuild/gtk/inst/include/pango-1.0 -I/Users/jhbuild/gtk/inst/include/harfbuzz -I/Users/jhbuild/gtk/inst/include/fribidi -I/Users/jhbuild/gtk/inst/include/atk-1.0 -I/Users/jhbuild/gtk/inst/include/pixman-1 -I/Users/jhbuild/gtk/inst/include/freetype2 -I/Users/jhbuild/gtk/inst/include/libpng16 -I/Users/jhbuild/gtk/inst/include/gdk-pixbuf-2.0 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Users/jhbuild/gtk/inst/include -fcolor-diagnostics -Wall -Winvalid-pch -Wnon-virtual-dtor -O0 -g -O2 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -DHAVE_CONFIG_H=1 -O2 -DGTK -Wno-deprecated-declarations -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 '-DGEANY_PREFIX="/usr/local"' '-DGEANY_INCLUDEDIR="/usr/local/include"' '-DGEANY_LIBDIR="/usr/local/lib"' '-DGEANY_LIBEXECDIR="/usr/local/libexec"' '-DGEANY_DATADIR="/usr/local/share"' '-DGEANY_LOCALEDIR="/usr/local/share/locale"' '-DGEANY_DOCDIR="/usr/local/share/doc"' -DGEANY_PRIVATE -fvisibility=hidden '-DGEANY_EXPORT_SYMBOL=__attribute__((visibility("default")))' -DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL -Wno-non-virtual-dtor -DNDEBUG -DSCI_LEXER -DNO_CXX11_REGEX -MD -MQ libscintilla.a.p/scintilla_lexlib_CharacterSet.cxx.o -MF libscintilla.a.p/scintilla_lexlib_CharacterSet.cxx.o.d -o libscintilla.a.p/scintilla_lexlib_CharacterSet.cxx.o -c ../scintilla/lexlib/CharacterSet.cxx In file included from ../scintilla/lexlib/CharacterSet.cxx:12: ../scintilla/lexlib/CharacterSet.h:49:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions] CharacterSet(CharacterSet &&other) noexcept { ^ ../scintilla/lexlib/CharacterSet.h:49:36: error: expected ';' at end of declaration list CharacterSet(CharacterSet &&other) noexcept { ^ ; ../scintilla/lexlib/CharacterSet.h:33:3: error: use of undeclared identifier 'AddString' AddString(initialSet); ^ ../scintilla/lexlib/CharacterSet.h:35:4: error: use of undeclared identifier 'AddString' AddString("abcdefghijklmnopqrstuvwxyz"); ^ ../scintilla/lexlib/CharacterSet.h:37:4: error: use of undeclared identifier 'AddString' AddString("ABCDEFGHIJKLMNOPQRSTUVWXYZ"); ^ ```
Could it be an incorrect C++ standard used for parsing? Also, how do I specify prefix where to install the binaries (`--prefix=` with autoconf)?
With macOS it will be also necessarry to add the configuration option `--enable-mac-integration` - I'll have a look at it once I'm able to build Geany.