synergy: project has moved from synergy.googlecode.com
PATCH 1/1 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.
--- meta-oe/recipes-support/synergy/synergy_git.bb | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-oe/recipes-support/synergy/synergy_git.bb
meta-oe/recipes-support/synergy/synergy_git.bb new file +33 -0
@@ -0,0 +1,33 @@ +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 = "libx11 libxtst libxinerama" + +SRC_URI = "git://github.com/synergy/synergy.git;protocol=http" + +# HEAD +SRCREV_pn-synergy ?= "${AUTOREV}" + +# Version 1.7.4-rc8 +SRCREV_pn-synergy ?= "c734bab59ecb7703605e01438e6bff4338b5cb34" + +S = "${WORKDIR}/git" + +inherit cmake + +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/ +}
Signature · 1 line
2.1.0
Martin Jansa
NAKQuoted 9 lines · Rudolf J Streif
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.
Quoted 5 lines
Signed-off-by Rudolf J Streif <[email protected]>--- meta-oe/recipes-support/synergy/synergy_git.bb | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-oe/recipes-support/synergy/synergy_git.bb
Remove meta-openembedded/meta-oe/recipes-support/synergy/synergy_1.3.8.bb in the same commit.
meta-oe/recipes-support/synergy/synergy_git.bb line 3
Quoted 10 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +3
-0@@ -0,0 +1,33 @@ +SUMMARY = "Synergy - control multiple computers with one keyboard and mouse" +HOMEPAGE = "http://synergy-project.org" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0f366945b209c5523e39889f636af00a"
Add comment in commit message explaining why license checksum is different in this version.
meta-oe/recipes-support/synergy/synergy_git.bb line 7
Quoted 4 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +4
-0+LICENSE = "GPL-2.0" +SECTION = "x11/utils" + +DEPENDS = "libx11 libxtst libxinerama"
Why did you drop virtual from libx11?
DEPENDS = "virtual/libx11 libxtst libxinerama"
meta-oe/recipes-support/synergy/synergy_git.bb line 12
Quoted 5 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +5
-0+ +SRC_URI = "git://github.com/synergy/synergy.git;protocol=http" + +# HEAD +SRCREV_pn-synergy ?= "${AUTOREV}"
NAK
meta-oe/recipes-support/synergy/synergy_git.bb line 15
Quoted 3 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +3
-0+ +# Version 1.7.4-rc8 +SRCREV_pn-synergy ?= "c734bab59ecb7703605e01438e6bff4338b5cb34"
Drop "_pn-synergy ?"
normal assignment is enough
Set PV "1.7.3+1.7.4-rc8+${SRCPV}"
meta-oe/recipes-support/synergy/synergy_git.bb line 19
Quoted 4 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +4
-0+ +S = "${WORKDIR}/git" + +inherit cmake
What happened with distro_features_check from original recipe?
inherit cmake distro_features_check
# depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11"
Quoted 22 lines
meta-oe/recipes-support/synergy/synergy_git.bb new file +14
-0+ +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/ +}Signature · 7 lines
2.1.0 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
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.
Removed the synergy_1.3.8.bb recipe.
--- 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(-) delete mode 100644 meta-oe/recipes-support/synergy/synergy_1.3.8.bb create mode 100644 meta-oe/recipes-support/synergy/synergy_git.bb
meta- renamed from meta-oe/recipes-support/synergy/synergy_1.3.8.bb +0 -0
oe/recipes-support/synergy/synergy_1.3.8.bb
deleted file mode 100644
index 545f9fa..0000000
meta-oe/recipes-support/synergy/synergy_1.3.8.bb deleted +0 -12
@@ -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/
-}
-
meta-oe/recipes- renamed from meta-oe/recipes-support/synergy/synergy_git.bb +0 -0
support/synergy/synergy_git.bb
new file mode 100644
index 0000000..cb842c8
meta-oe/recipes-support/synergy/synergy_git.bb new file +34 -0
@@ -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/ +}
Signature · 1 line
2.1.0
Quoted 3 lines
Remove meta-openembedded/meta-oe/recipes-support/synergy/synergy_1.3.8.bb n the same commit.
Done.
Quoted 3 lines
Add comment in commit message explaining why license checksum is different in this version.
Done. Authors apparently. added their copyright on top of the GPLv2 license text.
Quoted 3 lines
Why did you drop virtual from libx11?
DEPENDS = "virtual/libx11 libxtst libxinerama"
I accidentally based my recipe on an older version of synergy_1.3.8.bb. Sorry.
Quoted 8 lines
Review
Quoted 6 lines
(quoted diff) +5
-0+ +SRC_URI = "git://github.com/synergy/synergy.git;protocol=http" + +# HEAD +SRCREV_pn-synergy ?= "${AUTOREV}"NAK
removed
Quoted 7 lines
Review
Quoted 4 lines
(quoted diff) +3
-0+ +# Version 1.7.4-rc8 +SRCREV_pn-synergy ?= "c734bab59ecb7703605e01438e6bff4338b5cb34"Drop "_pn-synergy ?"
done
Quoted 4 lines
normal assignment is enough
Set PV "1.7.3+1.7.4-rc8+${SRCPV}"
done
Quoted 7 lines
Review
Quoted 4 lines
(quoted diff) +4
-0+ +S = "${WORKDIR}/git" + +inherit cmakeWhat happened with
distro_features_checkfrom original recipe?
I accidentally based my recipe on an older version of synergy_1.3.8.bb. Sorry.