Showing posts with label plugins. Show all posts
Showing posts with label plugins. Show all posts

2017-10-05

Next -- vivaldi and flash-player-ppapi



vivaldi and flash-player-ppapi


Package "vivaldi-stable" (1.12.955.38-1) is installed.

Pepper Flash Player
https://fpdownload.adobe.com/pub/flashplayer/pdc/27.0.0.130/flash_player_ppapi_linux.i386.tar.gz


tux@slitaz:~$ ls -l /opt/google/chrome/PepperFlash/
total 14996
-rwxr-xr-x 1 root root 15351596 Aug 29 17:11 libpepflashplayer.so
-rwxr-xr-x 1 root root 2223 Aug 29 17:11 manifest.json

tux@slitaz:~$ head /opt/google/chrome/PepperFlash/manifest.json
{
"description": "Pepper Flash Player",
"name": "Flapper",
"version": "27.0.0.130",
"x-flapper-revision": "81365",
"x-ppapi-arch": "ia32",
"x-ppapi-os": "linux",
"x-ppapi-required-interfaces": [
"PPB_AudioConfig;1.1|PPB_AudioConfig;1.0",
"PPB_AudioInput(Dev);0.4|PPB_AudioInput(Dev);0.3",

tux@slitaz:~$ file /opt/google/chrome/PepperFlash/libpepflashplayer.so
/opt/google/chrome/PepperFlash/libpepflashplayer.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0d77aad2b55c1a8114d0ac75c8cbab204f5dd29b, stripped

tux@slitaz:~$ ldd /opt/google/chrome/PepperFlash/libpepflashplayer.so

/opt/google/chrome/PepperFlash/libpepflashplayer.so:
linux-gate.so.1 (0xb7737000)
libdl.so.2 => /lib/libdl.so.2 (0xb679e000)
librt.so.1 => /lib/librt.so.1 (0xb6795000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6666000)
libm.so.6 => /lib/libm.so.6 (0xb6609000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb65f0000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb65d2000)
libc.so.6 => /lib/libc.so.6 (0xb6449000)
/lib/ld-2.25.so (0x80041000)

tux@slitaz:~$

----


vivaldi://about
Vivaldi 1.12.955.38 (Stable channel) (32-bit)
Revision 7f53b6a63fad112d5d35848a1a0c6fe5cb4a9cbd-
OS Linux
JavaScript V8 6.1.534.41
Flash 999.999.999.999 /opt/google/chrome/PepperFlash/libpepflashplayer.so
User Agent Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.102 Safari/537.36 Vivaldi/1.93.955.38
Command Line /usr/bin/vivaldi-stable --always-authorize-plugins --enable-blink-features=ResizeObserver --flag-switches-begin --flag-switches-end
Executable Path /opt/vivaldi/vivaldi
Profile Path /home/tux/.config/vivaldi/Default



----

Flash Player Help
https://helpx.adobe.com/flash-player.html

Install Flash Player in five easy steps
1. Check if Flash Player is installed on your computer

Check Now
YOUR SYSTEM INFORMATION
Your Flash Version         27.0.0.130
Your browser name          Vivaldi
Your Operating System (OS) Linux

[..]

5. Verify whether Flash Player is installed

If you see clouds moving in the animation below, you have successfully installed Flash Player.
Congratulations!

If you don't see the animation after completing all the steps, refresh this page using the icon below.





2015-05-04

Slitaz -- Java Control Panel



1.
tux@slitaz:~$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) Server VM (build 25.45-b02, mixed mode)


2.
tux@slitaz:~$ tazpkg info javajre

TazPKG information
=================================================================
Package    : javajre
Version    : 1.8.0_45
Category   : non-free
Short desc : Java Platform Standard Edition Runtime Environment
Maintainer : nobody@slitaz.org
Depends    : bash
Web site   : http://java.com/en/download/linux_manual.jsp?locale=en
Size       : 44.5M/163.7M
=================================================================


3.
tux@slitaz:~$ ldd /usr/lib/java/jre1.8.0_45/bin/java

/usr/lib/java/jre1.8.0_45/bin/java:
linux-gate.so.1 =>  (0xffffe000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf778d000)
libjli.so => /usr/lib/java/jre1.8.0_45/bin/../lib/i386/jli/libjli.so (0xf7778000)
libdl.so.2 => /lib/libdl.so.2 (0xf7773000)
libc.so.6 => /lib/libc.so.6 (0xf75fd000)
/lib/ld-linux.so.2 => /lib/ld-2.14.1.so (0xf77aa000)

4.
tux@slitaz:~$ jcontrol &

tux@slitaz:~$ ps | grep -A 1 jcontrol
 2417 tux        0:00 {jcontrol} /bin/bash /usr/bin/jcontrol
 2434 tux        0:01 /usr/lib/java/jre1.8.0_45/bin/java -Djavaplugin.user.profile= -Xbootclasspath/a:/usr/lib/java/jre1.8.0_45/bin/../lib/deploy.jar com.sun.deploy.panel.ControlPanel
--
 2458 tux        0:00 grep -A 1 jcontrol
tux@slitaz:~$


5.
tux@slitaz:~$ head -6 /usr/lib/java/jre1.8.0_45/bin/jcontrol
#!/bin/bash
#
# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
# ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
#
# Shell Script to run the Java Plug-in control panel.



2013-11-06

Slitaz -- JDK


get-java6-jdk

HTTP request sent, awaiting response... 404 Not Found

Processing post install commands.../usr/bin/tazpkg: cd: line 32: can't cd to /usr/lib/firefox*/plugins


1.
http://cook.slitaz.org/cooker.cgi?download=get-java6-jdk-1.0.tazpkg

root@slitaz:/tmp# get-java6-jdk
--2013-11-06 22:52:56--  http://raphaello.univ-fcomte.fr/ftp/java/Jdk/jdk-6u13-linux-i586.bin
Resolving raphaello.univ-fcomte.fr (raphaello.univ-fcomte.fr)... 194.57.88.125
Connecting to raphaello.univ-fcomte.fr (raphaello.univ-fcomte.fr)|194.57.88.125|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-11-06 22:52:58 ERROR 404: Not Found.


2.
# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin

root@slitaz:/tmp# get-java6-jdk
--2013-11-06 23:06:23--  http://download.oracle.com/otn-pub/java/jdk/6u45-b06//jdk-6u45-linux-i586.bin
Resolving download.oracle.com (download.oracle.com)... 210.61.248.41, 210.61.248.24
Connecting to download.oracle.com (download.oracle.com)|210.61.248.41|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin [following]
--2013-11-06 23:06:23--  https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.77.22.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.77.22.140|:443... connected.
WARNING: cannot verify edelivery.oracle.com's certificate, issued by `/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin?AuthParam=1383750200_4cb609f881784567d740e7ca5667fe0c [following]
--2013-11-06 23:06:24--  http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin?AuthParam=1383750200_4cb609f881784567d740e7ca5667fe0c
Connecting to download.oracle.com (download.oracle.com)|210.61.248.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71799552 (68M) [application/octet-stream]
Saving to: `jdk-6u45-linux-i586.bin'

     0K .......... .......... .......... .......... ..........  0%  265K 4m24s
    50K .......... .......... .......... .......... ..........  0%  296K 4m10s
   100K .......... .......... .......... .......... ..........  0%  794K 3m16s
   150K .......... .......... .......... .......... ..........  0%  638K 2m54s
[..]
 70050K .......... .......... .......... .......... .......... 99% 5.49M 0s
 70100K .......... ......                                     100% 10.9M=16s

2013-11-06 23:06:41 (4.39 MB/s) - `jdk-6u45-linux-i586.bin' saved [71799552/71799552]

Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
   creating: jdk1.6.0_45/
[..]
Creating jdk1.6.0_45/jre/lib/javaws.jar
Creating jdk1.6.0_45/jre/lib/deploy.jar

Done.

Packing : java6-jdk-1.6.0_45
================================================================================
Creating the list of 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 ]
================================================================================
Package java6-jdk-1.6.0_45 compressed successfully.
Size : 64.1M    java6-jdk-1.6.0_45.tazpkg


