2011-12-29

Slitaz -- libkml-svn

error: ISO C++ 1998 does not support 'long long'

cc1plus: warnings being treated as errors
In file included from ../../../third_party/boost_1_34_1/boost/config.hpp:57:0,
                 from ../../../third_party/boost_1_34_1/boost/intrusive_ptr.hpp:16,
                 from ../../../src/kml/base/xml_element.h:31,
                 from ../../../src/kml/dom/kml_cast.h:29,
                 from ../../../src/kml/dom.h:32,
                 from ../../../src/kml/convenience/atom_util.h:34,
                 from atom_util.cc:28:
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:435:18: error: ISO C++ 1998 does not support ‘long long’
../../../third_party/boost_1_34_1/boost/config/suffix.hpp:436:18: error: ISO C++ 1998 does not support ‘long long’

1.
http://code.google.com/p/libkml/issues/detail?id=170

Relax the compile flags in the makefiles. E.g. http://code.google.com/p/libkml/source/browse/trunk/src/kml/base/Makefile.am#8

Removing -Werror might be sufficient.


2.
root@slitaz:~/libkml# du -ch libkml-svn/fs/usr
104.0K  libkml-svn/fs/usr/include/kml/convenience
60.0K   libkml-svn/fs/usr/include/kml/xsd
140.0K  libkml-svn/fs/usr/include/kml/base
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/stdlib
12.0K   libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/platform
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/no_tr1
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config/compiler
84.0K   libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/config
8.0K    libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost/detail
120.0K  libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1/boost
124.0K  libkml-svn/fs/usr/include/kml/third_party/boost_1_34_1
128.0K  libkml-svn/fs/usr/include/kml/third_party
168.0K  libkml-svn/fs/usr/include/kml/engine
40.0K   libkml-svn/fs/usr/include/kml/regionator
376.0K  libkml-svn/fs/usr/include/kml/dom
1.0M    libkml-svn/fs/usr/include/kml
1.0M    libkml-svn/fs/usr/include
184.0K  libkml-svn/fs/usr/share/java
188.0K  libkml-svn/fs/usr/share
22.5M   libkml-svn/fs/usr/lib/libkml
5.8M    libkml-svn/fs/usr/lib/python2.7/site-packages
5.9M    libkml-svn/fs/usr/lib/python2.7
72.7M   libkml-svn/fs/usr/lib
73.9M   libkml-svn/fs/usr
73.9M   total
root@slitaz:~/libkml#


3.
root@slitaz:~/libkml# cat libkml-svn/receipt
# SliTaz package receipt.

PACKED_SIZE="12.2M"
UNPACKED_SIZE="73.9M"
PACKAGE="libkml"
VERSION="svn"
CATEGORY="misc"
SHORT_DESC="A library to manipulate KML 2.2 OGC standard files"
MAINTAINER=""
WEB_SITE="http://code.google.com/p/libkml/"
WGET_URL="svn checkout http://libkml.googlecode.com/svn/trunk/ libkml"

DEPENDS=""
BUILD_DEPENDS="java6-jdk python-dev swig"
root@slitaz:~/libkml#


4.
root@slitaz:~/libkml# cat DEPENDENCIES
This file records the source URL and version of each external package
used by libkml. Other versions may work fine, but you'll be less
on your own if you use these exact versions as well.

Required:
g++: 4.0.1, 4.0.3 (or MS Visual Studio 2005 on Windows)
expat: expat.sourceforge.net 2.0.1
zlib: www.zlib.net 1.2.3
googletest: http://googletest.googlecode.com r108 (supplied in this project)

Optional:
java: java.sun.com 1.5.0_13, 1.6.0_04
python: www.python.org 2.3.4, 2.4.4, 2.5.1
swig: www.swig.org at least 1.3.35. Also known to work with 1.3.39

Development:
automake: www.gnu.org/software/automake 1.9.6
autoconf: www.gnu.org/software/autoconf 2.59
libtool: www.gnu.org/software/libtool 1.5

root@slitaz:~/libkml#
.

2011-12-25

qemu-1.0

ChangeLog/1.0

From QEMU

Contents

[hide]

General

  • i386-softmmu is no longer named qemu but instead referred to as qemu-system-i386 for better consistency with other targets. A new tool is likely to be introduced that uses the qemu name so distributions are advised to not undo this change.
  • QEMU now uses a separate thread for VCPU execution. This merges the biggest difference between the qemu-kvm tree and upstream QEMU.
  • A new memory dispatch API has been added internally. A new monitor command "info mtree" can show the hierarchy of memory regions in the guest.
  • QEMU now has a build dependency on glib and makes extensive use of glib.
  • QEMU now can run on more hosts. Hosts without a native code generator can use the TCG interpreter (TCI). See Features/TCI for more information.

Block devices (disks)

  • QEMU now supports I/O latency accounting in the monitor command "info blockstats".
  • Errors are now tracked per device and are shown by the monitor command "info block".
  • All image formats now support asynchronous operation. IDE and SCSI emulation will use this feature, while other devices (notably floppy and SD) will not.

