Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| aaa0cabb72 | |||
| bf8506241d |
@@ -1,67 +0,0 @@
|
||||
From 18dfb6fc1eb1624dd22386402af0951992900f0c Mon Sep 17 00:00:00 2001
|
||||
From: Peter Simons <simons@cryp.to>
|
||||
Date: Mon, 26 Jun 2023 14:00:56 +0200
|
||||
Subject: [PATCH 1/3] Allow building with text-2.0.x.
|
||||
|
||||
---
|
||||
libmpd.cabal | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libmpd.cabal b/libmpd.cabal
|
||||
index 37a61f1..800b68e 100644
|
||||
--- a/libmpd.cabal
|
||||
+++ b/libmpd.cabal
|
||||
@@ -45,7 +45,7 @@ Library
|
||||
, containers >= 0.3 && < 1
|
||||
, filepath >= 1 && < 2
|
||||
, mtl >= 2.2.2 && < 3
|
||||
- , text >= 0.11 && < 2
|
||||
+ , text >= 0.11 && < 2.1
|
||||
, time >= 1.5 && < 2
|
||||
|
||||
-- Additional dependencies
|
||||
|
||||
From 5737096a339edc265a663f51ad9d29baee262694 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Simons <simons@cryp.to>
|
||||
Date: Mon, 26 Jun 2023 14:01:09 +0200
|
||||
Subject: [PATCH 2/3] Import Control.Monad for missing foldM.
|
||||
|
||||
---
|
||||
src/Network/MPD/Commands/Parse.hs | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/Network/MPD/Commands/Parse.hs b/src/Network/MPD/Commands/Parse.hs
|
||||
index 49f23cb..f53283c 100644
|
||||
--- a/src/Network/MPD/Commands/Parse.hs
|
||||
+++ b/src/Network/MPD/Commands/Parse.hs
|
||||
@@ -12,6 +12,7 @@ module Network.MPD.Commands.Parse where
|
||||
|
||||
import Network.MPD.Commands.Types
|
||||
|
||||
+import Control.Monad
|
||||
import Control.Monad.Except
|
||||
import Data.Maybe (fromMaybe)
|
||||
|
||||
|
||||
From f1cbf247261641565a3937b90721f7955d254c5e Mon Sep 17 00:00:00 2001
|
||||
From: Peter Simons <simons@cryp.to>
|
||||
Date: Mon, 26 Feb 2024 08:12:58 +0100
|
||||
Subject: [PATCH 3/3] Allow building with text-2.1.x to support ghc-9.8.x.
|
||||
|
||||
---
|
||||
libmpd.cabal | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libmpd.cabal b/libmpd.cabal
|
||||
index 800b68e..c667a3b 100644
|
||||
--- a/libmpd.cabal
|
||||
+++ b/libmpd.cabal
|
||||
@@ -45,7 +45,7 @@ Library
|
||||
, containers >= 0.3 && < 1
|
||||
, filepath >= 1 && < 2
|
||||
, mtl >= 2.2.2 && < 3
|
||||
- , text >= 0.11 && < 2.1
|
||||
+ , text >= 0.11 && < 2.2
|
||||
, time >= 1.5 && < 2
|
||||
|
||||
-- Additional dependencies
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 17:22:19 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update libmpd to version 0.10.0.1.
|
||||
* v0.10.0.1
|
||||
- Fix build issues caused by removed symbols in dependencies
|
||||
- Adjust `text` bounds
|
||||
|
||||
- Drop obsolete fix-build-with-ghc-9.8.x.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 20:39:50 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
@@ -45,9 +55,9 @@ Mon Jan 4 11:06:54 UTC 2021 - psimons@suse.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
||||
- disable %{ix86} build
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 6 08:56:03 UTC 2020 - psimons@suse.com
|
||||
|
||||
@@ -68,4 +78,3 @@ Tue Aug 18 10:45:19 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
Tue Jun 9 10:27:03 UTC 2020 - psimons@suse.com
|
||||
|
||||
- Add libmpd at version 0.9.1.0.
|
||||
|
||||
|
||||
@@ -20,13 +20,12 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.10.0.0
|
||||
Version: 0.10.0.1
|
||||
Release: 0
|
||||
Summary: An MPD client library
|
||||
License: MIT
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Patch1: https://github.com/vimus/libmpd-haskell/pull/138.patch#/fix-build-with-ghc-9.8.x.patch
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-attoparsec-prof
|
||||
@@ -93,7 +92,7 @@ Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version} -p1
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7062e2ce476c48e9efd75a802d2a93ce067243e9fe355faed0970f0b72a41b21
|
||||
size 43455
|
||||
3
libmpd-0.10.0.1.tar.gz
Normal file
3
libmpd-0.10.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a658fc3dded12e67a0cb08e6ad295abfedf7ce9ebebc2f5d225289f4ae8e4331
|
||||
size 43523
|
||||
Reference in New Issue
Block a user