tags 391637 + patch thanks So far as I can tell (I tried the example programs included in the package) this is all that's needed for a working build against libapr1:
diff -u pysvn-1.4.2+dfsg/Source/setup.py pysvn-1.4.2+dfsg/Source/setup.py --- pysvn-1.4.2+dfsg/Source/setup.py +++ pysvn-1.4.2+dfsg/Source/setup.py @@ -367,6 +367,9 @@ return dir def find_apr_inc( self, argv ): + result = os.popen('apr-config --includedir 2>/dev/null').read().strip() + if result: + return result last_exception = None for apr_ver in ['apr-1', 'apr-0']: try: diff -u pysvn-1.4.2+dfsg/debian/control pysvn-1.4.2+dfsg/debian/control --- pysvn-1.4.2+dfsg/debian/control +++ pysvn-1.4.2+dfsg/debian/control @@ -2,7 +2,7 @@ Section: python Priority: optional Maintainer: Matthias Klose <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-cxx-dev (>= 5.3.5-2), libsvncpp-dev (>= 0.9.1), libapr0-dev, subversion (>= 1.3.1) +Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-cxx-dev (>= 5.3.5-2), libsvncpp-dev (>= 0.9.1), libapr1-dev, subversion (>= 1.3.1) XS-Python-Version: all Standards-Version: 3.7.2 -- END -- A rebuild is currently blocked by the separately reported FTBFS which is the fault of python-cxx-dev. Ben. The find_apr_inc() function could be changed to look in 'apr-1.0' as well (the correct location) but it seems to me that using apr-config is more portable in the long run. Ben. -- Ben Hutchings -- [EMAIL PROTECTED] shortened to [EMAIL PROTECTED] If you've signed my GPG key, please send a signature on and to the new uid. Experience is what causes a person to make new mistakes instead of old ones.
signature.asc
Description: This is a digitally signed message part