[47271] trunk/dports/x11/pure-gtk
ryandesign at macports.org
ryandesign at macports.org
Tue Feb 24 02:02:33 PST 2009
Revision: 47271
http://trac.macports.org/changeset/47271
Author: ryandesign at macports.org
Date: 2009-02-24 02:02:32 -0800 (Tue, 24 Feb 2009)
Log Message:
-----------
pure-gtk: now use upstream's fix for the absolute paths in the .c files
Modified Paths:
--------------
trunk/dports/x11/pure-gtk/Portfile
Added Paths:
-----------
trunk/dports/x11/pure-gtk/files/patch-includes.diff
Removed Paths:
-------------
trunk/dports/x11/pure-gtk/files/patch-prefix.diff
Modified: trunk/dports/x11/pure-gtk/Portfile
===================================================================
--- trunk/dports/x11/pure-gtk/Portfile 2009-02-24 09:54:47 UTC (rev 47270)
+++ trunk/dports/x11/pure-gtk/Portfile 2009-02-24 10:02:32 UTC (rev 47271)
@@ -30,17 +30,8 @@
path:lib/pkgconfig/pango.pc:pango
patchfiles patch-Makefile.diff \
- patch-prefix.diff
+ patch-includes.diff
-post-patch {
- reinplace "s|@PREFIX@|${prefix}|g" \
- ${worksrcpath}/atk.c \
- ${worksrcpath}/cairo.c \
- ${worksrcpath}/glib.c \
- ${worksrcpath}/gtk.c \
- ${worksrcpath}/pango.c
-}
-
use_configure no
pre-build {
Copied: trunk/dports/x11/pure-gtk/files/patch-includes.diff (from rev 47231, trunk/dports/x11/pure-gtk/files/patch-prefix.diff)
===================================================================
--- trunk/dports/x11/pure-gtk/files/patch-includes.diff (rev 0)
+++ trunk/dports/x11/pure-gtk/files/patch-includes.diff 2009-02-24 10:02:32 UTC (rev 47271)
@@ -0,0 +1,88 @@
+Upstream revision 945
+
+Index: atk.c
+===================================================================
+--- atk.c (revision 944)
++++ atk.c (revision 945)
+@@ -1,4 +1,4 @@
+-#include "/usr/include/atk-1.0/atk/atk.h"
++#include <atk/atk.h>
+
+ unsigned int Pure_atk_state_type_register(char const* arg0)
+ {
+Index: cairo.c
+===================================================================
+--- cairo.c (revision 944)
++++ cairo.c (revision 945)
+@@ -1,4 +1,4 @@
+-#include "/usr/include/cairo/cairo.h"
++#include <cairo/cairo.h>
+
+ int Pure_cairo_version()
+ {
+Index: glib.c
+===================================================================
+--- glib.c (revision 944)
++++ glib.c (revision 945)
+@@ -1,4 +1,4 @@
+-#include "/usr/include/glib-2.0/glib.h"
++#include <glib.h>
+
+ GArray* Pure_g_array_new(int arg0, int arg1, unsigned int arg2)
+ {
+@@ -5565,7 +5565,7 @@
+ {
+ return g_uri_escape_string(arg0, arg1, arg2);
+ }
+-#include "/usr/include/glib-2.0/glib-object.h"
++#include <glib-object.h>
+
+ void Pure_g_type_init()
+ {
+@@ -7256,7 +7256,7 @@
+ {
+ return g_value_set_string_take_ownership(arg0, arg1);
+ }
+-#include "/usr/include/glib-2.0/gio/gio.h"
++#include <gio/gio.h>
+
+ unsigned long Pure_g_app_info_get_type()
+ {
+@@ -9827,7 +9827,7 @@
+ {
+ return g_volume_get_activation_root(arg0);
+ }
+-#include "/usr/include/glib-2.0/gmodule.h"
++#include <gmodule.h>
+
+ int Pure_g_module_supported()
+ {
+Index: gtk.c
+===================================================================
+--- gtk.c (revision 944)
++++ gtk.c (revision 945)
+@@ -1,4 +1,4 @@
+-#include "/usr/include/gtk-2.0/gdk/gdk.h"
++#include <gdk/gdk.h>
+
+ unsigned long Pure_gdk_colormap_get_type()
+ {
+@@ -3619,7 +3619,7 @@
+ {
+ return gdk_threads_add_timeout_seconds(arg0, arg1, arg2);
+ }
+-#include "/usr/include/gtk-2.0/gtk/gtk.h"
++#include <gtk/gtk.h>
+
+ unsigned long Pure_gtk_accel_group_get_type()
+ {
+Index: pango.c
+===================================================================
+--- pango.c (revision 944)
++++ pango.c (revision 945)
+@@ -1,4 +1,4 @@
+-#include "/usr/include/pango-1.0/pango/pango.h"
++#include <pango/pango.h>
+
+ PangoCoverage* Pure_pango_coverage_new()
+ {
Deleted: trunk/dports/x11/pure-gtk/files/patch-prefix.diff
===================================================================
--- trunk/dports/x11/pure-gtk/files/patch-prefix.diff 2009-02-24 09:54:47 UTC (rev 47270)
+++ trunk/dports/x11/pure-gtk/files/patch-prefix.diff 2009-02-24 10:02:32 UTC (rev 47271)
@@ -1,76 +0,0 @@
---- atk.c 2009-02-19 20:27:10.000000000 -0600
-+++ atk.c 2009-02-22 05:38:30.000000000 -0600
-@@ -1,4 +1,4 @@
--#include "/usr/include/atk-1.0/atk/atk.h"
-+#include "@PREFIX@/include/atk-1.0/atk/atk.h"
-
- unsigned int Pure_atk_state_type_register(char const* arg0)
- {
---- cairo.c 2009-02-19 20:27:16.000000000 -0600
-+++ cairo.c 2009-02-22 05:38:50.000000000 -0600
-@@ -1,4 +1,4 @@
--#include "/usr/include/cairo/cairo.h"
-+#include "@PREFIX@/include/cairo/cairo.h"
-
- int Pure_cairo_version()
- {
---- glib.c 2009-02-19 20:26:55.000000000 -0600
-+++ glib.c 2009-02-22 05:39:15.000000000 -0600
-@@ -1,4 +1,4 @@
--#include "/usr/include/glib-2.0/glib.h"
-+#include "@PREFIX@/include/glib-2.0/glib.h"
-
- GArray* Pure_g_array_new(int arg0, int arg1, unsigned int arg2)
- {
-@@ -5565,7 +5565,7 @@
- {
- return g_uri_escape_string(arg0, arg1, arg2);
- }
--#include "/usr/include/glib-2.0/glib-object.h"
-+#include "@PREFIX@/include/glib-2.0/glib-object.h"
-
- void Pure_g_type_init()
- {
-@@ -7256,7 +7256,7 @@
- {
- return g_value_set_string_take_ownership(arg0, arg1);
- }
--#include "/usr/include/glib-2.0/gio/gio.h"
-+#include "@PREFIX@/include/glib-2.0/gio/gio.h"
-
- unsigned long Pure_g_app_info_get_type()
- {
-@@ -9827,7 +9827,7 @@
- {
- return g_volume_get_activation_root(arg0);
- }
--#include "/usr/include/glib-2.0/gmodule.h"
-+#include "@PREFIX@/include/glib-2.0/gmodule.h"
-
- int Pure_g_module_supported()
- {
---- gtk.c 2009-02-19 20:26:04.000000000 -0600
-+++ gtk.c 2009-02-22 05:39:32.000000000 -0600
-@@ -1,4 +1,4 @@
--#include "/usr/include/gtk-2.0/gdk/gdk.h"
-+#include "@PREFIX@/include/gtk-2.0/gdk/gdk.h"
-
- unsigned long Pure_gdk_colormap_get_type()
- {
-@@ -3619,7 +3619,7 @@
- {
- return gdk_threads_add_timeout_seconds(arg0, arg1, arg2);
- }
--#include "/usr/include/gtk-2.0/gtk/gtk.h"
-+#include "@PREFIX@/include/gtk-2.0/gtk/gtk.h"
-
- unsigned long Pure_gtk_accel_group_get_type()
- {
---- pango.c 2009-02-19 20:27:28.000000000 -0600
-+++ pango.c 2009-02-22 05:39:44.000000000 -0600
-@@ -1,4 +1,4 @@
--#include "/usr/include/pango-1.0/pango/pango.h"
-+#include "@PREFIX@/include/pango-1.0/pango/pango.h"
-
- PangoCoverage* Pure_pango_coverage_new()
- {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090224/667b88a0/attachment-0001.html>
More information about the macports-changes
mailing list