View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004179 | ardour | bugs | public | 2011-07-13 14:10 | 2020-04-19 20:15 |
Reporter | schivmeister | Assigned To | paul | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.8.11 | ||||
Summary | 0004179: Raptor v2 compatibility | ||||
Description | The latest redland suite (1.0.13) has strict, versioned dependency on raptor2, and is no longer compatible with raptor1. Ardour's buildsystem cannot deal with this, because with the introduction of raptor v2, the name (as per pkg-config) has changed from "raptor" to "raptor2". Along with a rebuild of slv2 (for lv2 support) against the latest rasqal (which needs addition of "-I/usr/include/raptor2" where previously it was just "-I/usr/include/rasqal"), this solves the rdf buildtime and rasqal runtime issues some users have experienced with ardour and the latest redland suite on the system. The best approach is to check if the installed raptor is v2, then use the proper pkg-config commands, else go on as usual. Patch attached. | ||||
Additional Information | Patch may not be elegant. Works for 2.0-ongoing as well. | ||||
Tags | No tags attached. | ||||
2011-07-13 14:10
|
raptor2.patch (1,343 bytes)
Quick fix to build ardour against latest redland suite (1.0.13) - Ray Rashif <schiv@archlinux.org> diff -baur ardour-2.8.11.orig/SConstruct ardour-2.8.11/SConstruct --- ardour-2.8.11.orig/SConstruct 2011-07-10 02:34:07.366391894 +0800 +++ ardour-2.8.11/SConstruct 2011-07-10 02:34:13.576358252 +0800 @@ -449,6 +449,16 @@ return ret def CheckPKGVersion(context, name, version): + # check if raptor1 or raptor2 + if name == 'raptor': + context.Message( 'Checking for raptor2...' ) + ret = context.TryAction('pkg-config --exists raptor2')[0] + context.Result( ret ) + if ret: + global raptorIs2 + raptorIs2 = 1 + return ret + context.Message( 'Checking for %s... ' % name ) ret = context.TryAction('pkg-config --atleast-version=%s %s' %(version,name) )[0] context.Result( ret ) @@ -565,7 +575,10 @@ libraries['lrdf'].ParseConfig('pkg-config --cflags --libs lrdf') libraries['raptor'] = LibraryInfo() -libraries['raptor'].ParseConfig('pkg-config --cflags --libs raptor') +if raptorIs2: + libraries['raptor'].ParseConfig('pkg-config --cflags --libs raptor2') +else: + libraries['raptor'].ParseConfig('pkg-config --cflags --libs raptor') libraries['sndfile'] = LibraryInfo() libraries['sndfile'].ParseConfig ('pkg-config --cflags --libs sndfile') |
|
i reworked this patch to be more in keeping with the way SCons works and the way we use it, but thanks for the contribution. it was committed (for a2) in rev 9878. |
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-13 14:10 | schivmeister | New Issue | |
2011-07-13 14:10 | schivmeister | File Added: raptor2.patch | |
2011-07-14 22:42 | paul | cost | => 0.00 |
2011-07-14 22:42 | paul | Note Added: 0011129 | |
2011-07-14 22:42 | paul | Status | new => resolved |
2011-07-14 22:42 | paul | Resolution | open => fixed |
2011-07-14 22:42 | paul | Assigned To | => paul |
2020-04-19 20:15 | system | Note Added: 0022661 | |
2020-04-19 20:15 | system | Status | resolved => closed |