[Porteus 5.0's USM replacement] getmod: A wrapper for slapt-get to build modules

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#31 by Rava » 03 Sep 2022, 07:02

rych wrote:
03 Sep 2022, 06:57
(still I'm curious why not on Slackware Current)
I am not sure I get what you mean by that.
Porteus 5 is based on Slackware 15 - using Slackware Current packages could break some stuff since dependencies that Port already has could be outdated for a Slack-current package.

You could always try getting a Slack-current package running in Port 5, but when that fails use the Slack-15 package instead.
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.

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#32 by francois » 08 Sep 2022, 11:20

This is a very good thread for porteus 5. It seems that we will finally overcome the lost of USM, with existing softwares like slapt-get, slackpkg+ or porteus pmod. For sure updating proprly and including a large amount of repositories will help.

Thanks to all of you.
:D
Prendre son temps, profiter de celui qui passe.

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#33 by babam » 08 Sep 2022, 13:01

Rava wrote:
08 Sep 2022, 12:34
but I think it is overall less newbie friendly than USM was
No, it's very easy

Code: Select all

$ sudo getmod -u
$ sudo getmod -m packagename
What do you think about editing the 1st post ...
Unfortunately I was unable to edit on the 1st post (probably because it has exceeded the editing limit)
Sorry, my English is bad.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#34 by Rava » 08 Sep 2022, 13:18

babam wrote:
08 Sep 2022, 13:01
Unfortunately I was unable to edit on the 1st post (probably because it has exceeded the editing limit)
I can edit it for you.

Please PM me and tell me what I should include. :)
Cheers!
Yours Rava

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#35 by Rava » 08 Sep 2022, 15:46

babam wrote:
10 Jul 2022, 15:17
011-slapt-get-0.11.6-x86_64-2gv.xzm:
https://drive.google.com/uc?export=down ... LfLsolNZWw
gives me

Code: Select all

404. That’s an error.

The requested URL was not found on this server. That’s all we know.
Have you removed the module for a newer one?

(And I did indeed use the correct URL from your post, not the truncated version that quoting turned it into…)
Cheers!
Yours Rava

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#36 by beny » 08 Sep 2022, 15:51

hi Rava is a salix package so you can download via browser or slpkg but you have to configure the repositories first

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#37 by Rava » 08 Sep 2022, 15:53

^
I presume the module from the initial post did include the basic setup?
Cheers!
Yours Rava

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#38 by babam » 08 Sep 2022, 16:08

Rava wrote:
08 Sep 2022, 15:46
babam wrote:
10 Jul 2022, 15:17
011-slapt-get-0.11.6-x86_64-2gv.xzm:
https://drive.google.com/uc?export=down ... LfLsolNZWw
gives me

Code: Select all

404. That’s an error.

The requested URL was not found on this server. That’s all we know.
Have you removed the module for a never one?

(And I did indeed use the correct URL from your post, not the truncated version that quoting turned it into…)
Rava, slapt-get: slapt-get is an APT like system for Slackware package management. (Post by babam #89197)

Can you edit the 1st post with the content in the link above
Sorry, my English is bad.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#39 by Rava » 08 Sep 2022, 18:56

babam wrote:
08 Sep 2022, 16:08
Rava, slapt-get: slapt-get is an APT like system for Slackware package management. (Post by babam #89197)

Can you edit the 1st post with the content in the link above
Done, left in the initial 2 lines and the later examples while updating the download link and most recent examples incl. setup - as of the info in the given link.

Please tell me if I did it to your satisfaction.

Added in 4 minutes 53 seconds:
When you define what the * should be, you can include the links of

Code: Select all

sudo ln -s gtk3-classic* gtk+3-3.24.33-x86_64-1
sudo ln -s boost-stripped* boost-1.78.0-x86_64-1
sudo ln -s llvm-stripped* llvm-13.0.0-x86_64-1
in your module when you use "ln -sf"
In the module itself the links might be broken, but combined with what's in the base modules all would work out of the box.

Or better put the above in a script that gets executed when the module is activated - e.g. a script in 011-slapt-get-0.11.6-x86_64-2gv.xzm/var/lib/pkgtools
Cheers!
Yours Rava

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#40 by babam » 08 Sep 2022, 19:52

Thanks Rava
Sorry, my English is bad.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#41 by beny » 11 Sep 2022, 15:49

hi Rava why you don't try the slackware way to build a package from a directory alias source code and after txz2xzm instead of dir2xzm, cd into the directory and with terminal..
makepkg -l y -c n ../app-version-arch-tag.tgz
i have added two repositories at the package repack and work well what you have to do with...and good work babam with getmod work very well.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#42 by Rava » 18 Sep 2022, 16:03

I activated the original module by babam, did the ln -s in /var/lib/pkgtools/packages and ran slapt-get --update - but it ends in an error:

Code: Select all

root@porteus:/var/lib/pkgtools/packages# slapt-get --update
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/]...  0Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/]...  Failed to download: Transferred a partial file
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Done
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/]...  Done
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...No key for verification
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/15.0/]...No key for verification
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving patch list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]... Done
Verifying checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...No key for verification
Reading Package Lists...Done
Sources failed to download, correct sources and rerun --update
Any idea what is going on? How do I "correct sources"?
Cheers!
Yours Rava

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#43 by babam » 18 Sep 2022, 18:03

Sorry, my English is bad.

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#44 by Rava » 18 Sep 2022, 18:08

Seems that did the trick

Code: Select all

root@porteus:~# slapt-get -u https://docs.salixos.org/wiki/Repository_mirrors
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/]...Cached
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/]...  Done
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/]...Cached
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/slackware-15.0/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/15.0/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/15.0/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/15.0/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/15.0/]...Done
Reading Package Lists...Done
Retrieving package data [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Retrieving patch list [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Retrieving checksum list [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Retrieving checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...Cached
Verifying checksum signature [http://slackware.uk/salix/x86_64/extra-15.0/]...No key for verification
Retrieving ChangeLog.txt [http://slackware.uk/salix/x86_64/extra-15.0/]...Done
Reading Package Lists...Done
Should

Code: Select all

slapt-get -u https://docs.salixos.org/wiki/Repository_mirrors
be added to the initial post?
Cheers!
Yours Rava

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

slapt-get: slapt-get is an APT like system for Slackware package management.

Post#45 by Ed_P » 18 Sep 2022, 18:11

babam wrote:
18 Sep 2022, 18:03
List of mirrors https://docs.salixos.org/wiki/Repository_mirrors
You should add this somewhere in the slapt-get module.
Ed

Post Reply