Menu

#19 Missing qsynth.icns for build on macOS

git_head
open
nobody
None
2019-04-15
2019-04-14
No

When trying to build qsynth 0.5.6 on macOS using CMake, the configure phase fails due to the missing qsyth.icns file, expected inside src/images. Is there any chance to include the file in the source? I could provide the auto-generated file (from png) if needed, the only problem is that the resolution is waaaay to low for macOS standards. Do you happen to have any higher-resolution images (ideally 512 or 1024 pixels high & wide)? Even if not, putting at least some low-res image would still be much better than nothing.

1 Attachments

Discussion

  • Rui Nuno Capela

    Rui Nuno Capela - 2019-04-14

    done in [e87a3f] thanks.

    you could pick the original gimp file (src/images/qsynth.xcf) scale it to whetever size, correct and stroke the drop outline path and then convert/export to .png and then to .icns format.

    cheers

     

    Related

    Commit: [e87a3f]

  • Mojca Miklavec

    Mojca Miklavec - 2019-04-15

    Thank you very much for the super quick fix.

    Regarding the icon: I'm not a designer or artist in any way. I could easily create the icon(s) or movie if I was given a povray source, or vectorize a low resolution black-and-white image, but not from a low resolution "3D-like" image.

    Unrelated problem though. I seem to be unable to run the program, see the notes at: https://github.com/macports/macports-ports/pull/4076
    I'll open a new ticket, but I would like to know if you even have any chance whatsoever to maybe borrow a mac and do some basic testing/bugfixing there? I have absolutely no idea what to do.

     
    • Rui Nuno Capela

      Rui Nuno Capela - 2019-04-15

      sorry i have no chance to borrow a mac anytime here :/

      what gives if you select any other Setup... > Audio > Audio driver, but "jack" ?

      cheers

       
  • Mojca Miklavec

    Mojca Miklavec - 2019-04-15

    I need to change Midi -> Midi driver -> coremidi, as well as Audio -> Audio driver -> coreaudi. Is there any way to make these default when building the binary?

     
    • Rui Nuno Capela

      Rui Nuno Capela - 2019-04-15

      no. as all qstuff, qsynth is primarily targeted to linux; audio driver=jack and midi driver=alsa_seq are the hard coded defaults for quite more than a decade and half ;)

       
      • Mojca Miklavec

        Mojca Miklavec - 2019-04-15

        Oh, I didn't want to suggest to change the hardcoded values, let alone for Linux. My question was mainly whether there's some configure/build-time option that I could switch to change the default. But maybe it would be even better if the reasonable default would already be set in the code.

        Maybe something along the line of the following:

        --- a/src/qsynthOptions.cpp
        +++ b/src/qsynthOptions.cpp
        @@ -487,8 +487,13 @@ void qsynthOptions::loadSetup ( qsynthSetup *pSetup, const QString& sName )
                pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
                pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
         #else
        
        +       #if defined(__APPLE__)
        +       pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "coremidi").toString();
        +       pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "coreaudio").toString();
        +       #else
                pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "alsa_seq").toString();
                pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
        +       #endif
                pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
                pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();
         #endif
        

        I didn't yet figure out where the settinngs are stored (there doesn't seem to be any $HOME/.config/rncbc.org directory present, yet the settings are stored), so I'm not sure how to check if such a patch is even working. (I also don't know how to use the software, but that's a different issue :)

         

        Last edit: Mojca Miklavec 2019-04-15

Log in to post a comment.

MongoDB Logo MongoDB