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: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#106 by brokenman » 24 Feb 2014, 13:31

BUGS, I found that the 'usm -g <whatever-having-dashes-in-package-name>' fails to find and, or fetch package; though search is working fine.
bdheeman I can't seem to reproduce this. In fact the get function was written with the intent of pasting the full package name with dashes. Can anyone else confirm?
I will be updating today.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#107 by brokenman » 24 Feb 2014, 17:11

+-------------------------
Thu Feb 14 10:15:03 UTC 2014
usm-3.0.9-noarch-1.txz: updated
Fixed bug for getting size in ponce repo (thanks slaxmax)
Fixed search problem for a package in salix (thanks hamza)
Fixed errors in generating ponce links
Fixed update usm function
Updated databases
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#108 by Slaxmax » 25 Feb 2014, 05:47

@brokenman
novos erros

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 1416: declare: 136K: value too great for base (error token is "136K")
obrigado
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
bdheeman
Contributor
Contributor
Posts: 78
Joined: 15 Sep 2012, 19:39
Distribution: Porteus 3.0.1+ MATE/XFCE
Location: Chandigarh, PB, India
Contact:

Re: USM Unified Slackware Package Manager

Post#109 by bdheeman » 25 Feb 2014, 12:01

brokenman wrote: bdheeman I can't seem to reproduce this. In fact the get function was written with the intent of pasting the full package name with dashes. Can anyone else confirm?
Sorry, I was not aware; pasting the full package name with dashes + version info + extension is working.
--
Balwinder S "bdheeman" Dheeman (http://bdheeman.BlogSpot.in/)
"Working together, works! The proof is GNU/Linux and F/LOSS Projects;
Do you too voluntarily work on or contribute to making any difference?"

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#110 by brokenman » 25 Feb 2014, 16:40

@slaxmax please try using the latest version (3.0.9) and update the database. I can't reproduce this on 32 or 64bit.

The error in question

Code: Select all

line 1416: declare: 136K: value too great for base (error token is "136K")
was fixed in a past version. You will now see on line 1417:

Code: Select all

declare -i CSIZE=`tr -d [:alpha:] <<<$HSIZE`
which removes the K from the size allowing the declaration to be valid.
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: USM Unified Slackware Package Manager

Post#111 by tome » 26 Feb 2014, 09:00

lxde i486 3.0rc2
I can't open correctly cliusm.desktop

Code: Select all

xterm: Can't execvp -e: No such file or directory
To start this I must edit .config/lxpanel/LXDE/config file and delete

Code: Select all

 -e
in

Code: Select all

Terminal=xterm -e

Code: Select all

usm -u all
stoped at downloading salix files so I must edit /etc/usm/mirrors-salix.txt (unhashed another mirrors) but now it works so it was probably selected US mirror problem at weekend.
You have mind and feelings. Be wise and clever.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#112 by brokenman » 26 Feb 2014, 11:50

Thanks Tome. The next version will open a GUI from the menu. The mirror was probably just for the weekend. Seems to work ok here now. I will add a GUI to edit the mirrors also.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#113 by Slaxmax » 27 Feb 2014, 05:24

brokenman wrote:@slaxmax please try using the latest version (3.0.9) and update the database. I can't reproduce this on 32 or 64bit.

The error in question

Code: Select all

line 1416: declare: 136K: value too great for base (error token is "136K")
was fixed in a past version. You will now see on line 1417:

Code: Select all

declare -i CSIZE=`tr -d [:alpha:] <<<$HSIZE`
which removes the K from the size allowing the declaration to be valid.
Ok. I've done.
I'll try again in fresh mode.
“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: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#114 by brokenman » 01 Mar 2014, 01:26

I'm going to release the updated version with GUI in the next few days. Please be ready for testing and offering suggestions to improve it. It won't have ALL the functionality of the CLI version (is missing slackbuilds) but I don't want to delay the v3.0 Porteus release any further. Any enhancements and fixes can be pushed as updates through the Porteus updater.

Hopefully Neko can work some magic with gettext. I'll add you as co-developer Neko if you want to take on this task.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#115 by Slaxmax » 01 Mar 2014, 02:58

Ok, without errors now.

Thanks
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

neko
DEV Team
DEV Team
Posts: 2107
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: USM Unified Slackware Package Manager

Post#116 by neko » 01 Mar 2014, 03:53

@brokenman

I do not know what "some magic with gettex" means.
However, if I have a chance, I will check on 'gettext' and translate to Japanese.

I will enjoy that working.
Thanks.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#117 by brokenman » 03 Mar 2014, 15:10

+-------------------------
Mon Mar 3 11:55:12 UTC 2014
usm-3.1.0-noarch-1.txz: updated
Added gtkdialog frontend
Rewrote script as hybrid cli/gui
Fixed bug when all packages are deselected in cli

I have created the hybrid CLI/GUI and changed the structure of the source.
You can download the most up to date source from github.
You can download the slackware package from sourceforge.

IMPORTANT: Remove the following files from older usm before installing v3.1.0
/usr/bin/usm
/usr/sbin/usm
/etc/usm/usm.conf
I do not know what "some magic with gettex" means.
You will understand when you see the source. It is broken into many files so they need to be merged into one .po file. I havn't create the .po file yet.
There are also a part (packagetools) where an english word is grepped so this is a challenge i will need help with.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
freestyler
Contributor
Contributor
Posts: 384
Joined: 17 Oct 2013, 14:21
Distribution: Porteus XFCE

Re: USM Unified Slackware Package Manager

Post#118 by freestyler » 04 Mar 2014, 01:22

Nice. Will there eventually be a merge xzm option?
https://www.porteus-apps.org

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: USM Unified Slackware Package Manager

Post#119 by brokenman » 04 Mar 2014, 02:04

Thanks. Yes merge modules is on the list.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: USM Unified Slackware Package Manager

Post#120 by Slaxmax » 04 Mar 2014, 07:18

error

Code: Select all

root@porteus:/home/guest# usm -v

 You are using USM version:  3.1.0

root@porteus:/home/guest# usm -g kdenlive

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

1) kdenlive-0.9.6-x86_64-1ponce.txz
2) kdenlive-0.9.6-x86_64-1sl.txz
#? 1

