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: 5455
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#106 by brokenman » 14 Feb 2014, 00:21

+-------------------------
Thu Feb 13 22:10:13 UTC 2014
usm-3.0.8-noarch-1.txz: updated
Altered some colored text that works with light and dark backgrounds
Altered some code to accommodate GUI
Add option to create subfolder for downloads (thanks francois)
Fixed bug where file remains if user cancels midway through download (thanks slaxmax)
Fixed bug with VLC MANIFEST not containing record of symlink (thanks slaxmax)
Added japanese locale files (thanks Neko)
How do i become super user?
Wear your underpants on the outside and put on a cape.

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#107 by Slaxmax » 14 Feb 2014, 03:14

thx bro

now resolve dependencies option
if choose ponce package see...

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/mlt*


 Missing dependencies:  6
####################################

libjack.so.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltjackrack.so)

libswfdec-0.8.so.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltswfdec.so)

libquicktime.so.0 => not found
libdv.so.4 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltkino.so)

libdv.so.4 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltdv.so)

libsox.so.2 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltsox.so)

libpython2.7.so.1.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/python2.7/site-packages/_mlt.so)

####################################

Searching  libdv.so.4:  found 3 packages.
Choose a package to download or choose 'None' to neglect
1) libdv-1.0.0-i486-1ponce.txz  3) libdv-1.0.0-i486-10sl.txz
2) libdv-1.0.0-i486-1gv.txz     4) None
#? 1

/usr/sbin/usm: line 1408: declare: .: syntax error: operand expected (error token is ".")
If choose salix package no problem

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/mlt*


 Missing dependencies:  6
####################################

libjack.so.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltjackrack.so)

libswfdec-0.8.so.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltswfdec.so)

libquicktime.so.0 => not found
libdv.so.4 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltkino.so)

libdv.so.4 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltdv.so)

libsox.so.2 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/mlt/libmltsox.so)

libpython2.7.so.1.0 => not found
Required by: mlt-0.9.0-i486-1sl (/usr/lib/python2.7/site-packages/_mlt.so)

####################################

Searching  libdv.so.4:  found 3 packages.
Choose a package to download or choose 'None' to neglect
1) libdv-1.0.0-i486-1ponce.txz  3) libdv-1.0.0-i486-10sl.txz
2) libdv-1.0.0-i486-1gv.txz     4) None
#? 2

Searching  libjack.so.0:  found 6 packages.
Choose a package to download or choose 'None' to neglect
1) jack-1.9.9.5-i486-2alien.txz
2) jack-audio-connection-kit-0.121.3-i486-2ponce.txz
3) jack-audio-connection-kit-0.121.3-i486-1dj.txz
4) jack-audio-connection-kit-0.121.3-i486-1dj.txz
5) jack-1.9.9.5-i486-1sl.txz
6) jack-1.9.9.5-i486-1sl.txz
7) None
#? 
other error

Code: Select all

root@porteus:/home/guest# usm -d /var/log/packages/gnutls*


####################################

libgc.so.1 => not found
libgc.so.1 => not found
Required by: gnutls-3.1.16-i486-1 (/usr/lib/guile/2.0/guile-gnutls-v-2.so.0.0.0)

####################################

Searching  libgc.so.1:  found 2 packages.
Choose a package to download or choose 'None' to neglect
1) gc-7.2d-i486-1.txz
2) gc-7.4.0-i486-1sl.txz
3) None
#? 2


 The following packages are ready to download: 

gc-7.4.0-i486-1sl.txz [193 KB]

Would you like to continue, or deselect some items?
[ Press c to continue or d to deselct items]

root@porteus:/home/guest# 
I press c but not continued
“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: 5455
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: USM Unified Slackware Package Manager

Post#108 by brokenman » 14 Feb 2014, 13:23

Thanks again. Fixed now and will push next update. Also fixed some errors generating ponce links.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#109 by bour59 » 14 Feb 2014, 15:30

Hello !
usm -s bind shows 3 packages
how can i get the one in slackwarepatches
cause usm -g bind gives an only choice
I am a beginner in using usm (seems very interesting resolving dependences)
Second question : I'm using usm 3.0.7 (from porteus distro) ,
how can I upgrade to usm 3.08
(I thougt to download the 3.0.8. txz from sourceforge
and then installpkg ? or txz2xzm ? or another way
thanks

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

Re: USM Unified Slackware Package Manager

Post#110 by brokenman » 14 Feb 2014, 18:56

usm -s bind is used to search for packages. It will search for the string in any order. For example: bind-0.3 or keybind-1.2 or anything-bind-more-1.2.3.

Once you use usm -s to search for the package you want use: usm -g keybind-1.2 to download it. usm -g searches for packages starting with the string.
For example: usm -g bind would find bind-1.2.3 or bindump-1.2.3 or bindage-1.2.3

So to download it you would type: usm -g bind-9.9.4_P2-x86_64-1_slack14.1.txz

To update, you are correct. Download the latest version and install it using: installpkg usm-3.0.8-noarch-1.txz
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#111 by bour59 » 14 Feb 2014, 19:30

thx I had understood how to use usm
usm -g bind-9.9.4_P2-i486-1_slack14.1.txz says Nothig found for bind....
I'm looking for the 32 bits version
to avoid any finger error , the package name was copy/pasted
I will update to 3.0.8 using installpkg (txz2xzm does not recognize the .tgz as correct)

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

Re: USM Unified Slackware Package Manager

Post#112 by brokenman » 14 Feb 2014, 19:39

usm -g bind-9.9.4_P2-i486-1_slack14.1.txz says Nothig found for bind
Ok thanks, I will check it out.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#113 by bour59 » 17 Feb 2014, 13:35

@brokenman
no problem with bind-9.9.4 after updating databases (usm -u)
will do this first if another error.
Sorry ! :%)

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

Re: USM Unified Slackware Package Manager

Post#114 by brokenman » 20 Feb 2014, 01:56

Please test the alpha of the gui for usm. It is very basic (not pretty yet) but has the functionality for getting packages and some porteus module tools. Please give feedback on the usability and aesthetics of the gui so i can improve it. Many parts simply call the CLI version and display an embedded terminal. I will change this for some parts such as updates but it will remain as an embedded terminal for the process of resolving dependencies.

The CLI and GUI will eventually be rewritten as one single script with optimized code.

You will require the CLI version to be in place before activating and running this module. Thanks.

https://dl.dropboxusercontent.com/u/686 ... arch-1.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

amigo
White ninja
White ninja
Posts: 15
Joined: 26 Aug 2013, 14:14
Distribution: KISS
Location: Dreieich

Re: USM Unified Slackware Package Manager

Post#115 by amigo » 20 Feb 2014, 09:57

"CLI and GUI will eventually be rewritten as one single script" Ewww, bad idea. Optimized code, yes.

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

Re: USM Unified Slackware Package Manager

Post#116 by brokenman » 20 Feb 2014, 14:02

Ewww, bad idea.
Can you qualify this please? I've already started so now is the time speak up.

Part of optimizing the code IS creating one script. Both the CLI and GUI will call the same functions instead of having to write them twice. This makes internationalization much easier to as translators work less. Lastly it gives me one script to maintain instead of two. Please point out the cons, there are bound to be some i havn't thought of.
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#117 by bour59 » 20 Feb 2014, 16:09

try this with gui :
search bind --> ok
download bind-9;9;4 and idnkit --> done
then I get ":" and a blinking cursor
have to clic Return button to continue testing

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

Re: USM Unified Slackware Package Manager

Post#118 by brokenman » 20 Feb 2014, 17:35

This is the intended behavior. It simply opens a terminal and runs the CLI version to download the packages. Unfortunately I havn't found a way to return to the original screen once the terminal has finished it's job, hence the return button.

Do you think it is not very intuitive?
How do i become super user?
Wear your underpants on the outside and put on a cape.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: USM Unified Slackware Package Manager

Post#119 by bour59 » 20 Feb 2014, 19:12

ok
I was very happy to have tried and understood the cli version before
thinks an option should be so that after downloading the call to create xzm be a following choice
rather to clic on tool button

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

Re: USM Unified Slackware Package Manager

Post#120 by brokenman » 21 Feb 2014, 00:58

Thanks bour59, I will add a dialog to ask if modules should be created after download.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply