document Unix lib dependencies for racket/draw' and racket/gui/base'

This commit is contained in:
Matthew Flatt 2011-03-28 06:23:14 -06:00
parent 6e1f35a319
commit ad922d545c
4 changed files with 47 additions and 0 deletions

View File

@ -41,6 +41,7 @@ interface, and procedure bindings defined in this manual.}
@include-section["svg-dc-class.scrbl"]
@include-section["draw-funcs.scrbl"]
@include-section["draw-unit.scrbl"]
@include-section["libs.scrbl"]
@;------------------------------------------------------------------------

View File

@ -0,0 +1,25 @@
#lang scribble/doc
@(require "common.ss")
@title[#:tag "libs"]{Platform Dependencies}
Under Windows and Mac OS X, the Racket distribution includes all
necessary libraries that are not part of a stock installation of the
operating system, and the libraries are included in any distribution
created with @exec{raco distribute} (see @secref[#:doc '(lib
"scribblings/raco/raco.scrbl") "exe-dist"]).
Under Unix, the following system libraries must be installed. Numbers
in square brackets indicate a version that is tried first, and if that
fails, the name without the version is tried.
@itemlist[
@item{@filepath{libglib-2.0[.0]}}
@item{@filepath{libgmodule-2.0[.0]}}
@item{@filepath{libgobject-2.0[.0]}}
@item{@filepath{libpango-1.0[.0]}}
@item{@filepath{libpangocairo-1.0[.0]}}
@item{@filepath{libcairo[.2]}}
@item{@filepath{libjpeg[.62]}}
@item{@filepath{libpng12[.0]} or @filepath{libpng}}
]

View File

@ -51,6 +51,7 @@ Both parts of the toolbox rely extensively on the
@include-section["prefs.scrbl"]
@include-section["dynamic.scrbl"]
@include-section["startup.scrbl"]
@include-section["libs.scrbl"]
@;------------------------------------------------------------------------

View File

@ -0,0 +1,20 @@
#lang scribble/doc
@(require "common.ss")
@(define draw-doc '(lib "scribblings/draw/draw.scrbl"))
@title[#:tag "libs"]{Platform Dependencies}
See @secref[#:doc draw-doc "libs"] in @other-manual[draw-doc] for
information on platform library dependencies for
@racketmodname[racket/draw]. Under Unix, the following additional
system libraries must be installed for @racketmodname[racket/gui/base]:
@itemlist[
@item{@filepath{libgdk-x11-2.0[.0]}}
@item{@filepath{libgdk_pixbuf-2.0[.0]}}
@item{@filepath{libgtk-x11-2.0[.0]}}
@item{@filepath{libgdkglext-x11-1.0[.0]} --- optional, for OpenGL support}
@item{@filepath{libgtkglext-x11-1.0[.0]} --- optional, for OpenGL support}
@item{@filepath{libunique-1.0[.0]} --- optional, for single-instance support}
]