Processing:   kdenlive-0.9.6-x86_64-1ponce.txz 

Libraries required:  56
Libraries found in system: 52
Libraries to resolve: 4

Processing library: libmlt++.so.3
Processing library: libmlt.so.6
Processing library: libnepomuk.so.4
Processing library: libsoprano.so.4


Processing:   kdelibs-4.10.5-x86_64-2.txz 

Libraries required:  111
Libraries found in system: 96
Libraries to resolve: 15

Processing library: libHalf.so.7
Processing library: libIex.so.7
Processing library: libIlmImf.so.7
Processing library: libIlmThread.so.7
Processing library: libImath.so.7
Processing library: libaspell.so.15
Processing library: libenchant.so.1
Processing library: libjasper.so.1
Processing library: libnepomuk.so.4
Processing library: libnepomukquery.so.4
Processing library: libnepomukutils.so.4
Processing library: libpcreposix.so.0

 More than one package contains:  libpcreposix.so.0
pcre-8.33-x86_64-1.txz         668K   slackware
aaa_elflibs-14.1-x86_64-3.txz  4316K  slackware

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

1) pcre-8.33-x86_64-1.txz
2) aaa_elflibs-14.1-x86_64-3.txz
#? 2
Processing library: libqca.so.2
Processing library: libsoprano.so.4
Processing library: libsopranoclient.so.1


Processing:   soprano-2.9.0-x86_64-1.txz 

Libraries required:  16
Libraries found in system: 8
Libraries to resolve: 8

Processing library: libclucene-core.so.1
Processing library: libiodbc.so.2

 More than one package contains:  libiodbc.so.2
libiodbc-3.52.8-x86_64-1_slack14.1.txz  260K  slackwarepatches
libiodbc-3.52.7-x86_64-2.txz            256K  slackware

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

