glfs/gnome/add/java-access-bridge.xml
Manuel Canales Esparcia e7307aa1ca Typo fix. Gnome.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5380 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-12-08 20:29:35 +00:00

179 lines
6.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY java-access-bridge-download-http "http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/1.4/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/1.4/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-md5sum "55530a282c7b9d2634e72361d789378b">
<!ENTITY java-access-bridge-size "120 KB">
<!ENTITY java-access-bridge-buildsize "5.6 MB">
<!ENTITY java-access-bridge-time "0.9 SBU">
]>
<sect1 id="java-access-bridge"
xreflabel="Java Access Bridge-&java-access-bridge-version;">
<?dbhtml filename="java-access-bridge.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">java-access-bridge-&java-access-bridge-version;.tar</keyword>
<keyword role="ftpdir">java-access-bridge</keyword>
</keywordset>
</sect1info>
<title>Java Access Bridge-&java-access-bridge-version;</title>
<indexterm zone="java-access-bridge">
<primary sortas="a-Java-Access-Bridge">Java Access Bridge</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Java Access Bridge</title>
<para>The <application>Java Access Bridge</application> package contains
Java components which connect the built-in accessibility support in Java
Swing applications to the <application>GNOME</application>
Accessibility framework, specifically the Assistive Technology Service
Provider Interface (AT-SPI).</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&java-access-bridge-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&java-access-bridge-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &java-access-bridge-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &java-access-bridge-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &java-access-bridge-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &java-access-bridge-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Java Access Bridge Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="at-spi"/> and <xref linkend="jdk"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Java Access Bridge</title>
<para>Install <application>Java Access Bridge</application> by running the
following commands:</para>
<screen><userinput>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
cat `pkg-config --variable=prefix \
ORBit-2.0`/share/jar/accessibility.properties \
&gt;&gt; $JAVA_HOME/jre/lib/accessibility.properties &amp;&amp;
ln -v -sf `pkg-config --variable=prefix \
ORBit-2.0`/share/jar/gnome-java-bridge.jar \
$JAVA_HOME/jre/lib/ext</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>cat `pkg-config ...</command>: This command appends to (or
creates) the Java runtime <filename>accessibility.properties</filename>
file required for <application>Java Access Bridge</application>.</para>
<para><command>ln -v -sf `pkg-config ...</command>: This command creates
a link from the Access Bridge <filename>jar</filename> file to the Java
runtime library extensions directory.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring Java Access Bridge</title>
<sect3 id="java-access-bridge-config">
<title>Config Files</title>
<para><filename>~/.orbitrc</filename></para>
<indexterm zone="java-access-bridge java-access-bridge-config">
<primary sortas="e-AA.orbitrc">~/.orbitrc</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>Before running a Java program with the <application>Java Access
Bridge</application>, you should ensure that your
<application>GNOME</application> 2 installation enables CORBA traffic
over IP from the <application>ORBit2</application> ORB. Do
this by adding the following line to <filename>~/.orbitrc</filename>
using the following command:</para>
<screen><userinput>cat &gt;&gt; ~/.orbitrc &lt;&lt; "EOF"
<literal>ORBIIOPIPv4=1</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>gnome-java-bridge.jar and JNav.jar</seg>
<seg>$GNOME_PREFIX/share/jar</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gnome-java-bridge">
<term><filename class='libraryfile'>gnome-java-bridge.jar</filename></term>
<listitem>
<para>is a <application>Java</application> runtime environment
extension that connects the built-in accessibility support in
<application>Java Swing</application> applications to the
<application>GNOME</application> Accessibility framework.</para>
<indexterm zone="java-access-bridge gnome-java-bridge">
<primary sortas="c-gnome-java-bridge">gnome-java-bridge.jar</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>