Page 1 of 1

Using swaret and qtswaret as a package manager

Posted: 16 Apr 2011, 05:42
by francois
Trying to get glslapt package manager (slapt-get gui interface) to work, I got on that other package manager swaret that was developed in 2001 for slackware. It has the pretention to manage dependencie:
Swaret

The downloads are on Sourceforge:
http://sourceforge.net/projects/swaret/
http://sourceforge.net/projects/qtswaret/

It runs on STUX, and would be currently maintained:
http://www.gpstudio.com/stux/

The QTswaret gui interface is well described in the user manual of STUX:
http://gpstudio.com/stux/packages.html

All you have to do is to transform the two downloads into porteus packages by right clicking on them and install them in your module folder. As qtswaret does not install itself in the kde system menu by itself, selecting the kde menu for system and right clicking on it will permit the creation of a qtswaret item. You can find the binary file in: /opt/kde/bin/.

To get the interface to work you will have to make a copy of swaret.conf from /usr/doc/swaret-1.6.3/ to /etc. More detailed instructions can be found from the readme file in the /usr/doc/swaret-1.6.3/ folder.

Working with it now. Your comment on this package manager will be appreciated.

Re: Using swaret and qtswaret as a package manager

Posted: 18 Apr 2011, 18:18
by fanthom
i think qtswaret is 32bit qt3 version only. tried to compile from sources on 64bit edition without luck :(
no go for me - sorry.

Re: Using swaret and qtswaret as a package manager

Posted: 19 Apr 2011, 15:47
by wread
Maybe françois can post his Poreus version, that we can test it!

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 06:29
by francois
It was not completely installed with post one. Additional files are needed:

swaret - README
-----------------------------------------------------------------------

Software:
- You need Slackware Linux 8.1 or Higher or Current.
- You need slackware/pkgtools
- You need slackware/a/bash.
- You need slackware/n/wget and/or slackware/n/rsync.
- You need other tools like:
>> slackware/a/gawk
>> slackware/a/sed
>> slackware/a/grep
>> slackware/a/procps
>> slackware/a/coreutils or fileutils or textutils
>> slackware/a/util-linux
>> slackware/a/gzip
>> slackware/a/bzip2
>> slackware/ap/bc
>> slackware/l/y

I have the impression that the thing will be a rather big module.

In addition it seems that gslapt is more up to date or in use than swaret.

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 08:58
by Hamza
@ francois ,

Can you add a function to swaret for convert all slack pkgs to xzm module with mksquashfs ?

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 14:20
by francois
Hello Hamza. I would be glad to. But I am really a non-tech user. Sorry.

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 14:25
by Hamza
Would you post the full description of this tool?

Will write a pBuild Script for make swaret in 2 mins ;)

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 15:19
by francois
fanthom wrote:i think qtswaret is 32bit qt3 version only. tried to compile from sources on 64bit edition without luck :(
no go for me - sorry.
glslapt is a very nice gui interface for slap-get. It is available in 64 bit version.

Posted after 1 minute 14 seconds:
Hamza wrote:Would you post the full description of this tool?

Will write a pBuild Script for make swaret in 2 mins ;)
@Hamsa:

You need the two files in the first post from Sourceforge, thus:
http://sourceforge.net/projects/swaret/
http://sourceforge.net/projects/qtswaret/

Here is the complete content of /usr/doc/swaret-1.6.3/readme:
swaret - README
-----------------------------------------------------------------------

Software:
- You need Slackware Linux 8.1 or Higher or Current.
- You need slackware/a/pkgtools
- You need slackware/a/bash.
- You need slackware/n/wget and/or slackware/n/rsync.
- You need other tools like:
>> slackware/a/gawk
>> slackware/a/sed
>> slackware/a/grep
>> slackware/a/procps
>> slackware/a/coreutils or fileutils or textutils
>> slackware/a/util-linux
>> slackware/a/gzip
>> slackware/a/bzip2
>> slackware/ap/bc
>> slackware/l/glibc

After installing swaret:
- swaret Config File : /etc/swaret.conf
Edit /etc/swaret.conf, or set variables with
swaret --set VARIABLE=SETTING (example: "swaret --set VERSION=current")
(swaret.conf example can be found in /usr/doc/swaret-VERSION)
- swaret Log File : /var/log/swaret

For information - how to use swaret - you can use:
- swaret --morehelp
- swaret --manual
- swaret --manual -c
- swaret --faq
- swaret --htus

The Manuals can also be called by:
>> man swaret
>> man swaret.conf

-----------------------------------------------------------------------
E-Mail: swaret-info@lists.sourceforge.net - WWW: swaret.sourceforge.net

I hope this was what you wanted.

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 15:40
by Hamza
Sorry , I don't understand , I must download only two files from SourceForge's servers?

Or maybe , I must download all files from Slackware's Server?

If I understand , your tool must have a lot of libs :)

Will see if i can write a pBuild for compile one module from them.

Posted after 17 minutes 22 seconds:
With qtswaret and swaret pkgs , my script can compile one module in 6s.

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 17:53
by francois
It seems that one would need the two files from sourceforge . However, according to that readme file it seems that you need the other files too (listed in the readme) to make the package manager work.

In fact, by reading the readme file you should know as much as I do, since I did not go further than 1) downloading the two files from sourceforge, 2) turned them into modules and 3) installing and configuring for slackware 13.1 Config File located in /usr/doc/swaret-1.6.3/ folder into/etc/swaret.conf.

I was not able to download and install any package with swaret, maybe because these other files were missing. but I could use the gui qtswaret to look for packages.

That is why I mentioned that gslapt was more functional (for me, by default).

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 18:20
by Hamza
The pBuild script for swaret is finished , I writing a function for copy and patch the /etc/swaret.conf.

Re: Using swaret and qtswaret as a package manager

Posted: 22 Apr 2011, 23:54
by francois
I will be ready to test the overall package as soon as you make it available.

Re: Using swaret and qtswaret as a package manager

Posted: 23 Apr 2011, 07:23
by Hamza
Sorry, still working with swaret.conf , I trying to add a patch for remplace VERSION=10.1 by VERSION=current.

I trying with sed command , but still working , it doesn't works :( .