-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
Provide installation via linuxbrew #537
Comments
Good idea, I will work on that. I have done some other brews, too ;-) |
Here is a start: https://github.com/norbusan/homebrew-core/blob/onedrive/Formula/onedrive.rb |
@daquinoaldo If you can contribute, please send comments/patches/suggestions. |
@daquinoaldo |
I'm sorry, I never created a brew formula nor I know how this tool is implemented, but I can test it when the formula is ready. |
I suppose this is the instruction that causes the problem: https://github.com/abraunegg/onedrive/blob/master/Makefile.in#L103. I cannot find where |
Yes, it is this line. Concerning the chmod (via |
Ok, I have it more or less ready. There are a few problems with the current code base (the --disable-XX arguments don't work - my fault!). After all of them have been fixed and a new release has been made, I will send another link for a formula. At the moment, installation fails badly ;-) |
Got it working now, submitted a PR to Homebrew (from which linuxbrew pulls): Homebrew/homebrew-core#40994 |
@norbusan |
@norbusan
This is probably due to the LDC version is too old:
Can we update ./configure to check for minimum versions:
|
@abraunegg aah, good, you can test on real Mac hardware. I always have to do all the development on linuxbrew here :-( I will look into the version dependencies. Concerning fork: we could terminate the fork relation to the old onedrive, that is possible on github. |
I don't see this as a major issue atm ... only if 'brew' folk complain ... |
Agreed. |
Any update re this? |
No, sorry. I wait for a new release of onedrive, and then I will update the formula. |
@norbusan |
@abraunegg aahh, ok, indeed, that is the better idea. I think about it, but this needs some parsing of the output.. |
HI @abraunegg I wrote code for configure.ac. The hard part was the version number comparison in a way that even a plain POSIX shell like dash can work with it. The version check can be overridden with --disable-version-check |
@abraunegg one strange thing: it seems that homebrew has ldc 1.15.0, so by far new enough. It is surprising that it does not compile then... |
@norbusan |
No, what should I update there? I will updated when 2.3.5 is released. ATM there is not much we can change, right? |
@norbusan |
@abraunegg I have updated the PR/branch with 2.3.5, and removed the patch. Now the CI testing only complains about
Do you have a Mac? Can you try building without the deps?
Does that work? (I can only test linuxbrew) |
I was just using the build logs from the brew github, tho I do have a Mac VM I use when testing other things - tho its rather old. Will try and see what happens |
@abraunegg ok, forget it. I simply remove the deps and see whether it builds on github ;-) |
I also added libnotify dependency - hopefully that fixes the build errors. |
@abraunegg ok ... now I get it. We cannot have onedrive on Mac, there is no inotify, this is a kernel question. So we cannot go the route via including onedrive in normal homebrew and thus enter into linuxbrew. I close the pull request. I need to check how we could go on with linuxbrew support only. |
I would like to give this a big thumbs up and a big VOTE for YES PLEASE DO THIS!!! Thank you guys so much for all the work that you put into this. BRAVO!!! I am eagerly waiting for an easy way to install this on Ubuntu 18.04. |
@steve3p0 I already sent a PR to linuxbrew, but there is no answer. I'll wait a bit longer, and if that doesn't work, we will provide some private tap somewhere. |
As PR submitted to linuxbrew (https://github.com/Homebrew/linuxbrew-core/pull/13776) & it just needs review - closing this issue tracker as not a bug, and basically waiting on linuxbrew to include. |
Thank you! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi! Thank you for your work, I really appreciate the new feature added to the skilion's version.
I would like to propose an easy way to install via homebrew.
Is your feature request related to a problem? Please describe.
It's a bit boring to install onedrive by building the source code manually.
Describe the solution you'd like
Linuxbrew is a package manager that works on all Linux distribution. Packages can be installed with
brew install onedrive
, and can be updated withbrew upgrade
. In my opinion, installing and upgrading via package manager is an easy way to keep this tool updated and to distribute the tool to more users.Describe alternatives you've considered
Alternatives are disto-specific package manager (apt, apk, pacman, etc.) or no package manager at all.
Additional context
The text was updated successfully, but these errors were encountered: