Showing posts with label tazwok. Show all posts
Showing posts with label tazwok. Show all posts

2012-11-04

Slitaz -- cross testsuite

cross testsuite

[CHECKING] file test.out
test.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped


root@slitaz:/# cross testsuite
Tools prefix : --prefix=/cross/arm/tools
Target sysroot : --with-sysroot=/cross/arm/sysroot
[COMPILING] arm-slitaz-linux-gnueabi-gcc -v -Wall -o test.out test.c
Using built-in specs.
COLLECT_GCC=arm-slitaz-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/lto-wrapper
Target: arm-slitaz-linux-gnueabi
Configured with: ../gcc-4.6.3/configure --prefix=/cross/arm/tools --libexec=/cross/arm/tools/lib --target=arm-slitaz-linux-gnueabi --enable-shared --enable-c99 --enable-long-long --enable-__cxa_atexit --with-system-zlib --enable-plugin --disable-multilib --disable-libssp --disable-checking --disable-werror --with-pkgversion=SliTaz --with-bugurl=https://bugs.slitaz.org/ --with-sysroot=/cross/arm/sysroot --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-languages=c,c++
Thread model: posix
gcc version 4.6.3 (SliTaz)
COLLECT_GCC_OPTIONS='-v' '-Wall' '-o' 'test.out' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp'
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/cc1 -quiet -v test.c -quiet -dumpbase test.c -march=armv6 -mfloat-abi=hard -mfpu=vfp -auxbase test -Wall -version -o /tmp/ccDffF34.s
GNU C (SliTaz) version 4.6.3 (arm-slitaz-linux-gnueabi)
compiled by GNU C version 4.6.3, GMP version 5.0.4, MPFR version 3.1.0-p4, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
ignoring nonexistent directory "/cross/arm/sysroot/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/include
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/include-fixed
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/../../../../arm-slitaz-linux-gnueabi/include
/cross/arm/sysroot/usr/include
End of search list.
GNU C (SliTaz) version 4.6.3 (arm-slitaz-linux-gnueabi)
compiled by GNU C version 4.6.3, GMP version 5.0.4, MPFR version 3.1.0-p4, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=65536
Compiler executable checksum: c79421fa632f9d876a099c488d2165db
COLLECT_GCC_OPTIONS='-v' '-Wall' '-o' 'test.out' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp'
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/../../../../arm-slitaz-linux-gnueabi/bin/as -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o /tmp/cctOLj6s.o /tmp/ccDffF34.s
COMPILER_PATH=/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/../../../../arm-slitaz-linux-gnueabi/bin/
LIBRARY_PATH=/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/:/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/../../../../arm-slitaz-linux-gnueabi/lib/:/cross/arm/sysroot/lib/:/cross/arm/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-Wall' '-o' 'test.out' '-march=armv6' '-mfloat-abi=hard' '-mfpu=vfp'
/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/collect2 --sysroot=/cross/arm/sysroot --eh-frame-hdr -dynamic-linker /lib/ld-linux.so.3 -X -m armelf_linux_eabi -o test.out /cross/arm/sysroot/usr/lib/crt1.o /cross/arm/sysroot/usr/lib/crti.o /cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/crtbegin.o -L/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3 -L/cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/../../../../arm-slitaz-linux-gnueabi/lib -L/cross/arm/sysroot/lib -L/cross/arm/sysroot/usr/lib /tmp/cctOLj6s.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /cross/arm/tools/lib/gcc/arm-slitaz-linux-gnueabi/4.6.3/crtend.o /cross/arm/sysroot/usr/lib/crtn.o

[CHECKING] file test.out
test.out: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped

[CHECKING] readelf -A test.out
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "6"
Tag_CPU_arch: v6
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-1
Tag_FP_arch: VFPv2
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align_needed: 8-byte
Tag_ABI_align_preserved: 8-byte, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
Tag_ABI_VFP_args: VFP registers
Tag_DIV_use: Not allowed
root@slitaz:/#

2011-12-14

Slitaz -- cook

SliTaz Cooker

Package:

Summary

Running command  : cook:pkgdb
Wok revision     : 11399
Commits to cook  : 0
Current cooklist : 0
Broken packages  : 275
Blocked packages : 0
Packages: 3228 in the wok - 3227 cooked - 1 unbuilt - Server date: 2011-12-15 04:20
99%
Latest: cookorder.log commits.log installed.diff - Architecture i486: toolchain.log
[..] 