1) libiodbc-3.52.8-x86_64-1_slack14.1.txz
2) libiodbc-3.52.7-x86_64-2.txz
#? 1
Processing library: libraptor2.so.0
Processing library: librdf.so.0
Processing library: libsoprano.so.4
Processing library: libsopranoclient.so.1
Processing library: libsopranoindex.so.1
Processing library: libsopranoserver.so.1


Processing:   ilmbase-1.0.3-x86_64-1.txz 

Libraries required:  4
Libraries found in system: 3
Libraries to resolve: 1

Processing library: libIex.so.7


Processing:   openexr-1.7.1-x86_64-1.txz 

Libraries required:  11
Libraries found in system: 5
Libraries to resolve: 6

Processing library: libHalf.so.7
Processing library: libIex.so.7
Processing library: libIexMath.so.7
Processing library: libIlmImf.so.7
Processing library: libIlmThread.so.7
Processing library: libImath.so.7


Processing:   aspell-0.60.6-x86_64-1.txz 

Libraries required:  6
Libraries found in system: 5
Libraries to resolve: 1

Processing library: libaspell.so.15


Processing:   enchant-1.6.0-x86_64-1.txz 

Libraries required:  11
Libraries found in system: 8
Libraries to resolve: 3

Processing library: libaspell.so.15
Processing library: libenchant.so.1
Processing library: libhunspell-1.3.so.0


Processing:   jasper-1.900.1-x86_64-3.txz 

Libraries required:  32
Libraries found in system: 31
Libraries to resolve: 1

Processing library: libjasper.so.1


Processing:   aaa_elflibs-14.1-x86_64-3.txz 

Libraries required:  29
Libraries found in system: 28
Libraries to resolve: 1

Processing library: libcups.so.2


Processing:   qca-2.0.2-x86_64-1.txz 

Libraries required:  11
Libraries found in system: 10
Libraries to resolve: 1

Processing library: libqca.so.2


Processing:   libiodbc-3.52.8-x86_64-1_slack14.1.txz 

Libraries required:  61
Libraries found in system: 58
Libraries to resolve: 3

Processing library: libiodbc.so.2
Processing library: libiodbcadm.so.2
Processing library: libiodbcinst.so.2


Processing:   raptor2-2.0.9-x86_64-1.txz 

Libraries required:  20
Libraries found in system: 19
Libraries to resolve: 1

Processing library: libraptor2.so.0


Processing:   redland-1.0.16-x86_64-1.txz 

Libraries required:  24
Libraries found in system: 16
Libraries to resolve: 8

Processing library: libdb-4.4.so
Processing library: libiodbc.so.2
Processing library: libiodbcinst.so.2
Processing library: libltdl.so.7
Processing library: libmysqlclient.so.18

 More than one package contains:  libmysqlclient.so.18
mariadb-5.5.35-x86_64-1_slack14.1.txz  21616K  slackwarepatches
mariadb-5.5.32-x86_64-1.txz            20624K  slackware

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

1) mariadb-5.5.35-x86_64-1_slack14.1.txz
2) mariadb-5.5.32-x86_64-1.txz
#? 1
Processing library: libraptor2.so.0
Processing library: librasqal.so.3
Processing library: librdf.so.0


Processing:   hunspell-1.3.2-x86_64-1.txz 

Libraries required:  8
Libraries found in system: 7
Libraries to resolve: 1

Processing library: libhunspell-1.3.so.0


Processing:   mariadb-5.5.35-x86_64-1_slack14.1.txz 

Libraries required:  12
Libraries found in system: 11
Libraries to resolve: 1

Processing library: libaio.so.1


Processing:   rasqal-0.9.30-x86_64-1.txz 

Libraries required:  20
Libraries found in system: 17
Libraries to resolve: 3

Processing library: libmhash.so.2
Processing library: libraptor2.so.0
Processing library: librasqal.so.3


Processing:   libaio-0.3.109-x86_64-1.txz 

Processing:   mhash-0.9.9.9-x86_64-3.txz 

 WARNING: unresolved dependencies remain. 
libmlt++.so.3
libmlt.so.6
libclucene-core.so.1
/usr/share/usm/funcpackageGet: line 65: declare: 5004K: value too great for base (error token is "5004K")
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

Post Reply