Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add formula for Gtkdatabox #14841

Closed
wants to merge 2 commits into from

2 participants

ckdaas Adam Vandenberg
ckdaas

GtkDatabox is a widget for live display of large amounts of fluctuating numerical data.

Adam Vandenberg adamv closed this pull request from a commit
ckdaas ckdaas gtkdatabox 0.9.1.3
Closes #14841.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
94fc359
Adam Vandenberg adamv closed this in 94fc359
Yousef Ourabi yourabi referenced this pull request from a commit
ckdaas ckdaas gtkdatabox 0.9.1.3
Closes #14841.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
7e24e71
David Holm dholm referenced this pull request from a commit in dholm/homebrew
ckdaas ckdaas gtkdatabox 0.9.1.3
Closes #14841.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
52aa2e0
guyzmo guyzmo referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Eric Gallager cooljeanius referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Rajeev Jain rajeeja referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 7, 2012
  1. ckdaas

    gtkdatabox 0.9.1.3

    ckdaas authored
  2. ckdaas

    klavaro 1.9.5

    ckdaas authored
This page is out of date. Refresh to see the latest.
Showing with 47 additions and 0 deletions.
  1. +23 −0 Library/Formula/gtkdatabox.rb
  2. +24 −0 Library/Formula/klavaro.rb
23 Library/Formula/gtkdatabox.rb
View
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Gtkdatabox < Formula
+ homepage 'http://sourceforge.net/projects/gtkdatabox/'
+ url 'http://downloads.sourceforge.net/project/gtkdatabox/gtkdatabox/0.9.1.3/gtkdatabox-0.9.1.3.tar.gz'
+ sha1 '02380eeb755b885856253a1a71dd3e8109c201df'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'gtk+'
+ depends_on :x11
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ # We need to re-enable deprecated features of gtk
+ # in order to build without errors
+ # Will be fixed in the next upstream release
+ inreplace 'gtk/Makefile', '-DGTK_DISABLE_DEPRECATED', ''
+ inreplace 'examples/Makefile', '-DGTK_DISABLE_DEPRECATED', ''
+
+ system "make install"
+ end
+end
24 Library/Formula/klavaro.rb
View
@@ -0,0 +1,24 @@
+require 'formula'
+
+class Klavaro < Formula
+ homepage 'http://klavaro.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/klavaro/klavaro-1.9.5.tar.bz2'
+ sha1 'd9d0bf226ee6f622f674fcc8a526528a31385bf6'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'gtk+'
+ depends_on 'intltool'
+ depends_on 'gtkdatabox'
+ depends_on :x11
+
+ def install
+ ENV.append 'LDFLAGS', '-lgmodule-2.0'
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/klavaro"
+ end
+end
Something went wrong with that request. Please try again.