[opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Geir Nøklebye
Are you all aware of the Apple maintained opensource libraries already included 
in macOS that you also maintain and use in the viewer?  Examples are libexpat, 
pcre, openAL, hunspell and openssl.

It might be easier to build the macOS version of the viewer with these 
libraries, rather than spend (a lot of) effort on maintaining them for macOS on 
your own. 

Opensource that is included in every version of macOS is listed on 
https://opensource.apple.com  with code to be 
downloaded. 


In addition there are the system framework image handling dylibs in 
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ImageIO.framework/Resources/
 

Cheers,
Geir Nøklebye aka Gavin Hird___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Cinder Roxley
On January 31, 2017 at 4:55:26 AM, Geir Nøklebye (geir.nokle...@dayturn.com 
 ) wrote:
 
Are you all aware of the Apple maintained opensource libraries already included 
in macOS that you also maintain and use in the viewer?  Examples are libexpat, 
pcre, openAL, hunspell and openssl.
Most of which are woefully out of date.

-- 
Cinder Roxley
Sent with Airmail

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Geir Nøklebye
Some are outdated and some are more up to date than the current viewer 
libraries. 
They usually get serious amount of public flack if security issues are not 
fixed, meaning they are automatically patched when users upgrade their systems. 
 

• The other thing is they are all compiled both 32 and 64 bit so they can be 
used for either architecture. 

• Equally important is they are battle tested on tens of millions of macOS 
installs. 

• They also build with the latest development tools (unless they are ancient 
such as OpenAL that needs Carbon, and only will build 32 bit.)
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Cinder Roxley
On January 31, 2017 at 2:12:24 PM, Geir Nøklebye (geir.nokle...@dayturn.com 
 ) wrote:
 
Some are outdated and some are more up to date than the current viewer 
libraries. 
They usually get serious amount of public flack if security issues are not 
fixed, meaning they are automatically patched when users upgrade their systems. 
~ % otool -L /usr/lib/libssl.dylib

/usr/lib/libssl.dylib:

/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)

/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 
0.9.8)

I rest my case.

Plus, the majority of libraries consumed by the viewer don’t offer api 
compatibility between versions making cross-platform development, not to 
mention QA, all the more painful.

-- 
Cinder Roxley
Sent with Airmail
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Monty Brandenberg
On 1/31/2017 3:24 PM, Cinder Roxley wrote:

> ~ % otool -L /usr/lib/libssl.dylib
>
> /usr/lib/libssl.dylib:
>
> /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
> version 0.9.8)
>
> /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
> version 0.9.8)

Ouch.  I was ashamed of how long we stayed at 0.9.8.  (Would kinda like
to use LibreSSL...)

-- 
Monty Brandenberg | Unit of Production
Skype monty.linden | Second Life Monty Linden

Linden Lab | Makers of Shared Creative Spaces
Check out what we're working on!
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Mac viewer and Apple maintained opensource libraries

2017-01-31 Thread Cinder Roxley
On January 31, 2017 at 2:40:44 PM, Monty Brandenberg (mo...@lindenlab.com 
 ) wrote:
 
On 1/31/2017 3:24 PM, Cinder Roxley wrote:

> ~ % otool -L /usr/lib/libssl.dylib
>
> /usr/lib/libssl.dylib:
>
> /usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
> version 0.9.8)
>
> /usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current
> version 0.9.8)

Ouch. I was ashamed of how long we stayed at 0.9.8. (Would kinda like
to use LibreSSL...)


For what it’s worth, Apple did warn developers to stop using it and switch to 
Cocoa’s crypto frameworks or ship their own. I’ve been waiting for a peer 
review of BearSSL myself.

-- 
Cinder Roxley
Sent with Airmail
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges