USM Unified Slackware Package Manager

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#16 by brokenman » 23 Jan 2014, 16:35

Updated to v3.0.2 which addresses above issues. I also added a 'keyword search' option.

+-------------------------
Wed Jan 23 16:52:03 UTC 2014
usm-3.0.2-noarch-1.txz: updated: updated
Added secondary search of slackbuilds after normal search fails
Added usm sbo -b appname
Fixed bug with getting link for slacky
Added sanity check for slackbuilds function
Added keyword search option -k
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: USM Unified Slackware Package Manager

Post#17 by francois » 23 Jan 2014, 20:16

@brokenman:
I am working with kde 3.0 when I am on usm. I should have some testing in the following hours.
Carpe diem.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#18 by phhpro » 23 Jan 2014, 21:57

...
Last edited by phhpro on 04 Feb 2016, 00:52, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#19 by brokenman » 24 Jan 2014, 00:07

The error regarding SLACKBUILDS.TXT.gz is odd. It is working fine here. Did you try updating a second time? It could perhaps be that the file didn't download correctly, hence not being seen as a gzip file.

that would render most of the present PPM redundant.

You are correct in both respects. I was aiming at a broader slackware audience with this tool, and (once modified for porteus) it will render PPM redundant. This means devs will not need to maintain repositories and all packages can be converted client side.

My intention is to wait until this CLI version is stable and then write a front end for it. It would then replace the current PPM. PPM is bloated and the code is far from optimized. It was not easy to write and when i review the code now i understand why. At the time of writing i didn't have a broader picture of how it would work. In this situation you tend to tack on things to fix problems that you didn't foresee coming up. Hindsight is always 20/20 but i believe in rewriting it now, it would much leaner and cleaner.

If at all possible i would like to work with ViktorNova in getting the arch stuff to play nice with slackware which would open up another world of packages. I tried it with debian packages but found that dep resolution was below par. This may also be the case for arch which would be a shame since the priority is dependency resolution and simplicity so that packages work.

Question: Do you think GPG checks are necessary if the repositories are all well known and trusted?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#20 by phhpro » 24 Jan 2014, 04:19

...
Last edited by phhpro on 04 Feb 2016, 00:51, edited 1 time in total.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: USM Unified Slackware Package Manager

Post#21 by Slaxmax » 24 Jan 2014, 17:15

How to skip a package? I tried installing VLC, but do not want to download the samba package.
I want to skip the samba package, but did not see option.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 5659
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#22 by brokenman » 24 Jan 2014, 19:21

Thanks slaxmax, good point. I wrote in a function to deselect dependencies into the system wide dependency resolver (usm -d) and will add this to the option when fetching general packages. I will push this into the next release. So after running: usm -g vlc and all dependencies are resolved you will be given the option to begin downloading or deselect some packages. Thanks for the feedback.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#23 by phhpro » 24 Jan 2014, 21:57

...
Last edited by phhpro on 04 Feb 2016, 00:52, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: USM Unified Slackware Package Manager

Post#24 by francois » 24 Jan 2014, 22:40

Problem downloading gnumeric and associated files:

Code: Select all

root@porteus:~# usm -g gnumeric

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) gnumeric-1.12.9-x86_64-1rl.txz
#?  
1) gnumeric-1.12.9-x86_64-1rl.txz
#? 1

Processing:   gnumeric-1.12.9-x86_64-1rl.txz 
Libraries required:  65
Libraries found in system: 57
Libraries to resolve: 8

Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgoffice-0.10.so.10
Processing library: libgsf-1.so.114
Processing library: libgtk-3.so.0
Processing library: libpython2.7.so.1.0
Processing library: libspreadsheet-1.12.9.so


Processing:   at-spi2-atk-2.8.1-x86_64-1.txz 
Libraries required:  18
Libraries found in system: 16
Libraries to resolve: 2

Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0


Processing:   at-spi2-core-2.8.0-x86_64-1.txz 
Libraries required:  23
Libraries found in system: 21
Libraries to resolve: 2

Processing library: libXevie.so.1
Processing library: libatspi.so.0


Processing:   gtk+3-3.8.2-x86_64-2.txz 
Libraries required:  59
Libraries found in system: 55
Libraries to resolve: 4

Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgtk-3.so.0


Processing:   goffice-0.10.9-x86_64-1rl.txz 
Libraries required:  62
Libraries found in system: 55
Libraries to resolve: 7

Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgoffice-0.10.so.10
Processing library: libgsf-1.so.114
Processing library: libgtk-3.so.0
Processing library: libspectre.so.1


Processing:   libgsf-1.14.26-x86_64-1.txz 
Libraries required:  16
Libraries found in system: 15
Libraries to resolve: 1

Processing library: libgsf-1.so.114


Processing:   python-2.7.5-x86_64-1.txz 
Libraries required:  23
Libraries found in system: 20
Libraries to resolve: 3

Processing library: libpython2.7.so.1.0
Processing library: libtcl8.6.so
Processing library: libtk8.6.so


Processing:   libXevie-1.0.3-x86_64-1.txz 
Libraries required:  6
Libraries found in system: 6
Libraries to resolve: 0



Processing:   libspectre-0.2.7-x86_64-1.txz 
Libraries required:  1
Libraries found in system: 0
Libraries to resolve: 1

Processing library: libgs.so.9


Processing:   tcl-8.6.1-x86_64-1.txz 
Libraries required:  5
Libraries found in system: 4
Libraries to resolve: 1

Processing library: libtcl8.6.so


Processing:   tk-8.6.1-x86_64-1.txz 
Libraries required:  19
Libraries found in system: 17
Libraries to resolve: 2

Processing library: libtcl8.6.so
Processing library: libtk8.6.so


Processing:   ghostscript-9.07-x86_64-2.txz 
Libraries required:  65
Libraries found in system: 60
Libraries to resolve: 5

Processing library: libatk-bridge-2.0.so.0
Processing library: libatspi.so.0
Processing library: libgdk-3.so.0
Processing library: libgs.so.9
Processing library: libgtk-3.so.0

The following packages are required.
gnumeric-1.12.9-x86_64-1rl.txz [11735K]
at-spi2-atk-2.8.1-x86_64-1.txz [68K]
at-spi2-core-2.8.0-x86_64-1.txz [228K]
gtk+3-3.8.2-x86_64-2.txz [7452K]
goffice-0.10.9-x86_64-1rl.txz [1576K]
libgsf-1.14.26-x86_64-1.txz [220K]
python-2.7.5-x86_64-1.txz [11868K]
libXevie-1.0.3-x86_64-1.txz [16K]
libspectre-0.2.7-x86_64-1.txz [40K]
tcl-8.6.1-x86_64-1.txz [2500K]
tk-8.6.1-x86_64-1.txz [1700K]
ghostscript-9.07-x86_64-2.txz [13108K]

Total size: 50 MB

 Would you like to begin downloading? [y/n]
Downloading:http://www.gtlib.gatech.edu/pub/salixos/x86_64/14.1/salix/salix/gnome/gnumeric-1.12.9-x86_64-1rl.txz
to /tmp/usm
Downloading: gnumeric-1.12.9-x86_64-1rl.txz  DONE
 There was a problem downloading the file:  gnumeric-1.12.9-x86_64-1rl.txz

root@porteus:~# 
root@porteus:~# 
There is no files at all in /tmp/usm
Carpe diem.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: USM Unified Slackware Package Manager

Post#25 by francois » 24 Jan 2014, 23:06

I don't know if I read well, I thought that usm would select by itself dependencies, but autoselect dependencies option could be nice thing. For audacity, only the audacity package would download:

Code: Select all

root@porteus:~# usm -g audacity

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) audacity-2.0.5-x86_64-1ponce.txz  3) audacity-2.0.5-x86_64-2sl.txz
2) audacity-2.0.5-x86_64-1rl.txz
#? 1

Processing:   audacity-2.0.5-x86_64-1ponce.txz 
Libraries required:  71
Libraries found in system: 58
Libraries to resolve: 13

Processing library: libSoundTouch.so.0
Processing library: libid3tag.so.0
Processing library: libjack.so.0

 More than one package contains:  libjack.so.0
jack-1.9.9.5-x86_64-2alien.txz                       500K  alien
jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz  368K  ponce

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) jack-1.9.9.5-x86_64-2alien.txz
2) jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz
#? 2
Processing library: libwx_baseu-2.8.so.0

 More than one package contains:  libwx_baseu-2.8.so.0
wxPython-2.8.12.1-x86_64-1ponce.txz  13808K  ponce
wxGTK-2.8.12-x86_64-2sl.txz          3529K   slacky

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) wxPython-2.8.12.1-x86_64-1ponce.txz
2) wxGTK-2.8.12-x86_64-2sl.txz
#? 1
Processing library: libwx_baseu_net-2.8.so.0
Processing library: libwx_baseu_xml-2.8.so.0
Processing library: libwx_gtk2u_adv-2.8.so.0
Processing library: libwx_gtk2u_aui-2.8.so.0
Processing library: libwx_gtk2u_core-2.8.so.0
Processing library: libwx_gtk2u_html-2.8.so.0
Processing library: libwx_gtk2u_qa-2.8.so.0
Processing library: libwx_gtk2u_richtext-2.8.so.0
Processing library: libwx_gtk2u_xrc-2.8.so.0


Processing:   soundtouch-1.7.1-x86_64-1gv.txz 
Libraries required:  4
Libraries found in system: 3
Libraries to resolve: 1

Processing library: libSoundTouch.so.0


Processing:   libid3tag-0.15.1b-x86_64-4.txz 
Libraries required:  1
Libraries found in system: 1
Libraries to resolve: 0



Processing:   jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz 
Libraries required:  16
Libraries found in system: 13
Libraries to resolve: 3

Processing library: libcelt0.so.2

 More than one package contains:  libcelt0.so.2
celt-0.11.1-x86_64-1gv.txz     63K  salix
celt-0.11.3-x86_64-1ponce.txz  68K  ponce

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) celt-0.11.1-x86_64-1gv.txz
2) celt-0.11.3-x86_64-1ponce.txz
#? 2
Processing library: libjack.so.0
Processing library: libjackserver.so.0


Processing:   wxPython-2.8.12.1-x86_64-1ponce.txz 
Libraries required:  85
Libraries found in system: 68
Libraries to resolve: 17

Processing library: libgstinterfaces-0.10.so.0

 More than one package contains:  libgstinterfaces-0.10.so.0
gst-plugins-base-0.10.36-x86_64-2.txz  1304K   slackware
skype_static-4.2.0.11-x86_64-4sl.txz   37556K  slacky

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) gst-plugins-base-0.10.36-x86_64-2.txz
2) skype_static-4.2.0.11-x86_64-4sl.txz
#? 1
Processing library: libgstreamer-0.10.so.0

 More than one package contains:  libgstreamer-0.10.so.0
gstreamer-0.10.36-x86_64-2.txz        1332K   slackware
skype_static-4.2.0.11-x86_64-4sl.txz  37556K  slacky

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) gstreamer-0.10.36-x86_64-2.txz
2) skype_static-4.2.0.11-x86_64-4sl.txz
#? 1
Processing library: libmspack.so.0
Processing library: libpython2.7.so.1.0
Processing library: libwx_baseu-2.8.so.0
Processing library: libwx_baseu_net-2.8.so.0
Processing library: libwx_baseu_xml-2.8.so.0
Processing library: libwx_gtk2u_adv-2.8.so.0
Processing library: libwx_gtk2u_aui-2.8.so.0
Processing library: libwx_gtk2u_core-2.8.so.0
Processing library: libwx_gtk2u_gizmos-2.8.so.0
Processing library: libwx_gtk2u_gl-2.8.so.0
Processing library: libwx_gtk2u_html-2.8.so.0
Processing library: libwx_gtk2u_qa-2.8.so.0
Processing library: libwx_gtk2u_richtext-2.8.so.0
Processing library: libwx_gtk2u_stc-2.8.so.0
Processing library: libwx_gtk2u_xrc-2.8.so.0


Processing:   celt-0.11.3-x86_64-1ponce.txz 
Libraries required:  3
Libraries found in system: 2
Libraries to resolve: 1

Processing library: libcelt0.so.2


Processing:   gst-plugins-base-0.10.36-x86_64-2.txz 
Libraries required:  64
Libraries found in system: 51
Libraries to resolve: 13

Processing library: libgstapp-0.10.so.0
Processing library: libgstaudio-0.10.so.0
Processing library: libgstbase-0.10.so.0
Processing library: libgstcdda-0.10.so.0
Processing library: libgstcontroller-0.10.so.0
Processing library: libgstdataprotocol-0.10.so.0
Processing library: libgstinterfaces-0.10.so.0
Processing library: libgstpbutils-0.10.so.0
Processing library: libgstreamer-0.10.so.0
Processing library: libgstriff-0.10.so.0
Processing library: libgsttag-0.10.so.0
Processing library: libgstvideo-0.10.so.0
Processing library: libvisual-0.4.so.0


Processing:   gstreamer-0.10.36-x86_64-2.txz 
Libraries required:  13
Libraries found in system: 11
Libraries to resolve: 2

Processing library: libgstbase-0.10.so.0
Processing library: libgstreamer-0.10.so.0


Processing:   libmspack-0.4alpha-x86_64-1ponce.txz 

Processing:   python-2.7.5-x86_64-1.txz 
Libraries required:  23
Libraries found in system: 20
Libraries to resolve: 3

