commit 2d2cc377022e6c495dbfa863fec3e0dfc3eb5dfc Author: kueller Date: Mon Jan 3 10:48:06 2011 +0000 Neue Version V963 git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_firefox@5933 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/etc/sysconfig/profile.d/firefox b/etc/sysconfig/profile.d/firefox new file mode 100755 index 0000000..d6c0e74 --- /dev/null +++ b/etc/sysconfig/profile.d/firefox @@ -0,0 +1,30 @@ +#!/bin/bash +#Framework, welches ein komplettes Linux System aus den Sourcen erstellt +#dieses Framework wird im CVS Repository +#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt +# +#Lage dieser Datei im Archiv: $Source$ +# +#(c) 2003 Harald Kueller, Germany +#This program is free software; you can redistribute it and/or +#modify ist under the terms of the GNU General Public License +#as published by the Free Software Foundation; either version +#2 of the License, or (at your option) any later version. +# +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +#See the GNU General Public License for more details. +# +#You should have received a copy of the GNU General Public License +#along with this program; if not write to the Free Software Foundation, +#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#firefox System Initialisierung + +PATH=$PATH:/opt/firefox/bin +MOZILLA_FIVE_HOME=/opt/firefox +MOZILLA_HOME=/opt/firefox/lib/firefox +MOZ_DIST_BIN=/opt/firefox/ +PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/firefox/lib/pkgconfig +export PATH MOZILLA_FIVE_HOME MOZ_DIST_BIN PKG_CONFIG_PATH diff --git a/opt/kde/share/applnk/Internet/mozilla.desktop b/opt/kde/share/applnk/Internet/mozilla.desktop new file mode 100644 index 0000000..ad94cb8 --- /dev/null +++ b/opt/kde/share/applnk/Internet/mozilla.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Comment= +Exec=/opt/firefox/bin/firefox +Hidden=false +Icon=/opt/kde/share/icons/nuvola/16x16/apps/mozilla-firebird.png +Name=Firefox +Path= +Terminal=0 +TerminalOptions= +Type=Application +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..6b1456b --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,69 @@ +#!/bin/bash +#Framework, welches ein komplettes Linux System aus den Sourcen erstellt +#dieses Framework wird im CVS Repository +#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt +# +#Lage dieser Datei im Archiv: $Source$ +# +#(c) 2003 Harald Kueller, Germany +#This program is free software; you can redistribute it and/or +#modify ist under the terms of the GNU General Public License +#as published by the Free Software Foundation; either version +#2 of the License, or (at your option) any later version. +# +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +#See the GNU General Public License for more details. +# +#You should have received a copy of the GNU General Public License +#along with this program; if not write to the Free Software Foundation, +#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#Postinstall für WindowManager: +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.5 2007/03/26 07:41:47 kueller +#An neue Java Version angepasst. Wenn irgendwann 64 Bit plugin support +#fuer netscape/firefox existiert, funktioniert das hoffentlicha auch +# +#Revision 1.4 2007/02/14 19:28:51 kueller +#Anpassung an 32/64 Bit Environment +# +#Revision 1.3 2006/06/22 10:36:02 kueller +#javaplugin wird erst installiert, wenn auch wirklich vorhanden +# +#Revision 1.2 2006/06/14 22:20:59 kueller +#java plugin wird nun per postinstall aktiviert +# +#Revision 1.1.1.1 2006/06/07 12:20:55 kueller +#Mozilla wird durch firefox und thunderbird ersetzt. +# +#Revision 1.2 2003/12/03 07:59:49 kueller +#Standart installation von "make install" funktioniert nicht. Es muessen +#Alle libs und binarys ins gleiche Verzeichniss (Hier: /opt/mozilla) gespielt +#werden. Systemkonfig wird nun entsprechend erstellt +# +#Revision 1.1 2003/11/29 09:16:26 kueller +#Mozilla braucht inzwischen auch eine eintragung in /etc/ld.so.conf +# +# + +if ! grep firefox /etc/ld.so.conf >/dev/null 2>&1; then + echo "/opt/firefox/lib/firefox" >>/etc/ld.so.conf + if [ -d /opt/firefox/lib64 ]; then + echo "/opt/firefox/lib64/firefox" >>/etc/ld.so.conf + fi +fi + +if [ -f /usr/lib64/jdk/plugin/x86_64/ns7/libjavaplugin_oji.so ]; then + cd /opt/firefox/lib64/firefox*/plugins + ln -s /usr/lib64/jdk/plugin/x86_64/ns7/libjavaplugin_oji.so . +elif [ -f /usr/lib/jdk/plugin/i386/ns7/libjavaplugin_oji.so ]; then + cd /opt/firefox/lib/firefox*/plugins + ln -s /usr/lib/jdk/plugin/i386/ns7/libjavaplugin_oji.so . +fi diff --git a/tmp/postremove b/tmp/postremove new file mode 100644 index 0000000..3a1fcb0 --- /dev/null +++ b/tmp/postremove @@ -0,0 +1,57 @@ +#!/bin/bash +#Framework, welches ein komplettes Linux System aus den Sourcen erstellt +#dieses Framework wird im CVS Repository +#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt +# +#Lage dieser Datei im Archiv: $Source$ +# +#(c) 2003 Harald Kueller, Germany +#This program is free software; you can redistribute it and/or +#modify ist under the terms of the GNU General Public License +#as published by the Free Software Foundation; either version +#2 of the License, or (at your option) any later version. +# +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +#See the GNU General Public License for more details. +# +#You should have received a copy of the GNU General Public License +#along with this program; if not write to the Free Software Foundation, +#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +#Postinstall für WindowManager: +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.5 2007/03/26 07:41:47 kueller +#An neue Java Version angepasst. Wenn irgendwann 64 Bit plugin support +#fuer netscape/firefox existiert, funktioniert das hoffentlicha auch +# +#Revision 1.4 2007/02/14 19:28:51 kueller +#Anpassung an 32/64 Bit Environment +# +#Revision 1.3 2006/06/22 10:36:02 kueller +#javaplugin wird erst installiert, wenn auch wirklich vorhanden +# +#Revision 1.2 2006/06/14 22:20:59 kueller +#java plugin wird nun per postinstall aktiviert +# +#Revision 1.1.1.1 2006/06/07 12:20:55 kueller +#Mozilla wird durch firefox und thunderbird ersetzt. +# +#Revision 1.2 2003/12/03 07:59:49 kueller +#Standart installation von "make install" funktioniert nicht. Es muessen +#Alle libs und binarys ins gleiche Verzeichniss (Hier: /opt/mozilla) gespielt +#werden. Systemkonfig wird nun entsprechend erstellt +# +#Revision 1.1 2003/11/29 09:16:26 kueller +#Mozilla braucht inzwischen auch eine eintragung in /etc/ld.so.conf +# +# + +sed -i -e "/^\/opt\/firefox\/lib/d" /etc/ld.so.conf +sed -i -e "/^\/opt\/firefox\/lib64/d" /etc/ld.so.conf