Rb-glib2 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    rb-glib2  most recent diff


    version

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


      The rb-glib2 Portfile 58226 2009-09-24 14:56:31Z kimuraw macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      ruby.setup {glib2 ruby-gnome2} 0.19.2 extconf.rb { glib/README glib/sample } sourceforge:ruby-gnome2
      Revision: 0
      Maintainers: kimuraw
      Platform: darwin
      Description: Ruby/GLib2 is a Ruby binding of GLib-2.x.
      Long Description: Ruby/GLib2 is a Ruby binding of GLib-2.x.
      Category:-append gnome
      Checksums: md5 bbbee657731d536af3c146fc4b57c746 rmd160 de3abba775e00f3dfef7cc47f153733e42186a73 sha1 5c6af93f1c0dfe7e14e301ab5c5cbd2b245aee9e
      configure.env RUBYOPT=-rvendor-specific
      configure.args --strict glib
      depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2
      distname ${ruby.project}-all-${version}

      pre-destroot {
      xinstall -d ${destroot}${prefix}/lib/pkgconfig
      }

      # NOTE: for developer only. this test launches X11.app.
      #test.run yes
      test.cmd ${ruby.bin}
      test.target glib/test/run-test.rb


    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/rb-glib2
      % sudo port install rb-glib2
      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 rb-glib2
      ---> Verifying checksum for rb-glib2
      ---> Extracting rb-glib2
      ---> Configuring rb-glib2
      ---> Building rb-glib2 with target all
      ---> Staging rb-glib2 into destroot
      ---> Installing rb-glib2
    - 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 rb-glib2 with these commands:
      %  man rb-glib2
      % apropos rb-glib2
      % which rb-glib2
      % locate rb-glib2

     Where to find more information:

    Darwin Ports



    Lightbox this page.