Installation of : java6-jdk
================================================================================
Copying java6-jdk...                                                 [ OK ]
Extracting java6-jdk...                                              [ OK ]
Extracting the pseudo fs... (lzma)                                   [ OK ]
Installing java6-jdk...                                              [ OK ]
Removing all tmp files...                                            [ OK ]
Processing post install commands.../usr/bin/tazpkg: cd: line 32: can't cd to /usr/lib/firefox*/plugins
                                                                     [ OK ]
================================================================================
java6-jdk (1.6.0_45) is installed.


3.
root@slitaz:/tmp# ls -l /usr/lib/mozilla/plugins/
total 0
lrwxrwxrwx    1 root     root            34 Nov  7 00:24 libflashplayer.so -> /usr/share/flash/libflashplayer.so
lrwxrwxrwx    1 root     root            50 Nov  6 23:44 libnpjp2.so -> /usr/lib/java/jdk1.6.0_45/jre/lib/i386/libnpjp2.so


4.
root@slitaz:/tmp# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)

root@slitaz:/tmp# javac -version
javac 1.6.0_45

root@slitaz:/tmp# javap -help | head -1
Usage: javap <options> <classes>...

root@slitaz:/tmp# javadoc -help | head -2
usage: javadoc [options] [packagenames] [sourcefiles] [@files]
-overview <file>          Read overview documentation from HTML file



