S L A C K

Under development: PCMCIA, wireless, etc.
Message
Author
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#21 Post by amigo »

Oh, sorry. Last I knew puppy was still using busybox ash. src2pkg does not require the slackware pkgtools at all. It includes code which replaces installpkg so you can install packages as you go, like for building groups or chains of dependent packages. If you have the basic utilities like coreutils, sed and awk you shouldn't have any problems. Is current puppy still using nusybox utils instead of coreutils and util-linux? If you, you may need the 'rev' utility which is not included in busybox.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#22 Post by Pizzasgood »

We have Busybox too. What's in use depends on which stage of booting you're at. Ash is used for the initrd level, then when the filesystem pivots to the pup_xxx.sfs file and pup_save, it switches to Bash.

Also, some of the basic utilities are still the Busybox versions. Sometimes there's also a full version named <name>-FULL.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#23 Post by kirk »

If anyone has slackware 12 installed, can you post your /var/log/packages? Hopefully it's not too big.

Thanks

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#24 Post by amigo »

Pizzasgood -do you have 'rev'? (which rev`).

Kirk, I recently did a pretty minimal install of Slack-12 for testing and compiling some stuff. Particularly the list of packages for X is considerably reduced -even the proto packages are only needed for compiling stuff. And there is no GTK2, python or KDE stuff:

AFX-rox-base-1.0.4-noarch-1
aaa_base-12.0.0-noarch-1
aaa_elflibs-12.0.0-i486-3
aaa_terminfo-5.6-noarch-1
audiofile-0.2.6-i486-2
autoconf-2.61-noarch-1
automake-1.9.6-noarch-1
bash-3.2.017-i486-1
bin-11.1-i486-1
binutils-2.17.50.0.17-i486-1
bison-2.3-i486-1
bitmap-1.0.3-i486-1
bzip2-1.0.4-i486-1
cmake-2.4.6-i486-2
coreutils-6.9-i486-1
cpio-2.5-i486-3
dejavu-ttf-2.17-noarch-1
devs-2.3.1-noarch-25
dialog-1.1_20070528-i486-1
diffutils-2.8.1-i486-3
e2fsprogs-1.39-i486-1
elvis-2.2_0-i486-2
encodings-1.0.2-noarch-1
esound-0.2.38-i486-1
etc-11.1-noarch-6
expat-2.0.1-i486-1
file-4.21-i486-1
findutils-4.2.31-i486-1
flex-2.5.33-i486-3
fluxbox-1.0rc3-i486-1
font-adobe-75dpi-1.0.0-noarch-2
font-alias-1.0.1-noarch-1
font-bitstream-75dpi-1.0.0-noarch-2
font-cursor-misc-1.0.0-noarch-2
font-misc-misc-1.0.0-noarch-2
font-util-1.0.1-i486-1
font-xfree86-type1-1.0.0-noarch-2
fontcacheproto-0.1.2-noarch-1
fontconfig-2.4.2-i486-2
freetype-2.3.4-i486-3
gawk-3.1.5-i486-3
gcc-4.1.2-i486-1
gcc-g++-4.1.2-i486-1
gdk-pixbuf-0.22.0-i486-1
gettext-0.16.1-i486-3
gettext-tools-0.16.1-i486-3
glib-1.2.10-i486-3
glib2-2.12.12-i486-1
glibc-2.5-i486-4
glibc-i18n-2.5-noarch-4
glibc-solibs-2.5-i486-4afx
grep-2.5-i486-3
gtk+-1.2.10-i486-4
gzip-1.3.12-i486-1
iceauth-1.0.1-i486-1
kbd-1.12-i486-2
kbproto-1.0.3-noarch-1
kernel-headers-2.6.21.5_smp-i386-2
lcms-1.16-i486-1
lesstif-0.95.0-i486-2
libICE-1.0.3-i486-1
libSM-1.0.3-i486-1
libX11-1.1.1-i486-4
libXau-1.0.3-i486-1
libXaw-1.0.3-i486-1
libXcursor-1.1.8-i486-1
libXdmcp-1.0.2-i486-1
libXext-1.0.3-i486-1
libXfont-1.2.8-i486-1
libXfontcache-1.0.4-i486-1
libXft-2.1.12-i486-1
libXi-1.0.4-i486-1
libXinerama-1.0.2-i486-1
libXmu-1.0.3-i486-1
libXp-1.0.0-i486-1
libXpm-3.5.6-i486-1
libXrandr-1.2.1-i486-1
libXrender-0.9.2-i486-1
libXres-1.0.3-i486-1
libXt-1.0.5-i486-1
libXv-1.0.3-i486-1
libXxf86misc-1.0.1-i486-1
libfontenc-1.0.4-i486-1
libidl-0.8.7-i486-1
libjpeg-6b-i486-5
libpng-1.2.12-i486-1
libpthread-stubs-0.1-noarch-1
libtermcap-1.2.3-i486-7
libtiff-3.8.2-i486-3
libtool-1.5.24-i486-1
libungif-4.1.4-i486-4
libxcb-1.0-i486-2
libxkbfile-1.0.4-i486-1
libxml2-2.6.28-i486-1
libxslt-1.1.20-i486-2
m4-1.4.9-i486-1
make-3.81-i486-1
mesa-6.5.2-i486-1
mkfontdir-1.0.3-noarch-1
mkfontscale-1.0.3-i486-1
module-init-tools-3.2.2-i486-3
ncurses-5.6-i486-2
package-list.txt
patch-2.5.4-i486-1
pciutils-2.2.5-i486-1
perl-5.8.8-i486-4
pkgtools-12.0.0-noarch-4
popt-1.7-i486-2
procps-3.2.7-i486-2
randrproto-1.2.1-noarch-1
readline-5.2-i486-2
recordproto-1.13.2-noarch-1
reiserfsprogs-3.6.19-i486-2
renderproto-0.9.2-noarch-1
resourceproto-1.0.2-noarch-1
rgb-1.0.1-i486-1
scite-1.50-i486-1
scripts-1.0.1-noarch-1
sed-4.1.5-i486-1
setxkbmap-1.0.3-i486-1
shadow-4.0.3-i486-14
sharutils-4.6.3-i486-1
src2pkg-1.5-i486-1
sudo-1.6.8p12-i486-1
sysfsutils-2.1.0-i486-1
sysklogd-1.4.1-i486-10
sysvinit-2.86-i486-5
sysvinit-functions-8.53-i486-2
sysvinit-scripts-1.2-noarch-13
t1lib-5.1.0-i486-3
tar-1.16.1-i486-1
tcl-8.4.15-i486-1
texinfo-4.8-i486-1
udev-111-i486-5
utempter-1.1.4-i486-1
util-linux-2.12r-i486-6
util-macros-1.1.5-noarch-1
videoproto-2.2.2-noarch-1
viewres-1.0.1-i486-1
which-2.16-i486-1
windowmaker-0.92.0-i486-5
x11-skel-7.1-noarch-6
xauth-1.0.2-i486-1
xcb-proto-1.0-noarch-1
xcursor-themes-1.0.1-noarch-1
xditview-1.0.1-i486-1
xdpyinfo-1.0.2-i486-1
xdriinfo-1.0.1-i486-1
xextproto-7.0.2-noarch-1
xf86-input-keyboard-1.2.0-i486-1
xf86-input-mouse-1.2.1-i486-1
xf86-video-dummy-0.2.0-i486-1
xf86-video-fbdev-0.3.1-i486-1
xf86-video-nv-2.0.96-i486-1
xf86-video-vesa-1.3.0-i486-1
xf86bigfontproto-1.1.2-noarch-1
xf86miscproto-0.9.2-noarch-1
xfontsel-1.0.2-i486-1
xinit-1.0.4-i486-2
xkbcomp-1.0.3-i486-1
xkeyboard-config-0.9-noarch-2
xmodmap-1.0.2-i486-1
xorg-cf-files-1.0.2-noarch-1
xorg-server-1.3.0.0-i486-2
xorg-server-xvfb-1.3.0.0-i486-2
xproto-7.0.10-noarch-1
xrandr-1.2.0-i486-1
xset-1.0.2-i486-1
xsetpointer-1.0.1-i486-1
xsetroot-1.0.1-i486-1
xterm-224-i486-1
zlib-1.2.3-i486-2

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#25 Post by kirk »

Thanks for the list Amigo. I'm trying to get slapt-get to only download the dependencies that are needed. Puppy doesn't use the exact same packages, but most are probably close enough.

Puppy does have the rev command. But like pizza said, puppy uses a mix of busy box and the full versions many commands. Also, it's kind of an eclectic collection of commands, so if one command from coreutils is there it doesn't mean all of them are.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#26 Post by amigo »

Thanks for the info. src2pkg uses only the very basic syntax for all commands and I'm pretty sure that puppy will have them all -stuff like cat, cut, grep, egrep, find and a very little bit of sed and awk. Some of the commands are included with the program in the form of statically-compiled programs(just tar and a few commands supplied by busybox), but proper functioning (of installwatch) depends on having shared-lib versions of the other commands -all of them very basic. Because I have been working towards functionality in a bootstrap environment, I recently wrote replacements for 14 utilities in pure BASH, using only the built-in arithmetic and shell/string expansion functions to do all the work. I haven't incorporated them into the program yet, but probably will begin to do so soon, at least for some of them. I also have hacked ash/dash to include about 40 utilities.
The idea is to be able to compile a complete distro from sources, starting with just BASH/ash/dash, gcc and make -all statically compiled. Then, one would begin by compiling glibc, coreutils and utils-linux. At that point one would compile src2pkg and begin using it to create packages for the rest(and for the first ones after recompiling them).
This is all pretty low priority -I do everything possible to keep src2pkg in a very stable condition and safe to run on your regular desktop installation without whacking anything. Knock-on-wood -I've never had a single report of src2pkg breaking anyone's system. Some BASH gurus don't like it because it makes their build-script-writing talents unnecessary about 80% of the time.

kirk
Posts: 1553
Joined: Fri 11 Nov 2005, 19:04
Location: florida

#27 Post by kirk »

Took a stab at getting slapt-get/Gslapt working with 3.00.

http://www.murga-linux.com/puppy/viewto ... 897#141897

User avatar
tronkel
Posts: 1116
Joined: Fri 30 Sep 2005, 11:27
Location: Vienna Austria
Contact:

Slackware package management using Swaret

#28 Post by tronkel »

Another approach to Slackware package management in the new Puppy 3.00 Final is to replace slapt-get with swaret, a command-line tool in the style of apt-get. Swaret seems to do a far better job than slapt-get as regards dependency management - much nearer to the abilities that we have become accustomed to with apt-get..

I had an initial go with this last night. After one abortive attempt, I finally managed to get something working here. I successfully installed gpg and Thunderbird using this system. This is what I did.

Install pkgtools from a dotpet by converting a Slackware 12 tgz to a dotpet. You can get the pkgtools tgz package from a Slackware 12 mirror. Then use tgz2pet to do the conversion.

Download the latest swaret 1.6.3-2 from the swaret area in Sourceforge and install this using pkgtool.

In a console do:
cp /etc/swaret.conf.new to /etc/swaret.conf

Then edit the line in swaret.conf that reads VERSION=10.2 to read VERSION=12.0 (i.e. for Slackware 12.0)

Then do a swaret update at the cli:
swaret --update

Let it do its thing - it can take a while on an old system. Ignore a couple of error messages.

Commands are:
swaret --install
swaret --remove
swaret --upgrade
swaret --update
swaret --list


Then you can try an install of say gnupg and see how you get on.

Don't install any dependency that has anything to do with Puppy's X-Windows system.

I have got a lot more tweaking to do on this. I'll post what I find later.
Life is too short to spend it in front of a computer

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#29 Post by amigo »

Only trouble with swaret is that it is no longer being developed and it does require perl. recently someone started a new slack pkg mgmnt program called slackroll.

Post Reply