DB: broken - Packages: 275

PyQt-x11-gpl
Qt4-qca-ossl
abiword
alarm-clock
amule
aqualung
ardour
ario
arora
asterisk-addons
atkmm
attica
audacious
audacious-plugins
audacity
automoc4
avant-window-navigator
awesome
blueman
boinc
brasero
bridge-utils-dev
cairo-clock
cairo-compmgr
cairo-dock
cairo-dock-plugins
cdrdao
celestia
cinepaint
claws-mail-archive
claws-mail-attremover
claws-mail-notification
claws-mail-spam_report
claws-mail-vcalendar
clutter
clutter-gtk
cndrvcups-common
codeblocks
compiz-compizconfig-python
compiz-core
compiz-libcompizconfig
compiz-plugins-main
couchdb
cream
cups-pam
devilspie
dia
doxygen
dvdauthor
dvgrab
ejabberd
electricsheep
enigma
erlang
evilvte
exo
extrema
fcitx
fcitx-configtool
fcitx-googlepinyin
filezilla
foomatic-filters
fotoxx
frozen-bubble
gajim
galculator
gamin
gcc+gcj
gcompris
geany-plugins
geanyvc
gecko-mediaplayer
gejengel
ggseq
giflib
gimp
glade-perl
gliv
gmpc
gnome-games
gnome-menus
gnome-mplayer
gnome-ppp
gnome-python
gnome-python-desktop
gnome-vfs-monikers
gnumeric
gnuplot
gnustep-back
gnustep-base
gobby
goffice
gource
gparted
gperiodic
graphviz
graveman
grisbi
groff
gsmartcontrol
gtk-vnc
gtkballs
gtkdialog
gtkglext
gtkhtml2_viewer
gtkmm
gtkpod
gyrus
hplip
hydrogen
imagemagick
inkscape
json-glib
keepassx
kino
klavaro
leafpad
libbonobo
libbonoboui
libdbusmenu-qt
libdesktop-agnostic
libdv
libfm
libftdi
libglademm
libgnome
libgnomecanvas
libgnomeprint
libgnomeprintui
libgnomeui
libproxy
libquicktime
libqwt5-qt4
libsdl-perl
libsexymm
libunique
libvalhalla
libxfce4ui
libxfcegui4
libxslt-python
lincity-ng
lingot
linphone
linux-libre-api-headers
linuxdcpp
lirc-dev
lmms
lostirc
lxterminal
lyx
mana
matchbox-panel-manager
matplotlib
midori
miro
mixxx
mjpegtools
mousepad
mpd
mplayer
mplayerplug-in
mscore
mupen64plus
net6
netsurf
nitrogen
notify-python
obconf
ogmrip
opencpn
openerp-client
openvas-administrator
openvas-manager
ophcrack
orage
pangomm
parole
pcmanfm
pcsxr-svn
pgadmin
pidgin-facebookchat
pidgin-libnotify
pidgin-musictracker
pingus
plotdrop
pnm2ppa
poedit
polkit-qt
poppler
poppler-qt4
prboom
psycopg2
pygobject
pygoocanvas
pygtk
python-flup
python-pygame
python-pygraphviz
pywebkitgtk
qca
qjackctl
qoauth
qtwitter
quodlibet
rapidsvn
raptor
rdpdesk
remmina-plugins
rssyl
sakura
scim-pinyin
scim-tables
scribus
seamonkey
seed
slitaz-i18n
smplayer
sonata
soprano
stellarium
stjerm-terminal
strigi
superswitcher
supertux
surf
swfdec
sylpheed-full
tazweb
terminal
thunar
thunar-archive-plugin
thunar-vfs
thunar-volman
thunderbird
tilda
tint2
truecrypt
tuxmath
tuxtype
ufraw
unison
urlgrabber
vidalia
virtualbox-ose
visualboyadvance
vlc
vte
wbar2
webkit-r
webkit-r-dev
wesnoth
wxdfast
xarchive
xchm
xfburn
xfce-utils
xfce4-appfinder
xfce4-mixer
xfce4-panel
xfce4-ristretto
xfce4-session
xfce4-settings
xfce4-taskmanager
xfconf
xfdesktop
xfmedia
xfmpc
xfprint
xfwm4
xournal
xtrkcad
yajl
yaws
zbar
zenity 
 