5.
root@slitaz:/tmp# diff /usr/bin/get-java6-jdk-1.0 /usr/bin/get-java6-jdk
--- /usr/bin/get-java6-jdk-1.0
+++ /usr/bin/get-java6-jdk
@@ -6,9 +6,9 @@
 # Author : K�vin DA SILVA <dasilvakevin@hotmail.fr>

 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_45"
+URL="http://download.oracle.com/otn-pub/java/jdk/6u45-b06"
+TARBALL="jdk-6u45-linux-i586.bin"
 TEMP_DIR="/tmp/$PACKAGE.$$"
 ROOT="$1"

@@ -38,7 +38,7 @@
 cd $TEMP_DIR

 # Download the file
-test -f $TARBALL || wget $URL/$TARBALL
+test -f $TARBALL || wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" $URL/$TARBALL
 if [ ! -f $TARBALL ]; then
     cd $CUR_DIR
     rm -rf $TMP_DIR
@@ -80,8 +80,8 @@
 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
+    [ -d /usr/lib/mozilla/plugins ] || mkdir -p /usr/lib/mozilla/plugins
+    ln -s /usr/lib/java/jdk\$VERSION/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins

     #lien mit dans red5 /usr/bin/javajdk
     cd /usr/bin
@@ -94,8 +94,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


6.
Package: get-java6-jdk
http://cook.slitaz.org/cooker.cgi?pkg=get-java6-jdk

receipt home files download
Cook summary

Summary for: get-java6-jdk 1.0
================================================================================
Produced    : 4.0K
Packed      : 32.0K
Compressed  : 4.0K
Files       : 1
Cook time   : 1s
Cook date   : 2013-09-22 13:54
Host arch   : i486
================================================================================

Slitaz -- JRE

get-java6-jre
Could not download jre.bin. Exiting.

# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jre-6u45-linux-i586.bin"

JDK 6u45
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin
JRE 6u45
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jre-6u45-linux-i586.bin

JDK 7u25
    http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-linux-i586.tar.gz
JRE 7u25
    http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jre-7u25-linux-i586.tar.gz
JDK 7u45
    http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-i586.tar.gz


1.
# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jre-6u45-linux-i586.bin"

# curl -L -O -k -H "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin"

root@slitaz:/home/tux# curl -L -O -k -H "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0   286    0     0    347      0 --:--:-- --:--:-- --:--:--   347
100 68.4M  100 68.4M    0     0  3715k      0  0:00:18  0:00:18 --:--:-- 3167k
root@slitaz:/home/tux#

 -H, --header LINE   Custom header to pass to server (H)
 -k, --insecure      Allow connections to SSL sites without certs (H)
 -L, --location      Follow redirects (H)
 -o, --output FILE   Write output to <file> instead of stdout
 -O, --remote-name   Write output to a file named as the remote file
     --remote-name-all Use the remote file name for all URLs


2.
root@slitaz:/home/tux# java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)


3.
http://mirror.slitaz.org/packages/cooking/get-java6-jre-1.1.0.tazpkg

root@slitaz:/home/tux# diff /usr/bin/get-java6-jre-1.1.0 /usr/bin/get-java6-jre
--- /usr/bin/get-java6-jre-1.1.0
+++ /usr/bin/get-java6-jre
@@ -6,15 +6,15 @@
 # Author : Eric Joseph-Alexandre <erjo@slitaz.org>

 PACKAGE="java6-jre"
-WEB_SITE="http://www.java.com/"
+WEB_SITE="http://download.oracle.com/otn-pub/java/jdk/"
 SHORT_DESC="SUN Java Runtime."
 DEPENDS="xorg-libXtst"
 TARBALL="jre.bin"
 TEMP_DIR="/tmp/$PACKAGE.$$"
 ROOT="$1"

