[oe-commits] Rudolf J Streif : synergy: project has moved from synergy.googlecode.com

git at git.openembedded.org git at git.openembedded.org
Mon Aug 31 17:17:13 UTC 2015


Module: meta-openembedded.git
Branch: master
Commit: eb3df2a3814c27e7f7a011e36af1efd052ba537a
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=eb3df2a3814c27e7f7a011e36af1efd052ba537a

Author: Rudolf J Streif <rudolf.streif at gmail.com>
Date:   Thu Aug 20 14:46:35 2015 -0700

synergy: project has moved from synergy.googlecode.com

The synergy project on synergy.googlecode.com is defunct. The
sources cannot be downloaded from there anymore. The new project
home is synergy-project.org, but sources can only be downloaded
from ther with a login. The source code repo is on github.com/synergy.

New recipe to check out the code from GitHub. The code contains
zip archives for gmock and gtest, which need to be extracted before
do_configure. The license file has changed from COPYING to LICENSE. The
authors apparently added their copyright information before the GPLv2
license text. Hence, the md5sum is different.

Signed-off-by: Rudolf J Streif <rudolf.streif at gmail.com>

---

 meta-oe/recipes-support/synergy/synergy_1.3.8.bb | 24 -----------------
 meta-oe/recipes-support/synergy/synergy_git.bb   | 34 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 24 deletions(-)

diff --git a/meta-oe/recipes-support/synergy/synergy_1.3.8.bb b/meta-oe/recipes-support/synergy/synergy_1.3.8.bb
deleted file mode 100644
index 545f9fa..0000000
--- a/meta-oe/recipes-support/synergy/synergy_1.3.8.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Synergy - control multiple computers with one keyboard and mouse"
-HOMEPAGE = "http://synergy.googlecode.com"
-LIC_FILES_CHKSUM = "file://COPYING;md5=9772a11e3569985855e2ce450e56f991"
-LICENSE = "GPL-2.0"
-SECTION = "x11/utils"
-
-DEPENDS = "virtual/libx11 libxtst libxinerama"
-
-SRC_URI = "http://synergy.googlecode.com/files/synergy-${PV}-Source.tar.gz"
-
-SRC_URI[md5sum] = "3534c65ecfa6e47d7899c57975442f03"
-SRC_URI[sha256sum] = "0afc83e4ed0b46ed497d4229b2b2854e8d3c581a112f4da05110943edbfacc03"
-
-S = "${WORKDIR}/${BP}-Source"
-
-inherit cmake distro_features_check
-# depends on virtual/libx11
-REQUIRED_DISTRO_FEATURES = "x11"
-
-do_install() {
-    install -d ${D}/usr/bin
-    install -m 0755 ${S}/bin/synergy* ${D}/usr/bin/
-}
-
diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb b/meta-oe/recipes-support/synergy/synergy_git.bb
new file mode 100644
index 0000000..cb842c8
--- /dev/null
+++ b/meta-oe/recipes-support/synergy/synergy_git.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Synergy - control multiple computers with one keyboard and mouse"
+HOMEPAGE = "http://synergy-project.org"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0f366945b209c5523e39889f636af00a"
+LICENSE = "GPL-2.0"
+SECTION = "x11/utils"
+
+DEPENDS = "virtual/libx11 libxtst libxinerama"
+
+# depends on virtual/libx11
+REQUIRED_DISTRO_FEATURES = "x11"
+
+SRC_URI = "git://github.com/synergy/synergy.git;protocol=http"
+
+# Version 1.7.4-rc8
+SRCREV ?= "588fb4b805dd452556d05dbc03fe29ea5b4e43c0"
+PV = "1.7.3+1.7.4-rc8+${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+inherit cmake distro_features_check
+
+do_unpack_extra() {
+    cd ${S}/ext
+    for file in *.zip; do
+        fname="${file##*/}"
+        unzip $file -d ${fname%.*}
+    done
+}
+addtask unpack_extra after do_unpack before do_patch
+
+do_install() {
+    install -d ${D}/usr/bin
+    install -m 0755 ${S}/bin/synergy* ${D}/usr/bin/
+}



More information about the Openembedded-commits mailing list