SF.net SVN: morphix: [2333] trunk/scripts-mini/MorphixMini-KioskAddins.xml

[email protected] Sun, 02 Jul 2006 15:02:50 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2333
Author:   bmsleight
Date:     2006-07-02 15:02:45 -0700 (Sun, 02 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2333&view=rev

Log Message:
-----------
update, minimodule works, but browser crashes

Modified Paths:
--------------
    trunk/scripts-mini/MorphixMini-KioskAddins.xml
Modified: trunk/scripts-mini/MorphixMini-KioskAddins.xml
===================================================================
--- trunk/scripts-mini/MorphixMini-KioskAddins.xml	2006-07-01 23:24:45 UTC (rev 2332)
+++ trunk/scripts-mini/MorphixMini-KioskAddins.xml	2006-07-02 22:02:45 UTC (rev 2333)
@@ -1,3 +1,6 @@
+<!-- A minimodule this is long winded - as we have to download the Non-GPL software and the package in /root so that filesystem can be overlaid. -->
+<!--  Not ideal - but that the problme with non-GPL software.-->
+<!--  this MiniModule requires fackroot, html2text-->
 <comps>
  <group>
   <minimod>
@@ -2,37 +5,41 @@
    <version>0.0.1</version>
-   <description>(Untested) MorphMini for addins to MorphixKiosk which are not GPL</description>
+   <description>MorphMini for addins to MorphixKiosk which are not GPL</description>
    <minitag>KioskAddins</minitag>
    <maintag>ALL</maintag>
-   <bootoption>ALL</bootoption> <!-- Requires morphing-tools 0.2-20 + -->
-   <filelist> <!-- files to be added to minimod available as $1/morphix/files/ -->
-    <remote>
-     <file>http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz</file>
-     <file>http://ftp.uk.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-jre_1.5.0-06-1_all.deb</file>
-     <file>http://ftp.uk.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-bin_1.5.0-06-1_i386.deb</file>
-     <file>http://ftp.uk.debian.org/debian/pool/non-free/s/sun-java5/sun-java5-plugin_1.5.0-06-1_i386.deb</file>
-     <file>http://debian-multimedia.org/pool/main/a/acroread/acroread-escript_7.0.5-0.3_i386.deb</file>
-     <file>http://debian-multimedia.org/pool/main/a/acroread/acroread_7.0.5-0.3_i386.deb</file>
-     <file>http://debian-multimedia.org/pool/main/a/acroread/mozilla-acroread_7.0.5-0.3_i386.deb</file>
-    </remote>
-   </filelist>
-   <commandlist> <!-- Commands to be started from minimodule --> 
+   <bootoption>nonfree=ok</bootoption> <!-- Requires morphing-tools 0.2-20 + -->
+  <commandlist> <!-- Commands to be started from minimodule --> 
     <preX>       <!-- Commands to run before X windows start -->
-     <command>echo " * Installing Flash-Plugin for firefox "</command>
-     <command>cd /tmp/</command>
-     <command>tar xvzf  $1/morphix/files/install_flash_player_7_linux.tar.gz</command>
-     <command>mv /tmp/install_flash_player_7_linux/libflashplayer.so  /usr/lib/firefox/plugins/</command>
-     <command>mv /tmp/install_flash_player_7_linux/flashplayer.xpt  /usr/lib/firefox/plugins/</command>
-     <command>rm  /tmp/install_flash_player_7_linux -R</command>
-     <command>echo " * Installing Java from Debian non-free for firefox "</command>
-     <command>dpkg --install $1/morphix/files/sun-java5-jre_1.5.0-06-1_all.deb</command>
-     <command>dpkg --install $1/morphix/files/sun-java5-bin_1.5.0-06-1_i386.deb</command>
-     <command>dpkg --install $1/morphix/files/sun-java5-plugin_1.5.0-06-1_i386.deb</command>
-     <command>echo " * Installing AcroRead from Debian-multimedia (Marillat) "</command>
-     <command>dpkg --install $1/morphix/files/acroread-escript_7.0.5-0.3_i386.deb</command>
-     <command>dpkg --install $1/morphix/files/acroread_7.0.5-0.3_i386.de</command>
-     <command>dpkg --install $1/morphix/files/mozilla-acroread_7.0.5-0.3_i386.deb</command>
-    </preX>
-   </commandlist>
+     <command>echo " * Please see $1/licenses/ as this MiniModule contain Non-GPL software "</command>
+    </preX>  
+  </commandlist>
+   <other> <!-- used to make a minimodule in another way - command will be passed $1 for minimodule filesystem -->  
+    <buildcommand>#adobe </buildcommand>
+    <buildcommand>wget --output-document=$1/../temp.tar.gz http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.8/enu/AdobeReader_enu-7.0.8-1.i386.tar.gz </buildcommand>
+    <buildcommand>tar zxvf $1/../temp.tar.gz -C $1/../ </buildcommand>
+    <buildcommand>fakeroot mkdir -p $1/root/usr/bin $1/root/usr/local/Adobe/Acrobat7.0 $1/root/usr/lib/firefox/plugins/ </buildcommand>
+    <buildcommand>fakeroot tar -C $1/root/usr/local/Adobe/Acrobat7.0 -xvf $1/../AdobeReader/COMMON.TAR </buildcommand>
+    <buildcommand>fakeroot tar -C $1/root/usr/local/Adobe/Acrobat7.0 -xvf $1/../AdobeReader/ILINXR.TAR </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/local/Adobe/Acrobat7.0/bin/acroread $1/root/usr/bin/acroread </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/lib/libldap.so.2 $1/root/usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/libldap.so </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/lib/liblber.so.2 $1/root/usr/local/Adobe/Acrobat7.0/Reader/intellinux/lib/liblber.so </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so $1/root/usr/lib/firefox/plugins/nppdf.so </buildcommand>
+    <buildcommand>#flash </buildcommand>
+    <buildcommand>wget --output-document=$1/../temp.tar.gz http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_7_linux.tar.gz </buildcommand>
+    <buildcommand>tar zxvf $1/../temp.tar.gz -C $1/root/usr/local/ </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/local/install_flash_player_7_linux/libflashplayer.so $1/root/usr/lib/firefox/plugins/libflashplayer.so </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/local/install_flash_player_7_linux/flashplayer.xpt $1/root/usr/lib/firefox/plugins/flashplayer.xpt </buildcommand>
+    <buildcommand>#java </buildcommand>
+    <buildcommand>wget --directory-prefix=$1/../ ftp://ftp.uk.linux.org/pub/linux/java/JDK-1.4.2/i386/rc1/j2re-1.4.2-rc1-linux-i586-gcc2.95.bin </buildcommand>
+    <buildcommand>chmod +x $1/../j2re-1.4.2-rc1-linux-i586-gcc2.95.bin </buildcommand>
+    <buildcommand>cd $1/../ &amp;&amp; fakeroot ./j2re-1.4.2-rc1-linux-i586-gcc2.95.bin </buildcommand>
+    <buildcommand>mv $1/../j2re1.4.2 $1/root/usr/local </buildcommand>
+    <buildcommand>fakeroot ln -s /usr/local/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so $1/root/usr/lib/firefox/plugins/libjavaplugin_oji.so </buildcommand>
+    <buildcommand>#Get licenses </buildcommand>
+    <buildcommand>mkdir $1/licenses </buildcommand>
+    <buildcommand>html2text -o $1/licenses/adobe_flash.txt   http://www.adobe.com/products/eulas/players/flash/ </buildcommand>
+    <buildcommand>html2text -o $1/licenses/adobe_reader.txt http://www.adobe.com/products/acrobat/acrreula.html </buildcommand>
+    <buildcommand>wget --output-document=$1/licenses/java.txt ftp://ftp.uk.linux.org/pub/linux/java/JDK-1.4.2/i386/rc1/LICENSE </buildcommand>
+   </other>
   </minimod>
  </group>
-</comps>
+</comps>
\ No newline at end of file


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642