Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delicate & WindowMaker
12-09-2011, 02:16 PM
Post: #1
Delicate & WindowMaker
A test with another lightweight Window Manager and it seems to work allright.
Why another Window Manager? just a simple check to look if it works Smile
If someone likes it (it's not my type of WM), I can post the PKGBUILD.

Here's a screenshot.

[Image: 3366ab163627788.jpg]

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 11:42 AM (This post was last modified: 12-10-2011 12:41 PM by nl2stk.)
Post: #2
RE: Delicate & WindowMaker
(12-09-2011 07:15 PM)Compact Wrote:  But is it possible that you also post the original PKGBUILD's so that I can
learn from the differences ? I'd welcome that very much.

That's a great idea :]

Just a few things on the forehand which is good to know and perhaps Tavvva can add some things more.
Im still learning myself. It's always better to download the source.tar.gz and most of them have aan 'Install' or ' readme' file.
These contains (most of the times) info about the dependencies. Sometimes you need less dependencies then the PKGBUILDS from Archlinux.org or the AUR. Supertux is an example, it works fine without OpenGL stuff. Another thing is that you can use it for obtaining the MD5SUM. Sometimes it won't hurt to look further on the original site to look for an older version if the latest verion uses dependencies that Delicate doesn't have. Osmo is an example, the latest verion uses more dependencies and is much bigger. Better an older version than no version at all :] But I'm alway try to make PKGBUILDs with the latest versions.

More info:
(a) Delicate uses uclibc instead of glibc and sometimes you can replace them.
(b) xft can be replaced by xfont
© 386 modus, to make smaller compiles (strange but true Tavvva have seen it with some tests) and to be compatible with older machines. This is sometimes a tricky one.
If the script containts: ./configure .... than try to add: --host=$CHOST --build=$CHOST.
if that doesn't work (I had that once with the sega emulator) than use this instead--host=i386-pc-linux-gnu --build=i386-pc-linux-gnu
Sometimes there is no './configure' and it's just 'make' and 'make install in that cases I put the next sentence before the 'make' command: sed -i "s/CC=gcc/CC=gcc -march=i386/g" makefile
Most of the times it works, and sometimes it doesn't.
(d) Stripping down some things. A typical Arch PKGBUILD looks like this:

Code:
build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

In Delicate I make it like this:

Code:
build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --host=$CHOST --build=$CHOST
  make ||  return 1
  make DESTDIR="$pkgdir" install
}
Other things like the Architecture etc which isn't needed for Delicate I'll removed that too.
If a package contains more scripts (install things or patches) next to the original PKGBUILD I avoid them, I'm not to sure if they contains 'Arch-only' stuff. And to be honest, it's now above my knowledge... perhaps in the future. I still have a lot too learn :]



NB: I've added Enigma to the PKGBUILD section in the forum. The orignal Arch PKGBUILD looks like this:

Code:
# $Id$
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jason Chu <jason@archlinux.org>
# Maintainer: schuay <jakob.gruber@gmail.com>

pkgname=enigma
pkgver=1.04
pkgrel=3
pkgdesc=" Enigma is a puzzle game involving falling blocks"
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~sgtatham/enigma/"
license=('custom')
depends=('ncurses')
source=("http://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d')


build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --localstatedir=/var
  sed -i "s/root\.games/root.root/" Makefile
  make
}
package() {
  cd $srcdir/$pkgname-$pkgver
  mkdir -p $pkgdir/usr/bin
  make prefix=$pkgdir/usr localstatedir=$pkgdir/var install
  install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/${pkgname}/license
}

Some things are removed, but I've added a file called enigma-xterm. This one makes an entry in the console games section in the IceWM menu.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2011, 01:57 PM
Post: #3
RE: Delicate & WindowMaker
(12-09-2011 07:15 PM)Compact Wrote:  flwm also seems to be pretty light. TinyCore is using it...........

flwm uses the fltk(1) library which isn't in the repository (yet).

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication