diff options
-rw-r--r-- | compat_reports/8.7.4_to_8.8.0-rc1/compat_report.html | 993 | ||||
-rw-r--r-- | libvips.xml | 4 | ||||
-rw-r--r-- | vips.spec | 150 |
3 files changed, 1055 insertions, 92 deletions
diff --git a/compat_reports/8.7.4_to_8.8.0-rc1/compat_report.html b/compat_reports/8.7.4_to_8.8.0-rc1/compat_report.html new file mode 100644 index 0000000..02f847b --- /dev/null +++ b/compat_reports/8.7.4_to_8.8.0-rc1/compat_report.html @@ -0,0 +1,993 @@ +<!-- kind:binary;verdict:compatible;affected:0;added:17;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:8;changed_constants:2;tool_version:2.3 --> +<!-- kind:source;verdict:compatible;affected:0;added:19;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:7;interface_changes_other:3;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.7.4 and 8.8.0-rc1 versions" /> +<title>libvips: 8.7.4 to 8.8.0-rc1 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.7.4</span> and <span style='color:Red;'>8.8.0-rc1</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.7.4</td></tr> +<tr><th>Version #2</th><td>8.8.0-rc1</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>GCC Version</th><td>8</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;'>3</a></td></tr> +<tr><th>Total Symbols / Types</th><td>990 / 195</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;'>17</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 class='warning'><a href='#Symbol_Binary_Problems_Low' style='color:Blue;'>8</a></td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Binary_Problems_Low' style='color:Blue;'>2</a></td></tr> +</table> + +<a name='Binary_Added'></a><h2>Added Symbols <span class='new'> 17 </span></h2><hr/> +<span class='h_name'>colour.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_CMYK2XYZ <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_profile_load <span class='sym_p'><span>( char const* <span class='color_p'>name</span></span>, <span>VipsBlob** <span class='color_p'>profile</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_XYZ2CMYK <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>dbuf.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_dbuf_write_amp <span class='sym_p'><span>( VipsDbuf* <span class='color_p'>dbuf</span></span>, <span>char const* <span class='color_p'>str</span></span> )</span></span><br/> +<br/> +<span class='h_name'>foreign.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_foreign_get_suffixes <span class='sym_p'>( )</span></span><br/> +<span class="iname">vips_heifload <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_heifload_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_heifsave <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_heifsave_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/> +<br/> +<span class='h_name'>header.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_image_get_image <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsImage** <span class='color_p'>out</span></span> )</span></span><br/> +<span class="iname">vips_image_get_page_height <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span> )</span></span><br/> +<span class="iname">vips_image_set_blob_copy <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<span class="iname">vips_image_set_image <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsImage* <span class='color_p'>im</span></span> )</span></span><br/> +<br/> +<span class='h_name'>rect.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_rect_overlapsrect <span class='sym_p'><span>( VipsRect const* <span class='color_p'>r1</span></span>, <span>VipsRect const* <span class='color_p'>r2</span></span> )</span></span><br/> +<br/> +<span class='h_name'>region.h</span>, <span class='lib_name'>libvips.so.42.10.0</span><br/> +<span class="iname">vips_region_fetch <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</span></span>, <span>int <span class='color_p'>left</span></span>, <span>int <span class='color_p'>top</span></span>, <span>int <span class='color_p'>width</span></span>, <span>int <span class='color_p'>height</span></span>, <span>size_t* <span class='color_p'>len</span></span> )</span></span><br/> +<span class="iname">vips_region_height <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</span></span> )</span></span><br/> +<span class="iname">vips_region_width <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</span></span> )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Binary_Problems'></a><a name='Symbol_Binary_Problems_Low'></a><a name='Interface_Binary_Problems_Low'></a> +<h2>Problems with Symbols, Low Severity <span class='warning'> 8 </span></h2><hr/> +<span class='h_name'>colour.h</span>, <span class='lib_name'>libvips.so.42.9.5</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_1')"> +<span class='ext'>[+]</span> vips_icc_is_compatible_profile <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>void* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>data_length</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_1" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_icc_is_compatible_profile <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>data_length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>data</b> has been changed from <b>void*</b> to <span class='value'>void const*</span>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<br/> +<span class='h_name'>header.h</span>, <span class='lib_name'>libvips.so.42.9.5</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_2')"> +<span class='ext'>[+]</span> vips_image_get_area <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void** <span class='color_p'>data</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_2" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_image_get_area <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void const** <span class='color_p'>data</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>data</b> has been changed from <b>void**</b> to <span class='value'>void const**</span>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_3')"> +<span class='ext'>[+]</span> vips_image_get_blob <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void** <span class='color_p'>data</span></span>, <span>size_t* <span class='color_p'>length</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_3" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_image_get_blob <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void const** <span class='color_p'>data</span></span>, <span>size_t* <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>data</b> has been changed from <b>void**</b> to <span class='value'>void const**</span>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_4')"> +<span class='ext'>[+]</span> vips_image_set_blob <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_4" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_image_set_blob <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>4th</b> parameter <b>data</b> has been changed from <b>void*</b> to <span class='value'>void const*</span>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<br/> +<span class='h_name'>type.h</span>, <span class='lib_name'>libvips.so.42.9.5</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_5')"> +<span class='ext'>[+]</span> vips_blob_copy <span class='sym_p'><span>( void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>size</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_5" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_copy <span class='sym_p'><span>( void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>2nd</b> parameter <b>size</b> has been renamed to <b>length</b>.</td> +<td>Renaming of a parameter may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_6')"> +<span class='ext'>[+]</span> vips_blob_get <span class='sym_p'><span>( VipsBlob* <span class='color_p'>blob</span></span>, <span>size_t* <span class='color_p'>size</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_6" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_get <span class='sym_p'><span>( VipsBlob* <span class='color_p'>blob</span></span>, <span>size_t* <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>2nd</b> parameter <b>size</b> has been renamed to <b>length</b>.</td> +<td>Renaming of a parameter may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_7')"> +<span class='ext'>[+]</span> vips_blob_new <span class='sym_p'><span>( VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>size</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_7" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_new <span class='sym_p'><span>( VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>3rd</b> parameter <b>size</b> has been renamed to <b>length</b>.</td> +<td>Renaming of a parameter may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_8')"> +<span class='ext'>[+]</span> vips_value_set_blob <span class='sym_p'><span>( GValue* <span class='color_p'>value</span></span>, <span>VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_8" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_value_set_blob <span class='sym_p'><span>( GValue* <span class='color_p'>value</span></span>, <span>VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>data</b> has been changed from <b>void*</b> to <span class='value'>void const*</span>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Constant_Binary_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 2 </span></h2><hr/> +<span class='h_name'>version.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_9')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_AGE</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_LIBRARY_AGE</b> has been changed from <b>(9)</b> to <b>(10)</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_10')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_CURRENT</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_LIBRARY_CURRENT</b> has been changed from <b>(51)</b> to <b>(52)</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'> 3 </span></h2><hr/> +<div class='lib_list'> +libvips-cpp.so.42.9.5<br/> +libvips.so.42.9.5<br/> +libvipsCC.so.42.9.5<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.7.4</td></tr> +<tr><th>Version #2</th><td>8.8.0-rc1</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;'>3</a></td></tr> +<tr><th>Total Symbols / Types</th><td>1001 / 195</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='#Source_Added' style='color:Blue;'>19</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_Source_Problems_Low' style='color:Blue;'>7</a></td></tr> +<tr><th>Other Changes<br/>in Symbols</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Symbols' style='color:Blue;'>3</a></td></tr> +</table> + +<a name='Source_Added'></a><h2>Added Symbols <span class='new'> 19 </span></h2><hr/> +<span class='h_name'>colour.h</span><br/> +<span class="iname">vips_CMYK2XYZ <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_profile_load <span class='sym_p'><span>( char const* <span class='color_p'>name</span></span>, <span>VipsBlob** <span class='color_p'>profile</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vips_XYZ2CMYK <span class='sym_p'><span>( VipsImage* <span class='color_p'>in</span></span>, <span>VipsImage** <span class='color_p'>out</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>dbuf.h</span><br/> +<span class="iname">vips_dbuf_write_amp <span class='sym_p'><span>( VipsDbuf* <span class='color_p'>dbuf</span></span>, <span>char const* <span class='color_p'>str</span></span> )</span></span><br/> +<br/> +<span class='h_name'>foreign.h</span><br/> +<span class="iname">vips_foreign_get_suffixes <span class='sym_p'>( )</span></span><br/> +<span class="iname">vips_heifload <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_heifload_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_heifsave <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_heifsave_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/> +<br/> +<span class='h_name'>header.h</span><br/> +<span class="iname">vips_image_get_image <span class='sym_p'><span>( VipsImage const* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsImage** <span class='color_p'>out</span></span> )</span></span><br/> +<span class="iname">vips_image_get_page_height <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span> )</span></span><br/> +<span class="iname">vips_image_set_blob_copy <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<span class="iname">vips_image_set_image <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>char const* <span class='color_p'>name</span></span>, <span>VipsImage* <span class='color_p'>im</span></span> )</span></span><br/> +<br/> +<span class='h_name'>image.h</span><br/> +<span class="iname">vips_image_iskilled <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span> )</span></span><br/> +<span class="iname">vips_image_set_kill <span class='sym_p'><span>( VipsImage* <span class='color_p'>image</span></span>, <span>gboolean <span class='color_p'>kill</span></span> )</span></span><br/> +<br/> +<span class='h_name'>rect.h</span><br/> +<span class="iname">vips_rect_overlapsrect <span class='sym_p'><span>( VipsRect const* <span class='color_p'>r1</span></span>, <span>VipsRect const* <span class='color_p'>r2</span></span> )</span></span><br/> +<br/> +<span class='h_name'>region.h</span><br/> +<span class="iname">vips_region_fetch <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</span></span>, <span>int <span class='color_p'>left</span></span>, <span>int <span class='color_p'>top</span></span>, <span>int <span class='color_p'>width</span></span>, <span>int <span class='color_p'>height</span></span>, <span>size_t* <span class='color_p'>len</span></span> )</span></span><br/> +<span class="iname">vips_region_height <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</span></span> )</span></span><br/> +<span class="iname">vips_region_width <span class='sym_p'><span>( VipsRegion* <span class='color_p'>region</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'> 7 </span></h2><hr/> +<span class='h_name'>version.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_11')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_AGE</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_LIBRARY_AGE</b> has been changed from <b>(9)</b> to <b>(10)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_12')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_CURRENT</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 value of constant <b>VIPS_LIBRARY_CURRENT</b> has been changed from <b>(51)</b> to <b>(52)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_13')"> +<span class='ext'>[+]</span> VIPS_LIBRARY_REVISION</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 value of constant <b>VIPS_LIBRARY_REVISION</b> has been changed from <b>(5)</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_14')"> +<span class='ext'>[+]</span> VIPS_MICRO_VERSION</span> +<br/> +<div id="c_14" 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>(4)</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_15')"> +<span class='ext'>[+]</span> VIPS_MINOR_VERSION</span> +<br/> +<div id="c_15" 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>(7)</b> to <b>(8)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_16')"> +<span class='ext'>[+]</span> VIPS_VERSION</span> +<br/> +<div id="c_16" 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.7.4"</b> to <b>"8.8.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_17')"> +<span class='ext'>[+]</span> VIPS_VERSION_STRING</span> +<br/> +<div id="c_17" 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.7.4-Fri Jan 18 12:51:47 UTC 2019"</span> to <span class='value'>"8.8.0-Sat Apr 27 10:02:26 UTC 2019"</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_Symbols'></a><a name='Other_Source_Changes_In_Interfaces'></a> +<h2>Other Changes in Symbols <span class='passed'> 3 </span></h2><hr/> +<span class='h_name'>type.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_18')"> +<span class='ext'>[+]</span> vips_blob_copy <span class='sym_p'><span>( void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>size</span></span> )</span> <span class='passed'> 1 </span></span> +<br/> +<div id="c_18" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_copy <span class='sym_p'><span>( void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>2nd</b> parameter <b>size</b> has been renamed to <b>length</b>.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_19')"> +<span class='ext'>[+]</span> vips_blob_get <span class='sym_p'><span>( VipsBlob* <span class='color_p'>blob</span></span>, <span>size_t* <span class='color_p'>size</span></span> )</span> <span class='passed'> 1 </span></span> +<br/> +<div id="c_19" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_get <span class='sym_p'><span>( VipsBlob* <span class='color_p'>blob</span></span>, <span>size_t* <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>2nd</b> parameter <b>size</b> has been renamed to <b>length</b>.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_20')"> +<span class='ext'>[+]</span> vips_blob_new <span class='sym_p'><span>( VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>size</span></span> )</span> <span class='passed'> 1 </span></span> +<br/> +<div id="c_20" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>vips_blob_new <span class='sym_p'><span>( VipsCallbackFn <span class='color_p'>free_fn</span></span>, <span>void const* <span class='color_p'>data</span></span>, <span>size_t <span class='color_p'>length</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td><b>3rd</b> parameter <b>size</b> has been renamed to <b>length</b>.</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'> 3 </span></h2><hr/> +<div class='lib_list'> +libvips-cpp.so.42.9.5<br/> +libvips.so.42.9.5<br/> +libvipsCC.so.42.9.5<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 b2cd5e6..d6701c9 100644 --- a/libvips.xml +++ b/libvips.xml @@ -9,7 +9,7 @@ <version> <!-- Version of the library --> -8.7.4 +8.8.0-rc1 </version> <headers> @@ -21,9 +21,7 @@ <libs> <!-- The list of paths to shared objects and/or directories with shared objects, one per line --> -/usr/lib64/libvips-cpp.so /usr/lib64/libvips.so -/usr/lib64/libvipsCC.so </libs> <!-- @@ -7,27 +7,31 @@ # # Please preserve changelog entries # -%global vips_version_base 8.7 -%global vips_version %{vips_version_base}.4 +%global vips_version_base 8.8 +%global vips_version %{vips_version_base}.0 %global vips_soname_major 42 -#global vips_prever rc3 -%global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}} +%global vips_prever rc1 +%global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}a} -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -%global with_python2 0 +%if 0%{?fedora} || 0%{?rhel} >= 8 +%global with_doc 1 %else -%global with_python2 1 +%global with_doc 0 %endif %if 0%{?fedora} || 0%{?rhel} >= 8 -%global with_python3 1 -%global with_doc 1 +%global with_libimagequant 1 %else -%global with_python3 0 -%global with_doc 0 +%global with_libimagequant 0 %endif +%global with_libheif 0 + +%if %{with_libheif} +Name: vips-full +%else Name: vips +%endif Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Release: 1%{?dist} Summary: C/C++ library for processing large images @@ -56,19 +60,31 @@ BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libtiff-4) -BuildRequires: pkgconfig(libwebp) +# Ensure we use libwebp7 on EL +BuildRequires: pkgconfig(libwebp) > 1 BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(openslide) BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(libjpeg) - +%if %{with_libheif} +BuildRequires: pkgconfig(libheif) +%endif +%if %{with_libimagequant} +#BuildRequires: pkgconfig(imagequant) TODO only in 2.12+ +BuildRequires: libimagequant-devel +%endif BuildRequires: giflib-devel BuildRequires: gcc-c++ BuildRequires: pkgconfig gettext +%if %{with_libheif} +Conflicts: vips < %{version}-%{release} +Provides: vips = %{version}-%{release} +%endif + %description VIPS is an image processing library. It is good for very large images @@ -82,7 +98,10 @@ against VIPS. %package devel Summary: Development files for %{name} Requires: libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa} -Requires: vips%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} +%if %{with_libheif} +Conflicts: vips-devel < %{version}-%{release} +%endif %description devel The %{name}-devel package contains the header files and @@ -92,55 +111,23 @@ contains a C++ API and development documentation. %package tools Summary: Command-line tools for %{name} -Requires: vips%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} +%if %{with_libheif} +Conflicts: vips-tools < %{version}-%{release} +%endif %description tools The %{name}-tools package contains command-line tools for working with VIPS. -%if %{with_python2} -%package -n python2-vips -Summary: Python 2 support for %{name} -BuildRequires: python2-devel -Requires: vips%{?_isa} = %{version}-%{release} -Requires: pygobject3-base >= 3.12.0 -Provides: python2-vipsCC = %{version}-%{release} -Provides: python2-vipsCC%{?_isa} = %{version}-%{release} -Obsoletes: vips-python < 8.7.2 -Provides: vips-python = %{version}-%{release} -Provides: vips-python%{?_isa} = %{version}-%{release} - -%{?python_provide:%python_provide python2-vips} -%{?python_provide:%python_provide python2-vipsCC} - -%description -n python2-vips -The %{name}-python package contains Python 2 support for VIPS. -%endif - - -%if %{with_python3} -%package -n python3-vips -Summary: Python 3 support for %{name} -BuildRequires: python3-devel -Requires: vips%{?_isa} = %{version}-%{release} -Requires: python3-gobject >= 3.12.0 -Obsoletes: vips-python3 < 8.7.2 -Provides: vips-python3 = %{version}-%{release} -Provides: vips-python3%{?_isa} = %{version}-%{release} -%{?python_provide:%python_provide python3-vips} - -# No provide for python3-vipsCC, since we only have the gi overrides - -%description -n python3-vips -The %{name}-python3 package contains Python 3 support for VIPS. -%endif - - %if %{with_doc} %package doc Summary: Documentation for %{name} BuildRequires: swig gtk-doc Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release} +%if %{with_libheif} +Conflicts: vips-doc < %{version}-%{release} +%endif %description doc The %{name}-doc package contains extensive documentation about VIPS in both @@ -168,41 +155,32 @@ sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_l export CFLAGS="%{optflags} -ftree-vectorize" export CXXFLAGS="%{optflags} -ftree-vectorize" %configure \ +%if %{with_libheif} + --with-heif \ +%else + --without-heif \ +%endif %if %{with_doc} - --disable-static \ --enable-gtk-doc \ %endif - --enable-cpp7 \ - --enable-pyvips8 \ -%if %{with_python2} - --enable-pyvips7 \ - PYTHON=%{_bindir}/python2 -%else - PYTHON=%{_bindir}/python3 -%endif + --disable-static make %{?_smp_mflags} %install -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';' +make install DESTDIR=%{buildroot} +find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';' # delete doc (we will get it later with %%doc) -rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips +rm -rf %{buildroot}%{_datadir}/doc/vips + +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipsprofile +%endif # locale stuff %find_lang vips%{vips_version_base} -%if %{with_python2} && %{with_python3} -# Upstream supports the GI override module on Python 3, but doesn't install -# it into the Python 3 path -mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch} -cp -a ${RPM_BUILD_ROOT}%{python2_sitearch}/gi \ - ${RPM_BUILD_ROOT}%{python3_sitearch} -find ${RPM_BUILD_ROOT}%{python3_sitearch} \ - \( -name '*.pyc' -o -name '*.pyo' \) -delete -%endif - %if 0%{?fedora} < 28 && 0%{?rhel} < 8 %post -p /sbin/ldconfig @@ -230,20 +208,6 @@ find ${RPM_BUILD_ROOT}%{python3_sitearch} \ %{_mandir}/man1/* -%if %{with_python2} -%files -n python2-vips -%{python2_sitearch}/gi/overrides/* -%{python2_sitearch}/vipsCC/ -%endif - - -%if %{with_python3} -%files -n python3-vips -%{python3_sitearch}/gi/overrides/*.py -%{python3_sitearch}/gi/overrides/__pycache__/* -%endif - - %if %{with_doc} %files doc %doc doc/html @@ -252,6 +216,14 @@ find ${RPM_BUILD_ROOT}%{python3_sitearch} \ %changelog +* Mon May 6 2019 Remi Collet <remi@remirepo.net> - 8.8.0~rc1-1 +- update to 8.8.0-rc1 +- drop libvipsCC +- drop python support + +* Mon Mar 18 2019 Remi Collet <remi@remirepo.net> - 8.7.4-2 +- rebuild using libwebp7 + * Fri Jan 18 2019 Remi Collet <remi@remirepo.net> - 8.7.4-1 - update to 8.7.4 |