LoginSignup
2
2

More than 5 years have passed since last update.

Stable 版 Synergy の自前ビルド & インストール(Ubuntu 14.04 編)

Posted at

Ubuntu 14.04 のリポジトリには 1.4.12 のバージョンしか無く、
公式の Nightly build には alpha 版しか置いていなかったため
自前でコンパイルしてインストールした時のログ。
基本的には githubにある build 方法 を参考に

apt-get するもの

  • cmake
  • build-essential
  • xorg-dev
  • libqt4-dev
  • libcurl4-openssl-dev
  • libavahi-compat-libdnssd-dev
  • libssl-dev

ソースの取得

$ git clone https://github.com/synergy/synergy

stable 版の tag を探してみる

$ cd synergy
$ git tag | grep stable
v1.7.1-stable
v1.7.2-stable
v1.7.3-stable
v1.7.4-stable

どうやら最新の stable は 1.7.4 らしい。

$ git checkout -b release-1.7.4 v1.7.4-stable

ビルド

synergy は cmake を叩く python スクリプトを利用している。

$ python hm.py conf -g1
$ python hm.py build

deb パッケージ化

$ python hm.py package deb

bin 以下に synergy-release-**-Linux-x86_64.deb が出来ている

インストール

$ sudo deb -i bin/synergy-release-**-Linux-x86_64.deb

注意点など

CMakeLists.txtconfigure があるので、./configure
とかするのかと思いきや、configure の中身は cmake を叩いている
だけ・・・。素直に公式の通りに hm.py を使いませう
また、alpha版でも気にしない方は Nightly build を使う方が楽かと思います。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2