Summary: | media-gfx/freecad depends on deprecated Qt4 (was: depends on dev-qt/qtwebkit:4) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Palimaka (kensington) <kensington> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chris, luksan, michael, navid.zamani, rich, snowy.mail |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=622726 | ||
Whiteboard: | scheduled for removal on 2018-07-26 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 620684, 631788 | ||
Attachments: | ebuild for release version of freecad 0.17, using Qt5 |
Description
Michael Palimaka (kensington)
![]() git master is already qt5-based and packaging in Gentoo currently needs to wait for pyside(-tools):2 and shiboken:2 to be moved from qt overlay to tree. Masking of <media-gfx/freecad-0.17_pre is being prepared in order to proceed with Qt4WebKit removal. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d35130d08f9029d75ef94aa9947b8675b7c8d34 commit 0d35130d08f9029d75ef94aa9947b8675b7c8d34 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-11-05 19:10:17 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-11-06 01:57:07 +0000 media-gfx/freecad: Drop old Bug: https://bugs.gentoo.org/620702 Package-Manager: Portage-2.3.13, Repoman-2.3.4 media-gfx/freecad/Manifest | 2 - .../files/freecad-0.15.4671-boost-1.60.patch | 16 --- media-gfx/freecad/freecad-0.15.4671.ebuild | 145 --------------------- media-gfx/freecad/freecad-0.16-r1.ebuild | 132 ------------------- media-gfx/freecad/freecad-0.16.ebuild | 135 ------------------- 5 files changed, 430 deletions(-)} The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e799631b67e2fc4dab217b90720b3ad7eeaa347 commit 7e799631b67e2fc4dab217b90720b3ad7eeaa347 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-11-16 18:52:49 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-11-16 18:55:11 +0000 profiles: Initiate last-rites for Qt4WebKit and remaining rdeps Bug: https://bugs.gentoo.org/620684 Bug: https://bugs.gentoo.org/620702 Bug: https://bugs.gentoo.org/620736 Bug: https://bugs.gentoo.org/620826 profiles/package.mask | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-)} Removal date would have been almost two weeks ago, I would really like to proceed here. Last working version could be moved to an overlay like graveyard, together with Qt4WebKit, and we re-add freecad whenever the port to Qt5 and its deps are finally in shape. i was just able to emerge pyside:2 (thanks to you pointing me to the relavant bug) and now compiling my freecad-9999 ebuild version with qt5 support (from my overlay). will let you know if it compiles and runs soon. (In reply to Miroslav Šulc from comment #6) Hey … it’s been two over weeks … Did it compile and run? :) Can I help? Because I really would like to get rid of compiling yet another Webkit every other week. :) FreeCAD now also is the only package (at least on my system) requiring abi_x86_32. (And: I see the current ebuild does depend on libmed. Is this really unnecessary? I think I had to add it for it to build. In which case it would have to be added.) For your convenience, this is the upstream tracker URL for this bug, btw: https://www.freecadweb.org/tracker/view.php?id=2868 Or, for the entire port to Qt5: https://www.freecadweb.org/tracker/view.php?id=2986 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e commit 506f827c4f6bdbaf6c93463f2d8e6390d2be6a4e Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-03-02 21:48:50 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-03-02 22:08:14 +0000 media-gfx/freecad: Add no-webkit patch Bug: https://bugs.gentoo.org/620702 Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../freecad/files/freecad-0.17_pre-no-webkit.patch | 45 +++++++ media-gfx/freecad/freecad-0.17_pre-r1.ebuild | 133 +++++++++++++++++++++ 2 files changed, 178 insertions(+)} I've blindly added a Debian patch to drop the qtwebkit:4 dependency. Please, someone give it a try. This is the last chance for FreeCAD to extend its life for a little while (until qt4-removal). (In reply to Andreas Sturmlechner from comment #11) > I've blindly added a Debian patch to drop the qtwebkit:4 dependency. Please, > someone give it a try. This is the last chance for FreeCAD to extend its > life for a little while (until qt4-removal). I was able to emerge media-gfx/freecad-0.17_pre-r1::gentoo with x86_64-pc-linux-gnu-6.4.0. The /usr/bin/FreeCAD application starts up while emitting "No module named WebGui". This warning goes away after changing Preferences/General/Autoload module after startup to e.g. <none>. I was able to open some but not all of my projects. I was not able to figure out what causes the crash: *** Abort *** an exception was raised, but no catch was found. ... The exception is:SIGSEGV 'segmentation violation' detected. Address 0 Re-added previous version plus 0.17_pre-r1 fixes per bug 650274, so you can test that. Not sure if it makes sense to keep 0.17_pre then. Created attachment 530804 [details]
ebuild for release version of freecad 0.17, using Qt5
Upstreams has now released 0.17, which also means they have removed the "_pre" archive.
I was able to build the 0.17 release with Qt5 using the attached ebuild.
The overlays "qt" and "science" are needed for some dependencies (pyside:2 and libmed).
Thanks for your contribution, but please note this is not the right bug for this. See bug 622726 and compare with the existing work towards a qt5 ebuild in there. Qt4 was masked. Last call for maintainer before actual removal. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e86d362b301de831131147ba4a1f541200d883 commit 00e86d362b301de831131147ba4a1f541200d883 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-07-01 16:34:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-08-07 07:27:02 +0000 media-gfx/freecad: Remove last-rited Closes: https://bugs.gentoo.org/620702 media-gfx/freecad/Manifest | 1 - .../files/freecad-0.14.3702-install-paths.patch | 21 ---- .../freecad/files/freecad-0.17_pre-no-webkit.patch | 45 ------- media-gfx/freecad/files/freecad.sharedmimeinfo | 8 -- media-gfx/freecad/freecad-0.16.6712.ebuild | 131 --------------------- media-gfx/freecad/metadata.xml | 12 -- profiles/package.mask | 4 - 7 files changed, 222 deletions(-) |