Accepting request 1128067 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1128067 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-brick?expand=0&rev=26
This commit is contained in:
commit
5c8911928e
3
brick-1.10.tar.gz
Normal file
3
brick-1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79190c167c1767e79341fd88ff4cf2deb698286cba0c67bd221b14828bdf458f
|
||||
size 221757
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:463dfba63a279cac25398a1b36f36677d487f56efba6c6ce595d65e7d1157da3
|
||||
size 719316
|
37
brick.cabal
37
brick.cabal
@ -1,5 +1,5 @@
|
||||
name: brick
|
||||
version: 1.6
|
||||
version: 1.10
|
||||
x-revision: 1
|
||||
synopsis: A declarative terminal user interface library
|
||||
description:
|
||||
@ -33,7 +33,7 @@ license: BSD3
|
||||
license-file: LICENSE
|
||||
author: Jonathan Daugherty <cygnus@foobox.com>
|
||||
maintainer: Jonathan Daugherty <cygnus@foobox.com>
|
||||
copyright: (c) Jonathan Daugherty 2015-2022
|
||||
copyright: (c) Jonathan Daugherty 2015-2023
|
||||
category: Graphics
|
||||
build-type: Simple
|
||||
cabal-version: 1.18
|
||||
@ -45,31 +45,7 @@ extra-doc-files: README.md,
|
||||
docs/guide.rst,
|
||||
docs/snake-demo.gif,
|
||||
CHANGELOG.md,
|
||||
programs/custom_keys.ini,
|
||||
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-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,
|
||||
docs/programs-screenshots/brick-visibility-demo.png
|
||||
programs/custom_keys.ini
|
||||
|
||||
Source-Repository head
|
||||
type: git
|
||||
@ -81,7 +57,7 @@ Flag demos
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Wcompat -O2
|
||||
ghc-options: -Wall -Wcompat -O2 -Wunused-packages
|
||||
default-extensions: CPP
|
||||
hs-source-dirs: src
|
||||
exposed-modules:
|
||||
@ -119,7 +95,7 @@ library
|
||||
Brick.Types.Internal
|
||||
Brick.Widgets.Internal
|
||||
|
||||
build-depends: base >= 4.9.0.0 && < 4.18.0.0,
|
||||
build-depends: base >= 4.9.0.0 && < 4.19.0.0,
|
||||
vty >= 5.36 && < 6.0,
|
||||
bimap >= 0.5 && < 0.6,
|
||||
data-clist >= 0.1,
|
||||
@ -133,10 +109,9 @@ library
|
||||
mtl,
|
||||
config-ini,
|
||||
vector,
|
||||
contravariant,
|
||||
stm >= 2.4.3,
|
||||
text,
|
||||
text-zipper >= 0.12,
|
||||
text-zipper >= 0.13,
|
||||
template-haskell,
|
||||
deepseq >= 1.3 && < 1.5,
|
||||
unix,
|
||||
|
@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 02:30:51 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update brick to version 1.10 revision 1.
|
||||
1.10
|
||||
----
|
||||
|
||||
API changes:
|
||||
* The `ScrollbarRenderer` type got split up into vertical and horizontal
|
||||
versions, `VScrollbarRenderer` and `HScrollbarRenderer`, respectively.
|
||||
Their fields are nearly identical to the original `ScrollbarRenderer`
|
||||
fields except that many fields now have a `V` or `H` in them as
|
||||
appropriate. As part of this change, the various `Brick.Widgets.Core`
|
||||
functions that deal with the renderers got their types updated, and
|
||||
the types of the default scroll bar renderers changed, too.
|
||||
* The scroll bar renderers now have a field to control how much space
|
||||
is allocated to a scroll bar. Previously, all scroll bars were
|
||||
assumed to be exactly one row in height or one column in width. This
|
||||
change is motivated by a desire to be able to control how scroll
|
||||
bars are rendered adjacent to viewport contents. It isn't always
|
||||
desirable to render them right up against the contents; sometimes,
|
||||
spacing would be nice between the bar and contents, for example.
|
||||
As part of this change, `VScrollbarRenderer` got a field called
|
||||
`scrollbarWidthAllocation` and `HScrollbarRenderer` got a field called
|
||||
`scrollbarHeightAllocation`. The fields specify the height (for
|
||||
horizontal scroll bars) or width (for vertical ones) of the region
|
||||
in which the bar is rendered, allowing scroll bar element widgets
|
||||
to take up more than one row in height (for horizontal scroll bars)
|
||||
or more than one column in width (for vertical ones) as desired. If
|
||||
the widgets take up less space, padding is added between the scroll
|
||||
bar and the viewport contents to pad the scroll bar to take up the
|
||||
specified allocation.
|
||||
|
||||
1.9
|
||||
---
|
||||
|
||||
API changes:
|
||||
* `FocusRing` got a `Show` instance.
|
||||
|
||||
1.8
|
||||
---
|
||||
|
||||
API changes:
|
||||
* Added `Brick.Widgets.Core.forceAttrAllowStyle`, which is like
|
||||
`forceAttr` but allows styles to be preserved rather than overridden.
|
||||
|
||||
Other improvements:
|
||||
* The `Brick.Forms` documentation was updated to clarify how attributes
|
||||
get used for form fields.
|
||||
|
||||
1.7
|
||||
---
|
||||
|
||||
Package changes:
|
||||
* Allow building with `base` 4.18 (GHC 9.6) (thanks Mario Lang)
|
||||
|
||||
API changes:
|
||||
* Added a new function, `Brick.Util.style`, to create a Vty `Attr` from
|
||||
a style value (thanks Amir Dekel)
|
||||
|
||||
Other improvements:
|
||||
* `Brick.Forms.renderForm` now issues a visibility request for the
|
||||
focused form field, which makes forms usable within viewports.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 02:31:49 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.6
|
||||
Version: 1.10
|
||||
Release: 0
|
||||
Summary: A declarative terminal user interface library
|
||||
License: BSD-3-Clause
|
||||
@ -38,8 +38,6 @@ BuildRequires: ghc-config-ini-devel
|
||||
BuildRequires: ghc-config-ini-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-contravariant-devel
|
||||
BuildRequires: ghc-contravariant-prof
|
||||
BuildRequires: ghc-data-clist-devel
|
||||
BuildRequires: ghc-data-clist-prof
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
|
Loading…
x
Reference in New Issue
Block a user