commit ghc-brick for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-10-23 15:13:41

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


Package is "ghc-brick"

Fri Oct 23 15:13:41 2020 rev:7 rq:842741 version:0.57

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-09-30 
19:53:28.912735924 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.3463/ghc-brick.changes
2020-10-23 15:13:45.830117344 +0200
@@ -1,0 +2,15 @@
+Tue Oct  6 08:56:57 UTC 2020 - psim...@suse.com
+
+- Update brick to version 0.57.
+  0.57
+  
+
+  Package changes:
+   * Raised lower bound on `vty` to 5.31 to get the new `strikethrough`
+ style.
+
+  New features:
+   * Added support for the `strikethrough` style in Brick theme
+ customization files.
+
+---

Old:

  brick-0.56.tar.gz

New:

  brick-0.57.tar.gz



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.G9DrSo/_old  2020-10-23 15:13:46.402117620 +0200
+++ /var/tmp/diff_new_pack.G9DrSo/_new  2020-10-23 15:13:46.402117620 +0200
@@ -19,7 +19,7 @@
 %global pkg_name brick
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.56
+Version:0.57
 Release:0
 Summary:A declarative terminal user interface library
 License:BSD-3-Clause

++ brick-0.56.tar.gz -> brick-0.57.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.56/CHANGELOG.md new/brick-0.57/CHANGELOG.md
--- old/brick-0.56/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
+++ new/brick-0.57/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
@@ -2,6 +2,17 @@
 Brick changelog
 ---
 
+0.57
+
+
+Package changes:
+ * Raised lower bound on `vty` to 5.31 to get the new `strikethrough`
+   style.
+
+New features:
+ * Added support for the `strikethrough` style in Brick theme
+   customization files.
+
 0.56
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.56/brick.cabal new/brick-0.57/brick.cabal
--- old/brick-0.56/brick.cabal  2001-09-09 03:46:40.0 +0200
+++ new/brick-0.57/brick.cabal  2001-09-09 03:46:40.0 +0200
@@ -1,5 +1,5 @@
 name:brick
-version: 0.56
+version: 0.57
 synopsis:A declarative terminal user interface library
 description:
   Write terminal user interfaces (TUIs) painlessly with 'brick'! You
@@ -114,7 +114,7 @@
 Brick.Widgets.Internal
 
   build-depends:   base <= 4.14.1.0,
-   vty >= 5.29,
+   vty >= 5.31,
transformers,
data-clist >= 0.1,
directory >= 1.2.5.0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.56/src/Brick/Themes.hs 
new/brick-0.57/src/Brick/Themes.hs
--- old/brick-0.56/src/Brick/Themes.hs  2001-09-09 03:46:40.0 +0200
+++ new/brick-0.57/src/Brick/Themes.hs  2001-09-09 03:46:40.0 +0200
@@ -30,7 +30,8 @@
 -- (without quotes) or a comma-delimited list of one or more of the
 -- following values (e.g. @"[bold,underline]"@) indicating that all
 -- of the specified styles be used. Valid styles are @standout@,
--- @underline@, @reverseVideo@, @blink@, @dim@, @italic@, and @bold@.
+-- @underline@, @reverseVideo@, @blink@, @dim@, @italic@,
+-- @strikethrough@, and @bold@.
 --
 -- The @other@ section specifies for each attribute name in the theme
 -- the same @fg@, @bg@, and @style@ settings as for the default
