Comments (8)
You need the PyGObject python package.
From Stackoverflow, it seems that this command should work (with Homebrew):
brew install pygobject3
from diffuse.
That gives me a GUI window with the following error message
Fehler bei der Analyse der Zeilen 5 von /etc/diffuserc
from diffuse.
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.
@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.
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.
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.
Yeah, I can confirm brew install pygobject3
works.
from diffuse.
This issue can be closed now that we have better support for macOS.
from diffuse.
Related Issues (20)
- diffuse fails to start under Fedora 36 beta (gtk 42) HOT 6
- Errors when running Diffuse on WSL's Debian distro HOT 2
- Improve support for Rust syntax
- Use GTK3's Gtk.Application/Gtk.ApplicationWindow HOT 3
- Merge Documentation and Website HOT 5
- Most Toolbar Buttons Do Not Function in Latest Git Builds HOT 4
- Installation steps for macOS HOT 5
- Keyboard shortcuts with Ctrl stopped working HOT 28
- feature request: full diff between two commits HOT 11
- Merge useful content from old website HOT 1
- fails to show diffs with git when changed file is in a parent directory HOT 1
- diffuse from flathub: -t does not work HOT 2
- Parameter -c is no longer repeatable HOT 10
- ImportError: cannot import name 'util' from 'distutils' HOT 4
- initial strict permissions prevent useful usage? HOT 5
- simple call ends with traceback HOT 1
- SVN _getPreviousRevision no longer subtracts 1
- docs: Developers setup has a problem with py3cairo.pc HOT 1
- FR: horizontal scrollbar for n-way diff HOT 1
- Add support for secondary direction layout split HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffuse.