remove all of these files - they aren't maintained here anymore

git-svn-id: svn://10.0.0.236/trunk@151205 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
blizzard%redhat.com
2004-01-12 16:43:55 +00:00
parent c237a5f458
commit db70280c3b
31 changed files with 0 additions and 1932 deletions

View File

@@ -1,51 +0,0 @@
/* XPM */
/* Copyright © 2001, The Mozilla Organization. */
/* http://mozilla.org/ <endico@mozilla.org> */
static char * mozicon16_xpm[] = {
"16 16 30 1",
" c None",
". c #FFFFFF",
"+ c #E23621",
"@ c #D4331F",
"# c #C62F1D",
"$ c #C2C2C2",
"% c #BABABA",
"& c #B82C1B",
"* c #AA2919",
"= c #9B2517",
"- c #8F8F8F",
"; c #8D2215",
"> c #848484",
", c #808080",
"' c #7F1E13",
") c #711B11",
"! c #707070",
"~ c #63180E",
"{ c #606060",
"] c #55140C",
"^ c #505050",
"/ c #47110A",
"( c #390E08",
"_ c #303030",
": c #2A0A06",
"< c #202020",
"[ c #1C0704",
"} c #101010",
"| c #0E0302",
"1 c #000000",
" ",
" ",
" _1_ ",
" %1+++1*@< ",
" 11@)=/++11 ",
" 1|1++;1++[+)1% ",
" }1)+|+++;#++++{",
"^^1++1+++11|++/_",
" %1|+1(++/&1-1)_",
" -11+++(@@]]+|1 ",
" }1++++11 {% ",
" ^(++++1 ",
" |++#^ ",
" >|1- ",
" ",
" "};

View File

@@ -1,85 +0,0 @@
/* XPM */
/* Copyright © 2001, The Mozilla Organization. */
/* http://mozilla.org/ <endico@mozilla.org> */
static char * mozicon50_xpm[] = {
"50 50 30 1",
" c None",
". c #FFFFFF",
"+ c #E23621",
"@ c #D4331F",
"# c #C62F1D",
"$ c #C2C2C2",
"% c #BABABA",
"& c #B82C1B",
"* c #AA2919",
"= c #9B2517",
"- c #8F8F8F",
"; c #8D2215",
"> c #848484",
", c #808080",
"' c #7F1E13",
") c #711B11",
"! c #707070",
"~ c #63180E",
"{ c #606060",
"] c #55140C",
"^ c #505050",
"/ c #47110A",
"( c #390E08",
"_ c #303030",
": c #2A0A06",
"< c #202020",
"[ c #1C0704",
"} c #101010",
"| c #0E0302",
"1 c #000000",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" %!_|1111_!% ",
" %^}1111111111<{{__1_^% ",
" >|111~*#++*;(111|11[:1<% ",
" %_111(#++++++++&1:~*+@@)1< ",
" -|111;+++*~((/++;#+#)[11/|1% ",
" {111|&+++;111]@++&;/1|~)1111- ",
" %_1111;+++#111~+++'(:|(@;|1111{ ",
" %<1111|#*@+])/1=++/)@+))+_!1[]11_% ",
" -11111111=++@+*1*+*'1:&@]@;}}{;'|1|^% ",
" !}1111111]++++++=#;|11/;+@&/='(:;@]111_> ",
" !11}^|1111&+++++++;/111'+&@+)1[]*+++@)[11|^% ",
" -_!%%_11111++++++#](((((|+@(;++#*+++++++&]|11<% ",
" -11111[|+++++;~+++++++++&|~+++++++++++++;:1|- ",
" !}1111[)[+++++|&++++++++&+;1:#+++++++++++++|1{ ",
" !11|}11)@=++++*1@++++++++~+*11|'+++++++++++)11^ ",
" !1}!!111~++++++*1;++++++++(*]1111(#+++++++++1[1< ",
" ^- ^1111(++++++*1[@+++++++(|111111|'++++++++/+|_ ",
" _1|_111@+++++;11]+++++++;111|111}<[;++++++@+(1 ",
" ^}!-}111)+++++]111;+++++++:1[;111_{<}['&+++++:1 ",
" {%%}1111|@++++)1;'(#++++++@/1;&(111{_-111(()=1_ ",
" <11<111/+++++]:++#]+++++++&'@+*]|11_-}><^<}1! ",
" {1_-_1111;+++++]]++)/@+++++++++@++=~:11_<}!}} ",
" _- {11111|++++++=+++(|)@++@*)][1]#+++@;|1111^ ",
" -1_1111/++++++++++@[11:[11111111:'&#;|1<_^% ",
" <!_1111#+++++++++++@)|1111|^>!^<11111|{ ",
" --}_|11++++++++++++@)1111^% %>{{{% ",
" --}111));++++++++@:1|1|- ",
" -_111[;+++++++++';@|1- ",
" ^11(;+#+++++++]=++)1^ ",
" _1:/'@+++++++*1(*]1> ",
" %<1|=+++++++++'11|1 ",
" ^11]@+++++*;+~11_ ",
" >|1|)#++++((#[1^ ",
" %^111/;#+&1111> ",
" %^|1111(|111% ",
" >^_|11111- ",
" ",
" ",
" ",
" ",
" ",
" ",
" "};

View File

@@ -1,35 +0,0 @@
--- mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp.foo Mon Nov 4 16:51:09 2002
+++ mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp Wed Dec 18 11:51:49 2002
@@ -42,6 +42,8 @@
#include "nspr.h"
#include "nsIPref.h"
+#include "nsIPrefService.h"
+#include "nsIPrefBranch.h"
#include "nsIServiceManager.h"
#include "nsCRT.h"
@@ -952,6 +954,23 @@
fontName.Append(PRUnichar(','));
}
}
+
+ // Allow the values calculated above to be overidden by preferences
+ nsCOMPtr<nsIPrefBranch> prefBranch(do_GetService(NS_PREFSERVICE_CONTRACTID));
+ if (prefBranch) {
+ nsXPIDLCString name;
+ prefBranch->GetCharPref("font.uifont.name", getter_Copies(name));
+
+ if (name)
+ aFont->name.AssignWithConversion(name);
+
+ PRInt32 pointheight = 0;
+ prefBranch->GetIntPref("font.uifont.pointheight", &pointheight);
+
+ if (pointheight)
+ aFont->size = NSIntPointsToTwips(pointheight);
+ }
+
return NS_OK;
}
#endif /* MOZ_WIDGET_GTK */

View File

@@ -1,96 +0,0 @@
--- mozilla/xpfe/components/prefwindow/resources/content/pref-fonts.js.foo Mon Aug 5 20:53:17 2002
+++ mozilla/xpfe/components/prefwindow/resources/content/pref-fonts.js Wed Jan 22 17:28:11 2003
@@ -245,17 +245,46 @@
var popupNode = document.createElement( "menupopup" );
var strDefaultFontFace = "";
var fontName;
+
+ // get the string for describing the system default
+ var sysDefaultStr;
+ try {
+ var strBundleService = Components.classes["@mozilla.org/intl/stringbundle;1"].getService();
+ strBundleService = strBundleService.QueryInterface(Components.interfaces.nsIStringBundleService);
+ fontBundle = strBundleService.createBundle("chrome://communicator/locale/pref/pref-fonts.properties");
+
+ sysDefaultStr = fontBundle.GetStringFromName("systemDefault");
+ }
+ catch(e) {
+ sysDefaultStr = "[System Default]";
+ }
+
+ // always put the default system font at the front of the list
+ var defaultNode = document.createElement("menuitem");
+ defaultNode.setAttribute("value", "DEFAULT");
+ defaultNode.setAttribute("label", sysDefaultStr);
+ popupNode.appendChild(defaultNode);
+
while (aDataObject.hasMoreElements()) {
fontName = aDataObject.getNext();
fontName = fontName.QueryInterface(Components.interfaces.nsISupportsString);
var fontNameStr = fontName.toString();
- if (strDefaultFontFace == "")
- strDefaultFontFace = fontNameStr;
+
+ // Make sure to set our default so that we know that
+ // there's at least one font in the list.
+ if (strDefaultFontFace == "") {
+ strDefaultFontFace = "DEFAULT";
+ }
+
var itemNode = document.createElement( "menuitem" );
itemNode.setAttribute( "value", fontNameStr );
itemNode.setAttribute( "label", fontNameStr );
+
popupNode.appendChild( itemNode );
}
+
+ // If there were no fonts listed for this font, just disable
+ // the list.
if (strDefaultFontFace != "") {
this.listElement.removeAttribute( "disabled" );
} else {
@@ -264,6 +293,7 @@
gPrefutilitiesBundle.getString("nofontsforlang") );
this.listElement.setAttribute( "disabled", "true" );
}
+
this.listElement.appendChild( popupNode );
return strDefaultFontFace;
}
@@ -295,8 +325,21 @@
catch(e)
{
}
- if( currValue != dataObject.languageData[language].types[type] )
+
+ // If someone is using the "default" font then unset the
+ // pref entirely
+ if( dataObject.languageData[language].types[type] == "DEFAULT") {
+ // If there's a default but no user setting,
+ // ClearUserPref throws an exception. Lame.
+ try {
+ pref.ClearUserPref( fontPrefString );
+ }
+ catch (e) {
+ }
+ }
+ else if( currValue != dataObject.languageData[language].types[type] ) {
pref.SetUnicharPref( fontPrefString, dataObject.languageData[language].types[type] );
+ }
}
var variableSizePref = "font.size.variable." + language;
var fixedSizePref = "font.size.fixed." + language;
--- mozilla/xpfe/components/prefwindow/resources/locale/en-US/pref-fonts.properties.foo Wed Jan 22 17:28:11 2003
+++ mozilla/xpfe/components/prefwindow/resources/locale/en-US/pref-fonts.properties Wed Jan 22 17:28:11 2003
@@ -0,0 +1 @@
+systemDefault=[System Default]
--- mozilla/xpfe/components/jar.mn.foo Tue Oct 8 02:20:38 2002
+++ mozilla/xpfe/components/jar.mn Wed Jan 22 17:28:11 2003
@@ -122,6 +122,7 @@
locale/en-US/communicator/pref/pref-debug2.dtd (prefwindow/resources/locale/en-US/pref-debug2.dtd)
locale/en-US/communicator/pref/pref-download.dtd (prefwindow/resources/locale/en-US/pref-download.dtd)
locale/en-US/communicator/pref/pref-fonts.dtd (prefwindow/resources/locale/en-US/pref-fonts.dtd)
+ locale/en-US/communicator/pref/pref-fonts.properties (prefwindow/resources/locale/en-US/pref-fonts.properties)
locale/en-US/communicator/pref/pref-history.dtd (prefwindow/resources/locale/en-US/pref-history.dtd)
locale/en-US/communicator/pref/pref-http.dtd (prefwindow/resources/locale/en-US/pref-http.dtd)
locale/en-US/communicator/pref/pref-languages.dtd (prefwindow/resources/locale/en-US/pref-languages.dtd)

View File

@@ -1,3 +0,0 @@
// pref to override the default UI font because we're using xft
pref("font.uifont.name", "sans");
pref("font.uifont.pointheight", 10);

View File

@@ -1,14 +0,0 @@
--- mozilla/xpfe/browser/resources/locale/en-US/navigator.dtd.foo Mon Jul 8 09:16:49 2002
+++ mozilla/xpfe/browser/resources/locale/en-US/navigator.dtd Mon Jul 8 09:17:13 2002
@@ -4,9 +4,9 @@
<!-- LOCALIZATION NOTE : FILE Do not translate accesskey and commandkey -->
<!-- LOCALIZATION NOTE (mainWindow.title): DONT_TRANSLATE -->
-<!ENTITY mainWindow.title "&brandShortName; {&buildId.label;}">
+<!ENTITY mainWindow.title "&brandShortName;">
<!-- LOCALIZATION NOTE (mainWindow.titlemodifier) : DONT_TRANSLATE -->
-<!ENTITY mainWindow.titlemodifier "&brandShortName; {&buildId.label;}">
+<!ENTITY mainWindow.titlemodifier "&brandShortName;">
<!-- LOCALIZATION NOTE (mainWindow.titlemodifiermenuseparator): DONT_TRANSLATE -->
<!ENTITY mainWindow.titlemodifiermenuseparator " - ">
<!ENTITY viewsourcetitle.preface "Source for: ">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 258 B

View File

@@ -1,7 +0,0 @@
[Desktop Entry]
Name=Mozilla Mail Message
Comment=Compose a Mail Message with Mozilla
Exec=/usr/bin/mozilla -compose
Icon=mozilla-compose-icon.gif
Terminal=0
Type=Application

View File

@@ -1,62 +0,0 @@
--- mozilla/modules/plugin/samples/default/unix/npshell.c.foo Tue May 7 14:18:45 2002
+++ mozilla/modules/plugin/samples/default/unix/npshell.c Tue May 7 14:49:55 2002
@@ -224,7 +224,7 @@
This->depth = ws_info->depth;
This->colormap = ws_info->colormap;
makePixmap(This);
- makeWidget(This);
+ /* makeWidget(This); */
}
return NPERR_NO_ERROR;
}
--- mozilla/modules/plugin/samples/default/unix/nullplugin.c.foo Tue May 7 14:18:45 2002
+++ mozilla/modules/plugin/samples/default/unix/nullplugin.c Tue May 7 14:48:33 2002
@@ -70,6 +70,8 @@
gtk_object_remove_data(GTK_OBJECT(button), DIALOGID);
+#if 0
+
if (This->pluginsFileUrl != NULL)
{
/* Get the JavaScript command string */
@@ -110,6 +112,7 @@
NPN_MemFree(url);
}
}
+#endif
destroyWidget(This);
}
@@ -265,14 +268,14 @@
GTK_DIALOG(dialogWindow)->action_area);
gtk_object_set_data(GTK_OBJECT(okButton), DIALOGID, dialogWindow);
- cancelButton= AddWidget(gtk_button_new_with_label (CANCEL_BUTTON),
- GTK_DIALOG(dialogWindow)->action_area);
+ /* cancelButton= AddWidget(gtk_button_new_with_label (CANCEL_BUTTON),
+ GTK_DIALOG(dialogWindow)->action_area); */
gtk_signal_connect (GTK_OBJECT(okButton), "clicked",
GTK_SIGNAL_FUNC(DialogOKClicked), This);
- gtk_signal_connect (GTK_OBJECT(cancelButton), "clicked",
- GTK_SIGNAL_FUNC(DialogCancelClicked), This);
+ /* gtk_signal_connect (GTK_OBJECT(cancelButton), "clicked",
+ GTK_SIGNAL_FUNC(DialogCancelClicked), This); */
/* hookup to when the dialog is destroyed */
gtk_signal_connect(GTK_OBJECT(dialogWindow), "destroy",
--- mozilla/modules/plugin/samples/default/unix/nullplugin.h.foo Tue May 7 14:46:48 2002
+++ mozilla/modules/plugin/samples/default/unix/nullplugin.h Tue May 7 14:47:08 2002
@@ -53,9 +53,7 @@
#define JVM_MINETYPE "application/x-java-vm"
#define MESSAGE "\
This page contains information of a type (%s) that can\n\
-only be viewed with the appropriate Plug-in.\n\
-\n\
-Click OK to download Plugin."
+only be viewed with the appropriate Plug-in."
#define GET 1
#define REFRESH 2

View File

@@ -1,40 +0,0 @@
--- mozilla/editor/ui/composer/content/editor.xul.debug Sun Aug 5 15:49:15 2001
+++ mozilla/editor/ui/composer/content/editor.xul Sun Aug 5 15:49:32 2001
@@ -155,7 +155,7 @@
<menu id="tasksMenu" accesskey="t"/>
<!-- DEBUG only -->
- <menu id="debugMenu" />
+ <!-- <menu id="debugMenu" /> -->
<!-- end DEBUG only -->
<!-- help menu filled from globalOverlay -->
--- mozilla/editor/ui/composer/content/editorOverlay.xul.debug Sun Aug 5 15:47:09 2001
+++ mozilla/editor/ui/composer/content/editorOverlay.xul Sun Aug 5 15:48:58 2001
@@ -804,6 +804,7 @@
<menuitem id="menu_pasteQuote" accesskey="&editpastequotation.accesskey;" observes="cmd_pasteQuote"/>
<!-- DEBUG only -->
+ <!--
<menu id="debugMenu" label="&debugMenu.label;">
<menupopup>
<menuitem label="&newEditorTestPage.label;" oncommand="window.openDialog('chrome://editor/content','_blank','chrome,all,dialog=no','chrome://editor/content/EditorInitPage.html')"/>
@@ -857,6 +858,7 @@
oncommand="window.focus()"/>
</menupopup>
</menu>
+ -->
<!-- end DEBUG only -->
</overlay>
--- mozilla/editor/ui/composer/content/TextEditorAppShell.xul.debug Sun Aug 5 15:49:45 2001
+++ mozilla/editor/ui/composer/content/TextEditorAppShell.xul Sun Aug 5 15:49:55 2001
@@ -113,7 +113,7 @@
<menu accesskey="t" id="tasksMenu"/>
<!-- DEBUG only -->
- <menu id="debugMenu" />
+ <!-- <menu id="debugMenu" /> -->
<!-- end DEBUG only -->
<!-- help menu filled from globalOverlay -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

View File

@@ -1,7 +0,0 @@
[Desktop Entry]
Name=Mozilla Mail
Comment=Read Mail with Mozilla
Exec=/usr/bin/mozilla -mail
Icon=mozilla-mail-icon.gif
Terminal=0
Type=Application

View File

@@ -1,207 +0,0 @@
#!/usr/bin/perl -w
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Christopher Blizzard.
# Portions created by Christopher Blizzard are Copyright (C)
# Christopher Blizzard. All Rights Reserved.
#
# Contributor(s):
# This script will read one of the mozilla packages- file on unix and
# copy it to a target directory. It's for unix only and is really
# designed for use in building rpms or other packages.
use Getopt::Long;
use File::Find;
use strict;
# global vars
my $install_dir = "";
my $install_root = "";
my $package_name = "";
my $package_file = "";
my $output_file = "";
my $exclude_file = "";
my $retval;
# std return val
$retval = GetOptions('install-dir=s', \$install_dir,
'install-root=s', \$install_root,
'package=s', \$package_name,
'package-file=s', \$package_file,
'output-file=s', \$output_file,
'exclude-file=s', \$exclude_file);
# make sure that all of the values are specific on the command line
if (!$retval || !$install_dir || !$install_root || !$package_name ||
!$package_file || !$output_file) {
print_usage();
exit 1;
}
# try to open the packages file
open (PACKAGE_FILE, $package_file) || die("$0: Failed to open file $package_file for reading.");
print "chdir to $install_dir\n";
chdir($install_dir);
my @file_list;
my @exclude_list;
my @final_file_list;
my $reading_package = 0;
LINE: while (<PACKAGE_FILE>) {
s/\;.*//; # it's a comment, kill it.
s/^\s+//; # nuke leading whitespace
s/\s+$//; # nuke trailing whitespace
# it's a blank line, skip it.
if (/^$/) {
next LINE;
}
# it's a new component
if (/^\[/) {
my $this_package;
( $this_package ) = /^\[(.+)\]$/;
if ($this_package eq $package_name) {
$reading_package = 1;
}
else {
$reading_package = 0;
}
next LINE;
}
# read this line
if ($reading_package) {
# see if it's a deletion
if (/^-/) {
my $this_file;
( $this_file ) = /^-(.+)$/;
push (@exclude_list, $this_file);
}
else {
push (@file_list, $_);
}
}
}
close PACKAGE_FILE;
# check if we have an exclude file
if ($exclude_file) {
print "reading exclude file $exclude_file\n";
open (EXCLUDE_FILE, $exclude_file) || die("$0: Failed to open exclude file $exclude_file for reading.");
while (<EXCLUDE_FILE>) {
chomp;
print "Ignoring $_\n";
push (@exclude_list, $_);
}
close EXCLUDE_FILE;
}
# Expand our file list
expand_file_list(\@file_list, \@exclude_list, \@final_file_list);
print "final file list\n";
foreach (@final_file_list) {
print $_ . "\n";
}
open (OUTPUT_FILE, ">>$output_file") || die("Failed to open output file\n");
foreach (@final_file_list) {
# strip off the bin/
s/^bin\///;
if ( ! -f $_ ) {
print("Skipping $_ because it doesn't exist\n");
}
else {
print ("Adding $_\n");
print (OUTPUT_FILE $install_root . "/" . $_ . "\n");
}
}
close OUTPUT_FILE;
#print "\nexlude list\n";
#foreach (@exclude_list) {
# print $_ . "\n";
#}
# this function expands a list of files
sub expand_file_list {
my $file_list_ref = shift;
my $exclude_list_ref = shift;
my $final_file_list_ref = shift;
my $this_file;
foreach $this_file (@{$file_list_ref}) {
# strip off the bin/
$this_file =~ s/^bin\///;
# is it a wild card?
if ($this_file =~ /\*/) {
print "Wild card $this_file\n";
# expand that wild card, removing anything in the exclude
# list
my @temp_list;
printf ("Expanding $this_file\n");
@temp_list = glob($this_file);
foreach $this_file (@temp_list) {
if (!in_exclude_list($this_file, $exclude_list_ref)) {
push (@{$final_file_list_ref}, $this_file);
}
}
}
else {
if (!in_exclude_list($this_file, $exclude_list_ref)) {
push (@{$final_file_list_ref}, $this_file);
}
}
}
}
# is this file in the exlude list?
sub in_exclude_list {
my $file = shift;
my $exclude_list_ref = shift;
my $this_file;
foreach $this_file (@{$exclude_list_ref}) {
if ($file eq $this_file) {
return 1;
}
}
return 0;
}
# print out a usage message
sub print_usage {
print ("$0: --install-dir dir --install-root dir --package name --package-file file --output-file file\n");
print ("\t install-dir is the directory where the files are installed.\n");
print ("\t install-root is the directory that should prefix files in the package file.\n");
print ("\t package is the name of the package to list\n");
print ("\t package-file is the file that contains the list of packages\n");
print ("\t output-file is the file which will contain the list of files\n");
}

View File

@@ -1,137 +0,0 @@
--- mozilla/xpfe/browser/resources/content/navigatorOverlay.xul.foo 2002-10-16 01:45:18.000000000 -0400
+++ mozilla/xpfe/browser/resources/content/navigatorOverlay.xul 2002-10-16 01:45:39.000000000 -0400
@@ -366,134 +366,6 @@
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
- <!-- Menu for testing. -->
- <menu id="debugMenu" accesskey="U" label="Debug">
- <menupopup>
- <menu label="Verification">
- <menupopup>
- <menuitem label="Tables" oncommand="loadURI('resource:/res/samples/test6.html');"/>
- <menuitem label="JavaScript" oncommand="loadURI('http://mozilla.org/quality/browser/standards/javascript/tcmatrix/index.html');"/>
- <menuitem label="GIF Images" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_imagemap.html');"/>
- <menuitem label="JPEG Images" oncommand="loadURI('resource:/res/samples/test2.html');"/>
- <menuitem label="PNG Images" oncommand="loadURI('http://www.libpng.org/pub/png/png-MagnoliaAlpha.html');"/>
- <menuitem label="Transparency" oncommand="loadURI('resource:/res/samples/test13.html');"/>
- <menuitem label="Animation" oncommand="loadURI('resource:/res/samples/test2.html');"/>
- <menuitem label="Larger page" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_html_mix3.html');"/>
- <menuitem label="Smaller page" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_link.html');"/>
- <menuseparator />
- <menuitem label="Mozilla" oncommand="loadURI('http://www.mozilla.org');"/>
- <menuitem label="Yahoo" oncommand="loadURI('http://www.yahoo.com');"/>
- <menuitem label="Netscape" oncommand="loadURI('http://www.netscape.com');"/>
- <menuitem label="Excite" oncommand="loadURI('http://www.excite.com');"/>
- <menuitem label="Microsoft" oncommand="loadURI('http://www.microsoft.com');"/>
- <menuitem label="city.net" oncommand="loadURI('http://www.city.net');"/>
- <menuitem label="Mirabilis" oncommand="loadURI('http://www.mirabilis.com');"/>
- <menuitem label="Time" oncommand="loadURI('http://www.time.com');"/>
- <menuitem label="Warner Bros." oncommand="loadURI('http://www.warnerbros.com');"/>
- <menuitem label="CNN" oncommand="loadURI('http://www.cnn.com');"/>
- <menuitem label="USA Today" oncommand="loadURI('http://www.usatoday.com');"/>
- <menuitem label="Disney" oncommand="loadURI('http://www.disney.go.com');"/>
- <menuitem label="Hotwired" oncommand="loadURI('http://www.hotwired.com');"/>
- <menuitem label="Hotbot" oncommand="loadURI('http://www.hotbot.com');"/>
- </menupopup>
- </menu>
-
- <menu label="Viewer Demos">
- <menupopup>
- <menuitem label="#0 Basic Styles" oncommand="loadURI('resource:/res/samples/test0.html');"/>
- <menuitem label="#1 CSS Styles" oncommand="loadURI('resource:/res/samples/test1.html');"/>
- <menuitem label="#2 Images" oncommand="loadURI('resource:/res/samples/test2.html');"/>
- <menuitem label="#3 Basic Tables" oncommand="loadURI('resource:/res/samples/test3.html');"/>
- <menuitem label="#4 Simple Tables" oncommand="loadURI('resource:/res/samples/test4.html');"/>
- <menuitem label="#5 More Styles" oncommand="loadURI('resource:/res/samples/test5.html');"/>
- <menuitem label="#6 Deeply Nested Tables" oncommand="loadURI('resource:/res/samples/test6.html');"/>
- <menuitem label="#7 Scaled Anim Image" oncommand="loadURI('resource:/res/samples/test7.html');"/>
- <menuitem label="#8 Form" oncommand="loadURI('resource:/res/samples/test8.html');"/>
- <menuitem label="#9 Frames" oncommand="loadURI('resource:/res/samples/test9.html');"/>
- <menuitem label="#10 Anim Images" oncommand="loadURI('resource:/res/samples/test10.html');"/>
- <menuitem label="#11 Fixed Positioning" oncommand="loadURI('resource:/res/samples/test11.html');"/>
- <menuitem label="#12 More Fixed Pos" oncommand="loadURI('resource:/res/samples/test12.html');"/>
- <menuitem label="#13 DHTML" oncommand="loadURI('resource:/res/samples/test13.html');"/>
- <menuitem label="#14 XML Sorting" oncommand="loadURI('resource:/res/samples/test14.html');"/>
- <menuitem label="#15 XML IRS" oncommand="loadURI('resource:/res/samples/test15.html');"/>
- <menuitem label="#16 Gfx Widgets" oncommand="loadURI('resource:/res/samples/test16.html');"/>
- </menupopup>
- </menu>
-
- <menu label="XBL Test Suite">
- <menupopup>
- <menuitem label="#0 Remote XBL" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test0/test.xul');"/>
- <menuitem label="#1 Technicolor DIV" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test1/test.html');"/>
- <menuitem label="#2 Rollover Madness" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test2/test.html');"/>
- <menuitem label="#3 Popups in HTML" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test3/test.html');"/>
- <menuitem label="#4 Partition Magic" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test4/test.html');"/>
- <menuitem label="#5 Sticky Notes" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test5/test.html');"/>
- </menupopup>
- </menu>
-
- <menu label="XUL Test Suite">
- <menupopup>
- <menuitem label="#1 Stacks" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/stacks.xul');"/>
- <menuitem label="#2 Popups" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/popups.xul');"/>
- <menuitem label="#3 Descriptions and Labels" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/label.xul');"/>
- <menuitem label="#4 Dialog Buttons" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/buttons.xul');"/>
- <menuitem label="#5 Tabindex" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/tabindex.xul');"/>
- </menupopup>
- </menu>
-
- <menuitem label="Form Manager Samples" oncommand="loadURI('http://www.mozilla.org/wallet/samples/wallet.html');"/>
-
- <menuitem label="chofmann's Browser Buster" oncommand="loadURI('http://komodo.mozilla.org/buster/');"/>
- <menuitem label="Composer (with test page)" oncommand="window.openDialog('chrome://editor/content','_blank','chrome,all,dialog=no','chrome://editor/content/EditorInitPage.html')"/>
- <menuitem label="Flush Memory" oncommand="Components.classes['@mozilla.org/xpcom/memory-service;1'].getService(Components.interfaces.nsIMemory).heapMinimize(true);" />
-
- <menuseparator />
-
- <menuitem label="StringBundle Test" oncommand="loadURI('resource:/res/strres-test.xul');"/>
- <menuitem label="Bloat: Dump New Stats" oncommand="loadURI('about:bloat?new');"/>
- <menuitem label="Bloat: Dump All Stats" oncommand="loadURI('about:bloat');"/>
- <menuitem label="Bloat: Clear Stats" oncommand="loadURI('about:bloat?clear');"/>
-
- <menuseparator />
-
- <menu label="Leak Detector">
- <menupopup>
- <menuitem label="Dump Memory Leaks" oncommand="dumpMemoryLeaks();"/>
- <menuitem label="Trace Chrome" oncommand="traceChrome();"/>
- <menuitem label="Trace Document" oncommand="traceDocument();"/>
- <menuitem label="Verbose" oncommand="traceVerbose(this.getAttribute('checked'))" type="checkbox" checked="false"/>
- </menupopup>
- </menu>
- </menupopup>
- </menu>
-
- <menu id="qaMenu" accesskey="Q" label="QA">
- <menupopup id="qaMenuPopup">
- <menuitem label="Getting Involved" oncommand="loadURI('http://www.mozilla.org/start/');"/>
- <menuitem label="Mozilla QA Overview" oncommand="loadURI('http://www.mozilla.org/quality/');"/>
-
- <menuseparator />
-
- <menuitem label="Frequently Reported Bugs" oncommand="loadURI('http://bugzilla.mozilla.org/duplicates.cgi');"/>
- <menuitem label="Bug Writing Guidelines" oncommand="loadURI('http://www.mozilla.org/quality/bug-writing-guidelines.html');"/>
- <menuitem label="File a Bug" oncommand="loadURI('http://bugzilla.mozilla.org/enter_bug.cgi?format=guided');"/>
-
- <menuseparator />
-
- <menuitem label="Bugs Filed Today" oncommand="loadURI('http://bugzilla.mozilla.org/buglist.cgi?changedin=1&amp;chfield=%5BBug+creation%5D&amp;amp;chfieldto=Now&amp;product=Browser&amp;product=MailNews');"/>
- <menuitem label="CVS Checkins Today" oncommand="loadURI('http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&amp;module=SeaMonkeyAll&amp;branch=HEAD&amp;branchtype=match&amp;sortby=Date&amp;date=day&amp;cvsroot=%2Fcvsroot');"/>
- <menuitem label="Tree Status" oncommand="loadURI('http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey');"/>
-
- <menuseparator />
-
- <menuitem label="Smoke Tests" oncommand="loadURI('http://www.mozilla.org/quality/smoketests/');"/>
- <menuitem label="Pre-Checkin Tests" oncommand="loadURI('http://www.mozilla.org/quality/precheckin-tests.html');"/>
-
- <menuseparator />
-
- <menuitem label="Latest Builds" oncommand="loadURI('ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/');"/>
- </menupopup>
- </menu>
</menubar>
</overlay>

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Name=Migrate Netscape Profile
Name[es]=Migrador del perfil de Netscape
Name[fr]=Profil de Migrate Netscape
Name[ja]=Netscape プロファイルの移行
Comment=Migrate Netscape Profile
Comment[es]=Migrador del perfil de Netscape
Comment[fr]=Profil de Migrate Netscape.
Comment[it]=Profilo di Netscape Migrate
Comment[ja]=Netscape プロファイルの移行
Exec=/usr/bin/mozilla -installer
Icon=mozilla-icon.png
Terminal=0
Type=Application

View File

@@ -1,22 +0,0 @@
--- mozilla/xpinstall/packager/packages-unix.foobar Thu Feb 28 18:09:39 2002
+++ mozilla/xpinstall/packager/packages-unix Thu Feb 28 18:10:08 2002
@@ -32,6 +32,19 @@
bin/defaults/profile/search.rdf
bin/defaults/profile/mimeTypes.rdf
+[nspr]
+bin/libnspr4.so
+bin/libplc4.so
+bin/libplds4.so
+
+[nss]
+bin/libnssckbi.so
+bin/libnss3.so
+bin/libsmime3.so
+bin/libsoftokn3.so
+bin/libsoftokn3.chk
+bin/libssl3.so
+
[xpcom]
bin/libmozjs.so
bin/libnspr4.so

View File

@@ -1,27 +0,0 @@
--- mozilla/xpfe/components/prefwindow/resources/content/preftree.xul.foo Fri Apr 5 00:27:57 2002
+++ mozilla/xpfe/components/prefwindow/resources/content/preftree.xul Fri Apr 5 00:28:08 2002
@@ -150,24 +150,6 @@
</treechildren>
</treeitem>
- <treeitem container="true" id="debugItem">
- <treerow>
- <treecell url="chrome://communicator/content/pref/pref-debug.xul" label="&debug.label;"/>
- </treerow>
- <treechildren id="debugChildren">
- <treeitem>
- <treerow>
- <treecell url="chrome://communicator/content/pref/pref-debug1.xul" label="&debug1.label;"/>
- </treerow>
- </treeitem>
- <treeitem>
- <treerow>
- <treecell url="chrome://communicator/content/pref/pref-debug2.xul" label="&debug2.label;"/>
- </treerow>
- </treeitem>
- </treechildren>
- </treeitem>
-
<treeitem id="offlineItem">
<treerow>
<treecell url="chrome://communicator/content/pref/pref-offline.xul" label="&offline.label;"/>

View File

@@ -1,14 +0,0 @@
[Desktop Entry]
Name=Mozilla Profile Manager
Name[es]=Gestor de Perfiles Mozilla
Name[fr]=Profil de Mozilla Netscape
Name[ja]=Mozilla プロファイルマネージャ
Comment=Mozilla Profile Manager
Comment[es]=Gestor de perfiles Mozilla
Comment[fr]=Profil de Mozilla Netscape.
Comment[it]=Manager del profilo di Mozilla
Comment[ja]=Mozilla プロファイルマネージャ
Exec=/usr/bin/mozilla -ProfileManager
Icon=migrate-icon.gif
Terminal=0
Type=Application

View File

@@ -1,28 +0,0 @@
--- mozilla/modules/libpref/src/unix/unix.js.psfoo Fri Apr 5 12:36:19 2002
+++ mozilla/modules/libpref/src/unix/unix.js Fri Apr 5 12:39:11 2002
@@ -345,8 +345,10 @@
pref("print.postscript.nativefont.ar", "");
pref("print.postscript.nativefont.el", "");
pref("print.postscript.nativefont.he", "");
-pref("print.postscript.nativefont.ja", "");
-pref("print.postscript.nativefont.ko", "");
+pref("print.postscript.nativecode.ja", "euc-jp");
+pref("print.postscript.nativefont.ja", "Ryumin-Light-EUC-H");
+pref("print.postscript.nativecode.ko", "euc-kr");
+pref("print.postscript.nativefont.ko", "Baekmuk-Gulim-KSC-EUC-H");
pref("print.postscript.nativefont.th", "");
pref("print.postscript.nativefont.tr", "");
pref("print.postscript.nativefont.x-baltic", "");
@@ -355,8 +357,10 @@
pref("print.postscript.nativefont.x-unicode", "");
pref("print.postscript.nativefont.x-user-def", "");
pref("print.postscript.nativefont.x-western", "");
-pref("print.postscript.nativefont.zh-CN", "");
-pref("print.postscript.nativefont.zh-TW", "");
+pref("print.postscript.nativecode.zh-CN", "gb18030");
+pref("print.postscript.nativefont.zh-CN", "MSungGBK-Light-GBK2K-H");
+pref("print.postscript.nativecode.zh-TW", "big5");
+pref("print.postscript.nativefont.zh-TW", "ShanHeiSun-Light-B5-H");
pref("mail.signature_date", 0);
// EOF.

View File

@@ -1,5 +0,0 @@
libnss3.so
libsmime3.so
libsoftokn3.so
libsoftokn3.chk
libssl3.so

View File

@@ -1,99 +0,0 @@
#!/usr/bin/perl
use File::Path;
use File::Copy;
use File::Glob ":glob";
use POSIX ":sys_wait_h";
$timeout = 60;
%{ENV}->{"MOZILLA_FIVE_HOME"}="LIBDIR/mozilla-MOZILLA_VERSION";
%{ENV}->{"LD_LIBRARY_PATH"}="LIBDIR/mozilla-MOZILLA_VERSION";
umask 022;
if ( -f "LIBDIR/mozilla-MOZILLA_VERSION/regxpcom" )
{
# remove all of the old files
rmtree("LIBDIR/mozilla-MOZILLA_VERSION/chrome/overlayinfo");
unlink <LIBDIR/mozilla-MOZILLA_VERSION/chrome/*.rdf>;
unlink("LIBDIR/mozilla-MOZILLA_VERSION/component.reg");
unlink("LIBDIR/mozilla-MOZILLA_VERSION/components/compreg.dat");
unlink("LIBDIR/mozilla-MOZILLA_VERSION/components/xpti.dat");
# create a new clean path
mkpath("LIBDIR/mozilla-MOZILLA_VERSION/chrome/overlayinfo");
# rebuild the installed-chrome.txt file from the installed
# languages
if ( -f "LIBDIR/mozilla-MOZILLA_VERSION/chrome/lang/installed-chrome.txt" ) {
rebuild_lang_files();
}
# run regxpcom
$pid = fork();
# I am the child.
if ($pid == 0) {
exec("LIBDIR/mozilla-MOZILLA_VERSION/regxpcom > /dev/null 2> /dev/null");
}
# I am the parent.
else {
my $timepassed = 0;
do {
$kid = waitpid($pid, &WNOHANG);
sleep(1);
$timepassed++;
} until $kid == -1 || $timepassed > $timeout;
# should we kill?
if ($timepassed > $timeout) {
kill (9, $pid);
# kill -9 can leave threads hanging around
system("/usr/bin/killall -9 regxpcom");
}
}
# and run regchrome for good measure
$pid = fork();
# I am the child.
if ($pid == 0) {
exec("LIBDIR/mozilla-MOZILLA_VERSION/regchrome > /dev/null 2> /dev/null");
}
# I am the parent.
else {
my $timepassed = 0;
do {
$kid = waitpid($pid, &WNOHANG);
sleep(1);
$timepassed++;
} until $kid == -1 || $timepassed > $timeout;
# should we kill?
if ($timepassed > $timeout) {
kill (9, $pid);
# kill -9 can leave threads hanging around
system("/usr/bin/killall -9 regchrome");
}
}
}
sub rebuild_lang_files {
unlink("LIBDIR/mozilla-MOZILLA_VERSION/chrome/installed-chrome.txt");
open (OUTPUT, "+>", "LIBDIR/mozilla-MOZILLA_VERSION/chrome/installed-chrome.txt")||
die("Failed to open installed-chrome.txt: $!\n");
copy("LIBDIR/mozilla-MOZILLA_VERSION/chrome/lang/installed-chrome.txt",
\*OUTPUT);
foreach (bsd_glob("LIBDIR/mozilla-MOZILLA_VERSION/chrome/lang/lang-*.txt")) {
copy($_, \*OUTPUT);
}
copy("LIBDIR/mozilla-MOZILLA_VERSION/chrome/lang/default.txt",
\*OUTPUT);
}

View File

@@ -1,35 +0,0 @@
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="961112773" LAST_MODIFIED="994788142" PERSONAL_TOOLBAR_FOLDER="true" ID="NC:PersonalToolbarFolder">Personal Toolbar Folder</H3>
<DL><p>
<DT><A HREF="http://www.redhat.com/network/main/login.html" ADD_DATE="994787542" LAST_VISIT="994788277" LAST_CHARSET="ISO-8859-1">Red Hat Network</A>
<DT><H3 ADD_DATE="994787811" LAST_MODIFIED="994788115" ID="NC:BookmarksRoot#$7957b8a">Support</H3>
<DL><p>
<DT><A HREF="http://www.redhat.com/linux_docs.html" ADD_DATE="994787827" LAST_VISIT="994788333" LAST_CHARSET="ISO-8859-1">Red Hat Linux Documentation</A>
<DT><A HREF="http://www.redhat.com/downloads.html" ADD_DATE="994787795">Red Hat Downloads</A>
<DT><A HREF="http://www.redhat.com/apps/support" ADD_DATE="994787936">Red Hat Support</A>
<DT><A HREF="http://www.redhat.com/apps/search/" ADD_DATE="994788115" LAST_VISIT="994788390" LAST_CHARSET="ISO-8859-1">Red Hat Search</A>
</DL><p>
<DT><H3 ADD_DATE="994787567" LAST_MODIFIED="994787722" ID="NC:BookmarksRoot#$7957b87">Shop</H3>
<DL><p>
<DT><A HREF="http://www.redhat.com/apps/commerce/" ADD_DATE="994787588" LAST_VISIT="994788303" LAST_CHARSET="ISO-8859-1">Red Hat Store</A>
<DT><A HREF="http://www.redhat.com/apps/marketplace/" ADD_DATE="994787635" LAST_VISIT="994788310" LAST_CHARSET="ISO-8859-1">Red Hat Marketplace</A>
</DL><p>
<DT><H3 ADD_DATE="994787973" LAST_MODIFIED="994788056" ID="NC:BookmarksRoot#$1fc98069">Products</H3>
<DL><p>
<DT><A HREF="http://www.redhat.com/embedded/" ADD_DATE="994787951" LAST_VISIT="994788350" LAST_CHARSET="ISO-8859-1">Red Hat Embedded Tech Center</A>
<DT><A HREF="http://www.redhat.com/products/" ADD_DATE="994788056" LAST_VISIT="994788371" LAST_CHARSET="ISO-8859-1">Red Hat Product Offerings</A>
</DL><p>
<DT><H3 ADD_DATE="994787705" LAST_MODIFIED="994787760" ID="NC:BookmarksRoot#$7957b88">Training</H3>
<DL><p>
<DT><A HREF="http://www.redhat.com/training/" ADD_DATE="994787760" LAST_VISIT="994788297" LAST_CHARSET="ISO-8859-1">Red Hat Global Learning Services</A>
</DL><p>
</DL><p>
</DL><p>

View File

@@ -1,24 +0,0 @@
--- mozilla/xpfe/browser/resources/locale/en-US/region.properties.foo Thu Aug 1 20:53:34 2002
+++ mozilla/xpfe/browser/resources/locale/en-US/region.properties Thu Jan 30 12:13:59 2003
@@ -1,5 +1,5 @@
# navigator.properties
-homePageDefault=http://www.mozilla.org/
+homePageDefault=file:///usr/share/doc/HTML/index.html
shopKeyword=keyword:shop [Product]
quoteKeyword=keyword:quote [Enter symbol here]
localKeyword=keyword:zip [Your zip code]
@@ -11,7 +11,7 @@
#
# all.js
#
-browser.startup.homepage=http://www.mozilla.org/start/
+browser.startup.homepage=file:///usr/share/doc/HTML/index.html
browser.throbber.url=http://www.mozilla.org/
browser.search.defaulturl=http://search.netscape.com/cgi-bin/search?search=
general.useragent.contentlocale=US
@@ -21,4 +21,4 @@
#config.js
#
-startup.homepage_override_url=http://www.mozilla.org/start/
+startup.homepage_override_url=file:///usr/share/doc/HTML/index.html

View File

@@ -1,11 +0,0 @@
--- mozilla/mailnews/base/resources/locale/en-US/region.properties.home-page Mon Feb 26 17:47:41 2001
+++ mozilla/mailnews/base/resources/locale/en-US/region.properties Mon Feb 26 17:47:52 2001
@@ -1,7 +1,7 @@
#
# messenger.properties
# mailnews.js
-mailnews.start_page.url=http://www.mozilla.org/mailnews/start.html
+mailnews.start_page.url=about:blank
messenger.throbber.url=http://www.mozilla.org/
compose.throbber.url=http://www.mozilla.org/
addressbook.throbber.url=http://www.mozilla.org/

View File

@@ -1,50 +0,0 @@
--- mozilla/xpfe/communicator/resources/locale/en-US/taskbar.rdf.non-mozilla Mon Jan 15 14:41:41 2001
+++ mozilla/xpfe/communicator/resources/locale/en-US/taskbar.rdf Mon Jan 15 14:42:10 2001
@@ -1,47 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE RDF
[
-<!-- LOCALIZATION NOTE (mozillaButton.label): DONT_TRANSLATE -->
-<!ENTITY mozillaButton.label "Mozilla">
-<!ENTITY mozillaTooltip.label "Links to mozilla.org webtools">
-<!-- taskbar popups -->
-<!-- LOCALIZATION NOTE (bugzillaButton.label): Do NOT translate "Bugzilla" -->
-<!ENTITY bugzillaButton.label "Go to Bugzilla">
-<!ENTITY tinderboxButton.label "Look at Tinderbox">
-<!-- LOCALIZATION NOTE (bonsai.label): Do NOT translate "Bonsai" -->
-<!ENTITY bonsai.label "Look at Bonsai">
-
]
>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/NC-rdf#">
<!-- root start -->
- <RDF:Seq ID="root">
-
- <RDF:li>
- <RDF:Seq about="urn:taskbar:mozilla-group">
- <RDF:li resource="urn:taskbar:mozilla-group:bonsai" />
- <RDF:li resource="urn:taskbar:mozilla-group:bugzilla" />
- </RDF:Seq>
- </RDF:li>
-
- </RDF:Seq>
<!-- root end -->
-<!-- Description -->
-<RDF:Description about="urn:taskbar:mozilla-group">
- <NC:title>&mozillaButton.label;</NC:title>
- <NC:tooltip>&mozillaTooltip.label;</NC:tooltip>
-</RDF:Description>
-
- <RDF:Description about="urn:taskbar:mozilla-group:bonsai">
- <NC:title>&bonsai.label;</NC:title>
- <NC:content>openTopWin('http://bonsai.mozilla.org/toplevel.cgi?treeid=SeaMonkey')</NC:content>
- </RDF:Description>
-
- <RDF:Description about="urn:taskbar:mozilla-group:bugzilla">
- <NC:title>&bugzillaButton.label;</NC:title>
- <NC:content>openTopWin('http://bugzilla.mozilla.org')</NC:content>
- </RDF:Description>
</RDF:RDF>

View File

@@ -1,4 +0,0 @@
libnspr4.so
libplc4.so
libplds4.so

View File

@@ -1,7 +0,0 @@
[Desktop Entry]
Name=Mozilla
Comment=Web Browser
Exec=/usr/bin/mozilla
Icon=mozilla-icon.png
Terminal=0
Type=Application

View File

@@ -1,149 +0,0 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
cmdname=`basename $0`
## don't leave any core files around
ulimit -c 0
##
## Variables
##
MOZ_DIST_BIN="LIBDIR/mozilla-MOZILLA_VERSION"
MOZ_PROGRAM="LIBDIR/mozilla-MOZILLA_VERSION/mozilla-bin"
MOZ_CLIENT_PROGRAM="LIBDIR/mozilla-MOZILLA_VERSION/mozilla-xremote-client"
##
## Set LD_LIBRARY_PATH
##
if [ "$LD_LIBRARY_PATH" ]
then
LD_LIBRARY_PATH=/usr/lib/mozilla-MOZILLA_VERSION:/usr/lib/mozilla-MOZILLA_VERSION/plugins:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=/usr/lib/mozilla-MOZILLA_VERSION:/usr/lib/mozilla-MOZILLA_VERSION/plugins
fi
export LD_LIBRARY_PATH
##
## Make sure that we set the plugin path for backwards compatibility
##
if [ "$MOZ_PLUGIN_PATH" ]
then
MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:/usr/lib/mozilla/plugins:LIBDIR/mozilla/plugins
else
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:LIBDIR/mozilla/plugins
fi
export MOZ_PLUGIN_PATH
function check_running() {
$MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null
RETURN_VAL=$?
if [ "$RETURN_VAL" -eq "2" ]; then
echo 0
return 0
else
echo 1
return 1
fi
}
function open_mail() {
if [ "${ALREADY_RUNNING}" -eq "1" ]; then
exec $MOZ_CLIENT_PROGRAM 'xfeDoCommand(openInbox)' \
2>/dev/null >/dev/null
else
exec $MOZ_PROGRAM $*
fi
}
function open_compose() {
if [ "${ALREADY_RUNNING}" -eq "1" ]; then
exec $MOZ_CLIENT_PROGRAM 'xfeDoCommand(composeMessage)' \
2>/dev/null >/dev/null
else
exec $MOZ_PROGRAM $*
fi
}
# check to see if there's an already running instance or not
ALREADY_RUNNING=`check_running`
# If there is no command line argument at all then try to open a new
# window in an already running instance.
if [ "${ALREADY_RUNNING}" -eq "1" ] && [ -z "$1" ]; then
exec $MOZ_CLIENT_PROGRAM "xfeDoCommand(openBrowser)" 2>/dev/null >/dev/null
fi
# if there's no command line argument and there's not a running
# instance then just fire up a new copy of the browser
if [ -z "$1" ]; then
exec $MOZ_PROGRAM 2>/dev/null >/dev/null
fi
unset RETURN_VAL
# If there's a command line argument but it doesn't begin with a -
# it's probably a url. Try to send it to a running instance.
USE_EXIST=0
opt="$1"
case "$opt" in
-mail)
open_mail ${1+"$@"}
;;
-compose)
open_compose ${1+"$@"}
;;
-*) ;;
*) USE_EXIST=1 ;;
esac
if [ "${USE_EXIST}" -eq "1" ] && [ "${ALREADY_RUNNING}" -eq "1" ]; then
# check to make sure that the command contains at least a :/ in it.
echo $opt | grep -e ':/' 2>/dev/null > /dev/null
RETURN_VAL=$?
if [ "$RETURN_VAL" -eq "1" ]; then
# if it doesn't begin with a '/' and it exists when the pwd is
# prepended to it then append the full path
echo $opt | grep -e '^/' 2>/dev/null > /dev/null
if [ "${RETURN_VAL}" -ne "0" ] && [ -e `pwd`/$opt ]; then
opt="`pwd`/$opt"
fi
exec $MOZ_CLIENT_PROGRAM "openurl($opt)" 2>/dev/null >/dev/null
fi
# just pass it off if it looks like a url
exec $MOZ_CLIENT_PROGRAM "openurl($opt,new-window)" 2>/dev/null >/dev/null
fi
exec $MOZ_PROGRAM ${1+"$@"}

View File

@@ -1,19 +0,0 @@
#!/bin/sh
umask 022
if [ -f /usr/lib/mozilla/regxpcom ]; then
/bin/rm -rf /usr/lib/mozilla/chrome/overlayinfo
/bin/rm -f /usr/lib/mozilla/chrome/*.rdf
/bin/mkdir -p /usr/lib/mozilla/chrome/overlayinfo
/bin/rm -f /usr/lib/mozilla/component.reg
MOZILLA_FIVE_HOME=/usr/lib/mozilla \
/usr/lib/mozilla/regxpcom >/dev/null 2>/dev/null
MOZILLA_FIVE_HOME=/usr/lib/mozilla \
/usr/lib/mozilla/regchrome >/dev/null 2>/dev/null
fi
exit 0

View File

@@ -1,680 +0,0 @@
%define _unpackaged_files_terminate_build 0
%define toolkit_options --disable-freetype2
%define builddir %{_builddir}/mozilla
Name: mozilla
Summary: Web browser and mail reader
Version: VERSION_REPLACE
Release: RELEASE_REPLACE
Serial: 35
Copyright: MPL
Source0: mozilla-source-SOURCE_RELEASE_REPLACE.tar.gz
Source1: mozilla.sh.in
Source2: mozilla-icon.png
Source4: mozilla.desktop
Source7: mozilla-make-package.pl
Source9: mozicon16.xpm
Source10: mozicon50.xpm
Source11: mozilla-rebuild-databases.pl.in
Source12: mozilla-mail.desktop
Source13: mozilla-mail-icon.gif
Source14: mozilla-compose.desktop
Source15: mozilla-compose-icon.gif
Source17: mozilla-psm-exclude-list
Source18: mozilla-xpcom-exclude-list
Source19: mozilla-redhat-default-bookmarks.html
Source20: mozilla-1.2.1-xft-prefs.js
Patch0: mozilla-navigator-overlay-menu.patch
Patch1: mozilla-editor-overlay-menu.patch
Patch6: mozilla-prefs-debug.patch
Patch7: mozilla-redhat-home-page.patch
Patch12: mozilla-psfonts-7.2.patch
Patch13: mozilla-nspr-packages.patch
Patch14: mozilla-default-plugin-less-annoying.patch
Patch17: mozilla-buildid-title.patch
Patch18: mozilla-1.2.1-uifont.patch
Buildroot: /var/tmp/mozilla-root
Prefix: /usr
Group: Applications/Internet
Provides: webclient
# Removed compat-gcc-c++, compat-libstdc++-devel, compat-gcc
BuildPrereq: libpng-devel, libjpeg-devel, zlib-devel, zip, perl, autoconf, indexhtml, ORBit-devel, glib-devel, gtk+-devel
Prereq: fileutils perl
Prereq: /usr/bin/killall
Requires: mozilla-nspr = %{version}-%{release}, indexhtml
ExclusiveArch: i386 s390 s390x x86_64 ppc
%description
Mozilla is an open-source web browser, designed for standards
compliance, performance and portability.
%package nspr
Summary: Netscape Portable Runtime
Group: Applications/Internet
Conflicts: mozilla < 0.9.9
%description nspr
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free) and shared library linking.
%package nspr-devel
Summary: Development Libraries for the Netscape Portable Runtime
Group: Development/Libraries
Requires: mozilla-nspr = %{version}-%{release}
%description nspr-devel
Header files for doing development with the Netscape Portable Runtime.
%package nss
Summary: Network Security Services
Group: Applications/Internet
Requires: mozilla-nspr = %{version}-%{release}
%description nss
Network Security Services (NSS) is a set of libraries designed to
support cross-platform development of security-enabled server
applications. Applications built with NSS can support SSL v2 and v3,
TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3
certificates, and other security standards.
%package nss-devel
Summary: Development Libraries for Network Security Services
Group: Applications/Internet
Requires: mozilla-nss-devel = %{version}-%{release}
%description nss-devel
Header files to doing development with Network Security Services.
%package devel
Summary: Development files for Mozilla
Group: Development/Libraries
Requires: mozilla = %{version}-%{release}
%description devel
Development header files for mozilla.
%package mail
Summary: Mozilla-based mail system
Group: Applications/Internet
Prereq: fileutils mozilla = %{version}-%{release}
%description mail
Mail/news client based on the Mozilla web browser. The mail/news
client supports IMAP, POP, and NNTP and has an easy to use interface.
%package psm
Summary: Personal Security Manager
Group: Applications/Internet
Prereq: fileutils mozilla = %{version}-%{release} mozilla-nss = %{version}-%{release}
%description psm
The Personal Security Manager is a set of libraries that allow Mozilla
to talk to the Network Security Services layer. It allows Mozilla to
access SSL web sites and manage cryptographic keys.
%package chat
Summary: IRC client integrated with Mozilla
Group: Applications/Internet
Prereq: fileutils mozilla = %{version}-%{release}
%description chat
IRC client that is integrated with the Mozilla web browser.
%package js-debugger
Summary: JavaScript debugger for use with Mozilla
Group: Applications/Internet
Prereq: fileutils mozilla = %{version}-%{release}
%description js-debugger
JavaScript debugger for use with Mozilla.
%package dom-inspector
Summary: A tool for inspecting the DOM of pages in Mozilla.
Group: Applications/Internet
Prereq: fileutils mozilla = %{version}-%{release}
%description dom-inspector
This is a tool that allows you to inspect the DOM for web pages in
Mozilla. This is of great use to people who are doing Mozilla chrome
development or web page development.
%prep
%setup -q -n mozilla
%patch0 -p1
%patch0 -p1 -R
%patch1 -p1
%patch1 -p1 -R
%patch6 -p1
%patch6 -p1 -R
%patch7 -p1
%patch7 -p1 -R
# Can't hurt to leave this in since the defaults are empty.
%patch12 -p1
%patch13 -p1
# make the plugin dialog less annoying and disable redirection to the
# plugin downloader page.
%patch14 -p1
# remove the annoying buildid from the titlebar
%patch17 -p1
%patch17 -p1 -R
# make it possible to set the uifont
%patch18 -p1
# set up our default bookmarks
/bin/cp %{SOURCE19} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html
%build
if [ -x /usr/bin/getconf ]; then
CPUS=`getconf _NPROCESSORS_ONLN`
fi
if test "x$CPUS" = "x" -o "x$CPUS" = "x0"; then
CPUS=1
fi
# build mozilla
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 \
./configure --prefix=%{_prefix} --libdir=%{_libdir} \
--enable-optimize=-O2 \
--disable-debug \
--with-default-mozilla-five-home=%{_libdir}/mozilla-%{version} \
--enable-strip-libs \
--disable-tests \
--disable-short-wchar \
--enable-nspr-autoconf \
--enable-extensions=default,irc \
--without-mng \
--enable-crypto \
--disable-xprint \
--without-system-nspr \
--with-system-zlib \
%{toolkit_options} \
--mandir=%{_mandir}
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 make -s export
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 make -j$CPUS -s libs
%install
/bin/rm -rf $RPM_BUILD_ROOT
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 \
DESTDIR=$RPM_BUILD_ROOT \
make install
# create a list of all of the different package and the files that
# will hold them
/bin/rm -f %{builddir}/mozilla.list
/bin/rm -f %{builddir}/mozilla-mail.list
/bin/rm -f %{builddir}/mozilla-psm.list
/bin/rm -f %{builddir}/mozilla-chat.list
/bin/rm -f %{builddir}/mozilla-js-debugger.list
/bin/rm -f %{builddir}/mozilla-dom-inspector.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla-mail.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla-psm.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla-chat.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla-js-debugger.list
echo %defattr\(-,root,root\) > %{builddir}/mozilla-dom-inspector.list
# NSS and NSPR are both installed into /usr/lib instead of
# /usr/lib/mozilla-VERSION
pushd .
cd $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}
# move nspr
mv -v \
libnspr4.so libplc4.so libplds4.so \
$RPM_BUILD_ROOT%{_libdir}/
# move psm
mv -v \
libnss3.so libsmime3.so libsoftokn3.so libsoftokn3.chk libssl3.so \
$RPM_BUILD_ROOT%{_libdir}/
# libnssckbi.so must be in both places
cp -v libnssckbi.so $RPM_BUILD_ROOT%{_libdir}/
popd
/bin/rm -f %{builddir}/mozilla-nspr.list
%{SOURCE7} --package nspr --output-file %{builddir}/mozilla-nspr.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir} \
--install-root %{_libdir}
/bin/rm -f %{builddir}/mozilla-nss.list
%{SOURCE7} --package nss --output-file %{builddir}/mozilla-nss.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir} \
--install-root %{_libdir}
# manually add the libnssckbi.so file
echo %{_libdir}/mozilla-%{version}/libnssckbi.so >> %{builddir}/mozilla-nss.list
# build all of the default browser components
# base mozilla package (mozilla.list)
%{SOURCE7} --package langenus --output-file %{builddir}/mozilla.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
%{SOURCE7} --package regus --output-file %{builddir}/mozilla.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
%{SOURCE7} --package deflenus --output-file %{builddir}/mozilla.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
%{SOURCE7} --package xpcom --output-file %{builddir}/mozilla.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version} \
--exclude-file=%{SOURCE18}
%{SOURCE7} --package browser --output-file %{builddir}/mozilla.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version} \
# mozilla mail (mozilla-mail.list)
%{SOURCE7} --package mail --output-file %{builddir}/mozilla-mail.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
# mozilla psm (mozilla-psm.list)
%{SOURCE7} --package psm --output-file %{builddir}/mozilla-psm.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version} \
--exclude-file=%{SOURCE17}
# mozilla chat (mozilla-chat.list)
%{SOURCE7} --package chatzilla --output-file %{builddir}/mozilla-chat.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
# mozilla JS debugger (mozilla-js-debugger.list)
%{SOURCE7} --package venkman --output-file %{builddir}/mozilla-js-debugger.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
# mozilla DOM inspector (mozilla-dom-inspector.list)
%{SOURCE7} --package inspector --output-file %{builddir}/mozilla-dom-inspector.list \
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
--install-dir $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version} \
--install-root %{_libdir}/mozilla-%{version}
# build our initial component and chrome registry
pushd `pwd`
cd $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}
# save a copy of the default installed-chrome.txt file before we
# muck with it
mkdir chrome/lang
cp chrome/installed-chrome.txt chrome/lang/
# register our components
LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` ./regxpcom
# set up the default skin and locale to trigger the generation of
# the user-locales and users-skins.rdf
echo "skin,install,select,classic/1.0" >> chrome/installed-chrome.txt
echo "locale,install,select,en-US" >> chrome/installed-chrome.txt
# save the defaults in a file that will be used later to rebuild the
# installed-chrome.txt file
echo "skin,install,select,classic/1.0" >> chrome/lang/default.txt
echo "locale,install,select,en-US" >> chrome/lang/default.txt
# set up the chrome rdf files
LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` ./regchrome
# fix permissions of the chrome directories
/usr/bin/find . -type d -perm 0700 -exec chmod 755 {} \; || :
popd
# cp -L (dereference all symlinks) is required for fileutils >= 2.0.27
# (POSIX compliance); prior versions don't understand -L, so fall back...
# copy the nss files to the right place
mkdir $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/nss/
/usr/bin/find security/nss/lib/ -name '*.h' -type f -exec /bin/cp {} \
$RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/nss/ \;
# build the list of include files
rm -f %{builddir}/mozilla-devel.list
rm -f %{builddir}/mozilla-nss-devel.list
rm -f %{builddir}/mozilla-nspr-devel.list
find $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/ -type f | \
sed -e "s,$RPM_BUILD_ROOT,," | \
grep -v "/%{prefix}/include/mozilla-%{version}/nss" | \
grep -v "/%{prefix}/include/mozilla-%{version}/nspr" > \
%{builddir}/mozilla-devel.list
find $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/ -type f | \
sed -e "s,$RPM_BUILD_ROOT,," | \
grep "/%{prefix}/include/mozilla-%{version}/nspr" > \
%{builddir}/mozilla-nspr-devel.list
find $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/ -type f| \
sed -e "s,$RPM_BUILD_ROOT,," | \
grep "/%{prefix}/include/mozilla-%{version}/nss" > \
%{builddir}/mozilla-nss-devel.list
# copy our idl into place
#mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/idl/mozilla-%{version}
#(cd dist/idl ; tar chf - * | \
# (cd $RPM_BUILD_ROOT/%{prefix}/share/idl/mozilla-%{version} ; \
# tar xvf -))
# copy our devel tools
install -c -m 755 dist/bin/xpcshell \
dist/bin/xpidl \
dist/bin/xpt_dump \
dist/bin/xpt_link \
$RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}
# set up our desktop files
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/pixmaps/
/bin/mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Internet
install -c -m 644 %{SOURCE2} %{SOURCE13} %{SOURCE15} \
$RPM_BUILD_ROOT/%{prefix}/share/pixmaps/
install -c -m 644 %{SOURCE4} %{SOURCE12} %{SOURCE14} \
$RPM_BUILD_ROOT/etc/X11/applnk/Internet
if [ ! -d $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/icons/ ]; then
mkdir -m 755 $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/icons
fi
if [ ! -d $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/plugins/ ]; then
mkdir -m 755 $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/plugins
fi
# our icons are better!
install -c -m 644 %{SOURCE9} $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/icons/
install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/icons/
# install our mozilla.sh file
cat %{SOURCE1} | sed -e 's/MOZILLA_VERSION/%{version}/g' \
-e 's,LIBDIR,%{_libdir},g' > \
$RPM_BUILD_ROOT/usr/bin/mozilla
chmod 755 $RPM_BUILD_ROOT/usr/bin/mozilla
# install our rebuild file
cat %{SOURCE11} | sed -e 's/MOZILLA_VERSION/%{version}/g' \
-e 's,LIBDIR,%{_libdir},g' > \
$RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
chmod 755 \
$RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
# install the defaults fonts for xft
cp %{SOURCE20} $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/defaults/pref/xft.js
# we own /usr/lib/mozilla/plugins which is the version-independent
# place that our plugins can be installed
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/mozilla/plugins
# install the gre.conf file
#echo [%{version}] > \
# $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/gre.conf
#echo GRE_PATH=%{_libdir}/mozilla-%{version} >> \
# $RPM_BUILD_ROOT/%{_libdir}/mozilla-%{version}/gre.conf
echo [%{version}] > \
$RPM_BUILD_ROOT/etc/gre.conf
echo GRE_PATH=%{_libdir}/mozilla-%{version} >> \
$RPM_BUILD_ROOT/etc/gre.conf
%clean
/bin/rm -rf $RPM_BUILD_ROOT
%post
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun
/sbin/ldconfig >/dev/null 2>/dev/null
# was this an upgrade?
if [ "$1" == "2" ]; then
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
fi
%triggerpostun -- mozilla < 1.0
# Older packages will leave mozilla unusable after the postun script
# script is run for the old package. Rebuild the databases after that
# has been run.
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%preun
# is a final removal?
if [ "$1" == "0" ]; then
/bin/rm -rf %{_libdir}/mozilla-%{version}/chrome/overlayinfo
/bin/rm -f %{_libdir}/mozilla-%{version}/chrome/*.rdf
fi
%post nspr
/sbin/ldconfig >/dev/null 2>/dev/null
%postun nspr
/sbin/ldconfig >/dev/null 2>/dev/null
%post nss
/sbin/ldconfig >/dev/null 2>/dev/null
%postun nss
/sbin/ldconfig >/dev/null 2>/dev/null
%post mail
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun mail
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%post psm
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun psm
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%post chat
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun chat
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%post js-debugger
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun js-debugger
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%post dom-inspector
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%postun dom-inspector
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null
if [ -f %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
fi
%files -f mozilla.list
%defattr(-,root,root)
%{prefix}/bin/mozilla
%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl
/etc/gre.conf
%{prefix}/share/pixmaps/mozilla-icon.png
%{prefix}/share/pixmaps/mozilla-mail-icon.gif
%{prefix}/share/pixmaps/mozilla-compose-icon.gif
%{_libdir}/mozilla-%{version}/defaults/pref/xft.js
%verify (not md5 mtime size) %{_libdir}/mozilla-%{version}/components/compreg.dat
%verify (not md5 mtime size) %{_libdir}/mozilla-%{version}/components/xpti.dat
%dir %{_libdir}/mozilla/plugins
%dir %{_libdir}/mozilla-%{version}/defaults/pref
%dir %{_libdir}/mozilla-%{version}/defaults/profile/US
%dir %{_libdir}/mozilla-%{version}/defaults/profile
%dir %{_libdir}/mozilla-%{version}/defaults/wallet
%dir %{_libdir}/mozilla-%{version}/defaults/autoconfig
%dir %{_libdir}/mozilla-%{version}/defaults/messenger/US
%dir %{_libdir}/mozilla-%{version}/defaults/messenger
%dir %{_libdir}/mozilla-%{version}/defaults
%dir %{_libdir}/mozilla-%{version}/chrome/icons/default
%dir %{_libdir}/mozilla-%{version}/chrome/icons
%dir %{_libdir}/mozilla-%{version}/chrome/lang
%dir %{_libdir}/mozilla-%{version}/chrome
%dir %{_libdir}/mozilla-%{version}/res/builtin
%dir %{_libdir}/mozilla-%{version}/res/rdf
%dir %{_libdir}/mozilla-%{version}/res/dtd
%dir %{_libdir}/mozilla-%{version}/res/fonts
%dir %{_libdir}/mozilla-%{version}/res
%dir %{_libdir}/mozilla-%{version}/components
%dir %{_libdir}/mozilla-%{version}/icons
%dir %{_libdir}/mozilla-%{version}/searchplugins
%dir %{_libdir}/mozilla-%{version}/plugins
%dir %{_libdir}/mozilla-%{version}/res/html
%dir %{_libdir}/mozilla-%{version}/res/samples
%dir %{_libdir}/mozilla-%{version}/res/entityTables
%dir %{_libdir}/mozilla-%{version}
%{_libdir}/mozilla-%{version}/chrome/lang/installed-chrome.txt
%{_libdir}/mozilla-%{version}/chrome/lang/default.txt
/etc/X11/applnk/Internet/mozilla.desktop
%files nspr -f mozilla-nspr.list
%defattr(-,root,root)
%files nspr-devel -f mozilla-nspr-devel.list
%defattr(-,root,root)
%{_libdir}/pkgconfig/*
%{prefix}/bin/mozilla-config
%files nss -f mozilla-nss.list
%defattr(-,root,root)
%files nss-devel -f mozilla-nss-devel.list
%defattr(-,root,root)
%files mail -f mozilla-mail.list
%defattr(-,root,root)
%dir %{_libdir}/mozilla-%{version}/chrome/icons/default
%dir %{_libdir}/mozilla-%{version}/chrome/icons
%dir %{_libdir}/mozilla-%{version}/chrome
%dir %{_libdir}/mozilla-%{version}/components
%dir %{_libdir}/mozilla-%{version}
/etc/X11/applnk/Internet/mozilla-mail.desktop
/etc/X11/applnk/Internet/mozilla-compose.desktop
%files psm -f mozilla-psm.list
%defattr(-,root,root)
%files chat -f mozilla-chat.list
%defattr(-,root,root)
%files js-debugger -f mozilla-js-debugger.list
%defattr(-,root,root)
%files dom-inspector -f mozilla-dom-inspector.list
%defattr(-,root,root)
%files devel -f mozilla-devel.list
%defattr(-,root,root)
%{prefix}/share/idl/mozilla-%{version}/*
%{_libdir}/mozilla-%{version}/xpcshell
%{_libdir}/mozilla-%{version}/xpidl
%{_libdir}/mozilla-%{version}/xpt_dump
%{_libdir}/mozilla-%{version}/xpt_link
%changelog