-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS X port #222
Comments
Hi there! Thank you for all this enthusiasm, I am sure everyone who tries to devote some free time to hamster is glad you like it so much. However, as we are only a few people, without very much time and doing this on the side... porting the app to a platform we do not even use is really not an option. At all 😞 Especially since the current code base has so many bugs... So in the interest of cleaning the list of issue, I am marking this as wontfix and closing. I hope you will find a way to run hamster on OS X (does anyone know whether this is possible? after all, GTK+ is more or less cross platform...) or another great application for your new platform of choice. Kind regards! |
sad. Any updates on this? Any other suggestions? Does the rewrite have a better chance of working on macOS? |
This would require someone with knowledge of macOS and dbus. |
I'm also trying to scratch this itch. I travel an awful lot for work and so use owncloud to sync the hamster db between various machines, which works great. However, my new gig is now mainly a OSX ecosystem. I'm actually hoping to sidestep the whole issue by writing an interface to poke into the database directly. It seems fairly achievable, since as far as I can see the database is pretty simple... I will let folks know how I get on... |
db.py is doing just that, directly, if the issue is only dbus. |
I just tested on OSX, I could successfully install the dependencies (including GTK3) and build hamster. For now I have trouble with dbus but the situation is not as hopeless as it used to be :) |
Great news, thanks ! The instructions for testing a PR might be useful. |
Oh wonderful! I should have checked the PRs. So here is a screenshot: I could not install hamster with the following command:
So instead, I launched hamster-cli.py manually (python3 src/hamster-cli.py) and fixed the errors as they appeared. One thing that gave me trouble was the error
I fixed it in the following way (I have no idea what I'm doing but I just want the damn thing to work):
Then it is my understanding that I should update the gschema.compiled with the command below:
And then:
I had to install those dependencies:
Thanks for the help and the --no-dbus flag :) |
Congratulations ! |
Note: PR #573 has just been updated with the latest fixes. |
What a nice surprise. Yay for the --no-dbus flag! |
@plowsec thanks for making this work, I've been missing hamster tracker since I moved to macos... Quick question though: I can't manage to get the "gi" module available even after cleaning my python env and installing it fresh with homebrew like you suggested. Any clue on why my python interpreter might not find the package installed? |
Can someone please explain for non-Mac people why As I've expressed in #573 already, I don't think that |
I think making a -my 2 cents |
Did you happen to try this? I'm not entirely sure, but I think hamster does none of that through dbus (there are no notifications, and gnome-specific inactivity detection was recently removed). The gnome-specific UI (e.g. indicator in the top bar) is managed by a gnome-shell extension. I believe (but have not checked) that the only use of dbus is to separate the database backend from the GUI client (and allowing multiple clients to access the same data). I guess getting dbus to work could be a challenge itself, of course. Depending on how much of a challenge, this could be an argument for
The gi module is Gobject Introspection, which (for hamster) consists of 2 parts: The actual glib/gobject library (which I think is in the brew install list) and a python module that interfaces with that. The latter can probably be installed through In any case, given there seem to be multiple people still interested in supporting OSX, I'll reopen this issue. However, I do not expect that any of the maintainers will be in a position to actively drive this, but I would be happy to receive pullrequests to make this work (and document the installation). If we do, however, I would want to make this work cleanly (e.g. figure out what is needed to make A subsequent step could maybe be to write some scripts or config files to allow generating a |
thx all for the answers, I managed to launch it with the --no-dbus option too. Few hickups:
|
Hello,
I'm a big fan of Project Hamster. It is hands down the best time tracking software there is out there. Design and usability are unmatched by any other. It is most intuitive to use application in its class I've ever run into. It makes a pretty much dull and tedious task of time tracking an interesting exercise because I can feel how this little app alleviates most boring input efforts with memorized entries and tags. I could go on and on, statistic module albeit not extremely flexible and detailed is very decent and, well, looks great! A point that gets overlooked by many in software development world.
Anyway, I couldn't find a good enough replacement for Project Hamster on OS X -- despite the myriad of commercial applications -- nothing is quite as good. I've been checking out your wordpress site and github account in hopes to see OS X version for years but alas this is apparently not something you're planning to do.
I just wanted to contact you and let you know that there is a real need for a good application like project hamster on OS X. There's a gap to fill. Much like GnuCash OS X port is a kick-ass personal finance application on OS X that has no rivals even of commercial breed, had the Project Hamster been ported to OS X, it would've been the king of time tracking.
I know how open source software development is and I totally understand that OS X is not everyone's priority but I do wonder what it would take to port Hamster to OS X. Especially seeing how GnuCash is actively supported. There must be framework already established that could be taken advantage of and save Project Hamster developers a ton of time.
Is there any "political will" at all? How demanding an effort like that would be? Heck, I so want to see Hamster on OS X that I'm considering to run a donation campaign or something.
Ivan
The text was updated successfully, but these errors were encountered: