mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-04 14:34:48 +08:00
Restored lost files and changes in version 1.3.1 to depot.
This commit is contained in:
@@ -1,39 +1,40 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="synergy.css" media="screen" />
|
||||
<title>Building and Installing Synergy</title>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
|
||||
<meta name="keywords" content="Virtual Screen, Open Source, Software" />
|
||||
<meta name="description" content="Mouse and Keyboard Sharing" />
|
||||
<link rel="stylesheet" type="text/css" href="synergy.css" media="screen" />
|
||||
<title>Building and Installing Synergy</title>
|
||||
</head>
|
||||
<body class="main">
|
||||
<h3>Prerequisites for building</h3>
|
||||
<p>
|
||||
</p><h3>Prerequisites for building</h3><p>
|
||||
</p><p>
|
||||
To build synergy from the sources you'll need the following:
|
||||
|
||||
<ul>
|
||||
<li>Windows
|
||||
<ul>
|
||||
<li>VC++ 6.0 or up
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>VC++ 6.0 or up
|
||||
</ul>
|
||||
</p><p>
|
||||
<li>Unix
|
||||
<ul>
|
||||
<li>gcc 2.95 or up
|
||||
<li>X11R4 or up headers and libraries
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>gcc 2.95 or up
|
||||
<li>X11R4 or up headers and libraries
|
||||
</ul>
|
||||
</p><p>
|
||||
<li>Mac OS X
|
||||
<ul>
|
||||
<li>XCode; or gcc 2.95 or up
|
||||
<li>Carbon development headers and libraries
|
||||
</ul>
|
||||
<ul>
|
||||
<li>XCode; or gcc 2.95 or up
|
||||
<li>Carbon development headers and libraries
|
||||
</ul>
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
<h3>Configuring the build</h3>
|
||||
<p>
|
||||
</p><p>
|
||||
</p><h3>Configuring the build</h3><p>
|
||||
</p><p>
|
||||
This step is not necessary when using VC++ or XCode.
|
||||
</p>
|
||||
<p>
|
||||
</p><p>
|
||||
To configure the build for your platform use the configure script:
|
||||
<pre>
|
||||
./configure
|
||||
@@ -47,80 +48,73 @@ On Solaris you may need to use:
|
||||
<nobr>./configure --x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib</nobr>
|
||||
</pre>
|
||||
so synergy can find the X11 includes and libraries.
|
||||
</p>
|
||||
|
||||
<h3>Building</h3>
|
||||
</p><p>
|
||||
</p><h3>Building</h3><p>
|
||||
<ul>
|
||||
<li>Windows
|
||||
<p>
|
||||
</p><p>
|
||||
Start VC++ and open <span class="code">synergy.dsw</span>. Set the
|
||||
active configuration (Build > Set Active Configuration) to
|
||||
<span class="code">All - Debug</span> or <span class="code">All -
|
||||
Release</span> then build. Binaries are built into
|
||||
<span class="code">./debug</span> or <span class="code">./build</span>.
|
||||
</p>
|
||||
|
||||
</p><p>
|
||||
<li>Unix or Mac OS X without XCode
|
||||
<p>
|
||||
</p><p>
|
||||
Simply enter:
|
||||
<pre>
|
||||
make
|
||||
</pre>
|
||||
This will build the client and server and leave them in their
|
||||
respective source directories.
|
||||
</p>
|
||||
|
||||
</p><p>
|
||||
<li>Mac OS X with XCode
|
||||
<p>
|
||||
</p><p>
|
||||
Start XCode and open the <span class="code">synergy.xcode</span>
|
||||
project. Build the <span class="code">all</span> project using
|
||||
the <span class="code">Deployment</span> flavor.
|
||||
</p>
|
||||
|
||||
</p><p>
|
||||
</ul>
|
||||
|
||||
<h3>Installing</h3>
|
||||
</p><p>
|
||||
</p><h3>Installing</h3><p>
|
||||
<ul>
|
||||
<li>Windows
|
||||
<p>
|
||||
You'll need <a href="http://nsis.sourceforge.net/">NSIS</a>, the
|
||||
</p><p>
|
||||
You'll need <a target="_top" href="http://nsis.sourceforge.net/">NSIS</a>, the
|
||||
Nullsoft Scriptable Install System. Build <span class="code">All -
|
||||
Release</span> then build <span class="code">Installer - Release</span>.
|
||||
This creates <span class="code">SynergyInstaller.exe</span> in the
|
||||
<span class="code">build</span> directory. Run this to install synergy.
|
||||
</p>
|
||||
<p>
|
||||
</p><p>
|
||||
Alternatively, you can simply copy the following files from the
|
||||
<span class="code">debug</span> or <span class="code">build</span>
|
||||
directory to a directory you choose (perhaps under the
|
||||
<span class="code">Program Files</span> directory):
|
||||
|
||||
<ul class="code">
|
||||
<li>synergy.exe
|
||||
<li>synergyc.exe
|
||||
<li>synergys.exe
|
||||
<li>synrgyhk.dll
|
||||
</ul>
|
||||
</p>
|
||||
|
||||
</p><p>
|
||||
<li>Unix or Mac OS X without XCode
|
||||
<p>
|
||||
</p><p>
|
||||
<pre>
|
||||
make install
|
||||
</pre>
|
||||
will install the client and server into
|
||||
<span class="code">/usr/local/bin</span> unless you
|
||||
specified a different directory when you ran configure.
|
||||
</p>
|
||||
|
||||
</p><p>
|
||||
<li>Mac OS X with XCode
|
||||
<p>
|
||||
</p><p>
|
||||
Copy the following files from ./build to a convenient location:
|
||||
|
||||
</p><p>
|
||||
<ul class="code">
|
||||
<li>synergyc
|
||||
<li>synergys
|
||||
</ul>
|
||||
</p>
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user