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-01-10 21:51:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-vty.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-vty"

Wed Jan 10 21:51:23 2024 rev:14 rq:1137778 version:6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vty/ghc-vty.changes  2023-11-23 
21:43:08.428999237 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vty.new.21961/ghc-vty.changes       
2024-01-10 21:51:42.938918692 +0100
@@ -1,0 +2,138 @@
+Wed Nov 15 16:12:34 UTC 2023 - Peter Simons <[email protected]>
+
+- Update vty to version 6.1 revision 1.
+  6.1
+  ---
+
+  API changes:
+  * `ColorMode` got a `Read` instance.
+  * The `Config` type got a new `configPreferredColorMode` field for
+    specifying a preferred `ColorMode`. Backend packages should respect
+    this field, but note that `vty` itself does not (and cannot) enact
+    this preference since it's up to the backend driver to configure the
+    color mode.
+  * The Vty configuration file got a new `colorMode` field whose value is
+    a string literal compatible with the `ColorMode` `Read` instance.
+
+  6.0
+  ---
+
+  This release marks the beginning of multi-platform support in Vty.
+  Getting to this point involved removing Unix-specific functionality
+  from Vty and moving it to a new package, `vty-unix`. Windows support
+  is now provided via a `vty-windows` package. Another new package,
+  `vty-crossplatform`, is provided as a convenience for applications that
+  want to support both Unix and Windows platforms automatically at build
+  time. See the migration guide below for details on how to upgrade.
+
+  **Migration guide for 6.0**
+
+  To upgrade to this version of Vty, most people will only need to take a
+  few steps:
+
+  1. Add a package dependency on `vty-unix`, `vty-windows,` or
+     `vty-crossplatform`, depending on the desired level of platform
+     support. For example, if an application only supports Unix systems,
+     it should depend on `vty-unix`. But if an application is intended to
+     work anywhere Vty works, then `vty-crossplatform` is the best choice.
+  2. Import `mkVty` from the platform package in step (1). (`mkVty` was
+     removed from the `vty` package and is now the responsibility of each
+     platform package.) Imports are as follows:
+     * `vty-unix`: `Graphics.Vty.Platform.Unix`
+     * `vty-windows`: `Graphics.Vty.Platform.Windows`
+     * `vty-crossplatform`: `Graphics.Vty.CrossPlatform`
+  3. Maintain any existing package dependency on `vty`; the core library
+     abstractions, types, and functions are still obtained from `vty`
+     itself. The platform packages do not re-export the core library's
+     modules.
+  4. If desired, call `Graphics.Vty.Config.userConfig` to load the Vty
+     user configuration since this step is no longer automatic.
+
+  For applications using more of Vty's API than just the basic
+  initialization and rendering API, the full change list is provided
+  below. For people who want to write their own Vty platform package like
+  `vty-unix`, see `PLATFORM-HOWTO.md`.
+
+  **Detailed change list for 6.0**
+
+  * Package changes:
+    * The following modules got added to the `vty` library:
+      * `Graphics.Vty.UnicodeWidthTable.Main`
+    * The following modules got moved to `vty-unix`:
+      * `Data.Terminfo.Eval`
+      * `Data.Terminfo.Parse`
+    * The following modules got moved to `vty-unix` into the
+      `Graphics.Vty.Platform.Unix` module namespace (previously
+      `Graphics.Vty`):
+      * `Graphics.Vty.Input.Classify`
+      * `Graphics.Vty.Input.Classify.Parse`
+      * `Graphics.Vty.Input.Classify.Types`
+      * `Graphics.Vty.Input.Focus`
+      * `Graphics.Vty.Input.Loop`
+      * `Graphics.Vty.Input.Mouse`
+      * `Graphics.Vty.Input.Paste`
+      * `Graphics.Vty.Input.Terminfo`
+      * `Graphics.Vty.Output.TerminfoBased`
+      * `Graphics.Vty.Output.XTermColor`
+    * The following modules were removed entirely (with contents migrated
+      elsewhere as needed):
+      * `Graphics.Vty.Inline.Unsafe`
+      * `Graphics.Vty.Output.Interface` (migrated to
+        `Graphics.Vty.Output`)
+    * Removed library dependencies on the following packages:
+      * `ansi-terminal`
+      * `containers`
+      * `terminfo`
+      * `transformers`
+      * `unix`
+    * The following executables were moved to other packages:
+      * `vty-build-width-table` (moved to `vty-unix` as
+        `vty-unix-build-width-table`)
+      * `vty-mode-demo` (moved to `vty-crossplatform`)
+  * API changes:
+    * `Graphics.Vty.mkVty` moved to the `vty-unix` package's
+      `Graphics.Vty.Platform.Unix` module.
+    * Added `Graphics.Vty.mkVtyFromPair` for platform packages to
+      construct `Vty` handles.
+    * The contents of the `Graphics.Vty.Output.Interface` module were
+      merged into `Graphics.Vty.Output`.
+    * The `vty-build-width-table` tool was removed from the `vty` package,
+      but its core functionality is now exposed as a library for
+      platform packages to use to provide platform-specific tools using
+      `Graphics.Vty.UnicodeWidthTable.Main` and a new tool by the same
+      name was added to the `vty-unix` package.
+    * `Graphics.Vty.Events`: the `InternalEvent` type's
+      `ResumeAfterSignal` constructor was renamed to
+      `ResumeAfterInterrupt` to be a bit more abstract and
+      platform-agnostic.
+    * Removed the following lenses for fields of the `Input` type:
+      * `eventChannel` (was for `_eventChannel` which was then renamed to
+        `eventChannel`)
+      * `configRef` (was for `_configRef` which was then renamed to
+        `configRef`)
+    * The `Output` record type got a new field, `setOutputWindowTitle`.
+    * The `Input` record type got a new field, `inputLogMsg :: String ->
+      IO ()`, for logging to the Vty log.
+    * `Graphics.Vty.Config` now exposes `VtyUserConfig` instead of
+      `Config`. Many of its fields were Unix-specific and were
+      consequently moved to the `UnixSettings` type in `vty-unix`.
+    * The `VtyUserConfig` type's fields got a `config` field name prefix.
+  * Behavior changes:
+    * Since `vty` no longer implements `mkVty`, the Vty user configuration
+      is no longer implicitly loaded by Vty-based applications.
+      Instead, it is now up to the applications to call
+      `Graphics.Vty.Config.userConfig` to load any user-provided
+      configuration.
+    * Vty no longer implicitly attempts to load configured Unicode
+      width tables. It is now the responsibility of the platform packages
+      (such as `vty-unix`) and/or applications to load tables via
+      `Graphics.Vty.UnicodeWidthTable.IO` and install them via
+      `Graphics.Vty.UnicodeWidthTable.Install`.
+  * Changes to demonstration programs:
+    * `EventEcho`, `ModeDemo`, and `Rogue` demo programs moved to the
+      `vty-crossplatform` package.
+  * Changes to tests:
+    * Where appropriate, some test programs and test cases were moved to
+      `vty-unix` or `vty-crossplatform`.
+
+-------------------------------------------------------------------

