Re: Fedora and LV2
Ted Felix <ted-Ll1PANez7xxWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.audio.rosegarden.user |
|---|---|
| Message-ID | <[email protected]> |
Philip has figured out how to get gtk2-devel and lilv-devel working in Fedora 40: > To summarize: > > install the qt5-style-plugins package > set the environment variables: > export QT_QPA_PLATFORMTHEME=gtk2 > export XDG_SESSION_TYPE=x11 > > and rosegarden should work with the lv2 plugins and gtk editors See Feature Request 462: https://sourceforge.net/p/rosegarden/feature-requests/462/?page=8#8b89 Ted. On 6/12/24 7:15 PM, chuck elliot wrote: > Confirmed - [76e11482] builds with lilv and without gtk2 > > and lv2 plugins are operative. > > Chuck. > > > On 12/06/2024 20:11, Ted Felix wrote: >> Just pushed Philip's fix as [76e11482]. Please test latest git. You >> should now be able to build with lilv and without gtk2. >> >> Philip is looking further into the gtk2 issue. I'll let you know if >> there are any developments. We are tracking this on Feature Request >> 462, but at 7 pages it's pretty huge to navigate. >> >> https://sourceforge.net/p/rosegarden/feature-requests/462/ >> >> Ted. >> >> On 6/12/24 11:41 AM, Ted Felix wrote: >>> Ok, I'll see if Philip can fix this. Hopefully it's just a >>> forgotten #ifdef someplace. >>> >>> Ted. >>> >>> On 6/12/24 11:34 AM, chuck elliot wrote: >>>> 'tried a new build with lilv-devel installed but not gtk2-devel. >>>> >>>> build failed at the link stage: >>>> >>>> /usr/bin/ld: ../librosegardenprivate.so: undefined reference to >>>> `Rosegarden::LV2Gtk::getInstance()' >>>> collect2: error: ld returned 1 exit status >>>> make[2]: *** [src/CMakeFiles/rosegarden.dir/build.make:127: >>>> rosegarden] Error 1 >>>> make[1]: *** [CMakeFiles/Makefile2:264: >>>> src/CMakeFiles/rosegarden.dir/all] Error 2 >>>> make: *** [Makefile:146: all] Error 2 >>>> >>>> so it looks like there is a dependency... >>>> >>>> Regards, >>>> >>>> Chuck. >>>> >>>> >>>> >>>> On 12/06/2024 14:44, Ted Felix wrote: >>>>> Thanks for tracking this down. Yes, the LV2 stuff can use gtk2, >>>>> but it doesn't need it. You should be able to install lilv-devel >>>>> without gtk2-devel and that might work. Let me know how it goes if >>>>> you try it. >>>>> >>>>> Note: A fresh clone shouldn't be necessary. Just delete your >>>>> build directory, create a new one, switch into it and run cmake again. >>>>> >>>>> Ted. >>>>> >>>>> On 6/11/24 4:40 AM, chuck elliot wrote: >>>>>> ...but a fresh git clone of RG is now compiling without >>>>>> >>>>>> gtk2-devel and lilv-devel... >>>>>> >>>>>> cmake has disabled LILV support.... >>>>>> >>>>>> ...now it runs again. >>>>>> >>>>>> Chuck. >>>>>> >>>>>> >>>>>> On 09/06/2024 11:10 pm, Chris Fancsy wrote: >>>>>>> DuckDuckGo was unable to verify sender identity >>>>>>> >>>>>>> Hi Chuck, >>>>>>> >>>>>>> I have the same problem with the compiled 24.06 version on Fedora >>>>>>> 40. >>>>>>> >>>>>>> I compiled the 23.12 version and it runs fine. >>>>>>> >>>>>>> The problem is from the LV2 plugin support which is using GTK2. I >>>>>>> don't think there's a way to disable LV2 plugin support at compile >>>>>>> time. >>>>>>> >>>>>>> If I find a solution I will post it here. >>>>>>> >>>>>>> Chris >>>>>>> >>>>>>> On Sun, Jun 9, 2024 at 5:05 AM chuck elliot <[email protected]> >>>>>>> wrote: >>>>>>>> Thanks for the link Ted but I'm afraid I didn't glean anything >>>>>>>> useful >>>>>>>> there... >>>>>>>> >>>>>>>> RG 21.12 runs ok on this system (lying around in /usr/local/bin) >>>>>>>> >>>>>>>> Rosegarden version: 21.12 ("Cloud Nine") >>>>>>>> Build key: ac38e2622f (21.06-24-gb9da2db9d) >>>>>>>> Built against Qt version: 5.15.2 >>>>>>>> >>>>>>>> Current version info is: >>>>>>>> >>>>>>>> Rosegarden version: 24.12 ("Incredible") >>>>>>>> Build key: 442818511e (24.06-1-gf91b7e227) >>>>>>>> Built against Qt version: 5.15.13 >>>>>>>> >>>>>>>> How would I be "requesting the gtk widgets"? I am not aware of >>>>>>>> having, >>>>>>>> or how I would have, done so... >>>>>>>> >>>>>>>> I assume that my RG preferences would be applied the same to >>>>>>>> both of the >>>>>>>> above versions? >>>>>>>> >>>>>>>> TIA >>>>>>>> >>>>>>>> Chuck. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 07/06/2024 7:14 pm, Ted Felix wrote: >>>>>>>>> Just some limited searching seems to indicate that the "gtk" >>>>>>>>> widget >>>>>>>>> style was dropped around Qt 5.7 or so. Maybe you're running a >>>>>>>>> newer >>>>>>>>> version of Qt and you are requesting the gtk widgets? >>>>>>>>> >>>>>>>>> https://bbs.archlinux.org/viewtopic.php?id=214147&p=2 >>>>>>>>> >>>>>>>>> See post #36. >>>>>>>>> >>>>>>>>> All the trails are from 2016/2017, though. Not sure they are >>>>>>>>> relevant today. >>>>>>>>> >>>>>>>>> Ted. >>>>>>>>> >>>>>>>>> On 6/7/24 6:24 AM, chuck elliot wrote: >>>>>>>>>> Rosegarden won't run at the moment. >>>>>>>>>> >>>>>>>>>> The problem seems to be something to do with "GtkWidget" (see >>>>>>>>>> below). >>>>>>>>>> >>>>>>>>>> 24.06 built fine from git source. >>>>>>>>>> >>>>>>>>>> I have recently upgraded to fedora 39 and this is probably the >>>>>>>>>> first >>>>>>>>>> time I have tried to >>>>>>>>>> >>>>>>>>>> run RG since. Same result on a similar/identical system. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> gtk3-3.24.41-1.fc39.x86_64 >>>>>>>>>> >>>>>>>>>> gtk4-4.12.5-1.fc39.x86_64 >>>>>>>>>> >>>>>>>>>> RG output: >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> cannot >>>>>>>>>> register existing type 'GtkWidget' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> cannot >>>>>>>>>> add class private field to invalid type '<invalid>' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> cannot >>>>>>>>>> add private field to invalid (non-instantiatable) type >>>>>>>>>> '<invalid>' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE >>>>>>>>>> (instance_type)' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> cannot >>>>>>>>>> register existing type 'GtkBuildable' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE >>>>>>>>>> (interface_type)' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-CRITICAL **: 11:12:47.844: >>>>>>>>>> g_once_init_leave: assertion 'result != 0' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.844: >>>>>>>>>> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE >>>>>>>>>> (instance_type)' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.859: >>>>>>>>>> gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET >>>>>>>>>> (widget)' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.859: >>>>>>>>>> gtk_style_context_lookup_color: assertion 'GTK_IS_STYLE_CONTEXT >>>>>>>>>> (context)' failed >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): Gtk-CRITICAL **: 11:12:47.868: >>>>>>>>>> gtk_style_context_get_background_color: assertion >>>>>>>>>> 'GTK_IS_STYLE_CONTEXT (context)' failed >>>>>>>>>> qt.qpa.gtk: Property name "theme_unfocused_bg_color" not found. >>>>>>>>>> Falling back to QGtk3Interface::QGtkColorDefault::Background >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: >>>>>>>>>> cannot >>>>>>>>>> register existing type 'GtkWidget' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: >>>>>>>>>> cannot >>>>>>>>>> add class private field to invalid type '<invalid>' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: >>>>>>>>>> cannot >>>>>>>>>> add private field to invalid (non-instantiatable) type >>>>>>>>>> '<invalid>' >>>>>>>>>> >>>>>>>>>> (rosegarden:725222): GLib-GObject-CRITICAL **: 11:12:47.868: >>>>>>>>>> g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE >>>>>>>>>> (instance_type)' failed >>>>>>>>>> -DCMAKE_BUILD_TYPE=Debug-DCMAKE_BUILD_TYPE=Debug-DCMAKE_BUILD_TYPE=Debugqt.qpa.events.reader: >>>>>>>>>> [heap] 0 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Rosegarden-user mailing list >>>>>>>>>> [email protected] - use the link below to >>>>>>>>>> unsubscribe >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Rosegarden-user mailing list >>>>>>>>> [email protected] - use the link below to >>>>>>>>> unsubscribe >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Rosegarden-user mailing list >>>>>>>> [email protected] - use the link below to >>>>>>>> unsubscribe >>>>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Rosegarden-user mailing list >>>>>>> [email protected] - use the link below to >>>>>>> unsubscribe >>>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Rosegarden-user mailing list >>>>>> [email protected] - use the link below to >>>>>> unsubscribe >>>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>>> >>>>> >>>>> _______________________________________________ >>>>> Rosegarden-user mailing list >>>>> [email protected] - use the link below to >>>>> unsubscribe >>>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>>> >>>> >>>> _______________________________________________ >>>> Rosegarden-user mailing list >>>> [email protected] - use the link below to >>>> unsubscribe >>>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >>> >>> >>> _______________________________________________ >>> Rosegarden-user mailing list >>> [email protected] - use the link below to >>> unsubscribe >>> https://lists.sourceforge.net/lists/listinfo/rosegarden-user >> >> >> _______________________________________________ >> Rosegarden-user mailing list >> [email protected] - use the link below to unsubscribe >> https://lists.sourceforge.net/lists/listinfo/rosegarden-user > > > _______________________________________________ > Rosegarden-user mailing list > [email protected] - use the link below to unsubscribe > https://lists.sourceforge.net/lists/listinfo/rosegarden-user _______________________________________________ Rosegarden-user mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user