[Pkg-haskell-commits] darcs: haskell-wai-websockets: Do not build the example binary.
Joachim Breitner
mail at joachim-breitner.de
Sat May 3 20:26:16 UTC 2014
Sat May 3 20:23:30 UTC 2014 Joachim Breitner <mail at joachim-breitner.de>
* Do not build the example binary.
M ./control -4 +3
A ./patches/
A ./patches/no-example-binary
A ./patches/series
M ./rules +2
Sat May 3 20:23:30 UTC 2014 Joachim Breitner <mail at joachim-breitner.de>
* Do not build the example binary.
diff -rN -u old-haskell-wai-websockets/control new-haskell-wai-websockets/control
--- old-haskell-wai-websockets/control 2014-05-03 20:26:16.422771426 +0000
+++ new-haskell-wai-websockets/control 2014-05-03 20:26:16.422771426 +0000
@@ -14,8 +14,6 @@
, libghc-wai-dev (>= 2.1)
, libghc-wai-dev (<< 2.2)
, libghc-wai-prof
- , libghc-wai-app-static-dev
- , libghc-wai-app-static-prof
, libghc-blaze-builder-dev (>= 0.2.1.4)
, libghc-blaze-builder-dev (<< 0.4)
, libghc-blaze-builder-prof
@@ -31,18 +29,19 @@
, libghc-io-streams-dev (>= 1.1)
, libghc-io-streams-dev (<< 1.2)
, libghc-io-streams-prof
+ , libghc-http-types-dev
+ , libghc-http-types-prof
, libghc-file-embed-dev
- , libghc-text-dev
Build-Depends-Indep: ghc-doc
, libghc-conduit-doc
, libghc-wai-doc
- , libghc-wai-app-static-doc
, libghc-blaze-builder-doc
, libghc-case-insensitive-doc
, libghc-network-doc
, libghc-transformers-doc
, libghc-websockets-doc
, libghc-io-streams-doc
+ , libghc-http-types-doc
Standards-Version: 3.9.5
Homepage: http://hackage.haskell.org/package/wai-websockets
Vcs-Darcs: http://darcs.debian.org/pkg-haskell/haskell-wai-websockets
diff -rN -u old-haskell-wai-websockets/patches/no-example-binary new-haskell-wai-websockets/patches/no-example-binary
--- old-haskell-wai-websockets/patches/no-example-binary 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-wai-websockets/patches/no-example-binary 2014-05-03 20:26:16.422771426 +0000
@@ -0,0 +1,27 @@
+Author: Joachim Breitner
+Forwarded: https://github.com/yesodweb/wai/pull/251
+
+Index: wai-websockets-2.1.0.1/wai-websockets.cabal
+===================================================================
+--- wai-websockets-2.1.0.1.orig/wai-websockets.cabal 2014-05-03 22:17:12.782519427 +0200
++++ wai-websockets-2.1.0.1/wai-websockets.cabal 2014-05-03 22:20:39.166528230 +0200
+@@ -34,9 +34,7 @@
+ Executable wai-websockets-example
+ if flag(example)
+ buildable: True
+- else
+- buildable: False
+- Build-Depends: base >= 3 && < 5
++ Build-Depends: base >= 3 && < 5
+ , conduit
+ , wai-websockets
+ , websockets
+@@ -52,6 +50,8 @@
+ , file-embed
+ , io-streams
+ , http-types
++ else
++ buildable: False
+
+ ghc-options: -Wall -threaded
+ main-is: server.lhs
diff -rN -u old-haskell-wai-websockets/patches/series new-haskell-wai-websockets/patches/series
--- old-haskell-wai-websockets/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-wai-websockets/patches/series 2014-05-03 20:26:16.426771424 +0000
@@ -0,0 +1 @@
+no-example-binary
diff -rN -u old-haskell-wai-websockets/rules new-haskell-wai-websockets/rules
--- old-haskell-wai-websockets/rules 2014-05-03 20:26:16.418771428 +0000
+++ new-haskell-wai-websockets/rules 2014-05-03 20:26:16.426771424 +0000
@@ -2,5 +2,7 @@
# DEB_ENABLE_TESTS = yes
+DEB_SETUP_GHC_CONFIGURE_ARGS := -f-example
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
More information about the Pkg-haskell-commits
mailing list