GithubHelp home page GithubHelp logo

Comments (5)

vhakulinen avatar vhakulinen commented on June 2, 2024

Do I need to set up XQuartz somehow?

I don't know, you could give it a try.

FWIW gtk-rs docs instructs to install gtk4 through brew, not macports.

from gnvim.

gwerbin avatar gwerbin commented on June 2, 2024

Do I need to set up XQuartz somehow?

I don't know, you could give it a try.

FWIW gtk-rs docs instructs to install gtk4 through brew, not macports.

I had the same problem using Homebrew Gtk4.

from gnvim.

hvanunu avatar hvanunu commented on June 2, 2024

same issue
apple m2
ventura 13.0.1 (22A400)

homebrew gtk4

from gnvim.

tareu avatar tareu commented on June 2, 2024

I managed to make it build (M1 here). Had to replace install and sed in the Makefile with their GNU equivalents from Brew. Now getting this error:

% sudo make install   
Installing gnvim binary
ginstall -D ./target/optimized/gnvim "/usr/local/bin/gnvim"
Installing runtime
ginstall -d "/usr/local/share/gnvim"
cp -r ./runtime "/usr/local/share/gnvim"
Installing desktop file
ginstall -D ./desktop/gnvim.desktop "/usr/local/share/applications/"com.github.vhakulinen.gnvim.Devel".desktop"
gsed -i "s/@icon@/"com.github.vhakulinen.gnvim.Devel"/" "/usr/local/share/applications/"com.github.vhakulinen.gnvim.Devel".desktop"
Installing icons
ginstall -D ./desktop/gnvim_128.png "/usr/local/share/icons/hicolor/128x128/apps/"com.github.vhakulinen.gnvim.Devel".png"
ginstall -D ./desktop/gnvim_48.png "/usr/local/share/icons/hicolor/48x48/apps/"com.github.vhakulinen.gnvim.Devel".png"
ginstall -D ./desktop/gnvim-logo.svg "/usr/local/share/icons/hicolor/scalable/apps/"com.github.vhakulinen.gnvim.Devel".svg"
/Library/Developer/CommandLineTools/usr/bin/make install-schema
Installing schema
% gnvim

(gnvim:17478): GLib-GIO-ERROR **: 04:27:30.891: Settings schema 'com.github.vhakulinen.gnvim.Devel' is not installed
zsh: trace trap  gnvim

from gnvim.

vhakulinen avatar vhakulinen commented on June 2, 2024

Either:

  • Make sure the install-schema target is ran correctly (its important that the schema is set to correct place and that the schemas are compiled)
  • Revert/disable the settings stuff introduced in d77e7fb

In d77e7fb gnvim gained support for remembering the window size/state and got hard requirement for the gio settings schema to be present during runtime.

Here's one related SO question, but for windows: https://stackoverflow.com/questions/28953925/glib-gio-error-no-gsettings-schemas-are-installed-on-the-system

And another one related on changing the place glib looks for the schemas: https://unix.stackexchange.com/questions/641238/how-to-make-a-glib-app-look-for-schema-at-a-different-path

from gnvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.