IDE/ATAPI

  • A large number of bugs were fixed regarding CD media change and tray locking.

SCSI

  • Memory management errors could crash QEMU when scsi-disk encountered I/O errors. Many instances of this problem were fixed.
  • The accuracy of error handling for SCSI emulation has been greatly improved.
  • SCSI devices can now be addressed by channel, target (id) and LUN. Not all emulated HBAs will support this feature (in particular, the LSI controller will not).
  • Block device pass through is now supported through a new scsi-block device. The scsi-block device works with block devices (like /dev/sda or /dev/sr0) rather than /dev/sgN devices, and is more efficient because it does not consume arbitrary amounts of memory when the guest does large data transfers.
  • SCSI CD-ROMs now report media changed events.
  • SCSI CD-ROMs now support DVD images.
  • Bugfixes for IDE media change also apply to SCSI.
  • SCSI devices now report a unit attention condition when the system is started or reset. This may cause problems with old firmware versions.

VDI

  • Now supports discarded blocks in dynamically-sized images.

User-mode networking (SLIRP)

  • SLIRP can process ARP replies and gratuitous ARP requests from the guest.

ARM

  • QEMU now supports the new Cortex-A15 instructions in linux-user mode (via "-cpu any"): VFPv4 fused multiply-accumulate (VFMA, VFMS, VFNMA, VFNMS) and also integer division (UDIV, SDIV).
  • The vexpress-a9, versatileab, versatilepb and realview-* boards now have audio support.
  • QEMU is known not to work on ARM hosts in this release. (ARM target emulation is fine.)

pSeries

  • sPAPR VIO devices can now be created with -device.

Xtensa

  • QEMU now supports DC232b and FSF xtensa CPU cores.
  • QEMU now supports sim (similar to Tensilica ISS) and LX60/LX110/LX200 machines.

Migration

  • QEMU now supports live migration using image files like QCOW2 on shared storage

 

Difference between qemu and qemu-kvm

Depending on your needs, you can choose either to install upstream qemu or qemu-kvm from the official repositories.
Upstream QEMU is a pure emulator, with no hardware acceleration. qemu versions < 0.15.0 do have initial KVM support when QEMU is started with the -enable-kvm parameter, but this implementation is still buggy and nowhere as complete as in qemu-kvm, as many functions still do not work. Starting with qemu version 0.15.0, the qemu-kvm tree has been fully integrated with the qemu tree, and there should not be any difference between qemu -enable-kvm and qemu-kvm. See the [QEMU changelog] for more details.
Upstream QEMU is capable of emulating many different platforms (arm, i386, m68k, mips, ppc, sparc, x86_64, etc). On the other hand, you have qemu-kvm, which is qemu (i386 and x86_64 architecture support only) with KVM (kernel-based virtual machine) additions, allowing you to run virtual machines at close to native speed. qemu-kvm is the version you want if you have a CPU that supports hardware virtualization and you only need to run virtual machines for the i386 and x86_64 architectures (Linux, Windows, BSD, etc).
Not all processors support KVM. You will need an x86-based machine running a recent ( >= 2.6.22 ) Linux kernel on an Intel processor with VT-x (virtualization technology) extensions or an AMD processor with SVM (Secure Virtual Machine) extensions (also called AMD-V). Xen has a complete list of compatible processors. For Intel processors, see also the Intel® Virtualization Technology List.

2011-12-19

Slitaz -- firefox - sqlite

1.
tux@slitaz:~$ ls /home/tux/.mozilla/firefox/1w1lo56l.default/*.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/addons.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/chromeappsstore.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/content-prefs.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/cookies.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/downloads.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/extensions.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/formhistory.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/permissions.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/places.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/search.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/signons.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/urlclassifier3.sqlite
/home/tux/.mozilla/firefox/1w1lo56l.default/webappsstore.sqlite

2.
tux@slitaz:~$ sqlite3 /home/tux/.mozilla/firefox/1w1lo56l.default/extensions.sqlite
SQLite version 3.7.5
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .databases
seq  name             file                                                     
---  ---------------  ----------------------------------------------------------
0    main             /home/tux/.mozilla/firefox/1w1lo56l.default/extensions.sql

2.
sqlite> .tables
addon              locale             targetApplication
addon_locale       locale_strings     targetPlatform  

3.
sqlite> .schema addon
CREATE TABLE addon (internal_id INTEGER PRIMARY KEY AUTOINCREMENT, id TEXT, location TEXT, version TEXT, type TEXT, internalName TEXT, updateURL TEXT, updateKey TEXT, optionsURL TEXT, aboutURL TEXT, iconURL TEXT, icon64URL TEXT, defaultLocale INTEGER, visible INTEGER, active INTEGER, userDisabled INTEGER, appDisabled INTEGER, pendingUninstall INTEGER, descriptor TEXT, installDate INTEGER, updateDate INTEGER, applyBackgroundUpdates INTEGER, bootstrap INTEGER, skinnable INTEGER, size INTEGER, sourceURI TEXT, releaseNotesURI TEXT, UNIQUE (id, location));
CREATE TRIGGER delete_addon AFTER DELETE ON addon BEGIN DELETE FROM targetApplication WHERE addon_internal_id=old.internal_id; DELETE FROM targetPlatform WHERE addon_internal_id=old.internal_id; DELETE FROM addon_locale WHERE addon_internal_id=old.internal_id; DELETE FROM locale WHERE id=old.defaultLocale; END;

4.
sqlite> .header on
sqlite> select id,version,type from addon;
id|version|type
{972ce4c6-7e08-4474-a285-3208198ce6fd}|4.0.1|theme
{22870005-adef-4c9d-ae36-d0e1f2f27e5a}|0.4.0.9.1|extension
{aff87fa2-a58e-4edd-b852-0a20203c1e17}|0.9|extension
{53A03D43-5363-4669-8190-99061B2DEBA5}|1.4.9|extension
moonlight@novell.com|3.99.0.3|extension
sqlite> .quit
tux@slitaz:~$
.

2011-12-18

Slitaz -- moonlight / silverlight - HKJC




The Hong Kong Jockey Club

3. What are the required Plug-ins for viewing your site?
Please install latest versions of Microsoft Silverlight and Flash Player.
To download these plug-ins, simply click on the links below and follow the instructions provided.
Download Microsoft Silverlight
Download Flash Flayer 


6. What are the steps to run Microsoft Silverlight?

2011-12-16

Slitaz -- moonlight / silverlight



What is Moonlight?

Moonlight was built by Novell in collaboration with Microsoft which provided Novell with test suites, specifications, open source code and Media Codecs to create an entirely open sourced Silverlight-compatible implementation for Unix systems.
Access to licensed Media Codecs (MP3, WMV, VC-1) is provided by Microsoft to Moonlight 1.0 and 2.0 users. The first time that you access a web site that requires these codecs, Moonlight will prompt you to download the codecs from Microsoft and install those on your system.

Moonlight
Silverlight for Linux: a free plug-in.
Bringing a new level of interactivity wherever the Web works.

1.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #4 SMP Wed Mar 16 11:27:06 UTC 2011 i686 GNU/Linux


2.
tux@slitaz:~$ tazpkg list | grep firefox
firefox                 4.0.1             network
libfirefox              4.0.1             network
tux@slitaz:~$


3.
about:plugins

Silverlight Plug-In

    File: libmoonloaderxpi.so
    Version:
    4.0.51204.0

MIME Type     Description     Suffixes
application/x-silverlight     Novell Moonlight     xaml
application/x-silverlight-2     Novell Moonlight

.

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-12-11

Slitaz -- virtualbox-ose

VirtualBox Guest Additions
must be performed in guest or host?

1.
Oracle VM VirtualBox®

User Manual
https://www.virtualbox.org/manual/ch04.html#idp11274368

Installing the Linux Guest Additions
[..]
Installation generally involves the following steps:

Before installing the Guest Additions, you will have to prepare your guest system for building external kernel modules. This works similarly as described in the section called “The VirtualBox kernel module”, except that this step must now be performed in your Linux guest instead of on a Linux host system, as described there.

Again, as with Linux hosts, we recommend using DKMS if it is available for the guest system. If it is not installed, use this command for Ubuntu/Debian systems:
[..]


2.
# SliTaz package receipt.

PACKED_SIZE="15.1M"
UNPACKED_SIZE="62.9M"
PACKAGE="virtualbox-ose"
VERSION="4.0.8"
CATEGORY="misc"
SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)"
MAINTAINER="slaxemulator@gmail.com"
SOURCE="VirtualBox"
[..]
# virtualbox-ose-additions

cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions"
mkdir -p $fs/usr/bin
mkdir -p $fs/sbin
mkdir -p $fs/etc/X11/xorg.conf.d

install -m755 VBoxClient VBoxControl VBoxService "$fs/usr/bin"
install -m755 mount.vboxsf "$fs/sbin"

install -m644 $src/src/VBox/Additions/x11/Installer/50-vboxmouse.conf \
$fs/etc/X11/xorg.conf.d/50-vboxmouse.conf

install -m755 -D $src/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
$fs/usr/bin/VBoxClient-all
install -m755 -D $src/src/VBox/Additions/x11/Installer/vboxclient.desktop \
$fs/etc/xdg/autostart/vboxclient.desktop

install -D vboxmouse_drv_19.so \
"$fs/usr/lib/X11/modules/input/vboxmouse.so"
install -D vboxvideo_drv_19.so \
"$fs/usr/lib/X11/modules/drivers/vboxvideo.so"
install -d "$fs/usr/lib/dri"
install -m755 VBoxOGL*.so "$fs/usr/lib"
ln -s /usr/lib/VBoxOGL.so "$fs/usr/lib/dri/vboxvideo_dri.so"
install -m755 -D pam_vbox.so "$fs/lib/security/pam_vbox.so"

# virtualbox-ose-additions-modules
cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src"

cd vboxguest
install -D -m644 vboxguest.ko \
"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxguest.ko"

cd ../vboxsf
install -D -m644 vboxsf.ko \
"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxsf.ko"

cd ../vboxvideo
install -D -m644 vboxvideo.ko \
"$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxvideo.ko"

install -D -m 0644 "$stuff/60-vboxguest.rules" \
"$fs/etc/udev/rules.d/60-vboxguest.rules"
[..]

2011-12-10

Slitaz -- glib-networking / p11-kit

Midori / TazWeb
TLS/SSL support not available; install glib-networking

Env:
http://mirror.slitaz.org/iso/rolling/slitaz-core.iso
slitaz-core.iso    2011-Dec-10 05:12:20    31.0M

1.
tux@slitaz:~$ tazpkg list | grep glib-networking
glib-networking         2.28.7            x-window


2.
tux@slitaz:~$ tazpkg list-files glib-networking

Installed files with: glib-networking
================================================================================
/usr/lib/gio/modules/libgiognutls.so
/usr/share/locale/fr/LC_MESSAGES/glib-networking.mo
================================================================================
2 files installed with glib-networking.


3.
tux@slitaz:~$ ldd /usr/lib/gio/modules/libgiognutls.so

/usr/lib/gio/modules/libgiognutls.so:
        linux-gate.so.1 =>  (0xffffe000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb76cb000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb76b6000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7685000)
        libffi.so.5 => /usr/lib/libffi.so.5 (0xb7680000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb767c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7678000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7674000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7596000)
        librt.so.1 => /lib/librt.so.1 (0xb758e000)
        libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb7503000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb74f6000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb74e5000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb74cd000)
        libp11-kit.so.0 => not found
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7462000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb745d000)
        libc.so.6 => /lib/libc.so.6 (0xb7319000)
        /lib/ld-2.13.so (0xb77bb000)
        libp11-kit.so.0 => not found

tux@slitaz:~$


4.
tux@slitaz:~$ tazpkg search-pkgname  p11-kit.so.0

Search result for file p11-kit.so.0
================================================================================
p11-kit

================================================================================
1 pkg(s) found with file: p11-kit.so.0


5.
tux@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/
================================================================================

tux@slitaz:~$


6.
tux@slitaz:~$ head -50 /var/log/boot.log | tail
Starting TazBox configuration...
libp11-kit.so.0: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/gio/modules/libgiognutls.so

(process:1384): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
libp11-kit.so.0: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 3428 requests (3427 known processed) with 0 events remaining.
tux@slitaz:~$
.

Slitaz -- smplayer / lirc


/usr/bin/mplayer: error while loading shared libraries: liblirc_client.so.0: cannot open shared object file: No such file or directory

1.
tux@slitaz:~$ tazpkg list-files lirc

Installed files with: lirc
================================================================================
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_atiusb.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_bt829.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_dev.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_i2c.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_igorplugusb.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_imon.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_sasem.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_serial.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_sir.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_ttusbir.ko
/lib/modules/2.6.37-slitaz/kernel/misc/lirc_wpc8769l.ko
================================================================================
11 files installed with lirc.


2.
tux@slitaz:~$ ls -l /tmp/lirc*
-rw-r--r--    1 root     root        191756 Nov 15 20:53 /tmp/lirc-0.9.0-1115.tazpkg
-rw-r--r--    1 root     root         42520 Dec 10 16:45 /tmp/lirc-0.9.0.tazpkg
tux@slitaz:~$


3.
http://cook.slitaz.org/cooker.cgi?pkg=lirc
[..]

libtool: link: cannot find the library `/usr/lib/libjack.la' or unhandled argument `/usr/lib/libjack.la'
make[2]: *** [irrecord] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: cannot find the library `/usr/lib/libjack.la' or unhandled argument `/usr/lib/libjack.la'
make[2]: *** [lircd] Error 1
make[2]: Leaving directory `/home/slitaz/wok/lirc/source/lirc-0.9.0/daemons'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/slitaz/wok/lirc/source/lirc-0.9.0/daemons'
make: *** [install-recursive] Error 1
Build dependencies to remove: 18
Removing: alsa-lib alsa-lib-dev flac jack-audio-connection-kit libftdi libftdi-dev libirman libirman-dev libogg libsndfile libusb libusb-compat libusb-compat-dev libusb-dev libvorbis portaudio portaudio-dev util-linux-ng-uuid-dev

Pack: lirc 0.9.0
================================================================================
Executing: genpkg_rules
cp: can't stat '/home/slitaz/wok/lirc/install/usr/lib/*.so*': No such file or directory
cp: can't stat '/home/slitaz/wok/lirc/install/usr/bin': No such file or directory
cp: can't stat '/home/slitaz/wok/lirc/install/usr/sbin': No such file or directory
Copying receipt... OK
Creating the list of files... OK
Executing strip on all files... OK
Creating md5sum of files... OK
Compressing the fs...  OK
Updating receipt sizes... OK
Creating full cpio archive...  OK
Restoring original package tree...  OK
QA: Checking for empty package... OK
Removing old: lirc-0.9.0.tazpkg OK
================================================================================
Package: lirc-0.9.0.tazpkg

Summary for: lirc 0.9.0
================================================================================
Produced   : 176.0K
Packed     : 200.0K
Compressed : 44.0K
Files      : 11
Cook time  : 44s
Cook date  : 2011-12-09 13:43
================================================================================
.

2011-11-30

Slitaz -- ctrl_alt_bksp

Ctrl-Alt-Backspace / ctrl_alt_bksp

Ref:
http://alanyih.blogspot.com/2010/05/slitaz-setxkbmap.html


Extract from:
https://wiki.archlinux.org/index.php/Xorg

[..]
Ctrl-Alt-Backspace does not work

There are two ways of restoring Ctrl+Alt+Backspace; with and without input-hotplugging. Using hot-plugging is recommended.
With input hot-plugging
System-wide

Within /etc/X11/xorg.conf.d/10-evdev.conf, simply add the following:

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Note: On KDE, this system-wide setting has no effect. To restore, go to Kickoff > Computer > System Settings which will open up the System Settings window. Click on 'Input Devices'. In this new window click the Keyboard tab and then click on the advanced tab. In this new window, click the box for 'Configure keyboard options.' Expand the entry for 'Key sequence to kill the X server' and ensure Control + Alt + Backspace is checked. Click Apply and close the System Settings window. You now have your CTRL-ALT-Backspace back in KDE.
User-specific

Another way is to put this line in xinitrc:

setxkbmap -option terminate:ctrl_alt_bksp

Note: This setting has no effect on Gnome 3.
Without input hot-plugging

New Xorg disables zapping with Ctrl+Alt+Backspace by default. You can enable it by adding the following line to /etc/X11/xorg.conf,

Option "XkbOptions" "terminate:ctrl_alt_bksp"

to InputDevice section for keyboard.

2011-11-25

Slitaz -- navimap / easymap



1.
http://easymap.land.moi.gov.tw


       8. 系統更新,請更新java版本至1.6 JRE 6(update 26~),否則系統將無法正常運作。

2.
http://navimap.land.moi.gov.tw

Slitaz -- java6-jdk



1.
 tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Nov 2 22:01:57 CET 2011 i686 GNU/Linux
tux@slitaz:~$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Server VM (build 20.4-b02, mixed mode)
tux@slitaz:~$

2.
tux@slitaz:~$ ls -l /usr/lib/mozilla/plugins
total 0
lrwxrwxrwx    1 root     root            34 Nov 25 19:48 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx    1 root     root            50 Nov 25 19:09 libnpjp2.so -> /usr/lib/java/jdk1.6.0_29/jre/lib/i386/libnpjp2.so
tux@slitaz:~$

3.
tux@slitaz:~$ ls -l /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fall*
lrwxrwxrwx    1 root     root            36 Nov 25 19:43 /usr/lib/java/jdk1.6.0_29/jre/lib/fonts/fallback -> /usr/share/fonts/truetype/droid-font
tux@slitaz:~$

4.
tux@slitaz:~$ cat get-java6-jdk.diff
--- get-java6-jdk-orig
+++ get-java6-jdk
@@ -6,9 +6,9 @@
 # Author : Kévin DA SILVA

 PACKAGE="java6-jdk"
-VERSION="1.6.0_13"
-URL="http://raphaello.univ-fcomte.fr/ftp/java/Jdk"
-TARBALL="jdk-6u13-linux-i586.bin"
+VERSION="1.6.0_29"
+URL="http://download.oracle.com/otn-pub/java/jdk/6u29-b11/"
+TARBALL="jdk-6u29-linux-i586.bin"
 TEMP_DIR="/tmp/$PACKAGE.$$"
 ROOT="$1"

@@ -80,8 +80,9 @@
 post_install()
 {
        echo -n "Processing post install commands..."
-       cd /usr/lib/firefox*/plugins
-       ln -s /usr/lib/java/jdk\$VERSION/jre/plugin/i386/ns7/libjavaplugin_oji.so
+       mkdir -p /usr/lib/mozilla/plugins
+       cd /usr/lib/mozilla/plugins
+       ln -s /usr/lib/java/jdk\$VERSION/jre/lib/i386/libnpjp2.so

        #lien mit dans red5 /usr/bin/javajdk
        cd /usr/bin
@@ -94,8 +95,11 @@

 post_remove()
 {
-       rm -f /usr/lib/firefox*/plugins/libjavaplugin_oji.so
+       rm -f /usr/lib/mozilla/plugins/libnpjp2.so
        rm -f /usr/bin/java
+       rm -f /usr/bin/javac
+       rm -f /usr/bin/javadoc
+       rm -f /usr/bin/javap
 }
 EOT

tux@slitaz:~$ 

2011-11-02

Slitaz -- LibreOffice / langpack


20111126 update

tux@slitaz:~$ echo ${LANG/_/-} ${LANG%_*} ${LANG%.*} | sed s/_/-/
zh-TW.UTF-8 zh zh-TW

tux@slitaz:~$ diff get-LibreOffice-orig get-LibreOffice
--- get-LibreOffice-orig
+++ get-LibreOffice
@@ -24,7 +24,7 @@

 TARBALL="LibO_${VER}_${SUFFIX}"

-for LOC in ${LANG/_/-} ${LANG%_*}; do
+for LOC in ${LANG/_/-} ${LANG%_*} ${LANG%.*} | sed s/_/-/; do
        L_SUFFIX="Linux_x86_langpack-rpm_$LOC.tar.gz"
        L_TARBALL="LibO_${VER}_${L_SUFFIX}"
        LANG_URL="$WGET_URL/${VERSION}/rpm/x86/${L_TARBALL}"
