gi-pangocairo 1.0.24 → 1.0.25
raw patch · 4 files changed
+13/−7 lines, 4 filesdep ~haskell-gidep ~haskell-gi-basesetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi, haskell-gi-base
API changes (from Hackage documentation)
- GI.PangoCairo.Interfaces.Font: instance Data.GI.Base.GValue.IsGValue GI.PangoCairo.Interfaces.Font.Font
- GI.PangoCairo.Interfaces.FontMap: instance Data.GI.Base.GValue.IsGValue GI.PangoCairo.Interfaces.FontMap.FontMap
+ GI.PangoCairo.Callbacks: drop_closures_ShapeRendererFunc :: ShapeRendererFunc -> ShapeRendererFunc_WithClosures
+ GI.PangoCairo.Callbacks: noShapeRendererFunc_WithClosures :: Maybe ShapeRendererFunc_WithClosures
+ GI.PangoCairo.Callbacks: type ShapeRendererFunc_WithClosures = Context " /@cr@/: a Cairo context with current point set to where the shape should be rendered" -> AttrShape " /@attr@/: the 'GI.Pango.Enums.AttrTypeShape' to render" -> Bool " /@doPath@/: whether only the shape path should be appended to current path of /@cr@/ and no filling\/stroking done. This will be set to 'P.True' when called from 'GI.PangoCairo.Functions.layoutPath' and 'GI.PangoCairo.Functions.layoutLinePath' rendering functions." -> Ptr () " /@data@/: user data passed to 'GI.PangoCairo.Functions.contextSetShapeRenderer'" -> IO ()
+ GI.PangoCairo.Interfaces.Font: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.PangoCairo.Interfaces.Font.Font)
+ GI.PangoCairo.Interfaces.FontMap: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.PangoCairo.Interfaces.FontMap.FontMap)
- GI.PangoCairo.Callbacks: type ShapeRendererFunc = Context " /@cr@/: a Cairo context with current point set to where the shape should be rendered" -> AttrShape " /@attr@/: the 'GI.Pango.Enums.AttrTypeShape' to render" -> Bool " /@doPath@/: whether only the shape path should be appended to current path of /@cr@/ and no filling\/stroking done. This will be set to 'P.True' when called from 'GI.PangoCairo.Functions.layoutPath' and 'GI.PangoCairo.Functions.layoutLinePath' rendering functions." -> Ptr () " /@data@/: user data passed to 'GI.PangoCairo.Functions.contextSetShapeRenderer'" -> IO ()
+ GI.PangoCairo.Callbacks: type ShapeRendererFunc = Context " /@cr@/: a Cairo context with current point set to where the shape should be rendered" -> AttrShape " /@attr@/: the 'GI.Pango.Enums.AttrTypeShape' to render" -> Bool " /@doPath@/: whether only the shape path should be appended to current path of /@cr@/ and no filling\/stroking done. This will be set to 'P.True' when called from 'GI.PangoCairo.Functions.layoutPath' and 'GI.PangoCairo.Functions.layoutLinePath' rendering functions." -> IO ()
- GI.PangoCairo.Callbacks: wrap_ShapeRendererFunc :: Maybe (Ptr (FunPtr C_ShapeRendererFunc)) -> ShapeRendererFunc -> C_ShapeRendererFunc
+ GI.PangoCairo.Callbacks: wrap_ShapeRendererFunc :: Maybe (Ptr (FunPtr C_ShapeRendererFunc)) -> ShapeRendererFunc_WithClosures -> C_ShapeRendererFunc
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +3/−1
- gi-pangocairo.cabal +5/−5
ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.25+++ Update to haskell-gi(-base)-0.25+ ### 1.0.24 + Upgrade to haskell-gi-base-0.24
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-pangocairo-1.0.24/docs/GI-PangoCairo.html](https://hackage.haskell.org/package/gi-pangocairo-1.0.24/docs/GI-PangoCairo.html)+[https://hackage.haskell.org/package/gi-pangocairo-1.0.25/docs/GI-PangoCairo.html](https://hackage.haskell.org/package/gi-pangocairo-1.0.25/docs/GI-PangoCairo.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -9,9 +9,11 @@ main :: IO ()-main = setupBinding name version verbose overridesFile inheritedOverrides outputDir+main = setupBinding name version pkgName pkgVersion verbose overridesFile inheritedOverrides outputDir where name = "PangoCairo" version = "1.0"+ pkgName = "gi-pangocairo"+ pkgVersion = "1.0.25" overridesFile = Just "PangoCairo.overrides" verbose = False outputDir = Nothing
gi-pangocairo.cabal view
@@ -1,5 +1,5 @@ name: gi-pangocairo-version: 1.0.24+version: 1.0.25 synopsis: PangoCairo bindings description: Bindings for PangoCairo, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -9,14 +9,14 @@ maintainer: Iñaki García Etxebarria category: Bindings build-type: Custom-cabal-version: 1.24+cabal-version: 2.0 extra-source-files: README.md ChangeLog.md stack.yaml PangoCairo.overrides custom-setup setup-depends: base >= 4.9 && < 5, Cabal >= 1.24,- haskell-gi >= 0.24 && < 0.25,+ haskell-gi >= 0.25 && < 0.26, gi-cairo == 1.0.*, gi-pango == 1.0.*, gi-gobject == 2.0.*,@@ -30,8 +30,8 @@ pkgconfig-depends: pangocairo >= 1.0 && < 2 build-depends: base >= 4.7 && <5,- haskell-gi-base >= 0.24 && < 0.25,- haskell-gi >= 0.24.0 && < 0.25,+ haskell-gi-base >= 0.25 && < 0.26,+ haskell-gi >= 0.25 && < 0.26, haskell-gi-overloading < 1.1, gi-cairo == 1.0.*, gi-pango == 1.0.*,