2011-06-30

Slitaz -- qtfm


http://www.qtfm.org/

About:

qtFM is a small, lightweight file manager for Linux desktops based on pure Qt
and works great with minimal desktop environments like Openbox.

Features:
  • lightweight, pure Qt, no kde libraries or other dependencies
  • full theme and mime filetype icon integration
  • tree, bookmarks, list, detail and thumbnail views
  • customizable interface, rearrange views and toolbars to suit
  • powerful custom command system for user defined actions
  • customizable key bindings for built-in and custom actions
  • drag & drop functionality

tux@slitaz:~$ ls -lh qtfm-5.0/qtfm
-rw-r--r--    1 tux      users     466.1K Jun 30 23:12 qtfm-5.0/qtfm
tux@slitaz:~$ cat qtfm-5.0/CHANGELOG | head -2
5.0     16-June-2011
- added tabs
tux@slitaz:~$

Slitaz -- smarthome






http://developer.qt.nokia.com/wiki/Home_Control_Demo

The intention of this project is to realize a smart home control application with Qt Quick.
The Smart Home Control application, developed by basysKom [qt.nokia.com], shows how you can control and adjust various home operations from your PC and mobile phone. The demonstration covers the control of several house activities, such as the control of windows, blinds, heating and lighting. The operations are activated by a change in weather conditions, and you can also adjust the weather as you like in the “weather god control” mode.

[..]
http://qt.gitorious.org/qt-in-use/qt-in-industrial-embedded

2011-06-24

Slitaz -- kchmviewer


kchmviewer
[http://sourceforge.net/projects/kchmviewer/]

kchmviewer is a CHM (Winhelp) files viewer written on Qt/KDE. It can be build as a standalone Qt-based application, or a KDE application. The main point of kchmviewer is compatibility with non-English chm files, including most international charsets.

Features

* Views CHM files
* Qt only with optional KDE features
* Multiple languages support
* Extracting and printing support

1.
# tazpkg get-install chmlib-dev
# tazpkg get-install chmlib

2.Qt-only version
  • # tar zxf kchmviewer-version.tar.gz
  • # cd kchmviewer-version
  • # qmake
  • # make

3.
root@slitaz:/tmp/kchmviewer-5.3# ls -lh bin/
total 704
-rwxr-xr-x 1 root root 694.4K Jun 25 09:18 kchmviewer
.

2011-06-23

Slitaz -- glib-networking


TLS/SSL support not available; install glib-networking

root@slitaz:~# tazpkg info glib-networking

Tazpkg information
================================================================================
Package    : glib-networking
Version    : 2.28.7
Category   : x-window
Short desc : TLS support for glib.
Maintainer : pankso@slitaz.org
Depends    : glib libgio libgnutls
Build deps : glib-dev libgio-dev gnutls-dev intltool automake autoconf git
Web site   : http://www.gtk.org/
================================================================================

Error - https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=llya694le36z&scc=1&ltmpl=default&ltmplcache=2&from=login

The page 'https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=llya694le36z&scc=1&ltmpl=default&ltmplcache=2&from=login' couldn't be loaded.

TLS/SSL support not available; install glib-networking

Slitaz -- webm / ffplay



root@slitaz:~# tazpkg info ffplay

Tazpkg information
================================================================================
Package : ffplay
Version : 0.6.3
Category : multimedia
Short desc : Very simple and portable media player using the ffmpeg and the SDL library.
Maintainer : pascal.bellard@slitaz.org
Depends : ffmpeg libsdl
Wanted src : ffmpeg
Web site : http://ffmpeg.org/
================================================================================

root@slitaz:~# tazpkg info ffmpeg-svn

Tazpkg information
================================================================================
Package : ffmpeg-svn
Version : 26402
Category : multimedia
Short desc : Record, convert and stream audio and video.
Maintainer : jozee@slitaz.org
Depends : bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib
Suggested : ffplay
Build deps : subversion imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format coreutils-file-special
Web site : http://ffmpeg.org/
================================================================================

root@slitaz:/media/Audio1/slitaz/cook/0000/yocto# ffplay elc-2011-flanagan-yocto
-autobuilder-x450p.webm &
root@slitaz:/media/Audio1/slitaz/cook/0000/yocto# FFplay version 0.6.3, Copyright (c) 2003-2010 the FFmpeg developers
built on May 22 2011 06:03:13 with gcc 4.5.2
configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --enable-swscale --disable-mmx --disable-mmx2 --disable-ssse3
WARNING: library configuration mismatch
libavutil configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libavcodec configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libavformat configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libavdevice configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libswscale configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libpostproc configuration: --prefix=/usr --enable-gpl --arch=i486 --cpu=i486 --enable-shared --enable-small --enable-pthreads --enable-postproc --disable-mmx --disable-mmx2 --disable-ssse3
libavutil 50.15. 1 / 50.36. 0
libavcodec 52.72. 2 / 52.108. 0
libavformat 52.64. 2 / 52.93. 0
libavdevice 52. 2. 0 / 52. 2. 3
libswscale 0.11. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x8080000] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'elc-2011-flanagan-yocto-autobuilder-x450p.webm':
Metadata:
title : Elizabeth Flanagan - Delivering predictability: the Yocto project autobuilder, automated sanity testing, license collection and build statistics tracking
Duration: 00:48:55.41, start: 0.000000, bitrate: N/A
Stream #0.0: Video: vp8, yuv420p, 800x450, PAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 25 tbc
Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16
155.76 A-V: -0.005 s:0.0 aq= 320KB vq= 381KB sq= 0B f=0/0 f=0/0
root@slitaz:/media/Audio1/slitaz/cook/0000/yocto#

