The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
sdl_ttf links to a 'deprecated' technology
Vittorio G.
Guest

hello,
as ridiculous as it may sound, our application was rejected from the
mac app store with the following motivation

This is particularly important for the link to the
/usr/X11/lib/libfreetype.6.dylib, as linking against X11 frameworks is
itself a violation of the guidelines:

2.24 Apps that use deprecated or optionally installed
technologies (e.g., Java, Rosetta) will be rejected

On the other hand, we found some users that didn't have x11 installed
and thus resulted in a crash of our application.
Would it be possible to modify the xcode project file to either link
statically freetype or to place it under an @rpath magic (kinda like
sdl_mixer does)

Vittorio
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
sdl_ttf links to a 'deprecated' technology
Pavel Kanzelsberger
Guest

That's quite funny since even CoreText is using freetype library Wink ;-)

However you'd better not link against the one in X11 directory, static library is a way to go, or simply include your own freetype.dylib in your App bundle.

On 12.2.2011, at 13:39, Vittorio G. wrote:

Quote:
hello,
as ridiculous as it may sound, our application was rejected from the
mac app store with the following motivation

This is particularly important for the link to the
/usr/X11/lib/libfreetype.6.dylib, as linking against X11 frameworks is
itself a violation of the guidelines:

2.24 Apps that use deprecated or optionally installed
technologies (e.g., Java, Rosetta) will be rejected

On the other hand, we found some users that didn't have x11 installed
and thus resulted in a crash of our application.
Would it be possible to modify the xcode project file to either link
statically freetype or to place it under an @rpath magic (kinda like
sdl_mixer does)

Vittorio
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

---
Pavel Kanzelsberger
http://www.kanzelsberger.com
E-Mail:
Jabber:, ICQ: 20990633


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
sdl_ttf links to a 'deprecated' technology
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Eric restructured the SDL_ttf project to link dynamically with Freetype.  I've asked him to fix this.

Thanks!

On Sat, Feb 12, 2011 at 4:39 AM, Vittorio G. wrote:
Quote:
hello,
as ridiculous as it may sound, our application was rejected from the
mac app store with the following motivation

   This is particularly important for the link to the
/usr/X11/lib/libfreetype.6.dylib, as linking against X11 frameworks is
itself a violation of the guidelines:

          2.24 Apps that use deprecated or optionally installed
technologies (e.g., Java, Rosetta) will be rejected

On the other hand, we found some users that didn't have x11 installed
and thus resulted in a crash of our application.
Would it be possible to modify the xcode project file to either link
statically freetype or to place it under an @rpath magic (kinda like
sdl_mixer does)

Vittorio
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



--
    -Sam Lantinga, Founder and CEO, Galaxy Gameworks
sdl_ttf links to a 'deprecated' technology
Vittorio G.
Guest

neat! where can i get a preview of his work? :)

On Sat, Feb 12, 2011 at 4:52 PM, Sam Lantinga wrote:
Quote:
Eric restructured the SDL_ttf project to link dynamically with Freetype.
I've asked him to fix this.

Thanks!

On Sat, Feb 12, 2011 at 4:39 AM, Vittorio G. wrote:
Quote:

hello,
as ridiculous as it may sound, our application was rejected from the
mac app store with the following motivation

   This is particularly important for the link to the
/usr/X11/lib/libfreetype.6.dylib, as linking against X11 frameworks is
itself a violation of the guidelines:

          2.24 Apps that use deprecated or optionally installed
technologies (e.g., Java, Rosetta) will be rejected

On the other hand, we found some users that didn't have x11 installed
and thus resulted in a crash of our application.
Would it be possible to modify the xcode project file to either link
statically freetype or to place it under an @rpath magic (kinda like
sdl_mixer does)

Vittorio
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



--
    -Sam Lantinga, Founder and CEO, Galaxy Gameworks


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
sdl_ttf links to a 'deprecated' technology
Eric Wing
Guest

On 2/12/11, Vittorio G. wrote:
Quote:
neat! where can i get a preview of his work? :)



The individual repos are here (I'm actually doing a bunch of iOS/Xcode
fixes, but this freetype thing is related):

http://hg.assembla.com/sdl_ttf-ios-xcode
http://hg.assembla.com/freetype_ios_xcode

The directories must be next to each other with the correct directory
names because I use Xcode cross-project dependencies.


Or instead, I also setup a 'super repo' that uses the subrepos feature
of Mercurial, so you can just pull that and everything should
hopefully go to the right place so you don't have to think about it.
Though this contains SDL and the other satellites since I've been
doing iOS stuff that involves them.

hg clone http://hg.assembla.com/sdl-satellites-subrepos

Thanks,
Eric

--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org