gi-gtksource 3.0.20 → 3.0.21
raw patch · 4 files changed
+37/−6 lines, 4 filesdep ~haskell-gisetup-changedPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: haskell-gi
API changes (from Hackage documentation)
+ GI.GtkSource.Config: overrides :: Text
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +14/−2
- gi-gtksource.cabal +18/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 3.0.21+++ Add support for inherited dependencies+ ### 3.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-gtksource-3.0.20/docs/GI-GtkSource.html](https://hackage.haskell.org/package/gi-gtksource-3.0.20/docs/GI-GtkSource.html)+[https://hackage.haskell.org/package/gi-gtksource-3.0.21/docs/GI-GtkSource.html](https://hackage.haskell.org/package/gi-gtksource-3.0.21/docs/GI-GtkSource.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,23 @@ {-# 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.Gtk.Config as Gtk+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 = "GtkSource" version = "3.0" overridesFile = Just "GtkSource.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:Gtk" Gtk.overrides, TaggedOverride "inherited:Pango" Pango.overrides, TaggedOverride "inherited:Cairo" Cairo.overrides]
gi-gtksource.cabal view
@@ -1,5 +1,5 @@ name: gi-gtksource-version: 3.0.20+version: 3.0.21 synopsis: GtkSource bindings description: Bindings for GtkSource, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,16 @@ 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-gtk == 3.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 +36,7 @@ pkgconfig-depends: gtksourceview-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.*,@@ -47,6 +56,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.GtkSource, GI.GtkSource.Enums,