pan-gtk2.10.9.uci


Forum: The Testing Area
Topic: pan-gtk2.10.9.uci
started by: roberts

Posted by roberts on Oct. 12 2008,20:04
Thanks to WDef for:
Code Sample
Title:          pan-gtk2.10.9.uci
Description:    Pan newsreader
Version:        0.133
Authors:        Charles Kerr
Original-site:  http://pan.rebelbase.com/
Copying-policy: GPL2
-----==[  Color = green    Filesize:   3.14M  ]==-----
Extension-by:   wdef
Comments: Second-gen Pan newsreader is a complete re-write in C++.
Compiled for i686 against gtk+-2.10.9.dsl, works with gtk+-2.12.9.uci.
But spellchecking is not working with gtk+-2.12.9.uci.
Includes gmime-2.2.9 http://spruce.sourceforge.net/gmime/
Change-log:     7/28/08  - First Version
Current:        2008/10/12 - updated to 0.133

Posted by WDef on Oct. 12 2008,22:30
This upgrade contains some important fixes apparently and runs better.   Also, the Pan binary is now a sensible size.   Hacked the headers to get it to compile with our older gcc after getting help from the Pan community.   Here is the patch I made:

Code Sample
diff -Naur pan/general/debug.h pan.new/general/debug.h
--- pan/general/debug.h 2008-10-12 11:20:22.000000000 -0400
+++ pan.new/general/debug.h 2008-10-12 11:21:16.000000000 -0400
@@ -42,13 +42,9 @@
      std::cerr << LINE_ID << ' ' << A << '\n'; \
  } while (0)

-#ifndef UNUSED
-#ifdef
-#define UNUSED ((unused))
-#else
+
#define UNUSED
-#endif
-#endif
+


#endif
diff -Naur pan/general/macros.h pan.new/general/macros.h
--- pan/general/macros.h 2008-10-12 11:20:13.000000000 -0400
+++ pan.new/general/macros.h 2008-10-12 11:21:21.000000000 -0400
@@ -48,13 +48,9 @@
***  UNUSED
**/

-#ifndef UNUSED
-#ifdef
-#define UNUSED ((unused))
-#else
+
#define UNUSED
-#endif
-#endif
+

/**
***  g_assert
diff -Naur pan/gui/body-pane.h pan.new/gui/body-pane.h
--- pan/gui/body-pane.h 2008-10-12 11:19:56.000000000 -0400
+++ pan.new/gui/body-pane.h 2008-10-12 11:21:41.000000000 -0400
@@ -17,6 +17,8 @@
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

+#define G_GNUC_UNUSED
+
#ifndef _BodyPane_h_
#define _BodyPane_h_

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.