tux@slitaz:~$

----
get-LibreOffice

tar: can't open '/tmp/src.1650/LibO_3.4.3_Linux_x86_langpack-rpm_zh.tar.gz': No such file or directory

http://download.documentfoundation.org/libreoffice/stable/3.4.3/rpm/x86/LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz

1.
tux@slitaz:~$ head -1 /tmp/get-LibreOffice.log
tar: can't open '/tmp/src.1650/LibO_3.4.3_Linux_x86_langpack-rpm_zh.tar.gz': No such file or directory

tux@slitaz:~$ tazpkg info get-LibreOffice

Tazpkg information
================================================================================
Package    : get-LibreOffice
Version    : 1.2
Category   : office
Short desc : Productivity suite.
Maintainer : ben@seawolfsanctuary.com
Web site   : http://www.documentfoundation.org
================================================================================

tux@slitaz:~$ tazpkg info LibreOffice

Tazpkg information
================================================================================
Package    : LibreOffice
Version    : 3.4.3
Category   : office
Short desc : Productivity suite.
Maintainer :
Depends    : java6-jre
Web site   : http://www.libreoffice.org
================================================================================


2.
http://download.documentfoundation.org/libreoffice/stable/3.4.3/rpm/x86/
[..]

LibO_3.4.3_Linux_x86_langpack-rpm_xh.tar.gz25-Aug-2011 13:57 7.8M Details
LibO_3.4.3_Linux_x86_langpack-rpm_xh.tar.gz.asc25-Aug-2011 13:57 836 Details
LibO_3.4.3_Linux_x86_langpack-rpm_zh-CN.tar.gz25-Aug-2011 13:57 1.7M Details
LibO_3.4.3_Linux_x86_langpack-rpm_zh-CN.tar.gz.asc25-Aug-2011 13:57 836 Details
LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz25-Aug-2011 13:57 1.7M Details
LibO_3.4.3_Linux_x86_langpack-rpm_zh-TW.tar.gz.asc25-Aug-2011 13:57 836 Details
LibO_3.4.3_Linux_x86_langpack-rpm_zu.tar.gz25-Aug-2011 13:57 1.6M Details
LibO_3.4.3_Linux_x86_langpack-rpm_zu.tar.gz.asc25-Aug-2011 13:57 836 Details


3.
tux@slitaz:~$ grep LOC /usr/bin/get-LibreOffice
for LOC in ${LANG/_/-} ${LANG%_*}; do
        L_SUFFIX="Linux_x86_langpack-rpm_$LOC.tar.gz"
        echo "Added $LANG ($LOC)."

tux@slitaz:~$ echo ${LANG/_/-}
zh-TW.UTF-8
tux@slitaz:~$ echo ${LANG%_*}
zh
tux@slitaz:~$ echo ${LANG/_/-} ${LANG%_*}
zh-TW.UTF-8 zh

2011-10-23

Slitaz -- Java Plug-in : libnpjp2.so

tazweb-1.4
midori-0.3.6
firefox-4.0.1
google-chrome-unstable-16.0.912.4-r106469
opera-11.52.1100

Java plug-in -- libnpjp2.so

Java(TM) Plug-in 1.6.0_17
Description: The next generation Java plug-in for Mozilla browsers.
Location:    /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so


get-java6-jre and get-java6-jdk -- libjavaplugin_oji.so don't work.

echo -n "Processing post install commands..."
cd /usr/lib/firefox*/plugins
ln -s /usr/lib/java/jre\$VERSION/plugin/i386/ns7/libjavaplugin_oji.so

ln -s /usr/lib/java/jdk\$VERSION/jre/plugin/i386/ns7/libjavaplugin_oji.so


1.
root@slitaz:~# ls -l /usr/lib/mozilla/plugins/
total 0
lrwxrwxrwx    1 root     root            34 Oct 23 15:27 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx    1 root     root            46 Oct 23 16:24 libnpjp2.so -> /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so
root@slitaz:~#


