From 948e6b60071bdfbd284f24f04661484df1ed4320 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 23 Jan 2023 01:51:42 +0800 Subject: [PATCH] update to 5.37 --- .gitignore | 1 + ghc-vty.spec | 40 ++- sources | 2 +- vty-5.33.cabal | 653 ------------------------------------------------- 4 files changed, 35 insertions(+), 661 deletions(-) delete mode 100644 vty-5.33.cabal diff --git a/.gitignore b/.gitignore index 9362f79..8d3ef11 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /vty-5.28.2.tar.gz /vty-5.32.tar.gz /vty-5.33.tar.gz +/vty-5.37.tar.gz diff --git a/ghc-vty.spec b/ghc-vty.spec index 665fd45..ebdeb4d 100644 --- a/ghc-vty.spec +++ b/ghc-vty.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name vty @@ -7,21 +7,43 @@ # testsuite missing deps: quickcheck-assertions test-framework test-framework-smallcheck test-framework-hunit Name: ghc-%{pkg_name} -Version: 5.33 -Release: 5%{?dist} +Version: 5.37 +Release: 1%{?dist} Summary: A simple terminal UI library -License: BSD +License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: -BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-binary-devel +BuildRequires: ghc-blaze-builder-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-microlens-devel +BuildRequires: ghc-microlens-mtl-devel +BuildRequires: ghc-microlens-th-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-parallel-devel +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-stm-devel +BuildRequires: ghc-terminfo-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-unix-devel +BuildRequires: ghc-utf8-string-devel +BuildRequires: ghc-vector-devel +%if %{with ghc_prof} BuildRequires: ghc-ansi-terminal-prof BuildRequires: ghc-base-prof BuildRequires: ghc-binary-prof @@ -45,6 +67,7 @@ BuildRequires: ghc-transformers-prof BuildRequires: ghc-unix-prof BuildRequires: ghc-utf8-string-prof BuildRequires: ghc-vector-prof +%endif # End cabal-rpm deps %description @@ -98,7 +121,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -139,6 +161,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 5.37-1 +- https://hackage.haskell.org/package/vty-5.37/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 5.33-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index b5ac44c..d1b766b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vty-5.33.tar.gz) = 2d22af15d19a359c4d8b52d15c1a67feb137a058bda0f3cff90630b7705b6ead43ab5c4753fe59bcf9a3d1c3a4a4b755d41d55dba164e014f4271e86267f01aa +SHA512 (vty-5.37.tar.gz) = 36bd4dd0235a3a2e3f43dbb0139de6e1f928db2bf57eaf6a587b3deab203aa3522719a9df784a02480e109f9d626b5d205b25b7505ab8c3d9bc76111fd1631c2 diff --git a/vty-5.33.cabal b/vty-5.33.cabal deleted file mode 100644 index 095e9a8..0000000 --- a/vty-5.33.cabal +++ /dev/null @@ -1,653 +0,0 @@ -name: vty -version: 5.33 -x-revision: 1 -license: BSD3 -license-file: LICENSE -author: AUTHORS -maintainer: Jonathan Daugherty (cygnus@foobox.com) -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, have no confusing corner cases, and good support for - common terminal types. - . - See the @vty-examples@ package as well as the program - @test/interactive_terminal_test.hs@ included in the @vty@ package for - examples on how to use the library. - . - Import the "Graphics.Vty" convenience module to get access to the core - parts of the library. - . - © 2006-2007 Stefan O'Rear; BSD3 license. - . - © Corey O'Connor; BSD3 license. - . - © Jonathan Daugherty; BSD3 license. -cabal-version: 1.18 -build-type: Simple -extra-doc-files: README.md, - AUTHORS, - CHANGELOG.md, - LICENSE -tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.5 - -source-repository head - type: git - location: https://github.com/jtdaugherty/vty.git - -library - default-language: Haskell2010 - build-depends: base >= 4.8 && < 5, - blaze-builder >= 0.3.3.2 && < 0.5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - directory, - filepath >= 1.0 && < 2.0, - microlens < 0.4.13, - microlens-mtl, - microlens-th, - hashable >= 1.2, - mtl >= 1.1.1.0 && < 2.3, - parallel >= 2.2 && < 3.3, - parsec >= 2 && < 4, - stm, - terminfo >= 0.3 && < 0.5, - transformers >= 0.3.0.0, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7, - binary, - ansi-terminal >= 0.10.3 - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.16, - fail - - exposed-modules: Graphics.Vty - Graphics.Vty.Attributes - Graphics.Vty.Attributes.Color - Graphics.Vty.Attributes.Color240 - Graphics.Vty.Config - Graphics.Vty.Error - Graphics.Vty.Image - Graphics.Vty.Inline - Graphics.Vty.Inline.Unsafe - Graphics.Vty.Input - Graphics.Vty.Input.Events - Graphics.Vty.Picture - Graphics.Vty.Output - Graphics.Text.Width - Codec.Binary.UTF8.Debug - Data.Terminfo.Parse - Data.Terminfo.Eval - Graphics.Vty.Debug - Graphics.Vty.DisplayAttributes - Graphics.Vty.Image.Internal - Graphics.Vty.Input.Classify - Graphics.Vty.Input.Classify.Types - Graphics.Vty.Input.Classify.Parse - Graphics.Vty.Input.Loop - Graphics.Vty.Input.Mouse - Graphics.Vty.Input.Focus - Graphics.Vty.Input.Paste - Graphics.Vty.Input.Terminfo - Graphics.Vty.PictureToSpans - Graphics.Vty.Span - Graphics.Vty.Output.Mock - Graphics.Vty.Output.Interface - Graphics.Vty.Output.XTermColor - Graphics.Vty.Output.TerminfoBased - Graphics.Vty.UnicodeWidthTable.Types - Graphics.Vty.UnicodeWidthTable.IO - Graphics.Vty.UnicodeWidthTable.Query - Graphics.Vty.UnicodeWidthTable.Install - - other-modules: Graphics.Vty.Debug.Image - Graphics.Vty.Input.Terminfo.ANSIVT - - c-sources: cbits/gwinsz.c - cbits/set_term_timing.c - cbits/get_tty_erase.c - cbits/mk_wcwidth.c - - include-dirs: cbits - - hs-source-dirs: src - - default-extensions: ScopedTypeVariables - - 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 - -executable vty-build-width-table - main-is: BuildWidthTable.hs - hs-source-dirs: tools - - default-language: Haskell2010 - ghc-options: -threaded -Wall - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.16 - - build-depends: vty, - directory, - filepath, - base >= 4.8 && < 5 - -executable vty-mode-demo - main-is: ModeDemo.hs - hs-source-dirs: demos - - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - ghc-options: -threaded - - build-depends: vty, - base >= 4.8 && < 5, - containers, - microlens, - microlens-mtl, - mtl >= 1.1.1.0 && < 2.3 - -executable vty-demo - main-is: Demo.hs - hs-source-dirs: demos - - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - ghc-options: -threaded - - build-depends: vty, - base >= 4.8 && < 5, - containers, - microlens, - microlens-mtl, - mtl >= 1.1.1.0 && < 2.3 - -test-suite verify-using-mock-terminal - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyUsingMockTerminal - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - Verify.Graphics.Vty.Output - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - terminfo >= 0.3 && < 0.5, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-terminal - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyOutput - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - Verify.Graphics.Vty.Output - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - terminfo >= 0.3 && < 0.5, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-display-attributes - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyDisplayAttributes - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.DisplayAttributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-empty-image-props - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyEmptyImageProps - - other-modules: Verify - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-eval-terminfo-caps - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyEvalTerminfoCaps - - other-modules: Verify - Verify.Graphics.Vty.Output - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - blaze-builder >= 0.3.3.2 && < 0.5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - terminfo >= 0.3 && < 0.5, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-image-ops - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyImageOps - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Image - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-image-trans - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyImageTrans - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Image - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-inline - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyInline - - other-modules: Verify - Verify.Graphics.Vty.Output - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-parse-terminfo-caps - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyParseTerminfoCaps - - other-modules: Verify - Verify.Data.Terminfo.Parse - Verify.Graphics.Vty.Output - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - terminfo >= 0.3 && < 0.5, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-simple-span-generation - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifySimpleSpanGeneration - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - - -test-suite verify-crop-span-generation - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyCropSpanGeneration - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - - -test-suite verify-layers-span-generation - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyLayersSpanGeneration - - other-modules: Verify - Verify.Graphics.Vty.Attributes - Verify.Graphics.Vty.Prelude - Verify.Graphics.Vty.Picture - Verify.Graphics.Vty.Image - Verify.Graphics.Vty.Span - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-color-mapping - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyColor240 - - other-modules: Verify - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - - -test-suite verify-utf8-width - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: detailed-0.9 - - hs-source-dirs: test - - test-module: VerifyUtf8Width - - other-modules: Verify - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - mtl >= 1.1.1.0 && < 2.3, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - -test-suite verify-using-mock-input - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: exitcode-stdio-1.0 - - hs-source-dirs: test - - main-is: VerifyUsingMockInput.hs - - build-depends: vty, - Cabal >= 1.20, - QuickCheck >= 2.7, - smallcheck == 1.*, - quickcheck-assertions >= 0.1.1, - test-framework == 0.8.*, - test-framework-smallcheck == 0.2.*, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - microlens, - microlens-mtl, - mtl >= 1.1.1.0 && < 2.3, - stm, - terminfo >= 0.3 && < 0.5, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - - ghc-options: -threaded -Wall - -test-suite verify-config - default-language: Haskell2010 - default-extensions: ScopedTypeVariables - - type: exitcode-stdio-1.0 - - hs-source-dirs: test - - main-is: VerifyConfig.hs - - build-depends: vty, - Cabal >= 1.20, - HUnit, - QuickCheck >= 2.7, - smallcheck == 1.*, - quickcheck-assertions >= 0.1.1, - test-framework == 0.8.*, - test-framework-smallcheck == 0.2.*, - test-framework-hunit, - random >= 1.0 && < 1.3, - base >= 4.8 && < 5, - bytestring, - containers, - deepseq >= 1.1 && < 1.5, - microlens, - microlens-mtl, - mtl >= 1.1.1.0 && < 2.3, - string-qq, - terminfo >= 0.3 && < 0.5, - text >= 0.11.3, - unix, - utf8-string >= 0.3 && < 1.1, - vector >= 0.7 - - ghc-options: -threaded -Wall