@@ -251,6 +252,7 @@
 allStyles =
 [ ("standout", standout)
 , ("underline", underline)
+, ("strikethrough", strikethrough)
 , ("reversevideo", reverseVideo)
 , ("blink", blink)
 , ("dim", dim)




commit ghc-brick for openSUSE:Factory

2020-09-30 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-09-30 19:53:19

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


Package is "ghc-brick"

Wed Sep 30 19:53:19 2020 rev:6 rq:838489 version:0.56

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-09-07 
21:28:58.545204852 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.4249/ghc-brick.changes
2020-09-30 19:53:28.912735924 +0200
@@ -1,0 +2,26 @@
+Sun Sep 27 02:01:03 UTC 2020 - psim...@suse.com
+
+- Update brick to version 0.56.
+  0.56
+  
+
+  Package changes:
+   * Increased upper bound for `base` to support GHC 8.10.2 (thanks Ryan
+ Scott)
+
+  API changes:
+   * Added `Brick.Forms.updateFormState` to update the state contained
+ within (and managed by) a Form. This function takes care of the
+ details of updating the form fields themselves to be consistent with
+ the change in underlying state.
+   * Added the overall window width (`windowWidth`) and height
+ (`windowHeight`) to `Context`, the rendering context type (thanks Tom
+ McLaughlin)
+
+  Other changes:
+   * Added `brick-tail-demo`, a demonstration program for writing a
+ `tail`-style output-following interface.
+   * Updated `Brick.Widgets.ProgressBar` so that it handles near-endpoint
+ cases more naturally (fixes #281)
+
+---

Old:

  brick-0.55.tar.gz
  brick.cabal

New:

  brick-0.56.tar.gz



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.EfoRjf/_old  2020-09-30 19:53:29.532736479 +0200
+++ /var/tmp/diff_new_pack.EfoRjf/_new  2020-09-30 19:53:29.536736482 +0200
@@ -19,13 +19,12 @@
 %global pkg_name brick
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.55
+Version:0.56
 Release:0
 Summary:A declarative terminal user interface 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-bytestring-devel
 BuildRequires:  ghc-config-ini-devel
@@ -84,7 +83,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ brick-0.55.tar.gz -> brick-0.56.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.55/CHANGELOG.md new/brick-0.56/CHANGELOG.md
--- old/brick-0.55/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
+++ new/brick-0.56/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
@@ -2,6 +2,28 @@
 Brick changelog
 ---
 
+0.56
+
+
+Package changes:
+ * Increased upper bound for `base` to support GHC 8.10.2 (thanks Ryan
+   Scott)
+
+API changes:
+ * Added `Brick.Forms.updateFormState` to update the state contained
+   within (and managed by) a Form. This function takes care of the
+   details of updating the form fields themselves to be consistent with
+   the change in underlying state.
+ * Added the overall window width (`windowWidth`) and height
+   (`windowHeight`) to `Context`, the rendering context type (thanks Tom
+   McLaughlin)
+
+Other changes:
+ * Added `brick-tail-demo`, a demonstration program for writing a
+   `tail`-style output-following interface.
+ * Updated `Brick.Widgets.ProgressBar` so that it handles near-endpoint
+   cases more naturally (fixes #281)
+
 0.55
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.55/README.md new/brick-0.56/README.md
--- old/brick-0.55/README.md2001-09-09 03:46:40.0 +0200
+++ new/brick-0.56/README.md2001-09-09 03:46:40.0 +0200
@@ -43,30 +43,35 @@
 To get an idea of what some people have done with `brick`, take a look
 at these projects:
 
- * [`tetris`](https://github.com/SamTay/tetris), an implementation of the 
Tetris game
- * [`gotta-go-fast`](https://github.com/callum-oakley/gotta-go-fast), a typing 
tutor
- * [`haskell-player`](https://github.com/potomak/haskell-player), an `afplay` 
frontend
- * [`mushu`](https://github.com/elaye/mushu), an `MPD` client
- * [`matterhorn`](https://github.com/matterhorn-chat/matterhorn), a client for 
[Mattermost](https://about.mattermost.com/)
- * [`viewprof`](https://github.com/maoe/viewprof), a GHC profile viewer
- * [`tart`](https://github.com/jtdaugherty/tart), a mouse-driven ASCII art 
drawing prog

commit ghc-brick for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-09-07 21:27:51

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


Package is "ghc-brick"

Mon Sep  7 21:27:51 2020 rev:5 rq:832249 version:0.55

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-08-28 
21:26:37.360474927 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.3399/ghc-brick.changes
2020-09-07 21:28:58.545204852 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:36 UTC 2020 - psim...@suse.com
+
+- Update brick to version 0.55 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-brick for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-08-28 21:26:34

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


Package is "ghc-brick"

Fri Aug 28 21:26:34 2020 rev:4 rq:829198 version:0.55

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-08-18 
12:25:16.787828305 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.3399/ghc-brick.changes
2020-08-28 21:26:37.360474927 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:11 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.CK2tmj/_old  2020-08-28 21:26:38.100475278 +0200
+++ /var/tmp/diff_new_pack.CK2tmj/_new  2020-08-28 21:26:38.100475278 +0200
@@ -83,7 +83,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build




commit ghc-brick for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-08-18 12:25:09

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


Package is "ghc-brick"

Tue Aug 18 12:25:09 2020 rev:3 rq:827539 version:0.55

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-07-21 
15:52:58.132484339 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.3399/ghc-brick.changes
2020-08-18 12:25:16.787828305 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 09:11:20 UTC 2020 - Peter Simons 
+
+- Update Cabal file to accept latest base version.
+
+---

New:

  brick.cabal



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.kvnbiy/_old  2020-08-18 12:25:17.443828578 +0200
+++ /var/tmp/diff_new_pack.kvnbiy/_new  2020-08-18 12:25:17.447828580 +0200
@@ -25,6 +25,7 @@
 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-bytestring-devel
 BuildRequires:  ghc-config-ini-devel
@@ -83,6 +84,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ brick.cabal ++
name:brick
version: 0.55
x-revision: 1
synopsis:A declarative terminal user interface library
description:
  Write terminal user interfaces (TUIs) painlessly with 'brick'! You
  write an event handler and a drawing function and the library does the
  rest.
  .
  .
  > module Main where
  >
  > import Brick
  >
  > ui :: Widget ()
  > ui = str "Hello, world!"
  >
  > main :: IO ()
  > main = simpleMain ui
  .
  .
  To get started, see:
  .
  * 
  .
  * The 
  .
  * The demonstration programs in the 'programs' directory
  .
  .
  This package deprecates .
license: BSD3
license-file:LICENSE
author:  Jonathan Daugherty 
maintainer:  Jonathan Daugherty 
copyright:   (c) Jonathan Daugherty 2015-2018
category:Graphics
build-type:  Simple
cabal-version:   1.18
Homepage:https://github.com/jtdaugherty/brick/
Bug-reports: https://github.com/jtdaugherty/brick/issues
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1, GHC == 8.6.5, 
GHC == 8.8.1

extra-doc-files: README.md,
 docs/guide.rst,
 docs/samtay-tutorial.md,
 docs/snake-demo.gif,
 CHANGELOG.md,
 docs/programs-screenshots.md,
 docs/programs-screenshots/brick-attr-demo.png,
 docs/programs-screenshots/brick-border-demo.png,
 docs/programs-screenshots/brick-cache-demo.png,
 docs/programs-screenshots/brick-custom-event-demo.png,
 docs/programs-screenshots/brick-dialog-demo.png,
 docs/programs-screenshots/brick-dynamic-border-demo.png,
 docs/programs-screenshots/brick-edit-demo.png,
 docs/programs-screenshots/brick-file-browser-demo.png,
 docs/programs-screenshots/brick-fill-demo.png,
 docs/programs-screenshots/brick-form-demo.png,
 docs/programs-screenshots/brick-hello-world-demo.png,
 docs/programs-screenshots/brick-layer-demo.png,
 docs/programs-screenshots/brick-list-demo.png,
 docs/programs-screenshots/brick-list-vi-demo.png,
 docs/programs-screenshots/brick-markup-demo.png,
 docs/programs-screenshots/brick-mouse-demo.png,
 docs/programs-screenshots/brick-padding-demo.png,
 docs/programs-screenshots/brick-progressbar-demo.png,
 docs/programs-screenshots/brick-readme-demo.png,
 docs/programs-screenshots/brick-suspend-resume-demo.png,
 docs/programs-screenshots/brick-text-wrap-demo.png,
 docs/programs-screenshots/brick-theme-demo.png,
 docs/programs-screenshots/brick-viewport-scroll-demo.png,
   

commit ghc-brick for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2020-07-21 15:50:08

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


Package is "ghc-brick"

Tue Jul 21 15:50:08 2020 rev:2 rq:822044 version:0.55

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2020-06-19 
16:58:54.739811606 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new.3592/ghc-brick.changes
2020-07-21 15:52:58.132484339 +0200
@@ -1,0 +2,17 @@
+Fri Jul 10 02:00:27 UTC 2020 - psim...@suse.com
+
+- Update brick to version 0.55.
+  0.55
+  
+
+  Package changes:
+   * Increased lower bound on `vty` dependency to 5.29.
+
+  Bug fixes:
+   * `customMain` now restores the initial terminal input state on
+ shutdown. This means that changes to the input state flags in the last
+ `suspendAndResume` before program exit are no longer propagated to the
+ end user's terminal environment (which could lead to broken or garbled
+ terminal I/O).
+
+---

Old:

  brick-0.54.tar.gz

New:

  brick-0.55.tar.gz



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.MRNP2F/_old  2020-07-21 15:53:01.128487982 +0200
+++ /var/tmp/diff_new_pack.MRNP2F/_new  2020-07-21 15:53:01.132487987 +0200
@@ -19,7 +19,7 @@
 %global pkg_name brick
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.54
+Version:0.55
 Release:0
 Summary:A declarative terminal user interface library
 License:BSD-3-Clause

++ brick-0.54.tar.gz -> brick-0.55.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.54/CHANGELOG.md new/brick-0.55/CHANGELOG.md
--- old/brick-0.54/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
+++ new/brick-0.55/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
@@ -2,6 +2,19 @@
 Brick changelog
 ---
 
+0.55
+
+
+Package changes:
+ * Increased lower bound on `vty` dependency to 5.29.
+
+Bug fixes:
+ * `customMain` now restores the initial terminal input state on
+   shutdown. This means that changes to the input state flags in the last
+   `suspendAndResume` before program exit are no longer propagated to the
+   end user's terminal environment (which could lead to broken or garbled
+   terminal I/O).
+
 0.54
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.54/README.md new/brick-0.55/README.md
--- old/brick-0.54/README.md2001-09-09 03:46:40.0 +0200
+++ new/brick-0.55/README.md2001-09-09 03:46:40.0 +0200
@@ -62,6 +62,7 @@
  * [`sudoku-tui`](https://github.com/evanrelf/sudoku-tui), a Sudoku 
implementation
  * 
[`summoner-tui`](https://github.com/kowainik/summoner/tree/master/summoner-tui),
 an interactive frontend to the Summoner tool
  * [`wrapping-editor`](https://github.com/ta0kira/wrapping-editor), an 
embeddable editor with support for Brick
+ * [`git-brunch`](https://github.com/andys8/git-brunch), a git branch checkout 
utility
 
 These third-party packages also extend `brick`:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.54/brick.cabal new/brick-0.55/brick.cabal
--- old/brick-0.54/brick.cabal  2001-09-09 03:46:40.0 +0200
+++ new/brick-0.55/brick.cabal  2001-09-09 03:46:40.0 +0200
@@ -1,5 +1,5 @@
 name:brick
-version: 0.54
+version: 0.55
 synopsis:A declarative terminal user interface library
 description:
   Write terminal user interfaces (TUIs) painlessly with 'brick'! You
@@ -114,7 +114,7 @@
 Brick.Widgets.Internal
 
   build-depends:   base <= 4.14.0.0,
-   vty >= 5.24,
+   vty >= 5.29,
transformers,
data-clist >= 0.1,
directory >= 1.2.5.0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.54/src/Brick/Main.hs 
new/brick-0.55/src/Brick/Main.hs
--- old/brick-0.54/src/Brick/Main.hs2001-09-09 03:46:40.0 +0200
+++ new/brick-0.55/src/Brick/Main.hs2001-09-09 03:46:40.0 +0200
@@ -75,6 +75,8 @@
   , nextEvent
   , mkVty
   , defaultConfig
+  , restoreInputState
+  , inputIface
   )
 import Graphics.Vty.Attributes (defAttr)
 
@@ -202,6 +204,10 @@
 -- | The custom event loop entry point to use when the simpler ones
 -- don't permit enough control. Returns the final application state
 -- after the application halts.
+--
+-- Note that this function gua

commit ghc-brick for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2017-09-15 21:24:17

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


Package is "ghc-brick"

Fri Sep 15 21:24:17 2017 rev:4 rq:524224 version:0.18

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2017-08-31 
20:50:19.987079458 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new/ghc-brick.changes 2017-09-15 
21:24:18.553897546 +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-brick.spec ++
--- /var/tmp/diff_new_pack.XKNz5f/_old  2017-09-15 21:24:20.033688967 +0200
+++ /var/tmp/diff_new_pack.XKNz5f/_new  2017-09-15 21:24:20.037688404 +0200
@@ -22,8 +22,8 @@
 Release:0
 Summary:A declarative terminal user interface library
 License:BSD-3-Clause
-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:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
@@ -42,7 +42,6 @@
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-vector-devel
 BuildRequires:  ghc-vty-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Write terminal applications painlessly with 'brick'! You write an event handler
@@ -64,7 +63,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(post): ghc-compiler = %{ghc_version}
@@ -89,11 +88,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md docs
 
 %changelog




commit ghc-brick for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2017-08-31 20:50:19

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


Package is "ghc-brick"

Thu Aug 31 20:50:19 2017 rev:3 rq:513216 version:0.18

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2017-05-03 
15:55:56.370819222 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new/ghc-brick.changes 2017-08-31 
20:50:19.987079458 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:10 UTC 2017 - psim...@suse.com
+
+- Update to version 0.18.
+
+---

Old:

  brick-0.17.2.tar.gz

New:

  brick-0.18.tar.gz



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.4ZV2Cy/_old  2017-08-31 20:50:21.266899809 +0200
+++ /var/tmp/diff_new_pack.4ZV2Cy/_new  2017-08-31 20:50:21.266899809 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name brick
 Name:   ghc-%{pkg_name}
-Version:0.17.2
+Version:0.18
 Release:0
 Summary:A declarative terminal user interface library
 License:BSD-3-Clause
@@ -28,6 +28,7 @@
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-contravariant-devel
+BuildRequires:  ghc-data-clist-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-dlist-devel
 BuildRequires:  ghc-microlens-devel

++ brick-0.17.2.tar.gz -> brick-0.18.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.2/CHANGELOG.md new/brick-0.18/CHANGELOG.md
--- old/brick-0.17.2/CHANGELOG.md   2017-03-12 05:34:36.0 +0100
+++ new/brick-0.18/CHANGELOG.md 2017-06-11 21:27:52.0 +0200
@@ -2,6 +2,20 @@
 Brick changelog
 ---
 
+0.18
+
+
+Package changes:
+ * Added a dependency on data-clist.
+
+API changes:
+ * Brick.Focus: removed the Functor instance for FocusRing.
+ * Brick.Focus: re-implemented FocusRing in terms of the circular list
+   data structure from data-clist. In addition, this change introduced
+   "focusRingModify", which permits the user to use the data-clist API
+   to directly manipulate the FocusRing's internals. This way brick
+   doesn't have to re-invent the wheel on the focus ring behavior.
+
 0.17.2
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.2/README.md new/brick-0.18/README.md
--- old/brick-0.17.2/README.md  2017-03-12 05:34:36.0 +0100
+++ new/brick-0.18/README.md2017-06-11 21:27:52.0 +0200
@@ -25,8 +25,7 @@
 Example
 ---
 
-Here's an example interface that resizes automatically when the terminal
-size changes (see `programs/ReadmeDemo.hs`):
+Here's an example interface (see `programs/ReadmeDemo.hs`):
 
 ```
 withBorderStyle unicode $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.2/brick.cabal new/brick-0.18/brick.cabal
--- old/brick-0.17.2/brick.cabal2017-03-12 05:34:36.0 +0100
+++ new/brick-0.18/brick.cabal  2017-06-11 21:27:52.0 +0200
@@ -1,5 +1,5 @@
 name:brick
-version: 0.17.2
+version: 0.18
 synopsis:A declarative terminal user interface library
 description:
   Write terminal applications painlessly with 'brick'! You write an
@@ -81,6 +81,7 @@
   build-depends:   base <= 5,
vty >= 5.15,
transformers,
+   data-clist >= 0.1,
dlist,
containers,
microlens >= 0.3.0.0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.2/src/Brick/Focus.hs 
new/brick-0.18/src/Brick/Focus.hs
--- old/brick-0.17.2/src/Brick/Focus.hs 2017-03-12 05:34:36.0 +0100
+++ new/brick-0.18/src/Brick/Focus.hs   2017-06-11 21:27:52.0 +0200
@@ -1,5 +1,3 @@
-{-# LANGUAGE DeriveFunctor #-}
-
 -- | This module provides a type and functions for handling focus rings
 -- of widgets. Note that this interface is merely provided for managing
 -- the focus state for a sequence of resource names; it does not do
@@ -14,41 +12,36 @@
   , focusGetCurrent
   , focusRingCursor
   , withFocusRing
+  , focusRingModify
   )
 where
 
 import Lens.Micro ((^.))
 import Data.Maybe (listToMaybe)
+import qualified Data.CircularList as C
 
 import Brick.Types
 import Brick.Widgets.Core (Named(..))
 
 -- | A focus ring containing a sequence of resource names to focus and a
 -- currently-focused name.
-data FocusRing n = FocusRingEmpty
-

commit ghc-brick for openSUSE:Factory

2017-05-03 Thread root
Hello community,

here is the log from the commit of package ghc-brick for openSUSE:Factory 
checked in at 2017-05-03 15:55:50

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


Package is "ghc-brick"

Wed May  3 15:55:50 2017 rev:2 rq:489806 version:0.17.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-brick/ghc-brick.changes  2017-04-14 
13:32:57.171823609 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-brick.new/ghc-brick.changes 2017-05-03 
15:55:56.370819222 +0200
@@ -1,0 +2,5 @@
+Mon Mar 27 12:38:03 UTC 2017 - psim...@suse.com
+
+- Update to version 0.17.2 with cabal2obs.
+
+---

Old:

  brick-0.17.1.tar.gz

New:

  brick-0.17.2.tar.gz



Other differences:
--
++ ghc-brick.spec ++
--- /var/tmp/diff_new_pack.PgjY85/_old  2017-05-03 15:55:57.286689925 +0200
+++ /var/tmp/diff_new_pack.PgjY85/_new  2017-05-03 15:55:57.290689360 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name brick
 Name:   ghc-%{pkg_name}
-Version:0.17.1
+Version:0.17.2
 Release:0
 Summary:A declarative terminal user interface library
 License:BSD-3-Clause

++ brick-0.17.1.tar.gz -> brick-0.17.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.1/CHANGELOG.md 
new/brick-0.17.2/CHANGELOG.md
--- old/brick-0.17.1/CHANGELOG.md   2017-02-22 17:52:27.0 +0100
+++ new/brick-0.17.2/CHANGELOG.md   2017-03-12 05:34:36.0 +0100
@@ -2,6 +2,17 @@
 Brick changelog
 ---
 
+0.17.2
+--
+
+Package changes:
+ * Added programs/ReadmeDemo.hs and featured its output and code in the
+   README to provide an early demonstration
+
+Library changes:
+ * centerAbout now right- and bottom-pads its operand to behave
+   consistently with h/vCenter
+
 0.17.1
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/brick-0.17.1/README.md new/brick-0.17.2/README.md
--- old/brick-0.17.1/README.md  2017-02-22 17:52:27.0 +0100
+++ new/brick-0.17.2/README.md  2017-03-12 05:34:36.0 +0100
@@ -3,24 +3,63 @@
 
 [![Build 
Status](https://travis-ci.org/jtdaugherty/brick.svg?branch=master)](https://travis-ci.org/jtdaugherty/brick)
 
-`brick` is a terminal user interface programming
-library written in Haskell, in the style of
-[gloss](http://hackage.haskell.org/package/gloss). This means you write
-a function that describes how your user interface should look, but the
-library takes care of a lot of the book-keeping that so commonly goes
-into writing such programs.
+`brick` is a Haskell terminal user interface programming library in the
+style of [gloss](http://hackage.haskell.org/package/gloss). This means
+you write a function that describes how your user interface should look,
+but the library takes care of a lot of the book-keeping that so commonly
+goes into writing such programs.
 
 `brick` exposes a declarative API. Unlike most GUI toolkits which
 require you to write a long and tedious sequence of "create a widget,
-now bind an event handler", `brick` just requires you to describe
-your interface -- even the bits that are stateful -- using a set of
-declarative combinators. Then you provide a function to transform your
-own application state when input (or other kinds of) events arrive.
-
-Under the hood, this library builds upon 
[vty](http://hackage.haskell.org/package/vty).
+now bind an event handler", `brick` just requires you to describe your
+interface using a set of declarative combinators. Then you provide a
+function to transform your application state when input or other kinds
+of events arrive.
+
+Under the hood, this library builds upon
+[vty](http://hackage.haskell.org/package/vty), so some knowledge of Vty
+will be helpful in using this library.
 
 This library deprecates [vty-ui](https://github.com/jtdaugherty/vty-ui).
 
+Example
+---
+
+Here's an example interface that resizes automatically when the terminal
+size changes (see `programs/ReadmeDemo.hs`):
+
+```
+withBorderStyle unicode $
+borderWithLabel (str "Hello!") $
+(center (str "Left") <+> vBorder <+> center (str "Right"))
+```
+
+Result:
+
+```
+┌─Hello!─┐
+│   ││
+│   ││
+│   Left│   Right│
+│   ││
+│   ││
+└┘
+```
+
+Getting Started
+---
+
+TLDR:
+
+```
+$ cabal sandbox init
+$ cabal install -j -f demos
+$ .cabal-sandbox/bin/brick-???-demo
+```
+
+To get started, see the [first few sections of the brick
+user guide](https://github.com/jtdaugherty/brick/blob/master/docs