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

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#1 by francois » 29 Mar 2020, 13:43

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.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#2 by francois » 29 Mar 2020, 14:32

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.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#3 by francois » 03 Apr 2020, 14:52

The sbopkg has a real neat interface. It would be great if it could be installed over usm.
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 2480
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

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

Post#4 by Rava » 10 Apr 2020, 22:00

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.
Cheers!
Yours Rava

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#5 by francois » 11 Apr 2020, 21:40

/usr/sbin//sbopkg
or
/usr/sbin/sbopkg_gui
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 2480
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

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

Post#6 by Rava » 11 Apr 2020, 21:45

^
I don't get what you mean by that. :(
Cheers!
Yours Rava

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#7 by francois » 11 Apr 2020, 21:47

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
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#8 by francois » 11 Apr 2020, 21:48

/usr/sbin//sbopkg
is not a file.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#9 by francois » 11 Apr 2020, 21:49

Ok, I got it. I was in bin instead of sbin.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#10 by francois » 11 Apr 2020, 21:53

in /usr/sbin/sbopkg
there is no:
upgradepkg --reinstall --install-new $OLDPKG%$INSTDIR/$INSTPKG
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 864
Joined: 02 Jan 2011, 11:33
Location: italy

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

Post#11 by beny » 11 Apr 2020, 22:33

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

User avatar
francois
Contributor
Contributor
Posts: 5795
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#12 by francois » 11 Apr 2020, 23:14

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?
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 864
Joined: 02 Jan 2011, 11:33
Location: italy

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

Post#13 by beny » 11 Apr 2020, 23:42

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......

User avatar
Rava
Contributor
Contributor
Posts: 2480
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

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

Post#14 by Rava » 12 Apr 2020, 00:20

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.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 864
Joined: 02 Jan 2011, 11:33
Location: italy

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

Post#15 by beny » 12 Apr 2020, 00:28

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!
###########################################

Post Reply