. 

2011-07-27

Slitaz - qt480β / g++ / wayland


g++: unrecognized option '-0s'

20110730

http://hg.slitaz.org/tazwok/rev/b1584d8f70a7

tazwok changeset 535:b1584d8f70a7

tazwok.conf: Fixed typo.
author Christopher Rogers
date Tue May 24 21:08:47 2011 +0000 (2 months ago ago)
parents 753ea2c0fe0f
children 89e392194b30
files examples/tazwok.conf
line diff
     1.1 --- a/examples/tazwok.conf Mon May 23 20:47:03 2011 +0000
     1.2 +++ b/examples/tazwok.conf Tue May 24 21:08:47 2011 +0000
     1.3 @@ -46,7 +46,7 @@ 
     1.4  # with same hardware and newest of the same family :
     1.5  #CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
     1.6  #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
     1.7 -CFLAGS="-march=$ARCH -0s -pipe -fomit-frame-pointer"
     1.8 +CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
     1.9  CXXFLAGS="$CFLAGS"
    1.10  
    1.11  # Default tool prefix.
 
 
1.
root@slitaz:/home/slitaz/cooking/wok/qt4/qt4-4.8.0-beta1/config.tests/qpa/wayland# make
g++ -c -march=i486 -0s -pipe -fomit-frame-pointer -O2 -Wall -W  -I/usr/share/qt/mkspecs/linux-g++ -I. -o wayland.o wayland.cpp
g++: unrecognized option '-0s'
g++ -Wl,-O1 -Wl,-rpath,/usr/lib -o wayland wayland.o    

2.
root@slitaz:/home/slitaz/cooking/wok/qt4/qt4-4.8.0-beta1/config.tests/qpa/wayland# cat Makefile | head -40
#############################################################################
# Makefile for building: wayland
# Generated by qmake (2.01a) (Qt 4.8.0) on: ?? 7? 28 09:55:03 2011
# Project:  wayland.pro
# Template: app
# Command: /home/slitaz/cooking/wok/qt4/qt4-4.8.0-beta1/bin/qmake -o Makefile wayland.pro
#############################################################################

####### Compiler, tools and options

CC            = gcc
CXX           = g++
DEFINES       =
CFLAGS        = -march=i486 -0s -pipe -fomit-frame-pointer -O2 -Wall -W $(DEFINES)
CXXFLAGS      = -march=i486 -0s -pipe -fomit-frame-pointer -O2 -Wall -W $(DEFINES)
INCPATH       = -I/usr/share/qt/mkspecs/linux-g++ -I.
LINK          = g++
LFLAGS        = -Wl,-O1 -Wl,-rpath,/usr/lib
LIBS          = $(SUBLIBS)  
AR            = ar cqs
RANLIB        =
QMAKE         = /home/slitaz/cooking/wok/qt4/qt4-4.8.0-beta1/bin/qmake
TAR           = tar -cf
COMPRESS      = gzip -9f
COPY          = cp -f
SED           = sed
COPY_FILE     = $(COPY)
COPY_DIR      = $(COPY) -r
STRIP         = strip
INSTALL_FILE  = install -m 644 -p
INSTALL_DIR   = $(COPY_DIR)
INSTALL_PROGRAM = install -m 755 -p
DEL_FILE      = rm -f
SYMLINK       = ln -f -s
DEL_DIR       = rmdir
MOVE          = mv -f
CHK_DIR_EXISTS= test -d
MKDIR         = mkdir -p

####### Output directory


3.
root@slitaz:/home/slitaz/cooking/wok/qt4/qt4-4.8.0-beta1/config.tests/qpa/wayland# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-pc-linux-gnu/4.5.2/lto-wrapper
Target: i486-pc-linux-gnu
Configured with: /home/slitaz/cooking/wok/gcc/gcc-4.5.2/configure --enable-nls --enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-lto --disable-bootstrap libexecdir=/usr/lib --enable-threads=posix --with-tune=i486 i486-pc-linux-gnu
Thread model: posix
gcc version 4.5.2 (GCC)

4.
root@slitaz:~# head -50 /etc/slitaz/tazwok.conf | tail
# Cook compatible packages partially optimized for your own hardware :
#CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
# Where ARCH=your arch
#
# Cook packages fully optimized for your hardware - Warning, compatible only
# with same hardware and newest of the same family :
#CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
#CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
CFLAGS="-march=$ARCH -0s -pipe -fomit-frame-pointer"
CXXFLAGS="$CFLAGS"
root@slitaz:~#
.