2. How do I test whether Java is working on my computer?
http://www.java.com/en/download/testjava.jsp

Your Java configuration is as follows:
Vendor: Sun Microsystems Inc.
Version: Java SE 6 Update 17
Operating System: Linux 2.6.37-slitaz
Architecture: i386


3. tazweb-1.4
file:///usr/share/doc/tazweb/tazweb.html
SliTaz Web Browser
[..]
The browser fast, very fast and small, the binary is about 24 Kb and uses the Webkit engine for page rendering and therefore supports all the latest web standards as well as Javascript and Flash animations or videos.


4. midori-0.3.6
about:version

Version numbers in brackets show the version used at runtime.

Command line    midori
Midori    0.3.6
WebKitGTK+    1.2.7 (1.2.7)
GTK+    2.24.4 (2.24.4)
Glib    2.28.6 (2.28.7)
libsoup    2.34.0
libnotify    Yes
libidn    No
libunique    No
libhildon    No
Platform    Linux i686
Identification    Mozilla/5.0 (X11; Linux) AppleWebKit/531.2+ Midori/0.3
Netscape Plugins:

libflashplayer.so    Shockwave Flash
libnpjp2.so    Java(TM) Plug-in 1.6.0_17
Video Formats:

H264    false
Ogg Theora    false
WebM    false


5. firefox-4.0.1
about:plugins
      Java(TM) Plug-in 1.6.0_17

      File: libnpjp2.so
      Version:
      The next generation Java plug-in for Mozilla browsers.

http://www.mozilla.org/en-US/plugincheck/


6. google-chrome-unstable-16.0.912.4-r106469
about:plugins
Java - Version: 1.6.0_17 Download Critical Security Update
The next generation Java plug-in for Mozilla browsers.
Name:    Java(TM) Plug-in 1.6.0_17
Description:    The next generation Java plug-in for Mozilla browsers.
Version:    1.6.0_17
Location:    /usr/lib/java/jre1.6.0_17/lib/i386/libnpjp2.so


7. opera-11.52.1100
opera:about
 About Opera
    Version information
    Version    11.52
    Build    1100
    Platform    Linux
    System    i686, 2.6.37-slitaz

    Browser identification
    Opera/9.80 (X11; Linux i686; U; en) Presto/2.9.168 Version/11.52

Paths
Preferences
/home/tux/.opera/operaprefs.ini

Saved session
/home/tux/.opera/sessions/autopera.win

Bookmarks
/home/tux/.opera/bookmarks.adr

Opera directory
/home/tux/.opera/

Cache
/home/tux/.opera/cache/

Help documents
/home/tux/.opera/opcache/

Mail directory
/home/tux/.opera/mail/

Plug-in path
/usr/lib/opera/plugins

/usr/lib/mozilla/plugins

User CSS directory
/home/tux/.opera/styles/user/
.

2011-10-07

Slitaz -- ogdi



What is OGDI

OGDI is the Open Geographic Datastore Interface. OGDI is an application programming interface (API) that uses a standardized access methods to work in conjunction with GIS software packages (the application) and various geospatial data products. OGDI uses a client/server architecture to facilitate the dissemination of geospatial data products over any TCP/IP network, and a driver-oriented approach to facilitate access to several geospatial data products/formats.

1.
 root@slitaz:~# tazpkg info ogdi

Tazpkg information
================================================================================
Package    : ogdi
Version    : 3.2.0b2
Category   : misc
Short desc : Open Geographic Datastore Interface Library
Maintainer : alanyih
Depends    : expat zlib proj
Build deps : file expat-dev zlib-dev
Web site   : http://ogdi.sourceforge.net/
================================================================================

root@slitaz:~#


2.
http://localhost/cooker/cooker.cgi?pkg=ogdi

Package: ogdi

receipt
Cook summary

Summary for: ogdi 3.2.0b2
================================================================================
Produced   : 668.0K
Packed     : 620.0K
Compressed : 160.0K
Files      : 18
Cook time  : 10s
Cook date  : 2011-10-07 16:12
================================================================================
Cook log

Cook: ogdi 3.2.0b2
================================================================================
QA: checking package receipt...
Checking build dependencies...
Extracting: ogdi-3.2.0.beta2.tar.gz
Executing: compile_rules
configure: loading site script /etc/slitaz/cook.site
checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-slitaz-linux-gcc accepts -g... yes
checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed
checking for dlopen in -ldl... yes
checking for  -shared ... no(1)
checking for ld -shared ... yes
checking how to run the C preprocessor... i486-slitaz-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
 [..]
 ================================================================================

Pack: ogdi 3.2.0b2
================================================================================
Executing: genpkg_rules
Copying receipt... OK
Creating the list of files... OK
Executing strip on all files... OK
Creating md5sum of files... OK
Compressing the fs...  OK
Updating receipt sizes... OK
Creating full cpio archive...  OK
Restoring original package tree...  OK
QA: Checking for empty package... OK
================================================================================
Package: ogdi-3.2.0b2.tazpkg

