<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/libpapyrus/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/libpapyrus/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 14 Mar 2011 20:26:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libpapyrus/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Can't build demos or examples in ubuntu</title><link>https://sourceforge.net/p/libpapyrus/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I can't seem to build the demos or the examples which I'm trying to use to figure out how the library works. It seems that gtkmm includes aren't being passed to the compiler. I get the following when building papyrus-demo (below, clipped). I tried by setting CFLAGS=`pkg-config --cflags gtkmm-2.4`, also for CXXFLAGS, and by passing CFLAGS and CXXFLAGS into make... none of which worked. I'm not too familiar with automake so I'm not sure if I can add something to one of the .am files and run ./autogen to fix this.&lt;/p&gt;
&lt;p&gt;demowindow.cc:24:24: error: gtkmm/main.h: No such file or directory&lt;br /&gt;
demowindow.cc:25:36: error: gtkmm/cellrenderertext.h: No such file or directory&lt;br /&gt;
demowindow.cc:26:34: error: gtkmm/treeviewcolumn.h: No such file or directory&lt;br /&gt;
In file included from demowindow.cc:27:&lt;br /&gt;
demowindow.h:23:26: error: gtkmm/window.h: No such file or directory&lt;br /&gt;
demowindow.h:24:28: error: gtkmm/notebook.h: No such file or directory&lt;br /&gt;
demowindow.h:25:23: error: gtkmm/box.h: No such file or directory&lt;br /&gt;
demowindow.h:27:29: error: gtkmm/treestore.h: No such file or directory&lt;br /&gt;
demowindow.h:28:28: error: gtkmm/treeview.h: No such file or directory&lt;br /&gt;
In file included from demowindow.h:29,&lt;br /&gt;
from demowindow.cc:27:&lt;br /&gt;
textwidget.h:25:34: error: gtkmm/scrolledwindow.h: No such file or directory&lt;br /&gt;
textwidget.h:26:28: error: gtkmm/textview.h: No such file or directory&lt;br /&gt;
In file included from demowindow.h:29,&lt;br /&gt;
from demowindow.cc:27:&lt;br /&gt;
textwidget.h:29: error: ‘Gtk’ has not been declared&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josh</dc:creator><pubDate>Mon, 14 Mar 2011 20:26:43 -0000</pubDate><guid>https://sourceforge.netbea517ff211194f0452b0e4cf60b21ded5484652</guid></item><item><title>memory leak in cairo path freeing</title><link>https://sourceforge.net/p/libpapyrus/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is a memory leak in shape.cpp when freeing the Path returned by the method copy_path() of Cairo::Context. free() is used where delete should be (a call to cairo_path_destroy is thus missing).&lt;/p&gt;
&lt;p&gt;Here is a patch to apply to shape.cpp:&lt;/p&gt;
&lt;p&gt;--- papyrus-0.7.1/papyrus/shape.cpp     2007-01-14 06:04:09.000000000 +0100&lt;br /&gt;
+++ papyrus-0.7.1-work/papyrus/shape.cpp        2007-09-01 01:06:22.000000000 +0200&lt;br /&gt;
@@ -48,9 +48,9 @@&lt;/p&gt;
&lt;p&gt;Shape::~Shape() {&lt;br /&gt;
if ( m_fill_path )&lt;br /&gt;
-      free( m_fill_path );&lt;br /&gt;
+      delete m_fill_path;&lt;br /&gt;
if ( m_outline_path )&lt;br /&gt;
-      free( m_outline_path );&lt;br /&gt;
+      delete m_outline_path;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;@@ -173,14 +173,13 @@&lt;br /&gt;
void Shape::shape_changed( unsigned which )&lt;br /&gt;
{&lt;br /&gt;
if ( which &amp;amp; FILL ) {&lt;br /&gt;
-      free( m_fill_path );&lt;br /&gt;
+      delete m_fill_path;&lt;br /&gt;
m_fill_path = NULL;&lt;br /&gt;
}&lt;br /&gt;
if ( which &amp;amp; OUTLINE ) {&lt;br /&gt;
-      free( m_outline_path );&lt;br /&gt;
+      delete m_outline_path;&lt;br /&gt;
m_outline_path = NULL;&lt;br /&gt;
}&lt;br /&gt;
this-&amp;gt;need_redraw();&lt;br /&gt;
}&lt;br /&gt;
-&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 31 Aug 2007 23:37:20 -0000</pubDate><guid>https://sourceforge.neta6e1152c851c99044fffc9133638006251943fdf</guid></item><item><title>build problem on gentoo</title><link>https://sourceforge.net/p/libpapyrus/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;building papyrus on gentoo fails. the configure script defines PAPYRUS_HAVE_CAIRO_10 instead of PAPYRUS_HAVE_CAIRO_12, i guess some autoconf stuff fails.&lt;/p&gt;
&lt;p&gt;i would be happy to see this fixed, so that i don't have to edit papyrus/papyrus-config.h manually&lt;/p&gt;
&lt;p&gt;thanks .. tim&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Blechmann</dc:creator><pubDate>Thu, 08 Feb 2007 12:47:02 -0000</pubDate><guid>https://sourceforge.netc8c0dc79554e6d84c04add33065a4959803fa18a</guid></item><item><title>Fix bug with linked with required library.</title><link>https://sourceforge.net/p/libpapyrus/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Attached patch is fixed linking order.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vitaly Lipatov</dc:creator><pubDate>Sat, 20 May 2006 21:59:09 -0000</pubDate><guid>https://sourceforge.net403ce4ce0d166d341863facee748bc135da3848c</guid></item></channel></rss>