Hi,

On Fri, Oct 14, 2011 at 01:06:30PM +0200, Jakub Wilk wrote:
> * Ricardo Mones <mo...@debian.org>, 2011-10-14, 11:57:
> >The only fix I can figure out now is replacing the python-dev
> >dependency of the by a pythonX.Y-dev dependency generated at build
> >time. Better ideas welcome, of course.
> 
> How about this patch? (Untested, sorry.)

  Well, thanks for the patch! I'm not that knowledgeable about python to see
what could be wrong in it, so I have to fully trust you. I have no problem with
that either :)

  I've rebuilt the source package with your changes and seems to work as well
as previously, which is not much in my case because I've noticed it has
suffered also a binNMU, and it's now at 3.7.10-2+b1 version (bug was reported
for 3.7.10-2). Not sure which caused that as the release team hasn't answered
my original request, but now that we have it, I think the original reporter can
check if the current version fixes the problem, and afterwards, if not fixed,
upload a new version with your patch. Sounds that ok?

  Anyway, going back to the patch, then I guess gtkparasite (also in the
archive) would be affected by the same problem, as it's where the patched line
originates [0]. It's code is used in the claws-mail-python-plugin to get the
python console. Don't you think?

  best regards,

[0] https://github.com/chipx86/gtkparasite/blob/master/configure.ac#L78

> +Description: Don't dlopen libpython2.X.so symlink.
> + Don't dlopen libpython2.X.so symlink, but the real file it's pointing to.
> + Python libraries never break ABI between major releases, so hardcoding
> + SOVERSION is safe here.
> +Bug-Debian: http://bugs.debian.org/644582
> +Author: Jakub Wilk <jw...@debian.org>
> +Last-Update: 2011-10-14
> +
> +--- a/python_plugin-0.8/configure.ac
> ++++ b/python_plugin-0.8/configure.ac
> +@@ -110,7 +110,7 @@
> +     fi
> + 
> +     # libpython.so
> +-    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so"
> ++    PYTHON_SHARED_LIB="libpython${PYTHON_VERSION}.so.1"
> +     found_libpython_so="no"
> +     if test -f "$PYTHON_PREFIX/lib/$PYTHON_SHARED_LIB"; then
> +             found_libpython_so="yes"

-- 
  Ricardo Mones 
  ~
  Don't take the name of root in vain.          /usr/src/linux/README

Attachment: signature.asc
Description: Digital signature

Reply via email to