[41366] trunk/dports/x11/gtk-sharp

nox at macports.org nox at macports.org
Fri Oct 31 10:21:35 PDT 2008


Revision: 41366
          http://trac.macports.org/changeset/41366
Author:   nox at macports.org
Date:     2008-10-31 10:21:35 -0700 (Fri, 31 Oct 2008)
Log Message:
-----------
gtk-sharp:
 * Add the glue libs into the .dll.config file.
 * Fix the vte lib entry in the vte-sharp.dll.config file.
 * Use the proper GDK/GTK backend in gdk/gtk-sharp.dll.config files.
 * Enable parallel building.

Modified Paths:
--------------
    trunk/dports/x11/gtk-sharp/Portfile

Added Paths:
-----------
    trunk/dports/x11/gtk-sharp/files/patch-gdk-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-glade-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-glib-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-gnome-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-gtk-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-pango-sharp.dll.config.in.diff
    trunk/dports/x11/gtk-sharp/files/patch-vte-sharp.dll.config.in.diff

Modified: trunk/dports/x11/gtk-sharp/Portfile
===================================================================
--- trunk/dports/x11/gtk-sharp/Portfile	2008-10-31 16:33:25 UTC (rev 41365)
+++ trunk/dports/x11/gtk-sharp/Portfile	2008-10-31 17:21:35 UTC (rev 41366)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -4,7 +5,7 @@
 
 name            gtk-sharp
 version         1.0.10
-revision        2
+revision        3
 categories      x11 devel
 platforms       darwin
 maintainers     nox openmaintainer
@@ -12,7 +13,7 @@
 
 long_description \
     This is the Gtk# toolkit for Mono, an implementation \
-	of the .NET Development Framework.
+    of the .NET Development Framework.
 
 homepage        http://gtk-sharp.sourceforge.net/
 master_sites    http://ftp.novell.com/pub/mono/sources/${name}/
@@ -21,7 +22,13 @@
                 sha1 6965559e2e3b741f587a41d286935c73a2c2c437 \
                 rmd160 53db7e93424b2429cf825390633ede4d7c511564
 
-patchfiles      patch-configure-disable-gnomedb.diff
+patchfiles      patch-configure-disable-gnomedb.diff \
+                patch-gdk-sharp.dll.config.in.diff \
+                patch-glib-sharp.dll.config.in.diff \
+                patch-gnome-sharp.dll.config.in.diff \
+                patch-gtk-sharp.dll.config.in.diff \
+                patch-pango-sharp.dll.config.in.diff \
+                patch-vte-sharp.dll.config.in.diff
 
 depends_lib     port:mono \
                 path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
@@ -43,8 +50,16 @@
             reinplace -E "s|(target=\")|\\1${prefix}/lib/|" ${f}
         }
     }
+
+    reinplace "s/libgtk-x11-2\\.0\\.0\\.dylib/[glob -tail -path $prefix/lib/ libgtk-*-2.0.0.dylib]/" \
+        $worksrcpath/gtk/gtk-sharp.dll.config
+
+    reinplace "s/libgdk-x11-2\\.0\\.0\\.dylib/[glob -tail -path $prefix/lib/ libgdk-*-2.0.0.dylib]/" \
+        $worksrcpath/gdk/gdk-sharp.dll.config
 }
 
+use_parallel_build  yes
+
 variant gnomedb description {Enable gnomedb support} {
     patchfiles-delete   patch-configure-disable-gnomedb.diff
     depends_lib-append  port:libgnomedb

Added: trunk/dports/x11/gtk-sharp/files/patch-gdk-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-gdk-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-gdk-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- gdk/gdk-sharp.dll.config.in.orig	2008-10-31 17:10:14.000000000 +0100
++++ gdk/gdk-sharp.dll.config.in	2008-10-31 17:14:34.000000000 +0100
+@@ -3,4 +3,5 @@
+   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="gdksharpglue" target="libgdksharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-glade-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-glade-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-glade-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,7 @@
+--- glade/glade-sharp.dll.config.in.orig	2008-10-31 17:36:47.000000000 +0100
++++ glade/glade-sharp.dll.config.in	2008-10-31 17:37:10.000000000 +0100
+@@ -1,3 +1,4 @@
+ <configuration>
+   <dllmap dll="libglade-2.0-0.dll" target="libglade-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="gladesharpglue" target="libgladesharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-glib-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-glib-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-glib-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- glib/glib-sharp.dll.config.in.orig	2008-10-31 17:10:21.000000000 +0100
++++ glib/glib-sharp.dll.config.in	2008-10-31 17:14:21.000000000 +0100
+@@ -2,4 +2,5 @@
+   <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="glibsharpglue" target="libglibsharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-gnome-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-gnome-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-gnome-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- gnome/gnome-sharp.dll.config.in.orig	2008-10-31 17:35:22.000000000 +0100
++++ gnome/gnome-sharp.dll.config.in	2008-10-31 18:16:24.000000000 +0100
+@@ -8,4 +8,5 @@
+   <dllmap dll="gnomeprint-2-2" target="libgnomeprint-2-2 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="gnomeprintui-2-2" target="libgnomeprintui-2-2 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="gnomeui-2" target="libgnomeui-2 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="gnomesharpglue" target="libgnomesharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-gtk-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-gtk-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-gtk-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- gtk/gtk-sharp.dll.config.in.orig	2008-10-31 17:10:33.000000000 +0100
++++ gtk/gtk-sharp.dll.config.in	2008-10-31 17:14:53.000000000 +0100
+@@ -3,4 +3,5 @@
+   <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="gtksharpglue" target="libgtksharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-pango-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-pango-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-pango-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- pango/pango-sharp.dll.config.in.orig	2008-10-31 17:37:36.000000000 +0100
++++ pango/pango-sharp.dll.config.in	2008-10-31 17:38:04.000000000 +0100
+@@ -1,4 +1,5 @@
+ <configuration>
+   <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+   <dllmap dll="libpango-1.0-0.dll" target="libpango-1.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
++  <dllmap dll="pangosharpglue" target="libpangosharpglue.so"/>
+ </configuration>

Added: trunk/dports/x11/gtk-sharp/files/patch-vte-sharp.dll.config.in.diff
===================================================================
--- trunk/dports/x11/gtk-sharp/files/patch-vte-sharp.dll.config.in.diff	                        (rev 0)
+++ trunk/dports/x11/gtk-sharp/files/patch-vte-sharp.dll.config.in.diff	2008-10-31 17:21:35 UTC (rev 41366)
@@ -0,0 +1,8 @@
+--- vte/vte-sharp.dll.config.in.orig	2008-10-31 18:11:06.000000000 +0100
++++ vte/vte-sharp.dll.config.in	2008-10-31 18:11:14.000000000 +0100
+@@ -1,4 +1,4 @@
+ <configuration>
+   <dllmap dll="libatk-1.0-0.dll" target="libatk-1.0 at LIB_PREFIX@.0 at LIB_SUFFIX@"/>
+-  <dllmap dll="vte" target="libvte at LIB_PREFIX@.4 at LIB_SUFFIX@"/>
++  <dllmap dll="vte" target="libvte at LIB_PREFIX@@LIB_SUFFIX@"/>
+ </configuration>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081031/eb99f00c/attachment.html>


More information about the macports-changes mailing list