2011-08-25

Slitaz -- perl-dbd-oracle

complie perl module DBD::Oracle 

# perl Makefile.PL
# make
# make install

1.
oracle@slitaz:~$ tazpkg list | grep perl
perl                    5.12.3            development
perl-dbi-dbd            1.607             development
perl-uri                1.58              development
perl-xml-parser         2.40              development
perl-xml-simple         2.18              development
oracle@slitaz:~$

2.
http://cpan.stu.edu.tw/authors/id/P/PY/PYTHIAN/DBD-Oracle-1.29_1.tar.gz
http://cpan.stu.edu.tw/modules/by-module/DBD/DBD-Oracle-1.28.tar.gz

3.
root@slitaz:/usr/src/DBD-Oracle-1.29_1# perl Makefile.PL
Using DBI 1.607 (for perl 5.012003 on i686-linux) installed in /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI/

Configuring DBD::Oracle for perl 5.012003 on linux (i686-linux)

Remember to actually *READ* the README file! Especially if you have any problems.

Installing on a linux, Ver#2.6
Using Oracle in /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
DEFINE _SQLPLUS_RELEASE = "1002000100" (CHAR)
Oracle version 10.2.0.1 (10.2)
Found /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
Using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
Looks like Oracle XE (/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk)
Reading /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_xe.mk
Your LD_LIBRARY_PATH env var is set to '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:'

client_version=10.2


DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102


Checking for functioning wait.ph


System: perl5.012003 linux tank 2.6.30.6-slitaz #1 smp thu apr 8 21:19:10 cest 2010 i686 gnulinux
Compiler:   cc -O2 -march=i486 -Os -pipe -fomit-frame-pointer -fno-strict-aliasing -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker:     /usr/bin/ld
Sysliblist: -ldl -lm -lpthread -lnsl -lirc
Oracle makefiles would have used these definitions but we override them:
  CC:       /usr/bin/gcc
  LDFLAGS:  -g
           [-g]
Linking with -L/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/ -lclntsh -lpthread


WARNING: If you have problems you may need to rebuild perl with threading enabled.
Checking if your kit is complete...
Looks good
LD_RUN_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
Using DBD::Oracle 1.29_1.
Using DBD::Oracle 1.29_1.
Using DBI 1.607 (for perl 5.012003 on i686-linux) installed in /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI/
Writing Makefile for DBD::Oracle