Old:
----
  vty-5.39.tar.gz

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

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

Other differences:
------------------
++++++ ghc-vty.spec ++++++
--- /var/tmp/diff_new_pack.qoOLsD/_old  2024-01-10 21:51:45.399008028 +0100
+++ /var/tmp/diff_new_pack.qoOLsD/_new  2024-01-10 21:51:45.399008028 +0100
@@ -19,16 +19,14 @@
 %global pkg_name vty
 %global pkgver %{pkg_name}-%{version}
 Name:           ghc-%{pkg_name}
-Version:        5.39
+Version:        6.1
 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
-BuildRequires:  chrpath
+Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-ansi-terminal-devel
-BuildRequires:  ghc-ansi-terminal-prof
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-binary-devel
@@ -37,8 +35,6 @@
 BuildRequires:  ghc-blaze-builder-prof
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-bytestring-prof
-BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-containers-prof
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-deepseq-prof
 BuildRequires:  ghc-directory-devel
@@ -58,14 +54,8 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-stm-prof
-BuildRequires:  ghc-terminfo-devel
-BuildRequires:  ghc-terminfo-prof
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-text-prof
-BuildRequires:  ghc-transformers-devel
-BuildRequires:  ghc-transformers-prof
-BuildRequires:  ghc-unix-devel
-BuildRequires:  ghc-unix-prof
 BuildRequires:  ghc-utf8-string-devel
 BuildRequires:  ghc-utf8-string-prof
 BuildRequires:  ghc-vector-devel
