Menu

#356 Linux deb libwebkit2gtk dependency

Linux
open
nobody
None
1
2025-07-24
2025-04-19
Anonymous
No

The current latest deb 3.4.8-1 has a dependency on libwebkit2gtk-4.0-37 (>=1.0.0) | libwebkit2gtk-3.0-25 (>=1.0.0) | libwebkitgtk-3.0-0 (>=1.0.0), however current versions of Ubuntu and derivatives (I'm using Mint) now only distribute libwebkit2gtk-4.1.0. Some digging on the Xojo forums suggests that this is only used for the HTMLViewer control and digging in the OpenSong source code suggests that this isn't really in use. The only reference being:
Classes/GUI/SmartSplitter.xojo_code:1412: If c IsA HTMLViewer Then Return True
Windows/Dialogs/HelpWindow.xojo_window:159: Begin HTMLViewer htm_presentation
The first I don't think is relevant and the second leads to an apparent dead end, the only further refernce to htm_presentation being
Windows/Dialogs/HelpWindow.xojo_window:311: htm_presentation.LoadPage(kHeadHtml + App.T.Translate("help_topics/presentation") + kFootHtml, App.T.GetFile)
in the help menu tabbed content.

I have therefore updated the control list in the deb to allow the newer version assuming that the code may be version agnostic enough not to fall over and all appears to be well. OpenSong appears to run happily, including the help. I've therefore avoided attempting the risky business of installing an orphan library.

Have I missed anything? Does this seem appropriate?

Thanks,

Alistair

Discussion

  • Alistair Bell

    Alistair Bell - 2025-04-19

    Ooops, failed to log in before posting, subscribing here.

     
    • Anonymous

      Anonymous - 2025-07-23

      Hi Alistair,
      I managed it to open the deb in Archivemanager, I also managed it to open and edit the control file. But I can't repack the new control file back into the deb. Can you please explain me, how to do this?
      Or to SvA: Can you provide a fixed deb?

      Regards
      Marte

       
      • Alistair Bell

        Alistair Bell - 2025-07-24

        Hi Marte,
        Right I've checked my notes and I used ar to make the changes to the archive. I worked in a tmp directory hence the ../

         ar p ../opensong_3.4.8-1_amd64.deb control.tar.xz |tar -xJ
         xed control 
         tar -cJf control.tar.xz *[!z]
         cp ../opensong_3.4.8-1_amd64.deb ../opensong_3.4.8-1~depfix_amd64.deb 
         ar r ../opensong_3.4.8-1~depfix_amd64.deb control.tar.xz 
        

        This is almost certainly not the best method but it works, check you understand before running the commands!

        Cheers,
        Alistair

         
  • SvA

    SvA - 2025-05-02

    Hi,

    thanks for reporting.

    I don't know anything about how Linux selects libraries to load. If the Song Lookup window and the Scripture Lookup windows and the Help Topic window all work, you are good.

    The current version of the programming framework used by OpenSong (Xojo) still uses v2 of this library, but can use v3 automatically if v2 is not installed. I don't know if this applies to the framework actually used in OpenSong v. 3.4.8.

    The HTMLViewer in the help viewer is hidden in v. 3.4.8 and has been removed since.
    I have removed the dependency resulting from SmartSplitter now. So, the next version of OpenSong likely will not contain any dependency to that library anymore.

     
  • Alistair Bell

    Alistair Bell - 2025-05-03

    Thanks for that, all looks good and appears to be working fine so I think we are sorted.
    Cheers,

     
  • Anonymous

    Anonymous - 2025-07-22

    Hello,
    last weeks I upgraded my Mint-Systems to 22.1 since then I get this Problem, too.
    I also found that the libwebkit isn't really necessary and i can install it with sudo dpkg -i --ignore-depends=libwebkit2... opensong*
    After this OpenSong works fine. but apt doesn't accept it. with every action I have to sudo apt install -f that removes OpenSong again. OK, I could create a script, that installs Opensong, plays it and after lclosing remove it again. But as I read now, the Problem should be fixed now but not available in a new deb-version.
    When does this version be available?
    Or how can I fix ist myself?
    Regards
    Marte

     
    • Anonymous

      Anonymous - 2025-07-23

      Hi,
      another thing I found that improoves OpenSong a lot:
      In Mint22 I can do a right click to the starter and check there the option "use GPU if available" (sorry, I use the german version and translated it back to english). This improves the speed to a pretty good level.
      No other alternative program to OpenSong has a compareable great user interface. I really don't want to switch. With CCLI support and this deb-fix this would be the greatest tool I could image.

      Thanks
      Marte

       

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.