commit ghc-gtk for openSUSE:Factory

2017-11-07 Thread root
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.chs2016-10-30 00:54:54.0 
+0200
+++ new/gtk-0.14.7/Graphics/UI/Gtk/Cairo.chs2017-09-26 12:08:39.0 
+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.0 +0200
+++ new/gtk-0.14.7/Graphics/UI/Gtk/Embedding/Types.chs  2017-09-26 
12:08:39.0 +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.0 +0200
+++ new/gtk-0.14.7/Graphics/UI/Gtk/Gdk/EventM.hsc   2017-09-26 
12:08:39.0 +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.chs2016-10-30 00:54:54.0 
+0200
+++ new/gtk-0.14.7/Graphics/UI/Gtk/Types.chs2017-09-26 12:08:39.0 
+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.cabal2016-10-30 

commit ghc-gtk for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-gtk for openSUSE:Factory checked 
in at 2017-09-15 21:46:26

Comparing /work/SRC/openSUSE:Factory/ghc-gtk (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-gtk.new (New)


Package is "ghc-gtk"

Fri Sep 15 21:46:26 2017 rev:2 rq:524701 version:0.14.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-gtk/ghc-gtk.changes  2017-05-09 
18:07:06.767292986 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-gtk.new/ghc-gtk.changes 2017-09-15 
21:46:27.378651008 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-gtk.spec ++
--- /var/tmp/diff_new_pack.tEz6hs/_old  2017-09-15 21:46:28.010561987 +0200
+++ /var/tmp/diff_new_pack.tEz6hs/_new  2017-09-15 21:46:28.014561425 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:Binding to the Gtk+ graphical user interface library
 License:LGPL-2.1+
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  ghc-Cabal-devel
@@ -41,7 +41,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gthread-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This is the core library of the Gtk2Hs suite of libraries for Haskell based on
@@ -50,7 +49,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires:   pkgconfig
@@ -80,7 +79,6 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc COPYING
 %dir %{_datadir}/%{pkg_name}-%{version}
 %dir %{_datadir}/%{pkg_name}-%{version}/actionMenu
@@ -163,6 +161,5 @@
 %{_datadir}/%{pkg_name}-%{version}/demos.txt
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog