зеркало из https://github.com/mozilla/gecko-dev.git
Updating rpm build files. Not part of the build.
This commit is contained in:
Родитель
7bbdf27692
Коммит
b870f2d915
Двоичные данные
build/package/rpm/SOURCES/migrate-icon.gif
Двоичные данные
build/package/rpm/SOURCES/migrate-icon.gif
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 135 B |
|
@ -1,11 +0,0 @@
|
|||
--- mozilla/layout/html/base/src/nsBlockFrame.cpp.alpha-compiler Mon Jan 1 23:56:52 2001
|
||||
+++ mozilla/layout/html/base/src/nsBlockFrame.cpp Mon Jan 1 23:57:44 2001
|
||||
@@ -563,7 +563,7 @@
|
||||
#define BRS_COMPUTEMAXWIDTH 0x00000400
|
||||
#define BRS_LASTFLAG BRS_COMPUTEMAXWIDTH
|
||||
|
||||
- PRInt16 mFlags;
|
||||
+ PRInt32 mFlags;
|
||||
|
||||
void SetFlag(PRUint32 aFlag, PRBool aValue)
|
||||
{
|
|
@ -0,0 +1,14 @@
|
|||
--- 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: ">
|
|
@ -1,77 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# check our arguments
|
||||
|
||||
LIST_FILE=$1
|
||||
PACKAGE_FILE=$2
|
||||
TARGET_DIR=$3
|
||||
SRC_DIR=$4
|
||||
DIR_NAME=$5
|
||||
|
||||
if [ -z "$LIST_FILE" ]; then
|
||||
echo $0 list-file package-file target-dir src-dir
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$PACKAGE_FILE" ]; then
|
||||
echo $0 list-file package-file target-dir src-dir
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$TARGET_DIR" ]; then
|
||||
echo $0 list-file package-file target-dir src-dir
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$SRC_DIR" ]; then
|
||||
echo $0 list-file package-file target-dir src-dir
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$DIR_NAME" ]; then
|
||||
echo $0 list-file package-file target-dir src-dir
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$LIST_FILE" ]; then
|
||||
echo $0 list file not found
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$TARGET_DIR" ]; then
|
||||
echo $0 target dir not found
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d "$SRC_DIR" ]; then
|
||||
echo $0 src dir not found
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# try to figure out if we should be using cp -Lr or cp -r
|
||||
|
||||
touch /tmp/foo-copy-package
|
||||
cp -L /tmp/foo-copy-package /tmp/foo-copy-package2 2>/dev/null >/dev/null
|
||||
if [ "$?" -ne "0" ]; then
|
||||
COPY="cp"
|
||||
else
|
||||
COPY="cp -L"
|
||||
fi
|
||||
|
||||
rm -f /tmp/foo-copy-package /tmp/foo-copy-package2
|
||||
|
||||
# OK, do our file copy
|
||||
|
||||
cd $SRC_DIR
|
||||
|
||||
for i in `cat $LIST_FILE`
|
||||
do
|
||||
$COPY -vrP ${i} ${TARGET_DIR}
|
||||
if [ "$?" -ne "0" ]; then
|
||||
echo "Copy of $i to $TARGET_DIR failed!"
|
||||
else
|
||||
echo ${DIR_NAME}/${i} >> $PACKAGE_FILE
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
--- 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
|
|
@ -1 +1,6 @@
|
|||
bin/mozilla-xremote-client
|
||||
libgkgfx.so
|
||||
libjsj.so
|
||||
libmozjs.so
|
||||
libgtkembedmoz.so
|
||||
libgtksuperwin.so
|
||||
libgtkxtbin.so
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Mozilla
|
||||
Comment=Mozilla
|
||||
Exec=/usr/bin/mozilla %u
|
||||
Icon=mozilla-icon.png
|
||||
Terminal=0
|
||||
Type=Application
|
|
@ -28,25 +28,25 @@ use File::Find;
|
|||
use strict;
|
||||
|
||||
# global vars
|
||||
my $srcdir = "";
|
||||
my $install_dir = "";
|
||||
my $install_root = "";
|
||||
my $package_name = "";
|
||||
my $package_file = "";
|
||||
my $output_file = "";
|
||||
my $exclude_file = "";
|
||||
my $shared_pass;
|
||||
my $retval;
|
||||
|
||||
# std return val
|
||||
|
||||
$retval = GetOptions('source=s', \$srcdir,
|
||||
$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,
|
||||
'shared!', \$shared_pass);
|
||||
'exclude-file=s', \$exclude_file);
|
||||
|
||||
# make sure that all of the values are specific on the command line
|
||||
if (!$retval || !$srcdir || !$package_name ||
|
||||
if (!$retval || !$install_dir || !$install_root || !$package_name ||
|
||||
!$package_file || !$output_file) {
|
||||
print_usage();
|
||||
exit 1;
|
||||
|
@ -56,8 +56,8 @@ if (!$retval || !$srcdir || !$package_name ||
|
|||
|
||||
open (PACKAGE_FILE, $package_file) || die("$0: Failed to open file $package_file for reading.");
|
||||
|
||||
print "chdir to $srcdir\n";
|
||||
chdir($srcdir);
|
||||
print "chdir to $install_dir\n";
|
||||
chdir($install_dir);
|
||||
|
||||
my @file_list;
|
||||
my @exclude_list;
|
||||
|
@ -133,20 +133,12 @@ foreach (@final_file_list) {
|
|||
# strip off the bin/
|
||||
s/^bin\///;
|
||||
|
||||
# if it's a shared library and we're doing a shared pass print it.
|
||||
# otherwise ignore it.
|
||||
my $is_shared_library = 0;
|
||||
$is_shared_library = /^[a-zA-Z0-9]+\.so$/;
|
||||
if ($shared_pass && $is_shared_library) {
|
||||
print ("Adding $_\n");
|
||||
print (OUTPUT_FILE $_ . "\n");
|
||||
}
|
||||
elsif (!$shared_pass && !$is_shared_library) {
|
||||
print ("Adding $_\n");
|
||||
print (OUTPUT_FILE $_ . "\n");
|
||||
if ( ! -f $_ ) {
|
||||
print("Skipping $_ because it doesn't exist\n");
|
||||
}
|
||||
else {
|
||||
print("Ignoring $_\n");
|
||||
print ("Adding $_\n");
|
||||
print (OUTPUT_FILE $install_root . "/" . $_ . "\n");
|
||||
}
|
||||
}
|
||||
close OUTPUT_FILE;
|
||||
|
@ -164,12 +156,16 @@ sub expand_file_list {
|
|||
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)) {
|
||||
|
@ -202,10 +198,10 @@ sub in_exclude_list {
|
|||
# print out a usage message
|
||||
|
||||
sub print_usage {
|
||||
print ("$0: --source dir --package name --package-file file --output-file file [--shared]\n");
|
||||
print ("\t source is the source directory where the files can be found.\n");
|
||||
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");
|
||||
print ("\t shared pulls out only the shared libraries\n");
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- mozilla/xpfe/browser/resources/content/navigatorOverlay.xul.debug Thu Feb 21 15:18:58 2002
|
||||
+++ mozilla/xpfe/browser/resources/content/navigatorOverlay.xul Thu Feb 21 15:19:31 2002
|
||||
@@ -351,133 +351,6 @@
|
||||
--- mozilla/xpfe/browser/resources/content/navigatorOverlay.xul.foo Tue Jul 23 14:43:07 2002
|
||||
+++ mozilla/xpfe/browser/resources/content/navigatorOverlay.xul Tue Jul 23 14:44:43 2002
|
||||
@@ -363,133 +363,6 @@
|
||||
|
||||
<menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
- </menu>
|
||||
-
|
||||
- <menu id="qaMenu" accesskey="Q" label="QA">
|
||||
- <menupopup>
|
||||
- <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/');"/>
|
||||
-
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
--- mozilla/xpfe/components/prefwindow/resources/content/preftree.xul.debug Wed Jan 16 13:15:13 2002
|
||||
+++ mozilla/xpfe/components/prefwindow/resources/content/preftree.xul Wed Jan 16 13:15:29 2002
|
||||
@@ -151,24 +151,6 @@
|
||||
</outlinerchildren>
|
||||
</outlineritem>
|
||||
--- 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>
|
||||
|
||||
- <outlineritem container="true" id="debugItem">
|
||||
- <outlinerrow>
|
||||
- <outlinercell url="chrome://communicator/content/pref/pref-debug.xul" label="&debug.label;"/>
|
||||
- </outlinerrow>
|
||||
- <outlinerchildren id="debugChildren">
|
||||
- <outlineritem>
|
||||
- <outlinerrow>
|
||||
- <outlinercell url="chrome://communicator/content/pref/pref-debug1.xul" label="&debug1.label;"/>
|
||||
- </outlinerrow>
|
||||
- </outlineritem>
|
||||
- <outlineritem>
|
||||
- <outlinerrow>
|
||||
- <outlinercell url="chrome://communicator/content/pref/pref-debug2.xul" label="&debug2.label;"/>
|
||||
- </outlinerrow>
|
||||
- </outlineritem>
|
||||
- </outlinerchildren>
|
||||
- </outlineritem>
|
||||
- <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>
|
||||
-
|
||||
<outlineritem id="offlineItem">
|
||||
<outlinerrow>
|
||||
<outlinercell url="chrome://communicator/content/pref/pref-offline.xul" label="&offline.label;"/>
|
||||
<treeitem id="offlineItem">
|
||||
<treerow>
|
||||
<treecell url="chrome://communicator/content/pref/pref-offline.xul" label="&offline.label;"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- mozilla/modules/libpref/src/unix/unix.js.psfoo Thu Feb 21 15:58:23 2002
|
||||
+++ mozilla/modules/libpref/src/unix/unix.js Thu Feb 21 16:00:22 2002
|
||||
@@ -344,8 +344,10 @@
|
||||
--- 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", "");
|
||||
|
@ -13,3 +13,16 @@
|
|||
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.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
bin/libnssckbi.so
|
||||
bin/libnss3.so
|
||||
bin/libsmime3.so
|
||||
bin/libsoftokn3.so
|
||||
bin/libssl3.so
|
||||
libnss3.so
|
||||
libsmime3.so
|
||||
libsoftokn3.so
|
||||
libssl3.so
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
use File::Path;
|
||||
use POSIX ":sys_wait_h";
|
||||
|
||||
$timeout = 60;
|
||||
|
||||
%{ENV}->{"MOZILLA_FIVE_HOME"}="/usr/lib/mozilla-MOZILLA_VERSION";
|
||||
%{ENV}->{"LD_LIBRARY_PATH"}="/usr/lib/mozilla-MOZILLA_VERSION";
|
||||
|
||||
umask 022;
|
||||
|
||||
if ( -f "/usr/lib/mozilla-MOZILLA_VERSION/regxpcom" )
|
||||
{
|
||||
# remove all of the old files
|
||||
rmtree("/usr/lib/mozilla-MOZILLA_VERSION/chrome/overlayinfo");
|
||||
unlink </usr/lib/mozilla-MOZILLA_VERSION/chrome/*.rdf>;
|
||||
unlink("/usr/lib/mozilla-MOZILLA_VERSION/component.reg");
|
||||
unlink("/usr/lib/mozilla-MOZILLA_VERSION/components/compreg.dat");
|
||||
unlink("/usr/lib/mozilla-MOZILLA_VERSION/components/xpti.dat");
|
||||
|
||||
# crate a new clean path
|
||||
mkpath("/usr/lib/mozilla-MOZILLA_VERSION/chrome/overlayinfo");
|
||||
|
||||
# run regxpcom
|
||||
$pid = fork();
|
||||
|
||||
# I am the child.
|
||||
if ($pid == 0) {
|
||||
exec("/usr/lib/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);
|
||||
}
|
||||
}
|
||||
|
||||
# and run regchrome for good measure
|
||||
$pid = fork();
|
||||
|
||||
# I am the child.
|
||||
if ($pid == 0) {
|
||||
exec("/usr/lib/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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
<!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/devnet" ADD_DATE="994787868">Red Hat Developer Network</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://hardware.redhat.com/redhatready/cgi-bin/us/db-hcl.cgi" ADD_DATE="994788088" LAST_VISIT="994788380" LAST_CHARSET="ISO-8859-1">Red Hat Hardware Compatibility Search</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>
|
|
@ -1,24 +0,0 @@
|
|||
--- mozilla/xpfe/browser/resources/locale/en-US/region.properties.home-page Fri Sep 7 12:43:36 2001
|
||||
+++ mozilla/xpfe/browser/resources/locale/en-US/region.properties Fri Sep 7 12:44:24 2001
|
||||
@@ -1,5 +1,5 @@
|
||||
# navigator.properties
|
||||
-homePageDefault=http://www.mozilla.org/
|
||||
+homePageDefault=file:///usr/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/doc/HTML/index.html
|
||||
browser.throbber.url=http://www.mozilla.org/
|
||||
browser.search.defaulturl=http://search.netscape.com/cgi-bin/search?search=
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
|
||||
#config.js
|
||||
#
|
||||
-startup.homepage_override_url=http://www.mozilla.org/start
|
||||
+startup.homepage_override_url=file:///usr/doc/HTML/index.html
|
|
@ -1,5 +1,5 @@
|
|||
--- mozilla/xpfe/browser/resources/locale/en-US/region.properties.home-page Fri Sep 7 12:43:36 2001
|
||||
+++ mozilla/xpfe/browser/resources/locale/en-US/region.properties Fri Sep 7 12:44:24 2001
|
||||
--- mozilla/xpfe/browser/resources/locale/en-US/region.properties.foo Wed Jul 10 10:45:55 2002
|
||||
+++ mozilla/xpfe/browser/resources/locale/en-US/region.properties Wed Jul 10 10:46:35 2002
|
||||
@@ -1,5 +1,5 @@
|
||||
# navigator.properties
|
||||
-homePageDefault=http://www.mozilla.org/
|
||||
|
@ -11,14 +11,8 @@
|
|||
#
|
||||
# all.js
|
||||
#
|
||||
-browser.startup.homepage=http://www.mozilla.org/start
|
||||
-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=
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
|
||||
#config.js
|
||||
#
|
||||
-startup.homepage_override_url=http://www.mozilla.org/start
|
||||
+startup.homepage_override_url=file:///usr/share/doc/HTML/index.html
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
bin/libnspr4.so
|
||||
bin/libplc4.so
|
||||
bin/libplds4.so
|
||||
libnspr4.so
|
||||
libplc4.so
|
||||
libplds4.so
|
||||
libxpcom.so
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Mozilla
|
||||
Comment=Mozilla
|
||||
Comment=Web Browser
|
||||
Exec=/usr/bin/mozilla
|
||||
Icon=mozilla-icon.png
|
||||
Terminal=0
|
||||
|
|
|
@ -39,14 +39,14 @@ ulimit -c 0
|
|||
##
|
||||
## Variables
|
||||
##
|
||||
MOZ_DIST_BIN="/usr/lib/mozilla"
|
||||
MOZ_PROGRAM="/usr/lib/mozilla/mozilla-bin"
|
||||
MOZ_CLIENT_PROGRAM="/usr/bin/mozilla-xremote-client"
|
||||
MOZ_DIST_BIN="/usr/lib/mozilla-MOZILLA_VERSION"
|
||||
MOZ_PROGRAM="/usr/lib/mozilla-MOZILLA_VERSION/mozilla-bin"
|
||||
MOZ_CLIENT_PROGRAM="/usr/lib/mozilla-MOZILLA_VERSION/mozilla-xremote-client"
|
||||
|
||||
##
|
||||
## Set MOZILLA_FIVE_HOME
|
||||
##
|
||||
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
|
||||
MOZILLA_FIVE_HOME="/usr/lib/mozilla-MOZILLA_VERSION"
|
||||
|
||||
export MOZILLA_FIVE_HOME
|
||||
|
||||
|
@ -55,13 +55,19 @@ export MOZILLA_FIVE_HOME
|
|||
##
|
||||
if [ "$LD_LIBRARY_PATH" ]
|
||||
then
|
||||
LD_LIBRARY_PATH=/usr/lib/mozilla:/usr/lib/mozilla/plugins:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=/usr/lib/mozilla-MOZILLA_VERSION:/usr/lib/mozilla-MOZILLA_VERSION/plugins:$LD_LIBRARY_PATH
|
||||
else
|
||||
LD_LIBRARY_PATH=/usr/lib/mozilla:/usr/lib/mozilla/plugins
|
||||
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
|
||||
##
|
||||
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
|
||||
export MOZ_PLUGIN_PATH
|
||||
|
||||
##
|
||||
## Set FONTCONFIG_PATH for Xft/fontconfig
|
||||
##
|
||||
|
@ -72,18 +78,27 @@ export FONTCONFIG_PATH
|
|||
|
||||
function set_jvm_vars() {
|
||||
|
||||
if [ ! -L /usr/lib/mozilla/plugins/libjavaplugin_oji.so ]; then
|
||||
return;
|
||||
# see if the jvm exists in either of the locations
|
||||
if [ -L /usr/lib/mozilla-MOZILLA_VERSION/plugins/libjavaplugin_oji.so ]; then
|
||||
JVM_ORIG_LINK=/usr/lib/mozilla-MOZILLA_VERSION/plugins/libjavaplugin_oji.so
|
||||
fi
|
||||
|
||||
JVM_LINK=`perl -e 'print readlink("/usr/lib/mozilla/plugins/libjavaplugin_oji.so")'`
|
||||
if [ -L /usr/lib/mozilla/plugins/libjavaplugin_oji.so ]; then
|
||||
JVM_ORIG_LINK=/usr/lib/mozilla/plugins/libjavaplugin_oji.so
|
||||
fi
|
||||
|
||||
if [ -z "$JVM_ORIG_LINK" ]; then
|
||||
return;
|
||||
fi
|
||||
|
||||
JVM_LINK=`perl -e "print readlink('$JVM_ORIG_LINK')"`
|
||||
|
||||
# is it relative? if so append the full path
|
||||
|
||||
echo "${JVM_LINK}" | grep -e "^/" 2>&1 > /dev/null
|
||||
|
||||
if [ "$?" -ne "0" ]; then
|
||||
JVM_LINK=/usr/lib/mozilla/plugins/${JVM_LINK}
|
||||
JVM_LINK=/usr/lib/mozilla-MOZILLA_VERSION/plugins/${JVM_LINK}
|
||||
fi
|
||||
|
||||
JVM_BASE=`basename $JVM_LINK`
|
|
@ -1,18 +1,17 @@
|
|||
Name: mozilla
|
||||
Summary: Web browser and mail reader
|
||||
Version: VERSION
|
||||
Release: 0_rh7
|
||||
Version: VERSION_REPLACE
|
||||
Release: RELEASE_REPLACE
|
||||
Serial: 35
|
||||
Copyright: MPL
|
||||
Source0: mozilla-source-VERSION.tar.gz
|
||||
Source1: mozilla.sh
|
||||
Source0: mozilla-source-RELEASE_REPLACE.tar.gz
|
||||
Source1: mozilla.sh.in
|
||||
Source2: mozilla-icon.png
|
||||
Source4: mozilla.desktop
|
||||
Source7: mozilla-make-package.pl
|
||||
Source8: mozilla-copy-package-files.sh
|
||||
Source9: mozicon16.xpm
|
||||
Source10: mozicon50.xpm
|
||||
Source11: rebuild-databases.sh
|
||||
Source11: mozilla-rebuild-databases.pl.in
|
||||
Source12: mozilla-mail.desktop
|
||||
Source13: mozilla-mail-icon.gif
|
||||
Source14: mozilla-compose.desktop
|
||||
|
@ -20,23 +19,24 @@ Source15: mozilla-compose-icon.gif
|
|||
Source16: mozilla-exclude-list
|
||||
Source17: mozilla-psm-exclude-list
|
||||
Source18: mozilla-xpcom-exclude-list
|
||||
Source19: mozilla-redhat-default-bookmarks.html
|
||||
Patch0: mozilla-navigator-overlay-menu.patch
|
||||
Patch1: mozilla-editor-overlay-menu.patch
|
||||
Patch6: mozilla-prefs-debug.patch
|
||||
Patch7: mozilla-redhat-home-page.patch
|
||||
Patch8: mozilla-redhat-mail-home-page.patch
|
||||
Patch10: mozilla-redhat-home-page-6.2.patch
|
||||
Patch11: mozilla-taskbar-nomozilla.patch
|
||||
Patch12: mozilla-psfonts-7.2.patch
|
||||
Patch13: mozilla-nspr-packages.patch
|
||||
Patch14: mozilla-default-plugin-less-annoying.patch
|
||||
Patch17: mozilla-buildid-title.patch
|
||||
Buildroot: /var/tmp/mozilla-root
|
||||
Prefix: /usr
|
||||
Group: Applications/Internet
|
||||
Provides: webclient
|
||||
BuildPrereq: libpng-devel, libjpeg-devel, zlib-devel, zip, perl, autoconf, indexhtml, ORBit-devel, glib-devel, gtk+-devel
|
||||
ExcludeArch: ia64
|
||||
Prereq: fileutils
|
||||
Requires: perl mozilla-nspr = %{version}-%{release}
|
||||
Prereq: fileutils perl
|
||||
Requires: mozilla-nspr = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Mozilla is an open-source web browser, designed for standards
|
||||
|
@ -45,6 +45,7 @@ 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
|
||||
|
@ -146,14 +147,8 @@ development or web page development.
|
|||
%patch6 -p1
|
||||
%patch6 -p1 -R
|
||||
|
||||
# is it a RH 7.0 system?
|
||||
if [ -f /usr/share/doc/HTML/index.html ]; then
|
||||
%patch7 -p1
|
||||
%patch7 -p1 -R
|
||||
else
|
||||
%patch10 -p1
|
||||
%patch10 -p1 -R
|
||||
fi
|
||||
|
||||
%patch8 -p1
|
||||
%patch8 -p1 -R
|
||||
|
@ -166,6 +161,17 @@ fi
|
|||
|
||||
%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
|
||||
|
||||
# set up our default bookmarks
|
||||
#/bin/cp %{SOURCE19} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html
|
||||
|
||||
%build
|
||||
|
||||
if [ -x /usr/bin/getconf ]; then
|
||||
|
@ -176,9 +182,10 @@ if test "x$CPUS" = "x" -o "x$CPUS" = "x0"; then
|
|||
fi
|
||||
|
||||
# build mozilla
|
||||
BUILD_OFFICIAL=1 ./configure --prefix=%{_prefix} --enable-optimize \
|
||||
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 \
|
||||
./configure --prefix=%{_prefix} --enable-optimize \
|
||||
--disable-debug \
|
||||
--with-default-mozilla-five-home=/usr/lib/mozilla \
|
||||
--with-default-mozilla-five-home=/usr/lib/mozilla-%{version} \
|
||||
--enable-strip-libs \
|
||||
--disable-tests \
|
||||
--disable-short-wchar \
|
||||
|
@ -191,185 +198,124 @@ BUILD_OFFICIAL=1 ./configure --prefix=%{_prefix} --enable-optimize \
|
|||
--with-system-zlib \
|
||||
--disable-freetype2
|
||||
|
||||
#BUILD_OFFICIAL=1 make -s export
|
||||
#BUILD_OFFICIAL=1 make -j$CPUS -s libs
|
||||
BUILD_OFFICIAL=1 make -s
|
||||
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
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/lib/mozilla
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/bin
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/include/mozilla
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/include/nspr
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/include/nss
|
||||
/bin/mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/idl/mozilla
|
||||
|
||||
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
|
||||
|
||||
# NSS and NSPR are both installed into /usr/lib instead of
|
||||
# /usr/lib/mozilla-VERSION
|
||||
|
||||
pushd .
|
||||
cd $RPM_BUILD_ROOT/usr/lib/mozilla-%{version}
|
||||
# copy nspr
|
||||
mv -v \
|
||||
libnspr4.so libplc4.so libplds4.so \
|
||||
$RPM_BUILD_ROOT/usr/lib/
|
||||
|
||||
# copy nss
|
||||
mv -v \
|
||||
libnss3.so libsmime3.so libsoftokn3.so libssl3.so \
|
||||
$RPM_BUILD_ROOT/usr/lib/
|
||||
|
||||
# copy system libs
|
||||
mv -v \
|
||||
libgkgfx.so libjsj.so libmozjs.so libxpcom.so \
|
||||
libgtkembedmoz.so libgtksuperwin.so libgtkxtbin.so \
|
||||
$RPM_BUILD_ROOT/usr/lib/
|
||||
|
||||
# libnssckbi.so must be in both places
|
||||
cp -v libnssckbi.so $RPM_BUILD_ROOT/usr/lib/
|
||||
popd
|
||||
|
||||
/bin/rm -f /tmp/mozilla-nspr.list
|
||||
/bin/rm -f /tmp/mozilla-nspr.list.shared
|
||||
/bin/rm -f /tmp/mozilla-nspr.package
|
||||
%{SOURCE7} --package nspr --output-file /tmp/mozilla-nspr.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package nspr --output-file /tmp/mozilla-nspr.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist -shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib \
|
||||
--install-root /usr/lib
|
||||
|
||||
/bin/rm -f /tmp/mozilla-nss.list
|
||||
/bin/rm -f /tmp/mozilla-nss.list.shared
|
||||
/bin/rm -f /tmp/mozilla-nss.package
|
||||
%{SOURCE7} --package nss --output-file /tmp/mozilla-nss.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package nss --output-file /tmp/mozilla-nss.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist -shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib \
|
||||
--install-root /usr/lib
|
||||
|
||||
# manually add the libnssckbi.so file
|
||||
echo /usr/lib/mozilla-%{version}/libnssckbi.so >> /tmp/mozilla-nss.list
|
||||
|
||||
# build all of the default browser components
|
||||
/bin/rm -f /tmp/mozilla.list
|
||||
/bin/rm -f /tmp/mozilla.list.shared
|
||||
/bin/rm -f /tmp/mozilla.package
|
||||
%{SOURCE7} --package langenus --output-file /tmp/mozilla.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package langenus --output-file /tmp/mozilla.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist -shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
%{SOURCE7} --package regus --output-file /tmp/mozilla.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package regus --output-file /tmp/mozilla.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
%{SOURCE7} --package deflenus --output-file /tmp/mozilla.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package deflenus --output-file /tmp/mozilla.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
%{SOURCE7} --package xpcom --output-file /tmp/mozilla.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist \
|
||||
--exclude-file=%{SOURCE18}
|
||||
%{SOURCE7} --package xpcom --output-file /tmp/mozilla.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared \
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version} \
|
||||
--exclude-file=%{SOURCE18}
|
||||
|
||||
%{SOURCE7} --package browser --output-file /tmp/mozilla.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist \
|
||||
--exclude-file=%{SOURCE16}
|
||||
%{SOURCE7} --package browser --output-file /tmp/mozilla.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared \
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version} \
|
||||
--exclude-file=%{SOURCE16}
|
||||
|
||||
/bin/rm -f /tmp/mozilla-mail.list
|
||||
/bin/rm -f /tmp/mozilla-mail.list.shared
|
||||
/bin/rm -f /tmp/mozilla-mail.package
|
||||
%{SOURCE7} --package mail --output-file /tmp/mozilla-mail.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package mail --output-file /tmp/mozilla-mail.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
/bin/rm -f /tmp/mozilla-psm.list
|
||||
/bin/rm -f /tmp/mozilla-psm.list.shared
|
||||
/bin/rm -f /tmp/mozilla-psm.package
|
||||
%{SOURCE7} --package psm --output-file /tmp/mozilla-psm.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist \
|
||||
--exclude-file=%{SOURCE17}
|
||||
|
||||
# libnssckbi.so needs to be in /usr/lib/mozilla and in /usr/lib so
|
||||
# that it can ebe loaded by both mozilla and lame programs that don't
|
||||
# know about MOZILLA_FIVE_HOME
|
||||
|
||||
echo libnssckbi.so >> /tmp/mozilla-psm.list
|
||||
|
||||
# manually add the nss libraries
|
||||
# I'll add these back in later when they are actual shared libraries
|
||||
#echo libnss3.so >> /tmp/mozilla-psm.list.shared
|
||||
#echo libsmime3.so >> /tmp/mozilla-psm.list.shared
|
||||
#echo libssl3.so >> /tmp/mozilla-psm.list.shared
|
||||
|
||||
%{SOURCE7} --package psm --output-file /tmp/mozilla-psm.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared \
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version} \
|
||||
--exclude-file=%{SOURCE17}
|
||||
|
||||
/bin/rm -f /tmp/mozilla-chat.list
|
||||
/bin/rm -f /tmp/mozilla-chat.list.shared
|
||||
/bin/rm -f /tmp/mozilla-chat.package
|
||||
%{SOURCE7} --package chatzilla --output-file /tmp/mozilla-chat.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package chatzilla --output-file /tmp/mozilla-chat.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
/bin/rm -f /tmp/mozilla-js-debugger.list
|
||||
/bin/rm -f /tmp/mozilla-js-debugger.list.shared
|
||||
/bin/rm -f /tmp/mozilla-js-debugger.package
|
||||
%{SOURCE7} --package venkman --output-file /tmp/mozilla-js-debugger.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package venkman \
|
||||
--output-file /tmp/mozilla-js-debugger.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
/bin/rm -f /tmp/mozilla-dom-inspector.list
|
||||
/bin/rm -f /tmp/mozilla-dom-inspector.list.shared
|
||||
/bin/rm -f /tmp/mozilla-dom-inspector.package
|
||||
%{SOURCE7} --package inspector --output-file /tmp/mozilla-dom-inspector.list \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist
|
||||
%{SOURCE7} --package inspector \
|
||||
--output-file /tmp/mozilla-dom-inspector.list.shared \
|
||||
--package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
|
||||
--source $RPM_BUILD_DIR/mozilla/dist --shared
|
||||
|
||||
# copy all of the files
|
||||
%{SOURCE8} /tmp/mozilla-nspr.list /tmp/mozilla-nspr.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-nspr.list.shared /tmp/mozilla-nspr.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-nss.list /tmp/mozilla-nss.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-nss.list.shared /tmp/mozilla-nss.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla.list /tmp/mozilla.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla.list.shared /tmp/mozilla.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
--install-dir $RPM_BUILD_ROOT/usr/lib/mozilla-%{version} \
|
||||
--install-root /usr/lib/mozilla-%{version}
|
||||
|
||||
# build our initial component and chrome registry
|
||||
# we don't need to do this anymore
|
||||
|
||||
pushd `pwd`
|
||||
cd $RPM_BUILD_ROOT/%{prefix}/lib/mozilla
|
||||
cd $RPM_BUILD_ROOT/%{prefix}/lib/mozilla-%{version}
|
||||
# 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
|
||||
|
@ -382,127 +328,110 @@ pushd `pwd`
|
|||
/usr/bin/find . -type d -perm 0700 -exec chmod 755 {} \; || :
|
||||
popd
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-mail.list /tmp/mozilla-mail.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-mail.list.shared /tmp/mozilla-mail.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-psm.list /tmp/mozilla-psm.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-psm.list.shared /tmp/mozilla-psm.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-chat.list /tmp/mozilla-chat.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-chat.list.shared /tmp/mozilla-chat.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-js-debugger.list /tmp/mozilla-js-debugger.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-js-debugger.list.shared \
|
||||
/tmp/mozilla-js-debugger.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
%{SOURCE8} /tmp/mozilla-dom-inspector.list /tmp/mozilla-dom-inspector.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/mozilla \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib/mozilla
|
||||
%{SOURCE8} /tmp/mozilla-dom-inspector.list.shared \
|
||||
/tmp/mozilla-dom-inspector.package \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib \
|
||||
$RPM_BUILD_DIR/mozilla/dist/bin \
|
||||
%{prefix}/lib
|
||||
|
||||
# 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/nss/ \;
|
||||
$RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/nss/ \;
|
||||
|
||||
# copy the nspr files to the right place
|
||||
/bin/cp -rL dist/include/nspr/* \
|
||||
$RPM_BUILD_ROOT/%{prefix}/include/nspr/ || \
|
||||
/bin/cp -r dist/include/nspr/* \
|
||||
$RPM_BUILD_ROOT/%{prefix}/include/nspr/
|
||||
# build the list of include files
|
||||
rm -f /tmp/mozilla-devel.list
|
||||
rm -f /tmp/mozilla-nss-devel.list
|
||||
rm -f /tmp/mozilla-nspr-devel.list
|
||||
|
||||
# make sure to remove nspr so we don't get two copies of it
|
||||
#/bin/rm -rf dist/include/nspr
|
||||
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" > \
|
||||
/tmp/mozilla-devel.list
|
||||
|
||||
# copy include and idl files
|
||||
/bin/cp -rL dist/include/* $RPM_BUILD_ROOT/%{prefix}/include/mozilla || \
|
||||
/bin/cp -r dist/include/* $RPM_BUILD_ROOT/%{prefix}/include/mozilla
|
||||
find $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/ -type f | \
|
||||
sed -e "s,$RPM_BUILD_ROOT,," | \
|
||||
grep "/%{prefix}/include/mozilla-%{version}/nspr" > \
|
||||
/tmp/mozilla-nspr-devel.list
|
||||
|
||||
/bin/cp -rL dist/idl/* $RPM_BUILD_ROOT/%{prefix}/share/idl/mozilla || \
|
||||
/bin/cp -r dist/idl/* $RPM_BUILD_ROOT/%{prefix}/share/idl/mozilla
|
||||
find $RPM_BUILD_ROOT/%{prefix}/include/mozilla-%{version}/ -type f| \
|
||||
sed -e "s,$RPM_BUILD_ROOT,," | \
|
||||
grep "/%{prefix}/include/mozilla-%{version}/nss" > \
|
||||
/tmp/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
|
||||
/bin/cp -rL dist/bin/xpcshell $RPM_BUILD_ROOT/%{prefix}/bin/ || \
|
||||
/bin/cp -r dist/bin/xpcshell $RPM_BUILD_ROOT/%{prefix}/bin/
|
||||
|
||||
/bin/cp -rL dist/bin/xpidl $RPM_BUILD_ROOT/%{prefix}/bin/ || \
|
||||
/bin/cp -r dist/bin/xpidl $RPM_BUILD_ROOT/%{prefix}/bin/
|
||||
|
||||
/bin/cp -rL dist/bin/xpt_dump $RPM_BUILD_ROOT/%{prefix}/bin/ || \
|
||||
/bin/cp -r dist/bin/xpt_dump $RPM_BUILD_ROOT/%{prefix}/bin/
|
||||
|
||||
/bin/cp -rL dist/bin/xpt_link $RPM_BUILD_ROOT/%{prefix}/bin/ || \
|
||||
/bin/cp -r dist/bin/xpt_link $RPM_BUILD_ROOT/%{prefix}/bin/
|
||||
|
||||
install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{prefix}/bin/mozilla
|
||||
install -c -m 755 %{SOURCE11} $RPM_BUILD_ROOT/%{prefix}/lib/mozilla/
|
||||
|
||||
# put mozilla-xremote-client into the standard path
|
||||
/bin/cp $RPM_BUILD_DIR/mozilla/dist/bin/mozilla-xremote-client \
|
||||
$RPM_BUILD_ROOT/%{prefix}/bin
|
||||
install -c -m 755 dist/bin/xpcshell \
|
||||
dist/bin/xpidl \
|
||||
dist/bin/xpt_dump \
|
||||
dist/bin/xpt_link \
|
||||
$RPM_BUILD_ROOT/%{prefix}/lib/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
|
||||
|
||||
/bin/cp %{SOURCE2} %{SOURCE13} %{SOURCE15} \
|
||||
install -c -m 644 %{SOURCE2} %{SOURCE13} %{SOURCE15} \
|
||||
$RPM_BUILD_ROOT/%{prefix}/share/pixmaps/
|
||||
|
||||
/bin/cp %{SOURCE4} %{SOURCE12} %{SOURCE14} \
|
||||
install -c -m 644 %{SOURCE4} %{SOURCE12} %{SOURCE14} \
|
||||
$RPM_BUILD_ROOT/etc/X11/applnk/Internet
|
||||
|
||||
# our icons are better!
|
||||
/bin/cp %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/mozilla/icons/
|
||||
/bin/cp %{SOURCE10} $RPM_BUILD_ROOT/usr/lib/mozilla/icons/
|
||||
install -c -m 644 %{SOURCE9} $RPM_BUILD_ROOT/usr/lib/mozilla-%{version}/icons/
|
||||
install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT/usr/lib/mozilla-%{version}/icons/
|
||||
|
||||
# install our mozilla.sh file
|
||||
cat %{SOURCE1} | sed -e 's/MOZILLA_VERSION/%{version}/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' > \
|
||||
$RPM_BUILD_ROOT/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
|
||||
chmod 755 \
|
||||
$RPM_BUILD_ROOT/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
|
||||
%clean
|
||||
/bin/rm -rf $RPM_BUILD_ROOT
|
||||
#/bin/rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/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 /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/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 /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%preun
|
||||
/bin/rm -rf /usr/lib/mozilla/chrome/overlayinfo
|
||||
/bin/rm -f /usr/lib/mozilla/chrome/*.rdf
|
||||
# is a final removal?
|
||||
if [ "$1" == "0" ]; then
|
||||
/bin/rm -rf /usr/lib/mozilla/chrome/overlayinfo
|
||||
/bin/rm -f /usr/lib/mozilla/chrome/*.rdf
|
||||
fi
|
||||
|
||||
%post nspr
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
@ -519,8 +448,8 @@ fi
|
|||
%post mail
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%postun mail
|
||||
|
@ -528,357 +457,167 @@ fi
|
|||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%post psm
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%postun psm
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%post chat
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%postun chat
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%post js-debugger
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%postun js-debugger
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%post dom-inspector
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%postun dom-inspector
|
||||
# run ldconfig before regxpcom
|
||||
/sbin/ldconfig >/dev/null 2>/dev/null
|
||||
|
||||
if [ -f /usr/lib/mozilla/rebuild-databases.sh ]; then
|
||||
/usr/lib/mozilla/rebuild-databases.sh
|
||||
if [ -f /usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl ]; then
|
||||
/usr/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
fi
|
||||
|
||||
%files -f /tmp/mozilla.package
|
||||
%files -f /tmp/mozilla.list
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/bin/mozilla
|
||||
%{prefix}/bin/mozilla-xremote-client
|
||||
%{prefix}/lib/mozilla/rebuild-databases.sh
|
||||
%{prefix}/lib/mozilla-%{version}/mozilla-rebuild-databases.pl
|
||||
%{prefix}/share/pixmaps/mozilla-icon.png
|
||||
%{prefix}/share/pixmaps/mozilla-mail-icon.gif
|
||||
%{prefix}/share/pixmaps/mozilla-compose-icon.gif
|
||||
|
||||
%verify (not md5 mtime size) %{prefix}/lib/mozilla/component.reg
|
||||
%verify (not md5 mtime size) %{prefix}/lib/mozilla/components/xpti.dat
|
||||
%{prefix}/lib/libgkgfx.so
|
||||
%{prefix}/lib/libjsj.so
|
||||
%{prefix}/lib/libmozjs.so
|
||||
%{prefix}/lib/libxpcom.so
|
||||
%{prefix}/lib/libgtkembedmoz.so
|
||||
%{prefix}/lib/libgtksuperwin.so
|
||||
%{prefix}/lib/libgtkxtbin.so
|
||||
|
||||
%dir %{prefix}/lib/mozilla/defaults/pref
|
||||
%dir %{prefix}/lib/mozilla/defaults/profile
|
||||
%dir %{prefix}/lib/mozilla/defaults/wallet
|
||||
%dir %{prefix}/lib/mozilla/defaults
|
||||
%dir %{prefix}/lib/mozilla/chrome
|
||||
%dir %{prefix}/lib/mozilla/components
|
||||
%dir %{prefix}/lib/mozilla/res/builtin
|
||||
%dir %{prefix}/lib/mozilla/res/rdf
|
||||
%dir %{prefix}/lib/mozilla/res
|
||||
%dir %{prefix}/lib/mozilla/icons
|
||||
%dir %{prefix}/lib/mozilla/defaults/profile/US
|
||||
%dir %{prefix}/lib/mozilla/searchplugins
|
||||
%verify (not md5 mtime size) %{prefix}/lib/mozilla-%{version}/components/compreg.dat
|
||||
%verify (not md5 mtime size) %{prefix}/lib/mozilla-%{version}/components/xpti.dat
|
||||
|
||||
%dir %{prefix}/lib/mozilla/plugins
|
||||
%dir %{prefix}/lib/mozilla/res/html
|
||||
%dir %{prefix}/lib/mozilla/res/samples
|
||||
%dir %{prefix}/lib/mozilla/res/entityTables
|
||||
%dir %{prefix}/lib/mozilla-%{version}/defaults/pref
|
||||
%dir %{prefix}/lib/mozilla-%{version}/defaults/profile
|
||||
%dir %{prefix}/lib/mozilla-%{version}/defaults/wallet
|
||||
%dir %{prefix}/lib/mozilla-%{version}/defaults
|
||||
%dir %{prefix}/lib/mozilla-%{version}/chrome
|
||||
%dir %{prefix}/lib/mozilla-%{version}/components
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res/builtin
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res/rdf
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res
|
||||
%dir %{prefix}/lib/mozilla-%{version}/icons
|
||||
%dir %{prefix}/lib/mozilla-%{version}/defaults/profile/US
|
||||
%dir %{prefix}/lib/mozilla-%{version}/searchplugins
|
||||
|
||||
%dir %{prefix}/lib/mozilla-%{version}/plugins
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res/html
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res/samples
|
||||
%dir %{prefix}/lib/mozilla-%{version}/res/entityTables
|
||||
|
||||
/etc/X11/applnk/Internet/mozilla.desktop
|
||||
|
||||
%files nspr -f /tmp/mozilla-nspr.package
|
||||
%files nspr -f /tmp/mozilla-nspr.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files nspr-devel
|
||||
%files nspr-devel -f /tmp/mozilla-nspr-devel.list
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/nspr/*
|
||||
%{prefix}/lib/pkgconfig/*
|
||||
%{prefix}/bin/mozilla-config
|
||||
|
||||
%files nss -f /tmp/mozilla-nss.package
|
||||
%files nss -f /tmp/mozilla-nss.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files nss-devel
|
||||
%files nss-devel -f /tmp/mozilla-nss-devel.list
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/nss/*
|
||||
|
||||
%files mail -f /tmp/mozilla-mail.package
|
||||
%files mail -f /tmp/mozilla-mail.list
|
||||
%defattr(-,root,root)
|
||||
/etc/X11/applnk/Internet/mozilla-mail.desktop
|
||||
/etc/X11/applnk/Internet/mozilla-compose.desktop
|
||||
|
||||
%files psm -f /tmp/mozilla-psm.package
|
||||
%files psm -f /tmp/mozilla-psm.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files chat -f /tmp/mozilla-chat.package
|
||||
%files chat -f /tmp/mozilla-chat.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files js-debugger -f /tmp/mozilla-js-debugger.package
|
||||
%files js-debugger -f /tmp/mozilla-js-debugger.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files dom-inspector -f /tmp/mozilla-dom-inspector.package
|
||||
%files dom-inspector -f /tmp/mozilla-dom-inspector.list
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files devel
|
||||
%files devel -f /tmp/mozilla-devel.list
|
||||
%defattr(-,root,root)
|
||||
%dir %{prefix}/include/mozilla
|
||||
%{prefix}/include/mozilla/*
|
||||
%{prefix}/share/idl/mozilla/*
|
||||
%{prefix}/bin/xpcshell
|
||||
%{prefix}/bin/xpidl
|
||||
%{prefix}/bin/xpt_dump
|
||||
%{prefix}/bin/xpt_link
|
||||
%{prefix}/share/idl/mozilla-%{version}/*
|
||||
%{prefix}/lib/mozilla-%{version}/xpcshell
|
||||
%{prefix}/lib/mozilla-%{version}/xpidl
|
||||
%{prefix}/lib/mozilla-%{version}/xpt_dump
|
||||
%{prefix}/lib/mozilla-%{version}/xpt_link
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Use system zlib in configure line.
|
||||
* Wed Jul 10 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Use the components/*.dat files instead of component.reg both in
|
||||
rebuild-databases.pl and in packaging.
|
||||
|
||||
* Fri Mar 08 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Fix ordering of defattr in new -devel packages so that we don't end
|
||||
up with files with bad permissions.
|
||||
* Mon Jul 1 2002 Chris Blizzard <blizzard@redhat.com>
|
||||
- Move libs into the system that need to be there
|
||||
|
||||
* Fri Feb 22 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add --disable-freetype2 so that we don't build the freetype code.
|
||||
* Tue Jun 25 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Change mozilla-rebuild-databases.pl to remove compreg.dat as well as
|
||||
component.reg.
|
||||
|
||||
* Sat Dec 29 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add mozilla-xremote-client to the package in /usr/bin
|
||||
* Sun Jun 23 2002 Chris Blizzard <blizzard@redhat.com>
|
||||
- Move nspr + nss back into /usr/lib
|
||||
|
||||
* Fri Dec 14 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add DOM Inspector package.
|
||||
|
||||
* Thu Nov 01 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add JS debugger package.
|
||||
|
||||
* Sun Sep 16 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add mail and compose .desktop entries.
|
||||
- Fix launcher script to handle all of the much improved xremote code.
|
||||
|
||||
* Sun Aug 05 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove alpha compiler patch.
|
||||
|
||||
* Sun Jul 08 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- add --shared to the deflenus package section so that things don't
|
||||
end up in /usr/lib/defaults
|
||||
- We now require perl so that we can figure out what java version is
|
||||
installed on the machine.
|
||||
- Add verify options to three files that change when you install.
|
||||
|
||||
* Mon Jun 04 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Fix problems with the default SSL CA list not being loaded. This
|
||||
would cause certificate warnings on sites that would normally have a
|
||||
recognized certificate authority. This was fixed by putting
|
||||
libnssckbi.so into /usr/lib/mozilla instead of /usr/lib.
|
||||
- Use --enable-crypto instead of a second build with
|
||||
BUILD_MODULES=psm2
|
||||
|
||||
* Wed May 16 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add missing --shared on the second pass of the chatzilla package.
|
||||
|
||||
* Sat Apr 28 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add script to do all the db rebuilds for us.
|
||||
- Add versioned prereqs
|
||||
|
||||
* Tue Apr 24 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Move .so libraries that aren't components to /usr/lib
|
||||
- Move devel tools to /usr/bin
|
||||
|
||||
* Wed Apr 18 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add /usr/lib/mozilla/plugins to LD_LIBRARY_PATH in mozilla.sh
|
||||
|
||||
* Thu Mar 29 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add --without-mng to configure lines to avoid picking up the mng
|
||||
library in rawhide.
|
||||
|
||||
* Tue Mar 20 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Ignore the return value of regxpcom and regchrome. They will
|
||||
segfault because of binary incompatible changes during upgrades but
|
||||
the last upgrade bits will always work so we should be OK.
|
||||
|
||||
* Mon Mar 12 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add chatzilla rpms.
|
||||
|
||||
* Wed Mar 07 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add LD_ASSUME_KERNEL hack to mozilla.sh so that the JVM will work.
|
||||
|
||||
* Tue Feb 27 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add missing directories to file sections for mozilla and
|
||||
mozilla-psm.
|
||||
|
||||
* Fri Feb 16 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove requires since we have prereq.
|
||||
|
||||
* Sat Feb 10 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add xpidl compiler + related tools to the devel package.
|
||||
- Check that regxpcom exists in postun sections. There's no ordering
|
||||
guarantee when you uninstall rpms.
|
||||
|
||||
* Mon Feb 05 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Turn of parallel builds again.
|
||||
|
||||
* Sun Jan 28 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Try with parallel builds again.
|
||||
- Use --enable-nspr-autoconf
|
||||
- In the clean section don't delete the building area.
|
||||
|
||||
* Sat Jan 27 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove hacks for installed-chrome.txt and regchrome. They are
|
||||
listed in the packages files now.
|
||||
|
||||
* Thu Jan 18 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add proper prereq for psm, mail and base package
|
||||
- Remove checks for programs before running post and postun
|
||||
|
||||
* Tue Jan 16 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Check the existence of programs before running post and postun
|
||||
scripts for sub-packages.
|
||||
|
||||
* Mon Jan 15 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove mozilla-specific rdf toolbar items
|
||||
|
||||
* Thu Jan 11 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Re-add rm in clean
|
||||
|
||||
* Tue Jan 09 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Change tip serial to 8 and 0.7 release serial to 7. This way we can
|
||||
do upgrades properly.
|
||||
|
||||
* Mon Jan 08 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add explicit paths for rm and mkdir
|
||||
|
||||
* Sat Jan 06 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove patch for -fshort-wchar problems and use
|
||||
--disable-short-wchar until the next compiler release.
|
||||
- Use cooler icons.
|
||||
|
||||
* Tue Jan 02 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add patch to get default home page on 6.2 builds, too.
|
||||
|
||||
* Mon Jan 01 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add patch to point default page at local file system and to point
|
||||
mailnews at about:blank.
|
||||
|
||||
* Mon Jan 01 2001 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add patch to remove debug menu from preferences.
|
||||
|
||||
* Sun Dec 31 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add patch to support building psm on ppc.
|
||||
|
||||
* Fri Dec 29 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add autoconf check for bad -fshort-wchar support in compiler.
|
||||
- Clean up a lot of cruft in the spec file that I don't need anymore.
|
||||
- Make regxpcom generated files non-config so that they aren't saved
|
||||
as .rpmsave files.
|
||||
|
||||
* Thu Dec 28 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Change the sparc patch to support sparc + sparc64.
|
||||
|
||||
* Thu Dec 28 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Don't remove the CVS directories anymore since we're using the
|
||||
package files now.
|
||||
|
||||
* Thu Dec 28 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Breakout psm
|
||||
- Re-add the sparc config patch.
|
||||
|
||||
* Wed Dec 20 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add a bunch of dir entries to make sure that we don't leave a lot of
|
||||
crap behind when we uninstall the rpm.
|
||||
|
||||
* Tue Dec 19 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Finish with mail/news breakout.
|
||||
- Move component registration to package install time instead of at
|
||||
package build time.
|
||||
|
||||
* Wed Dec 13 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Break out mail/news
|
||||
|
||||
* Tue Dec 12 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Remove Debug menus from mail/news, browser and editor.
|
||||
|
||||
* Mon Dec 11 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add new mozilla.sh script that tries to send commands to a running
|
||||
instance first.
|
||||
- Add desktop files and icons.
|
||||
|
||||
* Tue Dec 05 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Build on only one CPU until the parallel build problems are worked
|
||||
out.
|
||||
- Don't try to build on ai64
|
||||
|
||||
* Thu Oct 26 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- Fix build with new fileutils
|
||||
|
||||
* Fri Oct 13 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Move to post M18 builds
|
||||
|
||||
* Mon Oct 2 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- start daily builds - remove the old patches
|
||||
- delete installed directories for chrome since everything
|
||||
is in jar files now.
|
||||
|
||||
* Fri Aug 18 2000 Matt Wilson <msw@redhat.com>
|
||||
- added patch to work around va_arg mess on gcc 2.96
|
||||
|
||||
* Wed Aug 9 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Use official M17 source tarball
|
||||
|
||||
* Tue Aug 8 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Add patch to fix crash when viewing some rgba images
|
||||
- Add patch to fix sign warnings in gtkmozembed.h header
|
||||
|
||||
* Mon Aug 7 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Build M17 official
|
||||
- Add patch to fix crash when viewing some png images
|
||||
- Add patch to fix context menu popup grab behaviour
|
||||
- Add patch to fix focus problems with the file upload widget
|
||||
|
||||
* Thu Jul 27 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Update to M17 snapshot
|
||||
|
||||
* Mon Jul 24 2000 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Update to most recent snapshot
|
||||
- Added chrome rdf hacks
|
||||
|
||||
* Tue Mar 14 2000 Bernhard Rosenkränzer <bero@redhat.com>
|
||||
- initial RPM
|
||||
* Thu Jun 20 2002 Christopher Blizzard <blizzard@redhat.com>
|
||||
- Time for a new changelog.
|
||||
|
|
Загрузка…
Ссылка в новой задаче