Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808381 - media-sound/ardour depends on deprecated x11-libs/gtk+:2
Summary: media-sound/ardour depends on deprecated x11-libs/gtk+:2
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL: https://discourse.ardour.org/t/gtk3-m...
Whiteboard: fixed in 8.10-r1
Keywords:
Depends on:
Blocks: gtk2-removal
  Show dependency tree
 
Reported: 2021-08-15 07:28 UTC by Andreas Sturmlechner
Modified: 2024-10-31 11:01 UTC (History)
5 users (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 2021-08-15 07:28:15 UTC
Any signs of upstream plans to port away to GTK+3, GTK4, Qt or sth. else?
Comment 1 Miroslav Šulc gentoo-dev 2021-08-15 07:34:31 UTC
all i found (i did not try hard) was this: https://discourse.ardour.org/t/gtk3-migration/101873

as the work started on ardour-7, the things might change (or not).
Comment 2 Benedikt Reinartz 2022-02-07 11:35:37 UTC
Actually, libgnomecanvas and libgnomecanvasmm have not been required since 2017. It also doesn't seem to use libxslt anywhere, I couldn't find any reference in the source code or build scripts.
Comment 3 Andreas Sturmlechner gentoo-dev 2022-05-19 20:27:16 UTC
dev-cpp/libgnomecanvasmm:2.6 was apparently dropped in commit e9526a355ffb2cc4dd787d3ec621db565728703a.
Comment 4 Andreas Sturmlechner gentoo-dev 2022-05-19 20:28:39 UTC
(In reply to Benedikt Reinartz from comment #2)
> Actually, libgnomecanvas and libgnomecanvasmm have not been required since
> 2017. It also doesn't seem to use libxslt anywhere, I couldn't find any
> reference in the source code or build scripts.
I still see deps =gnome-base/libgnomecanvas-2 and dev-libs/libxslt in the ebuild though.
Comment 5 Larry the Git Cow gentoo-dev 2023-09-24 07:48:15 UTC
The bug has been referenced in the following commit(s):

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

commit 441445f817376c4cf58969ca9dea625090bc1d12
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2023-09-24 07:47:22 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-09-24 07:48:10 +0000

    media-sound/ardour: some cleanup
    
    dropped dev-libs/libxslt & =gnome-base/libgnomecanvas from all ebuilds
    dropped unsupported configuration switched from live ebuild (though it still fails to compile)
    
    Bug: https://bugs.gentoo.org/808381
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/ardour-7.4-r3.ebuild | 2 --
 media-sound/ardour/ardour-7.5-r1.ebuild | 2 --
 media-sound/ardour/ardour-9999.ebuild   | 9 +++------
 3 files changed, 3 insertions(+), 10 deletions(-)
Comment 6 Luke A. Guest 2023-11-19 14:05:24 UTC
The builds still need -Wno-deprecated* flags adding to the ebuild.
Comment 7 Luke A. Guest 2023-11-19 16:45:50 UTC
It needs

, '-Wno-deprecated-declarations'

adding to the basic-warnings to get it to build.
Comment 8 Violet Purcell 2024-01-18 18:15:30 UTC
To be clear, upstream has no intention of porting at the current moment:
- https://discourse.ardour.org/t/gtk3-migration/101873
- https://discourse.ardour.org/t/gtk-2-has-been-deprecated-is-there-a-roadmap-for-removal/105214

Unless someone wants to take up porting and send in a PR, this probably won't change.
Comment 9 Miroslav Šulc gentoo-dev 2024-10-31 10:50:44 UTC
i just switched the live ebuild from gtk to ytk. here is the diff from lddtree for the switch:

# diff ardour9-lddtree*
1c1
< ardour-9.0.pre0.300 => /usr/lib64/ardour9/ardour-9.0.pre0.300 (interpreter => /lib64/ld-linux-x86-64.so.2)
---
> ardour-9.0.pre0.311 => /usr/lib64/ardour9/ardour-9.0.pre0.311 (interpreter => /lib64/ld-linux-x86-64.so.2)
14a15,20
>     libsuil.so.0 => not found
>     libytkmm.so.2 => not found
>     libydkmm.so.2 => not found
>     libytk.so.2 => not found
>     libydk.so.2 => not found
>     libztkmm.so.2 => not found
68,83d73
<     libgtkmm-2.4.so.1 => /usr/lib64/libgtkmm-2.4.so.1
<         libgiomm-2.4.so.1 => /usr/lib64/libgiomm-2.4.so.1
<     libatkmm-1.6.so.1 => /usr/lib64/libatkmm-1.6.so.1
<         libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0
<     libgdkmm-2.4.so.1 => /usr/lib64/libgdkmm-2.4.so.1
<         libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0
<             libjpeg.so.62 => /usr/lib64/libjpeg.so.62
<     libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0
<         libXfixes.so.3 => /usr/lib64/libXfixes.so.3
<     libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0
<         libXinerama.so.1 => /usr/lib64/libXinerama.so.1
<         libXi.so.6 => /usr/lib64/libXi.so.6
<         libXrandr.so.2 => /usr/lib64/libXrandr.so.2
<         libXcursor.so.1 => /usr/lib64/libXcursor.so.1
<         libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1
<         libXdamage.so.1 => /usr/lib64/libXdamage.so.1
86d75
<     libsuil-0.so.0 => /usr/lib64/libsuil-0.so.0


currently testing the switch on 8.10.
Comment 10 Larry the Git Cow gentoo-dev 2024-10-31 10:56:28 UTC
The bug has been referenced in the following commit(s):

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

commit f3f6340be078db42c62ef2768143abae2b23f924
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-10-31 10:56:12 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-10-31 10:56:12 +0000

    media-sound/ardour: switched 8.10 from gtk to ytk
    
    Bug: https://bugs.gentoo.org/808381
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/ardour-8.10-r1.ebuild | 196 +++++++++++++++++++++++++++++++
 1 file changed, 196 insertions(+)
Comment 11 Miroslav Šulc gentoo-dev 2024-10-31 10:59:43 UTC
here's the same diff for 8:10:

# diff ardour8-lddtree*
14a15,20
>     libsuil.so.0 => not found
>     libytkmm.so.2 => not found
>     libydkmm.so.2 => not found
>     libytk.so.2 => not found
>     libydk.so.2 => not found
>     libztkmm.so.2 => not found
68,83d73
<     libgtkmm-2.4.so.1 => /usr/lib64/libgtkmm-2.4.so.1
<         libgiomm-2.4.so.1 => /usr/lib64/libgiomm-2.4.so.1
<     libatkmm-1.6.so.1 => /usr/lib64/libatkmm-1.6.so.1
<         libatk-1.0.so.0 => /usr/lib64/libatk-1.0.so.0
<     libgdkmm-2.4.so.1 => /usr/lib64/libgdkmm-2.4.so.1
<         libgdk_pixbuf-2.0.so.0 => /usr/lib64/libgdk_pixbuf-2.0.so.0
<             libjpeg.so.62 => /usr/lib64/libjpeg.so.62
<     libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0
<         libXfixes.so.3 => /usr/lib64/libXfixes.so.3
<     libgdk-x11-2.0.so.0 => /usr/lib64/libgdk-x11-2.0.so.0
<         libXinerama.so.1 => /usr/lib64/libXinerama.so.1
<         libXi.so.6 => /usr/lib64/libXi.so.6
<         libXrandr.so.2 => /usr/lib64/libXrandr.so.2
<         libXcursor.so.1 => /usr/lib64/libXcursor.so.1
<         libXcomposite.so.1 => /usr/lib64/libXcomposite.so.1
<         libXdamage.so.1 => /usr/lib64/libXdamage.so.1
86d75
<     libsuil-0.so.0 => /usr/lib64/libsuil-0.so.0