Bug 277793 - x11/hs-xmobar: Update 0.47.2 -> 0.48
Summary: x11/hs-xmobar: Update 0.47.2 -> 0.48
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-haskell (Nobody)
URL: https://hackage.haskell.org/package/x...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-18 21:17 UTC by Andrey Korobkov
Modified: 2024-04-06 19:36 UTC (History)
3 users (show)

See Also:
arrowd: maintainer-feedback+


Attachments
[PATCH] x11/hs-xmobar: Update to 0.47.4 (26.25 KB, patch)
2024-03-18 22:03 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH] x11/hs-xmobar: Update to 0.48 (29.19 KB, patch)
2024-04-06 18:41 UTC, Andrey Korobkov
alster: maintainer-approval? (haskell)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Korobkov 2024-03-18 21:17:33 UTC

    
Comment 1 Andrey Korobkov 2024-03-18 22:03:34 UTC
Created attachment 249286 [details]
[PATCH] x11/hs-xmobar: Update to 0.47.4
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2024-03-19 17:49:22 UTC
I get

=> cabal/hinotify-0.4.1/hinotify-0.4.1.tar.gz is not in /usr/ports/x11/hs-xmobar/distinfo.
=> Either /usr/ports/x11/hs-xmobar/distinfo is out of date, or
=> cabal/hinotify-0.4.1/hinotify-0.4.1.tar.gz is spelled incorrectly.
*** Error code 1

When trying to build with your patch.

Haskell ports with OPTIONS are a bit complex. You first disable all options that affect USE_CABAL and do the usual make cabal-extract cabal-configure make-use-cabal route. Then you either manually fill OPT_USE_CABAL knobs or enable these options and then re-run cabal-configure and make-use-cabal to figure out appropriate values. This is clumsy, but I never got the time to automate this somehow.
Comment 3 Andrey Korobkov 2024-03-27 10:38:22 UTC
Thank you for the kind and helpful explanation: this is exactly what I was to ask you about to learn how to build and advance all these haskell ports.

I'll study this process for some time and then rework my patches and resend them later.

Thank you once again! :)
Comment 4 Andrey Korobkov 2024-04-06 18:41:00 UTC
Created attachment 249772 [details]
[PATCH] x11/hs-xmobar: Update to 0.48
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-04-06 19:33:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30f3da188925ff7f197fc8de376e20204e7f4d2c

commit 30f3da188925ff7f197fc8de376e20204e7f4d2c
Author:     Andrey Korobkov <alster@vinterdalen.se>
AuthorDate: 2024-04-06 18:45:43 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-06 19:31:37 +0000

    x11/hs-xmobar: Update to 0.48

    PR:             277793

 x11/hs-xmobar/Makefile  |  65 ++++++++++++++-------------
 x11/hs-xmobar/distinfo  | 116 ++++++++++++++++++++++++++++--------------------
 x11/hs-xmobar/pkg-descr |   8 ++--
 3 files changed, 107 insertions(+), 82 deletions(-)
Comment 6 Gleb Popov freebsd_committer freebsd_triage 2024-04-06 19:36:28 UTC
Pushed, thanks!