[33669] trunk/dports/gnome/gnumeric
gui_dos at macports.org
gui_dos at macports.org
Sat Feb 2 13:09:13 PST 2008
Revision: 33669
http://trac.macosforge.org/projects/macports/changeset/33669
Author: gui_dos at macports.org
Date: 2008-02-02 13:09:11 -0800 (Sat, 02 Feb 2008)
Log Message:
-----------
gnumeric: enabled the Python plugins
Modified Paths:
--------------
trunk/dports/gnome/gnumeric/Portfile
Added Paths:
-----------
trunk/dports/gnome/gnumeric/files/
trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-gnm-python.c
trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-py-gnumeric.c
Modified: trunk/dports/gnome/gnumeric/Portfile
===================================================================
--- trunk/dports/gnome/gnumeric/Portfile 2008-02-02 20:46:09 UTC (rev 33668)
+++ trunk/dports/gnome/gnumeric/Portfile 2008-02-02 21:09:11 UTC (rev 33669)
@@ -4,6 +4,7 @@
name gnumeric
version 1.8.1
+revision 1
description A spreadsheet with gnome support.
long_description A spreadsheet with gnome support.
maintainers nomaintainer
@@ -13,17 +14,20 @@
master_sites gnome:sources/gnumeric/[strsed ${version} {/\.[0-9]*$//}]/
use_bzip2 yes
checksums md5 a80ae52484b07d772297dcde6c0dab47
-
depends_lib port:libgsf \
port:goffice \
port:libgnomeprintui \
port:dbus \
- port:dbus-glib
+ port:dbus-glib \
+ port:py25-gtk
depends_build port:gnome-doc-utils
-configure.args --without-python \
- --disable-scrollkeeper
+configure.args --disable-scrollkeeper
+configure.python ${prefix}/bin/python2.5
+patchfiles patch-plugins-python-loader-gnm-python.c \
+ patch-plugins-python-loader-py-gnumeric.c
+
post-destroot { file delete -force ${destroot}${prefix}/var/scrollkeeper }
post-activate {
Added: trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-gnm-python.c
===================================================================
--- trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-gnm-python.c (rev 0)
+++ trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-gnm-python.c 2008-02-02 21:09:11 UTC (rev 33669)
@@ -0,0 +1,10 @@
+--- plugins/python-loader/gnm-python.c.orig 2008-01-15 00:55:07.000000000 +0100
++++ plugins/python-loader/gnm-python.c 2008-02-02 17:20:51.000000000 +0100
+@@ -7,6 +7,7 @@
+
+ #include <gnumeric-config.h>
+ #include <Python.h>
++#define NO_IMPORT_PYGOBJECT
+ #include <pygobject.h>
+ #include <glib.h>
+ #include "gnm-py-interpreter.h"
Added: trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-py-gnumeric.c
===================================================================
--- trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-py-gnumeric.c (rev 0)
+++ trunk/dports/gnome/gnumeric/files/patch-plugins-python-loader-py-gnumeric.c 2008-02-02 21:09:11 UTC (rev 33669)
@@ -0,0 +1,10 @@
+--- plugins/python-loader/py-gnumeric.c.orig 2008-01-15 00:55:07.000000000 +0100
++++ plugins/python-loader/py-gnumeric.c 2008-02-02 17:23:13.000000000 +0100
+@@ -9,6 +9,7 @@
+ #include <Python.h>
+ #include <gnumeric.h>
+ #include <glib.h>
++#define NO_IMPORT_PYGOBJECT
+ #include "pygobject.h"
+ #include "application.h"
+ #include "workbook.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080202/9376cfbe/attachment.html
More information about the macports-changes
mailing list