@@ -117,13 +107,13 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
 
 %install
 %ghc_lib_install
-%ghc_fix_rpath %{pkg_name}-%{version}
 
 %post devel
 %ghc_pkg_recache
@@ -133,11 +123,6 @@
 
 %files -f %{name}.files
 %license LICENSE
-%{_bindir}/vty-build-width-table
-%{_bindir}/vty-crash-fix
-%{_bindir}/vty-crash-test
-%{_bindir}/vty-demo
-%{_bindir}/vty-mode-demo
 
 %files devel -f %{name}-devel.files
 %doc AUTHORS CHANGELOG.md README.md

++++++ vty-5.39.tar.gz -> vty-6.1.tar.gz ++++++
++++ 5418 lines of diff (skipped)

++++++ vty.cabal ++++++
name:                vty
version:             6.1
x-revision: 1
license:             BSD3
license-file:        LICENSE
author:              AUTHORS
maintainer:          Jonathan Daugherty ([email protected])
homepage:            https://github.com/jtdaugherty/vty
category:            User Interfaces
synopsis:            A simple terminal UI library
description:
  vty is terminal GUI library in the niche of ncurses. It is intended to
  be easy to use and to provide good support for common terminal types.
  .
  See the @vty-examples@ package as well as the program
  @examples/interactive_terminal_test.hs@ included in the @vty@
  repository for examples on how to use the library.
  .
  Import the @Graphics.Vty@ convenience module to get access to the core
  parts of the library.
  .
  &#169; 2006-2007 Stefan O'Rear; BSD3 license.
  .
  &#169; Corey O'Connor; BSD3 license.
  .
  &#169; Jonathan Daugherty; BSD3 license.
cabal-version:       1.18
build-type:          Simple
extra-doc-files:     README.md,
                     AUTHORS,
                     CHANGELOG.md,
                     LICENSE
tested-with:         GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.5, 
GHC==8.8.4, GHC==8.10.7, GHC==9.0.2, GHC==9.2.8, GHC==9.4.5, GHC==9.6.2

source-repository head
  type: git
  location: https://github.com/jtdaugherty/vty.git

library
  default-language:    Haskell2010
  include-dirs:        cbits
  hs-source-dirs:      src
  ghc-options:         -O2 -funbox-strict-fields -Wall -fspec-constr 
-fspec-constr-count=10
  ghc-prof-options:    -O2 -funbox-strict-fields -caf-all -Wall -fspec-constr 
-fspec-constr-count=10
  build-depends:       base >= 4.8 && < 5,
                       blaze-builder >= 0.3.3.2 && < 0.5,
                       bytestring,
                       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,
                       utf8-string >= 0.3 && < 1.1,
                       vector >= 0.7,
                       binary,
                       parsec,
                       filepath,
                       directory

  if !impl(ghc >= 8.0)
    build-depends:     semigroups >= 0.16,
                       fail

  exposed-modules:     Graphics.Text.Width
                       Graphics.Vty
                       Graphics.Vty.Attributes
                       Graphics.Vty.Attributes.Color
                       Graphics.Vty.Attributes.Color240
                       Graphics.Vty.Config
                       Graphics.Vty.Debug
                       Graphics.Vty.DisplayAttributes
                       Graphics.Vty.Error
                       Graphics.Vty.Image
                       Graphics.Vty.Image.Internal
                       Graphics.Vty.Inline
                       Graphics.Vty.Input
                       Graphics.Vty.Input.Events
                       Graphics.Vty.Output
                       Graphics.Vty.Output.Mock
                       Graphics.Vty.Picture
                       Graphics.Vty.PictureToSpans
                       Graphics.Vty.Span
                       Graphics.Vty.UnicodeWidthTable.IO
                       Graphics.Vty.UnicodeWidthTable.Install
                       Graphics.Vty.UnicodeWidthTable.Main
                       Graphics.Vty.UnicodeWidthTable.Query
                       Graphics.Vty.UnicodeWidthTable.Types
  c-sources:           cbits/mk_wcwidth.c

Reply via email to