Hello community, here is the log from the commit of package ghc-gtk for openSUSE:Factory checked in at 2017-11-07 10:00:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-gtk (Old) and /work/SRC/openSUSE:Factory/.ghc-gtk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-gtk" Tue Nov 7 10:00:27 2017 rev:3 rq:539098 version:0.14.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-gtk/ghc-gtk.changes 2017-09-15 21:46:27.378651008 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-gtk.new/ghc-gtk.changes 2017-11-07 10:01:07.619491618 +0100 @@ -1,0 +2,6 @@ +Wed Oct 11 03:02:47 UTC 2017 - psim...@suse.com + +- Update to version 0.14.7. + A more detailed change log is not available. + +------------------------------------------------------------------- Old: ---- gtk-0.14.6.tar.gz New: ---- gtk-0.14.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-gtk.spec ++++++ --- /var/tmp/diff_new_pack.U6mN5G/_old 2017-11-07 10:01:08.907444891 +0100 +++ /var/tmp/diff_new_pack.U6mN5G/_new 2017-11-07 10:01:08.907444891 +0100 @@ -18,7 +18,7 @@ %global pkg_name gtk Name: ghc-%{pkg_name} -Version: 0.14.6 +Version: 0.14.7 Release: 0 Summary: Binding to the Gtk+ graphical user interface library License: LGPL-2.1+ ++++++ gtk-0.14.6.tar.gz -> gtk-0.14.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gtk-0.14.6/Graphics/UI/Gtk/Cairo.chs new/gtk-0.14.7/Graphics/UI/Gtk/Cairo.chs --- old/gtk-0.14.6/Graphics/UI/Gtk/Cairo.chs 2016-10-30 00:54:54.000000000 +0200 +++ new/gtk-0.14.7/Graphics/UI/Gtk/Cairo.chs 2017-09-26 12:08:39.000000000 +0200 @@ -52,11 +52,11 @@ -- * Functions for the 'Render' monad. #if GTK_MAJOR_VERSION < 3 renderWithDrawable, - region, #else getClipRectangle, renderWithDrawWindow, #endif + region, setSourceColor, setSourcePixbuf, rectangle, @@ -171,16 +171,12 @@ cr (castPtr rectPtr) -#if GTK_MAJOR_VERSION < 3 -- | Adds the given region to the current path of the 'Render' context. --- --- Removed in Gtk3. region :: Region -> Render () region region = Render $ do cr <- ask liftIO $ {# call unsafe gdk_cairo_region #} cr region -#endif #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gtk-0.14.6/Graphics/UI/Gtk/Embedding/Types.chs new/gtk-0.14.7/Graphics/UI/Gtk/Embedding/Types.chs --- old/gtk-0.14.6/Graphics/UI/Gtk/Embedding/Types.chs 2016-10-30 00:54:54.000000000 +0200 +++ new/gtk-0.14.7/Graphics/UI/Gtk/Embedding/Types.chs 2017-09-26 12:08:39.000000000 +0200 @@ -42,7 +42,8 @@ #if (defined(HAVE_PLUG_AND_SOCKET) && (!defined(WIN32) || GTK_CHECK_VERSION(2,8,0))) || defined(GDK_WINDOWING_X11) import Foreign.ForeignPtr (ForeignPtr, castForeignPtr) -#if __GLASGOW_HASKELL__ >= 707 +-- TODO work around cpphs https://ghc.haskell.org/trac/ghc/ticket/13553 +#if __GLASGOW_HASKELL__ >= 707 || __GLASGOW_HASKELL__ == 0 import Foreign.ForeignPtr.Unsafe (unsafeForeignPtrToPtr) #else import Foreign.ForeignPtr (unsafeForeignPtrToPtr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gtk-0.14.6/Graphics/UI/Gtk/Gdk/EventM.hsc new/gtk-0.14.7/Graphics/UI/Gtk/Gdk/EventM.hsc --- old/gtk-0.14.6/Graphics/UI/Gtk/Gdk/EventM.hsc 2016-10-30 00:54:54.000000000 +0200 +++ new/gtk-0.14.7/Graphics/UI/Gtk/Gdk/EventM.hsc 2017-09-26 12:08:39.000000000 +0200 @@ -98,6 +98,13 @@ -- you can (and usually have to) use @liftIO@ to execute @IO@ functions. -- +-- * Classes + + HasCoordinates, + HasRootCoordinates, + HasModifier, + HasTime, + -- * Event monad and type tags EventM, EAny, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gtk-0.14.6/Graphics/UI/Gtk/Types.chs new/gtk-0.14.7/Graphics/UI/Gtk/Types.chs --- old/gtk-0.14.6/Graphics/UI/Gtk/Types.chs 2016-10-30 00:54:54.000000000 +0200 +++ new/gtk-0.14.7/Graphics/UI/Gtk/Types.chs 2017-09-26 12:08:39.000000000 +0200 @@ -813,11 +813,13 @@ ) where import Foreign.ForeignPtr (ForeignPtr, castForeignPtr) -#if __GLASGOW_HASKELL__ >= 707 +-- TODO work around cpphs https://ghc.haskell.org/trac/ghc/ticket/13553 +#if __GLASGOW_HASKELL__ >= 707 || __GLASGOW_HASKELL__ == 0 import Foreign.ForeignPtr.Unsafe (unsafeForeignPtrToPtr) #else import Foreign.ForeignPtr (unsafeForeignPtrToPtr) #endif + import Foreign.C.Types (CULong(..), CUInt(..), CULLong(..)) import System.Glib.GType (GType, typeInstanceIsA) {#import System.Glib.GObject#} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gtk-0.14.6/gtk.cabal new/gtk-0.14.7/gtk.cabal --- old/gtk-0.14.6/gtk.cabal 2016-10-30 00:54:54.000000000 +0200 +++ new/gtk-0.14.7/gtk.cabal 2017-09-26 12:08:39.000000000 +0200 @@ -1,5 +1,5 @@ Name: gtk -Version: 0.14.6 +Version: 0.14.7 License: LGPL-2.1 License-file: COPYING Copyright: (c) 2001-2010 The Gtk2Hs Team @@ -135,7 +135,7 @@ custom-setup setup-depends: base >= 4.6, - Cabal >= 1.24 && < 1.25, + Cabal >= 1.24 && < 2.1, gtk2hs-buildtools >= 0.13.2.0 && < 0.14 Library @@ -382,7 +382,7 @@ x-Signals-Import: Graphics.UI.Gtk.General.Threading include-dirs: . cpp-options: -U__BLOCKS__ - if os(darwin) + if os(darwin) || os(freebsd) cpp-options: -D__attribute__(A)= -D_Nullable= -D_Nonnull= if !flag(deprecated) cpp-options: -DDISABLE_DEPRECATED