Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955171 - media-gfx/librecad must port to Qt6
Summary: media-gfx/librecad must port to Qt6
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: fixed in >=2.2.2_alpha1_pre20250501
Keywords: UPSTREAM
Depends on:
Blocks: qt5-removal
  Show dependency tree
 
Reported: 2025-05-01 09:42 UTC by Andreas Sturmlechner
Modified: 2025-05-04 22:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2025-05-01 09:42:09 UTC
9999 is already Qt6 based for >6 months, but unfortunately 2.2.1.1 still does not build with it; upstream there is talk of Qt6 support for years, and mythical Qt6-based 2.2.2.x alpha builds that I can't find; there appears to be CMake in use alternatively but apparently only for AppImage builds; even though I've seen worse, upstream git messages are repetitively nondescript and containing much unrelated churn so that it is impossible to pick specific Qt6 fixes for 2.2.1.1.

Also considering destabilising this package. No maintainer since 2019, and the upstream repository is not easy to work with/pull patches from.
Comment 1 Larry the Git Cow gentoo-dev 2025-05-01 10:05:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=349e548fb1da90708db88da3fd524f939211a79f

commit 349e548fb1da90708db88da3fd524f939211a79f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-01 09:51:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-01 10:05:41 +0000

    media-gfx/librecad: add Qt6-based 2.2.2_alpha1_pre20250501
    
    Testing would be much appreciated, if anyone is reading this.
    
    Bug: https://bugs.gentoo.org/955171
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/librecad/Manifest                        |  1 +
 .../librecad-2.2.2_alpha1_pre20250501.ebuild       | 83 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b0293e2ef88591683da6e2370f48804599b63c

commit a4b0293e2ef88591683da6e2370f48804599b63c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-01 09:43:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-01 10:05:40 +0000

    media-gfx/librecad: Add missing dependency, fix icon path
    
    drop IUSE debug - could not trace back since when that was unused already.
    
    Bug: https://bugs.gentoo.org/955171
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/librecad/librecad-9999.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Comment 2 J.Borme 2025-05-02 23:27:03 UTC
The missing locale Bug 947545 also applies to this version. By applying the same patch from that bug then librecad-2.2.2_alpha1_pre20250501 builds and runs.
Comment 3 Andreas Sturmlechner gentoo-dev 2025-05-03 07:22:12 UTC
I'm wondering why we are even bothering with that stuff.
Comment 4 Larry the Git Cow gentoo-dev 2025-05-04 22:06:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de3908baf258bf900fe251e9c4fb15644d84f94d

commit de3908baf258bf900fe251e9c4fb15644d84f94d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-05-04 22:00:16 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-05-04 22:05:49 +0000

    media-gfx/librecad: Drop plocales mishandling
    
    Just set LRELEASE properly instead.
    
    Don't add this back unless you enlist as maintainer.
    
    Bug: https://bugs.gentoo.org/847394
    Bug: https://bugs.gentoo.org/947545
    Bug: https://bugs.gentoo.org/955171
    Closes: https://bugs.gentoo.org/955436
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/librecad/librecad-2.2.1.1.ebuild         | 28 +++-------------------
 .../librecad-2.2.2_alpha1_pre20250501.ebuild       | 28 +++-------------------
 2 files changed, 6 insertions(+), 50 deletions(-)