Slitaz -- webm / vlc




What is WebM?

WebM is an open, royalty-free, media file format designed for the web.

WebM defines the file container structure, video and audio formats. WebM files consist of video streams compressed with the VP8 video codec and audio streams compressed with the Vorbis audio codec. The WebM file structure is based on the Matroska container.
[..]

Playing WebM Video
[http://www.webmproject.org/users/]
 
WebM video files play directly in your web browser using a new technology called HTML5. No plug-ins are required, but you must install a web browser that supports WebM files. See the instructions below in "How to Play WebM Videos."

What's Great About WebM

  • Very high quality video
  • Great video playback performance, even on older computers
  • 100% free and open to everyone
  • Supported on popular video sites like YouTube

How to Play WebM Video

Playing on YouTube

[..]

Playing in Windows Media Player

[..]

Supported Web Browsers

Other Media Players and Components

Slitaz -- webm / smplayer



Cannot find codec 'vp8' in libavcodec...

Video: no video

1.
root@slitaz:~# uname -a
Linux slitaz 2.6.37-slitaz #5 SMP Wed Jun 15 00:06:36 UTC 2011 i686 GNU/Linux
root@slitaz:~# tazpkg list | grep mplayer
mplayer 1.0rc4 multimedia
smplayer 0.6.9 multimedia 
root@slitaz:~# tazpkg list | grep ffmpeg

ffmpeg-svn 26402 multimedia

2.
root@slitaz:~# strings /usr/lib/libavcodec.so.52.108.0 | grep -i vp8
vp8_decoder
vp8_parser
ff_vp8dsp_init

3.
root@slitaz:~# mplayer -vc help | grep -i vp8
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled

fflibvpx ffmpeg working FFmpeg wrapper for libvpx/VP8 [libvpx]
ffvp8 ffmpeg working FFmpeg VP8 [vp8]
root@slitaz:~#

4.
mplayer.log
/usr/bin/mplayer -noquiet -nofs -nomouseinput -vc ffvp8 -sub-fuzziness 1 -identify -slave -vo xv, -ao alsa -nokeepaspect -framedrop -nodr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 18874706 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /root/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -vid 0 -subpos 100 -volume 50 -nocache -ss 442 -osdlevel 0 -vf-add screenshot -slices -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 /media/Audio1/slitaz/cook/0000/yocto/elc-2011-flanagan-yocto-autobuilder-x450p.webm
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /media/Audio1/slitaz/cook/0000/yocto/elc-2011-flanagan-yocto-autobuilder-x450p.webm.
ID_VIDEO_ID=0
[mkv] Track ID 1: video (V_VP8), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=und
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [VP80] 800x450 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=/media/Audio1/slitaz/cook/0000/yocto/elc-2011-flanagan-yocto-autobuilder-x450p.webm
ID_DEMUXER=mkv
ID_VIDEO_FORMAT=VP80
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=800
ID_VIDEO_HEIGHT=450
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=1.7778
ID_AUDIO_FORMAT=vrbs
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=2935.42
ID_SEEKABLE=1
ID_CHAPTERS=0
[ass] auto-open
Opening video filter: [screenshot]
[ass] Init
[ass] Updating font cache
==========================================================================
Forced video codec: ffvp8
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'vp8' in libavcodec...
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x30385056.
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffvorbis
[Mixer] No hardware mixing, inserting volume filter.
Video: no video
Starting playback...

Slitaz -- review / youtube-dl

tux@slitaz:~$ tazpkg info youtube-dl

Tazpkg information
================================================================================
Package    : youtube-dl
Version    : 2011.03.29
Category   : utilities
Short desc : Downloads videos from various streaming websites.
Maintainer : gokhlayeh@slitaz.org
Depends    : python
Build deps : wget
Web site   : http://rg3.github.com/youtube-dl/
================================================================================

tux@slitaz:~$

youtube-dl  [http://rg3.github.com/youtube-dl/ ]
Download videos from YouTube.com (and mores sites...)
youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.x (x being at least 5), and it is not platform specific. It should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.

SliTaz GNU/Linux Cooking 20110531 Review
ItchyHippo  | 2011-05-31

tux@slitaz:~$ youtube-dl http://www.youtube.com/watch?v=3jt3th_nhbE
[youtube] Setting language
[youtube] 3jt3th_nhbE: Downloading video webpage
[youtube] 3jt3th_nhbE: Downloading video info webpage
[youtube] 3jt3th_nhbE: Extracting video information
[download] Destination: 3jt3th_nhbE.mp4
[download] 100.0% of 58.08M at  239.74k/s ETA 00:00
tux@slitaz:~$ ls -lh *.mp4
-rw-r--r--    1 tux      users      58.1M Jun  1 08:07 3jt3th_nhbE.mp4

tux@slitaz:~$

2011-06-15

Slitaz -- intel / i915




Ref: http://alanyih.blogspot.com/2011/03/slitaz-make-xconfig-qt4-support.html

1.
tux@slitaz:~$ tazpkg info linux-slitaz

Tazpkg information
================================================================================
Package    : linux-slitaz
Version    : 2.6.37
Category   : base-system
Short desc : Customized Linux Kernel
Maintainer : 
Depends    : depmod
Web site   : http://www.kernel.org
================================================================================

tux@slitaz:~$ tazpkg info xorg-xf86-video-intel

Tazpkg information
================================================================================
Package    : xorg-xf86-video-intel
Version    : 2.15.0
Category   : x-window
Short desc : Xorg server Intel driver.
Maintainer : pankso@slitaz.org
Depends    : xorg-server xorg-libXvMC mesa-dri-intel xcb-util
Build deps : xorg-server-dev xorg-libXvMC-dev xcb-util-dev
Web site   : http://www.x.org/
================================================================================

2.
tux@slitaz:~$ zcat /proc/config.gz | grep ACPI
# Power management and ACPI options
# CONFIG_ACPI is not set
# CONFIG_PNPACPI is not set

tux@slitaz:~$ zcat /proc/config.gz | grep -i i915
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y

tux@slitaz:~$ zcat /proc/config.gz | grep [34]86
# Linux/i386 2.6.37 Kernel Configuration
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_M386=y
# CONFIG_M486 is not set
CONFIG_LP486E=m

3.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #5 SMP Wed Jun 15 00:06:36 UTC 2011 i686 GNU/Linux

4.
tux@slitaz:~$ lsmod | tail -8
i915                  249930  2 
drm_kms_helper         18798  1 i915
drm                   111976  3 i915,drm_kms_helper
i2c_algo_bit            3479  1 i915
i2c_core               12176  4 i915,drm_kms_helper,drm,i2c_algo_bit
intel_agp               7908  1 i915
intel_gtt               9214  3 i915,intel_agp
agpgart                18221  3 drm,intel_agp,intel_gtt

tux@slitaz:~$ modinfo i915
filename:       /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
description:    Intel Graphics
author:         Tungsten Graphics, Inc.
license:        GPL and additional rights
license:        GPL and additional rights
vermagic:       2.6.37-slitaz SMP mod_unload 386 

tux@slitaz:~$ ls -lh  /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz
-rw-r--r--    1 root     root      104.2K Jun 15 05:49 /lib/modules/2.6.37-slitaz/kernel/drivers/gpu/drm/i915/i915.ko.gz

5.
tux@slitaz:~$ lspci -v | head -18
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
        Subsystem: NEC Corporation Device 88f7
        Flags: bus master, fast devsel, latency 0
        Capabilities: 
        Kernel driver in use: agpgart-intel
        Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: NEC Corporation Device 88f4
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fe400000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at ec00 [size=8]
        Expansion ROM at  [disabled]
        Capabilities: 
        Kernel driver in use: i915
        Kernel modules: i915

6.
tux@slitaz:~$ cat /proc/cmdline 
root=/dev/null autologin enable_mtrr_cleanup mtrr_spare_reg_nr=1

7.
tux@slitaz:~$ dmesg | tail -28 | head -13
Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel G45/G43 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 32768K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
Console: switching to colour frame buffer device 210x65
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

8.
tux@slitaz:~$ tazpkg list-files xorg-xf86-video-intel

Installed files with: xorg-xf86-video-intel
================================================================================
/usr/lib/libI810XvMC.so
/usr/lib/libI810XvMC.so.1
/usr/lib/libI810XvMC.so.1.0.0
/usr/lib/libIntelXvMC.so
/usr/lib/libIntelXvMC.so.1
/usr/lib/libIntelXvMC.so.1.0.0
/usr/lib/X11/modules/drivers/intel_drv.so
================================================================================
7 files installed with xorg-xf86-video-intel.

tux@slitaz:~$ cat /var/log/Xorg.0.log | head -126 | tail -13
[  1482.367] (II) LoadModule: "intel"
[  1482.367] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
[  1482.367] (II) Module intel: vendor="X.Org Foundation"
[  1482.367]    compiled for 1.9.4, module version = 2.15.0
[  1482.367]    Module class: X.Org Video Driver
[  1482.367]    ABI class: X.Org Video Driver, version 8.0
[  1482.367] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge

9.
tux@slitaz:~$ cat /etc/X11/xorg.conf.d/60-Device.conf | grep Driver  
        ### Available Driver options are:-
        Driver      "intel"

tux@slitaz:~$ cat /etc/X11/xorg.conf.d/70-Screen.conf 
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x1024" "1024x768" 
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1280x1024" "1024x768" 
        EndSubSection
EndSection

10.
tux@slitaz:~$ cat /var/log/tazpkg.log | cut -d ' ' -f 6-7
linux-slitaz (2.6.37)
xorg-server (1.9.5)
xorg-libXv (1.0.6)
xorg-libXvMC (1.0.6)
mesa (7.10.2)
mesa-dri (7.10.2)
libdrm-intel (2.4.25)
mesa-dri-intel (7.10.2)
xorg-xf86-video-intel (2.15.0)
libglu-mesa (7.10.2) 
glew (1.5.8) 
mesa-demos (8.0.1) 

11.
tux@slitaz:~$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) G45/G43  

2011-06-08

Slitaz -- qemu-arm / qtopia / i18n

http://www.arm9.net/mini6410-linux.asp
Qtopia日文界面
語言設置

Slitaz -- qemu-arm / Debian-arm squeeze -2




Slitaz -- qemu-arm / Debian-arm 6.0.1




1.
vmlinuz-2.6.32-5-versatile -- kernel image to netboot
[http://debian.nctu.edu.tw/debian/dists/Debian6.0.1/main/installer-armel/current/images/versatile/netboot/vmlinuz-2.6.32-5-versatile]

initrd.gz -- netboot initrd
[http://debian.nctu.edu.tw/debian/dists/Debian6.0.1/main/installer-armel/current/images/versatile/netboot/initrd.gz]


2.
# qemu-system-arm -M versatilepb -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.gz -hda hda.img -append "root=/dev/ram"

3.
# qemu-system-arm -M versatilepb -m 256 -kernel vmlinuz-2.6.32-5-versatile  -initrd initrd.img-2.6.32-5-versatile -hda hda.img -append "root=/dev/sda1" -boot c

Slitaz -- qemu-arm / qt470 / i18n

Ref:
http://alanyih.blogspot.com/2010/07/slitaz-qt-creator-i18n.html

[root@FriendlyARM /]# ps | tail -17
  774 root      3364 S    /usr/sbin/inetd
  778 root      1952 S    /usr/sbin/boa
  790 root     18624 T    /opt/Qtopia/bin/qpe
  791 root      3428 S    -/bin/sh
  792 root      3104 S    init     
  793 root      3104 S    init     
  796 root      3104 S    init     
  809 root      8896 S <  /opt/Qtopia/bin/qss
  819 root     12852 S N  /opt/Qtopia/bin/quicklauncher
  824 root     10568 S    /opt/Qtopia/bin/qt4-starter
  826 root     10568 S    /opt/Qtopia/bin/qt4-starter
  827 root      3060 S    sh -c /bin/qt4
  828 root      3060 S    /bin/sh /bin/qt4
  829 root     35196 S    /opt/Qtopia/bin/i18n -qws
  842 root         0 SW   [flush-179:0]
  843 root      3428 R    ps
  844 root      3104 S    tail -17
[root@FriendlyARM /]# ls -lh /opt/Qtopia/bin/i18n
-rwxr-xr-x    1 root     root        59.5K May 27 16:22 /opt/Qtopia/bin/i18n
[root@FriendlyARM /]#

Slitaz -- qemu-arm / qt470 -2

1.
[root@FriendlyARM /]# cat /bin/qt4   
#!/bin/sh

if [ -e /etc/friendlyarm-ts-input.conf ] ; then
        . /etc/friendlyarm-ts-input.conf
fi
true    ${TSLIB_TSDEVICE:=/dev/touchscreen}

TSLIB_CONFFILE=/etc/ts.conf

export TSLIB_TSDEVICE
export TSLIB_CONFFILE

export TSLIB_PLUGINDIR=/usr/lib/ts
export TSLIB_CALIBFILE=/etc/pointercal

export QWS_DISPLAY=:1
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PATH=/bin:/sbin:/usr/bin/:/usr/sbin:/usr/local/bin

if [ -c /dev/touchscreen ]; then
        export QWS_MOUSE_PROTO="Tslib MouseMan:/dev/input/mice"
        if [ ! -s /etc/pointercal ] ; then
                rm /etc/pointercal
                /usr/bin/ts_calibrate
        fi
else
        export QWS_MOUSE_PROTO="MouseMan:/dev/input/mice"
fi

export QWS_KEYBOARD=TTY:/dev/tty1

export HOME=/root

cd /usr/local/Trolltech/QtEmbedded-4.7.0-arm/demos/embedded/fluidlauncher
./fluidlauncher -qws
hotplug


2.
[root@FriendlyARM /]# cat /opt/Qtopia/apps/FriendlyARM/qt4-starter.desktop
[Translation]
File=QtopiaSettings
Context=qt4-starter
Comment[Desktop Entry/Name]=Use soft hyphen (char U00AD) to indicate hyphenation
[Desktop Entry]
Exec=qt4-starter
Icon=qt4-starter
Type=Application
Name[]=Start Qt4.7.0
CanFastload=0

3.
[root@FriendlyARM /]# ls -l /opt/Qtopia/bin/qt4-starter
-rwxr-xr-x    1 root     root        30832 Aug 16  2010 /opt/Qtopia/bin/qt4-starter
[root@FriendlyARM /]#

4.
[root@FriendlyARM /]# cat /etc/init.d/rcS
#! /bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:
runlevel=S
prevlevel=N
umask 022
export PATH runlevel prevlevel

#
#       Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
#
trap ":" INT QUIT TSTP
/bin/hostname FriendlyARM

/bin/mount -n -t proc none /proc
/bin/mount -n -t sysfs none /sys
/bin/mount -n -t usbfs none /proc/bus/usb
/bin/mount -t ramfs none /dev

echo /sbin/mdev > /proc/sys/kernel/hotplug
/sbin/mdev -s
/bin/hotplug
# mounting file system specified in /etc/fstab
mkdir -p /dev/pts
mkdir -p /dev/shm
/bin/mount -n -t devpts none /dev/pts -o mode=0622
/bin/mount -n -t tmpfs tmpfs /dev/shm
/bin/mount -n -t ramfs none /tmp
/bin/mount -n -t ramfs none /var
mkdir -p /var/empty
mkdir -p /var/log
mkdir -p /var/lock
mkdir -p /var/run
mkdir -p /var/tmp

/sbin/hwclock -s

syslogd
/etc/rc.d/init.d/netd start
echo "                        " > /dev/tty1
echo "Starting networking..." > /dev/tty1
sleep 1
/etc/rc.d/init.d/httpd start
echo "                        " > /dev/tty1
echo "Starting web server..." > /dev/tty1
sleep 1
/etc/rc.d/init.d/leds start
echo "                        " > /dev/tty1
echo "Starting leds service..." > /dev/tty1
echo "                        "
sleep 1

/sbin/ifconfig lo 127.0.0.1
/etc/init.d/ifconfig-eth0

/bin/qtopia &
echo "                                  " > /dev/tty1
echo "Starting Qtopia, please waiting..." > /dev/tty1

[root@FriendlyARM /]#

5.
00005a70  01 00 02 00 70 69 70 65  00 70 73 65 75 64 6f 20  |....pipe.pseudo |
00005a80  66 6f 72 6b 00 65 78 65  63 20 66 6f 72 6b 00 2f  |fork.exec fork./|
00005a90  62 69 6e 2f 71 74 34 00  68 6f 74 70 6c 75 67 00  |bin/qt4.hotplug.|
00005aa0  32 61 63 74 69 76 61 74  65 64 28 69 6e 74 29 00  |2activated(int).|
00005ab0  31 71 75 69 74 28 29 00  70 69 64 20 25 64 20 63  |1quit().pid %d c|
00005ac0  6c 65 61 6e 65 64 0a 00  62 61 64 20 63 68 69 6c  |leaned..bad chil|
00005ad0  64 20 73 69 67 6e 61 6c  3f 0a 00 51 57 69 64 67  |d signal?..QWidg|
00005ae0  65 74 00 31 52 65 70 61  69 6e 74 41 6c 6c 28 29  |et.1RepaintAll()|

00005b50  40 be 00 00 00 00 00 00  71 74 34 2d 73 74 61 72  |@.......qt4-star|
00005b60  74 65 72 00 73 65 74 44  6f 63 75 6d 65 6e 74 28  |ter.setDocument(|
00005b70  63 6f 6e 73 74 20 51 53  74 72 69 6e 67 26 29 00  |const QString&).|
00005b80  54 4d 61 69 6e 46 6f 72  6d 42 61 73 65 00 00 00  |TMainFormBase...|

Slitaz -- qemu-arm / qt470

[root@FriendlyARM /]# ls -lh /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQt
Core.so.4.7.0
-rwxr-xr-x 1 1000 1000 2.7M May 26 03:10 /usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/libQtCore.so.4.7.0

[root@FriendlyARM /]# uname -a
Linux FriendlyARM 2.6.32-rc8 #1 Sat May 14 01:11:25 UTC 2011 armv4tl unknown

[root@FriendlyARM /]# ps | tail
981 root 13284 S sysinfo
988 root 12848 S N /opt/Qtopia/bin/quicklauncher
1014 root 10560 S /opt/Qtopia/bin/qt4-starter
1016 root 10560 S /opt/Qtopia/bin/qt4-starter
1017 root 3060 S sh -c /bin/qt4
1018 root 3060 S /bin/sh /bin/qt4
1019 root 35132 S ./fluidlauncher -qws
1022 root 21124 R /usr/local/Trolltech/QtEmbedded-4.7.0-arm/demos/paths
1023 root 3428 R ps
1024 root 3104 S tail
[root@FriendlyARM /]#