diff options
| -rw-r--r-- | compat_reports/8.10.6_to_8.11.0rc1/compat_report.html | 817 | ||||
| -rw-r--r-- | libvips.xml | 2 | ||||
| -rw-r--r-- | vips.spec | 189 | 
3 files changed, 947 insertions, 61 deletions
diff --git a/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html b/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html new file mode 100644 index 0000000..ea5f6aa --- /dev/null +++ b/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html @@ -0,0 +1,817 @@ +<!-- kind:binary;verdict:compatible;affected:0;added:20;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:3;tool_version:2.3 --> +<!-- kind:source;verdict:incompatible;affected:0.3;added:21;removed:3;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:8;constant_changes_other:2;tool_version:2.3 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width,initial-scale=1" /> +<meta name="keywords" content="libvips, compatibility, API, ABI, report" /> +<meta name="description" content="API/ABI compatibility report for the libvips library between 8.10.6 and 8.11.0rc1 versions" /> +<title>libvips: 8.10.6 to 8.11.0rc1 compatibility report</title> +<style type="text/css"> +body { +    font-family:Arial, sans-serif; +    background-color:White; +    color:Black; +} +hr { +    color:Black; +    background-color:Black; +    height:1px; +    border:0; +} +h1 { +    margin-bottom:0px; +    padding-bottom:0px; +    font-size:1.625em; +} +h2 { +    margin-bottom:0px; +    padding-bottom:0px; +    font-size:1.25em; +    white-space:nowrap; +} +span.section { +    font-weight:bold; +    cursor:pointer; +    color:#003E69; +    white-space:nowrap; +    margin-left:0.3125em; +} +span.new_sign { +    font-weight:bold; +    margin-left:1.65em; +    color:#003E69; +} +span.new_sign_lbl { +    margin-left:3em; +    font-size:1em; +    color:Black; +} +span:hover.section { +    color:#336699; +} +span.sect_aff { +    cursor:pointer; +    padding-left:1.55em; +    font-size:0.875em; +    color:#cc3300; +} +span.sect_info { +    cursor:pointer; +    padding-left:1.55em; +    font-size:0.875em; +    color:Black; +} +span.ext { +    font-weight:normal; +} +span.h_name { +    color:#cc3300; +    font-size:0.875em; +    font-weight:bold; +} +div.h_list, div.lib_list { +    font-size:0.94em; +    padding-left:0.4em; +} +span.ns { +    color:#408080; +    font-size:0.94em; +} +span.lib_name { +    color:Green; +    font-size:0.875em; +    font-weight:bold; +} +span.iname { +    font-weight:bold; +    color:#003E69; +    margin-left:0.3125em; +} +span.iname_b { +    font-weight:bold; +} +span.iname_a { +    color:#333333; +    font-weight:bold; +    font-size:0.94em; +} +span.sym_p { +    font-weight:normal; +    white-space:normal; +} +span.sym_pd { +    white-space:normal; +} +span.sym_p span, span.sym_pd span { +    white-space:nowrap; +} +div.affect { +    padding-left:1em; +    padding-bottom:10px; +    font-size:0.87em; +    font-style:italic; +    line-height:0.9em; +} +div.affected { +    padding-left:1.9em; +    padding-top:10px; +} +table.ptable { +    border-collapse:collapse; +    border:1px outset black; +    margin-left:0.95em; +    margin-top:3px; +    margin-bottom:3px; +    width:56.25em; +} +table.ptable td { +    border:1px solid gray; +    padding:3px; +    font-size:0.875em; +    text-align:left; +    vertical-align:top; +    max-width:28em; +    word-wrap:break-word; +} +table.ptable th.pn { +    width:2%; +} +table.ptable th.chg { +    width:47%; +} +table.vtable { +    border-collapse:collapse; +    border:1px outset black; +    margin-left:1.9em; +    margin-top:0.7em; +} +table.vtable td { +    border:1px solid gray; +    padding:3px; +    font-size:0.875em; +    vertical-align:top; +    max-width:450px; +    word-wrap:break-word; +} +table.ptable th, table.vtable th { +    background-color:#eeeeee; +    font-weight:bold; +    color:#333333; +    font-family:Verdana, Arial; +    font-size:0.875em; +    border:1px solid gray; +    text-align:center; +    vertical-align:top; +    white-space:nowrap; +    padding:3px; +} +table.summary { +    border-collapse:collapse; +    border:1px outset black; +} +table.summary th { +    background-color:#eeeeee; +    font-weight:normal; +    text-align:left; +    font-size:0.94em; +    white-space:nowrap; +    border:1px inset gray; +    padding:3px; +} +table.summary td { +    text-align:right; +    white-space:nowrap; +    border:1px inset gray; +    padding:3px 5px 3px 10px; +} +span.mngl { +    padding-left:1em; +    font-size:0.875em; +    cursor:text; +    color:#444444; +    font-weight:bold; +} +span.pleft { +    padding-left:2.5em; +} +span.sym_ver { +    color:#333333; +    white-space:nowrap; +    font-family:"DejaVu Sans Mono", Monospace; +} +span.attr { +    color:#333333; +    font-weight:normal; +} +span.color_p { +    font-style:italic; +    color:Brown; +} +span.p { +    font-style:italic; +} +span.fp { +    font-style:italic; +    background-color:#DCDCDC; +} +span.ttype { +    font-weight:normal; +} +span.nowrap { +    white-space:nowrap; +} +span.value { +    font-weight:bold; +} +.passed { +    background-color:#CCFFCC; +    font-weight:normal; +} +.warning { +    background-color:#F4F4AF; +    font-weight:normal; +} +.failed { +    background-color:#FFCCCC; +    font-weight:normal; +} +.new { +    background-color:#C6DEFF; +    font-weight:normal; +} +.compatible { +    background-color:#CCFFCC; +    font-weight:normal; +} +.almost_compatible { +    background-color:#FFDAA3; +    font-weight:normal; +} +.incompatible { +    background-color:#FFCCCC; +    font-weight:normal; +} +.gray { +    background-color:#DCDCDC; +    font-weight:normal; +} +.top_ref { +    font-size:0.69em; +} +.footer { +    font-size:0.75em; +} + +.tabset { +    float:left; +} +a.tab { +    border:1px solid Black; +    float:left; +    margin:0px 5px -1px 0px; +    padding:3px 5px 3px 5px; +    position:relative; +    font-size:0.875em; +    background-color:#DDD; +    text-decoration:none; +    color:Black; +} +a.disabled:hover +{ +    color:Black; +    background:#EEE; +} +a.active:hover +{ +    color:Black; +    background:White; +} +a.active { +    border-bottom-color:White; +    background-color:White; +} +div.tab { +    border-top:1px solid Black; +    padding:0px; +    width:100%; +    clear:both; +} +</style> +<script type="text/javascript" language="JavaScript"> +<!-- +function showContent(header, id) +{ +    e = document.getElementById(id); +    if(e.style.display == 'none') +    { +        e.style.display = 'block'; +        e.style.visibility = 'visible'; +        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); +    } +    else +    { +        e.style.display = 'none'; +        e.style.visibility = 'hidden'; +        header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); +    } +} +function initTabs() +{ +    var url = window.location.href; +    if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) +    { +        var tab1 = document.getElementById('BinaryID'); +        var tab2 = document.getElementById('SourceID'); +        tab1.className='tab disabled'; +        tab2.className='tab active'; +    } +    var sets = document.getElementsByTagName('div'); +    for (var i = 0; i < sets.length; i++) +    { +        if (sets[i].className.indexOf('tabset') != -1) +        { +            var tabs = []; +            var links = sets[i].getElementsByTagName('a'); +            for (var j = 0; j < links.length; j++) +            { +                if (links[j].className.indexOf('tab') != -1) +                { +                    tabs.push(links[j]); +                    links[j].tabs = tabs; +                    var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); +                    //reset all tabs on start +                    if (tab) +                    { +                        if (links[j].className.indexOf('active')!=-1) { +                            tab.style.display = 'block'; +                        } +                        else { +                            tab.style.display = 'none'; +                        } +                    } +                    links[j].onclick = function() +                    { +                        var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); +                        if (tab) +                        { +                            //reset all tabs before change +                            for (var k = 0; k < this.tabs.length; k++) +                            { +                                document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; +                                this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); +                            } +                            this.className = 'tab active'; +                            tab.style.display = 'block'; +                            // window.location.hash = this.id.replace('ID', ''); +                            return false; +                        } +                    } +                } +            } +        } +    } +    if(url.indexOf('#')!=-1) { +        location.href=location.href; +    } +} +if (window.addEventListener) window.addEventListener('load', initTabs, false); +else if (window.attachEvent) window.attachEvent('onload', initTabs); +--> +</script> +</head> +<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libvips</span> library between <span style='color:Red;'>8.10.6</span> and <span style='color:Red;'>8.11.0rc1</span> versions on <span style='color:Blue;'>x86_64</span></h1> + +            <br/> +            <div class='tabset'> +            <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> +            <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> +            </div><div id='BinaryTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libvips</td></tr> +<tr><th>Version #1</th><td>8.10.6</td></tr> +<tr><th>Version #2</th><td>8.11.0rc1</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>GCC Version</th><td>10</td></tr> +<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>1098 / 209</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Binary_Added' style='color:Blue;'>20</a></td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Binary_Problems_Low' style='color:Blue;'>3</a></td></tr> +</table> + +<a name='Binary_Added'></a><h2>Added Symbols <span class='new'> 20 </span></h2><hr/> +<span class='h_name'>connection.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_source_g_input_stream_new <span class='sym_p'><span>( GInputStream* <span class='color_p'>stream</span></span> )</span></span><br/> +<br/> +<span class='h_name'>enumtypes.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_foreign_subsample_get_type <span class='sym_p'>( )</span></span><br/> +<br/> +<span class='h_name'>foreign.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_jp2kload <span class='sym_p'><span>( char const* <span class='color_p'>filename</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2kload_buffer <span class='sym_p'><span>( void* <span class='color_p'>buf</span></span>, <span>size_t <span class='color_p'>len</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2kload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>char const* <span class='color_p'>filename</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave_buffer <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>void** <span class='color_p'>buf</span></span>, <span>size_t* <span class='color_p'>len</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave_target <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsTarget* <span class='color_p'>target</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jpegload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload <span class='sym_p'><span>( char const* <span class='color_p'>filename</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload_buffer <span class='sym_p'><span>( void* <span class='color_p'>buf</span></span>, <span>size_t <span class='color_p'>len</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_niftiload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_openslideload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_vipsload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_vipssave_target <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsTarget* <span class='color_p'>target</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>header.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_image_get_array_double <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>double** <span class='color_p'>out</span></span>, <span>int* <span class='color_p'>n</span></span> )</span></span><br/> +<span class="iname">vips_image_set_array_double <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>double const* <span class='color_p'>array</span></span>, <span>int <span class='color_p'>n</span></span> )</span></span><br/> +<br/> +<span class='h_name'>image.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_image_free_buffer <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>void* <span class='color_p'>buffer</span></span> )</span></span><br/> +<br/> +<span class='h_name'>vips.h</span>, <span class='lib_name'>libvips.so.42.13.0</span><br/> +<span class="iname">vips_get_prgname <span class='sym_p'>( )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Binary_Problems'></a><a name='Constant_Binary_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 3 </span></h2><hr/> +<span class='h_name'>version.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_1')"> +<span class='ext'>[+]</span> VIPS_CONFIG</span> +<br/> +<div id="c_1" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_CONFIG</b> has been changed from <span class='value'>"native win32: no, native OS X: no, open files in binary mode: no, enable debug: no, enable deprecated library components: yes, enable docs with gtkdoc: yes, gobject introspection: yes, enable radiance support: yes, enable analyze support: yes, enable PPM support: yes, use fftw3 for FFT: yes, Magick package: MagickCore, Magick API version: magick6, load with libMagick: yes, save with libMagick: yes, accelerate loops with orc: yes, ICC profile support with lcms: yes (lcms2), file import with niftiio: no, file import with libheif: yes, file import with OpenEXR: yes, file import with OpenSlide: yes, file import with matio: yes, PDF import with PDFium: no, PDF import with poppler-glib: yes, SVG import with librsvg-2.0: yes, zlib: yes, file import with cfitsio: yes, file import/export with libwebp: yes, text rendering with pangoft2: yes, file import/export with libspng: yes, file import/export with libpng: yes (pkg-config libpng >= 1.2.9), support 8bpp PNG quantisation: yes, file import/export with libtiff: yes (pkg-config libtiff-4), file import/export with giflib: yes (found by search), file import/export with libjpeg: yes (pkg-config), image pyramid export: yes, use libexif to load/save JPEG metadata: yes"</span> to <span class='value'>"enable debug: no, enable deprecated library components: yes, enable modules: yes, enable docs with gtkdoc: yes, gobject introspection:  yes, RAD load/save: yes, Analyze7 load/save: yes, PPM load/save: yes, GIF load:  yes, generate C++ docs: no, use fftw3 for FFT: yes, accelerate loops with orc: yes, ICC profile support with lcms: yes (lcms2), zlib: yes, text rendering with pangocairo: yes, font file support with fontconfig: yes, EXIF metadata support with libexif: yes, JPEG load/save with libjpeg: yes (pkg-config), JXL load/save with libjxl: no (dynamic module: no), JPEG2000 load/save with libopenjp2: no, PNG load with libspng: yes, PNG load/save with libpng: yes (pkg-config libpng >= 1.2.9), 8bpp PNG quantisation: yes, TIFF load/save with libtiff: yes (pkg-config libtiff-4), image pyramid save: yes, HEIC/AVIF load/save with libheif: yes (dynamic module: yes), WebP load/save with libwebp: yes, PDF load with PDFium:  no, PDF load with poppler-glib: yes (dynamic module: yes), SVG load with librsvg-2.0: yes, EXR load with OpenEXR: yes, slide load with OpenSlide: yes (dynamic module: yes), Matlab load with matio: yes, NIfTI load/save with niftiio: no, FITS load/save with cfitsio: yes, Magick package: MagickCore (dynamic module: yes), Magick API version: magick6, load with libMagickCore: yes, save with libMagickCore: yes"</span>.</td> +<td>Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_2')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_AGE</span> +<br/> +<div id="c_2" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_LIBRARY_AGE</b> has been changed from <b>(12)</b> to <b>(13)</b>.</td> +<td>Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_3')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_CURRENT</span> +<br/> +<div id="c_3" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_LIBRARY_CURRENT</b> has been changed from <b>(54)</b> to <b>(55)</b>.</td> +<td>Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +vips.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libvips.so.42.12.7<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><div id='SourceTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libvips</td></tr> +<tr><th>Version #1</th><td>8.10.6</td></tr> +<tr><th>Version #2</th><td>8.11.0rc1</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>1111 / 209</td></tr> +<tr><th>Compatibility</th> +<td class='warning'>99.7%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Source_Added' style='color:Blue;'>21</a></td></tr> +<tr><th>Removed Symbols</th><td>High</td><td class='failed'><a href='#Source_Removed' style='color:Blue;'>3</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Source_Problems_Low' style='color:Blue;'>8</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Constants' style='color:Blue;'>2</a></td></tr> +</table> + +<a name='Source_Added'></a><h2>Added Symbols <span class='new'> 21 </span></h2><hr/> +<span class='h_name'>connection.h</span><br/> +<span class="iname">vips_source_g_input_stream_new <span class='sym_p'><span>( GInputStream* <span class='color_p'>stream</span></span> )</span></span><br/> +<br/> +<span class='h_name'>enumtypes.h</span><br/> +<span class="iname">vips_foreign_subsample_get_type <span class='sym_p'>( )</span></span><br/> +<br/> +<span class='h_name'>foreign.h</span><br/> +<span class="iname">vips_jp2kload <span class='sym_p'><span>( char const* <span class='color_p'>filename</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2kload_buffer <span class='sym_p'><span>( void* <span class='color_p'>buf</span></span>, <span>size_t <span class='color_p'>len</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2kload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>char const* <span class='color_p'>filename</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave_buffer <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>void** <span class='color_p'>buf</span></span>, <span>size_t* <span class='color_p'>len</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jp2ksave_target <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsTarget* <span class='color_p'>target</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jpegload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload <span class='sym_p'><span>( char const* <span class='color_p'>filename</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload_buffer <span class='sym_p'><span>( void* <span class='color_p'>buf</span></span>, <span>size_t <span class='color_p'>len</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_jxlload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_niftiload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_openslideload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_svgload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_vipsload_source <span class='sym_p'><span>( VipsSource* <span class='color_p'>source</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_vipssave_target <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsTarget* <span class='color_p'>target</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>header.h</span><br/> +<span class="iname">vips_image_get_array_double <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>double** <span class='color_p'>out</span></span>, <span>int* <span class='color_p'>n</span></span> )</span></span><br/> +<span class="iname">vips_image_set_array_double <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>double const* <span class='color_p'>array</span></span>, <span>int <span class='color_p'>n</span></span> )</span></span><br/> +<br/> +<span class='h_name'>image.h</span><br/> +<span class="iname">vips_image_free_buffer <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>void* <span class='color_p'>buffer</span></span> )</span></span><br/> +<br/> +<span class='h_name'>vips.h</span><br/> +<span class="iname">vips_get_prgname <span class='sym_p'>( )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Source_Removed'></a><a name='Source_Withdrawn'></a><h2>Removed Symbols <span class='failed'> 3 </span></h2><hr/> +<span class='h_name'>cimg_funcs.h</span><br/> +<span class="iname">vips_gmic <span class='sym_p'><span>( VipsImage** <span class='color_p'>in</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>int <span class='color_p'>n</span></span>, <span>int <span class='color_p'>padding</span></span>, <span>double <span class='color_p'>x_scale</span></span>, <span>double <span class='color_p'>y_scale</span></span>, <span>char const* <span class='color_p'>command</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>thread.h</span><br/> +<span class="iname">vips_g_thread_join <span class='sym_p'><span>( GThread* <span class='color_p'>thread</span></span> )</span></span><br/> +<span class="iname">vips_g_thread_new <span class='sym_p'><span>( char const* <span class='color_p'>p1</span></span>, <span>GThreadFunc <span class='color_p'>p2</span></span>, <span>gpointer <span class='color_p'>p3</span></span> )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Source_Problems'></a><a name='Constant_Source_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 8 </span></h2><hr/> +<span class='h_name'>version.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_4')"> +<span class='ext'>[+]</span> VIPS_CONFIG</span> +<br/> +<div id="c_4" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_CONFIG</b> has been changed from <span class='value'>"native win32: no, native OS X: no, open files in binary mode: no, enable debug: no, enable deprecated library components: yes, enable docs with gtkdoc: yes, gobject introspection: yes, enable radiance support: yes, enable analyze support: yes, enable PPM support: yes, use fftw3 for FFT: yes, Magick package: MagickCore, Magick API version: magick6, load with libMagick: yes, save with libMagick: yes, accelerate loops with orc: yes, ICC profile support with lcms: yes (lcms2), file import with niftiio: no, file import with libheif: yes, file import with OpenEXR: yes, file import with OpenSlide: yes, file import with matio: yes, PDF import with PDFium: no, PDF import with poppler-glib: yes, SVG import with librsvg-2.0: yes, zlib: yes, file import with cfitsio: yes, file import/export with libwebp: yes, text rendering with pangoft2: yes, file import/export with libspng: yes, file import/export with libpng: yes (pkg-config libpng >= 1.2.9), support 8bpp PNG quantisation: yes, file import/export with libtiff: yes (pkg-config libtiff-4), file import/export with giflib: yes (found by search), file import/export with libjpeg: yes (pkg-config), image pyramid export: yes, use libexif to load/save JPEG metadata: yes"</span> to <span class='value'>"enable debug: no, enable deprecated library components: yes, enable modules: yes, enable docs with gtkdoc: yes, gobject introspection:  yes, RAD load/save: yes, Analyze7 load/save: yes, PPM load/save: yes, GIF load:  yes, generate C++ docs: no, use fftw3 for FFT: yes, accelerate loops with orc: yes, ICC profile support with lcms: yes (lcms2), zlib: yes, text rendering with pangocairo: yes, font file support with fontconfig: yes, EXIF metadata support with libexif: yes, JPEG load/save with libjpeg: yes (pkg-config), JXL load/save with libjxl: no (dynamic module: no), JPEG2000 load/save with libopenjp2: no, PNG load with libspng: yes, PNG load/save with libpng: yes (pkg-config libpng >= 1.2.9), 8bpp PNG quantisation: yes, TIFF load/save with libtiff: yes (pkg-config libtiff-4), image pyramid save: yes, HEIC/AVIF load/save with libheif: yes (dynamic module: yes), WebP load/save with libwebp: yes, PDF load with PDFium:  no, PDF load with poppler-glib: yes (dynamic module: yes), SVG load with librsvg-2.0: yes, EXR load with OpenEXR: yes, slide load with OpenSlide: yes (dynamic module: yes), Matlab load with matio: yes, NIfTI load/save with niftiio: no, FITS load/save with cfitsio: yes, Magick package: MagickCore (dynamic module: yes), Magick API version: magick6, load with libMagickCore: yes, save with libMagickCore: yes"</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_5')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_AGE</span> +<br/> +<div id="c_5" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_LIBRARY_AGE</b> has been changed from <b>(12)</b> to <b>(13)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_6')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_CURRENT</span> +<br/> +<div id="c_6" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_LIBRARY_CURRENT</b> has been changed from <b>(54)</b> to <b>(55)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_7')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_REVISION</span> +<br/> +<div id="c_7" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_LIBRARY_REVISION</b> has been changed from <b>(7)</b> to <b>(0)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_8')"> +<span class='ext'>[+]</span> VIPS_MICRO_VERSION</span> +<br/> +<div id="c_8" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_MICRO_VERSION</b> has been changed from <b>(6)</b> to <b>(0)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_9')"> +<span class='ext'>[+]</span> VIPS_MINOR_VERSION</span> +<br/> +<div id="c_9" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_MINOR_VERSION</b> has been changed from <b>(10)</b> to <b>(11)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_10')"> +<span class='ext'>[+]</span> VIPS_VERSION</span> +<br/> +<div id="c_10" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_VERSION</b> has been changed from <b>"8.10.6"</b> to <b>"8.11.0"</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_11')"> +<span class='ext'>[+]</span> VIPS_VERSION_STRING</span> +<br/> +<div id="c_11" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>VIPS_VERSION_STRING</b> has been changed from <span class='value'>"8.10.6-Tue Mar 23 20:52:58 UTC 2021"</span> to <span class='value'>"8.11.0-Thu Jun  3 10:57:25 UTC 2021"</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes'></a><a name='Other_Source_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 2 </span></h2><hr/> +<span class='h_name'>connection.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_12')"> +<span class='ext'>[+]</span> VIPS_TYPE_SOURCE_G_INPUT_STREAM</span> +<br/> +<div id="c_12" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>VIPS_TYPE_SOURCE_G_INPUT_STREAM</b> with value <b>(vips_source_g_input_stream_get_type())</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<span class='h_name'>enumtypes.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_13')"> +<span class='ext'>[+]</span> VIPS_TYPE_FOREIGN_SUBSAMPLE</span> +<br/> +<div id="c_13" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>VIPS_TYPE_FOREIGN_SUBSAMPLE</b> with value <b>(vips_foreign_subsample_get_type())</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +vips.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libvips.so.42.12.7<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><hr/> +<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> +</div> +<br/> + +</body></html> diff --git a/libvips.xml b/libvips.xml index e52c20c..9201ab6 100644 --- a/libvips.xml +++ b/libvips.xml @@ -9,7 +9,7 @@  <version>      <!-- Version of the library --> -8.10.6 +8.11.0rc1  </version>  <headers> @@ -7,12 +7,11 @@  #  # Please preserve changelog entries  # -%global vips_version_base 8.10 -%global vips_version %{vips_version_base}.6 +%global vips_version_base 8.11 +%global vips_version %{vips_version_base}.0  %global vips_soname_major 42 -#global vips_prever beta2 -#global vips_tarver %%{vips_version}%%{?vips_prever:-%%{vips_prever}} -%global vips_tarver %{vips_version} +%global vips_prever rc1 +%global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}}  %if 0%{?fedora} || 0%{?rhel} >= 8  %bcond_without             doc @@ -43,14 +42,8 @@  %bcond_with                libheif  %endif -%if %{with libheif} -Name:		vips-full -# Keep vips-full release > vips release -Release:	4%{?dist} -%else  Name:		vips -Release:	3%{?dist} -%endif +Release:	1%{?dist}  Version:	%{vips_version}%{?vips_prever:~%{vips_prever}}  Summary:	C/C++ library for processing large images @@ -61,20 +54,6 @@ Source0:	https://github.com/libvips/libvips/releases/download/v%{vips_version}%{  BuildRequires:	pkgconfig(glib-2.0)  BuildRequires:	pkgconfig(expat)  BuildRequires:	pkgconfig(fftw3) -%if %{with im6} -%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 -BuildRequires:	ImageMagick-devel -%else -# Ensure we use version 6 (same as imagick ext). -BuildRequires:	ImageMagick6-devel -%endif -%endif -%if %{with im7} -BuildRequires:	ImageMagick7-devel -%endif -%if %{with gm} -BuildRequires:	GraphicsMagick-devel -%endif  BuildRequires:	pkgconfig(gobject-introspection-1.0)  BuildRequires:	pkgconfig(orc-0.4)  BuildRequires:	pkgconfig(lcms2) @@ -89,17 +68,12 @@ BuildRequires:	pkgconfig(libtiff-4)  # upstream requires 0.6  BuildRequires:	pkgconfig(libwebp) > 1  BuildRequires:	pkgconfig(libexif) -BuildRequires:	pkgconfig(openslide) >= 3.3.0  BuildRequires:	pkgconfig(libgsf-1)  BuildRequires:	pkgconfig(librsvg-2.0) >= 2.40.3 -BuildRequires:	pkgconfig(poppler-glib)  BuildRequires:	pkgconfig(libjpeg)  %if %{with libspng}  BuildRequires:	pkgconfig(spng) >= 0.6  %endif -%if %{with libheif} -BuildRequires:	pkgconfig(libheif) >= 1.3 -%endif  %if %{with libimagequant}  #BuildRequires:	pkgconfig(imagequant) TODO only in 2.12+  BuildRequires:	libimagequant-devel @@ -110,10 +84,14 @@ BuildRequires:	pkgconfig(gthread-2.0)  BuildRequires:	gcc-c++  BuildRequires:	pkgconfig gettext -%if %{with libheif} -Conflicts:      vips         < %{version}-%{release} -Provides:       vips         = %{version}-%{release} -Provides:       vips%{?_isa} = %{version}-%{release} +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Suggests:   %{name}-heif +Suggests:   %{name}-magick +Recommends: %{name}-openslide +Recommends: %{name}-poppler +%else +Requires:   %{name}-openslide +Requires:   %{name}-poppler  %endif @@ -125,29 +103,21 @@ with color.  This package should be installed if you want to use a program compiled  against VIPS. +Additional image formats are supported in additional optional packages: +* %{name}-heif +* %{name}-openslide +* %{name}-poppler +* %{name}-magick-im6 using ImageMagick version 6 +* %{name}-magick-im7 using ImageMagick version 7 +* %{name}-magick-gm  using GraphicsMagick + +  %package devel  Summary:	Development files for %{name}  Requires:	libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa}  Requires:	%{name}%{?_isa} = %{version}-%{release} -%if %{with libheif} -Conflicts:  vips-devel < %{version}-%{release} -%endif -# for consistency, same version at buildtime and runtime -%if %{with im6} -%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 -Requires:	ImageMagick-devel -%else -# Ensure we use version 6 (same as imagick ext). -Requires:	ImageMagick6-devel -%endif -%endif -%if %{with im7} -Requires:	ImageMagick7-devel -%endif -%if %{with gm} -Requires:	GraphicsMagick-devel -%endif +Obsoletes:  vips-full-devel < 8.11  %description devel  The %{name}-devel package contains the header files and @@ -158,9 +128,7 @@ contains a C++ API and development documentation.  %package tools  Summary:	Command-line tools for %{name}  Requires:	%{name}%{?_isa} = %{version}-%{release} -%if %{with libheif} -Conflicts:  vips-tools < %{version}-%{release} -%endif +Obsoletes:  vips-full-tools < 8.11  %description tools  The %{name}-tools package contains command-line tools for working with VIPS. @@ -171,15 +139,84 @@ The %{name}-tools package contains command-line tools for working with VIPS.  Summary:	Documentation for %{name}  BuildRequires: swig gtk-doc  Conflicts:	%{name} < %{version}-%{release}, %{name} > %{version}-%{release} -%if %{with libheif} -Conflicts:  vips-doc < %{version}-%{release} -%endif +Obsoletes:  vips-full-doc < 8.11  %description doc  The %{name}-doc package contains extensive documentation about VIPS in both  HTML and PDF formats.  %endif +%if %{with libheif} +%package heif +Summary:	   heif support for %{name} +BuildRequires: pkgconfig(libheif) >= 1.3 +Requires:      %{name} = %{version}-%{release} +Obsoletes:     vips-full < 8.11 + +%description heif +The %{name}-heif package contains the heif module. +%endif + +%package openslide +Summary:	   openslide support for %{name} +BuildRequires: pkgconfig(openslide) >= 3.3.0 +Requires:      %{name} = %{version}-%{release} + +%description openslide +The %{name}-openslide package contains the openslide module. + +%package poppler +Summary:	   poppler support for %{name} +BuildRequires: pkgconfig(poppler-glib) +Requires:      %{name} = %{version}-%{release} + +%description poppler +The %{name}-poppler package contains the poppler module. + +%if %{with im6} +%package magick-im6 +Summary:	   magick support for %{name} using ImageMagick6 +%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 +BuildRequires: ImageMagick-devel +%else +# Ensure we use version 6 (same as imagick ext). +BuildRequires: ImageMagick6-devel +%endif +Requires:      %{name} = %{version}-%{release} +Provides:      %{name}-magick = %{version}-%{release} +Conflicts:     %{name}-magick-im7 +Conflicts:     %{name}-magick-gm + +%description magick-im6 +The %{name}-magick-im6 package contains the magick module using ImageMagick6. +%endif + +%if %{with im7} +%package magick-im7 +Summary:	   magick support for %{name} using ImageMagick7 +BuildRequires: ImageMagick7-devel +Requires:      %{name} = %{version}-%{release} +Provides:      %{name}-magick = %{version}-%{release} +Conflicts:     %{name}-magick-im6 +Conflicts:     %{name}-magick-gm + +%description magick-im7 +The %{name}-magick-im7 package contains the magick module using ImageMagick7. +%endif + +%if %{with gm} +%package magick-gm +Summary:	   magick support for %{name} using ImageMagick7 +BuildRequires: GraphicsMagick-devel +Requires:      %{name} = %{version}-%{release} +Provides:      %{name}-magick = %{version}-%{release} +Conflicts:     %{name}-magick-im6 +Conflicts:     %{name}-magick-im7 + +%description magick-gm +The %{name}-magick-gm contains the magick module using GraphicsMagick. +%endif +  %prep  %setup -q -n vips-%{vips_version} @@ -202,7 +239,7 @@ export CFLAGS="%{optflags} -ftree-vectorize"  export CXXFLAGS="%{optflags} -ftree-vectorize"  %configure \  %if %{with libheif} -    --with-heif \ +    --with-heif=module \  %else      --without-heif \  %endif @@ -252,6 +289,7 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr  %license COPYING  %{_libdir}/*.so.%{vips_soname_major}*  %{_libdir}/girepository-1.0 +%dir %{_libdir}/vips-modules-%{vips_version_base}  %files devel @@ -274,7 +312,38 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr  %endif +%files openslide +%{_libdir}/vips-modules-%{vips_version_base}/vips-openslide.so + +%files poppler +%{_libdir}/vips-modules-%{vips_version_base}/vips-poppler.so + +%if %{with libheif} +%files heif +%{_libdir}/vips-modules-%{vips_version_base}/vips-heif.so +%endif + +%if %{with im6} +%files magick-im6 +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + +%if %{with im7} +%files magick-im7 +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + +%if %{with gm} +%files magick-gm +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + +  %changelog +* Sat Jun  5 2021 Remi Collet <remi@remirepo.net> - 8.11.0~rc1-1 +- update to 8.11.0rc1 +- split modules in sub-packages +  * Tue Apr  6 2021 Remi Collet <remi@remirepo.net> - 8.10.6-3  - rebuild for new matio (Fedora 32 to 34)  | 
