1Name: cairo 2Version: 0.13.8.1 3License: BSD3 4License-file: COPYRIGHT 5Copyright: (c) 2001-2010 The Gtk2Hs Team, (c) Paolo Martini 2005, (c) Abraham Egnor 2003, 2004, (c) Aetion Technologies LLC 2004 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 Cairo library. 14Description: Cairo is a library to render high quality vector graphics. There 15 exist various backends that allows rendering to Gtk windows, PDF, 16 PS, PNG and SVG documents, amongst others. 17Category: Graphics 18Tested-With: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.1 19extra-source-files: cairo-gtk2hs.h 20 21Data-Dir: demo 22Data-Files: cairo-clock-icon.png 23 gtk2/CairoGhci.hs 24 gtk2/Clock.hs 25 gtk2/Drawing2.hs 26 gtk2/Drawing.hs 27 gtk2/Graph.hs 28 gtk2/Makefile 29 gtk2/StarAndRing.hs 30 gtk2/Text.hs 31 gtk3/CairoGhci.hs 32 gtk3/Clock.hs 33 gtk3/Drawing2.hs 34 gtk3/Drawing.hs 35 gtk3/Graph.hs 36 gtk3/Makefile 37 gtk3/StarAndRing.hs 38 gtk3/Text.hs 39 40Source-Repository head 41 type: git 42 location: https://github.com/gtk2hs/gtk2hs 43 subdir: cairo 44 45Flag cairo_pdf 46 Description: Build the PDF backend of Cairo. 47 48Flag cairo_ps 49 Description: Build the PostScript backend of Cairo. 50 51Flag cairo_svg 52 Description: Build the Scalable Vector Graphics (SVG) backend of Cairo. 53 54custom-setup 55 setup-depends: base >= 4.6, 56 Cabal >= 1.24 && < 3.3, 57 gtk2hs-buildtools >= 0.13.2.0 && < 0.14 58 59Library 60 build-depends: base >= 4.8 && < 5, 61 utf8-string >= 0.2 && < 1.1, 62 text >= 1.0.0.0 && < 1.3, 63 bytestring, mtl, array 64 exposed-modules: Graphics.Rendering.Cairo 65 Graphics.Rendering.Cairo.Matrix 66 Graphics.Rendering.Cairo.Types 67 -- this module is only meant to be used by other 68 -- modules implementing a Cairo interface 69 Graphics.Rendering.Cairo.Internal 70 other-modules: 71 Graphics.Rendering.Cairo.Internal.Drawing.Cairo 72 Graphics.Rendering.Cairo.Internal.Drawing.Paths 73 Graphics.Rendering.Cairo.Internal.Drawing.Patterns 74 Graphics.Rendering.Cairo.Internal.Drawing.Text 75 Graphics.Rendering.Cairo.Internal.Drawing.Transformations 76 Graphics.Rendering.Cairo.Internal.Fonts.FontOptions 77 Graphics.Rendering.Cairo.Internal.Surfaces.Image 78 Graphics.Rendering.Cairo.Internal.Surfaces.PNG 79 Graphics.Rendering.Cairo.Internal.Surfaces.Surface 80 Graphics.Rendering.Cairo.Internal.Utilities 81 Graphics.Rendering.Cairo.Internal.Surfaces.PDF 82 Graphics.Rendering.Cairo.Internal.Surfaces.PS 83 Graphics.Rendering.Cairo.Internal.Surfaces.SVG 84 Graphics.Rendering.Cairo.Internal.Region 85 default-language: Haskell98 86 default-extensions: ForeignFunctionInterface 87 Include-dirs: . 88 x-c2hs-Header: cairo-gtk2hs.h 89 pkgconfig-depends: cairo >= 1.2.0 90 if flag(cairo_pdf) 91 pkgconfig-depends: cairo-pdf 92 if flag(cairo_ps) 93 pkgconfig-depends: cairo-ps 94 if flag(cairo_svg) 95 pkgconfig-depends: cairo-svg 96 if os(darwin) || os(freebsd) || os(dragonfly) 97 cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull= -D_Noreturn= -D_Bool=int 98