diff --git a/collects/scribblings/draw/draw.scrbl b/collects/scribblings/draw/draw.scrbl index ebd13ab02b..671a94da5e 100644 --- a/collects/scribblings/draw/draw.scrbl +++ b/collects/scribblings/draw/draw.scrbl @@ -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"] @;------------------------------------------------------------------------ diff --git a/collects/scribblings/draw/libs.scrbl b/collects/scribblings/draw/libs.scrbl new file mode 100644 index 0000000000..655b996029 --- /dev/null +++ b/collects/scribblings/draw/libs.scrbl @@ -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}} +] diff --git a/collects/scribblings/gui/gui.scrbl b/collects/scribblings/gui/gui.scrbl index 177cb15986..fc168cbecf 100644 --- a/collects/scribblings/gui/gui.scrbl +++ b/collects/scribblings/gui/gui.scrbl @@ -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"] @;------------------------------------------------------------------------ diff --git a/collects/scribblings/gui/libs.scrbl b/collects/scribblings/gui/libs.scrbl new file mode 100644 index 0000000000..0cbe730a40 --- /dev/null +++ b/collects/scribblings/gui/libs.scrbl @@ -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} +]