[33949] trunk/dports/gnome/gedit

gui_dos at macports.org gui_dos at macports.org
Fri Feb 8 02:18:46 PST 2008


Revision: 33949
          http://trac.macosforge.org/projects/macports/changeset/33949
Author:   gui_dos at macports.org
Date:     2008-02-08 02:18:45 -0800 (Fri, 08 Feb 2008)

Log Message:
-----------
gedit:
* Update to 2.20.4
* New dependency on py25-pygtksourceview enables Python plugins
* Patches: NO_IMPORT_PYGTK, NO_IMPORT_PYGOBJECT,
"chmod --reference=$< $@" ==> "chmod 0755 $@"

Modified Paths:
--------------
    trunk/dports/gnome/gedit/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gedit/files/
    trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-commands.override.diff
    trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-override.diff
    trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-module.c.diff
    trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-plugin.c.diff
    trunk/dports/gnome/gedit/files/patch-plugins-externaltools-data-Makefile.in.diff

Modified: trunk/dports/gnome/gedit/Portfile
===================================================================
--- trunk/dports/gnome/gedit/Portfile	2008-02-08 09:40:21 UTC (rev 33948)
+++ trunk/dports/gnome/gedit/Portfile	2008-02-08 10:18:45 UTC (rev 33949)
@@ -1,30 +1,37 @@
 # $Id$
+
 PortSystem 1.0
+
 name		gedit
-version		2.20.3
+version		2.20.4
 description	GNOME editor.
 long_description        ${description}
 maintainers	nomaintainer
-categories	editors
-platforms	darwin 
+categories	gnome editors
+platforms	darwin
 homepage	http://www.gnome.org/projects/gedit/
 master_sites    gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
-checksums	sha1 ccbb9bad00101ed465c39da05b0dcaf8ea881120
+checksums	sha1 82bf5fe2e119018936fca0b89196c9e86c69ee3f
 depends_lib	\
 	port:gtksourceview2 \
 	port:eel \
-	port:dbus-glib
+	port:dbus-glib \
+        port:py25-gtksourceview
 #	port:enchant
 depends_build	\
 	port:gnome-doc-utils
 use_bzip2 	yes
 
+patchfiles 	patch-gedit-gedit-python-module.c.diff \
+		patch-gedit-gedit-python-plugin.c.diff \
+		patch-bindings-python-gedit-override.diff \
+                patch-bindings-python-gedit-commands.override.diff \
+		patch-plugins-externaltools-data-Makefile.in.diff
+
 configure.args  --mandir=${prefix}/share/man \
 		--disable-spell \
 		--disable-scrollkeeper
-
 configure.cflags-append -no-cpp-precomp -flat_namespace -undefined suppress
-
 configure.env	PYTHON=${prefix}/bin/python2.5
 
 post-destroot	{

Added: trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-commands.override.diff
===================================================================
--- trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-commands.override.diff	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-commands.override.diff	2008-02-08 10:18:45 UTC (rev 33949)
@@ -0,0 +1,10 @@
+--- bindings/python/geditcommands.override.orig	2007-07-21 12:31:19.000000000 +0200
++++ bindings/python/geditcommands.override	2008-02-08 09:08:04.000000000 +0100
+@@ -2,6 +2,7 @@
+ headers
+ #define NO_IMPORT_PYGOBJECT
+ #include "pygobject.h"
++#define NO_IMPORT_PYGTK
+ #include <pygtk/pygtk.h>
+ 
+ #include "gedit-commands.h"

Added: trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-override.diff
===================================================================
--- trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-override.diff	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/patch-bindings-python-gedit-override.diff	2008-02-08 10:18:45 UTC (rev 33949)
@@ -0,0 +1,10 @@
+--- bindings/python/gedit.override.orig	2007-07-27 12:30:04.000000000 +0200
++++ bindings/python/gedit.override	2008-02-08 09:07:45.000000000 +0100
+@@ -2,6 +2,7 @@
+ headers
+ #define NO_IMPORT_PYGOBJECT
+ #include "pygobject.h"
++#define NO_IMPORT_PYGTK
+ #include <pygtk/pygtk.h>
+ 
+ #include "gedit-language-manager.h"

Added: trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-module.c.diff
===================================================================
--- trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-module.c.diff	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-module.c.diff	2008-02-08 10:18:45 UTC (rev 33949)
@@ -0,0 +1,11 @@
+--- gedit/gedit-python-module.c.orig	2007-07-21 12:31:18.000000000 +0200
++++ gedit/gedit-python-module.c	2008-02-07 23:23:09.000000000 +0100
+@@ -23,7 +23,7 @@
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif
+-
++#define NO_IMPORT_PYGTK
+ #include <pygobject.h>
+ #include <pygtk/pygtk.h>
+ 

Added: trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-plugin.c.diff
===================================================================
--- trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-plugin.c.diff	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/patch-gedit-gedit-python-plugin.c.diff	2008-02-08 10:18:45 UTC (rev 33949)
@@ -0,0 +1,11 @@
+--- gedit/gedit-python-plugin.c.orig	2007-07-21 12:31:18.000000000 +0200
++++ gedit/gedit-python-plugin.c	2008-02-08 00:04:14.000000000 +0100
+@@ -25,7 +25,7 @@
+ #include "gedit-python-plugin.h"
+ #include "gedit-plugin.h"
+ #include "gedit-debug.h"
+-
++#define NO_IMPORT_PYGOBJECT
+ #include <pygobject.h>
+ #include <string.h>
+ 

Added: trunk/dports/gnome/gedit/files/patch-plugins-externaltools-data-Makefile.in.diff
===================================================================
--- trunk/dports/gnome/gedit/files/patch-plugins-externaltools-data-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/gnome/gedit/files/patch-plugins-externaltools-data-Makefile.in.diff	2008-02-08 10:18:45 UTC (rev 33949)
@@ -0,0 +1,11 @@
+--- plugins/externaltools/data/Makefile.in.orig	Thu Jan 11 00:53:33 2007
++++ plugins/externaltools/data/Makefile.in	Thu Jan 11 00:53:41 2007
+@@ -471,7 +471,7 @@
+ # (.desktop), which happens to be translated using intltool.
+ $(tools_SCRIPTS): %: %.tool.in %.desktop $(TOOL_MERGE)
+ 	perl $(TOOL_MERGE) -o $@ $< $(word 2,$^)
+-	chmod --reference=$< $@
++	chmod 0755 $@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080208/448c382f/attachment.html


More information about the macports-changes mailing list