Git Product home page Git Product logo

Comments (8)

MightyCreak avatar MightyCreak commented on August 19, 2024

You need the PyGObject python package.

From Stackoverflow, it seems that this command should work (with Homebrew):

brew install pygobject3

from diffuse.

BeastyBlacksmith avatar BeastyBlacksmith commented on August 19, 2024

That gives me a GUI window with the following error message

Fehler bei der Analyse der Zeilen 5 von /etc/diffuserc

from diffuse.

MightyCreak avatar MightyCreak commented on August 19, 2024

Hmm... that's a problem with OS X.
@dscherger has this bug as well, you can find his fix here: https://github.com/MightyCreak/diffuse/pull/24/files/6b091a205b0e7f8a6b1e84c70f02f75517e4465a#diff-26c7ae75b933d602876ed212cfc3da9b

I couldn't merge it because it would have broken other platforms. That said, I'm hopeful that the future Meson installation system (PR #61) will fix this bug.

from diffuse.

MightyCreak avatar MightyCreak commented on August 19, 2024

@BeastyBlacksmith I have merge PR #61 and now Meson is the only way to install Diffuse on your computer. Could you give it a try?

To install Meson with Homebrew:

brew install meson

The install procedure is explained in the README.

from diffuse.

BeastyBlacksmith avatar BeastyBlacksmith commented on August 19, 2024

There was the also the gtk-update-icon-cache missing, so I installed gtk-mac-integration and it built.
Running diffuse gives now:

Traceback (most recent call last):
  File "/usr/local/bin/diffuse", line 8361, in <module>
    diff = Diffuse(rc_dir)
  File "/usr/local/bin/diffuse", line 7416, in __init__
    p0 = default_theme.load_icon_for_scale("document-new", icon_size, scale_factor, 0)
gi.repository.GLib.Error: gtk-icon-theme-error-quark: Symbol »document-new« nicht im Thema Adwaita vorhanden (0)

from diffuse.

MightyCreak avatar MightyCreak commented on August 19, 2024

Arf... I knew this day would come... document-new is in the "legacy" directory here on Linux GNOME. Technically it is deprecated, but not obsolete yet as you can see in GNOME documentation, it is still listed in the icon list. But it is also the reason for the warnings at startup (when Diffuse runs well) (issue #55).

This is actually what led me to the Meson build system, so I would be able to use the proper GNOME-way of using resources and the built-in feature in Meson to build them (as seen here: https://gitlab.gnome.org/World/Authenticator/-/blob/master/data/meson.build#L19)

Well, know that I'm working on it! I can't give you an ETA, but knowing that it has become a problem on OSX, it raised its priority.

from diffuse.

chenrui333 avatar chenrui333 commented on August 19, 2024

Yeah, I can confirm brew install pygobject3 works.

from diffuse.

hugoholgersson avatar hugoholgersson commented on August 19, 2024

This issue can be closed now that we have better support for macOS.

from diffuse.

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.