Using swaret and qtswaret as a package manager

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Using swaret and qtswaret as a package manager

Post#1 by francois » 16 Apr 2011, 05:42

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.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Using swaret and qtswaret as a package manager

Post#2 by fanthom » 18 Apr 2011, 18:18

i think qtswaret is 32bit qt3 version only. tried to compile from sources on 64bit edition without luck :(
no go for me - sorry.
Please add [Solved] to your thread title if the solution was found.

User avatar
wread
Module Guard
Module Guard
Posts: 1065
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Using swaret and qtswaret as a package manager

Post#3 by wread » 19 Apr 2011, 15:47

Maybe françois can post his Poreus version, that we can test it!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Using swaret and qtswaret as a package manager

Post#4 by francois » 22 Apr 2011, 06:29

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.
Last edited by francois on 22 Apr 2011, 14:19, edited 1 time in total.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Using swaret and qtswaret as a package manager

Post#5 by Hamza » 22 Apr 2011, 08:58

@ francois ,

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

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Using swaret and qtswaret as a package manager

Post#6 by francois » 22 Apr 2011, 14:20

Hello Hamza. I would be glad to. But I am really a non-tech user. Sorry.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Using swaret and qtswaret as a package manager

Post#7 by Hamza » 22 Apr 2011, 14:25

Would you post the full description of this tool?

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

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Using swaret and qtswaret as a package manager

Post#8 by francois » 22 Apr 2011, 15:19

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.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Using swaret and qtswaret as a package manager

Post#9 by Hamza » 22 Apr 2011, 15:40

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.
NjVFQzY2Rg==

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Using swaret and qtswaret as a package manager

Post#10 by francois » 22 Apr 2011, 17:53

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).
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Using swaret and qtswaret as a package manager

Post#11 by Hamza » 22 Apr 2011, 18:20

The pBuild script for swaret is finished , I writing a function for copy and patch the /etc/swaret.conf.
NjVFQzY2Rg==

User avatar
francois
Contributor
Contributor
Posts: 4946
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Using swaret and qtswaret as a package manager

Post#12 by francois » 22 Apr 2011, 23:54

I will be ready to test the overall package as soon as you make it available.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: Using swaret and qtswaret as a package manager

Post#13 by Hamza » 23 Apr 2011, 07:23

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 :( .
NjVFQzY2Rg==

Post Reply