First working patch file for megasync.
git cloning was used since no recent release tarballs were found for mega sdk.
| shameempk | |
| Oct 3 2016, 7:07 AM |
| F7412: 0001-Initial-commit-of-megasync.patch | |
| Nov 11 2016, 10:27 AM |
| F4671: 0001-Initial-commit-of-megasync.patch | |
| Oct 3 2016, 7:07 AM |
First working patch file for megasync.
git cloning was used since no recent release tarballs were found for mega sdk.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Wontfix | shameempk | T163 MegaSync Client | |||
| Invalid | shameempk | T949 megasync |
Doing an arbitrary git clone like that is not okay. Rebuilds of a package must always use the same source code. This has the potential to use a different version of the code revision each time you rebuild.
That would be better. Though, I would also appreciate it if we could get them to start tagging releases again. Maybe open an issue requesting tags for newer releases?
Also, have you tried the 2.5.0 SDK to see if it is compatible?
2.5.0 is pretty outdated. (Not compatible with new releases of MegaSync)
I too have had that thought of opening an issue on tagging.
@nunomgsantos issue opened for tagging remain unnoticed by mega devs, any fix with git source won't be appropriate.
@shameempk @DataDrake new Mega SDK officially released, version 2.8.0.
https://github.com/meganz/sdk/releases
;)
@shameempk I took a quick look and noticed a couple of things.
@theSoenke thanks for the heads-up, I actually forgot to sort. I am not sure about %autogen macro also. AFIK install command is not meant for copying entire folder. If there are any workarounds let me know.
You shouldn't be packaging the SDK and the client in the same package. They have different version numbers and should be dealt with separately.
@DataDrake We need sdk files to compile the client. In fact we are using sdk as a source.
The you should be using a git| source for megasync and letting it resolve the sdk as a submodule:
https://github.com/meganz/MEGAsync/blob/v2_9_8_0_Linux/.gitmodules
https://github.com/meganz/MEGAsync/tree/v2_9_8_0_Linux/src/MEGASync
I'm not saying an arbitrary git clone. I'm talking about using our built in git support for ypkg:
https://git.solus-project.com/packages/cool-retro-term/tree/package.yml
Notice the sources section. cool-retro-term also uses git submodules.
@DataDrake I was not aware of this native git support, I think it was not there before. Any way good to know it's there.
"Other than in respect of those parts of the code that were developed by other parties and as specified strictly in accordance with the open source and other licences under which those parts of the code have been made available, as set out on our website or in those items of code, you are not entitled to use or do anything with the code for any commercial or other purpose, other than review and commentary on it."
We can't package this.
Guys, if you still want megasync you can download my package from https://github.com/Devil505/solus-3rd-party-repo (package.yml file also available if you to build it yourself).
I would still like to see MEGASync included in the third-party repository.
MEGASync is one of few cross-platform open source bi-directional syncing cloud drive storage services.
It is certainly the easiest and cheapest to get up and running.
The other options include more expensive SugarSync, self-hosted Nextcloud, proprietary and expensive Dropbox, and a handful of resource-intensive Java-based Google Drive apps.
There is of course Google Drive mounting in Nautilus, mounting SMB/NHS network shares, or mounting remote systems via FUSE plugins.
None of these are as easy to get up and running for Home users than MEGASync though.
I really appreciate @Devil505's package though and have been using it, it's been critical to moving my workflow to Solus.
@abdulocracy I have removed your comment because not only should you not be advertising stuff like that here, but you are also in violation of the MegaSync license agreement by providing pre-built eopkgs.
Got it, removed my comment on the other task as well. I think Devil505's comment should be removed as well because of the license thingy, since it also links to eopkgs.
Lots of people use this software actively, just wanted to help. :-)