diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+### 3.0.3
+
++ Update stack version to 12.10
+
 ### 3.0.2
 
 + Remove enable-overloading flags, and use instead explicit CPP checks for 'haskell-gi-overloading-1.0', see [how to disable overloading](https://github.com/haskell-gi/haskell-gi/wiki/Overloading\#disabling-overloading).
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,3 +1,17 @@
+The gi-gdkx11 library and included works are provided under the terms of the
+GNU Library General Public License (LGPL) version 2.1 with the following
+exception:
+
+Static linking of applications or any other source to the gi-gdkx11 library
+does not constitute a modified or derivative work and does not require
+the author(s) to provide source code for said work, to link against the
+shared gi-gdkx11 libraries, or to link their applications against a
+user-supplied version of gi-gdkx11. If you link applications to a modified
+version of gi-gdkx11, then the changes to gi-gdkx11 must be provided under the
+terms of the LGPL.
+
+----------------------------------------------------------------------------
+
                   GNU LESSER GENERAL PUBLIC LICENSE
                        Version 2.1, February 1999
 
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Documentation
 Autogenerated documentation for this package can be found at
 
-[https://hackage.haskell.org/package/gi-gdkx11-3.0.2/docs/GI-GdkX11.html](https://hackage.haskell.org/package/gi-gdkx11-3.0.2/docs/GI-GdkX11.html)
+[https://hackage.haskell.org/package/gi-gdkx11-3.0.4/docs/GI-GdkX11.html](https://hackage.haskell.org/package/gi-gdkx11-3.0.4/docs/GI-GdkX11.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).
diff --git a/gi-gdkx11.cabal b/gi-gdkx11.cabal
--- a/gi-gdkx11.cabal
+++ b/gi-gdkx11.cabal
@@ -1,5 +1,5 @@
 name:                 gi-gdkx11
-version:              3.0.2
+version:              3.0.4
 synopsis:             GdkX11 bindings
 description:          Bindings for GdkX11, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -9,14 +9,14 @@
 maintainer:           Iñaki García Etxebarria (garetxe@gmail.com)
 category:             Bindings
 build-type:           Custom
-cabal-version:        >= 1.24
+cabal-version:        1.24
 
 extra-source-files: README.md ChangeLog.md stack.yaml GdkX11.overrides
 
 custom-setup
       setup-depends: base >= 4.7 && < 5,
                      Cabal >= 1.24,
-                     haskell-gi == 0.21.*
+                     haskell-gi >= 0.21.1 && < 0.22
 
 library
       default-language: Haskell2010
@@ -27,11 +27,12 @@
       pkgconfig-depends: gdk-x11-3.0 >= 3.22
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base == 0.21.*,
-                     haskell-gi == 0.21.*,
+                     haskell-gi >= 0.21.1 && < 0.22,
                      haskell-gi-overloading < 1.1,
                      gi-gobject == 2.0.*,
                      gi-gdk == 3.0.*,
                      gi-gio == 2.0.*,
+                     gi-cairo == 1.0.*,
                      gi-xlib == 2.0.*,
                      bytestring >= 0.10 && < 1,
                      containers >= 0.5 && < 1,
diff --git a/stack.yaml b/stack.yaml
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,3 +1,3 @@
 packages:
 - '.'
-resolver: lts-9.21
+resolver: lts-12.10
