package building and management except getmod

Technical issues/questions of an intermediate or advanced nature.
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 6344
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

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: 6344
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
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
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
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#
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: 6344
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: 6344
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: 6344
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.

Post Reply