LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2016, 08:38 AM   #1
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Rep: Reputation: 60
[Announce] sbotools 2.0


Hi all, I'm proud to announce the release of sbotools 2.0, which will work great with Slackware 14.2 (as well as 14.0 and 14.1).

It's been a long development cycle for Slackware and this means we've had time to implement some much needed new features in sbotools too! Compared to the 1.x series, the main new features are:
  • Local overrides -- this allows you to maintain a local repository of slackbuilds that override what's on SlackBuilds.org.
  • Custom repository support -- You can choose to use ponce's Slackware -current repositor for instance, or you can use the SlackBuilds.org git master repository rather than needing to wait for it to be published on the website.
  • Sbosrcarch intergration -- If a download host is offline or giving you a corrupted file, sbotools will automatically try to fetch the source file from ftp://ftp.slackware.org.uk/sbosrcarch/ if it's available there.

We've also got tonnes of bugfixes, and some other minor new features in.

Without further ado, you can download the source tarball from here
and you can find a ready-made package which you can just installpkg right here

Unfortunately SlackBuilds.org haven't opened their submissions form yet, so we haven't been able to get it published there.



And if you're interested in understanding how to make use of the local overrides...



Some notes about local overrides
The overrides can be used both to make custom slackbuilds for your own use to override what's already on SlackBuilds.org, as well as letting you make a slackbuild for something that isn't even on there. For example, you could make a custom slackbuild of ffmpeg which instead of having a lot of optional dependencies, had as actual requirements all the dependencies you need. Or you could make a slackbuild for some software that for some reason or other doesn't belong on SlackBuilds.org.

To set up the local overrides
You'll first need to set up the path where your overrides will be and tell sbotools about it:
Code:
sboconfig -o /path/to/overrides
In that directory, every overridden slackbuild needs its own directory, so using the previous example of ffmpeg, you'd create the following directory structure:
Code:
/path/to/overrides/ffmpeg/ffmpeg.info
/path/to/overrides/ffmpeg/ffmpeg.SlackBuild
/path/to/overrides/ffmpeg/README
/path/to/overrides/ffmpeg/slack-desc
...
and any other files the SlackBuild script needs to function.

After this, all the commands like sboinstall, sboupgrade, sbocheck, and sbofind will know to use the ffmpeg from your local overrides.


As always, please report any bugs or feature requests to https://github.com/pink-mist/sbotools/issues or the #sbotools irc channel on chat.freenode.net

Last edited by suppy; 07-03-2016 at 08:42 AM.
 
Old 07-03-2016, 04:41 PM   #2
fsLeg
Member
 
Registered: Dec 2013
Location: Russia, Moscow
Distribution: Slackware, EndeavourOS
Posts: 89

Rep: Reputation: Disabled
Default value of `$repo_path` (which is `$config{SBO_HOME}/repo`) doesn't allow sbotools to use the same repo tree as sbopkg. 1.9 worked just great: I could use sbotools when there was a big dependency tree and sbopkg for more fine-tuned installation without having to maintain two SBo trees which were absolutely same. I had to edit `/usr/share/perl5/SBO/Lib.pm` to redefine `$repo_path` as just `$config{SBO_HOME}`.
 
Old 07-03-2016, 06:55 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Thanks for your awesome work suppy.
 
1 members found this post helpful.
Old 07-03-2016, 10:14 PM   #4
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Great work, thank you!
 
Old 07-04-2016, 02:31 AM   #5
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Original Poster
Rep: Reputation: 60
Quote:
Originally Posted by fsLeg View Post
Default value of `$repo_path` (which is `$config{SBO_HOME}/repo`) doesn't allow sbotools to use the same repo tree as sbopkg. 1.9 worked just great: I could use sbotools when there was a big dependency tree and sbopkg for more fine-tuned installation without having to maintain two SBo trees which were absolutely same. I had to edit `/usr/share/perl5/SBO/Lib.pm` to redefine `$repo_path` as just `$config{SBO_HOME}`.
Yes, I had to move the repository into a subdirectory in order to be able to support using custom repositories.

I thought sbopkg used /var/lib/sbopkg/ as their repository storage and that it had subdirectories for your slackware version in there, while sbotools uses /usr/sbo/repo ... however, what you could do, which I believe ought to work, is to make /usr/sbo/repo a symlink to /var/lib/sbopkg/SBo/14.2 ... if it doesn't though, I'm out of ideas..

