6 Commits

Author SHA256 Message Date
410ea35def Accepting request 1310482 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1310482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-brick?expand=0&rev=32
2025-10-10 15:11:07 +00:00
df58775837 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-brick revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=69
2025-10-10 06:46:11 +00:00
6466a8af98 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-brick revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=68
2025-10-10 06:23:51 +00:00
7d4b18d7ec osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-brick revision:2, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=67
2025-10-03 21:00:49 +00:00
bdead58e1e Accepting request 1296435 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1296435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-brick?expand=0&rev=31
2025-07-31 15:45:31 +00:00
c8b80e226d osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-brick revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=65
2025-07-28 18:48:59 +00:00
4 changed files with 99 additions and 5 deletions

3
brick-2.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8429fc8a6115aa1504e3ce1e3b5d14aec31dc38cb327f2d6deb2403b8c87e21
size 236066

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fcf9e1cdecd157e2546c76ba8c1be7c5a7716aa4421e26eedade0e2953f9488
size 225021

View File

@@ -1,3 +1,91 @@
-------------------------------------------------------------------
Thu Oct 2 16:49:16 UTC 2025 - Peter Simons <psimons@suse.com>
- Update brick to version 2.10.
2.10
----
* Updated `brick` to build with `microlens == 0.5.0.0` which moved its
Field* classes to `Lens.Micro.FieldN`.
-------------------------------------------------------------------
Wed May 28 18:38:17 UTC 2025 - Peter Simons <psimons@suse.com>
- Update brick to version 2.9.
2.9
---
API changes:
* Added `Brick.Widgets.List.listFindFirst` function.
2.8.3
-----
Bug fixes:
* Fixed a bug that completely broke `makeVisible` that was introduced
in brick 2.6.
* Fixed context cropping in `cropRightBy` and `cropBottomBy`.
2.8.2
-----
* Updated `Brick.Widgets.Core` functions `cropBottomBy`, `cropToBy`,
`cropLeftBy`, and `cropRightBy` to properly perform result cropping to
actually address the internal bug fixed in 2.8.1.
2.8.1
-----
* Fixed a long-standing bug in `cropToContext` that resulted in some
extents getting left around when they should be dropped, possibly
leading to application bugs when handling mouse clicks in extent
regions that should have been removed from the rendering result.
2.8
---
Behavior changes:
* `FileBrowser` file marking with `Space` now honors the file browser's
configured file selector predicate.
* `FileBrowser` file marking with `Space` and `Enter` now toggles file
selection rather than just selecting files, allowing for selected
files to be unselected.
2.7
---
This release adds `Brick.Animation`, a module providing infrastructure
for adding animations to Brick interfaces. See the Haddock documentation
in `Brick.Animation` for full details; see `programs/AnimationDemo.hs`
for a working example.
2.6
---
Behavior changes:
* `Brick.Widgets.Core.relativeTo` now draws nothing if the requested
extent is not found. Previously it would draw the specified widget in
the upper-left corner of the layer.
Bug fixes:
* Fixed the conditional import in `BorderMap` (#519)
* `Brick.Widgets.Center.hCenterWith` now properly accounts for centered
image width when computing additional right padding (#520)
* The Brick renderer now properly resets some render-specific state
in between renderings that was previously kept around, avoiding
preservation of stale extents across renderings
* `brick-tail-demo` and `brick-custom-event-demo` now shut down Vty
properly
2.5
---
New features:
* `Brick.Widgets.ProgressBar` got a new function, `customProgressBar`,
which allows the customization of the fill characters used to draw a
progress bar. (Thanks @sectore)
-------------------------------------------------------------------
Fri Jul 5 21:48:31 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-brick
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 2.4
Version: 2.10
Release: 0
Summary: A declarative terminal user interface library
License: BSD-3-Clause
@@ -47,6 +47,8 @@ BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-microlens-mtl-devel
BuildRequires: ghc-microlens-mtl-prof
@@ -64,8 +66,12 @@ BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-text-zipper-devel
BuildRequires: ghc-text-zipper-prof
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-unix-compat-devel
BuildRequires: ghc-unix-compat-prof
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-prof
BuildRequires: ghc-vty-crossplatform-devel