зеркало из https://github.com/mozilla/pjs.git
xmlterm changes only (not part of the default build).
Removed stand-alone "geckoterm" from the default xmlterm build because it tends to be unstable.
This commit is contained in:
Родитель
8132295f30
Коммит
c4b2dc482b
|
@ -5,7 +5,7 @@ INSTALL: Installation instructions for XMLterm source code
|
|||
|
||||
*NOTE* Check the XMLterm web site <http://xmlterm.org> for updates.
|
||||
|
||||
7 Mar 2000
|
||||
15 Mar 2000
|
||||
|
||||
QUICK BUILD INSTRUCTIONS (Linux/Solaris)
|
||||
----------------------------------------
|
||||
|
@ -153,29 +153,7 @@ your shell initialization file (.profile/.cshrc). This will enable you to use
|
|||
commands such as "xmlterm", "xls", and "xcat" easily.
|
||||
|
||||
|
||||
6. Using the lightweight "geckoterm" stand-alone program
|
||||
--------------------------------------------------------
|
||||
|
||||
Step 3 also creates an executable called "geckoterm" in the "mozilla/dist/bin"
|
||||
directory. This is a lightweight program implementing XMLterm using the Gecko
|
||||
layout engine only, without the added baggage of the full browser. To use it,
|
||||
type the following command in the "mozilla/dist/bin" directory:
|
||||
|
||||
./run-mozilla.sh geckoterm
|
||||
|
||||
This will create an XMLterm window. Click on this window to give it focus
|
||||
before typing Unix commands.
|
||||
|
||||
Notes:
|
||||
a) The Mozilla component registry may need to be updated by running
|
||||
xmlterm using mozilla at least once (as in step 4) before trying to
|
||||
run "geckoterm".
|
||||
|
||||
b) At present, the "geckoterm" executable works only with the GTK front
|
||||
end.
|
||||
|
||||
|
||||
7. Stand-alone mode (optional)
|
||||
6. Stand-alone mode (optional)
|
||||
------------------------------
|
||||
|
||||
Although XMLterm resides in the Mozilla source tree, portions of it are
|
||||
|
|
|
@ -56,7 +56,7 @@ DIRS = base tests linetest
|
|||
|
||||
else # not STAND_ALONE
|
||||
|
||||
DIRS = base ui scripts doc tests geckoterm
|
||||
DIRS = base ui scripts doc tests
|
||||
|
||||
LIBRARY_NAME =
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
base --- core source code for XMLterm and LineTerm
|
||||
|
||||
XMLterm may be invoked in one of two ways:
|
||||
1. By loading the URL "chrome://xmlterm/content/xmlterm.html" in mozilla, or
|
||||
1. By loading "-chrome chrome://xmlterm/content/xmlterm.xul" in mozilla, or
|
||||
2. By running the stand-alone executable "../geckoterm/xmlterm".
|
||||
The diagram below shows the control-flow/layering hierarchy for both ways
|
||||
of invoking XMLterm.
|
||||
|
@ -30,8 +30,8 @@ of invoking XMLterm.
|
|||
(pseudo-TTY/shell)
|
||||
|
||||
|
||||
1 Mar 2000
|
||||
===========================================================================
|
||||
15 Mar 2000
|
||||
============================================================================
|
||||
FILES:
|
||||
|
||||
The core source code for XMLterm in this directory consists of two distinct
|
||||
|
|
|
@ -6,7 +6,7 @@ XMLterm installation instructions for Linux binaries
|
|||
*NOTE* This plain text INSTALL file may be out date. Please check
|
||||
<http://xmlterm.org/install.html> for the most recent information.
|
||||
|
||||
7 Mar 2000
|
||||
15 Mar 2000
|
||||
|
||||
1. First obtain the Mozilla Linux binary tar file
|
||||
ftp://ftp.mozilla.org/pub/mozilla/releases/m14/mozilla-i686-pc-linux-gnu-M14.tar.gz"
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
Name: xmlterm
|
||||
Version: M14
|
||||
Release: 1
|
||||
Summary: A graphical command line interface using Mozilla
|
||||
Copyright: Mozilla Public License 1.1
|
||||
Group: User Interface/X
|
||||
Source: http://xmlterm.org/xmlterm-source-Mar7-M14.tar.gz
|
||||
URL: http://xmlterm.org/
|
||||
Vendor: xmlterm.org
|
||||
Packager: R. Saravanan <svn@xmlterm.org>
|
||||
Prefix: /usr/src/redhat/BUILD/package
|
||||
|
||||
AutoReqProv: no
|
||||
|
||||
%description
|
||||
|
||||
XMLterm: A graphical command line interface using Mozilla
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -fr xmlterm.tgz package
|
||||
tar czvhf xmlterm.tgz \
|
||||
-C /home/svn/mozilla/dist/bin \
|
||||
INSTALL.xmlterm xmlterm xcat xls menuhack \
|
||||
components/libxmlterm.so \
|
||||
components/xmlterm.xpt \
|
||||
chrome/xmlterm
|
||||
mkdir package
|
||||
cd package
|
||||
tar zxvf ../xmlterm.tgz
|
||||
|
||||
chown -R root.root .
|
||||
chmod -R a+rX,g-w,o-w .
|
||||
|
||||
%clean
|
||||
rm -fr xmlterm.tgz package
|
||||
|
||||
%pre
|
||||
cd $RPM_INSTALL_PREFIX
|
||||
if [ ! -f run-mozilla.sh ]
|
||||
then
|
||||
echo "*ERROR* Specify the mozilla package directory using the RPM prefix option"
|
||||
echo " rpm --prefix /path/package ..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%post
|
||||
for FILE in xmlterm xcat xls
|
||||
do
|
||||
ln -s $RPM_INSTALL_PREFIX/$FILE /usr/bin/$FILE
|
||||
done
|
||||
|
||||
cd $RPM_INSTALL_PREFIX
|
||||
rm -f component.reg
|
||||
./menuhack
|
||||
|
||||
%postun
|
||||
for FILE in xmlterm xcat xls
|
||||
do
|
||||
rm /usr/bin/$FILE
|
||||
done
|
||||
|
||||
%files
|
||||
|
||||
/usr/src/redhat/BUILD/package/INSTALL.xmlterm
|
||||
/usr/src/redhat/BUILD/package/xmlterm
|
||||
/usr/src/redhat/BUILD/package/xcat
|
||||
/usr/src/redhat/BUILD/package/xls
|
||||
/usr/src/redhat/BUILD/package/menuhack
|
||||
/usr/src/redhat/BUILD/package/components/libxmlterm.so
|
||||
/usr/src/redhat/BUILD/package/components/xmlterm.xpt
|
||||
/usr/src/redhat/BUILD/package/chrome/xmlterm
|
||||
|
||||
%changelog
|
Загрузка…
Ссылка в новой задаче