Debian Bug report logs - #578043
mozembed component not packaged

version graph

Package: src:gtk2hs; Maintainer for src:gtk2hs is (unknown);

Reported by: Joachim Breitner <nomeata@debian.org>

Date: Fri, 16 Apr 2010 10:57:01 UTC

Severity: wishlist

Found in version gtk2hs/0.10.1-5

Done: Marco Túlio Gontijo e Silva <marcot@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-haskell@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#578043; Package src:gtk2hs. (Fri, 16 Apr 2010 10:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
New Bug report received and forwarded. Copy sent to debian-haskell@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 16 Apr 2010 10:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: mozembed component not packaged
Date: Fri, 16 Apr 2010 12:54:46 +0200
Source: gtk2hs
Version: 0.10.1-5
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Marco,

libghc6-mozembed-dev was removed almost two years ago, in version
0.9.13-1. It seems it builds again (and I have a program that needs it,
although not targeted for Debian yet). It would be nice to build it
again.

Any reason not to build it?

Greetings,
Joachim

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

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvIQfIACgkQ9ijrk0dDIGxW9ACgy20ATwMs2CE+Lp+/sWjKxbST
qckAoKmYgEoEo3YQS5alygvNMVchRN0c
=5+d6
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#578043; Package src:gtk2hs. (Fri, 16 Apr 2010 11:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 16 Apr 2010 11:03:03 GMT) Full text and rfc822 format available.

Message #10 received at 578043@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: 578043@bugs.debian.org
Subject: Re: Bug#578043: mozembed component not packaged
Date: Fri, 16 Apr 2010 12:59:53 +0200
[Message part 1 (text/plain, inline)]
Hi,

Am Freitag, den 16.04.2010, 12:54 +0200 schrieb Joachim Breitner:
> libghc6-mozembed-dev was removed almost two years ago, in version
> 0.9.13-1. It seems it builds again (and I have a program that needs it,
> although not targeted for Debian yet).

well, it builds, but has problems linking. Will investigate some more.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#578043; Package src:gtk2hs. (Fri, 16 Apr 2010 12:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 16 Apr 2010 12:51:05 GMT) Full text and rfc822 format available.

Message #15 received at 578043@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: 578043@bugs.debian.org
Subject: Re: Bug#578043: mozembed component not packaged
Date: Fri, 16 Apr 2010 14:47:29 +0200
[Message part 1 (text/plain, inline)]
Hi,

Am Freitag, den 16.04.2010, 12:59 +0200 schrieb Joachim Breitner:
> well, it builds, but has problems linking. Will investigate some more.

seems that there is a bug in dh_haskell_shlibs: It changes the paths in
the package file to refer to the uninstalled package in
debian/<pkgname>, but it changes too much.

With this change, libghc6-mozembed-dev builds:

--- /usr/bin/dh_haskell_shlibdeps	2010-02-17 16:37:13.000000000 +0100
+++ /home/jojo/.bin/dh_haskell_shlibdeps	2010-04-16 14:44:57.000000000 +0200
@@ -53,7 +53,7 @@
     pkgconflocal=$T_DIR/$pkg.package.conf
     cat $file | sed -e \
         "/^\(import\|library\|include\)-dirs: / { \
-        s#/usr#$PWD/debian/libghc6-$pkg-dev/usr#g }" \
+        s#/usr/lib/haskell-packages#$PWD/debian/libghc6-$pkg-dev/usr/lib/haskell-packages#g }" \
         > $pkgconflocal
     ghc-pkg -f $T_DIR/package.conf register $pkgconflocal --force \
         2>&1 > /dev/null || true

Marco, do you seen any problem with this change?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#578043; Package src:gtk2hs. (Fri, 16 Apr 2010 13:15:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joachim Breitner <nomeata@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 16 Apr 2010 13:15:11 GMT) Full text and rfc822 format available.

Message #20 received at 578043@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: 578043@bugs.debian.org
Subject: Re: Bug#578043: mozembed component not packaged
Date: Fri, 16 Apr 2010 15:13:47 +0200
[Message part 1 (text/plain, inline)]
Hi,

Am Freitag, den 16.04.2010, 14:47 +0200 schrieb Joachim Breitner:
> Am Freitag, den 16.04.2010, 12:59 +0200 schrieb Joachim Breitner:
> > well, it builds, but has problems linking. Will investigate some more.

another problem, this time with upstream’s configure.ac. The -rpath flag
is wrongly calculated, probably due to a change in mozembed’s .pc file.
This patch fixes this:

--- gtk2hs-0.10.1.orig/configure.ac
+++ gtk2hs-0.10.1/configure.ac
@@ -361,7 +361,7 @@ fi
 GTKHS_PKG_CHECK(mozilla, mozembed, MOZILLA_MOZEMBED, [mozilla-gtkmozembed >= 1.4], [GLIB GTK],
 	[build bindings for the Mozilla display widget (default=auto)],
 	[Mozilla requirement not met. Perhaps you need to install mozilla or mozilla-devel])
-MOZILLA_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=libdir mozilla-gtkmozembed)
+MOZILLA_MOZEMBED_LIBDIR=$(${PKG_CONFIG} --variable=sdkdir mozilla-gtkmozembed)/lib
 
 GTKHS_PKG_CHECK(seamonkey, mozembed, SEAMONKEY_MOZEMBED, [seamonkey-gtkmozembed >= 1.0], [GLIB GTK],
         [build bindings for the Mozilla display widget using the Seamonkey libs (default=auto)],


Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#578043; Package src:gtk2hs. (Fri, 16 Apr 2010 18:30:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco Túlio Gontijo e Silva <marcot@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 16 Apr 2010 18:30:07 GMT) Full text and rfc822 format available.

Message #25 received at 578043@bugs.debian.org (full text, mbox):

From: Marco Túlio Gontijo e Silva <marcot@debian.org>
To: 578043 <578043@bugs.debian.org>
Subject: Re: [Pkg-haskell-maintainers] Bug#578043: mozembed component not packaged
Date: Fri, 16 Apr 2010 15:28:08 -0300
Hallo Joachim.

Excerpts from Joachim Breitner's message of Sex Abr 16 09:47:29 -0300 2010:
(...)
> Am Freitag, den 16.04.2010, 12:59 +0200 schrieb Joachim Breitner:
> > well, it builds, but has problems linking. Will investigate some more.
> 
> seems that there is a bug in dh_haskell_shlibs: It changes the paths in
> the package file to refer to the uninstalled package in
> debian/<pkgname>, but it changes too much.
> 
> With this change, libghc6-mozembed-dev builds:
> 
> --- /usr/bin/dh_haskell_shlibdeps    2010-02-17 16:37:13.000000000 +0100
> +++ /home/jojo/.bin/dh_haskell_shlibdeps    2010-04-16 14:44:57.000000000 +0200
> @@ -53,7 +53,7 @@
>      pkgconflocal=$T_DIR/$pkg.package.conf
>      cat $file | sed -e \
>          "/^\(import\|library\|include\)-dirs: / { \
> -        s#/usr#$PWD/debian/libghc6-$pkg-dev/usr#g }" \
> +        s#/usr/lib/haskell-packages#$PWD/debian/libghc6-$pkg-dev/usr/lib/haskell-packages#g }" \
>          > $pkgconflocal
>      ghc-pkg -f $T_DIR/package.conf register $pkgconflocal --force \
>          2>&1 > /dev/null || true
> 
> Marco, do you seen any problem with this change?

No, it seems to be very straightforward to me.  Feel free to apply it.

Greetings.
(...)
-- 
marcot
http://wiki.debian.org/MarcoSilva




Reply sent to Marco Túlio Gontijo e Silva <marcot@debian.org>:
You have taken responsibility. (Wed, 09 Jun 2010 02:57:03 GMT) Full text and rfc822 format available.

Notification sent to Joachim Breitner <nomeata@debian.org>:
Bug acknowledged by developer. (Wed, 09 Jun 2010 02:57:03 GMT) Full text and rfc822 format available.

Message #30 received at 578043-done@bugs.debian.org (full text, mbox):

From: Marco Túlio Gontijo e Silva <marcot@debian.org>
To: 578043-done <578043-done@bugs.debian.org>
Subject: mozembed is deprecated
Date: Tue, 08 Jun 2010 23:48:07 -0300
[Message part 1 (text/plain, inline)]
mozembed is deprecated in gtk2hs and was not included in the most recent
version.  A sucessful build could not be made with the old version.  Therefore,
I'm closing this bug.
-- 
marcot
http://wiki.debian.org/MarcoSilva
[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 07 Jul 2010 07:33:44 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 15:50:00 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.