[DHG_packages] 02/05: frown: Disable dbgsym generation

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Mon May 23 11:16:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

iliastsi-guest pushed a commit to branch master
in repository DHG_packages.

commit fd8ba9128b44a105780870cc5251c5d8529eeeb9
Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
Date:   Sun May 22 14:40:18 2016 +0300

    frown: Disable dbgsym generation
    
    GHC cannot produce debugging symbols, so the dbgsym package ends
    up being empty.
---
 p/frown/debian/changelog | 3 +++
 p/frown/debian/rules     | 6 ++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/p/frown/debian/changelog b/p/frown/debian/changelog
index b4b37e8..e0e41fd 100644
--- a/p/frown/debian/changelog
+++ b/p/frown/debian/changelog
@@ -9,6 +9,9 @@ frown (0.6.2.3-2) UNRELEASED; urgency=medium
   * Drop the 04_manual-typos patch.
     The above patch produces the wrong output by trying to add
     backslashes where they are not needed.
+  * Disable dbgsym generation.
+    GHC cannot produce debugging symbols, so the dbgsym package ends
+    up being empty.
 
  -- Ilias Tsitsimpis <i.tsitsimpis at gmail.com>  Wed, 18 May 2016 16:36:18 +0300
 
diff --git a/p/frown/debian/rules b/p/frown/debian/rules
index 2d7f8dd..1fcb067 100755
--- a/p/frown/debian/rules
+++ b/p/frown/debian/rules
@@ -3,6 +3,10 @@
 DEB_CABAL_PACKAGE = frown
 DEB_DEFAULT_COMPILER = ghc
 
+# GHC cannot produce debugging symbols so the dbgsym package
+# ends up being empty, so disable generating it.
+DEB_DH_STRIP_ARGS := --no-automatic-dbgsym
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
 
@@ -18,5 +22,3 @@ build/frown-doc::
 binary-fixup/frown-doc::
 	chmod -R a-x debian/frown-doc/usr/share/doc/frown-doc/examples
 	chmod -R a+X debian/frown-doc/usr/share/doc/frown-doc/examples
-
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list