Summary for: ogdi 3.2.0b2
================================================================================
Produced   : 668.0K
Packed     : 620.0K
Compressed : 160.0K
Files      : 18
Cook time  : 10s
Cook date  : 2011-10-07 16:12
================================================================================

 3. Fixme!

mkdir -p /home/slitaz/wok/ogdi/install/lib/ogdi
mv -f /home/slitaz/wok/ogdi/install/lib/libogdi.so.3.2 /home/slitaz/wok/ogdi/install/lib
cp /home/slitaz/wok/ogdi/source/ogdi-3.2.0b2/bin/Linux/libogdi.so /home/slitaz/wok/ogdi/install/lib/ogdi
mv: can't rename '/home/slitaz/wok/ogdi/install/lib/libogdi.so.3.2': No such file or directory
make[2]: *** [install-so-link] Error 1
.

2011-10-05

Slitaz -- PyQt4


root@slitaz:~# python
Python 2.7.1 (r271:86832, Apr  6 2011, 10:12:09)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4.QtCore import QT_VERSION_STR, PYQT_VERSION_STR
>>> print QT_VERSION_STR, PYQT_VERSION_STR
4.7.3 4.8.3
>>> quit()
root@slitaz:~# tazpkg info PyQt-x11-gpl

Tazpkg information
================================================================================
Package    : PyQt-x11-gpl
Version    : 4.8.3
Category   : development
Short desc : PyQt
Maintainer : allan316@gmail.com
Depends    : python libQtDesigner libQtScript  libQtCore libQtGui          libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql          libQtDBus libQtClucene sip gcc-lib-base dbus
Build deps : python-dev Qt4-dev qmake libQtDesigner libQtScript libQtCore             libQtGui libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql libQtDBus libQtClucene                sip sip-dev
Web site   : http://www.riverbankcomputing.co.uk
================================================================================

root@slitaz:~# tazpkg list | grep ^qt4
qt4                     4.7.3             meta
qt4-phonon              4.7.3             multimedia
root@slitaz:~#

2011-10-02

Slitaz -- cookutils





SliTaz Cook & Cooker

The SliTaz Cookutils provide tools and utils to help build SliTaz packages. They are easy to use and learn, fast and light. You will be able to create SliTaz packages in a few commands. The cookutils provide the 'cook' utility and the Cooker.

Cook lets you compile and create a package, provide a log file and check the receipt/package quality. The Cooker is a build bot with more automation and can be used as a frontend to cook since it provides a CGI/web interface which lets you view cook logs in a nice and colored way. Cook and the Cooker use the same DB files and wok, they both share blocked and broken packages as well as any activity.

For technical information, for example the coding style, etc, please refer to the README found in the source tree or in /usr/share/doc/cookutils.


 SliTaz Cooker
Package:
Summary

Running command  : Not running
Wok revision     : 10963
Commits to cook  : 0
Current cooklist : 0
Broken packages  : 0
Blocked packages : 0
Packages: 3054 in the wok - 10 cooked - 3044 unbuilt - Server date: 2011-10-03 12:28

0%
Latest: cookorder.log commits.log installed.diff - Architecture i486: toolchain.log

Activity

2011-10-03 10:35 : No revision changes: 10963 vs 10963
2011-10-03 10:35 : Updating wok: /home/slitaz/wok-hg
2011-10-03 10:30 : Cook started for: glibc-base
2011-10-03 10:29 : Cook started for: glibc-extra-samba
2011-10-03 10:28 : Cook started for: glibc-locale
2011-10-03 10:28 : Cook started for: glibc-dev
2011-10-03 10:21 : Cook started for: locale-zh_TW
2011-10-03 10:21 : Cook started for: slitaz-tools
2011-10-03 10:20 : Cook started for: locale-zh_TW
2011-10-03 10:20 : Cook started for: slitaz-configs
2011-10-03 10:17 : Cook started for: glibc
2011-10-03 10:14 : Cook started for: locale-zh_TW
More activity
Cooknotes

More notes
Commits

Cooklist

Full cooklist
Broken

All broken packages
Blocked

Latest cook

2011-10-03 10:30 : glibc-base-2.13.tazpkg
2011-10-03 10:29 : glibc-extra-samba-2.13.tazpkg
2011-10-03 10:29 : glibc-locale-2.13.tazpkg
2011-10-03 10:28 : glibc-dev-2.13.tazpkg
2011-10-03 10:25 : glibc-2.13.tazpkg
2011-10-03 10:21 : locale-zh_TW-4.0.tazpkg
2011-10-03 10:21 : slitaz-tools-4.4.1.tazpkg
2011-10-03 10:20 : slitaz-configs-4.4.tazpkg
2011-10-03 10:08 : sudo-1.8.1p2.tazpkg
2011-10-03 10:08 : cooktest-1.0.tazpkg

SliTaz Website Cooker Documentation

.