gi-gtk 3.0.30 → 3.0.31
raw patch · 4 files changed
+35/−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.Gtk.Interfaces.CellAccessibleParent: instance GI.Gtk.Interfaces.CellAccessibleParent.IsCellAccessibleParent GI.Gtk.Interfaces.CellAccessibleParent.CellAccessibleParent
- GI.Gtk.Interfaces.StyleProvider: instance GI.Gtk.Interfaces.StyleProvider.IsStyleProvider GI.Gtk.Interfaces.StyleProvider.StyleProvider
- GI.Gtk.Interfaces.TreeDragDest: instance GI.Gtk.Interfaces.TreeDragDest.IsTreeDragDest GI.Gtk.Interfaces.TreeDragDest.TreeDragDest
- GI.Gtk.Interfaces.TreeDragSource: instance GI.Gtk.Interfaces.TreeDragSource.IsTreeDragSource GI.Gtk.Interfaces.TreeDragSource.TreeDragSource
+ GI.Gtk.Config: overrides :: Text
+ GI.Gtk.Interfaces.CellAccessibleParent: instance (Data.GI.Base.BasicTypes.ManagedPtrNewtype o, Data.GI.Base.Overloading.IsDescendantOf GI.Gtk.Interfaces.CellAccessibleParent.CellAccessibleParent o) => GI.Gtk.Interfaces.CellAccessibleParent.IsCellAccessibleParent o
+ GI.Gtk.Interfaces.StyleProvider: instance (Data.GI.Base.BasicTypes.ManagedPtrNewtype o, Data.GI.Base.Overloading.IsDescendantOf GI.Gtk.Interfaces.StyleProvider.StyleProvider o) => GI.Gtk.Interfaces.StyleProvider.IsStyleProvider o
+ GI.Gtk.Interfaces.TreeDragDest: instance (Data.GI.Base.BasicTypes.ManagedPtrNewtype o, Data.GI.Base.Overloading.IsDescendantOf GI.Gtk.Interfaces.TreeDragDest.TreeDragDest o) => GI.Gtk.Interfaces.TreeDragDest.IsTreeDragDest o
+ GI.Gtk.Interfaces.TreeDragSource: instance (Data.GI.Base.BasicTypes.ManagedPtrNewtype o, Data.GI.Base.Overloading.IsDescendantOf GI.Gtk.Interfaces.TreeDragSource.TreeDragSource o) => GI.Gtk.Interfaces.TreeDragSource.IsTreeDragSource o
- GI.Gtk.Interfaces.CellAccessibleParent: class ManagedPtrNewtype a => IsCellAccessibleParent a
+ GI.Gtk.Interfaces.CellAccessibleParent: class (ManagedPtrNewtype o, IsDescendantOf CellAccessibleParent o) => IsCellAccessibleParent o
- GI.Gtk.Interfaces.StyleProvider: class ManagedPtrNewtype a => IsStyleProvider a
+ GI.Gtk.Interfaces.StyleProvider: class (ManagedPtrNewtype o, IsDescendantOf StyleProvider o) => IsStyleProvider o
- GI.Gtk.Interfaces.TreeDragDest: class ManagedPtrNewtype a => IsTreeDragDest a
+ GI.Gtk.Interfaces.TreeDragDest: class (ManagedPtrNewtype o, IsDescendantOf TreeDragDest o) => IsTreeDragDest o
- GI.Gtk.Interfaces.TreeDragSource: class ManagedPtrNewtype a => IsTreeDragSource a
+ GI.Gtk.Interfaces.TreeDragSource: class (ManagedPtrNewtype o, IsDescendantOf TreeDragSource o) => IsTreeDragSource o
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +13/−2
- gi-gtk.cabal +17/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 3.0.31+++ Add support for inherited dependencies+ ### 3.0.30 + 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-gtk-3.0.30/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-3.0.30/docs/GI-Gtk.html)+[https://hackage.haskell.org/package/gi-gtk-3.0.31/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-3.0.31/docs/GI-Gtk.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,22 @@ {-# LANGUAGE OverloadedStrings #-} -import Data.GI.CodeGen.CabalHooks (setupHaskellGIBinding)+import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..)) +import qualified GI.Atk.Config as Atk+import qualified GI.GLib.Config as GLib+import qualified GI.GObject.Config as GObject+import qualified GI.Gdk.Config as Gdk+import qualified GI.GdkPixbuf.Config as GdkPixbuf+import qualified GI.Gio.Config as Gio+import qualified GI.Pango.Config as Pango+import qualified GI.Cairo.Config as Cairo++ main :: IO ()-main = setupHaskellGIBinding name version verbose overridesFile outputDir+main = setupBinding name version verbose overridesFile inheritedOverrides outputDir where name = "Gtk" version = "3.0" overridesFile = Just "Gtk.overrides" verbose = False outputDir = Nothing+ inheritedOverrides = [TaggedOverride "inherited:Atk" Atk.overrides, TaggedOverride "inherited:GLib" GLib.overrides, TaggedOverride "inherited:GObject" GObject.overrides, TaggedOverride "inherited:Gdk" Gdk.overrides, TaggedOverride "inherited:GdkPixbuf" GdkPixbuf.overrides, TaggedOverride "inherited:Gio" Gio.overrides, TaggedOverride "inherited:Pango" Pango.overrides, TaggedOverride "inherited:Cairo" Cairo.overrides]
gi-gtk.cabal view
@@ -1,5 +1,5 @@ name: gi-gtk-version: 3.0.30+version: 3.0.31 synopsis: Gtk bindings description: Bindings for Gtk, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,15 @@ 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-cairo == 1.0.*,+ gi-pango == 1.0.*,+ gi-gio == 2.0.*,+ gi-gdkpixbuf == 2.0.*,+ gi-gdk == 3.0.*,+ gi-gobject == 2.0.*,+ gi-glib == 2.0.*,+ gi-atk == 2.0.* library default-language: Haskell2010@@ -27,7 +35,7 @@ pkgconfig-depends: gtk+-3.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-cairo == 1.0.*, gi-pango == 1.0.*,@@ -46,6 +54,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.Gtk, GI.Gtk.Callbacks,