haskell-gi 0.26.1 → 0.26.2
raw patch · 3 files changed
+10/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
haskell-gi.cabal view
@@ -1,5 +1,5 @@ name: haskell-gi-version: 0.26.1+version: 0.26.2 synopsis: Generate Haskell bindings for GObject Introspection capable libraries description: Generate Haskell bindings for GObject Introspection capable libraries. This includes most notably Gtk+, but many other libraries in the GObject ecosystem provide introspection data too.
lib/Data/GI/CodeGen/ProjectInfo.hs view
@@ -39,7 +39,8 @@ "OverloadedStrings", "NegativeLiterals", "ConstraintKinds", "TypeFamilies", "MultiParamTypeClasses", "KindSignatures", "FlexibleInstances", "UndecidableInstances", "DataKinds",- "FlexibleContexts", "UndecidableSuperClasses"]+ "FlexibleContexts", "UndecidableSuperClasses",+ "TypeOperators"] -- | Extensions that will be used in some modules, but we do not wish -- to turn on by default.@@ -62,7 +63,7 @@ standardDeps :: [Text] standardDeps = ["bytestring >= 0.10 && < 1", "containers >= 0.5 && < 1",- "text >= 1.0 && < 2",+ "text >= 1.0 && < 3", "transformers >= 0.4 && < 1"] -- | Under which category in hackage should the generated bindings be listed.
lib/Data/GI/GIR/Repository.hs view
@@ -49,8 +49,13 @@ then reverse acc : go ys [] else go ys (y : acc) +-- | Return the paths where to look for gir files. girDataDirs :: IO [FilePath]-girDataDirs = getSystemDataDirs "gir-1.0"+girDataDirs = do+ sys <- getSystemDataDirs "gir-1.0"+ -- See https://github.com/haskell-gi/haskell-gi/issues/390+ let macOS = ["/opt/homebrew/share/gir-1.0"]+ return (sys ++ macOS) -- | Construct the GIR search path, possibly looking into the -- @HASKELL_GI_GIR_SEARCH_PATH@ environment variable if no explicit