Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hledger-ui for openSUSE:Factory checked in at 2024-05-10 12:04:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hledger-ui (Old) and /work/SRC/openSUSE:Factory/.hledger-ui.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hledger-ui" Fri May 10 12:04:41 2024 rev:25 rq:1172772 version:1.33.1 Changes: -------- --- /work/SRC/openSUSE:Factory/hledger-ui/hledger-ui.changes 2024-03-20 21:16:46.299385894 +0100 +++ /work/SRC/openSUSE:Factory/.hledger-ui.new.1880/hledger-ui.changes 2024-05-10 12:05:06.577417901 +0200 @@ -1,0 +2,20 @@ +Thu May 2 11:03:20 UTC 2024 - Peter Simons <[email protected]> + +- Update hledger-ui to version 1.33.1. + Upstream's change log file format is strange (too much unmodified + text at at the top). The automatic updater cannot extract the + relevant additions. You can find the file at: + http://hackage.haskell.org/package/hledger-ui-1.33.1/src/CHANGES.md + +------------------------------------------------------------------- +Thu Apr 18 23:38:07 UTC 2024 - Peter Simons <[email protected]> + +- Update hledger-ui to version 1.33. + Upstream's change log file format is strange (too much unmodified + text at at the top). The automatic updater cannot extract the + relevant additions. You can find the file at: + http://hackage.haskell.org/package/hledger-ui-1.33/src/CHANGES.md + +- Drop obsolete "fix-build-with-ghc-9.8.x.patch". + +------------------------------------------------------------------- Old: ---- fix-build-with-ghc-9.8.x.patch hledger-ui-1.32.3.tar.gz New: ---- hledger-ui-1.33.1.tar.gz BETA DEBUG BEGIN: Old: - Drop obsolete "fix-build-with-ghc-9.8.x.patch". BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hledger-ui.spec ++++++ --- /var/tmp/diff_new_pack.yqQCoG/_old 2024-05-10 12:05:08.993505913 +0200 +++ /var/tmp/diff_new_pack.yqQCoG/_new 2024-05-10 12:05:08.993505913 +0200 @@ -19,13 +19,12 @@ %global pkg_name hledger-ui %global pkgver %{pkg_name}-%{version} Name: %{pkg_name} -Version: 1.32.3 +Version: 1.33.1 Release: 0 Summary: Terminal interface for the hledger accounting system License: GPL-3.0-or-later URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -Patch1: https://github.com/simonmichael/hledger/commit/de3209a2fbe50093236b95ec525eaea654e9dcb3.patch#/fix-build-with-ghc-9.8.x.patch BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-ansi-terminal-devel @@ -133,8 +132,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep -%autosetup -p2 -cabal-tweak-dep-ver base "<4.19" "< 5" +%autosetup %build %ghc_lib_build ++++++ hledger-ui-1.32.3.tar.gz -> hledger-ui-1.33.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/CHANGES.md new/hledger-ui-1.33.1/CHANGES.md --- old/hledger-ui-1.32.3/CHANGES.md 2024-01-28 12:30:10.000000000 +0100 +++ new/hledger-ui-1.33.1/CHANGES.md 2024-05-02 12:47:06.000000000 +0200 @@ -1,10 +1,10 @@ <!-- - _ + _ _ _(_) | | | | | | |_| | | \__,_|_| - + Breaking changes Fixes @@ -21,6 +21,35 @@ User-visible changes in hledger-ui. See also the hledger changelog. +# 1.33.1 2024-05-02 + +- Require vty-windows-0.2.0.2+ to avoid display problems in recent + MS Terminal on Windows. + +- process >=1.6.19.0 seems not strictly needed and is no longer required, + improving installability. + [#2149] + +[#2149]: https://github.com/simonmichael/hledger/issues/2149 + + +# 1.33 2024-04-18 + +Fixes + +- Require process 1.6.19.0+ to avoid any vulnerabilities on Windows from + [HSEC-2024-0003](https://haskell.github.io/security-advisories/advisory/HSEC-2024-0003.html). + +Features + +- Add a `dark` theme. (Jonathan Dowland) + +Improvements + +- Allow building with GHC 9.8. + +- Require safe >=0.3.20. + # 1.32.3 2024-01-28 - Use hledger-1.32.3 @@ -42,10 +71,10 @@ - Allow megaparsec 9.6 # 1.32.1 2023-12-07 - - Use hledger-1.32.1 # 1.32 2023-12-01 + Fixes - The V key now preserves the valuation mode specified at the command @@ -54,6 +83,8 @@ - The hledger-ui package no longer wastefully builds its modules twice. +- Add upper bounds for vty & brick. + # 1.31 2023-09-03 Improvements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/Hledger/UI/AccountsScreen.hs new/hledger-ui-1.33.1/Hledger/UI/AccountsScreen.hs --- old/hledger-ui-1.32.3/Hledger/UI/AccountsScreen.hs 2024-01-28 11:05:20.000000000 +0100 +++ new/hledger-ui-1.33.1/Hledger/UI/AccountsScreen.hs 2024-02-27 01:53:38.000000000 +0100 @@ -1,5 +1,6 @@ -- The accounts screen, showing accounts and balances like the CLI balance command. +{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE TupleSections #-} @@ -23,7 +24,11 @@ import Brick.Widgets.Edit import Control.Monad import Control.Monad.IO.Class (liftIO) +#if MIN_VERSION_base(4,19,0) +import Data.List hiding (reverse, (!?)) +#else import Data.List hiding (reverse) +#endif import Data.Maybe import qualified Data.Text as T import Data.Time.Calendar (Day) @@ -80,7 +85,7 @@ displayitems = ass ^. assList . listElementsL acctwidths = V.map (\AccountsScreenItem{..} -> asItemIndentLevel + realLength asItemDisplayAccountName) displayitems - balwidths = V.map (maybe 0 (wbWidth . showMixedAmountB oneLine) . asItemMixedAmount) displayitems + balwidths = V.map (maybe 0 (wbWidth . showMixedAmountB oneLineNoCostFmt) . asItemMixedAmount) displayitems preferredacctwidth = V.maximum acctwidths totalacctwidthseen = V.sum acctwidths preferredbalwidth = V.maximum balwidths @@ -169,7 +174,7 @@ splitAmounts balBuilder where balBuilder = maybe mempty showamt asItemMixedAmount - showamt = showMixedAmountB oneLine{displayMinWidth=Just balwidth, displayMaxWidth=Just balwidth} + showamt = showMixedAmountB oneLineNoCostFmt{displayMinWidth=Just balwidth, displayMaxWidth=Just balwidth} balspace = T.replicate (2 + balwidth - wbWidth balBuilder) " " splitAmounts = foldr1 (<+>) . intersperse (str ", ") . map renderamt . T.splitOn ", " . wbToText renderamt :: T.Text -> Widget Name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/Hledger/UI/RegisterScreen.hs new/hledger-ui-1.33.1/Hledger/UI/RegisterScreen.hs --- old/hledger-ui-1.32.3/Hledger/UI/RegisterScreen.hs 2024-01-27 02:04:25.000000000 +0100 +++ new/hledger-ui-1.33.1/Hledger/UI/RegisterScreen.hs 2024-02-27 01:53:38.000000000 +0100 @@ -19,7 +19,11 @@ import Control.Monad import Control.Monad.IO.Class (liftIO) import Data.Bifunctor (bimap, Bifunctor (second)) +#if MIN_VERSION_base(4,19,0) +import Data.List hiding ((!?)) +#else import Data.List +#endif import Data.Maybe import qualified Data.Text as T import qualified Data.Vector as V diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/Hledger/UI/Theme.hs new/hledger-ui-1.33.1/Hledger/UI/Theme.hs --- old/hledger-ui-1.32.3/Hledger/UI/Theme.hs 2023-10-18 14:45:41.000000000 +0200 +++ new/hledger-ui-1.33.1/Hledger/UI/Theme.hs 2024-02-29 02:54:28.000000000 +0100 @@ -21,9 +21,10 @@ import Data.Maybe import Graphics.Vty import Brick +import Safe (headErr) defaultTheme :: AttrMap -defaultTheme = fromMaybe (snd $ head themesList) $ getTheme "white" +defaultTheme = fromMaybe (snd $ headErr themesList) $ getTheme "white" -- PARTIAL headErr succeeds because themesList is non-null -- the theme named here should exist; -- otherwise it will take the first one from the list, -- which must be non-empty. @@ -103,6 +104,29 @@ (attrName "list" <> attrName "selected" , defAttr & reverseVideo) ]) + ,("dark", attrMap (white `on` black & dim) [ + (attrName "border" , white `on` black) + , (attrName "border" <> attrName "bold" , currentAttr & bold) + , (attrName "border" <> attrName "depth" , active) + , (attrName "border" <> attrName "filename" , currentAttr) + , (attrName "border" <> attrName "key" , active) + , (attrName "border" <> attrName "minibuffer" , white `on` black & bold) + , (attrName "border" <> attrName "query" , active) + , (attrName "border" <> attrName "selected" , active) + , (attrName "error" , fg red) + , (attrName "help" , currentAttr & bold) + , (attrName "help" <> attrName "heading" , fg blue) + , (attrName "help" <> attrName "key" , active) + , (attrName "list" <> attrName "amount" <> attrName "decrease" , fg red) + , (attrName "list" <> attrName "amount" <> attrName "decrease" <> attrName "selected" , red `on` black & bold) + , (attrName "list" <> attrName "balance" , currentAttr) + , (attrName "list" <> attrName "balance" <> attrName "negative" , fg red) + , (attrName "list" <> attrName "balance" <> attrName "positive" , fg white) + , (attrName "list" <> attrName "balance" <> attrName "negative" <> attrName "selected" , red `on` black & bold) + , (attrName "list" <> attrName "balance" <> attrName "positive" <> attrName "selected" , yellow `on` black & bold) + , (attrName "list" <> attrName "selected" , yellow `on` black & bold) + ]) + ] -- halfbrightattr = defAttr & dim diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/Hledger/UI/UIScreens.hs new/hledger-ui-1.33.1/Hledger/UI/UIScreens.hs --- old/hledger-ui-1.32.3/Hledger/UI/UIScreens.hs 2024-01-28 11:05:20.000000000 +0100 +++ new/hledger-ui-1.33.1/Hledger/UI/UIScreens.hs 2024-02-27 01:53:38.000000000 +0100 @@ -291,7 +291,7 @@ ,rsItemTransaction = t } where - showamt = showMixedAmountB oneLine{displayMaxWidth=Just 3} + showamt = showMixedAmountB oneLineNoCostFmt{displayMaxWidth=Just 3} wd = whichDate ropts' -- blank items are added to allow more control of scroll position; we won't allow movement over these. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/hledger-ui.1 new/hledger-ui-1.33.1/hledger-ui.1 --- old/hledger-ui-1.32.3/hledger-ui.1 2024-01-28 12:13:34.000000000 +0100 +++ new/hledger-ui-1.33.1/hledger-ui.1 2024-05-02 12:47:06.000000000 +0200 @@ -1,5 +1,5 @@ -.TH "HLEDGER\-UI" "1" "January 2024" "hledger-ui-1.32.3 " "hledger User Manuals" +.TH "HLEDGER\-UI" "1" "May 2024" "hledger-ui-1.33.1 " "hledger User Manuals" @@ -12,7 +12,7 @@ .PD \f[CR]hledger ui \-\- [OPTS] [QUERYARGS]\f[R] .SH DESCRIPTION -This manual is for hledger\[aq]s terminal interface, version 1.32.3. +This manual is for hledger\[aq]s terminal interface, version 1.33.1. See also the hledger manual for common concepts and file formats. .PP hledger is a robust, user\-friendly, cross\-platform set of programs for @@ -49,7 +49,7 @@ \f[CR]\-w \-\-watch\f[R] watch for data and date changes and reload automatically .TP -\f[CR]\-\-theme=default|terminal|greenterm\f[R] +\f[CR]\-\-theme=default|terminal|greenterm|dark\f[R] use this custom display theme .TP \f[CR]\-\-menu\f[R] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/hledger-ui.cabal new/hledger-ui-1.33.1/hledger-ui.cabal --- old/hledger-ui-1.32.3/hledger-ui.cabal 2024-01-28 12:13:34.000000000 +0100 +++ new/hledger-ui-1.33.1/hledger-ui.cabal 2024-05-02 12:47:06.000000000 +0200 @@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hledger-ui -version: 1.32.3 +version: 1.33.1 synopsis: Terminal interface for the hledger accounting system description: A simple terminal user interface for the hledger accounting system. It can be a more convenient way to browse your accounts than the CLI. @@ -68,11 +68,11 @@ hs-source-dirs: ./ ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind - cpp-options: -DVERSION="1.32.3" -DVERSION="1.32.3" + cpp-options: -DVERSION="1.33.1" -DVERSION="1.33.1" build-depends: ansi-terminal >=0.9 , async - , base >=4.14 && <4.19 + , base >=4.14 && <4.20 , brick >=2.1.1 && <2.4 , cmdargs >=0.8 , containers >=0.5.9 @@ -82,14 +82,14 @@ , extra >=1.6.3 , filepath , fsnotify ==0.4.* - , hledger >=1.32.3 && <1.33 - , hledger-lib >=1.32.3 && <1.33 + , hledger >=1.33.1 && <1.34 + , hledger-lib >=1.33.1 && <1.34 , megaparsec >=7.0.0 && <9.7 , microlens >=0.4 , microlens-platform >=0.2.3.1 , mtl >=2.2.1 , process >=1.2 - , safe >=0.3.19 + , safe >=0.3.20 , split >=0.1 , text >=1.2.4.1 , text-zipper >=0.4 @@ -113,10 +113,10 @@ hs-source-dirs: app ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind - cpp-options: -DVERSION="1.32.3" + cpp-options: -DVERSION="1.33.1" build-depends: - base >=4.14 && <4.19 + base >=4.14 && <4.20 , hledger-ui default-language: Haskell2010 if flag(threaded) - ghc-options: -threaded + ghc-options: -threaded -with-rtsopts=-T diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/hledger-ui.info new/hledger-ui-1.33.1/hledger-ui.info --- old/hledger-ui-1.32.3/hledger-ui.info 2024-01-28 12:13:34.000000000 +0100 +++ new/hledger-ui-1.33.1/hledger-ui.info 2024-05-02 12:47:06.000000000 +0200 @@ -16,7 +16,7 @@ 'hledger-ui [OPTS] [QUERYARGS]' 'hledger ui -- [OPTS] [QUERYARGS]' - This manual is for hledger's terminal interface, version 1.32.3. See + This manual is for hledger's terminal interface, version 1.33.1. See also the hledger manual for common concepts and file formats. hledger is a robust, user-friendly, cross-platform set of programs @@ -66,7 +66,7 @@ '-w --watch' watch for data and date changes and reload automatically -'--theme=default|terminal|greenterm' +'--theme=default|terminal|greenterm|dark' use this custom display theme '--menu' @@ -673,44 +673,44 @@ Node: Top221 Node: OPTIONS1830 Ref: #options1928 -Node: General help options2951 -Ref: #general-help-options3100 -Node: General input options3382 -Ref: #general-input-options3567 -Node: General reporting options4224 -Ref: #general-reporting-options4388 -Node: MOUSE7778 -Ref: #mouse7873 -Node: KEYS8110 -Ref: #keys8203 -Node: SCREENS12858 -Ref: #screens12956 -Node: Menu13536 -Ref: #menu13629 -Node: Cash accounts13824 -Ref: #cash-accounts13966 -Node: Balance sheet accounts14150 -Ref: #balance-sheet-accounts14331 -Node: Income statement accounts14451 -Ref: #income-statement-accounts14637 -Node: All accounts14801 -Ref: #all-accounts14947 -Node: Register15129 -Ref: #register15253 -Node: Transaction17537 -Ref: #transaction17660 -Node: Error19077 -Ref: #error19171 -Node: TIPS19415 -Ref: #tips19514 -Node: Watch mode19556 -Ref: #watch-mode19663 -Node: Debug output21122 -Ref: #debug-output21233 -Node: ENVIRONMENT21445 -Ref: #environment21555 -Node: BUGS21746 -Ref: #bugs21829 +Node: General help options2956 +Ref: #general-help-options3105 +Node: General input options3387 +Ref: #general-input-options3572 +Node: General reporting options4229 +Ref: #general-reporting-options4393 +Node: MOUSE7783 +Ref: #mouse7878 +Node: KEYS8115 +Ref: #keys8208 +Node: SCREENS12863 +Ref: #screens12961 +Node: Menu13541 +Ref: #menu13634 +Node: Cash accounts13829 +Ref: #cash-accounts13971 +Node: Balance sheet accounts14155 +Ref: #balance-sheet-accounts14336 +Node: Income statement accounts14456 +Ref: #income-statement-accounts14642 +Node: All accounts14806 +Ref: #all-accounts14952 +Node: Register15134 +Ref: #register15258 +Node: Transaction17542 +Ref: #transaction17665 +Node: Error19082 +Ref: #error19176 +Node: TIPS19420 +Ref: #tips19519 +Node: Watch mode19561 +Ref: #watch-mode19668 +Node: Debug output21127 +Ref: #debug-output21238 +Node: ENVIRONMENT21450 +Ref: #environment21560 +Node: BUGS21751 +Ref: #bugs21834 End Tag Table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hledger-ui-1.32.3/hledger-ui.txt new/hledger-ui-1.33.1/hledger-ui.txt --- old/hledger-ui-1.32.3/hledger-ui.txt 2024-01-28 12:13:34.000000000 +0100 +++ new/hledger-ui-1.33.1/hledger-ui.txt 2024-05-02 12:47:06.000000000 +0200 @@ -9,7 +9,7 @@ hledger ui -- [OPTS] [QUERYARGS] DESCRIPTION - This manual is for hledger's terminal interface, version 1.32.3. See + This manual is for hledger's terminal interface, version 1.33.1. See also the hledger manual for common concepts and file formats. hledger is a robust, user-friendly, cross-platform set of programs for @@ -44,7 +44,7 @@ -w --watch watch for data and date changes and reload automatically - --theme=default|terminal|greenterm + --theme=default|terminal|greenterm|dark use this custom display theme --menu start in the menu screen @@ -535,4 +535,4 @@ SEE ALSO hledger(1), hledger-ui(1), hledger-web(1), ledger(1) -hledger-ui-1.32.3 January 2024 HLEDGER-UI(1) +hledger-ui-1.33.1 May 2024 HLEDGER-UI(1)
