We move forth to SliTaz 5.0 release. Frankly, SliTaz Cooking is just unusable, I love my SliTaz 4.0 and can't work under SliTaz Cooking. But I want to develop some packages to include not to Stable, but to Cooking repo.
According to wiki article I've installed tazdev and chroot environment, and setup cook. On my Stable system I can prepare packages for Stable. But here some strangeness.
Path to my Wok is /home/slitaz/cooking/chroot/home/slitaz/wok
But I use Stable system and my Cooking chroot is builded with Stable packages! Here are they:
/home/slitaz/cooking/chroot/var/cache/tazpkg/4.0/packages
I create receipts on my Stable and debug them, add build depens, keys and patches until is all Ok. Then I can move my receipts to Wok.
Not the fact that successfully builded (in Stable) package will buids in Cooking using Cooking bot.
I want to build packages like Cooking bot do it, i.e. I want to use Cooking packages.
How to do it?
$ su
# tazdev chroot
/# cook gtk+3
...
Try to swith to Cooking:
/# tazpkg set-release cooking
/# cook setup --forced
/# cook gtk+3
give me errors:
root@slitaz:/# cook gtk+3
Cook: gtk+3 3.6.4
================================================================================
QA: checking package receipt...
Disabling -pipe compile flag: 23336 RAM
Checking build dependencies...
Missing dep (wok/pkg): glib-dev 2.30.2
Missing dep (wok/pkg): atk-dev 2.2.0
Missing dep (wok/pkg): atk 2.2.0
Missing dep (wok/pkg): pango-dev 1.29.4
Missing dep (wok/pkg): pango 1.29.4
Missing dep (wok/pkg): cairo-dev 1.10.2
Missing dep (wok/pkg): cairo 1.10.2
Missing dep (wok/pkg): gdk-pixbuf-dev 2.24.0
Missing dep (wok/pkg): gdk-pixbuf 2.24.0
ERROR: missing dep 9
ERROR: cook failed
Debug information
================================================================================
Cook date: 2013-01-24 15:23
ERROR: missing dep 9
ERROR: cook failed
================================================================================
root@slitaz:/#
BUT here is packages versions from Stable! While I am in Cooking:
root@slitaz:/# cat /etc/slitaz-release
cooking
root@slitaz:/# tazpkg info glib
Tazpkg information
================================================================================
Package : glib
Version : 2.32.4
Category : x-window
Short desc : C routines.
Maintainer : pankso@slitaz.org
Depends : pcre libffi libxml2 elfutils
Build deps : pcre-dev libffi-dev gettext zlib-dev perl python python-dev
elfutils-dev libxml2-dev libxml2-tools
Web site : http://www.gtk.org/
================================================================================
How can I fix it?
Ideal solution is when I can have both Cooking and Stable Chroot and swith between them.
Any ideas?