2011-05-29

Slitaz -- crosstool-ng / bb-log




1.
root@slitaz:~# tazpkg info crosstool-ng

Tazpkg information
================================================================================
Package    : crosstool-ng
Version    : 1.9.1
Category   : development
Short desc : Tool to Build toolchains.
Maintainer : pascal.bellard@slitaz.org
Depends    : slitaz-toolchain
Build deps : flex cvs gawk texinfo
Web site   : http://ymorin.is-a-geek.org/projects/crosstool
================================================================================

root@slitaz:~# ls -l /home/slitaz/cooking/packages-incoming/crosstool-ng-1.9.1.tazpkg
-rw-r--r--    1 root     root       1707908 May 29 16:22 /home/slitaz/cooking/packages-incoming/crosstool-ng-1.9.1.tazpkg

2.
 root@slitaz:~# ct-ng -v
GNU Make 3.82
Built for i686-pc-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


3.
#!/Bb/Log: /usr/bin/tazwok
tazwok cook crosstool-ng
日 5月 29 16:21:44 UTC 2011
Cooking crosstool-ng
Cleaning crosstool-ng
Looking for build dependencies

Installing missing packages :  cvs gawk texinfo

cvs-1.11.23 already in the cache : /var/cache/tazpkg/cooking/packages

Installation of : cvs
================================================================================
Copying cvs... [ OK ]
Extracting cvs... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing cvs... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
cvs (1.11.23) is installed.

gawk-3.1.8 already in the cache : /var/cache/tazpkg/cooking/packages

Installation of : gawk
================================================================================
Copying gawk... [ OK ]
Extracting gawk... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing gawk... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
gawk (3.1.8) is installed.

texinfo-4.13a already in the cache : /var/cache/tazpkg/cooking/packages

Installation of : texinfo
================================================================================
Copying texinfo... [ OK ]
Extracting texinfo... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing texinfo... [ OK ]
Removing all tmp files... [ OK ]
================================================================================

texinfo (4.13a) is installed.

Checking for source tarball: crosstool-ng

Downloading from http://ymorin.is-a-geek.org/download/crosstool-ng/crosstool-ng-1.9.1.tar.bz2...

Untaring source tarball
Repacking sources in .tar.lzma format
Executing compile_rules

Checking for 'grep'... /bin/grep
Checking whether '/bin/grep' supports -E... yes
Checking for 'sed'... /bin/sed
Checking whether '/bin/sed' supports -i and -e... yes
Checking for 'bash'... /bin/bash
Checking for 'cut'... /usr/bin/cut
Checking for 'install'... /usr/bin/install
Checking for 'make'... /usr/bin/make
Checking for 'gcc'... /usr/bin/gcc
Checking for 'awk'... /usr/bin/awk
Checking for 'bison'... /usr/bin/bison
Checking for 'flex'... /usr/bin/flex
Checking for 'makeinfo'... /usr/bin/makeinfo
Checking for 'automake'... /usr/bin/automake
Checking for 'libtool'... /usr/bin/libtool
Checking for 'stat'... /bin/stat
Checking for 'aria2c'... no
Checking for 'curl'... /usr/bin/curl
Checking for 'cvs'... /usr/bin/cvs
Checking for 'patch'... /usr/bin/patch
Checking for 'tar'... /bin/tar
Checking for 'gzip'... /usr/bin/gzip
Checking for 'bzip2'... /usr/bin/bzip2
Checking for 'lzma'... /usr/bin/lzma
Checking for 'readlink'... /usr/bin/readlink
Checking for 'objcopy'... /usr/bin/objcopy
Checking for 'objdump'... /usr/bin/objdump
Checking for 'readelf'... /usr/bin/readelf
Checking for 'patch'... /usr/bin/patch
Checking for 'ncurses/ncurses.h'... no
Checking for 'ncurses/curses.h'... no
Checking for 'ncurses.h'... yes
Checking for 'libncursesw.so'... yes
Computing version string... 1.9.1
Building up Makefile... done

crosstool-NG configured as follows:

  PREFIX='/usr'
  BINDIR='/usr/bin'
  LIBDIR='/usr/lib/ct-ng-1.9.1'
  DOCDIR='/usr/share/doc/ct-ng-1.9.1'
  MANDIR='/usr/share/man'