-URL="$(wget -O - ${WEB_SITE}en/download/manual_v6.jsp | \
-       sed '/self-extracting/!d;s/.*href="\([^"]*\).*/\1/;q')"
+# URL="$(wget -O - ${WEB_SITE}en/download/manual_v6.jsp | \
+#       sed '/self-extracting/!d;s/.*href="\([^"]*\).*/\1/;q')"

 # Check if we are root starting anything
 if test $(id -u) != 0 ; then
@@ -36,8 +36,12 @@
 test -d $TEMP_DIR || mkdir $TEMP_DIR
 cd $TEMP_DIR

+# FIXME. http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jre-6u45-linux-i586.bin
+URL="$(wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" -O $TARBALL ${WEB_SITE}6u45-b06/jre-6u45-linux-i586.bin)"
+
 # Download the file
-test -f $TARBALL || wget $URL -O $TARBALL
+# test -f $TARBALL || wget $URL -O $TARBALL
+test -f $TARBALL || $URL
 if [ ! -f $TARBALL ]; then
     cd $CUR_DIR
     rm -rf $TEMP_DIR
root@slitaz:/home/tux#


4.
wok - Searching for 'java'
http://hg.slitaz.org/wok/log?rev=java

age     author     description
2 days ago     Dominique Corbex     get-LibreOffice: mv java from DEPS to SUGGESTED
8 weeks ago     Pascal Bellard     Add some licenses
8 weeks ago     Pascal Bellard     get-*: add license
2 months ago     Pascal Bellard     Add some GPL2 licenses
3 months ago     Pascal Bellard     *vnc*: add LICENSE
3 months ago     Eric Joseph-Alexandre     Add: tightvnc-java
10 months ago     Pascal Bellard     Update get-java6-jre (again)
10 months ago     Pascal Bellard     Update get-java6-jre (thanks ernia)
17 months ago     Richard Dunbar     get-java6-jre: fix generic with tar
17 months ago     Richard Dunbar     get-java6-jre: update tarball


Ref:
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
http://stackoverflow.com/questions/10268583/how-to-automate-download-and-instalation-of-java-jdk-on-linux

2013-05-20

Slitaz -- firefox / flashplugin

Outdated Plugins / vulnerable ??

Env:
slitaz-4.0: firefox 10.0.2
slitaz-rolling.iso: firefox ESR 17.0.5

1.  about:plugins
Shockwave Flash
File: libflashplayer.so
Version: 11,2,202,285
Shockwave Flash 11.2 r202
MIME Type Description Suffixes
application/x-shockwave-flash Shockwave Flash swf
application/futuresplash FutureSplash Player spl


2. plugincheck

Plugin Status

  • Step 1: Click Update to update a plugin.
  • Step 2: Complete all recommended updates before restarting your browser.

 Outdated Plugins
Plugin Status Action
Shockwave FlashShockwave Flash 11.2 r202vulnerableUpdate Now


3. Update Now

 Download Adobe Flash Player

Adobe Flash Player version 11.2.202.285
Your system: Linux 32-bit, Firefox | 6.60 MB


2012-01-04

Slitaz -- firefox-xpi


 6.安裝玉山銀行Linux專用版 WebATM plugin(32-bit)

 http://netbank.esunbank.com.tw/webatm/cabs/esb_xcsp_for_firefox-1.0.4.5-fx-Linux_x86-gcc3.xpi

tux@slitaz:~$ unzip -l /tmp/esb_xcsp_for_firefox-1.0.4.5-fx-Linux_x86-gcc3.xpi
Archive:  /tmp/esb_xcsp_for_firefox-1.0.4.5-fx-Linux_x86-gcc3.xpi
  Length      Date    Time    Name
---------  ---------- -----   ----
     2871  12-22-2011 17:41   META-INF/zigbert.rsa
     3584  12-22-2011 17:41   chrome/content/Thumbs.db
     1711  12-22-2011 17:41   chrome/content/WebATM.png
      255  12-22-2011 17:41   chrome.manifest
      957  12-22-2011 17:41   install.rdf
   237200  12-22-2011 17:41   plugins/libnpWebATM.so
      790  12-22-2011 17:41   META-INF/manifest.mf
      898  12-22-2011 17:41   META-INF/zigbert.sf
---------                     -------
   248266                     8 files

tux@slitaz:~$ unzip -p /tmp/esb_xcsp_for_firefox-1.0.4.5-fx-Linux_x86-gcc3.xpi | grep -i -e minversion -e maxversion
        <em:minVersion>3.0</em:minVersion>
        <em:maxVersion>20.0.*</em:maxVersion>
tux@slitaz:~$


<!-- Firefox -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>3.0</em:minVersion>
<em:maxVersion>20.0.*</em:maxVersion>
</Description>
</em:targetApplication>


support Firefox 3.0 ~ 20.0.* !!

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-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-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-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-06-23

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:~$

2010-06-29

Slitaz -- webcam


root@slitaz:~# export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
root@slitaz:~# mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -vo x11

# tazpkg get-install linux-video
# tazpkg get-install libv4l
# tazpkg get-install v4l-dvb
# tazpkg get-install usbutils

root@slitaz:~# lsusb | grep -i logitech
Bus 003 Device 002: ID 046d:08f0 Logitech, Inc. QuickCam Messenger
Bus 004 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser

root@slitaz:~# tazhw detect-usb

Detected USB devices Kernel modules
================================================================================
Camera
sh: gspca_stv06xx: unknown operand
! Missing module: snd-usb-audio
gspca_stv06xx
quickcam_messenger
sed: unmatched '/'
================================================================================

root@slitaz:~# modprobe gspca_stv06xx
root@slitaz:~# modprobe snd-usb-audio
root@slitaz:~# lsmod | head
Module Size Used by Not tainted
snd_usb_audio 69944 0
gspca_stv06xx 20920 0
gspca_main 21112 1 gspca_stv06xx
videodev 32080 1 gspca_main
v4l1_compat 11120 1 videodev
i2c_core 17468 1 videodev
snd_usb_lib 13192 1 snd_usb_audio
snd_rawmidi 16920 1 snd_usb_lib
snd_seq_device 5544 1 snd_rawmidi
root@slitaz:~# dmesg | tail -12
STV06xx: Configuring camera
STV06xx: st6422 sensor detected
STV06xx: Initializing camera
input: STV06xx as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/input/input3
gspca: video0 created
gspca: found int in endpoint: 0x82, buffer_len=1, interval=16
STV06xx: Probing for a stv06xx device
gspca: probing 046d:08f0
STV06xx: Probing for a stv06xx device
gspca: probing 046d:08f0
usbcore: registered new interface driver STV06xx
STV06xx: registered
root@slitaz:~# ls -l /dev/video*
crw-rw---- 1 root video 81, 0 Jun 29 22:35 /dev/video0
root@slitaz:~#
root@slitaz:~# export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
root@slitaz:~# tazhw setup webcam
COMMAND OPTIONS: webcam
installing pkg: hal-info
[..]
Installation of : mplayer-svn-30817
================================================================================
Copying mplayer-svn-30817... [ OK ]
Extracting mplayer-svn-30817... 6328 blocks
Extracting the pseudo fs... (lzma) 20478 blocks
Installing mplayer-svn... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
mplayer-svn (30817) is installed.

root@slitaz:~# Creating config file: /root/.mplayer/config
MPlayer SVN-r30817-4.4.1 (C) 2000-2010 MPlayer Team
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: Camera
Capabilites: video capture read/write streaming
supported norms:
inputs: 0 = STV06xx;
Current input: 0
Current format: RGB24
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x240 => 320x240 Planar YV12
[swscaler @ 0x8e7df10]No accelerated colorspace conversion found from yuv420p to bgra.
[swscaler @ 0x8e7df10]using unscaled yuv420p -> bgra special converter
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...
libv4l2: error dequeuing buf: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 170 frames successfully processed, 253 frames dropped.

Exiting... (Quit)
root@slitaz:~#

----
http://forum.slitaz.org/index.php/discussion/207/webcam-support-in-slitaz%3A-howto

http://cateee.net/lkddb/web-lkddb/USB_GSPCA.html

CONFIG_USB_GSPCA: GSPCA based webcams
General informations

The Linux kernel configuration item CONFIG_USB_GSPCA:

* prompt: GSPCA based webcams
* type: tristate
* depends on: CONFIG_VIDEO_V4L2
* defined in drivers/media/video/gspca/Kconfig
* found in Linux Kernels: from 2.6.27 release still available on 2.6.34 release
* module created: gspca_main
[..]

http://lxr.linux.no/#linux+v2.6.30.6/Documentation/video4linux/gspca.txt
LXR linux/Documentation/video4linux/gspca.txt History Print
1List of the webcams known by gspca.
2
3The modules are:
4 gspca_main main driver
5 gspca_xxxx subdriver module with xxxx as follows
6
7xxxx vend:prod
.