You are not logged in.

#26 2009-03-12 11:12:07

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,577

Re: Arch for Kids

firecat53 wrote:

@whaevr - sorry I wasn't clear - deb2targz makes the package fine, but it will not install:

sudo pacman -U EtoysInstaller.tar.gz
Password:
loading package data...
error: missing package metadata in EtoysInstaller.tar.gz
error: 'EtoysInstaller.tar.gz': invalid or corrupted package

Thanks,
Scott

deb2targz converts a deb package into a simple archive. Pacman packages are simple, but they're not _just_ archives. They have info in files inside the archive about dependencies, version, etc.

The proper way to make an Arch package is with a PKGBUILD. Read the wiki.

Offline

#27 2009-03-12 22:11:02

whaevr
Member
Registered: 2008-03-17
Posts: 182

Re: Arch for Kids

Meh, I tried making a pkgbuild and found getting this to run on 64bit would take a bit more work. I have a pkgbuild for etoys, was easy enough but it also requires "squeak" and possibly a "squeak-image"? There isn't 64 bit versions of squeak available on their download page.  So for this to work on 64bit it would take possibly 2 more pkgbuilds for squeak. There are already builds for squeak in the aur, although they seem like they haven't been updated in a while.

Anyway heres what I have for a pkgbuild for etoys if someone wants to pick it up

# Contributor: whaevr <whaevr[at]archlinux[dot]us>

pkgname=etoys
pkgver=3.0
pkgrel=1
pkgdesc="Educational tool for teaching children powerful ideas in compelling ways"
arch=('i686')
url="http://www.squeakland.org/"
license=('as-is')
depends=('deb2targz' 'squeak') #possibly squeak-basicimage or squeak-fullimage? - in aur
source=(http://www.squeakland.org/content/installers/EtoysInstaller.deb)
md5sums=('969a3237b93d12ed41da5bd80bc1148c')

build() {        
        mkdir -p $startdir/pkg/
        cd $startdir/src
        #Convert deb
        deb2targz *.deb
        #Extract tar file
        tar -xf *.tar.gz
        chmod 755 usr
        #Copy files over
        cp -a ./usr/ $startdir/pkg/
}

Edit.
Got in contact with the etoys devs, they've been really helpful, hopefully I should be able to have this whole thing set up soon. Turns out its not as complicated as it originally sounded. "Ask and you shall receive" tongue

I'll leave the pkgbuild there I suppose but I wouldn't recommend using it for anything I suppose its just a progress report now? smile

Last edited by whaevr (2009-03-13 00:53:35)

Offline

#28 2009-05-15 23:11:00

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: Arch for Kids

iggyst00ge wrote:

He mostly uses Gcompris, ChildsPlay, TuxPaint, and Adventure (the Atari 2600 game).

adventure? there is a package or pkgbuild in archlinux for it?
(I could not find it)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#29 2009-05-15 23:13:12

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: Arch for Kids

whaevr wrote:

I'll leave the pkgbuild there I suppose but I wouldn't recommend using it for anything I suppose its just a progress report now? smile

whaevr, the etoys pkgbuild did not work in arch 32 neither?


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#30 2009-05-16 12:22:33

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

Re: Arch for Kids

My kids 9, 11, and 13 love to use Gnome, especially tweaking their own interface. Can you say googly Xeyes everywhere!

Last edited by tankmcp (2009-05-16 12:23:05)

Offline

#31 2009-05-16 13:02:56

whaevr
Member
Registered: 2008-03-17
Posts: 182

Re: Arch for Kids

Well I did manage to successfully make a pkgbuild for etoys and it ran but the devs suggested not to release it because they guaranteed me that it was going to crash, just because it started it and I saw the opening screen didn't mean it was stable..I never bothered to test it any further either..

So I never released the finished pkgbuild.. neutral

I suppose if you want, I could post it here but like I said devs said it will probably crash.

Last edited by whaevr (2009-05-16 13:05:00)

Offline

Board footer

Powered by FluxBB