Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-vty for openSUSE:Factory checked 
in at 2024-03-20 21:14:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-vty.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-vty"

Wed Mar 20 21:14:30 2024 rev:15 rq:1157271 version:6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vty/ghc-vty.changes  2024-01-10 
21:51:42.938918692 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vty.new.1905/ghc-vty.changes        
2024-03-20 21:16:34.514944248 +0100
@@ -1,0 +2,9 @@
+Sun Jan 21 16:45:59 UTC 2024 - Peter Simons <[email protected]>
+
+- Update vty to version 6.2.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/vty-6.2/src/CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  vty-6.1.tar.gz
  vty.cabal

New:
----
  vty-6.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-vty.spec ++++++
--- /var/tmp/diff_new_pack.LI1nwB/_old  2024-03-20 21:16:35.750990571 +0100
+++ /var/tmp/diff_new_pack.LI1nwB/_new  2024-03-20 21:16:35.754990721 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-vty
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
 %global pkg_name vty
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        6.1
+Version:        6.2
 Release:        0
 Summary:        A simple terminal UI library
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-prof
@@ -45,8 +44,6 @@
 BuildRequires:  ghc-microlens-mtl-devel
 BuildRequires:  ghc-microlens-mtl-prof
 BuildRequires:  ghc-microlens-prof
-BuildRequires:  ghc-microlens-th-devel
-BuildRequires:  ghc-microlens-th-prof
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-parsec-devel
@@ -107,7 +104,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ vty-6.1.tar.gz -> vty-6.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-6.1/CHANGELOG.md new/vty-6.2/CHANGELOG.md
--- old/vty-6.1/CHANGELOG.md    2001-09-09 03:46:40.000000000 +0200
+++ new/vty-6.2/CHANGELOG.md    2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,14 @@
 
+6.2
+---
+
+Package changes:
+* Update version bounds to support building with GHC 9.8
+
+Bug fixes:
+* Updated `PictureToSpans` module to implement its lenses manually to
+  avoid template haskell which has trouble on Windows and GHC 9.2 (#271)
+
 6.1
 ---
 
@@ -45,6 +55,9 @@
    modules.
 4. If desired, call `Graphics.Vty.Config.userConfig` to load the Vty
    user configuration since this step is no longer automatic.
+5. Some configurations have been moved to `Graphics.Vty.Output`. For 
+   example, `mouseMode` is no longer a field in `VtyUserConfig`. 
+   Instead, use `setMode` to enable it.
 
 For applications using more of Vty's API than just the basic
 initialization and rendering API, the full change list is provided
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-6.1/src/Graphics/Vty/PictureToSpans.hs 
new/vty-6.2/src/Graphics/Vty/PictureToSpans.hs
--- old/vty-6.1/src/Graphics/Vty/PictureToSpans.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/vty-6.2/src/Graphics/Vty/PictureToSpans.hs      2001-09-09 
03:46:40.000000000 +0200
@@ -3,7 +3,6 @@
 {-# LANGUAGE ExistentialQuantification #-}
 {-# LANGUAGE NamedFieldPuns #-}
 {-# LANGUAGE RankNTypes #-}
-{-# LANGUAGE TemplateHaskell #-}
 
 -- | Transforms an image into rows of operations.
 module Graphics.Vty.PictureToSpans
@@ -19,7 +18,6 @@
 
 import Lens.Micro
 import Lens.Micro.Mtl
-import Lens.Micro.TH
 import Control.Monad
 import Control.Monad.Reader
 import Control.Monad.State.Strict hiding ( state )
@@ -55,14 +53,34 @@
     , _remainingRows :: Int
     }
 
-makeLenses ''BlitState
+columnOffset :: Lens' BlitState Int
+columnOffset = lens _columnOffset (\e v -> e { _columnOffset = v })
+
+rowOffset :: Lens' BlitState Int
+rowOffset = lens _rowOffset (\e v -> e { _rowOffset = v })
+
+skipColumns :: Lens' BlitState Int
+skipColumns = lens _skipColumns (\e v -> e { _skipColumns = v })
+
+skipRows :: Lens' BlitState Int
+skipRows = lens _skipRows (\e v -> e { _skipRows = v })
+
+remainingColumns :: Lens' BlitState Int
+remainingColumns = lens _remainingColumns (\e v -> e { _remainingColumns = v })
+
+remainingRows :: Lens' BlitState Int
+remainingRows = lens _remainingRows (\e v -> e { _remainingRows = v })
 
 data BlitEnv s = BlitEnv
     { _region :: DisplayRegion
     , _mrowOps :: MRowOps s
     }
 
-makeLenses ''BlitEnv
+region :: Lens' (BlitEnv s) DisplayRegion
+region = lens _region (\e r -> e { _region = r })
+
+mrowOps :: Lens' (BlitEnv s) (MRowOps s)
+mrowOps = lens _mrowOps (\e r -> e { _mrowOps = r })
 
 type BlitM s a = ReaderT (BlitEnv s) (StateT BlitState (ST s)) a
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vty-6.1/vty.cabal new/vty-6.2/vty.cabal
--- old/vty-6.1/vty.cabal       2001-09-09 03:46:40.000000000 +0200
+++ new/vty-6.2/vty.cabal       2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:                vty
-version:             6.1
+version:             6.2
 license:             BSD3
 license-file:        LICENSE
 author:              AUTHORS
@@ -44,10 +44,9 @@
   build-depends:       base >= 4.8 && < 5,
                        blaze-builder >= 0.3.3.2 && < 0.5,
                        bytestring,
-                       deepseq >= 1.1 && < 1.5,
+                       deepseq >= 1.1 && < 1.6,
                        microlens < 0.4.14,
                        microlens-mtl,
-                       microlens-th,
                        mtl >= 1.1.1.0 && < 2.4,
                        stm,
                        text >= 0.11.3,

Reply via email to