Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505978 - x11-misc/synergy-1.4.17_p2055 version bump
Summary: x11-misc/synergy-1.4.17_p2055 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2014-03-27 16:13 UTC by José María Fernández González
Modified: 2014-05-06 15:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
synergy-1.4.17_p2055.ebuild (synergy-1.4.17_p2055.ebuild,2.16 KB, text/plain)
2014-03-27 16:14 UTC, José María Fernández González
Details
synergy-1.4.17_p2055-cryptopp.patch (synergy-1.4.17_p2055-cryptopp.patch,3.59 KB, patch)
2014-03-27 16:15 UTC, José María Fernández González
Details | Diff
Patch to disable tests based on gmock and gtest (synergy-1.4.17_p2055-notest.patch,458 bytes, patch)
2014-03-27 16:16 UTC, José María Fernández González
Details | Diff
Patch for pthread flag (inherited from previous ebuilds) (synergy-1.4.17_p2055-pthread.patch,350 bytes, patch)
2014-03-27 16:17 UTC, José María Fernández González
Details | Diff
Patch to fix an ancient bug (synergy-1.4.17_p2055-nulljobbuildup.patch,399 bytes, patch)
2014-03-27 16:18 UTC, José María Fernández González
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description José María Fernández González 2014-03-27 16:13:12 UTC
Synergy 1.4.17 was published several days ago. As the sources have evolved, and it needs new patches, this ebuild is an evolution from the previous one for 1.4.16

Tested in amd64

Reproducible: Always
Comment 1 José María Fernández González 2014-03-27 16:14:17 UTC
Created attachment 373640 [details]
synergy-1.4.17_p2055.ebuild
Comment 2 José María Fernández González 2014-03-27 16:15:28 UTC
Created attachment 373642 [details, diff]
synergy-1.4.17_p2055-cryptopp.patch
Comment 3 José María Fernández González 2014-03-27 16:16:21 UTC
Created attachment 373644 [details, diff]
Patch to disable tests based on gmock and gtest
Comment 4 José María Fernández González 2014-03-27 16:17:01 UTC
Created attachment 373646 [details, diff]
Patch for pthread flag (inherited from previous ebuilds)
Comment 5 José María Fernández González 2014-03-27 16:18:44 UTC
Created attachment 373648 [details, diff]
Patch to fix an ancient bug

The bug fixed by this patch is very ancient, and you realize about it after several days running synergy, as the usability degrades over time due an internal leak
Comment 6 José María Fernández González 2014-03-27 16:21:25 UTC
(In reply to José María Fernández González from comment #5)

The documented issue which is fixed by this patch

http://synergy-foss.org/spit/issues/details/2935/
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 01:09:52 UTC
Comment on attachment 373640 [details]
synergy-1.4.17_p2055.ebuild

--- synergy-1.4.16_p1969.ebuild 2014-03-01 19:37:11.000000000 +0100
+++ -   2014-05-06 03:09:34.674699343 +0200
@@ -17,6 +17,9 @@
 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
 IUSE="qt4"
+# These deps are not needed once we disable tests
+#      >=dev-cpp/gmock-1.6.0
+#      >=dev-cpp/gtest-1.6.0
 COMMON_DEPEND="
        >=dev-libs/crypto++-5.6.2
        x11-libs/libICE
@@ -41,8 +44,10 @@
 "
 PATCHES=(
-       "${FILESDIR}/${PN}-1.4.15-cryptopp.patch"
-       "${FILESDIR}/${PN}-1.4.16_p1969-pthread.patch"
+       "${FILESDIR}/${PN}-${PVR}-cryptopp.patch"
+       "${FILESDIR}/${PN}-${PVR}-notest.patch"
+       "${FILESDIR}/${PN}-${PVR}-pthread.patch"
+       "${FILESDIR}/${PN}-${PVR}-nulljobbuildup.patch"
 )
 S=${WORKDIR}/${P/_p*/}-Source
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 01:15:46 UTC
Comment on attachment 373648 [details, diff]
Patch to fix an ancient bug

Please send that upstream.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 01:16:10 UTC
Comment on attachment 373644 [details, diff]
Patch to disable tests based on gmock and gtest

Why would we want to disable tests?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 01:17:17 UTC
Comment on attachment 373646 [details, diff]
Patch for pthread flag (inherited from previous ebuilds)

The old patch applies quite nicely.
Comment 11 José María Fernández González 2014-05-06 09:54:07 UTC
(In reply to Jeroen Roovers from comment #8)
> Comment on attachment 373648 [details, diff] [details, diff]
> Patch to fix an ancient bug
> 
> Please send that upstream.

As you can read at the upstream bug report (link in comment #6), the bug and the patch are known by upstream since more than two years. Maybe synergy ebuild should use epatch_user, so this or another patches for bugs still not fixed upstream can be applied without modifying the ebuild.
Comment 12 José María Fernández González 2014-05-06 09:57:08 UTC
(In reply to Jeroen Roovers from comment #9)
> Comment on attachment 373644 [details, diff] [details, diff]
> Patch to disable tests based on gmock and gtest
> 
> Why would we want to disable tests?

I tried to create a patch in order to use gmock and gtest Gentoo libraries, instead of the included ones, with no success
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 15:11:11 UTC
(In reply to José María Fernández González from comment #11)
> Maybe synergy ebuild should use epatch_user, so this or another patches for
> bugs still not fixed upstream can be applied without modifying the ebuild.

It should have already. Since src_prepare() isn't defined, it might be doing it already since it relies on two eclasses which do define it.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-06 15:20:38 UTC
I have added that patch and made sure epatch_user gets run, without a revision bump.