glfs/archive/gnome-obsolete/java-access-bridge.xml
Xi Ruoyao 45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00

194 lines
6.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY java-access-bridge-download-http "&gnome-download-http;/java-access-bridge/1.26/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-download-ftp "&gnome-download-ftp;/java-access-bridge/1.26/java-access-bridge-&java-access-bridge-version;.tar.bz2">
<!ENTITY java-access-bridge-md5sum "baeac0a4f26f66996f62ffa88d6cd19e">
<!ENTITY java-access-bridge-size "304 KB">
<!ENTITY java-access-bridge-buildsize "9 MB">
<!ENTITY java-access-bridge-time "1.3 SBU">
]>
<sect1 id="java-access-bridge"
xreflabel="Java Access Bridge-&java-access-bridge-version;">
<?dbhtml filename="java-access-bridge.html"?>
<sect1info>
<date>$Date$</date>
</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
<!-- either --> <xref linkend="openjdk"/> <!-- or <xref linkend="jdk"/> --></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/java-access-bridge"/></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;
chmod -v 644 $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>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gnome-prefix.xml"/>
<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 class='extension'>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>libjava-access-bridge-jni.{so,a}, gnome-java-bridge.jar, and JNav.jar</seg>
<seg><envar>$GNOME_PREFIX</envar>/share/jar</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libjava-access-bridge-jni">
<term><filename class='libraryfile'>libjava-access-bridge-jni.{so,a}</filename></term>
<listitem>
<para>is the JNI interface library.</para>
<indexterm zone="java-access-bridge libjava-access-bridge-jni">
<primary sortas="c-libjava-access-bridge-jni">libjava-access-bridge-jni.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
<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>