Your message dated Sat, 19 Jul 2008 22:30:50 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#490072: dh_haskell_depends: some packages require 
other path for package.conf
has caused the Debian Bug report #490072,
regarding dh_haskell_depends: some packages require other path for package.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
490072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490072
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: haskell-devscripts
Version: 0.6.12
Severity: normal
Tags: patch


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages haskell-devscripts depends on:
ii  dctrl-tools                   2.12       Command-line tools to process Debi
ii  debhelper                     7.0.13     helper programs for debian/rules
ii  ghc6                          6.8.2-5    GHC - the Glasgow Haskell Compilat
ii  xutils-dev                    1:7.4+2    X Window System utility programs f

haskell-devscripts recommends no packages.

-- no debconf information
--- /usr/bin/dh_haskell_depends 2008-04-08 02:20:58.000000000 -0300
+++ dh_haskell_depends  2008-07-08 16:45:06.000000000 -0300
@@ -174,6 +174,7 @@
 find_config_for_ghc6(){
     local f
     local pkg
+    local conf
     pkg=$1
     case "$pkg" in
        libghc6-*-prof)
@@ -182,7 +183,12 @@
        *)
            ;;
     esac
-    for f in 
debian/$pkg/usr/lib/haskell-packages/ghc6/lib/*/installed-pkg-config ; do
+    if [ -z $packageconf ] ; then
+        conf=installed-pkg-config
+    else
+        conf=*.package.conf
+    fi
+    for f in debian/$pkg/usr/lib/haskell-packages/ghc6/lib/*/$conf ; do
        if [ -f "$f" ] ; then
            echo $f
            break
@@ -199,6 +205,7 @@
 args=
 ignores=
 files=
+packageconf=
 until [ -z "$1" ]
 do 
   case "$1" in
@@ -212,6 +219,10 @@
          ignores="$ignores $pkg"
          ;;
 
+      --package-conf)
+          packageconf=True
+          ;;
+
       -*)
          args="$args $1"
          ;;

--- End Message ---
--- Begin Message ---
Hi Marco,

First of all something seems to be broken with the mail you sent to the
BTS. Almost all the headers are inside the displayed inside the mail as
where the not recognized as headers somewhere along the path the mail
took. Maybe this is caused by your subject header which stretches
multiple lines.  


