Your message dated Wed, 05 Dec 2007 13:50:09 +0100
with message-id <[EMAIL PROTECTED]>
and subject line [Pkg-mono-group] Bug#454427: Plesae adopt libgtkhtml2.0-cil to
use gtkhtml3.14 (patch included)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libgtkhtml2.0-cil
Version: 2.16.0-8
Severity: wishlist
Hello :)
libgtkhtml2.0-cil is the last package still using gtkhtml3.8.
We would like to remove this old version since gtkhtml3.14 is downwards
compatible. It is not API-compatible tho', so a configure-patch and
rebuild is needed to use libgtkhtml3.14-dev instead
I've attached a patch, which changes the following files:
debian/control
debian/patches/00list
debian/patches/05_configure_with_new_gtkhtml.dpatch
(the dpatch updates configure and configure.in)
Hope you get to apply this soonish. I'll file a bug upstream as well.
Cheers :)
Heikki
diff -ruN gnome-sharp2-2.16.0/debian/control gnome-sharp2-2.16.0.new/debian/control
--- gnome-sharp2-2.16.0/debian/control 2007-12-05 10:43:27.000000000 +0100
+++ gnome-sharp2-2.16.0.new/debian/control 2007-12-05 10:41:22.000000000 +0100
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Mono Group <[EMAIL PROTECTED]>
Uploaders: Mirco Bauer <[EMAIL PROTECTED]>, Sebastian Dröge <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), cli-common-dev (>= 0.4.6), dpatch, mono-mcs (>= 1.0) | c-sharp-compiler, mono-gac (>= 1.0), libmono-dev (>= 1.0), pkg-config, libtool, libgtk2.0-dev (>= 2.10.0), libglib2.0-dev (>= 2.10.0), libgtk2.0-cil (>= 2.10.1-3), libglade2.0-cil (>= 2.10.1-3), gtk-sharp2-gapi (>= 2.10.1-3), libgnomevfs2-dev (>= 1:2.15.0), librsvg2-dev (>= 2.0.1), libgtkhtml3.8-dev (>= 3.8.0), libgnomeui-dev (>= 2.15.0), libgnomecanvas2-dev (>= 2.14.0), libgnomeprint2.2-dev (>= 2.10.0) , libgnomeprintui2.2-dev (>= 2.10.0), libart-2.0-dev (>= 2.3.16), libvte-dev (>= 0.16.0), libpanel-applet2-dev (>= 2.14.0), libmono0 (>= 1.0), mono-utils (>= 1.0-2), libmono-cairo1.0-cil
+Build-Depends: debhelper (>= 5), cli-common-dev (>= 0.4.6), dpatch, mono-mcs (>= 1.0) | c-sharp-compiler, mono-gac (>= 1.0), libmono-dev (>= 1.0), pkg-config, libtool, libgtk2.0-dev (>= 2.10.0), libglib2.0-dev (>= 2.10.0), libgtk2.0-cil (>= 2.10.1-3), libglade2.0-cil (>= 2.10.1-3), gtk-sharp2-gapi (>= 2.10.1-3), libgnomevfs2-dev (>= 1:2.15.0), librsvg2-dev (>= 2.0.1), libgtkhtml3.14-dev (>= 3.14.0), libgnomeui-dev (>= 2.15.0), libgnomecanvas2-dev (>= 2.14.0), libgnomeprint2.2-dev (>= 2.10.0) , libgnomeprintui2.2-dev (>= 2.10.0), libart-2.0-dev (>= 2.3.16), libvte-dev (>= 0.16.0), libpanel-applet2-dev (>= 2.14.0), libmono0 (>= 1.0), mono-utils (>= 1.0-2), libmono-cairo1.0-cil
Standards-Version: 3.7.2
Package: gnome-sharp2
diff -ruN gnome-sharp2-2.16.0/debian/patches/00list gnome-sharp2-2.16.0.new/debian/patches/00list
--- gnome-sharp2-2.16.0/debian/patches/00list 2007-12-05 10:43:27.000000000 +0100
+++ gnome-sharp2-2.16.0.new/debian/patches/00list 2007-12-05 10:39:34.000000000 +0100
@@ -1,3 +1,4 @@
01_glue-locations.dpatch
02_missing_dllmaps.dpatch
+05_configure_with_new_gtkhtml.dpatch
99_ltmain_as-needed.dpatch
diff -ruN gnome-sharp2-2.16.0/debian/patches/05_configure_with_new_gtkhtml.dpatch gnome-sharp2-2.16.0.new/debian/patches/05_configure_with_new_gtkhtml.dpatch
--- gnome-sharp2-2.16.0/debian/patches/05_configure_with_new_gtkhtml.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ gnome-sharp2-2.16.0.new/debian/patches/05_configure_with_new_gtkhtml.dpatch 2007-12-05 11:05:18.000000000 +0100
@@ -0,0 +1,113 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+
[EMAIL PROTECTED]@
+
+diff -ruN gnome-sharp2-2.16.0.orig/configure gnome-sharp2-2.16.0/configure
+--- gnome-sharp2-2.16.0.orig/configure 2007-12-05 10:15:30.000000000 +0100
++++ gnome-sharp2-2.16.0/configure 2007-12-05 10:36:49.000000000 +0100
+@@ -21744,6 +21744,80 @@
+ fi
+
+ if test "x$enable_gnome" = "xyes"; then
++GTKHTML_REQUIRED_VERSION=3.14.0
++
++pkg_failed=no
++echo "$as_me:$LINENO: checking for GTKHTML_DEPENDENCIES" >&5
++echo $ECHO_N "checking for GTKHTML_DEPENDENCIES... $ECHO_C" >&6
++
++if test -n "$PKG_CONFIG"; then
++ if test -n "$GTKHTML_DEPENDENCIES_CFLAGS"; then
++ pkg_cv_GTKHTML_DEPENDENCIES_CFLAGS="$GTKHTML_DEPENDENCIES_CFLAGS"
++ else
++ if test -n "$PKG_CONFIG" && \
++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14 >= \$GTKHTML_REQUIRED_VERSION\"") >&5
++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION") 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; then
++ pkg_cv_GTKHTML_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION" 2>/dev/null`
++else
++ pkg_failed=yes
++fi
++ fi
++else
++ pkg_failed=untried
++fi
++if test -n "$PKG_CONFIG"; then
++ if test -n "$GTKHTML_DEPENDENCIES_LIBS"; then
++ pkg_cv_GTKHTML_DEPENDENCIES_LIBS="$GTKHTML_DEPENDENCIES_LIBS"
++ else
++ if test -n "$PKG_CONFIG" && \
++ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14 >= \$GTKHTML_REQUIRED_VERSION\"") >&5
++ ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION") 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; then
++ pkg_cv_GTKHTML_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION" 2>/dev/null`
++else
++ pkg_failed=yes
++fi
++ fi
++else
++ pkg_failed=untried
++fi
++
++
++
++if test $pkg_failed = yes; then
++
++if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
++ _pkg_short_errors_supported=yes
++else
++ _pkg_short_errors_supported=no
++fi
++ if test $_pkg_short_errors_supported = yes; then
++ GTKHTML_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION"`
++ else
++ GTKHTML_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION"`
++ fi
++ # Put the nasty error message in config.log where it belongs
++ echo "$GTKHTML_DEPENDENCIES_PKG_ERRORS" >&5
++
++ enable_gtkhtml=no
++elif test $pkg_failed = untried; then
++ enable_gtkhtml=no
++else
++ GTKHTML_DEPENDENCIES_CFLAGS=$pkg_cv_GTKHTML_DEPENDENCIES_CFLAGS
++ GTKHTML_DEPENDENCIES_LIBS=$pkg_cv_GTKHTML_DEPENDENCIES_LIBS
++ echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
++ enable_gtkhtml=yes
++fi
++if test "x$enable_gtkhtml" = "xyes"; then
++GTKHTML_VERSION=3.14
++GTKHTML_SOVERSION=19
++else
+ GTKHTML_REQUIRED_VERSION=3.8.0
+
+ pkg_failed=no
+@@ -22046,6 +22120,7 @@
+ fi
+ fi
+ fi
++fi
+
+
+ else
+
+diff -ruN gnome-sharp2-2.16.0.orig/configure.in gnome-sharp2-2.16.0/configure.in
+--- gnome-sharp2-2.16.0.orig/configure.in 2007-12-05 10:15:30.000000000 +0100
++++ gnome-sharp2-2.16.0/configure.in 2007-12-05 10:19:10.000000000 +0100
+@@ -195,6 +195,12 @@
+ PKG_CHECK_MODULES(RSVG_DEPENDENCIES, librsvg-2.0 >= $RSVG_REQUIRED_VERSION, enable_rsvg=yes, enable_rsvg=no)
+
+ if test "x$enable_gnome" = "xyes"; then
++GTKHTML_REQUIRED_VERSION=3.14.0
++PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.14 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no)
++if test "x$enable_gtkhtml" = "xyes"; then
++GTKHTML_VERSION=3.14
++GTKHTML_SOVERSION=19
++else
+ GTKHTML_REQUIRED_VERSION=3.8.0
+ PKG_CHECK_MODULES(GTKHTML_DEPENDENCIES, libgtkhtml-3.8 >= $GTKHTML_REQUIRED_VERSION, enable_gtkhtml=yes, enable_gtkhtml=no)
+ if test "x$enable_gtkhtml" = "xyes"; then
signature.asc
Description: Dette er en digitalt signert meldingsdel
--- End Message ---
--- Begin Message ---
It seems you're correct :)
GnomePrintContext and GtkPrintContext are two quite different structs.
Thanks for clearing this up.
At the moment monodevelop and f-spot depends on libgtkhtml2.0-cil
monodevelop doesn't use this printcontext at all, while f-spot have one
occurence which might need looking at (well, depending on how the new
gnome-sharp manages it)
closing this bug now.
Cheers :)
On on., 2007-12-05 at 13:04 +0100, Sebastian Dröge wrote:
> Am Mittwoch, den 05.12.2007, 12:56 +0100 schrieb Heikki Henriksen:
> > Hiya Sebastian :)
> >
> > Do you know of some ways to test the regressions you mention on
> > features.
> >
> > Checking the changelog, there were only *additions* in the API regarding
> > printing between 3.12 and 3.14 and between 3.14 and 3.16, so no features
> > should be removed.
>
> Last time I diffed the headers the APIs changed. Some functions took
> something gnomeprint specific in the past and now take a gtkprint
> specific parameter so the API is definitely incompatible which would
> also make the binding incompatible.
>
> > The removal of libgnomeprint and addition of gtk+-unix-print-2.0 in the
> > 3.13-period didn't actually remove anything from the api, so looking
> > back one might consider if there was actually a need for the bump to
> > 3.14 in api-version (this came about because there was a change to using
> > GTKHTML_API_VERSION instead of a hardcoded 3.8).
> >
> > Thus, there shouldn't be any incompatibilities in the gtkhtml-sharp api,
> > either. Well, hindsight is a good thing ;)
> >
> >
> > But, there's no need for any further work on this as gnome-desktop-sharp
> > will be updated soon. I wasn't aware of this, so we'll just wait for
> > that.
>
> We've to keep old gtkhtml-sharp for some time probably until nothing
> depends on it anymore (does something depend on it now?).
>
--
Heikki Henriksen <[EMAIL PROTECTED]>
--- End Message ---