[41859] trunk/dports/gnome/gnome-sharp2

nox at macports.org nox at macports.org
Tue Nov 11 07:27:14 PST 2008


Revision: 41859
          http://trac.macports.org/changeset/41859
Author:   nox at macports.org
Date:     2008-11-11 07:27:10 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
gnome-sharp2:
 * Fixed dependencies.
 * Disabled sample schemas installation.
 * Added no_x11 variant to disable the GnomePanel bindings (gnome-panel does not build if gtk2 is built with +no_x11).
 * Fixed gtk2 dllmap in gnome-sharp.dll.config.

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

Added Paths:
-----------
    trunk/dports/gnome/gnome-sharp2/files/patch-disable-gnomepanel.diff
    trunk/dports/gnome/gnome-sharp2/files/patch-disable-schemas-installation.diff

Modified: trunk/dports/gnome/gnome-sharp2/Portfile
===================================================================
--- trunk/dports/gnome/gnome-sharp2/Portfile	2008-11-11 14:17:02 UTC (rev 41858)
+++ trunk/dports/gnome/gnome-sharp2/Portfile	2008-11-11 15:27:10 UTC (rev 41859)
@@ -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
@@ -5,6 +6,7 @@
 name            gnome-sharp2
 set my_name     gnome-sharp
 version         2.20.0
+revision        1
 categories      gnome devel
 platforms       darwin
 maintainers     nox openmaintainer
@@ -18,24 +20,24 @@
 master_sites    http://go-mono.com/sources/${name}/
 distname        ${my_name}-${version}
 
-checksums       md5    1cdb85652a6504afe6fad569daa901ee \
-                sha1   4a142ec30195828f57f3f294d1d279843355d531 \
-                rmd160 33249f3af171161f1aa79d62987ee905febe7391
+checksums       md5     1cdb85652a6504afe6fad569daa901ee \
+                sha1    4a142ec30195828f57f3f294d1d279843355d531 \
+                rmd160  33249f3af171161f1aa79d62987ee905febe7391
 
 use_bzip2       yes
 
-patchfiles      patch-gnome-sharp.dll.config.in.diff
+patchfiles      patch-gnome-sharp.dll.config.in.diff \
+                patch-disable-schemas-installation.diff
 
 depends_lib     port:mono \
-                port:gtk-sharp2 \
-                port:libglade2 \
+                path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                port:gtk2 \
                 port:libart_lgpl \
                 port:gnome-vfs \
+                port:libgnomecanvas \
+                port:libgnomeui \
                 port:libgnomeprintui \
-                port:gnome-panel \
-                port:libgtkhtml3 \
-                port:librsvg \
-                port:vte
+                port:gnome-panel
 
 post-configure {
     # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
@@ -44,8 +46,23 @@
             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/gnome/gnome-sharp.dll.config
 }
 
+variant no_x11 description "Disable X11 support (remove GnomePanel bindings)" {
+    pre-fetch {
+        if {[file exists ${prefix}/lib/pkgconfig/gtk+-x11-2.0.pc]} {
+            ui_error "Please uninstall or deactivate the gtk2 port and reinstall it by running `port install gtk2 +no_x11`."
+            error "gtk2 must be installed with the no_x11 variant enabled."
+        }
+    }
+
+    patchfiles-append   patch-disable-gnomepanel.diff
+    depends_lib-delete  port:gnome-panel
+}
+
 livecheck.check regex
 livecheck.url   http://go-mono.com/sources-stable/
 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)

Added: trunk/dports/gnome/gnome-sharp2/files/patch-disable-gnomepanel.diff
===================================================================
--- trunk/dports/gnome/gnome-sharp2/files/patch-disable-gnomepanel.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-sharp2/files/patch-disable-gnomepanel.diff	2008-11-11 15:27:10 UTC (rev 41859)
@@ -0,0 +1,416 @@
+--- configure.orig	2008-11-11 03:13:33.000000000 +0100
++++ configure	2008-11-11 03:17:02.000000000 +0100
+@@ -22431,12 +22431,12 @@
+         pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
+     else
+         if test -n "$PKG_CONFIG" && \
+-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= \$GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION libpanelapplet-2.0 >= \$GNOMEPANEL_REQUIRED_VERSION\"") >&5
+-  ($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION") 2>&5
++    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= \$GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION") >&5
++  ($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+-  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION" 2>/dev/null`
++  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
+ else
+   pkg_failed=yes
+ fi
+@@ -22449,12 +22449,12 @@
+         pkg_cv_GNOME_LIBS="$GNOME_LIBS"
+     else
+         if test -n "$PKG_CONFIG" && \
+-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= \$GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION libpanelapplet-2.0 >= \$GNOMEPANEL_REQUIRED_VERSION\"") >&5
+-  ($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION") 2>&5
++    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomecanvas-2.0 >= \$GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= \$GNOME_REQUIRED_VERSION gtk+-2.0 >= \$GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= \$GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= \$GTK_REQUIRED_VERSION") >&5
++  ($PKG_CONFIG --exists --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); }; then
+-  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION" 2>/dev/null`
++  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
+ else
+   pkg_failed=yes
+ fi
+@@ -22473,9 +22473,9 @@
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION"`
++	        GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION"`
+         else
+-	        GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION libpanelapplet-2.0 >= $GNOMEPANEL_REQUIRED_VERSION"`
++	        GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomecanvas-2.0 >= $GNOMECANVAS_REQUIRED_VERSION libgnomeui-2.0 >= $GNOME_REQUIRED_VERSION gtk+-2.0 >= $GTK_REQUIRED_VERSION libgnomeprintui-2.2 >= $GNOMEPRINT_REQUIRED_VERSION gmodule-2.0 >= $GTK_REQUIRED_VERSION"`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$GNOME_PKG_ERRORS" >&5
+@@ -24075,7 +24075,6 @@
+ echo "            autogen.sh to include them in the build."
+ echo ""
+ echo "            gnome-sharp.dll requires libgnomecanvas, libgnome,"
+-echo "            libgnomeui, libgnomeprint, libgnomeprintui, and"
+-echo "            libpanelapplet."
++echo "            libgnomeui, libgnomeprint and libgnomeprintui."
+ echo "---"
+ 
+--- gnome/glue/Makefile.in.orig	2008-11-11 03:22:22.000000000 +0100
++++ gnome/glue/Makefile.in	2008-11-11 03:23:07.000000000 +0100
+@@ -54,7 +54,7 @@
+ am__DEPENDENCIES_1 =
+ libgnomesharpglue_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
+ am_libgnomesharpglue_2_la_OBJECTS = canvasitem.lo canvaspoints.lo \
+-	panelapplet.lo program.lo
++	program.lo
+ nodist_libgnomesharpglue_2_la_OBJECTS = generated.lo
+ libgnomesharpglue_2_la_OBJECTS = $(am_libgnomesharpglue_2_la_OBJECTS) \
+ 	$(nodist_libgnomesharpglue_2_la_OBJECTS)
+@@ -238,7 +238,6 @@
+ libgnomesharpglue_2_la_SOURCES = \
+ 	canvasitem.c 		\
+ 	canvaspoints.c 		\
+-	panelapplet.c		\
+ 	program.c		\
+ 	#
+ 
+@@ -318,7 +317,6 @@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/canvasitem.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/canvaspoints.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/generated.Plo at am__quote@
+- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/panelapplet.Plo at am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/program.Plo at am__quote@
+ 
+ .c.o:
+--- gnome/Makefile.in.orig	2008-11-11 03:30:34.000000000 +0100
++++ gnome/Makefile.in	2008-11-11 03:30:51.000000000 +0100
+@@ -235,7 +235,6 @@
+ 	FontFamily.cs				\
+ 	IconTheme.cs				\
+ 	Modules.cs				\
+-	PanelAppletFactory.cs
+ 
+ customs = \
+ 	About.custom				\
+@@ -264,7 +263,6 @@
+ 	Font.custom				\
+ 	IconList.custom				\
+ 	IconTextItem.custom			\
+-	PanelApplet.custom			\
+ 	Popup.custom				\
+ 	Print.custom				\
+ 	PrintContext.custom			\
+--- gnome/Gnome.metadata.orig	2008-11-11 03:31:56.000000000 +0100
++++ gnome/Gnome.metadata	2008-11-11 03:32:03.000000000 +0100
+@@ -151,12 +151,6 @@
+   <attr path="/api/namespace/object[@cname='GnomePrintMeta']/method/*/*[@name='filename']" name="type">const-gchar*</attr>
+   <attr path="/api/namespace/object[@cname='GnomePrintTransport']" name="parent">GObject</attr>
+   <attr path="/api/namespace/object[@cname='GnomeScores']/constructor[@cname='gnome_scores_new']" name="hidden">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelAppletShell']" name="hidden">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelApplet']/method[@cname='panel_applet_factory_main']" name="hidden">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelApplet']/method[@cname='panel_applet_factory_main_closure']" name="hidden">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelApplet']/method[@cname='panel_applet_get_flags']" name="new_flag">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelApplet']/method[@cname='panel_applet_set_flasg']" name="new_flag">1</attr>
+-  <attr path="/api/namespace/object[@cname='PanelApplet']" name="abstract">1</attr>
+   <attr path="/api/namespace/*[@cname='GnomeCanvasPathDef']/method[@name='Curveto']" name="name">CurveTo</attr>
+   <attr path="/api/namespace/*[@cname='GnomeCanvasPathDef']/method[@name='Lineto']" name="name">LineTo</attr>
+   <attr path="/api/namespace/*[@cname='GnomeCanvasPathDef']/method[@name='LinetoMoving']" name="name">LineToMoving</attr>
+--- gnome/gnome-api.raw.orig	2008-11-11 03:41:50.000000000 +0100
++++ gnome/gnome-api.raw	2008-11-11 03:45:14.000000000 +0100
+@@ -7129,297 +7129,4 @@
+       </method>
+     </class>
+   </namespace>
+-  <namespace name="Gnome" library="panel-applet-2">
+-    <enum name="PanelAppletBackgroundType" cname="PanelAppletBackgroundType" type="enum">
+-      <member cname="PANEL_NO_BACKGROUND" name="NoBackground" />
+-      <member cname="PANEL_COLOR_BACKGROUND" name="ColorBackground" />
+-      <member cname="PANEL_PIXMAP_BACKGROUND" name="PixmapBackground" />
+-    </enum>
+-    <enum name="PanelAppletFlags" cname="PanelAppletFlags" type="flags">
+-      <member cname="PANEL_APPLET_FLAGS_NONE" name="FlagsNone" />
+-      <member cname="PANEL_APPLET_EXPAND_MAJOR" name="ExpandMajor" value="1 &lt;&lt; 0" />
+-      <member cname="PANEL_APPLET_EXPAND_MINOR" name="ExpandMinor" value="1 &lt;&lt; 1" />
+-      <member cname="PANEL_APPLET_HAS_HANDLE" name="HasHandle" value="1 &lt;&lt; 2" />
+-    </enum>
+-    <callback name="PanelAppletFactoryCallback" cname="PanelAppletFactoryCallback">
+-      <return-type type="gboolean" />
+-      <parameters>
+-        <parameter type="PanelApplet*" name="applet" />
+-        <parameter type="const-gchar*" name="iid" />
+-        <parameter type="gpointer" name="user_data" />
+-      </parameters>
+-    </callback>
+-    <object name="PanelAppletShell" cname="PanelAppletShell" parent="BonoboObject">
+-      <field name="Priv" cname="priv" type="PanelAppletShellPrivate*" />
+-      <method name="Construct" cname="panel_applet_shell_construct">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelApplet*" name="applet" />
+-        </parameters>
+-      </method>
+-      <method name="GetType" cname="panel_applet_shell_get_type" shared="true">
+-        <return-type type="GType" />
+-      </method>
+-      <constructor cname="panel_applet_shell_new">
+-        <parameters>
+-          <parameter type="PanelApplet*" name="applet" />
+-        </parameters>
+-      </constructor>
+-    </object>
+-    <object name="PanelApplet" cname="PanelApplet" parent="GtkEventBox">
+-      <field name="Priv" cname="priv" type="PanelAppletPrivate*" />
+-      <signal name="ChangeOrient" cname="change_orient" when="LAST">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelApplet*" name="applet" />
+-          <parameter type="PanelAppletOrient" name="orient" />
+-        </parameters>
+-      </signal>
+-      <signal name="ChangeSize" cname="change_size" when="LAST">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelApplet*" name="applet" />
+-          <parameter type="guint" name="size" />
+-        </parameters>
+-      </signal>
+-      <signal name="ChangeBackground" cname="change_background" when="LAST">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelApplet*" name="applet" />
+-          <parameter type="PanelAppletBackgroundType" name="type" />
+-          <parameter type="GdkColor*" name="color" />
+-          <parameter type="GdkPixmap*" name="pixmap" />
+-        </parameters>
+-      </signal>
+-      <signal name="MoveFocusOutOfApplet" cname="move_focus_out_of_applet" when="LAST">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelApplet*" name="frame" />
+-          <parameter type="GtkDirectionType" name="direction" />
+-        </parameters>
+-      </signal>
+-      <method name="AddPreferences" cname="panel_applet_add_preferences">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="schema_dir" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="FactoryMain" cname="panel_applet_factory_main" shared="true">
+-        <return-type type="int" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="iid" />
+-          <parameter type="GType" name="applet_type" />
+-          <parameter type="PanelAppletFactoryCallback" name="callback" />
+-          <parameter type="gpointer" name="data" />
+-        </parameters>
+-      </method>
+-      <method name="FactoryMainClosure" cname="panel_applet_factory_main_closure" shared="true">
+-        <return-type type="int" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="iid" />
+-          <parameter type="GType" name="applet_type" />
+-          <parameter type="GClosure*" name="closure" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetBool" cname="panel_applet_gconf_get_bool">
+-        <return-type type="gboolean" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetFloat" cname="panel_applet_gconf_get_float">
+-        <return-type type="gdouble" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetFullKey" cname="panel_applet_gconf_get_full_key">
+-        <return-type type="gchar*" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetInt" cname="panel_applet_gconf_get_int">
+-        <return-type type="gint" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetList" cname="panel_applet_gconf_get_list">
+-        <return-type type="GSList*" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GConfValueType" name="list_type" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetString" cname="panel_applet_gconf_get_string">
+-        <return-type type="gchar*" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfGetValue" cname="panel_applet_gconf_get_value">
+-        <return-type type="GConfValue*" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetBool" cname="panel_applet_gconf_set_bool">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="gboolean" name="the_bool" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetFloat" cname="panel_applet_gconf_set_float">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="gdouble" name="the_float" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetInt" cname="panel_applet_gconf_set_int">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="gint" name="the_int" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetList" cname="panel_applet_gconf_set_list">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GConfValueType" name="list_type" />
+-          <parameter type="GSList*" name="list" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetString" cname="panel_applet_gconf_set_string">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="const-gchar*" name="the_string" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GconfSetValue" cname="panel_applet_gconf_set_value">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="key" />
+-          <parameter type="GConfValue*" name="value" />
+-          <parameter type="GError**" name="opt_error" />
+-        </parameters>
+-      </method>
+-      <method name="GetBackground" cname="panel_applet_get_background">
+-        <return-type type="PanelAppletBackgroundType" />
+-        <parameters>
+-          <parameter type="GdkColor*" name="color" />
+-          <parameter type="GdkPixmap**" name="pixmap" />
+-        </parameters>
+-      </method>
+-      <method name="GetControl" cname="panel_applet_get_control">
+-        <return-type type="BonoboControl*" />
+-      </method>
+-      <method name="GetFlags" cname="panel_applet_get_flags">
+-        <return-type type="PanelAppletFlags" />
+-      </method>
+-      <method name="GetLockedDown" cname="panel_applet_get_locked_down">
+-        <return-type type="gboolean" />
+-      </method>
+-      <method name="GetOrient" cname="panel_applet_get_orient">
+-        <return-type type="PanelAppletOrient" />
+-      </method>
+-      <method name="GetPopupComponent" cname="panel_applet_get_popup_component">
+-        <return-type type="BonoboUIComponent*" />
+-      </method>
+-      <method name="GetPreferencesKey" cname="panel_applet_get_preferences_key">
+-        <return-type type="gchar*" />
+-      </method>
+-      <method name="GetSize" cname="panel_applet_get_size">
+-        <return-type type="guint" />
+-      </method>
+-      <method name="GetType" cname="panel_applet_get_type" shared="true">
+-        <return-type type="GType" />
+-      </method>
+-      <constructor cname="panel_applet_new" />
+-      <method name="RequestFocus" cname="panel_applet_request_focus">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="guint32" name="timestamp" />
+-        </parameters>
+-      </method>
+-      <method name="SetBackgroundWidget" cname="panel_applet_set_background_widget">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="GtkWidget*" name="widget" />
+-        </parameters>
+-      </method>
+-      <method name="SetFlags" cname="panel_applet_set_flags">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="PanelAppletFlags" name="flags" />
+-        </parameters>
+-      </method>
+-      <method name="SetSizeHints" cname="panel_applet_set_size_hints">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-int*" name="size_hints" />
+-          <parameter type="int" name="n_elements" />
+-          <parameter type="int" name="base_size" />
+-        </parameters>
+-      </method>
+-      <method name="SetupMenu" cname="panel_applet_setup_menu">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="xml" />
+-          <parameter type="const-BonoboUIVerb*" name="verb_list" />
+-          <parameter type="gpointer" name="user_data" />
+-        </parameters>
+-      </method>
+-      <method name="SetupMenuFromFile" cname="panel_applet_setup_menu_from_file">
+-        <return-type type="void" />
+-        <parameters>
+-          <parameter type="const-gchar*" name="opt_datadir" />
+-          <parameter type="const-gchar*" name="file" />
+-          <parameter type="const-gchar*" name="opt_app_name" />
+-          <parameter type="const-BonoboUIVerb*" name="verb_list" />
+-          <parameter type="gpointer" name="user_data" />
+-        </parameters>
+-      </method>
+-      <method name="ShlibFactory" cname="panel_applet_shlib_factory" shared="true">
+-        <return-type type="Bonobo_Unknown" />
+-        <parameters>
+-          <parameter type="const-char*" name="iid" />
+-          <parameter type="GType" name="applet_type" />
+-          <parameter type="PortableServer_POA" name="poa" />
+-          <parameter type="gpointer" name="impl_ptr" />
+-          <parameter type="PanelAppletFactoryCallback" name="callback" />
+-          <parameter type="gpointer" name="user_data" />
+-          <parameter type="CORBA_Environment*" name="ev" />
+-        </parameters>
+-      </method>
+-      <method name="ShlibFactoryClosure" cname="panel_applet_shlib_factory_closure" shared="true">
+-        <return-type type="Bonobo_Unknown" />
+-        <parameters>
+-          <parameter type="const-char*" name="iid" />
+-          <parameter type="GType" name="applet_type" />
+-          <parameter type="PortableServer_POA" name="poa" />
+-          <parameter type="gpointer" name="impl_ptr" />
+-          <parameter type="GClosure*" name="closure" />
+-          <parameter type="CORBA_Environment*" name="ev" />
+-        </parameters>
+-      </method>
+-    </object>
+-    <alias name="PanelAppletOrient" cname="PanelAppletOrient" type="GNOME_Vertigo_PanelOrient" />
+-  </namespace>
+ </api>
+\ No newline at end of file

Added: trunk/dports/gnome/gnome-sharp2/files/patch-disable-schemas-installation.diff
===================================================================
--- trunk/dports/gnome/gnome-sharp2/files/patch-disable-schemas-installation.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-sharp2/files/patch-disable-schemas-installation.diff	2008-11-11 15:27:10 UTC (rev 41859)
@@ -0,0 +1,11 @@
+--- sample/gconf/Makefile.in.orig	2008-11-11 03:34:19.000000000 +0100
++++ sample/gconf/Makefile.in	2008-11-11 03:35:06.000000000 +0100
+@@ -389,7 +389,7 @@
+ 	MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll:${MONO_PATH} $(RUNTIME) $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample $(SCHEMA) > Settings.cs
+ 
+ install-data-hook: 
+-	GCONF_CONFIG_SOURCE="" gconftool-2 --makefile-install-rule $(SCHEMA)
++
+ # 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/20081111/3d7f6a3c/attachment-0001.html>


More information about the macports-changes mailing list