Please get it into the tree. Looks like ruby support has been split, too. https://rubygems.org/gems/zeroc-ice/versions/3.6.0 So probably the ebuild will become a lot easier :)
Created attachment 407466 [details] Ice-3.6.0.ebuild Please find attached the ebuild I used to install Ice-3.6.0. I did neither test python nor ruby nor mono bindings so these need testing. I am in a hurry right now. As soon as I return back to my computer I gonna attach an ebuild diff file as well.
I assume it's the same with python as with ruby: https://pypi.python.org/pypi/zeroc-ice
Created attachment 407476 [details, diff] Ice-3.6.0.ebuild.diff As promised the ebuild patch. Most stuff is untested and might even be no longer needed as mrueg mentioned.
Created attachment 423536 [details, diff] Ice-3.6.1.ebuild.patch with php bindings Updated the patch to version 3.6.1 and added php bindings based on the patches provided in bug 236264
Created attachment 423540 [details, diff] Patch for metadata.xml that adds the php_namespaces USE flag Almost forgot this
Created attachment 424156 [details, diff] Ice-3.6.1 ebuild patch diff to last patch: - php5-5 support removed. php team prefers introducing only 5.6 compatible (though 7.0 preferable) stuff - removed php-lib-r1 inherit, it adds an implicit dep, planted code in src_install directly instead. - nuked all but supported BDB version, esp. 6.1 since its License could be rather problematic for a lib i suppose (but IANAL) 5.1 remains since 5.3 is not yet stable diff to tree: - fix compile with mono4, also add a patch from PLD-Linux to add missing pkg-config files - add ruby22 (can be changed to ruby21 instead depending on stable status when adding this ebuild), move to sitelibdir (IceRuby links to libruby22.so so i thought that made sense; comments?), add die stolen from redmine ebuild since compile will fail when wrong ruby version is selected
Created attachment 424158 [details, diff] fix install phase with USE=mono things left to do: - fix testphase, i have no idea why it fails: <snip> *** running tests 42/91 in /var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/cpp/test/Ice/udp *** configuration: Default *** test started: Wed Jan 27 00:08:25 CET 2016 *** using Ice source dist (64bit) starting server #1... Traceback (most recent call last): File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/cpp/test/Ice/udp/run.py", line 41, in <module> serverProc.append(TestUtil.startServer(server, "%d" % i , adapter="McastTestAdapter")) File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/TestUtil.py", line 1699, in startServer return spawnServer(cmd, env = env, adapter = adapter, count = count, echo = echo, lang = config.lang, mx = config.mx, timeout = timeout) File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/TestUtil.py", line 1300, in spawnServer server.expect("%s ready\n" % adapter, timeout = timeout) File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 437, in expect raise e File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 430, in expect self.buf, self.before, self.after, self.match, self.matchindex = self.r.match(pattern, timeout) File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 283, in match raise e File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 266, in match (escape(s), escape(buf, False))) Expect.TIMEOUT: timeout exceeded in match pattern: "McastTestAdapter ready\n" buffer: "ControlAdapter ready TestAdapter ready Network.cpp:1875: Ice::SocketException: socket exception: No such device " </snip> - investegate bug 571328 - i just realized i forgot about bug 562122
(In reply to Manuel Rüger from comment #0) > Please get it into the tree. > > Looks like ruby support has been split, too. > https://rubygems.org/gems/zeroc-ice/versions/3.6.0 So probably the ebuild > will become a lot easier :) if it wouldn't try to build the c++ part of Ice and mcpp itself, probably. sadly i lack the knowledge to make the changes to the buildsystem so it can use a system installation instead.
Created attachment 450814 [details, diff] Ice-3.6.3 ebuild patch diff to last patch: - added python 3.5, multiple python targets now work well due to updates in upstream handing differently named directories (also in tests) - added libressl support for bug 562122 - switched to php7 only, enable namespaces support unconditionally, my reasoning for that change is that the switch is gone in 3.7 and the ebuild never had php bindings before - ncurses and readline slot deps - upsteam added NOTEST switch, make use of it, disable some failing tests. - some of the tests make use of dev-python/passlib (this is the reason for dropping arm, ia64, x86-linux and x64-macos) - replace the pkg_setup die with some sed statements
Created attachment 450816 [details, diff] fix install phase with USE=mono update the version numbers to match 3.6.3, no other changes to the patch made.
Created attachment 450818 [details, diff] don't append -m flags this is also taken from pld in the hope of fixing bug 552702 and bug 330513
(In reply to Robert Förster from comment #11) > Created attachment 450818 [details, diff] [details, diff] > don't append -m flags > > this is also taken from pld in the hope of fixing bug 552702 and bug 330513 Could you submit that as a PR on Github? That would make things a lot easier for me?
commit 566f7de6c3649a0ddfb22d052b5126c2f85bc01d Author: Robert Förster <Dessa@gmake.de> Date: Sat Oct 22 04:03:04 2016 +0200 dev-libs/Ice: version bump Gentoo-Bug: 555586 Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2628