create KDE (Puppy2)

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

create KDE (Puppy2)

#1 Post by MU »

The steps are basically the same in Puppy2 and Puppy1.
But Puppy1 would require additional steps.
You had to add to the boot-script:

mkdir /opt
mkdir /opt/kde
ln -s /usr/bin /opt/kde/bin
ln -s /usr/lib /opt/kde/lib
ln -s /usr/include /opt/kde/include
ln -s /usr/share /opt/kde/share
Maybe(but I am not shure), you won't do that, if you create a /etc/kderc like this:
[Directories]
prefixes=/usr

------------
Puppy2:
goto http://kde.org

Download latest Slackware-binaries (10.2 , i486).

Save all tar.gz to a folder kde352
I created that on /mnt/sda13/

Run this script in this folder (alter /mnt/sda13/kde352 to your own path)

Code: Select all

#!/bin/bash

ls *.tgz|while read a
do
rm -f install/doinst.sh
tar -xzvf $a

cat install/doinst.sh  | sed "s#opt/kde#/mnt/sda13/kde352/opt/kde#g" | sed "s#etc/ld.so.conf#/mnt/sda13/kde352/etc/ld.so.conf#g">install/muinst.sh&&sh install/muinst.sh
mv install/muinst.sh install/$a-muinst.sh

done

It will expand the archives, and rewrite the installscripts.
These scripts will not install, but only create all symlinks needed.

Then create a new folder /xxx/topack , and move there the extracted etc opt usr
Now create the squashfs-file:
cd /xxx/
mksquashfs topack devx_003.sfs

devx_003.sfs currently the only file that gets automatically mounted in Puppy2Alpha11April2006, at least on my system.

In Puppy1, you would use:
cd /xxx/topack
mksquashfs usr usr_more.sfs
You had to add etc to a dotpup as /root/.etc

Move it to where the pup_003.sfs is, and reboot (Puppy1: where pup001 is).
In jwm, type "startkde" in a console.
This will fail, giving you hints.

Add /opt/kde/lib to /etc/ld.so.conf
install libgl.so from the wiki.
create a /root/.profile:
export PATH=$PATH:/opt/kde/bin:/opt/kde3/bin

Create /etc/kderc
[Directories]
prefixes=/opt/kde3

The kde3 -entries will enable KDE to use KDE-applications that were compiled for /opt/kde3 , like Koffice from Suse-Linux.

reboot, run ldconfig

If KDE basically works, run some applications from a consolewindow, to find out more missing libraries.

--------------
scribble: my todo-list

libvorbisenc
liblcms

libHalf.so.2 libIex.so.2.0.2 libImath.so.2
libHalf.so.2.0.2 libIlmImf.so.2 libImath.so.2.0.2
libIex.so.2 libIlmImf.so.2.0.2


libexif.so.10 (hat locale)

.profile
/etc/kderc
ld.so.conf


wxB-Men

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#2 Post by Nathan F »

Mark,
I've got lcms over at grafpup.com.
libHalf.so.2 libIex.so.2.0.2 libImath.so.2
libHalf.so.2.0.2 libIlmImf.so.2 libImath.so.2.0.2
libIex.so.2 libIlmImf.so.2.0.2
These are all part of the OpenEXR package, also over at grafpup.com, but I haven't checked version numbers against what you need. If it doesn't match then look for a matching OpenEXR package. This is a high depth image format used mainly in motion picture work.

I'm pretty sure I already have libvorbisenc also, probably in my new multimedia squashfile. I'll check. Hopefully this saves you some time.

Nathan
Bring on the locusts ...

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#3 Post by MU »

thanks, I already got them from debian.
My scribble is just a reminder for me, to add them to a dotpup.
I don't want to rebuild the squashfs for maybe 1 MB of missing libs, as it takes a very long time with 1.4 GB ;)

I currently upload the devx_003.sfs, might be online in 6 hours.
it is splitted in pieces of 50 MB, so I have to add a small script, that will download it, set up the configfiles and so on.
Just small stuff, but I won't do that today, so it will be available tomorrow.

Thanks, Mark

Post Reply