It's far from perfect but it should now be easier to build MuseScore on OSX
with homebrew. I used the pkg-config code Marc provided and added if else
to deal with platform differences and build options. The Lame issue is
solved in a CMake module. Tests are welcome.
I also tried the LLVM bug trick by building my own vorbis lib, but it's not
the cause of the crash... So I'm again clueless. If anyone has an idea why
MuseScore crashes on startup while loading fluid.sf3, apparently
in decompressOggVorbis, shoot!
lasconic
2013/5/20 Lasconic <[email protected]>
> It's not necessary but I would like to have it fixed yes. Pkg-config is
> not the best way. The best way would be to use Cmake modules
> http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries likes the ones
> attached.
> I will try this approach as soon as possible. I would want to be use
> homebrew to compile a modified version of libvorbis. As you find out,
> MuseScore crashes on startup on Mac. It's due to the loading of OGG
> samples. It could be due to a bug in LLVM/vorbis
> http://stackoverflow.com/questions/7721118/mac-osx-intel-llvm-assembler-bug-causes-vorbis-ogg-loader-to-crash
>
> Regarding the bug you are talking about. You mean that grace notes lose
> their lyric element after saving and reload?
> it was a bug in MuseScore 1.3 apparently but it's fixed in the current
> master. http://musescore.org/en/node/9616
> The current master is barely usable for normal use, especially on Mac,
> though... and mainly because of the crash I talked about earlier.
>
> lasconic
>
>
> 2013/5/20 Marc Schultz <[email protected]>
>
>> Do you want to fix this or isn't it that necessary for a fast go?
>> Otherwise, I would create a new branch and a pull request with it, where we
>> can improve the Mac build.
>>
>> A greater issue is application wide: After saving to a MuseScore file,
>> grace-notes lose their text
>> (syllable<http://www.dict.cc/englisch-deutsch/syllable.html>s).
>> That's the issue, why I started to develop for MuseScore. My Dad wanted it
>> to be fixed.
>>
>>
>> On Mon, May 20, 2013 at 3:24 PM, Lasconic <[email protected]> wrote:
>>
>>> Yes. There are several issues with the patch.
>>> - pkgconfig is not available on windows
>>> - it's not necessary to search for the ogg, vorbis etc... depending on
>>> options at the top of the main cmake file.
>>> - the lame problem. We just need the lame.h header. So finding the lame
>>> include dir is enough. Maybe Cmake find_path can be used to find it nicely.
>>>
>>> lasconic
>>>
>>>
>>> 2013/5/20 Marc Schultz <[email protected]>
>>>
>>>> You can include it, but keep in mind that the manual path of the
>>>> Homebrew package "lame" isn't the nice way to go. I wanted to fix this, but
>>>> there was no time. I think we have to create a pull request for this
>>>> package on the Homebrew-Github repo, to include pkg-config support for it.
>>>>
>>>>
>>>> On Mon, May 20, 2013 at 2:46 PM, Lasconic <[email protected]> wrote:
>>>>
>>>>> Cool. Does that mean you are working on it? because I was starting to
>>>>> include your past patch in the build system to move to homebrew. Maybe
>>>>> better to not double work.
>>>>>
>>>>> lasconic
>>>>>
>>>>>
>>>>> 2013/5/20 Marc Schultz <[email protected]>
>>>>>
>>>>>> Don't worry, I'm testing my changes in Linux and Windows too.
>>>>>>
>>>>>>
>>>>>> On Mon, May 20, 2013 at 2:42 PM, Lasconic <[email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>> After a "make -f Makefile.osx install" there should be a applebuild
>>>>>>>> folder somewhere, right? Or should it appear only, if I did that via
>>>>>>>> Xcode?
>>>>>>>> Because I don't use Xcode for that. I can't find an applebuild folder.
>>>>>>>> The
>>>>>>>> executable file is located somewhere else in the build folders. I think
>>>>>>>> there is something to do for a cleaner build up in OSX. In Linux it
>>>>>>>> looks
>>>>>>>> nice, except of all these warnings while compiling.
>>>>>>>>
>>>>>>>>
>>>>>>> No not somewhere. applebuild directory should be close to
>>>>>>> Makefile.osx if you ran "make -f Makefile.osx install" in a terminal.
>>>>>>> And
>>>>>>> the makefile is calling xcodebuild.
>>>>>>> Your patches are welcome but keep in mind MuseScore build system
>>>>>>> needs to run on Linux, Mac and Windows.
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> AlienVault Unified Security Management (USM) platform delivers
>>>>>>> complete
>>>>>>> security visibility with the essential security capabilities. Easily
>>>>>>> and
>>>>>>> efficiently configure, manage, and operate all of your security
>>>>>>> controls
>>>>>>> from a single console and one unified framework. Download a free
>>>>>>> trial.
>>>>>>> http://p.sf.net/sfu/alienvault_d2d
>>>>>>> _______________________________________________
>>>>>>> Mscore-developer mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> AlienVault Unified Security Management (USM) platform delivers
>>>>>> complete
>>>>>> security visibility with the essential security capabilities. Easily
>>>>>> and
>>>>>> efficiently configure, manage, and operate all of your security
>>>>>> controls
>>>>>> from a single console and one unified framework. Download a free
>>>>>> trial.
>>>>>> http://p.sf.net/sfu/alienvault_d2d
>>>>>> _______________________________________________
>>>>>> Mscore-developer mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> AlienVault Unified Security Management (USM) platform delivers complete
>>>>> security visibility with the essential security capabilities. Easily
>>>>> and
>>>>> efficiently configure, manage, and operate all of your security
>>>>> controls
>>>>> from a single console and one unified framework. Download a free trial.
>>>>> http://p.sf.net/sfu/alienvault_d2d
>>>>> _______________________________________________
>>>>> Mscore-developer mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> AlienVault Unified Security Management (USM) platform delivers complete
>>>> security visibility with the essential security capabilities. Easily and
>>>> efficiently configure, manage, and operate all of your security controls
>>>> from a single console and one unified framework. Download a free trial.
>>>> http://p.sf.net/sfu/alienvault_d2d
>>>> _______________________________________________
>>>> Mscore-developer mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> AlienVault Unified Security Management (USM) platform delivers complete
>>> security visibility with the essential security capabilities. Easily and
>>> efficiently configure, manage, and operate all of your security controls
>>> from a single console and one unified framework. Download a free trial.
>>> http://p.sf.net/sfu/alienvault_d2d
>>> _______________________________________________
>>> Mscore-developer mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> AlienVault Unified Security Management (USM) platform delivers complete
>> security visibility with the essential security capabilities. Easily and
>> efficiently configure, manage, and operate all of your security controls
>> from a single console and one unified framework. Download a free trial.
>> http://p.sf.net/sfu/alienvault_d2d
>> _______________________________________________
>> Mscore-developer mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>>
>>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer