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

.