MEGAsync as precompiled package in slapt-get.

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
User avatar
globetrotterdk
Posts: 427
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark

MEGAsync as precompiled package in slapt-get.

Post by globetrotterdk » 31. Mar 2018, 21:07

I have discovered that any pre-compiled (SlackBuild) dependencies for MEGAsync get updated by slapt-get versions during an upgrade and a pre-compiled (SlackBuild) MEGAsync package will not run with the slapt-get versions. As there can be a number of potential problems with installing MEGAsync as is, why not include MEGAsync as a pre-compiled slapt-get package?
Military justice is to justice what military music is to music. - Groucho Marx

DidierSpaier
Posts: 286
Joined: 20. Jun 2016, 20:15

Re: MEGAsync as precompiled package in slapt-get.

Post by DidierSpaier » 31. Mar 2018, 22:53

Hello

Just type

Code: Select all

sudo spi -i MEGAsync
This works, I just tried.

To know how it works, type

Code: Select all

man spi
Didier

User avatar
globetrotterdk
Posts: 427
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark

Re: MEGAsync as precompiled package in slapt-get.

Post by globetrotterdk » 1. Apr 2018, 09:32

As I understand it, many Slackware users make Slackbuilds on one computer and use them on all of their computers. I am just pointing out that this doesn't work with Salix, as slapt-get "upgrades" any dependency packages to the Salix slapt-get versions, which aren't compatible with the main (pre-built and already installed) Slackbuild package, in this case, MEGAsync. However, as MEGAsync isn't in the Salix slapt-get repo, MEGAsync doesn't get "upgraded" along with the other packages and just refuses to run, thus requiring an uninstall and a reinstall using "sudo spi -i". If you try this with xfe, which has one dependency, fox-toolkit, both prebuilt packages get "upgraded" to the Salix version, as both are in the Salix slapt-get repo.

I am just suggesting to avoid the loose end with MEGAsync, and include it in the Salix slapt-get repo as well.
Military justice is to justice what military music is to music. - Groucho Marx

User avatar
mimosa
Salix Warrior
Posts: 3028
Joined: 25. May 2010, 17:02
Contact:

Re: MEGAsync as precompiled package in slapt-get.

Post by mimosa » 1. Apr 2018, 10:01

When using SBo, you may have to do some manual housekeeping, however:
http://salixos.blogspot.de/2016/08/our- ... itory.html

In any case, in this case, if you use Salix tools, it looks as though there aren't any loose ends, though I haven't tried it myself. So you have to balance the labour saved by importing your prebuilt packages against any extra housekeeping that may entail.

DidierSpaier
Posts: 286
Joined: 20. Jun 2016, 20:15

Re: MEGAsync as precompiled package in slapt-get.

Post by DidierSpaier » 1. Apr 2018, 10:14

First, this thread appears somehow as a duplicate of this one: viewtopic.php?f=16&t=7560.

Why bother again as you have MEGAsync already working? And why also a thread in LQ's Slackware forum on the same topic? You are making people spending time on already solved issues, somehow.
globetrotterdk wrote:
1. Apr 2018, 09:32
As I understand it, many Slackware users make Slackbuilds on one computer and use them on all of their computers.
Mixing packages from several repositories, built with different versions or not the same background (already installed packages when building) or not the same building options is a very well known receipt for failure. That two packages bear the same name does not make them interchangeable at all. Only do that if you are able to solve yourself the issues that can arise.
I am just suggesting to avoid the loose end with MEGAsync, and include it in the Salix slapt-get repo as well.
That would need to also provide all dependencies, like Qt, and also maintain them. I can't speak for gapan, but in my opinion that's not worth the extra work for him, especially considering that spi -i MEGAsync works.

User avatar
globetrotterdk
Posts: 427
Joined: 26. Oct 2010, 13:57
Location: Copenhagen, Denmark

Re: MEGAsync as precompiled package in slapt-get.

Post by globetrotterdk » 1. Apr 2018, 13:59

DidierSpaier wrote:
1. Apr 2018, 10:14
First, this thread appears somehow as a duplicate of this one: viewtopic.php?f=16&t=7560.

Why bother again as you have MEGAsync already working? And why also a thread in LQ's Slackware forum on the same topic? You are making people spending time on already solved issues, somehow.
To my knowledge, I do not have a topic on LQ proposing the inclusion of MEGAsync in the Salix slapt-get repo. The Salix thread was dealing with a concrete problem. Again, this is a proposal, that is why it is under "suggestions". Therefore, I am not duplicating efforts, or wasting people's time.
---
In fact, my suggestion was thought of to avoid duplicating answering related MEGAsync questions. In the repo, it just gets installed along with dependencies and managed by slapt-get, as with other programs.
Military justice is to justice what military music is to music. - Groucho Marx

User avatar
mimosa
Salix Warrior
Posts: 3028
Joined: 25. May 2010, 17:02
Contact:

Re: MEGAsync as precompiled package in slapt-get.

Post by mimosa » 1. Apr 2018, 15:26

Perhaps the important lesson to draw is:
Mixing packages from several repositories, built with different versions or not the same background (already installed packages when building) or not the same building options is a very well known receipt for failure. That two packages bear the same name does not make them interchangeable at all. Only do that if you are able to solve yourself the issues that can arise.
You were given the solution to the problem your suggestion seeks to address on the other thread, and you reported that it worked.

EDIT Indeed, the way spi handles software from these different sources represents as good a general solution as is probably possible, given that Salix has no control or responsibility for SBo, which is, furthermore, not a repository. Not only does it work in this case, it works in most cases.

DidierSpaier
Posts: 286
Joined: 20. Jun 2016, 20:15

Re: MEGAsync as precompiled package in slapt-get.

Post by DidierSpaier » 1. Apr 2018, 16:30

globetrotterdk wrote:
1. Apr 2018, 13:59
To my knowledge, I do not have a topic on LQ proposing the inclusion of MEGAsync in the Salix slapt-get repo.
You are right here, I saw MEGAsync mentionned in this post hence my confusion probably.
In the repo, it just gets installed along with dependencies and managed by slapt-get, as with other programs.
Believe me or not, "just get installed" actually means a lot of work for the maintainer of the repo, especially considering that its huge dependencies should then also be installed in the same repo and also updated if need be, e.g. to provide security fixes.

Post Reply