1Name: pango 2Version: 0.13.8.1 3License: LGPL-2.1 4License-file: COPYING 5Copyright: (c) 2001-2010 The Gtk2Hs Team 6Author: Axel Simon, Duncan Coutts 7Maintainer: gtk2hs-users@lists.sourceforge.net 8Build-Type: Custom 9Cabal-Version: >= 1.24 10Stability: stable 11homepage: http://projects.haskell.org/gtk2hs/ 12bug-reports: https://github.com/gtk2hs/gtk2hs/issues 13Synopsis: Binding to the Pango text rendering engine. 14Description: This package provides a wrapper around the Pango C library that 15 allows high-quality rendering of Unicode text. It can be used 16 either with Cairo to output text in PDF, PS or other 17 documents or with Gtk+ to display text on-screen. 18Category: Graphics 19Tested-With: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.1 20extra-source-files: template-hsc-gtk2hs.h 21 hspango.h 22 hierarchy.list 23 24x-Types-File: Graphics/Rendering/Pango/Types.chs 25x-Types-ModName: Graphics.Rendering.Pango.Types 26x-Types-Forward: *System.Glib.GObject 27x-Types-Hierarchy: hierarchy.list 28 29Data-Dir: demo 30Data-Files: Layout.hs 31 Makefile 32 33Source-Repository head 34 type: git 35 location: https://github.com/gtk2hs/gtk2hs 36 subdir: pango 37 38Flag new-exception 39 Description: Enable build with a base library that contains the new exception library. 40 41custom-setup 42 setup-depends: base >= 4.6, 43 Cabal >= 1.24 && < 3.3, 44 filepath >= 1.3 && < 1.5, 45 gtk2hs-buildtools >= 0.13.2.0 && < 0.14 46 47Library 48 build-depends: base >= 4 && < 5, 49 process, directory, array, containers, pretty, mtl, 50 glib >= 0.13.0.0 && < 0.14, 51 cairo >= 0.13.0.0 && < 0.14, 52 text >= 0.11.0.6 && < 1.3 53 54 if flag(new-exception) 55 build-depends: base >= 4 56 cpp-options: -DHAVE_NEW_CONTROL_EXCEPTION 57 else 58 build-depends: base < 4 59 60 exposed-modules: Graphics.Rendering.Pango 61 Graphics.Rendering.Pango.Font 62 Graphics.Rendering.Pango.Enums 63 Graphics.Rendering.Pango.Context 64 Graphics.Rendering.Pango.Layout 65 Graphics.Rendering.Pango.Rendering 66 Graphics.Rendering.Pango.Markup 67 Graphics.Rendering.Pango.Cairo 68 -- these four modules are only used in code that creates 69 -- Pango data structures themselves 70 Graphics.Rendering.Pango.Types 71 Graphics.Rendering.Pango.BasicTypes 72 Graphics.Rendering.Pango.Structs 73 Graphics.Rendering.Pango.Attributes 74 other-modules: Graphics.Rendering.Pango.GlyphStorage 75 Graphics.Rendering.Pango.Description 76 default-language: Haskell98 77 default-extensions: ForeignFunctionInterface 78 x-c2hs-Header: hspango.h 79 includes: hspango.h 80 include-dirs: . 81 cpp-options: -U__BLOCKS__ -DGLIB_DISABLE_DEPRECATION_WARNINGS 82 if os(darwin) || os(freebsd) || os(dragonfly) 83 cpp-options: -D_Nullable= -D_Nonnull= -D_Noreturn= -D_Bool=int -D__attribute__(x)= 84 if os(windows) 85 cpp-options: -D__USE_MINGW_ANSI_STDIO=1 86 -- Pango 1.26 has a mysterious bug that makes it go into an infinite 87 -- loop. Don't allow the user to build against this version. (Omit the 88 -- >= 1.0 constraint in this case since Cabal 1.6 can't parse it.) 89 if os(darwin) || os(freebsd) || os(dragonfly) 90 pkgconfig-depends: pango < 1.26.0 || > 1.26.2 91 else 92 pkgconfig-depends: pango >= 1.0 93 pkgconfig-depends: cairo >= 1.2.0, pangocairo >= 1.10 94 95