Now run:
  make
  make install
  SED    'ct-ng'
  SED    'scripts/crosstool-NG.sh'
  SED    'scripts/saveSample.sh'
  GEN    'paths.mk'
  SED    'scripts/showTuple.sh'
  SED    'docs/ct-ng.1'
  GZIP   'docs/ct-ng.1.gz'
  MKDIR   '/home/slitaz/cooking/wok/crosstool-ng/crosstool-ng-1.9.1/_pkg/usr/bin/'
  RMDIR   '/home/slitaz/cooking/wok/crosstool-ng/crosstool-ng-1.9.1/_pkg/usr/lib/ct-ng-1.9.1/'
  MKDIR   '/home/slitaz/cooking/wok/crosstool-ng/crosstool-ng-1.9.1/_pkg/usr/lib/ct-ng-1.9.1/'
  MKDIR   '/home/slitaz/cooking/wok/crosstool-ng/crosstool-ng-1.9.1/_pkg/usr/share/doc/ct-ng-1.9.1/'

  MKDIR   '/home/slitaz/cooking/wok/crosstool-ng/crosstool-ng-1.9.1/_pkg/usr/share/man/man1/'
  INST    'ct-ng'
For auto-completion, do not forget to install 'ct-ng.comp' into
your bash completion directory (usually /etc/bash_completion.d)
  INSTDIR 'config/'
  INSTDIR 'contrib/'
  INSTDIR 'kconfig/'
  INSTDIR 'patches/'
  INSTDIR 'scripts/'
  INST    'docs/*.txt'
  INST    'ct-ng.1.gz'
  INST    'steps.mk'
  INST    'paths.mk'
  INSTDIR 'samples/'

Removing sources directory
Building crosstool-ng with the receipt
Executing genpkg_rules
Executing strip on all files
Removing all .pyc and .pyo files from package ...
Copying the receipt
Creating the list of files
Creating md5sum of files
Updating receipt sizes
Creating full cpio archive
Restoring original package tree
Planning re-try a cook of reverse depends
Updating packages lists: /home/slitaz/cooking/packages-incoming

Getting datas from crosstool-ng

Sorting packages lists
Look for package(s) to upgrade
Removing previous build dependencies

Removing theses packages : cvs gawk texinfo

Removing: cvs
================================================================================
Removing all files installed...[ OK ]
Removing package receipt...[ OK ]

The following packages have been modified by gawk:
  busybox

Removing: gawk
================================================================================
Removing all files installed...[ OK ]
Removing package receipt...[ OK ]
Check /var/lib/tazpkg/installed/busybox/modifiers for reinstallation

Removing: texinfo
================================================================================
Removing all files installed...[ OK ]
Removing package receipt...[ OK ]

2010-07-09

Slitaz -- Qtopia-2.2.0

240x320

apps

480x640

Env: slitaz-3.0
root@slitaz-3:~# gcc -v
Using built-in specs.
Target: i486-pc-linux-gnu
Configured with: ../gcc-4.4.1/configure --prefix=/usr --libexecdir=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-nls --enable-languages=c,c++,java --enable-shared --with-system-zlib --enable-clocale=gnu --enable-objc-gc --enable-__cxa_atexit --enable-threads=posix --with-tune=i486 --enable-java-home --with-arch-directory=i386 --with-jvm-root-dir=/usr/lib/jvm/java-gcj --with-jvm-jar-dir=/usr/lib/jvm-exports/java-gcj --with-python-dir=/lib/python2.5/site-packages --with-x --enable-java-awt=gtk --enable-gtk-cairo --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu i486-pc-linux-gnu
Thread model: posix
gcc version 4.4.1 (GCC)
root@slitaz-3:~#

1. x86-qtopia-2.2.0_20100108.tgz
[http://www.friendlyarm.net/dl.php?file=x86-qtopia-2.2.0_20100108.tgz]

2. # tazpkg get-install jpeg-dev
# tazpkg get-install zlib-dev
# tazpkg get-install xorg-libX11-dev
# tazpkg get-install xorg-xextproto

3. edit x86-qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject.cpp
line #419

change
char *dot = strrchr(g,'.');
TO
char *dot = (char*)strrchr(g,'.');

4. edit x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/plugins/codecs/wavplugin/wavplugin.cpp
line #435

change
char *ext = strrchr( path.latin1(), '.' );
TO
char *ext = (char*)strrchr( path.latin1(), '.' );

5. REF x86-qtopia/build

6. Doc

file:///home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/doc/html/index.html

http://doc.qt.nokia.com/qtopia2.2/html/index.html


root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ./run &
[1] 1404
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# Using display 0
Warning: QSocket::writeBlock: Socket is not open
Warning: Unable to open /usr/share/zoneinfo/zone.tab
Warning: Timezone data must be installed at /usr/share/zoneinfo/
Warning: could not register server
Warning: Unable to open /usr/share/zoneinfo/zone.tab
Warning: Timezone data must be installed at /usr/share/zoneinfo/

root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# pwd
/home/slitaz/wok/qtopia/x86-qtopia
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ps ax | tail -7
1404 root /bin/sh ./run
1405 root qtopia-2.2.0-FriendlyARM/qt2/bin/qvfb -width 240 -height 320 -depth 16
1408 root qpe
1413 root /home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/bin/qss -systemvolume 50
1414 root /home/slitaz/wok/qtopia/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/bin/quicklauncher
1426 root ps ax
1427 root tail -7
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia# ls -l /usr/share/zoneinfo
drwxr-xr-x 2 root root 4096 Apr 23 11:15 America
-rw-r--r-- 1 root root 2102 Sep 19 2009 CET
drwxr-xr-x 2 root root 4096 Apr 23 11:15 Europe
-rw-r--r-- 1 root root 118 Sep 19 2009 UTC
root@slitaz-3:/home/slitaz/wok/qtopia/x86-qtopia#
.

2010-06-16

Slitaz -- gcin-1.4.9


# mkdir -p /usr/lib/qt4/bin
# ln -fs /usr/bin/moc /usr/lib/qt4/bin/.

root@slitaz:~# tazpkg info gcin

Tazpkg information
================================================================================
Package : gcin
Version : 1.4.9
Category : utilities
Short desc : a GTK+ based input method platform for Chinese users
Maintainer : alanyih
Depends : xorg-libXtst bash
Build deps : bash gtk+-dev xorg-xextproto xorg-inputproto Qt4-dev
Web site : http://cle.linux.org.tw/trac
================================================================================

root@slitaz:~#


[..]
Building gcin with the receipt...
================================================================================

Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs...
LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
11782 blocks
[ OK ]
Updating receipt sizes... [ OK ]
Creating full cpio archive... 2867 blocks
[ OK ]
Restoring original package tree... 11782 blocks
================================================================================
Package gcin (1.4.9) generated.
Size : 1.4M /home/slitaz/packages/gcin-1.4.9.tazpkg

root@slitaz:/home/slitaz/wok#
.

2010-05-12

Slitaz -- kernel -2

tazwok cook linux

Env:
http://hg.slitaz.org/wok-stable/raw-file/d4f3fe7e0dc0/linux/receipt

wok-stable-cd66133a1f46.tar.bz2

error: zlib.h: No such file or directory

tazpkg get-install zlib-dev
or
ln -s /home/slitaz/wok/linux/linux-2.6.30.6/include/linux/zlib.h /usr/include

root@slitaz:/home/slitaz/wok# tazwok cook linux
[..]
================================================================================
Package linux-wireless (2.6.30.6) generated.
Size : 1.4M /home/slitaz/packages/linux-wireless-2.6.30.6.tazpkg

tazwok cook aufs-utils
tazwok cook broadcom-wl
tazwok cook catalyst
tazwok cook compcache
tazwok cook dahdi-linux
tazwok cook fuse
tazwok cook gnu-efi
tazwok cook iptables
tazwok cook kqemu
tazwok cook libcap
tazwok cook linmodem-agrsm
tazwok cook linmodem-intel-536ep
tazwok cook linmodem-intel-537
tazwok cook linmodem-slmodem
tazwok cook ndiswrapper-driver
tazwok cook nvidia
tazwok cook open-iscsi
tazwok cook usbip
======================================================================
These modules selected in .config were not categorized in linux-* pkgs:
smsc9420.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/drivers/net/smsc9420.ko.gz
dvb-core.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/drivers/media/dvb/dvb-core/dvb-core.ko.gz
dlm.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/fs/dlm/dlm.ko.gz
configfs.ko.gz : /home/slitaz/wok/linux/linux-2.6.30.6/_pkg/lib/modules/2.6.30.6-slitaz/kernel/fs/configfs/configfs.ko.gz
======================================================================

Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs...
LZMA 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
8861 blocks
[ OK ]
Updating receipt sizes... [ OK ]
Creating full cpio archive... 6361 blocks
[ OK ]
Restoring original package tree... 8861 blocks
================================================================================
Package linux (2.6.30.6) generated.
Size : 3.1M /home/slitaz/packages/linux-2.6.30.6.tazpkg

root@slitaz:/home/slitaz/wok# tazwok stats

Tazwok configuration statistics
================================================================================
Wok directory : /home/slitaz/wok
Packages repository : /home/slitaz/packages
Sources repository : /home/slitaz/src
Packages in the wok : 2293
Cooked packages : 53
================================================================================

root@slitaz:/home/slitaz/wok# ls ../packages
lguest-2.6.30.6.tazpkg
linux-2.6.30.6.tazpkg
linux-acpi-2.6.30.6.tazpkg
linux-agp-2.6.30.6.tazpkg
linux-appletalk-2.6.30.6.tazpkg
linux-aufs-2.6.30.6.tazpkg
linux-bluetooth-2.6.30.6.tazpkg
linux-bridge-2.6.30.6.tazpkg
linux-btrfs-2.6.30.6.tazpkg
linux-cifs-2.6.30.6.tazpkg
linux-coda-2.6.30.6.tazpkg
linux-cpufreq-2.6.30.6.tazpkg
linux-cramfs-2.6.30.6.tazpkg
linux-crypto-2.6.30.6.tazpkg
linux-cryptoloop-2.6.30.6.tazpkg
linux-dialup-2.6.30.6.tazpkg
linux-drm-2.6.30.6.tazpkg
linux-ext4-2.6.30.6.tazpkg
linux-gfs2-2.6.30.6.tazpkg
linux-headers-2.6.30.6.tazpkg
linux-hfs-2.6.30.6.tazpkg
linux-hfsplus-2.6.30.6.tazpkg
linux-ieee1394-2.6.30.6.tazpkg
linux-input-misc-2.6.30.6.tazpkg
linux-input-tablet-2.6.30.6.tazpkg
linux-input-touchscreen-2.6.30.6.tazpkg
linux-ipv6-2.6.30.6.tazpkg
linux-irda-2.6.30.6.tazpkg
linux-isdn-2.6.30.6.tazpkg
linux-jfs-2.6.30.6.tazpkg
linux-joystick-2.6.30.6.tazpkg
linux-kvm-2.6.30.6.tazpkg
linux-md-2.6.30.6.tazpkg
linux-memstick-2.6.30.6.tazpkg
linux-minix-2.6.30.6.tazpkg
linux-mmc-2.6.30.6.tazpkg
linux-mwave-2.6.30.6.tazpkg
linux-ncpfs-2.6.30.6.tazpkg
linux-netfilter-2.6.30.6.tazpkg
linux-reiserfs-2.6.30.6.tazpkg
linux-sched-2.6.30.6.tazpkg
linux-scsi-2.6.30.6.tazpkg
linux-sound-2.6.30.6.tazpkg
linux-source-2.6.30.6.tazpkg
linux-squashfs-2.6.30.6.tazpkg
linux-udf-2.6.30.6.tazpkg
linux-usbdsl-2.6.30.6.tazpkg
linux-usbip-2.6.30.6.tazpkg
linux-usb-misc-2.6.30.6.tazpkg
linux-uwb-2.6.30.6.tazpkg
linux-video-2.6.30.6.tazpkg
linux-wimax-2.6.30.6.tazpkg
linux-wireless-2.6.30.6.tazpkg
root@slitaz:/home/slitaz/wok#

====
root@slitaz:/home/slitaz/wok# tazwok cook linux
[..]
patching file lib/Kconfig
patching file lib/decompress_bunzip2.c
patching file lib/decompress_inflate.c
patching file lib/decompress_unlzma.c
cc -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE lguest.c -lz -o lguest
lguest.c:34:18: error: zlib.h: No such file or directory
make: *** [lguest] Error 1

root@slitaz:/home/slitaz/wok# cat linux/receipt | grep -n lguest
59: cd Documentation/lguest
60: make lguest || return 1
root@slitaz:/home/slitaz/wok#
.