Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts
2013-12-10
Slitaz -- firefox-distribution
firefox-distribution
1.
firefox/stuff/distribution.ini
# Partner Distribution Configuration File
# id: short string unique to this distribution
# about: a short descriptive (ui-visible) string for this
# distribution
# version: version of the extra distribution pieces (not the version
# of Firefox)
[Global]
id=SliTaz GNU/Linux
version=5.0
about=Distribution Edition
about.fr=Édition pour la distribution
2.
wok diff firefox/stuff/distribution.ini @ 14210:dbd41e6636de
http://hg.slitaz.org/wok/diff/dbd41e6636de/firefox/stuff/distribution.ini
Up: firefox (17.0.4esr)
author Dominique Corbex <domcox@slitaz.org>
date Sat Mar 16 21:28:06 2013 +0100 (8 months ago ago)
parents
children
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/firefox/stuff/distribution.ini Sat Mar 16 21:28:06 2013 +0100
1.3 @@ -0,0 +1,77 @@
1.4 +# Partner Distribution Configuration File
1.5 +
1.6 +# id: short string unique to this distribution
1.7 +# about: a short descriptive (ui-visible) string for this
1.8 +# distribution
1.9 +# version: version of the extra distribution pieces (not the version
1.10 +# of Firefox)
1.11 +
1.12 +[Global]
1.13 +id=SliTaz GNU/Linux
1.14 +version=5.0
1.15 +about=Distribution Edition
1.16 +about.fr=Édition pour la distribution
1.17 +
[..]
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
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-10-16
Slitaz -- firefox
firefox-17.0.8esr.tazpkg: no such file
1.
root@slitaz:/home/tux# date
Wed Oct 16 16:49:37 UTC 2013
root@slitaz:/home/tux# tazpkg recharge
Main is up to date.
2.
root@slitaz:/home/tux# tazpkg -gi firefox
Connecting to mirror.slitaz.org (91.121.171.224:80)
wget: server returned error: HTTP/1.1 404 Not Found
Connecting to mirror.slitaz.org (91.121.171.224:80)
wget: server returned error: HTTP/1.1 404 Not Found
/usr/bin/tazpkg: line 2817: can't open /var/cache/tazpkg/cooking/packages/firefox-17.0.8esr.tazpkg: no such file
/usr/bin/tazpkg: .: line 2817: can't open '/tmp/7287/receipt'
root@slitaz:/home/tux# wget http://mirror.slitaz.org/packages/cooking/firefox-17.0.9esr.tazpkg
Connecting to mirror.slitaz.org (91.121.171.224:80)
firefox-17.0.9esr.ta 100% |************************************| 15856k 0:00:00 ETA
3.
root@slitaz:/home/tux# wget http://mirror.slitaz.org/packages/cooking/ID
Connecting to mirror.slitaz.org (91.121.171.224:80)
ID 100% |************************************| 33 0:00:00 ETA
root@slitaz:/home/tux# cat ID
0461959b270c73d599ba749c464dd5d8
root@slitaz:/home/tux# cat /var/lib/tazpkg/ID
0461959b270c73d599ba749c464dd5d8
4.
root@slitaz:/home/tux# grep firefox /var/lib/tazpkg/packages.md5 | head -4
f4dec8eae438fdc13dfcbe08ba54d789 firefox-17.0.8esr.tazpkg
2f4c0bd32f3a128a82ad6a6537af7394 firefox-dev-17.0.8esr.tazpkg
0e17d413a3f8e8b963e2248ef576313a firefox-langpack-da-17.0.8esr.tazpkg
092102b0652ccfc9d1170b27b1801528 firefox-langpack-de-17.0.8esr.tazpkg
root@slitaz:/home/tux# md5sum firefox-17.0.9esr.tazpkg
e392feddf2ab47ec12c2659a248b9a66 firefox-17.0.9esr.tazpkg
root@slitaz:/home/tux#
5.
http://mirror.slitaz.org/packages/cooking/
[..]
ID 2013-Oct-13 00:46:03 0.0K application/octet-stream
ORBit2-2.14.19.tazpkg 2013-Sep-21 16:57:31 145.7K application/x-tazpkg
[..]
firefox-17.0.9esr.tazpkg 2013-Sep-27 05:15:30 15.5M application/x-tazpkg
firefox-dev-17.0.9esr.tazpkg 2013-Sep-27 05:18:32 11.5M application/x-tazpkg
firefox-langpack-da-17.0.9esr.tazpkg 2013-Sep-27 08:45:36 204.8K application/x-tazpkg
firefox-langpack-de-17.0.9esr.tazpkg 2013-Sep-27 08:45:43 208.6K application/x-tazpkg
firefox-langpack-en_GB-17.0.9esr.tazpkg 2013-Sep-27 08:45:50 201.9K application/x-tazpkg
firefox-langpack-es_ES-17.0.9esr.tazpkg 2013-Sep-27 08:45:57 176.8K application/x-tazpkg
firefox-langpack-fr-17.0.9esr.tazpkg 2013-Sep-27 08:46:03 207.1K application/x-tazpkg
firefox-langpack-id-17.0.9esr.tazpkg 2013-Sep-27 08:46:10 205.2K application/x-tazpkg
firefox-langpack-it-17.0.9esr.tazpkg 2013-Sep-27 08:46:18 170.8K application/x-tazpkg
firefox-langpack-pt_BR-17.0.9esr.tazpkg 2013-Sep-27 08:46:24 208.3K application/x-tazpkg
firefox-langpack-pt_PT-17.0.9esr.tazpkg 2013-Sep-27 08:46:32 212.2K application/x-tazpkg
firefox-langpack-ru-17.0.9esr.tazpkg 2013-Sep-27 08:46:40 181.2K application/x-tazpkg
firefox-langpack-zh_CN-17.0.9esr.tazpkg 2013-Sep-27 08:46:47 208.3K application/x-tazpkg
firefox-langpack-zh_TW-17.0.9esr.tazpkg 2013-Sep-27 08:46:56 208.7K application/x-tazpkg
firefox.flavor 2013-Oct-13 00:52:20 6.5K application/x-flavor
[..]
packages.desc 2013-Aug-10 08:55:45 429.6K text/plain
packages.equiv 2013-Aug-10 08:55:43 5.8K text/plain
packages.list 2013-Aug-10 08:43:43 73.7K text/plain
packages.md5 2013-Aug-10 08:50:28 238.3K text/plain
packages.txt 2013-Aug-10 08:55:45 333.7K text/plain
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 |
|---|---|---|
| vulnerable | Update 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
2013-04-27
Slitaz -- ed2k/magnet
firefox add ed2k and magnet links support
1.
tux@slitaz:~$ sudo tazpkg -gi amule
tux@slitaz:~$ sudo tazpkg -gi ctorrent-dnh
2. edit mimeTypes.rdf
tux@slitaz:~$ leafpad ~/.mozilla/firefox/ytsl1hel.default/mimeTypes.rdf
before the last line (</RDF:RDF>) insert
<!-- magnet -->
<RDF:Description RDF:about="urn:scheme:magnet"
NC:value="magnet">
<NC:handlerProp RDF:resource="urn:scheme:handler:magnet"/>
<RDF:Description RDF:about="urn:scheme:externalApplication:magnet"
NC:prettyName="ctorrent"
NC:path="/usr/bin/ctorrent" />
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
<RDF:Description RDF:about="urn:schemes">
<NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
<RDF:Description RDF:about="urn:root"
NC:zh-TW_defaultHandlersVersion="3" />
<RDF:Description RDF:about="urn:scheme:handler:magnet"
NC:alwaysAsk="false">
<NC:externalApplication RDF:resource="urn:scheme:externalApplication:magnet"/>
<NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/ctorrent"/>
<RDF:Description RDF:about="urn:handler:local:/usr/bin/ctorrent"
NC:prettyName="ctorrent"
NC:path="/usr/bin/ctorrent" />
</RDF:Description>
<!-- ed2k -->
<RDF:Description RDF:about="urn:scheme:ed2k"
NC:value="ed2k">
<NC:handlerProp RDF:resource="urn:scheme:handler:ed2k"/>
<RDF:Description RDF:about="urn:scheme:externalApplication:ed2k"
NC:prettyName="amule"
NC:path="/usr/bin/amule" />
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
<RDF:Description RDF:about="urn:schemes">
<NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
<RDF:Description RDF:about="urn:root"
NC:zh-TW_defaultHandlersVersion="3" />
<RDF:Description RDF:about="urn:scheme:handler:ed2k"
NC:alwaysAsk="false">
<NC:externalApplication RDF:resource="urn:scheme:externalApplication:ed2k"/>
<NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/amule"/>
<RDF:Description RDF:about="urn:handler:local:/usr/bin/amule"
NC:prettyName="amule"
NC:path="/usr/bin/amule" />
</RDF:Description>
<RDF:Seq RDF:about="urn:schemes:root">
<RDF:li RDF:resource="urn:scheme:ed2k"/>
<RDF:li RDF:resource="urn:scheme:magnet"/>
</RDF:Seq>
3.
restart firefox
4.
tux@slitaz:~$ pgrep -fl ed2k
2623 /usr/bin/amule ed2k://|file|wheezy_qt5_20130310.tar|1637990400|3E8E082EC8B0B8DB4ACC62CB1943975A|/
tux@slitaz:~$
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-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:~$
.
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-11-25
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-04-15
Slitaz -- firefox 4.0 / langpack -2
refer to:
http://alanyih.blogspot.com/2011/04/slitaz-firefox-40-langpack.html
1.
http://labs.slitaz.org/issues/480
Bug #480
[cooking] firefox-langpack-zh_TW (4.0) install fails!
Added by alanyih lin 4 days ago.
Status: New Start date: 04/11/2011
Priority: Normal Due date:
Assignee: - % Done:
0%
Category: -
Target version: -
Description
firefox-langpack* (4.0)
Use the code below to change locale of firefox in shell:
sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
(1).
root@slitaz:~# sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
sed: /etc/firefox/pref/firefox-l10n.js: No such file or directory
(2).
root@slitaz:~# cat /var/lib/tazpkg/installed/firefox-langpack-zh_TW/files.list | head -2
/usr/lib/-4.0/extensions/langpack-zh-TW@firefox.mozilla.org/chrome.manifest
/usr/lib/-4.0/extensions/langpack-zh-TW@firefox.mozilla.org/chrome/zh-TW/locale/browser-region
root@slitaz:~#
(3).
root@slitaz:~# tazpkg get-install firefox-langpack-zh_TW
firefox-langpack-zh_TW-4.0 already in the cache : /var/cache/tazpkg/cooking/packages
Installation of : firefox-langpack-zh_TW ================================================================================
Copying firefox-langpack-zh_TW... [ OK ]
Extracting firefox-langpack-zh_TW... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing firefox-langpack-zh_TW... [ OK ]
Removing all tmp files... [ OK ]
Use the code below to change locale of firefox in shell:
sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
================================================================================
firefox-langpack-zh_TW (4.0) is installed.
root@slitaz:~# sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
sed: /etc/firefox/pref/firefox-l10n.js: No such file or directory
(4).
http://hg.slitaz.org/wok/rev/c8159297fa54
wok changeset 9386:c8159297fa54
Up firefox-langpack* (4.0)
author Pascal Bellard
date Sat Mar 26 11:12:45 2011 +0100 (2 weeks ago ago)
parents 5ab5ab1b7f51
children ac317c95f39c
files firefox-langpack-fr/receipt firefox-langpack-zh_CN/receipt firefox-langpack-zh_TW/receipt
----
2.
http://hg.slitaz.org/wok/
wok log
rev 9609: (0) -3000 -1000 -300 -100 -60 tip
age author description
5 hours ago Christophe Lincoln Up tazweb (1.2) - New URL entry and handle personal/bookmarks pagedefault tip
12 hours ago Pascal Bellard busybox: fix french translation for top and pcan desktop files
14 hours ago Christophe Lincoln Up slitaz-mercurial-style (1.1.2) to have updated likns to bugs tracker (Thank Claudinei)
23 hours ago Pascal Bellard nanochess: add title
24 hours ago Pascal Bellard urxvt: update depends
32 hours ago Christopher Rogers busybox: Added french translate for top and pcan desktop files. Fixed bug #475.
34 hours ago Christopher Rogers firefox: Added firefox-l10n.js to stuff folder so its copyed into package. Update prefs.js file. Fixed bug #480.
34 hours ago Christopher Rogers Fixed firefox-langpack-zh_TW install path. SOURCE is not needed anyway with this receipt.
[..]
----
3.
http://hg.slitaz.org/wok/rev/d7fc7a8fb846
wok changeset 9602:d7fc7a8fb846
Fixed firefox-langpack-zh_TW install path. SOURCE is not needed anyway with this receipt.
author Christopher Rogers
date Wed Apr 13 22:40:14 2011 +0000 (34 hours ago ago)
parents 1e023dcbed0e
children 2e0f0123456b
files firefox-langpack-zh_TW/receipt
line diff
1.1 --- a/firefox-langpack-zh_TW/receipt Wed Apr 13 10:50:54 2011 +0000
1.2 +++ b/firefox-langpack-zh_TW/receipt Wed Apr 13 22:40:14 2011 +0000
1.3 @@ -15,7 +15,7 @@
1.4 # Rules to gen a SliTaz package suitable for Tazpkg.
1.5 genpkg_rules()
1.6 {
1.7 - EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions/$LANG_DIR"
1.8 + EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
1.9 mkdir -p $EXTDIR
1.10 cp -a $src/* $EXTDIR
1.11 }
----
4.
http://hg.slitaz.org/wok/rev/2e0f0123456b
wok changeset 9603:2e0f0123456b
firefox: Added firefox-l10n.js to stuff folder so its copyed into package. Update prefs.js file. Fixed bug #480.
author Christopher Rogers
date Wed Apr 13 22:53:13 2011 +0000 (34 hours ago ago)
parents d7fc7a8fb846
children 2aea8b0a4873
files firefox/receipt firefox/stuff/firefox-l10n.js firefox/stuff/prefs.js
line diff
1.1 --- a/firefox/receipt Wed Apr 13 22:40:14 2011 +0000
1.2 +++ b/firefox/receipt Wed Apr 13 22:53:13 2011 +0000
1.3 @@ -34,7 +34,6 @@
1.4 # Rules to gen a SliTaz package suitable for Tazpkg.
1.5 genpkg_rules()
1.6 {
1.7 - i=$src
1.8 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome $fs/usr/share $fs/etc
1.9 cp -a $_pkg/usr/bin $fs/usr
1.10 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
1.11 @@ -56,6 +55,9 @@
1.12 mv -f $fs/usr/lib/$PACKAGE-$VERSION/$i $fs/etc/$PACKAGE
1.13 done
1.14
1.15 + # added firefox-l10n.js to stuff to make sure its copyed for langpacks
1.16 + cp -a $stuff/firefox-l10n.js \
1.17 + $fs/etc/firefox/pref/firefox-l10n.js
1.18
1.19 ln -s /etc/$PACKAGE/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
1.20 ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/firefox/stuff/firefox-l10n.js Wed Apr 13 22:53:13 2011 +0000
2.3 @@ -0,0 +1,5 @@
2.4 +//@line 36 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
2.5 +
2.6 +//@line 38 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
2.7 +
2.8 +pref("general.useragent.locale", "en-US");
3.1 --- a/firefox/stuff/prefs.js Wed Apr 13 22:40:14 2011 +0000
3.2 +++ b/firefox/stuff/prefs.js Wed Apr 13 22:53:13 2011 +0000
3.3 @@ -9,6 +9,6 @@
3.4 * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
3.5 */
3.6
3.7 -user_pref("general.useragent.extra.firefox", "Firefox/3.5 (SliTaz GNU/Linux)");
3.8 +user_pref("general.useragent.extra.firefox", "Firefox/4.0 (SliTaz GNU/Linux)");
3.9 user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
3.10 user_pref("font.name.serif.x-western", "DejaVu Sans");
http://alanyih.blogspot.com/2011/04/slitaz-firefox-40-langpack.html
1.
http://labs.slitaz.org/issues/480
Bug #480
[cooking] firefox-langpack-zh_TW (4.0) install fails!
Added by alanyih lin 4 days ago.
Status: New Start date: 04/11/2011
Priority: Normal Due date:
Assignee: - % Done:
0%
Category: -
Target version: -
Description
firefox-langpack* (4.0)
Use the code below to change locale of firefox in shell:
sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
(1).
root@slitaz:~# sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
sed: /etc/firefox/pref/firefox-l10n.js: No such file or directory
(2).
root@slitaz:~# cat /var/lib/tazpkg/installed/firefox-langpack-zh_TW/files.list | head -2
/usr/lib/-4.0/extensions/langpack-zh-TW@firefox.mozilla.org/chrome.manifest
/usr/lib/-4.0/extensions/langpack-zh-TW@firefox.mozilla.org/chrome/zh-TW/locale/browser-region
root@slitaz:~#
(3).
root@slitaz:~# tazpkg get-install firefox-langpack-zh_TW
firefox-langpack-zh_TW-4.0 already in the cache : /var/cache/tazpkg/cooking/packages
Installation of : firefox-langpack-zh_TW ================================================================================
Copying firefox-langpack-zh_TW... [ OK ]
Extracting firefox-langpack-zh_TW... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing firefox-langpack-zh_TW... [ OK ]
Removing all tmp files... [ OK ]
Use the code below to change locale of firefox in shell:
sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
================================================================================
firefox-langpack-zh_TW (4.0) is installed.
root@slitaz:~# sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
sed: /etc/firefox/pref/firefox-l10n.js: No such file or directory
(4).
http://hg.slitaz.org/wok/rev/c8159297fa54
wok changeset 9386:c8159297fa54
Up firefox-langpack* (4.0)
author Pascal Bellard
date Sat Mar 26 11:12:45 2011 +0100 (2 weeks ago ago)
parents 5ab5ab1b7f51
children ac317c95f39c
files firefox-langpack-fr/receipt firefox-langpack-zh_CN/receipt firefox-langpack-zh_TW/receipt
----
2.
http://hg.slitaz.org/wok/
wok log
rev 9609: (0) -3000 -1000 -300 -100 -60 tip
age author description
5 hours ago Christophe Lincoln Up tazweb (1.2) - New URL entry and handle personal/bookmarks pagedefault tip
12 hours ago Pascal Bellard busybox: fix french translation for top and pcan desktop files
14 hours ago Christophe Lincoln Up slitaz-mercurial-style (1.1.2) to have updated likns to bugs tracker (Thank Claudinei)
23 hours ago Pascal Bellard nanochess: add title
24 hours ago Pascal Bellard urxvt: update depends
32 hours ago Christopher Rogers busybox: Added french translate for top and pcan desktop files. Fixed bug #475.
34 hours ago Christopher Rogers firefox: Added firefox-l10n.js to stuff folder so its copyed into package. Update prefs.js file. Fixed bug #480.
34 hours ago Christopher Rogers Fixed firefox-langpack-zh_TW install path. SOURCE is not needed anyway with this receipt.
[..]
----
3.
http://hg.slitaz.org/wok/rev/d7fc7a8fb846
wok changeset 9602:d7fc7a8fb846
Fixed firefox-langpack-zh_TW install path. SOURCE is not needed anyway with this receipt.
author Christopher Rogers
date Wed Apr 13 22:40:14 2011 +0000 (34 hours ago ago)
parents 1e023dcbed0e
children 2e0f0123456b
files firefox-langpack-zh_TW/receipt
line diff
1.1 --- a/firefox-langpack-zh_TW/receipt Wed Apr 13 10:50:54 2011 +0000
1.2 +++ b/firefox-langpack-zh_TW/receipt Wed Apr 13 22:40:14 2011 +0000
1.3 @@ -15,7 +15,7 @@
1.4 # Rules to gen a SliTaz package suitable for Tazpkg.
1.5 genpkg_rules()
1.6 {
1.7 - EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions/$LANG_DIR"
1.8 + EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
1.9 mkdir -p $EXTDIR
1.10 cp -a $src/* $EXTDIR
1.11 }
----
4.
http://hg.slitaz.org/wok/rev/2e0f0123456b
wok changeset 9603:2e0f0123456b
firefox: Added firefox-l10n.js to stuff folder so its copyed into package. Update prefs.js file. Fixed bug #480.
author Christopher Rogers
date Wed Apr 13 22:53:13 2011 +0000 (34 hours ago ago)
parents d7fc7a8fb846
children 2aea8b0a4873
files firefox/receipt firefox/stuff/firefox-l10n.js firefox/stuff/prefs.js
line diff
1.1 --- a/firefox/receipt Wed Apr 13 22:40:14 2011 +0000
1.2 +++ b/firefox/receipt Wed Apr 13 22:53:13 2011 +0000
1.3 @@ -34,7 +34,6 @@
1.4 # Rules to gen a SliTaz package suitable for Tazpkg.
1.5 genpkg_rules()
1.6 {
1.7 - i=$src
1.8 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile/chrome $fs/usr/share $fs/etc
1.9 cp -a $_pkg/usr/bin $fs/usr
1.10 cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
1.11 @@ -56,6 +55,9 @@
1.12 mv -f $fs/usr/lib/$PACKAGE-$VERSION/$i $fs/etc/$PACKAGE
1.13 done
1.14
1.15 + # added firefox-l10n.js to stuff to make sure its copyed for langpacks
1.16 + cp -a $stuff/firefox-l10n.js \
1.17 + $fs/etc/firefox/pref/firefox-l10n.js
1.18
1.19 ln -s /etc/$PACKAGE/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
1.20 ln -s /etc/$PACKAGE $fs/usr/lib/$PACKAGE-$VERSION/defaults
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/firefox/stuff/firefox-l10n.js Wed Apr 13 22:53:13 2011 +0000
2.3 @@ -0,0 +1,5 @@
2.4 +//@line 36 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
2.5 +
2.6 +//@line 38 "/home/slitaz/experimental/wok/firefox/firefox-4.0/browser/locales/en-US/firefox-l10n.js"
2.7 +
2.8 +pref("general.useragent.locale", "en-US");
3.1 --- a/firefox/stuff/prefs.js Wed Apr 13 22:40:14 2011 +0000
3.2 +++ b/firefox/stuff/prefs.js Wed Apr 13 22:53:13 2011 +0000
3.3 @@ -9,6 +9,6 @@
3.4 * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
3.5 */
3.6
3.7 -user_pref("general.useragent.extra.firefox", "Firefox/3.5 (SliTaz GNU/Linux)");
3.8 +user_pref("general.useragent.extra.firefox", "Firefox/4.0 (SliTaz GNU/Linux)");
3.9 user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, UTF-8");
3.10 user_pref("font.name.serif.x-western", "DejaVu Sans");
2011-04-05
Slitaz -- tazwikiss / httpd

Tazwikiss
Env:slitaz-cooking.iso 2011-Mar-28 22:03:50 31.0M
Application --> Office --> Wiki
1.
root@slitaz:~# cat /usr/share/applications/tazwikiss.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Wiki
Icon=html.png
Exec=browser http://localhost/wiki/index.sh
Type=Application
Categories=Office;
2.
root@slitaz:~# netstat -nlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
netstat: /proc/net/tcp6: No such file or directory
3.
root@slitaz:~# cat /etc/rcS.conf | tail -4
RUN_DAEMONS="dbus hald firewall httpd slim"
# Pre login bold message.
MESSAGE="Welcome to your box."
4.
root@slitaz:~# which httpd
/usr/sbin/httpd
root@slitaz:~# ls -l /usr/sbin/httpd
lrwxrwxrwx 1 root root 17 Apr 5 2011 /usr/sbin/httpd -> ../../bin/busybox
5.
root@slitaz:~# tazpkg list | grep httpd
root@slitaz:~#
2011-04-02
Slitaz -- firefox 4.0 / langpack


Env:slitaz-cooking-firefox.iso
http://mirror.slitaz.org/iso/cooking/flavors/slitaz-cooking-firefox.iso 2011-Apr-02 14:04:07
UPDATE:20110407
Use the code below to change locale of firefox in shell:
sed -i '/pref/s/en-US/zh-TW/' /etc/firefox/pref/firefox-l10n.js
VS.
tux@slitaz:~$ grep '"zh-TW"' .mozilla/firefox/*.default/prefs.js
user_pref("general.useragent.locale", "zh-TW");
tux@slitaz:~$
----
root@slitaz:~# cat /etc/firefox/pref/firefox-l10n.js
cat: can't open '/etc/firefox/pref/firefox-l10n.js': No such file or directory
root@slitaz:~# ls -l /etc/firefox/pref/
total 8
-rw-r--r-- 1 root root 133 Apr 3 2011 channel-prefs.js
-rw-r--r-- 1 root root 868 Apr 3 2011 firefox.js
root@slitaz:~# cat /var/lib/tazpkg/installed/firefox-langpack-zh_TW/receipt
# SliTaz package receipt.
PACKED_SIZE="180.0K"
UNPACKED_SIZE="1.3M"
PACKAGE="firefox-langpack-zh_TW"
VERSION="4.0"
CATEGORY="network"
SHORT_DESC="Chinese Language Package for firefox"
MAINTAINER="lufeng369@gmail.com"
DEPENDS="firefox"
WEB_SITE="http://www.mozilla.com"
LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'`
LANG_DIR="langpack-$LANG@firefox.mozilla.org"
TARBALL="$LANG.xpi"
WGET_URL="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$TARBALL"
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
EXTDIR="$fs/usr/lib/$SOURCE-$VERSION/extensions/$LANG_DIR"
mkdir -p $EXTDIR
cp -a $src/* $EXTDIR
}
post_install()
{
echo ""
echo "Use the code below to change locale of firefox in shell:"
echo "sed -i '/pref/s/en-US/$LANG/' /etc/firefox/pref/firefox-l10n.js"
echo ""
}
# md5sum of cooking stuff :
# d1bbb9e1b4b50202224805d1c56a0828 receipt
root@slitaz:~#
.
2010-06-08
Slitaz -- review / youtube


http://www.youtube.com/watch?v=y1a8_J8KDEU
OSGUIShow — April 13, 2010 — Review style Screencast about SliTaz GNU/Linux 3.0 a small fast 30MB Free Operating System. The OS has the Openbox with Joe's Window Manager GUI and I created the demonstration inside VirtualBox where I play with the environment and its software.
Original video production by the http://www.OSGUI.com Tech Show.
Fast Video Download (with SearchMenu) 3.0.8
by Bill Dettering
Download video files from popular sites like YouTube, Dailymotion, Break.com and more. 100% Free! In addition, our new SearchMenu feature makes it easier than ever to find popular videos and other information about any text you select.
https://addons.mozilla.org/en-US/firefox/addon/3590/
root@slitaz:~# cat /usr/share/applications/watchvideo.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Watch Video
Icon=applications-multimedia
Exec=default-app gmplayer --install "mplayer-svn get-flash-plugin gecko-mediaplayer"
Type=Application
Categories=Multimedia;AudioVideo;Audio;Player;
root@slitaz:~#
2010-05-09
Slitaz -- lighttpd
Lighttpd Enhanced Directory Listing Script
Env: packages-3.0.iso
lighttpd-1.4.26
php-5.2.11
root@slitaz:/var/www/packages/3.0# head index.php
$VERSION = "0.2-slitaz";
/* Lighttpd Enhanced Directory Listing Script
* ------------------------------------------
* Authors: Evan Fosmark
* Pascal Bellard
*
*
root@slitaz:/var/www/packages/3.0# tail -14 index.php
// Print ending stuff
print "















