Page 1 of 1

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 29 Mar 2020, 13:43
by francois
Second time with this package builder for slackware. Simple to install and simple to use.

Definition.
Sbopkg is a an utility that enables packages build from the SlackBuilds.org repository. It is said to be ncurses-based. Curses library, or a compatible library such as Ncurses, is designed to facilitate GUI-like functionality on a text-only device. Sbokpg_gui is a gui the gui interface.

Two good papers on the topic. The first one for the command line original program and the second one on the gui. This gui really simplifies the job which is already very simple.
sbopkg_gui howto:
https://slackalaxy.com/2016/06/22/a-sbopkg-gui/
sbopkg tutorial:
https://blog.jeaye.com/2015/07/09/sbopkg/

Use.
Quoted from salix howto:
https://docs.salixos.org/wiki/index.php ... with_Salix
SlackBuilds available in slacbuilds.org will require you to install extra software in your Salix system in order for them to work properly. If you get build errors and the software doesn't compile right, the best thing you can do is view the build logs and see what is missing, install it and try again.

The command line utility
Once the utility is installed You have to be root:

Code: Select all

bash-4.1# sbopkg -h
Each time you use sbopkg you should sync before building a package. And then start it:

Code: Select all

sudo su                                                         #has to be root mode
sbopkg -r                                                      #r for rsync
sbopkg
The very efficient gui
The site for sbopkg:
http://sbopkg.org/

Download the file and get dependencies:
https://slackware.uk/microlinux/desktop ... olinux.txz
or from git:
https://github.com/sbopkg/sbopkg.git
ioquake3
https://packages.slackonly.com/pub/pack ... slonly.txz
OpenAL
https://slackware.uk/microlinux/desktop ... olinux.txz
SDL2
https://slackware.uk/people/alphageek/s ... -1_ejt.txz

You are ready to build automatically slackware packages from SlackBuild.org.

Other links.
https://docs.salixos.org/wiki/index.php ... with_Salix
https://www.linux.com/news/sbopkg-provi ... slackware/

Note:
Procedure modified from Salix:
https://docs.salixos.org/wiki/index.php ... with_Salix

1) Download the .txz package, and convert it to a module porteus way with txz2xzm or with right click on file to txz2xzm.
2) Replace in file /usr/sbin//sbopkg the expression:
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
by:
spkg -u --reinstall --install-new $PKG
3) bash-4.1# sbopkg
...
4) C for accepting to create necessary directores
5) Sync


Edited as 2020-03-29, Montréal.

bis: sbopkg and its gui sbopkg to build from source easily

Posted: 29 Mar 2020, 14:32
by francois
What is left as an error trying to upgrade sbopkg_gui is:

Code: Select all

Unable to open "/var/lib/sbopkg/SBo/ChangeLog.txt"
Unable to open "/var/lib/sbopkg/SBo/SLACKBUILDS.TXT"
I have send a message to the author of sbopkg_gui.

To correct the problem, just copy /var/lib/sbopkg/SBo/14.2/SLACKBUILDS.TXT and /var/lib/sbopkg/SBo/14.2/ChangeLog.txt into /var/lib/sbopkg/SBo/ so that they are available to the gui. You might have to reboot.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 03 Apr 2020, 14:52
by francois
The sbopkg has a real neat interface. It would be great if it could be installed over usm.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 10 Apr 2020, 22:00
by Rava
Sounds neat, francois.
Why not provide the fixed sbopkg and sbopkg_gui modules?

By fix I mean these:
[sbopkg]
Replace in file /usr/sbin//sbopkg the expression:
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
by:
spkg -u --reinstall --install-new $PKG

# sbopkg
C for accepting to create necessary directores

[sbopkg_gui]
copy /var/lib/sbopkg/SBo/14.2/SLACKBUILDS.TXT and /var/lib/sbopkg/SBo/14.2/ChangeLog.txt into /var/lib/sbopkg/SBo/ so that they are available to the gui.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:40
by francois
/usr/sbin//sbopkg
or
/usr/sbin/sbopkg_gui

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:45
by Rava
^
I don't get what you mean by that. :(

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:47
by francois
I just meant your words:

By fix I mean these:
[sbopkg]
Replace in file /usr/sbin//sbopkg the expression:
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
by:
spkg -u --reinstall --install-new $PKG

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:48
by francois
/usr/sbin//sbopkg
is not a file.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:49
by francois
Ok, I got it. I was in bin instead of sbin.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 21:53
by francois
in /usr/sbin/sbopkg
there is no:
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 22:33
by beny
hi francois,happy easter... sbopkg do not this task, build the packages add deps to a queue and build it and so on pkgtool is a gui to removepkg or reinstall or install-new,or maybe i am wrong on your purpose. i have read the script now i am curious to know if you are right be back soon reboot in slackware

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 23:14
by francois
In fact, I read on sbopkg and sbopkg_gui. The interface is neat, but there is often missing dependencies or the building will fail. Maybe I have to play with it more.

@beny and rava:
Did you used sbopkg or sbopkg_gui?

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 11 Apr 2020, 23:42
by beny
hi francois i have seen in the sbopkg gui so you have to do a queue for the package that you have to build like this: sqg -p your package you have to load the file, that is mine audacity.sqf when you load the queue file you have some option the last is build and upgrade and install try it. i use the terminal, but only because i can't do the auto options too many packages installed via sbopkg and if something goes wrong......

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 12 Apr 2020, 00:20
by Rava
francois wrote:
11 Apr 2020, 23:14
@beny and rava:
Did you used sbopkg or sbopkg_gui?
Currently I have no program that needs compiling, so no.

bis: sbopkg and its gui sbopkg_gui to build from source easily

Posted: 12 Apr 2020, 00:28
by beny
this is the build of the audacity.sqf build and install automatically and upgrade the package version,so seem to work.
+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process: Download, build, and install

wxGTK3:
MD5SUM check for wxWidgets-3.0.4.tar.gz ... OK
Building package wxGTK3-3.0.4-x86_64-2ponce.tgz ... OK
Installing package wxGTK3-3.0.4-x86_64-2ponce.tgz ... OK

audacity:
MD5SUM check for Audacity-2.3.3.tar.gz ... OK
MD5SUM check for audacity-manual-2.3.3.zip ... OK
Building package audacity-2.3.3-x86_64-1ponce.tgz ... OK
Installing package audacity-2.3.3-x86_64-1ponce.tgz ... OK

+++++++++++++++++++++++++++++++++++++++++++

###########################################
Queue process complete!
###########################################