Gtk-sharp version 1.0.10 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    gtk-sharp  most recent diff


    version 1.0.10

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


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

      PortSystem 1.0

      Name: gtk-sharp
      Version: 1.0.10
      Revision: 5
      Category: x11 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://ftp.novell.com/pub/mono/sources/${name}/

      Checksums: md5 e21fb3c5a39374f86ba70b926311a6d0 sha1 6965559e2e3b741f587a41d286935c73a2c2c437 rmd160 53db7e93424b2429cf825390633ede4d7c511564

      Patch Files: 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:lib/pkgconfig/glib-2.0.pc:glib2 path:lib/pkgconfig/pango.pc:pango port:gtk2 port:libxml2 port:libart_lgpl port:libgnomecanvas port:libgnomeui port:libgda port:librsvg port:libgtkhtml3 port:vte

      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/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
      }

      livecheck.type regex
      livecheck.url ${master_sites}?C=M&O=D
      livecheck.regex ${name}-(1\\.0(?:\\.\\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/gtk-sharp
      % sudo port install gtk-sharp
      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 gtk-sharp
      ---> Verifying checksum for gtk-sharp
      ---> Extracting gtk-sharp
      ---> Configuring gtk-sharp
      ---> Building gtk-sharp with target all
      ---> Staging gtk-sharp into destroot
      ---> Installing gtk-sharp
    - 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 gtk-sharp with these commands:
      %  man gtk-sharp
      % apropos gtk-sharp
      % which gtk-sharp
      % locate gtk-sharp

     Where to find more information:

    Darwin Ports



    Lightbox this page.