Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (5)
postgresql-simple: Upgrading from 0.5.3.0 to 0.5.4.0
· 919e5c44
Clint Adams
authored
Jul 03, 2018
919e5c44
prettyprinter: Upgrading from 1.2.0.1 to 1.2.1
· 7780bd6c
Clint Adams
authored
Jul 03, 2018
7780bd6c
primitive: Upgrading from 0.6.3.0 to 0.6.4.0
· e8e5b0b5
Clint Adams
authored
Jul 03, 2018
e8e5b0b5
protobuf: Upgrading from 0.2.1.1 to 0.2.1.2
· c50e28fd
Clint Adams
authored
Jul 03, 2018
c50e28fd
psqueues: Upgrading from 0.2.6.0 to 0.2.7.0
· 859f65fb
Clint Adams
authored
Jul 03, 2018
859f65fb
Show whitespace changes
Inline
Side-by-side
p/haskell-postgresql-simple/debian/changelog
View file @
859f65fb
haskell-postgresql-simple (0.5.
3
.0-
3
)
UNRELEASED
; urgency=medium
haskell-postgresql-simple (0.5.
4
.0-
1
)
unstable
; urgency=medium
* Set Rules-Requires-Root to no.
* New upstream release
-- Clint Adams <clint@debian.org>
Sun, 06 May
2018 22:
10:21
-0400
-- Clint Adams <clint@debian.org>
Tue, 03 Jul
2018 22:
45:55
-0400
haskell-postgresql-simple (0.5.3.0-2) unstable; urgency=medium
...
...
p/haskell-prettyprinter/debian/changelog
View file @
859f65fb
haskell-prettyprinter (1.2.
0.
1-
2
)
UNRELEASED
; urgency=medium
haskell-prettyprinter (1.2.1-
1
)
unstable
; urgency=medium
* Set Rules-Requires-Root to no.
* New upstream release
-- Clint Adams <clint@debian.org>
Sun, 06 May
2018 22:
10:22
-0400
-- Clint Adams <clint@debian.org>
Tue, 03 Jul
2018 22:
46:04
-0400
haskell-prettyprinter (1.2.0.1-1) unstable; urgency=low
...
...
p/haskell-primitive/debian/changelog
View file @
859f65fb
haskell-primitive (0.6.
3
.0-
2
)
UNRELEASED
; urgency=medium
haskell-primitive (0.6.
4
.0-
1
)
unstable
; urgency=medium
* Set Rules-Requires-Root to no.
* New upstream release
-- Clint Adams <clint@debian.org>
Sun, 06 May
2018 22:
10:22
-0400
-- Clint Adams <clint@debian.org>
Tue, 03 Jul
2018 22:
46:14
-0400
haskell-primitive (0.6.3.0-1) unstable; urgency=medium
...
...
p/haskell-protobuf/debian/changelog
View file @
859f65fb
haskell-protobuf (0.2.1.2-1) unstable; urgency=medium
* New upstream release
-- Clint Adams <clint@debian.org> Tue, 03 Jul 2018 22:46:21 -0400
haskell-protobuf (0.2.1.1-4) unstable; urgency=medium
[ Clint Adams ]
...
...
p/haskell-protobuf/debian/patches/0001-Fix-compilation-on-GHC-8.0.patch
deleted
100644 → 0
View file @
b2c94634
From 0689cb6f0e5e980cb85e89eac53fa4fdb968b9ee Mon Sep 17 00:00:00 2001
From: YoEight <yo.eight@gmail.com>
Date: Wed, 16 May 2018 17:05:11 +0200
Subject: [PATCH 1/3] Fix compilation on GHC >= 8.0
---
protobuf.cabal | 3 +++
src/Data/Binary/Builder/Sized.hs | 6 +++++-
src/Data/ProtocolBuffers/Message.hs | 8 ++++++--
src/Data/ProtocolBuffers/Types.hs | 28 ++++++++++++++++------------
4 files changed, 30 insertions(+), 15 deletions(-)
Index: haskell-protobuf-0.2.1.1/protobuf.cabal
===================================================================
--- haskell-protobuf-0.2.1.1.orig/protobuf.cabal
+++ haskell-protobuf-0.2.1.1/protobuf.cabal
@@ -58,6 +58,9 @@
ghc-options:
-Wall
+ if impl(ghc < 8.0)
+ build-depends: semigroups == 0.18.*
+
-- executable protoc-gen-hs
-- default-language:
-- Haskell2010
Index: haskell-protobuf-0.2.1.1/src/Data/ProtocolBuffers/Message.hs
===================================================================
--- haskell-protobuf-0.2.1.1.orig/src/Data/ProtocolBuffers/Message.hs
+++ haskell-protobuf-0.2.1.1/src/Data/ProtocolBuffers/Message.hs
@@ -17,10 +17,11 @@
import Control.Applicative
import Control.DeepSeq (NFData(..))
import Data.Foldable
-import Data.Monoid
+import Data.Monoid hiding ((<>))
import Data.Serialize.Get
import Data.Serialize.Put
import Data.Traversable
+import Data.Semigroup (Semigroup(..))
import GHC.Generics
import GHC.TypeLits
@@ -96,9 +97,12 @@
newtype Message m = Message {runMessage :: m}
deriving (Eq, Foldable, Functor, Ord, Show, Traversable)
+instance (Generic m, GMessageMonoid (Rep m)) => Semigroup (Message m) where
+ Message x <> Message y = Message . to $ gmappend (from x) (from y)
+
instance (Generic m, GMessageMonoid (Rep m)) => Monoid (Message m) where
mempty = Message . to $ gmempty
- Message x `mappend` Message y = Message . to $ gmappend (from x) (from y)
+ mappend = (<>)
instance (Decode a, Monoid (Message a), KnownNat n) => GDecode (K1 i (Field n (RequiredField (Always (Message a))))) where
gdecode = fieldDecode (Required . Always)
Index: haskell-protobuf-0.2.1.1/src/Data/ProtocolBuffers/Types.hs
===================================================================
--- haskell-protobuf-0.2.1.1.orig/src/Data/ProtocolBuffers/Types.hs
+++ haskell-protobuf-0.2.1.1/src/Data/ProtocolBuffers/Types.hs
@@ -29,7 +29,8 @@
import Control.DeepSeq (NFData)
import Data.Bits
import Data.Foldable as Fold
-import Data.Monoid
+import Data.Monoid hiding ((<>))
+import Data.Semigroup (Semigroup(..))
import Data.Traversable
import Data.Typeable
@@ -38,25 +39,25 @@
-- |
-- 'Value' selects the normal/typical way for encoding scalar (primitive) values.
newtype Value a = Value {runValue :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Monoid, Ord, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Semigroup, Monoid, Ord, NFData, Show, Traversable, Typeable)
-- |
-- 'RequiredField' is a newtype wrapped used to break overlapping instances
-- for encoding and decoding values
newtype RequiredField a = Required {runRequired :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Monoid, Ord, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Semigroup, Monoid, Ord, NFData, Show, Traversable, Typeable)
-- |
-- 'OptionalField' is a newtype wrapped used to break overlapping instances
-- for encoding and decoding values
newtype OptionalField a = Optional {runOptional :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Monoid, Ord, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Semigroup, Monoid, Ord, NFData, Show, Traversable, Typeable)
-- |
-- 'RepeatedField' is a newtype wrapped used to break overlapping instances
-- for encoding and decoding values
newtype RepeatedField a = Repeated {runRepeated :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Monoid, Ord, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Semigroup, Monoid, Ord, NFData, Show, Traversable, Typeable)
-- |
-- Fields are merely a way to hold a field tag along with its type, this shouldn't normally be referenced directly.
@@ -64,7 +65,7 @@
-- This provides better error messages than older versions which used 'Data.Tagged.Tagged'
--
newtype Field (n :: Nat) a = Field {runField :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Monoid, Ord, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Semigroup, Monoid, Ord, NFData, Show, Traversable, Typeable)
-- |
-- To provide consistent instances for serialization a 'Traversable' 'Functor' is needed to
@@ -74,9 +75,12 @@
newtype Always a = Always {runAlways :: a}
deriving (Bounded, Eq, Enum, Foldable, Functor, Ord, NFData, Show, Traversable, Typeable)
+instance Semigroup (Always a) where
+ _ <> y = y
+
instance Monoid (Always a) where
mempty = error "Always is not a Monoid"
- mappend _ y = y
+ mappend = (<>)
-- |
-- Functions for wrapping and unwrapping record fields.
@@ -175,24 +179,24 @@
-- |
-- 'Enumeration' fields use 'Prelude.fromEnum' and 'Prelude.toEnum' when encoding and decoding messages.
newtype Enumeration a = Enumeration {runEnumeration :: a}
- deriving (Bounded, Eq, Enum, Foldable, Functor, Ord, Monoid, NFData, Show, Traversable, Typeable)
+ deriving (Bounded, Eq, Enum, Foldable, Functor, Ord, Semigroup, Monoid, NFData, Show, Traversable, Typeable)
-- |
-- A 'Traversable' 'Functor' used to select packed sequence encoding/decoding.
newtype PackedField a = PackedField {runPackedField :: a}
- deriving (Eq, Foldable, Functor, Monoid, NFData, Ord, Show, Traversable, Typeable)
+ deriving (Eq, Foldable, Functor, Semigroup, Monoid, NFData, Ord, Show, Traversable, Typeable)
-- |
-- A list that is stored in a packed format.
newtype PackedList a = PackedList {unPackedList :: [a]}
- deriving (Eq, Foldable, Functor, Monoid, NFData, Ord, Show, Traversable, Typeable)
+ deriving (Eq, Foldable, Functor, Semigroup, Monoid, NFData, Ord, Show, Traversable, Typeable)
-- |
-- Signed integers are stored in a zz-encoded form.
newtype Signed a = Signed a
- deriving (Bits, Bounded, Enum, Eq, Floating, Foldable, Fractional, Functor, Integral, Monoid, NFData, Num, Ord, Real, RealFloat, RealFrac, Show, Traversable, Typeable)
+ deriving (Bits, Bounded, Enum, Eq, Floating, Foldable, Fractional, Functor, Integral, Semigroup, Monoid, NFData, Num, Ord, Real, RealFloat, RealFrac, Show, Traversable, Typeable)
-- |
-- Fixed integers are stored in little-endian form without additional encoding.
newtype Fixed a = Fixed a
- deriving (Bits, Bounded, Enum, Eq, Floating, Foldable, Fractional, Functor, Integral, Monoid, NFData, Num, Ord, Real, RealFloat, RealFrac, Show, Traversable, Typeable)
+ deriving (Bits, Bounded, Enum, Eq, Floating, Foldable, Fractional, Functor, Integral, Semigroup, Monoid, NFData, Num, Ord, Real, RealFloat, RealFrac, Show, Traversable, Typeable)
p/haskell-protobuf/debian/patches/0002-Fix-tests-compilation.patch
deleted
100644 → 0
View file @
b2c94634
From 904fbe1f964436dc525cb0ac2d85587977534cea Mon Sep 17 00:00:00 2001
From: YoEight <yo.eight@gmail.com>
Date: Wed, 16 May 2018 17:05:37 +0200
Subject: [PATCH 2/3] Fix tests compilation
---
tests/Main.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Main.hs b/tests/Main.hs
index a6b1b01..569a90f 100644
--- a/tests/Main.hs
+++ b/tests/Main.hs
@@ -13,7 +13,7 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
import Test.QuickCheck
-import Test.QuickCheck.Property
+import Test.QuickCheck.Property hiding (testCase)
import Test.Tasty
import Test.Tasty.HUnit
import Test.Tasty.QuickCheck
--
2.17.0
p/haskell-protobuf/debian/patches/series
deleted
100644 → 0
View file @
b2c94634
0001-Fix-compilation-on-GHC-8.0.patch
0002-Fix-tests-compilation.patch
p/haskell-psqueues/debian/changelog
View file @
859f65fb
haskell-psqueues (0.2.
6
.0-
2
)
UNRELEASED
; urgency=medium
haskell-psqueues (0.2.
7
.0-
1
)
unstable
; urgency=medium
* Set Rules-Requires-Root to no.
* New upstream release
-- Clint Adams <clint@debian.org>
Sun, 06 May
2018 22:
10:23
-0400
-- Clint Adams <clint@debian.org>
Tue, 03 Jul
2018 22:
46:31
-0400
haskell-psqueues (0.2.6.0-1) unstable; urgency=medium
...
...