Last edited by suppy; 07-04-2016 at 02:37 AM.
 
Old 07-25-2016, 08:52 AM   #6
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Original Poster
Rep: Reputation: 60
Talking

Oh, I forgot to update this thread when sbotools 2.0 was made available on SlackBuilds.org, so a bit late, but:

sbotools 2.0 now available on SlackBuilds.org!

Thanks to the SBo team for providing such a valuable service!
 
Old 07-25-2016, 02:35 PM   #7
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Rep: Reputation: 231Reputation: 231Reputation: 231
Thanks for your great work suppy. Unfortunately I can't help, but I'm sure someday you will find a way to support download resume for those who don't have a speedy internet connection.
 
Old 07-25-2016, 05:16 PM   #8
aldorgan
LQ Newbie
 
Registered: Jul 2016
Posts: 15

Rep: Reputation: Disabled
thanks for the great work, i have recently just found out sbotools but i'm loving it a lot so far. one question though, if i change a Slackbuild under /usr/sbo/repo/xxx does it take that in count when i compile? sbopkg let's me choose use the local or the default.
 
Old 07-25-2016, 05:21 PM   #9
suppy
Member
 
Registered: Mar 2012
Location: Sweden
Distribution: Slackware
Posts: 83

Original Poster
Rep: Reputation: 60
it will believe the file is the default one and simply run it as if it was; next time you update the repository though it's likely to get overwritten ... this is what the local overrides (mentioned in the first post) is for
 
Old 07-25-2016, 05:26 PM   #10
aldorgan
LQ Newbie
 
Registered: Jul 2016
Posts: 15

Rep: Reputation: Disabled
Ok i see, i will use the local overrides instead to ger rid of the overwriting problem in the future
 
Old 09-22-2016, 02:16 PM   #11
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
@suppy, Is it possible with sbotools to modify a .slackbuild and .info before processing, for example to get the latest version of a program like claws-mail or KeePass? I've already setup my PKG_DIR and REPO for ponce's -current by doing the following https://www.linuxquestions.org/quest...ig-4175589914/, but with sbopkg you can modify these two scripts before hitting the install process. Also NOTE that I am attempting to use on a multilib enabled system, is that a problem? I tried to build libgdiplus-4.2 and it failed today for a libgdiplus.la make ERROR 1 recipe error.
Otherwise I believe I'll have to manually do slackbuild.org process to build and then place the resulting package in local overrides, correct?
You thoughts are appreciated.

Last edited by bamunds; 09-22-2016 at 02:30 PM.
 
Old 09-23-2016, 12:23 AM   #12
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
The sboinstall command just saved me major hassles when installing pandoc from SBo (along with all the Haskell deps). Thanks!

Last edited by drgibbon; 09-23-2016 at 12:24 AM.
 
Old 09-23-2016, 06:52 PM   #13
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Found out the sboinstall has the -p option which is to install compat32, cool.
But not sure if there is a way to modify the slackbuild and info to change version for install?

Last edited by bamunds; 09-24-2016 at 03:26 PM. Reason: corrected -p function to documentation language.
 
Old 09-24-2016, 03:02 PM   #14
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
just used it for the first time, could install something without even read the documentation, good tool(s)!
 
Old 09-29-2016, 03:39 PM   #15
sebre
LQ Newbie
 
Registered: Jun 2013
Location: France
Distribution: Slackware
Posts: 28

Rep: Reputation: Disabled
This tool really deserves to be better known. Thank you very much.
 
  


Reply

Tags
package manager, slackbuilds



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ANNOUNCE: RetroArch for Slackware dugan Slackware 15 03-12-2017 04:45 PM
[SOLVED] sbotools stop working after last upgrade to -current pasquall Slackware 7 11-27-2015 07:18 PM
sbopkg/sqg vs sbotools? Didier Spaier Slackware 2 11-11-2015 04:39 AM
sbotools following files missing from kit Altiris Slackware - ARM 2 06-15-2015 07:13 AM
announcement: sbotools - scripts to interface with slackbuilds.org d4wnr4z0r Slackware 0 06-01-2012 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration