[Bug 354205] Re: mapnik-python does not build against default python

2009-06-11 Thread Launchpad Bug Tracker
This bug was fixed in the package mapnik - 0.5.1-3ubuntu2.1

---
mapnik (0.5.1-3ubuntu2.1) jaunty-proposed; urgency=low

  * Finish of the python 2.6 transition (LP: #354205)
- debian/control
  + Change bdeps from python2.5-dev to python-all-dev (>= 2.5)
  + Change XS-Python-Version from 2.5 to >= 2.5
- debian/rules:
  + Various changes to enable python2.5 and python2.6 builds

 -- Christophe SauthierFri,
01 May 2009 17:45:42 +0200

** Changed in: mapnik (Ubuntu Jaunty)
   Status: Fix Committed => Fix Released

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-06-05 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-06-02 Thread springmeyer
Great,
Just had a chance to test. I removed my manual install of the Mapnik python 
bindings, purged and re-installed 'python-mapnik' package, ensured both 
python2.5 and python2.6 were installed, and then was able to successfully do:

>>> import mapnik

when running the python interpreter both with the default python26 and
after jumping into a python2.5 interpreter by typing:

$/usr/bin/python2.5

Thanks so much for this fix!

The only odd thing is that both the python2.6 and python2.6 Mapnik
shared object '_mapnik.so' files appear to be linked against
libboost_python*py25*.so. I would assume this would cause problems
(based on my experience from Mac OSX and boost libs). $ldd against the
boost_python libs show they do not explicitly link against any version
of python. Can someone with an understanding of library linking on linux
explain why this works?

Anyway, I'm glad it does work - thanks for everyone's effort!

- Dane

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-06-02 Thread Martin Pitt
Accepted mapnik into jaunty-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: mapnik (Ubuntu Jaunty)
   Status: Confirmed => Fix Committed

** Tags added: verification-needed

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-31 Thread Devid Antonio Filoni
motu-sru ACK.

** Changed in: mapnik (Ubuntu Jaunty)
   Status: New => Confirmed

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-31 Thread Christophe Sauthier (huats)
The bug is that the python2.6 transition has not been addressed completly. Thus 
the python bindings won't work on jaunty so far.
The various things done to fix it were : 
  - Change bdeps from python2.5-dev to python-all-dev (>= 2.5)
  - Change XS-Python-Version from 2.5 to >= 2.5
  - Various changes to enable python2.5 and python2.6 builds, in particular 
addition of multiple python builds


TEST CASE : 
$ sudo apt-get install python-mapnik
$ python
>>> import mapnik
If it fails, the bug is not fixed. If it returns the prompt, it is fixed.


There is no regression risk since only the python bindings are affected by the 
modifications in the rules file, and that these binding are not working so far.

Changelog :

mapnik (0.5.1-3ubuntu2.1) jaunty-proposed; urgency=low

  * Finish of the python 2.6 transition (LP: #354205)
- debian/control
  + Change bdeps from python2.5-dev to python-all-dev (>= 2.5)
  + Change XS-Python-Version from 2.5 to >= 2.5
- debian/rules:
  + Various changes to enable python2.5 and python2.6 builds

 -- Christophe Sauthier   Fri,
01 May 2009 17:45:42 +0200

** Attachment added: "debdiff_mapnik_0.5.1-3ubuntu2_mapnik_0.5.1-3ubuntu3.diff"
   
http://launchpadlibrarian.net/27338446/debdiff_mapnik_0.5.1-3ubuntu2_mapnik_0.5.1-3ubuntu3.diff

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-21 Thread springmeyer
Hello Andres and Christopher,

Great to see movement on this. Two thoughs:

1) Andres I took a quick look at your diff, and noticed that you are
passing in the python version both in the configure step and the
compile/install/clean step, which is unneeded. If you configure with

scons configure $(SCONS_FLAGS) PYTHON=/usr/bin/python$*

you can drop all command line flags in the compile/install/clean steps
otherwise it will prompt the Mapnik scons scripts to re-configure (which
may not be the intention) every time a flag is picked up.

2) When is the latest time we (upstream) can release 0.6.1 to have a
chance for it to be included in Karmic? And what can I/we do to help
with the boost compile problem on Karmic?


Cheers,

Dane Springmeyer

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-21 Thread Martin Pitt
This is of course fine for an SRU. The package doesn't work at all, and
it's a regression from Intrepid.

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-16 Thread Christophe Sauthier (huats)
Dear Thomas and springmeyer, here is I am planning to fix this bug (I am
the one who have uploaded the fix to karmic).

Currently the fix is not really in karmic. Let me explain : I have
provided a bug fix package for the mapnik software. BUT it cannot build
in karmic for the moment because of a preprocessor problem in karmic
(related to libboost and the gcc4.4 transition). So I have to review a
fix for that, and only after I will be able to make the build fix for
this bug in karmic.

Once it is done in karmic, I will start a SRU procedure (Stable Release
Procedure) in order to have it included in jaunty, since it is the
compulsory workflow...

I hope to have been able to start in the next few days...

And once all that is done, I will put the 0.6 or 0.6.1 in karmic...

Regarding your question about the 2 packages, I will do my best... but
springmeyer count on me to come talk to you with that on IRC... (yeah I
went frofrom time to time on #mapnik)

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-15 Thread springmeyer
I have the same question as Thomas. I see the karmic tag in the fix
applied. Why not make it available to Jaunty since that is where the
problem is?

Also, we've released Mapnik 0.6.0 which **ideally** should be the
package available in Karmic, if not Mapnik 0.6.1 (due out in several
weeks).

Thoughts?

I'm new to learning about this packaging and would benefit from a sense
of who things work.

Also, would it be possible in Karmic to provide two python-mapnik
packages? One built against python2.5/boost_python-mt-py25.so and one
against python2.6/boost-python-mt-py26?

This would be really really useful for integrating Mapnik with
QuantumGIS, which depends on Python2.5

Thoughts on that?

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-05-14 Thread Thomas Ohms
Couldn't we just backport this to Jaunty?

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-04-27 Thread Luca Falavigna
Thanks for reporting this. I forgot to bump XS-Python-Version to be >=
2.5, so it compiled only for python2.5 and not for 2.6, which is default
in Jaunty. Rebuilding with the change suggested fixes it, I'm not sure
about Python 2.6 compatibility, though, maybe you can shed a light about
that.

** Changed in: mapnik (Ubuntu)
   Importance: Undecided => Medium

** Changed in: mapnik (Ubuntu)
   Status: New => Triaged

** Also affects: mapnik (Ubuntu Jaunty)
   Importance: Undecided
   Status: New

** Changed in: mapnik (Ubuntu Jaunty)
   Importance: Undecided => Medium

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 354205] Re: mapnik-python does not build against default python

2009-04-02 Thread springmeyer
Whoops, just realized this may have been fixed yesterday (perhaps
moments before I tested)

Also it should clarify that I don't know what version of Python the
package build against, all I mean to indicate is that the location of
installation was wrong. It would be interesting if it did actually
compile against the python25 headers (and boost compiled against 2.5
headers) since it still seemed to work when I simply put it on my
PYTHONPATH.

-- 
mapnik-python does not build against default python
https://bugs.launchpad.net/bugs/354205
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs