Package Building and Management except getmod

Technical issues/questions of an intermediate or advanced nature.
User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Package Building and Management except getmod

Post#1 by francois » 26 Feb 2023, 12:53

Though for porteus there is getmod a simple wrapper working over slapt-get:
[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules
with the obsolescence of porteus package manager USM, some additional options of package building automation have to be explored.

These options have been developped for slackware, and they are available for other distributions based on slackware. Notably salix, provides these solutions for package management of pre-built binaries or for building packages from source.

An old thread of mine on package management and slapt-get and dependency resolution (to make sure some old ideas will not be left out).
Using slapt-get as a package manager for Porteus

A more recent thread on package management about replacing brokenman`s famous USM
USM replacement or temporary replacement

This is the place to share your experience with these applications.

Be welcome to comment.
Prendre son temps, profiter de celui qui passe.

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

sbo: what I need to know

Post#2 by francois » 05 Mar 2023, 12:24

Packages builders for sbo (in progress):
1) sboui
USM replacement or temporary replacement

Is a simple gui interface in X that looks like mc (midnight commander). It is used to build packages from source (slackbuilds or sbo). But also, it will provide a picture of all the packages, pre-built binaries and built from source packages present on your system. Though it can be used on its own, an interesting feature is that it could be installed to work over some other package managers like sbopkg, sbtools, and maybe slapt-get with the custom package manager option (***to be tested).
2) spman
spman; a package manager for porteus 5.0, very interesting
A command line interface which seems to be very efficient. It will facilitate sbo building, but it can also fetch already built packages from alien and slakware repositories. It is able to resolve missing dependencies.
Using a good number of tasks specifications to install already built packages or to build packages from source, surprisingly the learning curve is not that steep. Though it seems less intuitive than sboui.
For example, finding missing dependencies for the ponce repo abiword pre-built package was easy and straightforward.
Will build the sbo's without any prompting solving dependencies.
Tested sbo:
OpenOffice, vlc, zoom
3) sbopkg and sbopkg_gui
sbopkg gui
bis: sbopkg and its gui sbopkg_gui to build from source easily
Will build the sbo's prompting many times solving dependencies. Maybe prompting could be removed.
4) sbtools
sbotools seems very interesting as it is qualified as port finder:
https://dataswamp.org/~solene/2020-11-1 ... uilds.html
https://www.linuxquestions.org/question ... 175560308/
examples of sbo installations with sbotools: flatpak.
snap or flatpak for Porteus?
sbtools could be easily paired with sboui gui interface.
5) slapt-src available with getmod -m slapt-src
https://software.jaos.org/git/slapt-src/plain/README

Code: Select all

root@porteus:/home/guest# slapt-src -h
slapt-src - A SlackBuild utility
Usage: slapt-src [option(s)] [action] [slackbuild(s)]
  -u, --update           update local cache of remote slackbuilds
  -U, --upgrade-all      upgrade all installed slackbuilds
  -l, --list             list available slackbuilds
  -e, --clean            clean build directory
  -s, --search           search available slackbuilds
  -w, --show             show specified slackbuilds
  -i, --install          fetch, build, and install the specified slackbuild(s)
  -b, --build            only fetch and build the specified slackbuild(s)
  -f, --fetch            only fetch the specified slackbuild(s)
  -v, --version
  -h, --help
 Options:
  -y, --yes              do not prompt
  -t, --simulate         show what will be done
  -c, --config=FILE      use the specified configuration file
  -n, --no-dep           do not look for dependencies
  -p, --postprocess=CMD  run specified command on generated package
  -B, --build-only       applicable only to --upgrade-all
  -F, --fetch-only       applicable only to --upgrade-all
root@porteus:/home/guest#
6) flatpak
snap or flatpak for Porteus?
From memory flatpak will work on porteus, but it produces extremely heavy files to do so.

Other package managers or package builders from source?
https://www.linuxquestions.org/question ... 175560308/
Prendre son temps, profiter de celui qui passe.

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

sbo: what I need to know

Post#3 by francois » 15 Mar 2023, 22:24

At the agenda:
slapt-get and gslapt and slapt-src (getmod)
Is this the only package manager that provides for dependency resolution, but also covering both already built packages and sbo?

For repositories, what are those that could be accomodated, and if the PACKAGES.TXT which should include dependency information is missing, is it possible to create one (for example, the case of ponce repo).
What about the feasability of installing a personal repo on the linux box.

sboui
Testing sboui with slapt-get as basic package manager. Will it see all the packages installed by slapt-get? And if so, will it be able to resolve some dependency checking for which slapt-get does not provide a solution?

spman
How about extending the repository pasture? Could one do that thru sbo only.

sbopkg and sbopkg_gui and sqg***
Does it do what slapt-get does, that is covering dependencies for already built packages and sbo?
Prendre son temps, profiter de celui qui passe.

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

sbo: what I need to know

Post#4 by francois » 19 May 2023, 01:48

Update:
spman (package manager and sbo builder): very interesting and intuitive package manager.
-provides dependency checking and dependency building one by one if necessary
- no answer of the author as to the possibility to increase the pasture with additional repositories
- as I am no coder, impossible to modify the program to include additional repositories to increase the pasture. Anyone interested?
- it does not cover sbo building.

sbokpkg and sbopkg_gui (sbo builder): the sbokpkg_gui interface is very nice. It looks like synaptic package manager for debian or ubuntu.
- dependency resolution is possible with sqg
https://sbopkg.org/queues.php
- this would have to be tested
- will it perform better than slapt-src?
- no answer from the author on adaptation of sbopkg_gui to slackware 5.0
- debugging and adaptation of the gui was provided by beny. The package works well.

sboui (gui interface for package manager): very simple, could be used over a package manager, helps with sbo building exclusively.

slapt-src:
This has to be explored. As getmod is based on this package manager, it should be the favorite choice for sbo building. Should it really.
Prendre son temps, profiter de celui qui passe.

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

package building and management except getmod

Post#5 by francois » 31 May 2023, 02:20

Updated for testing sbo building with sbopkg_gui and Soman of zoom, OpenOffice and vlc (which calls for many dependencies).
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

slpkg for porteus 5.0.1: getting it to work.

Post#6 by Rava » 05 Oct 2023, 17:01

francois wrote:
05 Oct 2023, 16:11
beny wrote:
04 Oct 2023, 17:03
hi Rapha_ why you don't use getmod instead slapt-get
I thought that getmod or slapt-mod (new appelation) was just a wrapper for slapt-get. Notice that the graphical interface for slapt-get which is named gslapt has the option to download files only. Then with txz2xzm you get your module.

I find getmod a very efficient wrapper. But gslapt will rapidly show what there is on you system. sboui does a good job too.
Do we already have a pinned post in the correct sub-forum that explains the advantages and possible disadvantages of all possible programs to search and download txz, and if that program is able by itself to solve dependencies or not, and if the program is able by itself to create a module.

When the program only gets the user a txz in the end: a simple txz2xzm should be of no issue for anyone.

What's your thoughts on such a pinned overview post about all available programs, scripts, wrappers?
And of course when a dedicated thread already exists about one such program or wrapper a link to such thread (or even threads) should be inserted in the area that is about that very program or wrapper, also possible links to Linux wiki articles or other very helpful online resources..
Cheers!
Yours Rava

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

slpkg for porteus 5.0.1: getting it to work.

Post#7 by francois » 06 Oct 2023, 01:42

@rava:
Maybe you should start a new thread on that topic. But we have already much covered it in other threads. I will be there. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

slpkg for porteus 5.0.1: getting it to work.

Post#8 by Rava » 06 Oct 2023, 05:16

francois wrote:
06 Oct 2023, 01:42
@rava:
Maybe you should start a new thread on that topic. But we have already much covered it in other threads. I will be there. :)
I recall some other threads, I presume all are in Development

I will PM you my draft of the upcoming article for you to review if that's okay for you? :friends:

User avatar
Ed_P
Contributor
Contributor
Posts: 8342
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

slpkg for porteus 5.0.1: getting it to work.

Post#9 by Ed_P » 06 Oct 2023, 05:42

inukaze wrote:
04 Oct 2023, 19:08
I don't feel very comfortable using 'vi'
:%) What is 'vi'?
Rava wrote:
05 Oct 2023, 17:01
What's your thoughts on such a pinned overview post about all available programs, scripts, wrappers?
And of course when a dedicated thread already exists about one such program or wrapper a link to such thread (or even threads) should be inserted in the area that is about that very program or wrapper, also possible links to Linux wiki articles or other very helpful online resources..
I like that idea. :happy62:
francois wrote:
06 Oct 2023, 01:42
Maybe you should start a new thread on that topic.
I prefer Ravi's idea.
Ed

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

slpkg for porteus 5.0.1: getting it to work.

Post#10 by Rava » 06 Oct 2023, 11:04

Ed_P wrote:
06 Oct 2023, 05:42
inukaze wrote:
04 Oct 2023, 19:08
I don't feel very comfortable using 'vi'
:%) What is 'vi'?
The feared by all terminal editor:
In 5.0.1 it is not even vim (vi improved) but a mere link to busybox, so even less than what the original vi can do:

Code: Select all

guest@rava:~$ type vi
vi is /usr/bin/vi
guest@rava:~$ file /usr/bin/vi
/usr/bin/vi: symbolic link to /mnt/live/bin/busybox
with the ":" command structure. You have to know to first press [ESC] to escape from the text editing mode.
Then you have to know the ":" commands:

Code: Select all

:w  -> write file
:q  -> quit
:q! -> quite even when there are unsaved changes.

:wq -> write and quit.
More here: Vi (on en.wikipedia)
A 2009 survey of Linux Journal readers found that vi was the most widely used text editor among respondents, beating gedit, the second most widely used editor, by nearly a factor of two (36% to 19%).
ImageImage

Added in 3 minutes 11 seconds:
The one good thing in knowing your way around vi or vim is: when you are in a strange minimal environment, most programs would not work, but you most likely will have vi as editor (and be it only via busybox) - like we have when you boot Porteus, your boot config is broken, the kernel cannot find your modules and you have the choice to go into a minimal terminal. The only editor there is vi (via busybox). :)
Cheers!
Yours Rava

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

slpkg for porteus 5.0.1: getting it to work.

Post#11 by francois » 06 Oct 2023, 11:57

@Ed, Rava:
This thread is exactly about all what is as package management solutions for slackware, and what type of experimentation that has been done with it on porteus.
package building and management except getmod
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

slpkg for porteus 5.0.1: getting it to work.

Post#12 by Rava » 06 Oct 2023, 12:01

francois wrote:
06 Oct 2023, 11:57
@Ed, Rava:
This thread is exactly about all what is as package management solutions for slackware, and what type of experimentation that has been done with it on porteus.
package building and management except getmod
Good to know, but my idea is to have the initial post of the thread listing all possibilities as overview, as table of contents if you may call it - then the posts in the thread could be linked to the chapter that is dedicated to the one program, wrapper, whatnot.

Added in 1 minute 41 seconds:
Like so:
● program a
short description
link to post on forum.porteus with more background on program a
link to wiki entry
other helpful links


● program b (wrapper)
short description
link to post on forum.porteus
link to wiki entry
other helpful links

etcetera
Cheers!
Yours Rava

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

slpkg for porteus 5.0.1: getting it to work.

Post#13 by francois » 06 Oct 2023, 12:16

Great. Good idea. Do so ... :)

But personnally, I think that we are hyjacking this actual thread (this is my moderator view). :happy62:
Prendre son temps, profiter de celui qui passe.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

package building and management except getmod

Post#14 by Rava » 06 Oct 2023, 12:25

about my idea from slpkg for porteus 5.0.1: getting it to work. (Post by Rava #96160) and slpkg for porteus 5.0.1: getting it to work. (Post by Rava #96185)

Seems you already listed many programs in post #2.
But some stuff seems work in progress. So hard for me to create the

Code: Select all

● program a
short description
link to post on forum.porteus with more background on program a
link to wiki entry
other helpful links
idea when I myself did not test any of these programs personally.
And slpkg is missing.
francois wrote:
31 May 2023, 02:20
Updated for testing sbo building with sbopkg_gui and Soman of zoom, OpenOffice and vlc (which calls for many dependencies).
How did it go?

Added in 2 minutes 9 seconds:
Also, sorry for having overlooked this thread so far, I do use the New Posts / Unread Posts menu entry not every time I come here and so I sure miss some good threads, like this one. :Rose:
Cheers!
Yours Rava

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

package building and management except getmod

Post#15 by francois » 06 Oct 2023, 13:41

Here is slpkg:
slpkg : package builder (manager) linux
Here is slackpkg
slackpkg for porteus 5.0: where are the packages? Can we add repositories?

This thread has much info from which you can develop. Feel free to do so. :)
Prendre son temps, profiter de celui qui passe.

Post Reply