along with this plugin; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+mit-scheme-pucked-pango 0.6 - Matt Birkholz, 2018-03-16
+=======================================================
+
+Require the use of with-glib-lock. Bindings should now be found in
+the (pango) package; they are not exported to the global package.
+Color procedures formerly in (glib) are now gathered here.
+
mit-scheme-pucked-pango 0.5 - Matt Birkholz, 2016-06-12
=======================================================
AC_PREREQ([2.69])
AC_INIT([MIT/GNU Scheme Pucked pango plugin],
- [0.5],
+ [0.6],
[matt@birchwood-abbey.net],
[mit-scheme-pucked-pango])
AC_CONFIG_SRCDIR([pango.pkg])
+mit-scheme-pucked-pango (0.6) birchwood; urgency=low
+
+ * Require the use of with-glib-lock. Bindings should now be found
+ in the (pango) package; they are not exported to the global
+ package. Color procedures formerly in (glib) are now gathered
+ here.
+
+ -- Matt Birkholz <matt@birchwood-abbey.net> Fri, 16 Mar 2018 00:00:00 -0700
+
mit-scheme-pucked-pango (0.5) birchwood; urgency=low
* Initial Debianization.
(with-loader-base-uri (system-library-uri "pango/")
(lambda ()
(load-package-set "pango")))
-(add-subsystem-identification! "Pango" '(0 5))
\ No newline at end of file
+(add-subsystem-identification! "Pango" '(0 6))
\ No newline at end of file
(global-definitions glib/)
(define-package (pango)
- (parent (glib))
+ (parent (glib)))
+
+(define-package (pango internal)
+ (parent (pango))
(files "pango")
;;(depends-on "../glib/glib.ext")
- (export ()
+ (export (pango)
color? make-color color-red color-green color-blue color-alpha
set-color-red! set-color-green! set-color-blue! set-color-alpha!
make-rgba-color guarantee-color
->color pango-color-parse
- <pango-layout>
+ <pango-layout> guarantee-pango-layout
pango-layout-get-context
pango-layout-context-changed
pango-layout-get-font-description
dropped and collected, the toolkit resource is freed, just as the
C/Unix FFI's malloced aliens are automatically freed.
+The Pango library is built ``on top'' of GLib, which is not ready for
+multiple threads. To ensure that just one Scheme thread is ``in'' the
+toolkits, the @code{with-glib-lock} procedure should be used, else
+every callout will write a warning line to stderr.
+@xref{with-glib-lock, , , glib, GLib Plugin Manual}.
+
@node API Reference, GNU Free Documentation License, Introduction, Top
@chapter API Reference
-All of the Pango system's public bindings are exported to the global
-environment and are described here.
+All of the Pango system's public bindings can be found in the
+@code{(pango)} package and are described here.
PangoLayouts are GObjects and so are represented by instances of a new
subclass of @code{<gobject>}: @code{<pango-layout>}s. Other Pango