***  If you have problems...
     read all the log printed above, and the README and README.help.txt files.
     (Of course, you have read README by now anyway, haven't you?)

root@slitaz:/usr/src/DBD-Oracle-1.29_1#


4.
root@slitaz:/usr/src/DBD-Oracle-1.29_1# make
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp oraperl.ph blib/lib/oraperl.ph
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oraperl.pm blib/lib/Oraperl.pm
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g" /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl /usr/lib/perl5/5.12.3/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.12.3/ExtUtils/typemap -typemap typemap  Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
cc -c  -I/usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI -I/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ -DLINUX -D_GNU_SOURCE -D_REENTRANT -g -march=i486 -Os -pipe -fomit-frame-pointer -fno-strict-aliasing -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.29_1\" -DXS_VERSION=\"1.29_1\" -fPIC "-I/usr/lib/perl5/5.12.3/i686-linux/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 Oracle.c
cc -c  -I/usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI -I/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ -DLINUX -D_GNU_SOURCE -D_REENTRANT -g -march=i486 -Os -pipe -fomit-frame-pointer -fno-strict-aliasing -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.29_1\" -DXS_VERSION=\"1.29_1\" -fPIC "-I/usr/lib/perl5/5.12.3/i686-linux/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 dbdimp.c
cc -c  -I/usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBI -I/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public/ -DLINUX -D_GNU_SOURCE -D_REENTRANT -g -march=i486 -Os -pipe -fomit-frame-pointer -fno-strict-aliasing -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.29_1\" -DXS_VERSION=\"1.29_1\" -fPIC "-I/usr/lib/perl5/5.12.3/i686-linux/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"10.2.0.1\" -DORA_OCI_102 oci8.c
oci8.c: In function ‘ora_blob_read_mb_piece’:
oci8.c:1781:4: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 6 has type ‘ub4’
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib" cc  -shared -O2 -fstack-protector Oracle.o dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so        \
   -L/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/ -lclntsh -lpthread        \
 
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
cp ora_explain blib/script/ora_explain
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ora_explain
root@slitaz:/usr/src/DBD-Oracle-1.29_1#


5.
root@slitaz:/usr/src/DBD-Oracle-1.29_1# make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/Oracle.h
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/dbdimp.h
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/Oracle.bs
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/ocitrace.h
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/Oracle.so
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/auto/DBD/Oracle/mk.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/oraperl.ph
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/Oraperl.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/DBD/Oracle.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/DBD/Oracle/GetInfo.pm
Installing /usr/lib/perl5/site_perl/5.12.3/i686-linux/DBD/Oracle/Object.pm
Installing /usr/bin/ora_explain
Appending installation info to /usr/lib/perl5/5.12.3/i686-linux/perllocal.pod
root@slitaz:/usr/src/DBD-Oracle-1.29_1#
.

Slitaz -- Oracle XE 10g - perl


1.
oracle@slitaz:~$ perl oraxe-query.pl
Beijing
Bern
Bombay
Geneva
Hiroshima
London
Mexico City
Munich
Oxford
Roma
Sao Paulo
Seattle
Singapore
South Brunswick
South San Francisco
Southlake
Stretford
Sydney
Tokyo
Toronto
Utrecht
Venice
Whitehorse

2.
oracle@slitaz:~$ cat oraxe-query.pl
#!/usr/bin/perl

use DBI;
use strict;
use vars qw($dbh $sth);

# get a database handle
$dbh = DBI->connect('dbi:Oracle:', 'hr@localhost/XE', 'oracle');

# get a statement handle
$sth=$dbh->prepare('SELECT city FROM locations');

# execute the statement handle
$sth->execute();

# loop through the results
while (my ($r_city) = $sth->fetchrow())
{
print " $r_city \n";
}

$sth->finish();
$dbh->disconnect();
oracle@slitaz:~$

3.
Extract from

An Introduction to DBD::Oracle
[..]
4 Using DBI and DBD::Oracle
4.1 Understanding DBI

Since its inception by Tim Bunce in 1994, DBI (DataBase Interface) has been the de facto standard for interfacing databases with the Perl language. Thanks to the designers' foresight, DBI is database-independent, with methods, variables, and conventions that provide a consistent programming interface, no matter what database management system is being used.

As an API, DBI is just an interface to a database driver--in our case, DBD::Oracle--so you can think of DBI as the glue that links the Perl language to a specific database driver, as seen in the diagram below.



DBD::Oracle Diagram

.

Slitaz -- lxpanel font


lxpanel font ??

Panel Setting --> Appearance --> Font --> Custom color

1.
litaz-core.iso    2011-Aug-21 04:08:36    30.0M
http://mirror.slitaz.org/iso/rolling/slitaz-core.iso

2.
tux@slitaz:~$ grep color /etc/lxpanel/slitaz/panels/bottom
    tintcolor=#ffffff
    usefontcolor=1
    fontcolor=#ffffff
tux@slitaz:~$ grep color /etc/lxpanel/slitaz/panels/panel
    tintcolor=#ffffff
    usefontcolor=1
    fontcolor=#ffffff
tux@slitaz:~$ grep color .config/lxpanel/slitaz/panels/panel
    tintcolor=#ffffff
    usefontcolor=1
    fontcolor=#ffffff
tux@slitaz:~$ grep color .config/lxpanel/slitaz/panels/bottom
    tintcolor=#ffffff
    usefontcolor=1
    fontcolor=#ffffff

3.
tux@slitaz:~$ grep color .config/lxpanel/slitaz/panels/panel
    tintcolor=#ffffff
    usefontcolor=0
    fontcolor=#ffffff
tux@slitaz:~$ grep color .config/lxpanel/slitaz/panels/bottom
    tintcolor=#ffffff
    usefontcolor=1
    fontcolor=#ffffff
tux@slitaz:~$
.

2011-08-23

Slitaz -- Oracle 10g XE - 2



Slitaz -- Oracle XE - perl - lighttpd



Oracle 10g XE + DBD::Oracle + FastCGI

Fast CGI on Lighttpd

Invocation number 4 PID 14231.


Requested uri is /index.html
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production


1.
oracle@slitaz:~$ ps ax | grep httpd
14221 www        0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
14222 www        0:00 /usr/bin/perl /usr/bin/lighttpd.fcgi
14225 www        0:00 /usr/bin/perl /usr/bin/lighttpd.fcgi
14228 www        0:00 /usr/bin/perl /usr/bin/lighttpd.fcgi
14231 www        0:00 /usr/bin/perl /usr/bin/lighttpd.fcgi
14239 root       0:00 leafpad /var/log/lighttpd/error.log
14376 oracle     0:00 grep httpd

2.
oracle@slitaz:~$ ls /tmp/fastcgi.socket*
/tmp/fastcgi.socket-0  /tmp/fastcgi.socket-2
/tmp/fastcgi.socket-1  /tmp/fastcgi.socket-3

3.
oracle@slitaz:~$ cat /usr/bin/lighttpd.fcgi
#!/usr/bin/perl
use CGI::Fast qw(:standard);
use DBI;
use URI;
$ENV{FCGI_SOCKET_PATH} = "/tmp/fastcgi.socket";
$ENV{FCGI_LISTEN_QUEUE} = 100;
$COUNTER = 0;
my $dbh = DBI->connect('dbi:Oracle:', 'hr@localhost/XE', 'oracle') || die ;

while (new CGI::Fast) {
    print header;
    print start_html("Fast CGI Rocks");
    print
        h1("Fast CGI on Lighttpd"),
        "Invocation number ",b($COUNTER++),
        " PID ",b($$),".",
        hr;
    my $uri = URI->new( $ENV{REQUEST_URI} );
    print br;
    print "Requested uri is ",b($uri);
    my $sql = 'SELECT * from v$version';
    my $sth = $dbh->prepare($sql);
    $sth->execute();
    while (my (@s) = $sth->fetchrow_array())
    {
        print br;
        print b($s[0]);
    }
    print end_html;
}

4.
oracle@slitaz:~$ netstat -nltp
netstat: showing only processes with your user ID
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      10723/tnslsnr
tcp        0      0 0.0.0.0:1521            0.0.0.0:*               LISTEN      10723/tnslsnr
tcp        0      0 0.0.0.0:55037           0.0.0.0:*               LISTEN      10749/xe_d000_XE
tcp        0      0 :::6000                 :::*                    LISTEN      -
oracle@slitaz:~$
.

2011-08-18

Slitaz -- Oracle JDeveloper 10g





Oracle JDeveloper
Oracle JDeveloper is a free integrated development environment that simplifies the development of Java-based SOA applications and user interfaces with support for the full development life cycle.

Oracle JDeveloper 10.1.3 Archive
 Oracle JDeveloper 10g (Version 10.1.3.0, build 3673)
Supported on Windows NT/2000/XP, Linux, Solaris, HP-UX, and Macintosh

root@slitaz:~# java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
 
root@slitaz:~# /dev/shm/jdev10g/jdev/bin/jdev &
Oracle JDeveloper 10g 10.1.3
Copyright 1997, 2005 Oracle.  All Rights Reserved
.

Slitaz -- Oracle 10g XE



Extract from:

Oracle Database 10g Express Edition
Free to develop, deploy, and distribute

Oracle Database 10g Express Edition (Oracle Database XE) is an entry-level, small-footprint database based on the Oracle Database 10g Release 2 code base. It's free to develop, deploy, and distribute; fast to download; and simple to administer.

Oracle Database XE is a great starter database for:

  • Developers working on PHP, Java, .NET, XML, and Open Source applications
  • DBAs who need a free, starter database for training and deployment
  • Independent Software Vendors (ISVs) and hardware vendors who want a starter database to distribute free of charge
  • Educational institutions and students who need a free database for their curriculum  
[..]

1.
oracle@slitaz:~$ sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Aug 18 18:47:27 2011

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Enter user-name: system
Enter password:

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> select count(*) from hr.employees;

  COUNT(*)
----------
       107

SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

2.
oracle@slitaz:~$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-AUG-2011 19:05:41

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                18-AUG-2011 16:27:27
Uptime                    0 days 2 hr. 38 min. 14 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nerk/admin/listener.ora
Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nerk/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=slitaz)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=P)(Session=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
  Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully

3.

oracle@slitaz:~$ netstat -nltp
netstat: showing only processes with your user ID
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 0.0.0.0:36583           0.0.0.0:*               LISTEN      8923/xe_d000_XE
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      9078/tnslsnr
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:1521            0.0.0.0:*               LISTEN      9078/tnslsnr
tcp        0      0 :::6000                 :::*                    LISTEN      -
tcp        0      0 :::80                   :::*                    LISTEN      -
tcp        0      0 :::82                   :::*                    LISTEN      -
oracle@slitaz:~$
.


2011-08-16

Slitaz - tazpanel / boot log files


Tazpanel - Boot

Boot log files

X server
[..]
modprobe: module fbcon not found in modules.dep
/usr/bin/xauth:  file /home/tux/.Xauthority does not exist
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-wACNhb8CyN,guid=f7233b62925ae37beecafc1300000ea5
DBUS_SESSION_BUS_PID=3145
DBUS_SESSION_BUS_WINDOWID=8388609
cat: can't open '/var/lib/tazpkg/packages.up': No such file or directory

** (:1588): WARNING **: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

** Message: console message: http://tazpanel:82/ @11: TypeError: Result of expression 'document.getElementById("loading")' [null] is not an object.

** Message: console message: http://tazpanel:82/pkgs.cgi @11: TypeError: Result of expression 'document.getElementById("loading")' [null] is not an object.
[..]


1.
root@slitaz:~# modinfo fbcon
filename:       fbcon

2.
root@slitaz:~# ls -l /home/tux/.Xauthority
-rw-------    1 tux      users           51 Aug 16 17:54 /home/tux/.Xauthority

3.
root@slitaz:~# ps ax | grep 1588
 1588 tux        0:07 tazweb http://tazpanel:82/
 2487 root       0:00 grep 1588

4.
root@slitaz:~# ls /var/lib/tazpkg
files.list.lzma      mirrors              packages.list
files.list.lzma.bak  packages.desc        packages.list.bak
ID                   packages.desc.bak    packages.md5
installed            packages.diff        packages.md5.bak
installed.md5        packages.equiv       packages.txt
mirror               packages.equiv.bak   packages.txt.bak

5.
tux@slitaz:~$ tazpkg info aspell

Tazpkg information
================================================================================
Package    : aspell
Version    : 0.60.6
Category   : system-tools
Short desc : GNU spell checker.
Maintainer : paul@slitaz.org
Depends    : ncurses gcc-lib-base
Web site   : http://aspell.net/
================================================================================

tux@slitaz:~$ tazpkg search-file libaspell.so

Search result for file libaspell.so
================================================================================

Package aspell:
/usr/lib/libaspell.so.15.1.4
/usr/lib/libaspell.so
/usr/lib/libaspell.so.15

================================================================================
3 file(s) found for: libaspell.so

tux@slitaz:~$

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-07-09

Slitaz -- Qt phonon

1.

Phonon multimedia framework


http://doc.qt.nokia.com/4.7/phonon-overview.html

Introduction

Qt uses the Phonon multimedia framework to provide functionality for playback of the most common multimedia formats. The media can be read from files or streamed over a network, using a QURL to a file.

[..]

Linux

The Qt backend on Linux uses GStreamer (minimum version is 0.10), which must be installed on the system. At a minimum, you need the GStreamer library and base plugins, which provides support for .ogg files. The package names may vary between Linux distributions; on Mandriva, they have the following names:
PackageDescription
libgstreamer0.10_0.10
The GStreamer base library.
libgstreamer0.10_0.10-devel
Contains files for developing applications with GStreamer.
libgstreamer-plugins-base0.10
Contains the basic plugins for audio and video playback, and will enable support for ogg files.
libgstreamer-plugins-base0.10-devel
Makes it possible to develop applications using the base plugins.



























2.
tux@slitaz:~$ tazpkg info gstreamer

Tazpkg information
================================================================================
Package    : gstreamer
Version    : 0.10.34
Category   : multimedia
Short desc : GStreamer Multimedia Framework
Maintainer : jozee@slitaz.org
Depends    : libxml2 glib
Build deps : intltool pkg-config bison flex glib-dev libxml2-dev python
python-dev m4 libgio-dev gobject-introspection-dev
Web site   : http://gstreamer.freedesktop.org/
================================================================================

tux@slitaz:~$

3.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #5 SMP Wed Jun 15 00:06:36 UTC 2011 i686 GNU/Linux
tux@slitaz:~$ tazpkg list | grep gst
gst-plugins-base        0.10.34           multimedia
gst-plugins-base-dev    0.10.34           development
gst-plugins-good        0.10.29           multimedia
gstreamer               0.10.34           multimedia
gstreamer-dev           0.10.34           development
tux@slitaz:~

2011-07-07

Slitaz -- QML RestaurantApp -2




restaurant.xml

<?xml version="1.0" encoding="UTF-8" ?>

<restaurant>

<info>

<name>Diner</name>

<logo>content/logo.png</logo>

<address>

<street>1567 Broadway</street>

<city>New York</city>

<country>United States</country>

<coordinates>

<latitude>40.75930175423635</latitude>

<longitude>-73.98525953292847</longitude>

</coordinates>

</address>

<map>

<minZoomLevel>12</minZoomLevel>

<maxZoomLevel>17</maxZoomLevel>

</map>

<telephone>+2129189999</telephone>

<url>http://www.diner.com/</url>

<description>It takes guts to open a restaurant in Times Square that lacks a theme or strives to be classier than a carnival. Granted, Diner offers an audacious voyeur's paradise in its soaring staircase that rises alongside a suspended abstract sculpture of a fork. Mayson Bacon Jr. has succeeded finding a perfect balance between class and bacon. And to repeat what I'm saying: It takes guts to open a restaurant in Times Square that lacks a theme or strives to be classier than a carnival. Granted, Diner offers an audacious voyeur's paradise in its soaring staircase that rises alongside a suspended abstract sculpture of a fork. I'm on a horse.</description>

</info>

<menu>

<category id="category1" name="Soups" icon="content/soups_icon.png">

<dish name="The King of Prawns" icon="">Deep-fried king prawns and Sweet Chili sauce.</dish>

<dish name="Super Hot Jalapeno Pops" icon="">Deep-fried jalapenos filled with cheese. Served with garlic mayonnaise and out SuperHot Chilisauce.</dish>

<dish name="Muchos Nachos" icon="">Tortillaa chips, melted cheddar cheese, salsa sauce, jalapeno slices, sour cream & guacamole.</dish>

<dish name="Just Fries" icon="">Salted fries with bbq sauce.</dish>

<dish name="Blue Cheese 'n Fries" icon="">Seasoned Criss Cuts with blue cheese sauce.</dish>

<dish name="Sweet Fries" icon="">Sweet potato fries with our special mustard sauce.</dish>

</category>

<category id="category2" name="Vegetarian" icon="content/vegetarian_icon.png">

<dish name="THE Ceasar Salad" icon="">A mixed green salad with Caesar dressing, Parmesan cheese, croutons and arugula with a choice of chicken breast, marinated shrimps, bacon or chevre.</dish>

<dish name="All Vegs" icon="">A mixed green salad with cherry tomato, cucumber, fresh pineapple, orange, marinated red onion, watermelon, arugula & deep-fried spring rolls. Served with ranch dressing, toasted bread and Sweet Chili sauce.</dish>

<dish name="Fruity Fish Salad" icon="">A mixed green salad with salmon fillet, cherry tomato, cucumber, fresh pineapple, orange, marinated red onion, watermelon, lime & arugula. Oil & herb dressing and toasted bread.</dish>

</category>

<category id="category3" name="Sea Food" icon="content/sea_food_icon.png">

<dish name="Fish of the day" icon="">Whatever fish comes up, served with seasonal vegetables and Tartar sauce.</dish>

<dish name="Tons of Tuna" icon="">A huge steak of fresh tuna, baked sweet potato and lime mayo.</dish>

</category>

<category id="category4" name="Steaks" icon="content/steaks_icon.png">

<dish name="Giant BBQ Steak" icon="">A 250g sirloin steak, fries, seasonal veggies and BBQ mayo.</dish>

<dish name="Surf 'n Turf" icon="">A 180g sirloin steak, deep-fried king prawns, bell pepper, asparagus, red onion, whiskey- and Bearnaise sauce, Criss Cuts and garnished with arugula.</dish>

<dish name="Silence of the Lambs" icon="">Lamb Loin Chops with minty mushed peas, country fries and creamy mustard sauce.</dish>

<dish name="Latino Chick" icon="">Chicken breast with Latino sauce and salad of cherry tomatos, cucumber, marinated red onion & arugula. Fresh pineapple, garlic mayonnaise and Criss Cuts.</dish>

</category>

<category id="category5" name="Desserts" icon="content/desserts_icon.png">

<dish name="Master Muffin" icon="">Chocolate muffin with white-chock chips, served with vanilla whipped cream.</dish>

<dish name="The Big Apple" icon="">Apple pie with pecan nuts and raisins, served with vanilla ice cream and chocolate sauce.</dish>

<dish name="Shake it, shake it" icon="">A giant milk shake with a choice of banana-chocolate, chocolate, strawberry-vanilla or mint-chocolate. Made with real fruits and choc.</dish>

<dish name="Super Cheesecake" icon="">A home made cheesecake served with heaps of whipped cream and Goji-berry & strawberry sauces.</dish>

</category>

<category id="category5" name="Drinks" icon="content/drinks_icon.png">

<dish name="Master Muffin" icon="">Chocolate muffin with white-chock chips, served with vanilla whipped cream.</dish>

<dish name="The Big Apple" icon="">Apple pie with pecan nuts and raisins, served with vanilla ice cream and chocolate sauce.</dish>

<dish name="Shake it, shake it" icon="">A giant milk shake with a choice of banana-chocolate, chocolate, strawberry-vanilla or mint-chocolate. Made with real fruits and choc.</dish>

<dish name="Super Cheesecake" icon="">A home made cheesecake served with heaps of whipped cream and Goji-berry & strawberry sauces.</dish>

</category>

</menu>

</restaurant>

Slitaz -- QML RestaurantApp





QML RestaurantApp

The Restaurant example application demonstrates how QML can be used to build a simple, impressive catalog-type application based on local XML data. It is straightforward to convert the application to use internet resources instead of local XML-resources. The application is designed in such a way that it is easy to replace the content and visual style for different restaurants.

Slitaz -- qtcreator-lrelease



1.
root@slitaz:/tmp/qt-creator-qt-creator/share/qtcreator/translations# diff translations.pro-orig translations.pro
--- translations.pro-orig
+++ translations.pro
@@ -1,6 +1,6 @@
 include(../../../qtcreator.pri)

-LANGUAGES = cs de fr hu ja pl ru sl zh_CN
+LANGUAGES = cs de fr hu ja pl ru sl zh_CN zh_TW

 # var, prepend, append
 defineReplace(prependAll) {

2.
為項目translations執行構建步驟 ...
正在啟動 "/usr/bin/qmake" /tmp/qt-creator-qt-creator/share/qtcreator/translations/translations.pro -r -spec linux-g++
進程"/usr/bin/qmake"正常退出。
正在啟動 "/usr/bin/make" -w
make: Entering directory `/tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop'
/usr/bin/lrelease ../translations/qtcreator_cs.ts -qm share/qtcreator/translations/qtcreator_cs.qm
Updating 'share/qtcreator/translations/qtcreator_cs.qm'...
    Generated 4067 translation(s) (4067 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_de.ts -qm share/qtcreator/translations/qtcreator_de.qm
Updating 'share/qtcreator/translations/qtcreator_de.qm'...
    Generated 5979 translation(s) (5979 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_fr.ts -qm share/qtcreator/translations/qtcreator_fr.qm
Updating 'share/qtcreator/translations/qtcreator_fr.qm'...
    Generated 5438 translation(s) (5438 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_hu.ts -qm share/qtcreator/translations/qtcreator_hu.qm
Updating 'share/qtcreator/translations/qtcreator_hu.qm'...
    Generated 2846 translation(s) (2846 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_ja.ts -qm share/qtcreator/translations/qtcreator_ja.qm
Updating 'share/qtcreator/translations/qtcreator_ja.qm'...
    Generated 5346 translation(s) (5345 finished and 1 unfinished)
    Ignored 95 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_pl.ts -qm share/qtcreator/translations/qtcreator_pl.qm
Updating 'share/qtcreator/translations/qtcreator_pl.qm'...
    Generated 5477 translation(s) (5449 finished and 28 unfinished)
    Ignored 463 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_ru.ts -qm share/qtcreator/translations/qtcreator_ru.qm
Updating 'share/qtcreator/translations/qtcreator_ru.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_sl.ts -qm share/qtcreator/translations/qtcreator_sl.qm
Updating 'share/qtcreator/translations/qtcreator_sl.qm'...
    Generated 4057 translation(s) (4057 finished and 0 unfinished)
    Ignored 9 untranslated source text(s)
/usr/bin/lrelease ../translations/qtcreator_zh_CN.ts -qm share/qtcreator/translations/qtcreator_zh_CN.qm
Updating 'share/qtcreator/translations/qtcreator_zh_CN.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
/usr/bin/lrelease ../translations/qtcreator_zh_TW.ts -qm share/qtcreator/translations/qtcreator_zh_TW.qm
Updating 'share/qtcreator/translations/qtcreator_zh_TW.qm'...
    Generated 5439 translation(s) (5439 finished and 0 unfinished)
make: Leaving directory `/tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop'
進程"/usr/bin/make"正常退出。

3.
root@slitaz:~# ls -lh /tmp/qt-creator-qt-creator/share/qtcreator/translations-build-desktop/shar
e/qtcreator/translations/
total 6708
-rw-r--r--    1 root     root      548.9K Jul  7 15:11 qtcreator_cs.qm
-rw-r--r--    1 root     root      906.1K Jul  7 15:11 qtcreator_de.qm
-rw-r--r--    1 root     root      837.4K Jul  7 15:11 qtcreator_fr.qm
-rw-r--r--    1 root     root      396.1K Jul  7 15:11 qtcreator_hu.qm
-rw-r--r--    1 root     root      623.9K Jul  7 15:11 qtcreator_ja.qm
-rw-r--r--    1 root     root      787.3K Jul  7 15:11 qtcreator_pl.qm
-rw-r--r--    1 root     root      789.5K Jul  7 15:11 qtcreator_ru.qm
-rw-r--r--    1 root     root      539.8K Jul  7 15:11 qtcreator_sl.qm
-rw-r--r--    1 root     root      591.2K Jul  7 15:11 qtcreator_zh_CN.qm
-rw-r--r--    1 root     root      591.2K Jul  7 15:11 qtcreator_zh_TW.qm
root@slitaz:~#
.

2011-07-04

Slitaz -- kids





slitaz-kids.iso   2011-Jun-26 12:06:23   65.0M

file:///usr/share/doc/slitaz/kids.en.html

http://hg.slitaz.org/flavors/raw-file/7894ae01d959/kids/rootfs/usr/share/doc/slitaz/kids.en.html

SliTaz Kids


SliTaz for kids :-)

Welcome to the SliTaz Kids flavor. This version of SliTaz provide a an easy to use an intuitive desktop for kids older than 5 years. This is the first version, any feedback and wisheses can be done on the SliTaz Forum
It let the child play educational games, listen to music, write text documents and view or create images. The desktop use Openbox window manager, wbar for the icons bar and Nitrogen to set background images. The child can also manage is files with PCmanFM, wich is a standard and simple file manager.

Applications

  • Games: Childsplay
  • Math: Tuxmath
  • Music: Alsaplayer
  • Write: Xournal
  • Paint: MtPaint
  • Images: GQview
As on a standard SliTaz system you can install some more applications with the packages manager Tazpkg. Allowed applications for the child are on the icons bar and can also be in the Openbox menu, this let the admin choose wich applications are avalaible or not.

Desktop

The desktop introduce to a standard desktop (floating windows, tasks bar) with some large and accessible icons but no menu and no files on the desktop). Any mouse click wil popup a small menu with shortcuts to applications, an item to start a slideshow with all images in ~/Images, an admin menu as well as a logout and shutdow item.
If you want a task bar with a clock and notifycation support, you can start tint2 from command line to try it and add it to Openbox start script to get it run on each session.

Music

The defaut icons bar have an icon to play music with alsaplayer, when opened the child must click on the play button to start. The playlist is simply all the sound files found in ~/Music, so you just have to drop songs in this folder to add some songs for childs.

Childsplay alphabet in your language

Childsplay can use voices from Gcompris for the alphabet. We may have support for out-out-the-box for some languages in future version. For now you must install the appropriate Gcompris voices package and create a symlink, exemple for French localisation:
# tazpkg -i gcompris-voices-fr
# ln -s /usr/share/gcompris/boards/voices/fr/alphabet \
 /usr/share/sp_alphabetsounds/fr

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