Processing library: libpython2.7.so.1.0
Processing library: libtcl8.6.so
Processing library: libtk8.6.so


Processing:   libvisual-0.4.0-x86_64-3.txz 
Libraries required:  3
Libraries found in system: 3
Libraries to resolve: 0



Processing:   tcl-8.6.1-x86_64-1.txz 
Libraries required:  5
Libraries found in system: 4
Libraries to resolve: 1

Processing library: libtcl8.6.so


Processing:   tk-8.6.1-x86_64-1.txz 
Libraries required:  19
Libraries found in system: 17
Libraries to resolve: 2

Processing library: libtcl8.6.so
Processing library: libtk8.6.so

The following packages are required.
audacity-2.0.5-x86_64-1ponce.txz [3456K]
soundtouch-1.7.1-x86_64-1gv.txz [57K]
libid3tag-0.15.1b-x86_64-4.txz [36K]
jack-audio-connection-kit-0.121.3-x86_64-2ponce.txz [368K]
wxPython-2.8.12.1-x86_64-1ponce.txz [13808K]
celt-0.11.3-x86_64-1ponce.txz [68K]
gst-plugins-base-0.10.36-x86_64-2.txz [1304K]
gstreamer-0.10.36-x86_64-2.txz [1332K]
libmspack-0.4alpha-x86_64-1ponce.txz [160K]
python-2.7.5-x86_64-1.txz [11868K]
libvisual-0.4.0-x86_64-3.txz [128K]
tcl-8.6.1-x86_64-1.txz [2500K]
tk-8.6.1-x86_64-1.txz [1700K]

Total size: 36 MB

 Would you like to begin downloading? [y/n]
Downloading:http://ponce.cc/slackware/slackware64-14.1/packages/tp://ponce.cc/slackware/slackware64-14.1/packages//audacity-2.0.5-x86_64-1ponce.txz
to /tmp/usm
Downloading: audacity-2.0.5-x86_64-1ponce.txz --> 
 DONE
Downloading:http://www.gtlib.gatech.edu/pub/salixos/x86_64/14.1/salix/salix/l/soundtouch-1.7.1-x86_64-1gv.txz
to /tmp/usm
Downloading: soundtouch-1.7.1-x86_64-1gv.txz  DONE
 There was a problem downloading the file:  soundtouch-1.7.1-x86_64-1gv.txz

root@porteus:~# 
If possible, it would be nice if unable to download a package, usm would fetch next package, and at the end provide a list of missing dependencies (those not downloaded) and provide the list of the original needed libraries and options (in case you had choosen the unavailable library)
Carpe diem.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#26 by phhpro » 24 Jan 2014, 23:27

...
Last edited by phhpro on 04 Feb 2016, 00:55, edited 2 times in total.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: USM Unified Slackware Package Manager

Post#27 by francois » 24 Jan 2014, 23:28

Just tried to build the scid_vs_pc chess game, there is an error while building package (chown: invalid group: ‘root:root’):

Code: Select all

root@porteus:~# usm -b scid


 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) cd-discid
2) scid
3) scid_vs_pc
#? 3

NAME :  scid_vs_pc 
CATEG: games
DESC : scid_vs_pc (Usability and bug-fix fork of Scid)
VERS : 4.10
...

...
scid_vs_pc-4.10/Makefile.mingw
scid_vs_pc-4.10/Info.plist
chown: invalid group: ‘root:root’
Very good that we get the info at the beginning telling us where the package is downloaded. i.e.:

Code: Select all

Downloading: scid_vs_pc.tar.gz  DONE
/tmp/usmsbo
This way I know where to find the readme file or install file for package or library resolution.

However, once the slackbuild has been downloaded, usm -rb would be a nice argument to build from the already downloaded file, instead of downloading it anew. What do you think?
Last edited by francois on 25 Jan 2014, 00:04, edited 2 times in total.
Carpe diem.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#28 by phhpro » 24 Jan 2014, 23:48

...
Last edited by phhpro on 04 Feb 2016, 03:43, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 5136
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus artix
Location: C'est l'hiver: la neige soudainement est là à Montréal.

Re: USM Unified Slackware Package Manager

Post#29 by francois » 25 Jan 2014, 00:01

Yes. I am on kde 3.0. 8)

Do you have sound under porteus 3.0?
Last edited by francois on 25 Jan 2014, 02:53, edited 1 time in total.
Carpe diem.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 545
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: USM Unified Slackware Package Manager

Post#30 by phhpro » 25 Jan 2014, 00:15

...
Last edited by phhpro on 04 Feb 2016, 01:39, edited 1 time in total.

Post Reply