gi-gobject 2.0.20 → 2.0.21
raw patch · 4 files changed
+21/−6 lines, 4 filesdep ~haskell-gisetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi
API changes (from Hackage documentation)
- GI.GObject.Interfaces.TypePlugin: instance GI.GObject.Interfaces.TypePlugin.IsTypePlugin GI.GObject.Interfaces.TypePlugin.TypePlugin
+ GI.GObject.Config: overrides :: Text
+ GI.GObject.Interfaces.TypePlugin: instance (Data.GI.Base.BasicTypes.ManagedPtrNewtype o, Data.GI.Base.Overloading.IsDescendantOf GI.GObject.Interfaces.TypePlugin.TypePlugin o) => GI.GObject.Interfaces.TypePlugin.IsTypePlugin o
- GI.GObject.Interfaces.TypePlugin: class ManagedPtrNewtype a => IsTypePlugin a
+ GI.GObject.Interfaces.TypePlugin: class (ManagedPtrNewtype o, IsDescendantOf TypePlugin o) => IsTypePlugin o
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +6/−2
- gi-gobject.cabal +10/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 2.0.21+++ Add support for inherited dependencies+ ### 2.0.20 + Tighten bounds in haskell-gi(-base)
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gobject-2.0.20/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.20/docs/GI-GObject.html)+[https://hackage.haskell.org/package/gi-gobject-2.0.21/docs/GI-GObject.html](https://hackage.haskell.org/package/gi-gobject-2.0.21/docs/GI-GObject.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
@@ -1,11 +1,15 @@ {-# LANGUAGE OverloadedStrings #-} -import Data.GI.CodeGen.CabalHooks (setupHaskellGIBinding)+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..)) +import qualified GI.GLib.Config as GLib++ main :: IO ()-main = setupHaskellGIBinding name version verbose overridesFile outputDir+main = setupBinding name version verbose overridesFile inheritedOverrides outputDir where name = "GObject" version = "2.0" overridesFile = Just "GObject.overrides" verbose = False outputDir = Nothing+ inheritedOverrides = [TaggedOverride "inherited:GLib" GLib.overrides]
gi-gobject.cabal view
@@ -1,5 +1,5 @@ name: gi-gobject-version: 2.0.20+version: 2.0.21 synopsis: GObject bindings description: Bindings for GObject, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,8 @@ custom-setup setup-depends: base >= 4.9 && < 5, Cabal >= 1.24,- haskell-gi >= 0.22.0 && < 0.23+ haskell-gi >= 0.22.5 && < 0.23,+ gi-glib == 2.0.* library default-language: Haskell2010@@ -27,7 +28,7 @@ pkgconfig-depends: gobject-2.0 build-depends: base >= 4.7 && <5, haskell-gi-base >= 0.22.0 && < 0.23,- haskell-gi >= 0.22.0 && < 0.23,+ haskell-gi >= 0.22.5 && < 0.23, haskell-gi-overloading < 1.1, gi-glib == 2.0.*, bytestring >= 0.10 && < 1,@@ -39,6 +40,12 @@ -- see https://ghc.haskell.org/trac/ghc/ticket/14382 if impl(ghc == 8.2.*) build-depends: haskell-gi-overloading == 0.0++ -- Note that the following list of exposed modules and autogen+ -- modules is for documentation purposes only, so that some+ -- documentation appears in hackage. The actual list of modules+ -- to be built will be built at configure time, based on the+ -- available introspection data. exposed-modules: GI.GObject, GI.GObject.Callbacks,