Op woensdag 09-07-2008 om 16:42 uur [tijdzone +0000], schreef Debian
BTS:
> Some packages, like gtk2hs uses a different path for the conf file, not 
> installed-pkg-config but *.package.conf.  This patch adds the option 
> --package-conf that uses this other approach.
> Reply-To: Marco =?UTF-8?Q?T=C3=BAlio?= Gontijo e Silva <[EMAIL PROTECTED]>, 
> [EMAIL PROTECTED]
> Resent-From: Marco =?UTF-8?Q?T=C3=BAlio?= Gontijo e Silva <[EMAIL PROTECTED]>
> Resent-To: [EMAIL PROTECTED]
> Resent-CC: [EMAIL PROTECTED], Arjan Oosting <[EMAIL PROTECTED]>
> Resent-Date: Wed, 09 Jul 2008 16:42:01 +0000
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-Sender: [EMAIL PROTECTED]
> X-Debian-PR-Message: report 490072
> X-Debian-PR-Package: haskell-devscripts
> X-Debian-PR-Keywords: patch
> X-Debian-PR-Source: haskell-devscripts
> Received: via spool by [EMAIL PROTECTED] id=B.121562156722549
>           (code B ref -1); Wed, 09 Jul 2008 16:42:01 +0000
> Received: (at submit) by bugs.debian.org; 9 Jul 2008 16:39:27 +0000
> X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
>       (2006-07-26) on rietz.debian.org
> X-Spam-Level: 
> X-Spam-Status: No, score=-10.2 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
>       MURPHY_DRUGS_REL8,SUBJECT_ENCODED_TWICE,SUBJECT_EXCESS_QP,
>       UNPARSEABLE_RELAY,X_DEBBUGS_CC autolearn=no 
>       version=3.1.4-bugs.debian.org_2005_01_02
> Received: from mx1.riseup.net ([204.13.164.18])
>       by rietz.debian.org with esmtp (Exim 4.63)
>       (envelope-from <[EMAIL PROTECTED]>)
>       id 1KGchT-0005rW-OZ
>       for [EMAIL PROTECTED]; Wed, 09 Jul 2008 16:39:27 +0000
> Received: from auk.riseup.net (unknown [10.0.1.45])
>       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
>       (Client CN "*.riseup.net", Issuer "ipsCA CLASEA1 Certification 
> Authority" (not verified))
>       by mx1.riseup.net (Postfix) with ESMTP id 1B4885707F2
>       for <[EMAIL PROTECTED]>; Wed,  9 Jul 2008 09:39:27 -0700 (PDT)
> Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: 
> [EMAIL PROTECTED]) with ESMTP id 8003B40B5
> Content-Type: multipart/mixed; boundary="===============3170969365888580901=="
> MIME-Version: 1.0
> From: Marco =?UTF-8?Q?T=C3=BAlio?= Gontijo e Silva <[EMAIL PROTECTED]>
> To: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> X-Mailer: reportbug 3.42
> Date: Wed, 09 Jul 2008 13:39:30 -0300
> Delivered-To: [EMAIL PROTECTED]
> 
> This is a multi-part MIME message sent by reportbug.
> 
> 
> --===============3170969365888580901==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Package: haskell-devscripts
> Version: 0.6.12
> Severity: normal
> Tags: patch
> 
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages haskell-devscripts depends on:
> ii  dctrl-tools                   2.12       Command-line tools to process 
> Debi
> ii  debhelper                     7.0.13     helper programs for debian/rules
> ii  ghc6                          6.8.2-5    GHC - the Glasgow Haskell 
> Compilat
> ii  xutils-dev                    1:7.4+2    X Window System utility programs 
> f
> 
> haskell-devscripts recommends no packages.
> 
> -- no debconf information
> 
> --===============3170969365888580901==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: attachment; filename="dh_haskell_depends.patch"
> 
> --- /usr/bin/dh_haskell_depends       2008-04-08 02:20:58.000000000 -0300
> +++ dh_haskell_depends        2008-07-08 16:45:06.000000000 -0300
> @@ -174,6 +174,7 @@
>  find_config_for_ghc6(){
>      local f
>      local pkg
> +    local conf
>      pkg=$1
>      case "$pkg" in
>       libghc6-*-prof)
> @@ -182,7 +183,12 @@
>       *)
>           ;;
>      esac
> -    for f in 
> debian/$pkg/usr/lib/haskell-packages/ghc6/lib/*/installed-pkg-config ; do
> +    if [ -z $packageconf ] ; then
> +        conf=installed-pkg-config
> +    else
> +        conf=*.package.conf
> +    fi
> +    for f in debian/$pkg/usr/lib/haskell-packages/ghc6/lib/*/$conf ; do
>       if [ -f "$f" ] ; then
>           echo $f
>           break
> @@ -199,6 +205,7 @@
>  args=
>  ignores=
>  files=
> +packageconf=
>  until [ -z "$1" ]
>  do 
>    case "$1" in
> @@ -212,6 +219,10 @@
>         ignores="$ignores $pkg"
>         ;;
>  
> +      --package-conf)
> +          packageconf=True
> +          ;;
> +
>        -*)
>         args="$args $1"
>         ;;
> 
> --===============3170969365888580901==--

There is no need for this extra option. If you need some other file or
path for you package.conf file just give it as argument on the
commandline like this:

dh_haskell_depends path/to/foo.package.conf

This should work just fine.

Greetings Arjan Oosting

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend


--- End Message ---

Reply via email to