kxstitch/kxstitch-1.2.0-import2.patch

285 lines
18 KiB
Diff
Raw Normal View History

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,11 +137,16 @@ set_targ - Pastebin.com</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link href="/cache/css/text.css" rel="stylesheet" type="text/css" /> <link href="/i/main_master.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/main_v1.js"></script>
<meta property="fb:app_id" content="231493360234820" />
<meta property="og:title" content="--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,11 +137,16 @@ set_targ - Pastebin.com" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://pastebin.com/JD7xCtsw" />
<meta property="og:image" content="http://pastebin.com/i/fb2.jpg" />
<meta property="og:site_name" content="Pastebin" />
<meta name="google-site-verification" content="jkUAIOE8owUXu8UXIhRLB9oHJsWBfOgJbZzncqHoF4A" />
<link rel="canonical" href="http://pastebin.com/JD7xCtsw" />
<meta name="viewport" content="width=device-width">
<!--[if SafMob]>
<style>body{-webkit-text-size-adjust:none;}</style>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58643-34', 'auto');
ga('require', 'displayfeatures');
ga('send', 'pageview');
</script>
<script type="text/javascript">
if (top != self)
top.location.href = location.href;
</script>
</head>
<body>
<div id="super_frame">
<div id="logo" onclick="location.href='/'" title="Create New Paste"></div>
<div id="header">
<div id="header_top">
<span class="span_left more">PASTEBIN</span><span class="span_left less"> &nbsp;|&nbsp; #1 paste tool since 2002</span><span class="min_max_span narrow_it" title="Change layout width"></span><span class="min_max_span wide_it" style="display:none" title="Change layout width"></span> <ul class="top_menu">
<li class="no_border_li"><a href="/" accesskey="n">create new paste</a></li><li><a href="/tools">tools</a></li><li><a href="/api">api</a></li><li><a href="/archive">archive</a></li><li><a href="/faq">faq</a></li>
</ul>
</div>
<div id="header_middle">
<span class="span_left big"><a href="/">PASTEBIN</a></span>
<a href="http://twitter.com/pastebin" target="_blank"><img src="/i/t.gif" alt="" class="i_tf" width="122" height="20" border="0" /></a> <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpastebin&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=segoe+ui&amp;height=21&amp;appId=231493360234820" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;margin:13px 0 0 10px;vertical-align:top" allowTransparency="true"></iframe>
<div id="header_middle_search">
<form class="search_form" name="search_form" method="get" action="/search" id="cse-search-box">
<input type="hidden" name="cx" value="013305635491195529773:0ufpuq-fpt0" />
<input type="hidden" name="cof" value="FORID:10" />
<input type="hidden" name="ie" value="UTF-8" />
<input class="search_input" type="text" name="q" size="5" value="" placeholder="search..." x-webkit-speech/><input name="sa" class="search_button" src="/i/t.gif" alt="Search..." type="image" value="Search" />
</form>
</div>
</div>
<div id="header_bottom">
<div class="div_top_menu">
<img src="/i/t.gif" class="i_n" width="16" height="16" alt="" border="0" /> <a href="/">create new paste</a>
&nbsp;&nbsp;&nbsp; <img src="/i/t.gif" class="i_t" width="16" height="16" alt="" border="0" /> <a href="/trends">trending pastes</a>
</div>
<ul class="top_menu">
<li class="no_border_li"><a href="/signup">sign up</a></li><li><a href="/login">login</a></li><li><a href="/alerts">my alerts</a></li><li><a href="/settings">my settings</a></li><li><a href="/profile">my profile</a></li> </ul>
</div>
</div>
<div class="frame_spacer"><!-- --></div>
<div style="height:35px;line-height:35px;font-size:0.85em;"><span style="float:right;text-align:right;">Want more features on Pastebin? <a href="/signup"><b>Sign Up</b></a>, it's FREE!</span></div>
<div class="frame_spacer"><!-- --></div>
<div id="monster_frame">
<div id="content_frame">
<div id="content_right">
<div class="content_right_menu">
<div class="content_right_title"><a href="/archive">Public Pastes</a></div>
<div id="menu_2">
<ul class="right_menu"><li><a href="/m56c2Vij">Untitled</a><span>11 sec ago</span></li><li><a href="/yWQP4srG">WAH Review</a><span>10 sec ago</span></li><li><a href="/HpGtx3hA">Untitled</a><span>Java | 12 sec ago</span></li><li><a href="/2RLtQaV4">Untitled</a><span>Python | 25 sec ago</span></li><li><a href="/L4zsZ3Um">Untitled</a><span>29 sec ago</span></li><li><a href="/rBQEWFdk">Untitled</a><span>49 sec ago</span></li><li><a href="/z5mzqrAp">Untitled</a><span>36 sec ago</span></li><li><a href="/n9DhH1XE">Untitled</a><span>38 sec ago</span></li></ul></div></div>
<div style="padding: 0; width:160px;margin: 10px 0;clear:left;">
<script type="text/javascript"><!--
e9 = new Object();
e9.size = "160x600,120x600";
//--></script>
<script type="text/javascript" src="http://tags.expo9.exponential.com/tags/Pastebincom/Safe/tags.js"></script>
</div> <div id="steadfast" title="Pastebin is proudly hosted by Steadfast.net" onclick="location.href='http://steadfast.net/?utm_source=pastebin.com&utm_medium=referral&utm_content=hosting_by_banner&utm_campaign=referral_20140118_x_x_pastebin_partner&source=referral_20140118_x_x_pastebin_partner'"></div>
</div>
<div id="content_left">
<div class="paste_box_frame">
<div class="tweet">
<div onclick="facebookpopup('/JD7xCtsw'); return false;" id="b_facebook2"><span id="b_facebook"></span></div>
<div onclick="twitpopup('/JD7xCtsw'); return false;" id="b_twitter2"><span id="b_twitter"></span></div>
</div>
<div class="paste_box_icon">
<img src="/i/t.gif" class="i_gb" alt="Guest" border="0" />
</div>
<div class="paste_box_info">
<div class="paste_box_line1" title="Untitled"><img src="/i/t.gif" class="i_p0" width="16" height="16" title="Public paste, everybody can see this paste." alt="" border="0" /><h1>Untitled</h1> </div>
<div class="paste_box_line2">By: a guest on <span title="Monday 15th of June 2015 01:02:48 PM CDT" style="cursor:help;border-bottom: 1px dotted;">Jun 15th, 2015</span> &nbsp;|&nbsp; syntax: <a href="/archive/text">None</a> &nbsp;|&nbsp; size: 0.84 KB &nbsp;|&nbsp; views: <span title="Number of unique visitors to this paste" style="cursor:help;border-bottom: 1px dotted;">68</span> &nbsp;|&nbsp; expires: Never</div>
<div class="paste_box_line3"><a href="/download.php?i=JD7xCtsw" rel="nofollow">download</a> &nbsp;|&nbsp; <a href="/raw.php?i=JD7xCtsw" target="_blank" rel="nofollow">raw</a> &nbsp;|&nbsp; <a href="/embed.php?i=JD7xCtsw" rel="nofollow">embed</a> &nbsp;|&nbsp; <a href="/report.php?i=JD7xCtsw" rel="nofollow">report abuse</a> &nbsp;|&nbsp; <a href="/print.php?i=JD7xCtsw" rel="nofollow">print</a></div>
</div>
</div>
<div class="banner_728">
<script type="text/javascript"><!--
e9 = new Object();
e9.size = "970x250,728x90";
//--></script>
<script type="text/javascript" src="http://tags.expo9.exponential.com/tags/Pastebincom/Safe/tags.js"></script>
<div id="5e2e4b27a0" class="pagefair-acceptable"></div>
</div>
<div class="layout_clear"></div><div id="code_frame2">
<div id="code_frame">
<div id="code_buttons">
<a href="javascript:togglev();" title="Show/Hide line numbers"><img src="/i/t.gif" border="0" alt="" class="i16 line" /></a>
<a href="javascript:togglew('text');" title="Toggle text wrapping"><img src="/i/t.gif" border="0" alt="" class="i16 wrap" /></a>
<a href="#" class="copyme" onclick="selectText('selectable');showdiv('copied');" title="Copy text to clipboard"><img src="/i/t.gif" border="0" alt="" class="i16 clipboard" /></a> <span id="copied">Text below is selected. Please press Ctrl+C to copy to your clipboard. (&#8984;+C on Mac)</span>
</div>
<div id="selectable">
<div class="text"><ol><li class="li1"><div class="de1">--- a/CMakeLists.txt</div></li>
<li class="li2"><div class="de2">+++ b/CMakeLists.txt</div></li>
<li class="li1"><div class="de1">@@ -137,11 +137,16 @@</div></li>
<li class="li2"><div class="de2">&nbsp; &nbsp; &nbsp;set_target_properties (kxstitch PROPERTIES LINK_FLAGS -pg)</div></li>
<li class="li1"><div class="de1">&nbsp;endif (WITH_PROFILING)</div></li>
<li class="li2"><div class="de2">&nbsp;</div></li>
<li class="li1"><div class="de1">+exec_program (Magick++-config ARGS --cxxflags OUTPUT_VARIABLE magick_config)</div></li>
<li class="li2"><div class="de2">+</div></li>
<li class="li1"><div class="de1">+string (REGEX MATCH &quot;-DMAGICKCORE_HDRI_ENABLE=.&quot; magick_config_hdri ${magick_config})</div></li>
<li class="li2"><div class="de2">+string (REGEX MATCH &quot;-DMAGICKCORE_QUANTUM_DEPTH=[0-9]+&quot; magick_config_quantum ${magick_config})</div></li>
<li class="li1"><div class="de1">+</div></li>
<li class="li2"><div class="de2">&nbsp;add_definitions( -DQT_NO_COMPAT )</div></li>
<li class="li1"><div class="de1">&nbsp;add_definitions( -DKDE_NO_COMPAT )</div></li>
<li class="li2"><div class="de2">&nbsp;add_definitions( -fexceptions )</div></li>
<li class="li1"><div class="de1">-add_definitions( -DMAGICKCORE_QUANTUM_DEPTH=16 )</div></li>
<li class="li2"><div class="de2">-add_definitions( -DMAGICKCORE_HDRI_ENABLE=0 )</div></li>
<li class="li1"><div class="de1">+add_definitions( ${magick_config_hdri} )</div></li>
<li class="li2"><div class="de2">+add_definitions( ${magick_config_quantum} )</div></li>
<li class="li1"><div class="de1">&nbsp;</div></li>
<li class="li2"><div class="de2">&nbsp;install (TARGETS kxstitch DESTINATION ${BIN_INSTALL_DIR})</div></li>
<li class="li1"><div class="de1">&nbsp;install (FILES kxstitchui.rc DESTINATION ${DATA_INSTALL_DIR}/kxstitch)</div></li>
</ol></div>
</div>
</div></div>
<div class="content_title">
<span class="span_right raw_links"><a href="/index/JD7xCtsw" rel="nofollow"><u>clone</u> this paste</a></span>
RAW Paste Data
</div>
<form class="paste_form" id="myform" method="post" action="/post.php">
<div class="textarea_border">
<textarea id="paste_code" class="paste_code" name="paste_code" onkeydown="return catchTab(this,event)">--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,11 +137,16 @@
set_target_properties (kxstitch PROPERTIES LINK_FLAGS -pg)
endif (WITH_PROFILING)
+exec_program (Magick++-config ARGS --cxxflags OUTPUT_VARIABLE magick_config)
+
+string (REGEX MATCH &quot;-DMAGICKCORE_HDRI_ENABLE=.&quot; magick_config_hdri ${magick_config})
+string (REGEX MATCH &quot;-DMAGICKCORE_QUANTUM_DEPTH=[0-9]+&quot; magick_config_quantum ${magick_config})
+
add_definitions( -DQT_NO_COMPAT )
add_definitions( -DKDE_NO_COMPAT )
add_definitions( -fexceptions )
-add_definitions( -DMAGICKCORE_QUANTUM_DEPTH=16 )
-add_definitions( -DMAGICKCORE_HDRI_ENABLE=0 )
+add_definitions( ${magick_config_hdri} )
+add_definitions( ${magick_config_quantum} )
install (TARGETS kxstitch DESTINATION ${BIN_INSTALL_DIR})
install (FILES kxstitchui.rc DESTINATION ${DATA_INSTALL_DIR}/kxstitch)</textarea>
</div>
</form>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$('textarea').autoResize({minHeight: 80,maxHeight: 250});
geturl = "http://pastebin.com/JD7xCtsw";
$.getJSON("http://graph.facebook.com/fql?q=SELECT total_count FROM link_stat WHERE url='http://pastebin.com/JD7xCtsw'",
function(data) {
$('#b_facebook').append(data.data[0].total_count);
});
$.getJSON('http://urls.api.twitter.com/1/urls/count.json?url='+geturl+'&callback=?',
function(data) {
$('#b_twitter').append(data.count);
});
})
</script>
<div style="padding: 0;">
<script type="text/javascript"><!--
e9 = new Object();
e9.size = "300x250,300x600";
//--></script>
<script type="text/javascript" src="http://tags.expo9.exponential.com/tags/Pastebincom/Safe/tags.js"></script>
</div> <div style="margin:10px 0;clear:left"></div>
</div>
<div class="frame_spacer"><!-- --></div>
<div id="footer_top" style="clear:both">
<div class="footer_top_title">Pastebin.com Tools &amp; Applications</div>
<div class="footer_top_text">
<img src="/i/t.gif" alt="" class="icon24 iphone" /><a href="/tools#iphone">iPhone/iPad</a>
<img src="/i/t.gif" alt="" class="icon24 windows" /><a href="/tools#windows">Windows</a>
<img src="/i/t.gif" alt="" class="icon24 firefox" /><a href="/tools#firefox">Firefox</a>
<img src="/i/t.gif" alt="" class="icon24 chrome" /><a href="/tools#chrome">Chrome</a>
<img src="/i/t.gif" alt="" class="icon24 webos" /><a href="/tools#webos">WebOS</a>
<img src="/i/t.gif" alt="" class="icon24 android" /><a href="/tools#android">Android</a>
<img src="/i/t.gif" alt="" class="icon24 macos" /><a href="/tools#macos">Mac</a>
<img src="/i/t.gif" alt="" class="icon24 opera" /><a href="/tools#opera">Opera</a>
<img src="/i/t.gif" alt="" class="icon24 clickto" /><a href="/tools#clickto">Click.to</a>
<img src="/i/t.gif" alt="" class="icon24 unix" /><a href="/tools#pastebincl">UNIX</a>
<img src="/i/t.gif" alt="" class="icon24 windowsphone" /><a href="/tools#windowsphone">WinPhone</a>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="logo_small"></div>
<div id="footer_links">
<a href="/">create new paste</a> &nbsp;|&nbsp; <a href="/api">api</a> &nbsp;|&nbsp; <a href="/trends">trends</a> &nbsp;|&nbsp; <a href="/languages">syntax languages</a> &nbsp;|&nbsp; <a href="/faq">faq</a> &nbsp;|&nbsp; <a href="/tools">tools</a> &nbsp;|&nbsp; <a href="/privacy">privacy</a> &nbsp;|&nbsp; <a href="/cookies_policy">cookies</a> &nbsp;|&nbsp; <a href="/contact">contact</a> &nbsp;|&nbsp; <a href="/dmca">dmca</a> &nbsp;|&nbsp; <a href="https://buysellads.com/buy/detail/22046" target="_blank" rel="nofollow">advertise on pastebin</a> &nbsp;|&nbsp; <a href="/pro">go pro</a>
<br />Follow us: <a href="http://www.facebook.com/pages/Pastebincom/150549571626327" target="_blank">pastebin on facebook</a> &nbsp;|&nbsp; <a href="http://twitter.com/#!/pastebin" target="blank">pastebin on twitter</a> &nbsp;|&nbsp; <a href="https://www.google.com/search?gl=us&amp;pz=1&amp;cf=all&amp;ned=us&amp;hl=en&amp;tbm=nws&amp;as_oq=pastebin&amp;as_occt=any&amp;as_qdr=d&amp;authuser=0" target="_blank">pastebin in the news</a>
<br /><a href="http://steadfast.net/services/dedicated-servers.php?utm_source=pastebin.com&utm_medium=referral&utm_content=footer_link_dedicated_server_hosting_by&utm_campaign=referral_20140118_x_x_pastebin_partner&source=referral_20140118_x_x_pastebin_partner" rel="nofollow" target="_blank">Dedicated Server Hosting</a> by <a href="http://steadfast.net/?utm_source=pastebin.com&utm_medium=referral&utm_content=footer_link_steadfast&utm_campaign=referral_20140118_x_x_pastebin_partner&source=referral_20140118_x_x_pastebin_partner" rel="nofollow" target="_blank">Steadfast</a><br />Pastebin v3.11 rendered in: 0.005 seconds
</div>
<div id="footer_right">&nbsp;</div>
</div>
<script type="text/javascript">
$('.narrow_it').click(function(){
$('#super_frame').animate({width:'100%'}, 500);
$('#footer').animate({width:'100%'}, 500);
$(".narrow_it").hide();
$(".wide_it").show();
$.get('/layout.php', function(data) {
});
});
$('.wide_it').click(function(){
$('#super_frame').animate({width:'1200px'}, 500);
$('#footer').animate({width:'1200px'}, 500);
$(".wide_it").hide();
$(".narrow_it").show();
$.get('/layout.php', function(data) {
});
});
</script>
<script type="text/javascript"><!--
e9 = new Object();
e9.snackbar = true;
//--></script>
<script type="text/javascript" src="http://tags.expo9.exponential.com/tags/Pastebincom/Safe/tags.js"></script>
<script type="text/javascript">
(function() {
function async_load(script_url){
var protocol = ('https:' == document.location.protocol ? 'https://' : 'http://');
var s = document.createElement('script'); s.src = protocol + script_url;
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
}
bm_website_code = '2D20BDFEA765412B';
jQuery(document).ready(function(){async_load('asset.pagefair.com/measure.min.js')});
})();
</script>
<script type="text/javascript">
jQuery(document).ready(function(){
var srw = document.createElement('script');
srw.type = 'text/javascript';
srw.async = true;
srw.src = 'http://s3.amazonaws.com/po93jnd9j40w/pastebin.min.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(srw, s.nextSibling);
});
</script>
<script async type="text/javascript" src="//cdn.fancybar.net/ac/fancybar.js?zoneid=1502&serve=C6ADVKE&placement=pastebin" id="_fancybar_js"></script>
</body>
</html>