Gnome-sharp2 version 2.20.0 - How to Download and Install on Mac OS X
Friday the 12th of March, 2010

    gnome-sharp2  most recent diff


    version 2.20.0

      View the most recent changes for the gnome-sharp2 port at: gnome-sharp2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for gnome-sharp2.
      The raw portfile for gnome-sharp2 2.20.0 is located here:
      http://gnome-sharp2.darwinports.com/dports/gnome/gnome-sharp2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/gnome-sharp2


      # -*- 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
      The gnome-sharp2 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: gnome-sharp2
      set my_name gnome-sharp
      Version: 2.20.0
      Revision: 1
      Category: gnome devel
      Platform: darwin
      Maintainers: nox openmaintainer
      Description: Gtk bindings for the Mono .NET Development Framework

      Long Description: This is the Gtk# toolkit for Mono, an implementation of the .NET Development Framework.

      Homepage: http://gtk-sharp.sourceforge.net/
      Master Sites: http://go-mono.com/sources/${name}/
      distname ${my_name}-${version}

      Checksums: md5 1cdb85652a6504afe6fad569daa901ee sha1 4a142ec30195828f57f3f294d1d279843355d531 rmd160 33249f3af171161f1aa79d62987ee905febe7391

      use_bzip2 yes

      Patch Files: patch-gnome-sharp.dll.config.in.diff patch-disable-schemas-installation.diff

      depends_lib port:mono 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:gtk-sharp2

      post-configure {
      # TODO This shouldn't be needed, we need to fix Mono dllmap library path.
      fs-traverse {f} ${worksrcpath} {
      if {[string match *.dll.config ${f}]} {
      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 {
      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.type regex
      livecheck.url http://go-mono.com/sources-stable/
      livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/gnome-sharp2
      % sudo port install gnome-sharp2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching gnome-sharp2
      ---> Verifying checksum for gnome-sharp2
      ---> Extracting gnome-sharp2
      ---> Configuring gnome-sharp2
      ---> Building gnome-sharp2 with target all
      ---> Staging gnome-sharp2 into destroot
      ---> Installing gnome-sharp2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using gnome-sharp2 with these commands:
      %  man gnome-sharp2
      % apropos gnome-sharp2
      % which gnome-sharp2
      % locate gnome-sharp2

     Where to find more information:

    Darwin Ports



    Lightbox this page.