Page 8 of 25

Re: USM Unified Slackware Package Manager

Posted: 24 Feb 2014, 13:31
by brokenman
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.

Re: USM Unified Slackware Package Manager

Posted: 24 Feb 2014, 17:11
by brokenman
+-------------------------
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

Re: USM Unified Slackware Package Manager

Posted: 25 Feb 2014, 05:47
by Slaxmax
@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

Re: USM Unified Slackware Package Manager

Posted: 25 Feb 2014, 12:01
by bdheeman
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.

Re: USM Unified Slackware Package Manager

Posted: 25 Feb 2014, 16:40
by brokenman
@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.

Re: USM Unified Slackware Package Manager

Posted: 26 Feb 2014, 09:00
by tome
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.

Re: USM Unified Slackware Package Manager

Posted: 26 Feb 2014, 11:50
by brokenman
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.

Re: USM Unified Slackware Package Manager

Posted: 27 Feb 2014, 05:24
by Slaxmax
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.

Re: USM Unified Slackware Package Manager

Posted: 01 Mar 2014, 01:26
by brokenman
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.

Re: USM Unified Slackware Package Manager

Posted: 01 Mar 2014, 02:58
by Slaxmax
Ok, without errors now.

Thanks

Re: USM Unified Slackware Package Manager

Posted: 01 Mar 2014, 03:53
by neko
@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.

Re: USM Unified Slackware Package Manager

Posted: 03 Mar 2014, 15:10
by brokenman
+-------------------------
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.

Re: USM Unified Slackware Package Manager

Posted: 04 Mar 2014, 01:22
by freestyler
Nice. Will there eventually be a merge xzm option?

Re: USM Unified Slackware Package Manager

Posted: 04 Mar 2014, 02:04
by brokenman
Thanks. Yes merge modules is on the list.

Re: USM Unified Slackware Package Manager

Posted: 04 Mar 2014, 07:18
by Slaxmax
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")