diff options
85 files changed, 83 insertions, 3010 deletions
| diff --git a/Library/Formula/atari++.rb b/Library/Formula/atari++.rb deleted file mode 100644 index 905b6dfff..000000000 --- a/Library/Formula/atari++.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'formula' - -class Atarixx < Formula -  homepage 'http://www.xl-project.com' -  url 'http://www.xl-project.com/download/atari++_1.72.tar.gz' -  sha1 '64e31389032292cd4a82a972e83bb2b3ee723068' - -  option 'with-curses' - -  depends_on :x11 -  depends_on 'sdl' => :recommended - -  def install -    args = ["--prefix=#{prefix}"] -    args << "--disable-CURSES" if build.without? "curses" -    args << "--disable-SDL" if build.without? "sdl" - -    system "./configure", *args -    system "make" -    system "make install" -  end -end diff --git a/Library/Formula/bochs.rb b/Library/Formula/bochs.rb deleted file mode 100644 index faf69d4ce..000000000 --- a/Library/Formula/bochs.rb +++ /dev/null @@ -1,52 +0,0 @@ -require 'formula' - -class Bochs < Formula -  homepage 'http://bochs.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/bochs/bochs/2.6.2/bochs-2.6.2.tar.gz' -  sha1 'f82ee01a52367d2a6daffa2774a1297b978f6821' - -  depends_on 'pkg-config' => :build -  depends_on :x11 -  depends_on 'gtk+' - -  def install -    # upstream Makefile bug -    # https://github.com/Homebrew/homebrew/pull/32832#issuecomment-57586763 -    inreplace "configure", 'if test "$have_ltdl" = 1', 'if 0' - -    system "./configure", "--prefix=#{prefix}", -                          "--with-x11", -                          "--enable-debugger", -                          "--enable-disasm", -                          "--disable-docbook", -                          "--enable-x86-64", -                          "--enable-pci", -                          "--enable-all-optimizations", -                          "--enable-plugins", -                          "--enable-cdrom", -                          "--enable-a20-pin", -                          "--enable-fpu", -                          "--enable-alignment-check", -                          "--enable-large-ramfile", -                          "--enable-debugger-gui", -                          "--enable-readline", -                          "--enable-iodebug", -                          "--enable-xpm", -                          "--enable-show-ips", -                          "--enable-logging", -                          "--enable-usb", -                          "--enable-ne2000", -                          "--enable-cpu-level=6", -                          "--enable-sb16", -                          "--enable-clgd54xx", -                          "--with-term", -                          "--enable-ne2000" - -    system "make" -    system "make install" -  end - -  test do -    system "#{bin}/bochs" -  end -end diff --git a/Library/Formula/cardpeek.rb b/Library/Formula/cardpeek.rb deleted file mode 100644 index 6a0cbde0e..000000000 --- a/Library/Formula/cardpeek.rb +++ /dev/null @@ -1,45 +0,0 @@ -require "formula" - -class Cardpeek < Formula -  homepage "http://pannetrat.com/Cardpeek/" - -  stable do -    url "http://downloads.pannetrat.com/get/302b8a00996e9f4180ad/cardpeek-0.8.3.tar.gz" -    mirror "https://raw.githubusercontent.com/DomT4/LibreMirror/master/Cardpeek/cardpeek-0.8.3.tar.gz" -    sha1 "8cc9c0652f0214ec06badb5b86974c66ca035a43" - -    # Patch required to fix GTK3.14 fatal build issues. Already merged into HEAD. -    patch :p0 do -      url "https://cardpeek.googlecode.com/issues/attachment?aid=500005000&name=patch-for-gtk-3.14.patch&token=ABZ6GAe27u5TeVC93yVqB58IQsyy6FjQQw%3A1412564556195" -      sha1 "33b27af98546f605e5ab1c4a894c7db8fc2045f8" -    end -  end - -  bottle do -    cellar :any -    sha1 "71775a85560719e72a31284f1852b236daebab7c" => :mavericks -    sha1 "8801e8e235850927169195d1beac9a44566ba33c" => :mountain_lion -    sha1 "d6522d6a501745e2a3ef0744a06e78a6690f81be" => :lion -  end - -  head "https://cardpeek.googlecode.com/svn/trunk/" - -  depends_on "pkg-config" => :build -  depends_on "glib" -  depends_on "autoconf" => :build -  depends_on "automake" => :build -  depends_on :x11 -  depends_on "openssl" -  depends_on "gtk+3" -  depends_on "lua" - -  def install -    # always run autoreconf, neeeded to generate configure for --HEAD, -    # and otherwise needed to reflect changes to configure.ac -    system "autoreconf", "-i" - -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/clusterit.rb b/Library/Formula/clusterit.rb deleted file mode 100644 index 787fc1692..000000000 --- a/Library/Formula/clusterit.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'formula' - -class Clusterit < Formula -  homepage 'http://www.garbled.net/clusterit.html' -  url 'https://downloads.sourceforge.net/project/clusterit/clusterit/clusterit-2.5/clusterit-2.5.tar.gz' -  sha1 '65d36116665179dd16029ac53182fde92d868020' - -  conflicts_with 'couchdb-lucene', :because => 'both install a `run` binary' -  conflicts_with 'pdsh', :because => 'both install `dshbak`' - -  depends_on :x11 - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/curlftpfs.rb b/Library/Formula/curlftpfs.rb deleted file mode 100644 index 2b581c9b2..000000000 --- a/Library/Formula/curlftpfs.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'formula' - -class Curlftpfs < Formula -  homepage 'http://curlftpfs.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/curlftpfs/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz' -  sha1 '83f148afe6bd4d44c9790790f1c30986c8b9ea56' - -  head 'https://github.com/rfw/curlftpfs.git' - -  depends_on "pkg-config" => :build -  depends_on "autoconf" => :build -  depends_on "automake" => :build -  depends_on "libtool" => :build -  depends_on :x11 -  depends_on :osxfuse -  depends_on "glib" - -  def install -    ENV.append "CPPFLAGS", "-D__off_t=off_t" -    system "autoreconf", "-fvi" -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/cwm.rb b/Library/Formula/cwm.rb deleted file mode 100644 index 30fbb0b0d..000000000 --- a/Library/Formula/cwm.rb +++ /dev/null @@ -1,27 +0,0 @@ -require "formula" - -class Cwm < Formula -  homepage "https://github.com/chneukirchen/cwm" -  url "https://github.com/chneukirchen/cwm/archive/v5.5.tar.gz" -  sha1 "0e21a48b4973beb7ddf265bea48b73b0c39a589e" - -  bottle do -    cellar :any -    sha1 "4794ec9443e9ff59c3af6f85ba0bbac08fad496e" => :mavericks -    sha1 "2750622d8304cc2a008586e4b7b3cc6bfa82b3e2" => :mountain_lion -    sha1 "28a681a7185ab875e77eb664679c21751e871855" => :lion -  end - -  depends_on :x11 -  depends_on "pkg-config" => :build - -  patch do -    # Fix 10.9 build. Merged upstream. -    url "https://github.com/chneukirchen/cwm/commit/c7f481.diff" -    sha1 "b91bd1b14fe9d4fef287be19eabc05762e5cf047" -  end - -  def install -    system "make", "PREFIX=#{prefix}", "install" -  end -end diff --git a/Library/Formula/ddd.rb b/Library/Formula/ddd.rb deleted file mode 100644 index 8cde822e3..000000000 --- a/Library/Formula/ddd.rb +++ /dev/null @@ -1,42 +0,0 @@ -require 'formula' - -class Ddd < Formula -  homepage 'http://www.gnu.org/s/ddd/' -  url 'http://ftpmirror.gnu.org/ddd/ddd-3.3.12.tar.gz' -  mirror 'http://ftp.gnu.org/gnu/ddd/ddd-3.3.12.tar.gz' -  sha1 'b91d2dfb1145af409138bd34517a898341724e56' - -  depends_on 'lesstif' -  depends_on :x11 - -  # Needed for OSX 10.9 DP6 build failure: -  # https://savannah.gnu.org/patch/?8178 -  patch :p0 do -    url "https://savannah.gnu.org/patch/download.php?file_id=29114" -    sha1 "4f7406e7698f54f609ced955f0cc90374cc45431" -  end if MacOS.version >= :mavericks - -  # https://savannah.gnu.org/bugs/?41997 -  patch do -    url "https://savannah.gnu.org/patch/download.php?file_id=31132" -    sha1 "a004e64cbfa46333b3bba1a910a4f4e9049dc5d2" -  end - -  def install -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--enable-builtin-app-defaults", -                          "--enable-builtin-manual", -                          "--prefix=#{prefix}" - -    # From MacPorts: -    # make will build the executable "ddd" and the X resource file "Ddd" in the same directory, -    # as HFS+ is case-insensitive by default, this will loosely FAIL -    system "make EXEEXT=exe" - -    ENV.deparallelize -    system "make install EXEEXT=exe" - -    mv bin/'dddexe', bin/'ddd' -  end -end diff --git a/Library/Formula/dmenu.rb b/Library/Formula/dmenu.rb deleted file mode 100644 index 60c4c47db..000000000 --- a/Library/Formula/dmenu.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'formula' - -class Dmenu < Formula -  homepage 'http://tools.suckless.org/dmenu/' -  url 'http://dl.suckless.org/tools/dmenu-4.5.tar.gz' -  sha1 '70c1a13b950b7b0cb1bc35e30c6e861a78359953' -  bottle do -    cellar :any -    sha1 "54caf91cc564300d67e0ced4dc8ae65584b1276a" => :mavericks -    sha1 "2630df757da0902c41254ecf4eedaa14fb5138ba" => :mountain_lion -    sha1 "364bca930070125a3cfcbf8769ef53bb20d84a92" => :lion -  end - -  head 'http://git.suckless.org/dmenu/', :using => :git - -  depends_on :x11 - -  def install -    system "make", "PREFIX=#{prefix}", "install" -  end - -  test do -    system "#{bin}/dmenu", "-v" -  end -end diff --git a/Library/Formula/dwm.rb b/Library/Formula/dwm.rb deleted file mode 100644 index 9554ef9a8..000000000 --- a/Library/Formula/dwm.rb +++ /dev/null @@ -1,41 +0,0 @@ -require 'formula' - -class Dwm < Formula -  homepage 'http://dwm.suckless.org/' -  url 'http://dl.suckless.org/dwm/dwm-6.0.tar.gz' -  sha1 '35346f873a27f219ae266594b3690407f95d06ef' - -  bottle do -    cellar :any -    sha1 "3d1f85077637d227005f7c22273441ec7eb4ded1" => :mavericks -    sha1 "ef7ce38daa07fe707df2454a3ddf4701a4cebfe7" => :mountain_lion -    sha1 "29c1feef59b6c7da94b096a9452a1e402037fba3" => :lion -  end - -  head 'http://git.suckless.org/dwm', :using => :git - -  depends_on :x11 -  depends_on 'dmenu' => :optional - -  def install -    # The dwm default quit keybinding Mod1-Shift-q collides with -    # the Mac OS X Log Out shortcut in the Apple menu. -    inreplace 'config.def.h', -    '{ MODKEY|ShiftMask,             XK_q,      quit,           {0} },', -    '{ MODKEY|ControlMask,           XK_q,      quit,           {0} },' -    inreplace 'dwm.1', '.B Mod1\-Shift\-q', '.B Mod1\-Control\-q' -    system "make", "PREFIX=#{prefix}", "install" -  end - -  def caveats; <<-EOS.undent -    In order to use the Mac OS X command key for dwm commands, -    change the X11 keyboard modifier map using xmodmap (1). - -    e.g. by running the following command from $HOME/.xinitrc -    xmodmap -e 'remove Mod2 = Meta_L' -e 'add Mod1 = Meta_L'& - -    See also https://gist.github.com/311377 for a handful of tips and tricks -    for running dwm on Mac OS X. -    EOS -  end -end diff --git a/Library/Formula/dzen2.rb b/Library/Formula/dzen2.rb deleted file mode 100644 index 91f273a61..000000000 --- a/Library/Formula/dzen2.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'formula' - -class Dzen2 < Formula -  homepage 'http://sites.google.com/site/gotmor/dzen' -  url 'http://sites.google.com/site/gotmor/dzen2-0.8.5.tar.gz' -  sha1 '9216163e86e02b2a75de1dfec1954b1058a829e4' - -  depends_on :x11 - -  def install -    ENV.append 'LDFLAGS', '-lX11 -lXinerama -lXpm' -    ENV.append_to_cflags '-DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM' - -    inreplace 'config.mk' do |s| -      s.change_make_var! "PREFIX", prefix -      s.change_make_var! "CC", ENV.cc -      s.change_make_var! "CFLAGS", ENV.cflags -      s.change_make_var! "LDFLAGS", ENV.ldflags -    end - -    system "make install" -  end -end diff --git a/Library/Formula/easy-tag.rb b/Library/Formula/easy-tag.rb deleted file mode 100644 index 0a18e9413..000000000 --- a/Library/Formula/easy-tag.rb +++ /dev/null @@ -1,39 +0,0 @@ -require "formula" - -class EasyTag < Formula -  homepage "http://projects.gnome.org/easytag" -  url "http://ftp.gnome.org/pub/GNOME/sources/easytag/2.2/easytag-2.2.5.tar.xz" -  sha256 "a6da3a094997fa225d1c01211b282f2d3c2dfd93a74f3bec24017bd5a13f3855" - -  bottle do -    sha1 "a7f3903c91ea6e7884a238f5a93cc46dd9da6fcd" => :yosemite -    sha1 "284cd60570c14b70dce6c670ba4d496399dc1c41" => :mavericks -    sha1 "efb11e24318b92bd002b21ef78c62f796c0dbeba" => :mountain_lion -  end - -  depends_on :x11 -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on "itstool" => :build -  depends_on "gtk+" -  depends_on "hicolor-icon-theme" -  depends_on "id3lib" -  depends_on "libid3tag" -  depends_on "taglib" - -  depends_on "libvorbis" => :recommended -  depends_on "flac" => :recommended -  depends_on "libogg" if build.with? "flac" - -  depends_on "speex" => :optional -  depends_on "wavpack" => :optional - -  def install -    ENV.append_path "PYTHONPATH", "#{Formula["libxml2"].opt_lib}/python2.7/site-packages" -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make" -    ENV.deparallelize # make install fails in parallel -    system "make install" -  end -end diff --git a/Library/Formula/feh.rb b/Library/Formula/feh.rb deleted file mode 100644 index e20df1340..000000000 --- a/Library/Formula/feh.rb +++ /dev/null @@ -1,18 +0,0 @@ -require "formula" - -class Feh < Formula -  homepage "http://feh.finalrewind.org/" -  url "http://feh.finalrewind.org/feh-2.12.tar.bz2" -  sha1 "30eb2b778858b1f4ce97e44c8225758185b0c588" - -  depends_on :x11 -  depends_on "imlib2" -  depends_on "libexif" => :recommended - -  def install -    args = [] -    args << "exif=1" if build.with? "libexif" -    system "make", "PREFIX=#{prefix}", *args -    system "make", "PREFIX=#{prefix}", "install" -  end -end diff --git a/Library/Formula/fox.rb b/Library/Formula/fox.rb deleted file mode 100644 index 5ce8792e6..000000000 --- a/Library/Formula/fox.rb +++ /dev/null @@ -1,30 +0,0 @@ -require "formula" - -class Fox < Formula -  homepage "http://www.fox-toolkit.org/" -  url "ftp://ftp.fox-toolkit.org/pub/fox-1.6.49.tar.gz" -  sha1 "056a55ba7b4404af61d4256eafdf8fd0503c6fea" - -  # Development and stable branches are incompatible -  devel do -    url "ftp://ftp.fox-toolkit.org/pub/fox-1.7.49.tar.gz" -    sha1 "a787a1300ddaf0330bb6ba656deda248d6e44f7a" -  end - -  depends_on :x11 -  depends_on "freetype" -  depends_on "libpng" -  depends_on "jpeg" -  depends_on "libtiff" - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--enable-release", -                          "--prefix=#{prefix}", -                          "--with-x", -                          "--with-opengl" -    # Unset LDFLAGS, "-s" causes the linker to crash -    system "make", "install", "LDFLAGS=" -    rm bin/"Adie.stx" -  end -end diff --git a/Library/Formula/freeglut.rb b/Library/Formula/freeglut.rb deleted file mode 100644 index 995e996b3..000000000 --- a/Library/Formula/freeglut.rb +++ /dev/null @@ -1,47 +0,0 @@ -require 'formula' - -class Freeglut < Formula -  homepage 'http://freeglut.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/freeglut/freeglut/2.8.1/freeglut-2.8.1.tar.gz' -  sha1 '7330b622481e2226c0c9f6d2e72febe96b03f9c4' - -  # Examples won't build on Snow Leopard as one of them requires -  # a header the system provided X11 doesn't have. -  option 'with-examples', "Build the examples." -  option :universal - -  depends_on :x11 - -  patch :DATA if MacOS.version >= :lion - -  def install -    ENV.universal_binary if build.universal? -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--prefix=#{prefix}" - -    if build.without?('examples') || MacOS.version < :lion -      inreplace 'Makefile' do |s| -        s.change_make_var! 'SUBDIRS', 'src include doc' -      end -    end - -    system "make all" -    system "make install" -  end -end - -__END__ - -diff -ur org/freeglut-2.8.1/include/GL/freeglut_std.h freeglut-2.8.1/include/GL/freeglut_std.h ---- org/freeglut-2.8.1/include/GL/freeglut_std.h -+++ freeglut-2.8.1/include/GL/freeglut_std.h -@@ -122,7 +122,7 @@ -  * Always include OpenGL and GLU headers -  */ - #if __APPLE__ --#   include <OpenGL/gl.h> -+#   include <OpenGL/gl3.h> - #   include <OpenGL/glu.h> - #else - #   include <GL/gl.h> diff --git a/Library/Formula/freerdp.rb b/Library/Formula/freerdp.rb deleted file mode 100644 index 09e94f4f3..000000000 --- a/Library/Formula/freerdp.rb +++ /dev/null @@ -1,60 +0,0 @@ -require "formula" - -class Freerdp < Formula -  homepage "http://www.freerdp.com/" - -  stable do -    url "https://github.com/FreeRDP/FreeRDP/archive/1.0.2.tar.gz" -    sha1 "aa521fc9b0610df6c03c2297c1230348805b0010" - -    patch do -      url "https://github.com/FreeRDP/FreeRDP/commit/1d3289.diff" -      sha1 "294acefbfba7452baaf7af1964769f0d8ac6e46c" -    end - -    patch do -      url "https://github.com/FreeRDP/FreeRDP/commit/e32f9e.diff" -      sha1 "6453e232a2f0a652d85b11b7e05ba17beefec442" -    end - -    # https://github.com/FreeRDP/FreeRDP/pull/1682/files -    patch do -      url "https://gist.githubusercontent.com/bmiklautz/8832375/raw/ac77b61185d11aa69e5f6b5e88c0fa597c04d964/freerdp-1.0.2-osxversion-patch.diff" -      sha1 "2793c0251396778b763b627e68dae1e0a5d41eab" -    end -  end - -  bottle do -    sha1 "361ae059c21eaccfa551b7f4924b2762a6d8d6b1" => :mavericks -    sha1 "8a82974856fa6346e7ff43b7abb6b12dc5e06634" => :mountain_lion -    sha1 "49bc6add9fec028879985d288252287ed00c8434" => :lion -  end - -  head do -    url "https://github.com/FreeRDP/FreeRDP.git" -    depends_on :xcode => :build # for "ibtool" -  end - -  depends_on :x11 -  depends_on 'cmake' => :build -  depends_on 'pkg-config' => :build - -  def install -    cmake_args = std_cmake_args - -    if build.head? then -      # workaround for out-of-git clone tree build -      inreplace 'cmake/GetGitRevisionDescription.cmake', -        'set(GIT_PARENT_DIR "${CMAKE_SOURCE_DIR}")', -        "set(GIT_PARENT_DIR \"#{cached_download}\")" - -      inreplace 'cmake/GetGitRevisionDescription.cmake', -        'WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"', -        "WORKING_DIRECTORY \"#{cached_download}\"" -      cmake_args << "-DWITH_X11=ON" -    end - -    system "cmake", ".", *cmake_args -    system "make install" -  end -end diff --git a/Library/Formula/fsv.rb b/Library/Formula/fsv.rb deleted file mode 100644 index e5ab38db2..000000000 --- a/Library/Formula/fsv.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "formula" - -class Fsv < Formula -  homepage "http://fsv.sourceforge.net/" -  url "https://github.com/mcuelenaere/fsv.git", :tag => "fsv-0.9-1" -  version "0.9.1" - -  depends_on "pkg-config" => :build -  depends_on "autoconf" => :build -  depends_on "automake" => :build -  depends_on "libtool" => :build -  depends_on :x11 -  depends_on "gtk+" -  depends_on "gtkglarea" - -  def install -    ENV["LIBTOOLIZE"] = "glibtoolize" -    system "./autogen.sh" -    system "./configure", "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/geany.rb b/Library/Formula/geany.rb deleted file mode 100644 index 9041e3963..000000000 --- a/Library/Formula/geany.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class Geany < Formula -  homepage 'http://geany.org/' -  url 'http://download.geany.org/geany-1.24.1.tar.gz' -  sha1 '2707b6bbcc4710e3dca990d26f66d679d82a2cc0' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'gettext' -  depends_on 'gtk+' - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--disable-silent-rules", -                          "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/geda-gaf.rb b/Library/Formula/geda-gaf.rb deleted file mode 100644 index a43886bbb..000000000 --- a/Library/Formula/geda-gaf.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'formula' - -class GedaGaf < Formula -  homepage 'http://www.geda-project.org/' -  url 'http://ftp.geda-project.org/geda-gaf/stable/v1.8/1.8.2/geda-gaf-1.8.2.tar.gz' -  sha1 'c61edc04997fc12398534a346dac32d8fcdabcc1' - -  devel do -    url 'http://ftp.geda-project.org/geda-gaf/unstable/v1.9/1.9.1/geda-gaf-1.9.1.tar.gz' -    sha1 '4b45085a187697e6c36e5f65a2a39b5a3b1a5f89' -  end - -  depends_on 'pkg-config' => :build -  depends_on 'gettext' -  depends_on 'gtk+' -  depends_on 'guile' -  depends_on 'gawk' -  depends_on :x11 - -  def install -    system "./configure", "--prefix=#{prefix}", -                          "--disable-update-xdg-database", -                          "--with-pcb-datadir=#{HOMEBREW_PREFIX}/share/pcb" -    system "make" -    system "make install" -  end -end - diff --git a/Library/Formula/geeqie.rb b/Library/Formula/geeqie.rb deleted file mode 100644 index ddd9d8804..000000000 --- a/Library/Formula/geeqie.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'formula' - -class Geeqie < Formula -  homepage 'http://geeqie.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/geeqie/geeqie/geeqie-1.1/geeqie-1.1.tar.gz' -  sha1 '77167479e91e03d9512535a146c5d2d77941257f' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'gettext' -  depends_on 'gtk+' -  depends_on 'gnu-getopt' -  depends_on 'imagemagick' => :recommended -  depends_on 'exiv2' => :recommended -  depends_on 'little-cms' => :recommended -  depends_on 'fbida' => :recommended - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--disable-glibtest", -                          "--disable-gtktest" -    system "make install" -  end -end diff --git a/Library/Formula/geomview.rb b/Library/Formula/geomview.rb deleted file mode 100644 index ab4d701f1..000000000 --- a/Library/Formula/geomview.rb +++ /dev/null @@ -1,17 +0,0 @@ -require "formula" - -class Geomview < Formula -  homepage "http://www.geomview.org" -  url "https://downloads.sourceforge.net/project/geomview/geomview/1.9.5/geomview-1.9.5.tar.gz" -  sha1 "26186046dc18ab3872e7104745ae474908ee54d1" - -  depends_on :x11 -  depends_on "lesstif" - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--disable-silent-rules", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/gerbv.rb b/Library/Formula/gerbv.rb deleted file mode 100644 index bd0dd498f..000000000 --- a/Library/Formula/gerbv.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class Gerbv < Formula -  homepage 'http://gerbv.gpleda.org/' -  url 'https://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-2.6.0/gerbv-2.6.0.tar.gz' -  sha1 'c9f5e8cddbc0b685805de42f81b1ba37dcbe1989' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'gtk+' -  depends_on 'cairo' - -  def install -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--disable-update-desktop-database" -    system "make install" -  end -end diff --git a/Library/Formula/ggobi.rb b/Library/Formula/ggobi.rb deleted file mode 100644 index cc529d4dd..000000000 --- a/Library/Formula/ggobi.rb +++ /dev/null @@ -1,95 +0,0 @@ -require 'formula' - -class Ggobi < Formula -  homepage 'http://www.ggobi.org' -  url 'http://www.ggobi.org/downloads/ggobi-2.1.9.tar.bz2' -  sha1 '0dd0fe0cf619c1404d024e019cf9c8d87fb4fe4b' - -  depends_on 'pkg-config' => :build -  depends_on 'gtk+' -  depends_on 'glib' -  depends_on 'atk' -  depends_on 'cairo' -  depends_on 'fontconfig' -  depends_on 'pango' -  depends_on 'gettext' -  depends_on 'libtool' => :run -  depends_on :x11 - -  # Several files reference "line 0", which gcc accepts but clang doesn't -  # See https://github.com/Homebrew/homebrew/pull/13423 -  patch :DATA - -  def install -    # Necessary for ggobi to build - based on patch from MacPorts -    # See: https://trac.macports.org/export/64669/trunk/dports/science/ggobi/files/patch-src-texture.diff -    # Reported at https://groups.google.com/d/msg/ggobi/0yiepEUgjiM/nXTVoMaAzj8J -    inreplace 'src/texture.c', 'psort', 'p_sort' -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--with-all-plugins" -    system "make install" -  end -end - -__END__ -diff --git a/src/ggobi-data.c b/src/ggobi-data.c -index ccb52dc..fbd756e 100644 ---- a/src/ggobi-data.c -+++ b/src/ggobi-data.c -@@ -42,7 +42,7 @@ typedef GGobiDataClass SelfClass; - /* here are local prototypes */ - static void ___object_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); - static void ___object_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); --#line 0 "data.gob" -+#line 1 "data.gob" - static void ggobi_data_class_init (GGobiDataClass * c) G_GNUC_UNUSED; - #line 48 "ggobi-data.c" - #line 191 "data.gob" -diff --git a/src/ggobi-renderer-cairo.c b/src/ggobi-renderer-cairo.c -index 0b51ab6..12a47cf 100644 ---- a/src/ggobi-renderer-cairo.c -+++ b/src/ggobi-renderer-cairo.c -@@ -57,10 +57,10 @@ struct _GGobiRendererCairoPrivate { - /* here are local prototypes */ - static void ___object_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); - static void ___object_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); --#line 0 "renderer-cairo.gob" -+#line 1 "renderer-cairo.gob" - static void ggobi_renderer_cairo_init (GGobiRendererCairo * o) G_GNUC_UNUSED; - #line 63 "ggobi-renderer-cairo.c" --#line 0 "renderer-cairo.gob" -+#line 1 "renderer-cairo.gob" - static void ggobi_renderer_cairo_class_init (GGobiRendererCairoClass * c) G_GNUC_UNUSED; - #line 66 "ggobi-renderer-cairo.c" - #line 36 "renderer-cairo.gob" -diff --git a/src/ggobi-renderer-factory.c b/src/ggobi-renderer-factory.c -index ee1c93e..5be74bf 100644 ---- a/src/ggobi-renderer-factory.c -+++ b/src/ggobi-renderer-factory.c -@@ -44,10 +44,10 @@ typedef GGobiRendererFactory Self; - typedef GGobiRendererFactoryClass SelfClass; -  - /* here are local prototypes */ --#line 0 "renderer-factory.gob" -+#line 1 "renderer-factory.gob" - static void ggobi_renderer_factory_init (GGobiRendererFactory * o) G_GNUC_UNUSED; - #line 50 "ggobi-renderer-factory.c" --#line 0 "renderer-factory.gob" -+#line 1 "renderer-factory.gob" - static void ggobi_renderer_factory_class_init (GGobiRendererFactoryClass * c) G_GNUC_UNUSED; - #line 53 "ggobi-renderer-factory.c" - static GGobiRenderer * ___real_ggobi_renderer_factory_create (GGobiRendererFactory * self, GdkDrawable * parent); -diff --git a/src/ggobi-renderer.c b/src/ggobi-renderer.c -index 1231145..7174c13 100644 ---- a/src/ggobi-renderer.c -+++ b/src/ggobi-renderer.c -@@ -51,7 +51,7 @@ struct _GGobiRendererPrivate { - /* here are local prototypes */ - static void ___object_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); - static void ___object_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); --#line 0 "renderer.gob" -+#line 1 "renderer.gob" - static void ggobi_renderer_init (GGobiRenderer * o) G_GNUC_UNUSED; - #line 57 "ggobi-renderer.c" - static GdkDrawable * ___real_ggobi_renderer_create_target (GGobiRenderer * self, GdkDrawable * parent); diff --git a/Library/Formula/giblib.rb b/Library/Formula/giblib.rb deleted file mode 100644 index 17d9ef783..000000000 --- a/Library/Formula/giblib.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'formula' - -class Giblib < Formula -  homepage 'http://freshmeat.net/projects/giblib' -  url 'http://linuxbrit.co.uk/downloads/giblib-1.2.4.tar.gz' -  mirror 'http://www.mirrorservice.org/sites/distfiles.macports.org/giblib/giblib-1.2.4.tar.gz' -  sha1 '342e6f7882c67d2277e1765299e1be5078329ab0' - -  bottle do -    cellar :any -    revision 1 -    sha1 "af84435cd0dd636b90b420c590cf7e1f57dee612" => :yosemite -    sha1 "a58b8b515fc558f42b8b8ea6e427fb0af42355fe" => :mavericks -    sha1 "4f3acb6bade2b18edddd1e3b9100a4a15368d6e2" => :mountain_lion -  end - -  depends_on :x11 -  depends_on 'imlib2' => :build - -  def install -    system "./configure", "--prefix=#{prefix}" -    system "make install" -  end - -  test do -    system "#{bin}/giblib-config", "--version" -  end -end diff --git a/Library/Formula/gkrellm.rb b/Library/Formula/gkrellm.rb deleted file mode 100644 index 67388a29b..000000000 --- a/Library/Formula/gkrellm.rb +++ /dev/null @@ -1,42 +0,0 @@ -require 'formula' - -class Gkrellm < Formula -  homepage 'http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html' -  url 'http://members.dslextreme.com/users/billw/gkrellm/gkrellm-2.3.5.tar.bz2' -  sha1 'bcfc2efb5fd3f27e9bb703bda73f6a1d96b080df' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'atk' -  depends_on 'cairo' -  depends_on 'fontconfig' -  depends_on 'freetype' -  depends_on 'gdk-pixbuf' -  depends_on 'gettext' -  depends_on 'glib' -  depends_on 'gtk+' -  depends_on 'pango' - -  patch :p0 do -    url "https://trac.macports.org/export/115088/trunk/dports/sysutils/gkrellm/files/207a0519ac73290ba65b6e5f7446549a2a66f5d2.patch" -    sha1 "db6342bdecc9ff0470dccbc4b3d10b1c0d078c67" -  end - -  patch :p0 do -    url "https://trac.macports.org/export/115088/trunk/dports/sysutils/gkrellm/files/patch-src-Makefile.diff" -    sha1 "419adbc2d41b36a435fa1ba76106b63bf8879df9" -  end - -  def install -    inreplace 'Makefile', '$(PREFIX)', prefix -    inreplace 'src/gkrellm.h' do |s| -      s.gsub! '/usr/local/share/gkrellm2/themes', "#{share}/gkrellm2/themes" -      s.gsub! 'src/gkrellm.h', '/usr/share/gkrellm2/themes', "#{share}/gkrellm2/themes" -      s.gsub! 'src/gkrellm.h', '/usr/local/lib/gkrellm2/plugins', "#{libexec}/gkrellm2/plugins" -      s.gsub! 'src/gkrellm.h', '/usr/lib/gkrellm2/plugins', "#{libexec}/gkrellm2/plugins" -    end - -    system "make", "darwin9" -    system "make", "install_darwin9" -  end -end diff --git a/Library/Formula/glade.rb b/Library/Formula/glade.rb deleted file mode 100644 index f9994b549..000000000 --- a/Library/Formula/glade.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'formula' - -class Glade < Formula -  homepage 'http://glade.gnome.org/' -  url 'http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-3.8.5.tar.xz' -  sha256 '58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735' - -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'gettext' -  depends_on 'libglade' -  depends_on 'libxml2' -  depends_on 'hicolor-icon-theme' -  depends_on :x11 - -  def install -    # Find our docbook catalog -    ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog" - -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make" # separate steps required -    system "make", "install" -  end -end diff --git a/Library/Formula/gle.rb b/Library/Formula/gle.rb deleted file mode 100644 index a1befba15..000000000 --- a/Library/Formula/gle.rb +++ /dev/null @@ -1,33 +0,0 @@ -require 'formula' - -class Gle < Formula -  homepage 'http://glx.sourceforge.net/' -  url 'https://downloads.sourceforge.net/glx/gle-graphics-4.2.4cf-src.tar.gz' -  version '4.2.4c' -  sha1 '5528528dfe54c74f69bfad174105d55a3dd90e49' - -  depends_on 'pkg-config' => :build -  depends_on :x11 -  depends_on 'jpeg' => :optional -  depends_on 'libtiff' => :optional -  depends_on 'cairo' - -  # fix namespace issues causing compilation errors -  # https://trac.macports.org/ticket/41760 -  patch :p0 do -    url "https://trac.macports.org/raw-attachment/ticket/41760/patch-hash-map.diff" -    sha1 "fafa7654f69ace53835b8e7953e715384e16da91" -  end - -  def install -    system "./configure", "--prefix=#{prefix}", -                          "--with-arch=#{MacOS.preferred_arch}", -                          "--without-qt" - -    inreplace 'Makefile', "MKDIR_P", "mkdir -p" - -    system "make" -    ENV.deparallelize -    system "make install" -  end -end diff --git a/Library/Formula/gnumeric.rb b/Library/Formula/gnumeric.rb deleted file mode 100644 index 938e14824..000000000 --- a/Library/Formula/gnumeric.rb +++ /dev/null @@ -1,23 +0,0 @@ -require "formula" - -class Gnumeric < Formula -  homepage "http://projects.gnome.org/gnumeric/" -  url "http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.10/gnumeric-1.10.17.tar.bz2" -  sha256 "bb2a13424811d132fe1be7a6e82d61157a18c630fc91b7409503dbd7ef600ea5" - -  option "python-scripting", "Enable Python scripting." - -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on "gettext" -  depends_on "goffice" -  depends_on "pygobject" if build.include? "python-scripting" -  depends_on "rarian" -  depends_on :x11 - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/gobby.rb b/Library/Formula/gobby.rb deleted file mode 100644 index b1997bb1c..000000000 --- a/Library/Formula/gobby.rb +++ /dev/null @@ -1,32 +0,0 @@ -require "formula" - -class Gobby < Formula -  homepage "http://gobby.0x539.de" -  url "http://releases.0x539.de/gobby/gobby-0.5.0.tar.gz" -  sha1 "0eff91bfacb3a6bd5918fe4b0bced4e2fcd30430" - -  head "git://git.0x539.de/git/gobby.git" - -  bottle do -    sha1 "8488391352fc1563e68f56a6916684988c18d218" => :yosemite -    sha1 "b40c4cd2fd44488345890d8e21e316e19751f587" => :mavericks -    sha1 "29987428159b13b57568f44ca260df165b6ee66c" => :mountain_lion -  end - -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on "gtkmm" -  depends_on "gsasl" -  depends_on "libxml++" -  depends_on "gtksourceview" -  depends_on "gettext" -  depends_on "hicolor-icon-theme" -  depends_on "libinfinity" -  depends_on :x11 - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/gpredict.rb b/Library/Formula/gpredict.rb deleted file mode 100644 index fb7018e0b..000000000 --- a/Library/Formula/gpredict.rb +++ /dev/null @@ -1,27 +0,0 @@ -require 'formula' - -class Gpredict < Formula -  homepage 'http://gpredict.oz9aec.net/' -  url 'https://downloads.sourceforge.net/project/gpredict/Gpredict/1.3/gpredict-1.3.tar.gz' -  sha1 'a02a979fb68f9be8b9294a7c4ca248aaecd73b34' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'curl' -  depends_on 'gettext' -  depends_on 'glib' -  depends_on 'goocanvas' -  depends_on 'gtk+' -  depends_on 'hamlib' - -  def install -    gettext = Formula['gettext'] -    ENV.append "CFLAGS", "-I#{gettext.include}" -    ENV.append "LDFLAGS", "-L#{gettext.lib}" - -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/grace.rb b/Library/Formula/grace.rb deleted file mode 100644 index 20e1d1add..000000000 --- a/Library/Formula/grace.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'formula' - -class Grace < Formula -  homepage 'http://plasma-gate.weizmann.ac.il/Grace/' -  url 'ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.23.tar.gz' -  sha1 '0bd9cd6e76c97210658098f3533b5cf6c037d0bd' - -  depends_on :x11 -  depends_on 'pdflib-lite' -  depends_on 'jpeg' -  depends_on 'fftw' -  depends_on 'lesstif' - -  def install -    ENV.O1 # https://github.com/Homebrew/homebrew/issues/27840#issuecomment-38536704 -    system "./configure", "--disable-debug", -                          "--prefix=#{prefix}", -                          "--enable-grace-home=#{prefix}" - -    system "make install" -  end -end diff --git a/Library/Formula/gsmartcontrol.rb b/Library/Formula/gsmartcontrol.rb deleted file mode 100644 index 3ff5a0688..000000000 --- a/Library/Formula/gsmartcontrol.rb +++ /dev/null @@ -1,55 +0,0 @@ -require 'formula' - -class Gsmartcontrol < Formula -  homepage 'http://gsmartcontrol.sourceforge.net/home/index.php' -  url 'https://downloads.sourceforge.net/project/gsmartcontrol/0.8.7/gsmartcontrol-0.8.7.tar.bz2' -  sha1 '36c255e8f493b003a616cb1eff3a86ccc6b8f80a' - -  depends_on 'pkg-config' => :build -  depends_on :x11 -  depends_on 'smartmontools' -  depends_on 'gtkmm' -  depends_on 'pcre' -  depends_on 'libglademm' - -  # Fix bad includes with gtkmm-2.24.3 -  # Check if this is still needed with new versions of gsmartcontrol and gtkmm -  patch :DATA - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make" -    system "make install" -  end - -  test do -    system "#{bin}/gsmartcontrol", "--version" -  end -end - -__END__ -diff --git a/src/applib/cmdex_sync_gui.cpp b/src/applib/cmdex_sync_gui.cpp -index d253a17..83b2e11 100644 ---- a/src/applib/cmdex_sync_gui.cpp -+++ b/src/applib/cmdex_sync_gui.cpp -@@ -9,6 +9,7 @@ - /// \weakgroup applib - /// @{ -  -+#include <glibmm.h> - #include <gtkmm/main.h>  // Gtk::Main -  - #include "hz/fs_path.h" -diff --git a/src/gsc_init.cpp b/src/gsc_init.cpp -index 0ded7bc..6fb1bb7 100644 ---- a/src/gsc_init.cpp -+++ b/src/gsc_init.cpp -@@ -15,6 +15,7 @@ - #include <cstdio>  // std::printf - #include <vector> - #include <sstream> -+#include <glibmm.h> - #include <gtkmm/main.h> - #include <gtkmm/messagedialog.h> - #include <gtk/gtk.h>  // gtk_window_set_default_icon_name, gtk_icon_theme_* diff --git a/Library/Formula/gtk-chtheme.rb b/Library/Formula/gtk-chtheme.rb deleted file mode 100644 index 8a94c0d87..000000000 --- a/Library/Formula/gtk-chtheme.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'formula' - -class GtkChtheme < Formula -  homepage 'http://plasmasturm.org/code/gtk-chtheme/' -  url 'http://plasmasturm.org/code/gtk-chtheme/gtk-chtheme-0.3.1.tar.bz2' -  sha1 'dbea31f4092877e786fe040fae1374238fada94a' - -  depends_on 'pkg-config' => :build -  depends_on 'gdk-pixbuf' -  depends_on 'gettext' -  depends_on 'glib' -  depends_on 'gtk+' -  depends_on 'pango' -  depends_on :x11 - -  def install -    # Unfortunately chtheme relies on some deprecated functionality -    # we need to disable errors for it to compile properly -    inreplace 'Makefile', '-DGTK_DISABLE_DEPRECATED', '' - -    system "make", "PREFIX=#{prefix}", "install" -  end -end diff --git a/Library/Formula/gtksourceviewmm.rb b/Library/Formula/gtksourceviewmm.rb deleted file mode 100644 index ebf784c35..000000000 --- a/Library/Formula/gtksourceviewmm.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'formula' - -class Gtksourceviewmm < Formula -  homepage 'https://developer.gnome.org/gtksourceviewmm/' -  url 'http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.10/gtksourceviewmm-2.10.3.tar.xz' -  sha1 '17d5daf33d2b6bc21c48c5c730abaae70e027566' - -  depends_on 'gtksourceview' -  depends_on 'pkg-config' => :build -  depends_on 'gtkmm' -  depends_on :x11 - -  def install -    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/gtksourceviewmm3.rb b/Library/Formula/gtksourceviewmm3.rb deleted file mode 100644 index e61765496..000000000 --- a/Library/Formula/gtksourceviewmm3.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'formula' - -class Gtksourceviewmm3 < Formula -  homepage 'https://developer.gnome.org/gtksourceviewmm/' -  url 'http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/3.2/gtksourceviewmm-3.2.0.tar.xz' -  sha1 'cac8d2fdde7b862bdb5eb12c6b8998a29e3fcf95' - -  depends_on 'gtksourceview3' -  depends_on 'pkg-config' => :build -  depends_on 'gtkmm3' -  depends_on :x11 - -  def install -    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/gtkwave.rb b/Library/Formula/gtkwave.rb deleted file mode 100644 index dc42715ff..000000000 --- a/Library/Formula/gtkwave.rb +++ /dev/null @@ -1,40 +0,0 @@ -require "formula" - -class Gtkwave < Formula -  homepage "http://gtkwave.sourceforge.net/" -  # 3.3.63 is the latest, but everything over 3.3.60 refuses to compile. -  # Bug report filed upstream at bybell@rocketmail.com on 23/11/14 -  url "http://gtkwave.sourceforge.net/gtkwave-3.3.60.tar.gz" -  sha1 "040894bd142623b1bb9d7000619e9787a6db3f76" - -  bottle do -    cellar :any -    sha1 "a606e5f48ba5aba2a413400009171c4e72e72520" => :yosemite -    sha1 "17b37f240c67d2ead954232b674efa990dc381b5" => :mavericks -    sha1 "d4354c0d03b86470803a93c02a3718f68b8bed43" => :mountain_lion -  end - -  depends_on "pkg-config" => :build -  depends_on "gtk+" -  depends_on "xz" # For LZMA support -  depends_on :x11 - -  def install -    args = [ "--disable-dependency-tracking", -             "--disable-silent-rules", -             "--prefix=#{prefix}" -    ] - -    unless MacOS::CLT.installed? -      args << "--with-tcl=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework" -      args << "--with-tk=#{MacOS.sdk_path}/System/Library/Frameworks/Tk.framework" -    end - -    system "./configure", *args -    system "make", "install" -  end - -  test do -    system "#{bin}/gtkwave", "--version" -  end -end diff --git a/Library/Formula/gupnp-tools.rb b/Library/Formula/gupnp-tools.rb deleted file mode 100644 index c8cfa7a76..000000000 --- a/Library/Formula/gupnp-tools.rb +++ /dev/null @@ -1,23 +0,0 @@ -require "formula" - -class GupnpTools < Formula -  homepage "https://wiki.gnome.org/GUPnP/" -  url "http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.9.tar.xz" -  sha1 "afe0855510740bf44bc32b716bd0687edcda0f94" - -  depends_on :x11 -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on "gettext" -  depends_on "gnome-icon-theme" -  depends_on "gtk+3" -  depends_on "gupnp" -  depends_on "gupnp-av" -  depends_on "ossp-uuid" - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/hatari.rb b/Library/Formula/hatari.rb deleted file mode 100644 index c26ccb249..000000000 --- a/Library/Formula/hatari.rb +++ /dev/null @@ -1,24 +0,0 @@ -require "formula" - -class Hatari < Formula -  homepage "http://hatari.tuxfamily.org" -  head "http://hg.tuxfamily.org/mercurialroot/hatari/hatari", :using => :hg, :branch => "default" -  url "http://download.tuxfamily.org/hatari/1.8.0/hatari-1.8.0.tar.bz2" -  sha1 "08d950c3156c764b87ac0ae03c4f350febff9567" - -  depends_on :x11 -  depends_on "cmake" => :build -  depends_on "libpng" -  depends_on "sdl" - -  def install -    sdl = Formula["sdl"].opt_prefix -    system "cmake", "-DENABLE_OSX_BUNDLE:BOOL=0", -                    "-DSDLMAIN_LIBRARY:FILEPATH=#{sdl}/lib/libSDLmain.a", -                    "-DSDL_INCLUDE_DIR:PATH=#{sdl}/include/SDL", -                    "-DSDL_LIBRARY:STRING=#{sdl}/lib/libSDLmain.a;#{sdl}/lib/libSDL.dylib;-framework Cocoa", -                    *std_cmake_args - -    system "make", "install" -  end -end diff --git a/Library/Formula/hexchat.rb b/Library/Formula/hexchat.rb deleted file mode 100644 index 2399aaff9..000000000 --- a/Library/Formula/hexchat.rb +++ /dev/null @@ -1,52 +0,0 @@ -require 'formula' - -class Hexchat < Formula -  homepage 'http://hexchat.github.io/' -  head 'https://github.com/hexchat/hexchat.git' -  url 'http://dl.hexchat.net/hexchat/hexchat-2.10.1.tar.xz' -  sha1 '3ad562ec76323ba9d0f279d36201a333594c755b' - -  bottle do -    sha1 "da41ccf19d762513a1e774c078a2f7bf9e46073c" => :mavericks -    sha1 "f10e3860adee826c03e6269991a5e77d884be028" => :mountain_lion -    sha1 "728caab194af26da2f6eec798fb162dffa817698" => :lion -  end - -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on :python => :optional -  depends_on :python3 => :optional -  depends_on 'gettext' -  depends_on 'gtk+' -  depends_on :x11 - -  option 'without-perl', 'Build without Perl support' -  option 'without-plugins', 'Build without plugin support' - -  def install -    args = %W[--prefix=#{prefix} -              --disable-dependency-tracking -              --enable-openssl] - -    if build.with? "python3" -      py_ver = Formula["python3"].version.to_s[0..2] # e.g "3.4" -      ENV.append_path "PKG_CONFIG_PATH", "#{HOMEBREW_PREFIX}/Frameworks/Python.framework/Versions/#{py_ver}/lib/pkgconfig/" -      args << "--enable-python=python#{py_ver}" -    elsif build.with? "python" -      ENV.append_path "PKG_CONFIG_PATH", "#{HOMEBREW_PREFIX}/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/" -      ENV.append_path "PKG_CONFIG_PATH", "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/" -      args << "--enable-python=python2.7" -    else -      args << "--disable-python" -    end - -    args << "--disable-perl" if build.without? "perl" -    args << "--disable-plugin" if build.without? "plugins" - -    system "./configure", *args -    system "make", "install" - -    rm_rf share/"applications" -    rm_rf share/"appdata" -  end -end diff --git a/Library/Formula/imake.rb b/Library/Formula/imake.rb deleted file mode 100644 index c9f82fb28..000000000 --- a/Library/Formula/imake.rb +++ /dev/null @@ -1,30 +0,0 @@ -require "formula" - -class Imake < Formula -  homepage "http://xorg.freedesktop.org" -  url "http://xorg.freedesktop.org/releases/individual/util/imake-1.0.7.tar.bz2" -  sha1 "52e236776133f217d438622034b8603d201a6ec5" - -  depends_on "pkg-config" => :build -  depends_on :x11 - -  resource "xorg-cf-files" do -    url "http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.5.tar.bz2" -    sha1 "ae22eb81d56d018f0b3b149f70965ebfef2385fd" -  end - -  def install -    ENV.deparallelize -    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" -    system "make install" - -    resource("xorg-cf-files").stage do -      # Fix for different X11 locations. -      inreplace "X11.rules", "define TopXInclude	/**/", -                "define TopXInclude	-I#{MacOS::X11.include}" -      system "./configure", "--with-config-dir=#{lib}/X11/config", -                            "--prefix=#{HOMEBREW_PREFIX}" -      system "make install" -    end -  end -end diff --git a/Library/Formula/inkscape.rb b/Library/Formula/inkscape.rb deleted file mode 100644 index 199d1ebe9..000000000 --- a/Library/Formula/inkscape.rb +++ /dev/null @@ -1,92 +0,0 @@ -class Inkscape < Formula -  homepage 'http://inkscape.org/' -  url 'https://downloads.sourceforge.net/project/inkscape/inkscape/0.48.5/inkscape-0.48.5.tar.gz' -  sha1 'e14789da0f6b5b84ef26f6759e295bc4be7bd34d' -  revision 1 - -  bottle do -    sha1 "5d5fa915ff5cb8a245c7e8e2295cda07149c311d" => :yosemite -    sha1 "6687b6ee83263d4c64e06a8e4432d3be77d95be9" => :mavericks -    sha1 "63052a052b408edf1755ff78cc00fdb6ffc058b2" => :mountain_lion -  end - -  stable do -    # boost 1.56 compatibility -    # https://bugs.launchpad.net/inkscape/+bug/1357411 -    patch :p0, :DATA - -    # poppler 0.29 compatibility -    # https://bugs.launchpad.net/inkscape/+bug/1399811 -    patch :p0 do -      url "https://launchpadlibrarian.net/192286866/1399811-fix-build-with-poppler-0.29.0-048x-v1.diff" -      sha1 "82ad02357a2405c11f29f2e516b1a7f55953e807" -    end -  end - -  head do -    url 'lp:inkscape/0.48.x', :using => :bzr -  end - -  # needed on stable for poppler patch -  depends_on "autoconf" => :build -  depends_on "automake" => :build - -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'boost-build' => :build -  depends_on 'gettext' -  depends_on 'bdw-gc' -  depends_on 'glibmm' -  depends_on 'gtkmm' -  depends_on 'gsl' -  depends_on 'boost' -  depends_on 'popt' -  depends_on 'little-cms' -  depends_on 'cairomm' -  depends_on 'pango' -  depends_on :x11 -  depends_on 'poppler' => :optional -  depends_on 'hicolor-icon-theme' - -  needs :cxx11 - -  fails_with :clang do -    cause "inkscape's dependencies will be built with libstdc++ and fail to link." -  end if MacOS.version < :mavericks - -  def install -    ENV.cxx11 - -    if build.head? -      system "./autogen.sh" -    elsif build.with? "poppler" -      system "autoconf" -      system "autoheader" -    end - -    args = [ "--disable-dependency-tracking", -             "--prefix=#{prefix}", -             "--enable-lcms" ] -    args << "--disable-poppler-cairo" if build.without? "poppler" -    system "./configure", *args - -    system "make", "install" -  end - -  test do -    system "#{bin}/inkscape", "-V" -  end -end -__END__ -=== modified file 'src/object-snapper.cpp' ---- src/object-snapper.cpp	2010-07-19 06:51:04 +0000 -+++ src/object-snapper.cpp	2014-08-15 15:43:28 +0000 -@@ -561,7 +561,7 @@ -                         // When it's within snapping range, then return it -                         // (within snapping range == between p_min_on_cl and p_max_on_cl == 0 < ta < 1) -                         Geom::Coord dist = Geom::L2(_snapmanager->getDesktop()->dt2doc(p_proj_on_cl) - p_inters); --                        SnappedPoint s(_snapmanager->getDesktop()->doc2dt(p_inters), p.getSourceType(), p.getSourceNum(), k->target_type, dist, getSnapperTolerance(), getSnapperAlwaysSnap(), true, k->target_bbox); -+                        SnappedPoint s(_snapmanager->getDesktop()->doc2dt(p_inters), p.getSourceType(), p.getSourceNum(), k->target_type, dist, getSnapperTolerance(), getSnapperAlwaysSnap(), true, false, k->target_bbox); -                         sc.points.push_back(s); -                     } -                 } diff --git a/Library/Formula/iptux.rb b/Library/Formula/iptux.rb deleted file mode 100644 index 3be706ad2..000000000 --- a/Library/Formula/iptux.rb +++ /dev/null @@ -1,26 +0,0 @@ -require "formula" - -class Iptux < Formula -  homepage "https://github.com/iptux-src/iptux" -  url "https://github.com/iptux-src/iptux/archive/v0.6.2.tar.gz" -  sha1 "19c3984d7523f8563d91a2949b6fb0629ab6c586" - -  depends_on :x11 -  depends_on "gettext" -  depends_on "gtk+" -  depends_on "gconf" -  depends_on "hicolor-icon-theme" -  depends_on "pkg-config" => :build - -  def install -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--disable-silent-rules", -                          "--prefix=#{prefix}" -    system "make", "install" -  end - -  test do -    system "#{bin}/iptux", "--version" -  end -end diff --git a/Library/Formula/kernagic.rb b/Library/Formula/kernagic.rb deleted file mode 100644 index 1d16e7443..000000000 --- a/Library/Formula/kernagic.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'formula' - -class Kernagic < Formula -  homepage 'https://github.com/hodefoting/kernagic/' -  url 'https://github.com/hodefoting/kernagic/archive/v0.2.tar.gz' -  sha1 '6099408fc9ebe22936b048364a8fcd7b5b66a1d8' -  head 'https://github.com/hodefoting/kernagic.git' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'gtk+' - -  def install -    system "make" -    system "make", "install", "PREFIX=#{prefix}" -  end - -  test do -    system "#{bin}/kernagic -h" -  end -end diff --git a/Library/Formula/klavaro.rb b/Library/Formula/klavaro.rb deleted file mode 100644 index 77955f66f..000000000 --- a/Library/Formula/klavaro.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class Klavaro < Formula -  homepage 'http://klavaro.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/klavaro/klavaro-2.01.tar.bz2' -  sha1 '42967960fb511abe60c536c1ff6794a0c35f38e5' - -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'gtk+' -  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 -end diff --git a/Library/Formula/meld.rb b/Library/Formula/meld.rb deleted file mode 100644 index 05e501dfc..000000000 --- a/Library/Formula/meld.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class Meld < Formula -  homepage 'http://meldmerge.org' -  url 'http://ftp.gnome.org/pub/GNOME/sources/meld/1.8/meld-1.8.6.tar.xz' -  sha256 'af96682b8f4bf3ad4221c853b1516218d62a17ff43c38f4a83e7e8ac6736e8a5' - -  depends_on 'intltool' => :build -  depends_on 'rarian' => :build -  depends_on :x11 -  depends_on :python -  depends_on 'pygtk' -  depends_on 'pygtksourceview' -  depends_on 'pygobject' - -  def install -    system "make", "prefix=#{prefix}", "install" -    bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) -  end -end diff --git a/Library/Formula/mesalib-glw.rb b/Library/Formula/mesalib-glw.rb deleted file mode 100644 index 49e520f30..000000000 --- a/Library/Formula/mesalib-glw.rb +++ /dev/null @@ -1,50 +0,0 @@ -require 'formula' - -class MesalibGlw < Formula -  homepage 'http://www.mesa3d.org' -  url 'https://downloads.sourceforge.net/project/mesa3d/MesaLib/7.2/MesaLib-7.2.tar.gz' -  sha1 '6390ece818ec6fecacaafe3618ae844cf5f92b92' - -  bottle do -    cellar :any -    revision 1 -    sha1 "617a0490b723c28d7afc30742a7fde7e3aa56c81" => :yosemite -    sha1 "a0ac2d5bd0d31aa471d63c6f81d304a107c03fc5" => :mavericks -    sha1 "35df28b14aca921ef20e9bdd4db35c6c803e8561" => :mountain_lion -  end - -  depends_on :x11 - -  option 'enable-static', "Build static library" - -  def install -    args = ["--disable-debug", "--disable-dependency-tracking", -            "--prefix=#{prefix}"] -    args << "--with-driver=xlib" -    args << "--disable-gl-osmesa" -    args << "--disable-glu" -    args << "--disable-glut" - -    if build.include? 'enable-static' -      args << "--enable-static" -    end - -    system "./configure", *args - -    inreplace 'configs/autoconf' do |s| -      s.gsub! /.so/, '.dylib' -      s.gsub! /SRC_DIRS = mesa glw/, 'SRC_DIRS = glw' -      s.gsub! /-L\$\(TOP\)\/\$\(LIB_DIR\)/, "-L#{MacOS::X11.lib}" -    end - -    inreplace 'src/glw/Makefile' do |s| -      s.gsub! /-I\$\(TOP\)\/include /, '' -    end - -    system "make" - -    (include+'GL').mkpath -    (include+'GL').install Dir['src/glw/*.h'] -    lib.install Dir['lib/*'] -  end -end diff --git a/Library/Formula/mit-scheme.rb b/Library/Formula/mit-scheme.rb deleted file mode 100644 index 3b843158a..000000000 --- a/Library/Formula/mit-scheme.rb +++ /dev/null @@ -1,45 +0,0 @@ -require "formula" - -class MitScheme < Formula -  homepage "http://www.gnu.org/software/mit-scheme/" -  url "http://ftpmirror.gnu.org/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz" -  mirror "http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-c-9.2.tar.gz" -  sha1 "d2820ee76da109d370535fec6e19910a673aa7ee" - -  bottle do -    revision 1 -    sha1 "af57614a2fba575d897aead31686ee5cd363fb4f" => :yosemite -    sha1 "7bdca846c5d7efb137b05fa6bff6b755e8eed3fa" => :mavericks -    sha1 "f1c8d3788f6308be61948350ea33dd7ce085307f" => :mountain_lion -  end - -  conflicts_with "tinyscheme", :because => "both install a `scheme` binary" - -  depends_on "openssl" -  depends_on :x11 - -  def install -    # The build breaks __HORRIBLY__ with parallel make -- one target will erase something -    # before another target gets it, so it's easier to change the environment than to -    # change_make_var, because there are Makefiles littered everywhere -    ENV.j1 - -    # Liarc builds must launch within the src dir, not using the top-level Makefile -    cd "src" - -    # Take care of some hard-coded paths -    inreplace %w(6001/edextra.scm 6001/floppy.scm compiler/etc/disload.scm microcode/configure -    edwin/techinfo.scm edwin/unix.scm lib/include/configure -    swat/c/tk3.2-custom/Makefile swat/c/tk3.2-custom/tcl/Makefile swat/scheme/other/btest.scm) do |s| -      s.gsub! "/usr/local", prefix -    end - -    # The configure script will add "-isysroot" to CPPFLAGS, so it didn't check .h here -    # by default even Homebrew is installed in /usr/local. This breaks things when gdbm -    # or other optional dependencies was installed using Homebrew -    ENV.prepend "CPPFLAGS", "-I#{HOMEBREW_PREFIX}/include" -    ENV["MACOSX_SYSROOT"] = MacOS.sdk_path -    system "etc/make-liarc.sh", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}" -    system "make", "install" -  end -end diff --git a/Library/Formula/morse.rb b/Library/Formula/morse.rb deleted file mode 100644 index 26ffef492..000000000 --- a/Library/Formula/morse.rb +++ /dev/null @@ -1,15 +0,0 @@ -require 'formula' - -class Morse < Formula -  homepage 'http://www.catb.org/~esr/morse/' -  url 'http://www.catb.org/~esr/morse/morse-2.5.tar.gz' -  sha1 'f3b607272e5dc84920e4d3a80d559df0e92ec54b' - -  depends_on :x11 - -  def install -    system "make", "all", "DEVICE=X11" -    bin.install "morse" -    man1.install "morse.1" -  end -end diff --git a/Library/Formula/mscgen.rb b/Library/Formula/mscgen.rb deleted file mode 100644 index 2d05133e7..000000000 --- a/Library/Formula/mscgen.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'formula' - -class Mscgen < Formula -  homepage 'http://www.mcternan.me.uk/mscgen/' -  url 'http://www.mcternan.me.uk/mscgen/software/mscgen-src-0.20.tar.gz' -  sha1 'cb718587e5fda99ca8b36801c57ea794d07bf211' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'gd' => :recommended -  depends_on 'freetype' => :optional - -  def install -    args = ["--prefix=#{prefix}", -            "--disable-dependency-tracking"] - -    args << "--with-freetype" if build.with? 'freetype' - -    system "./configure", *args -    system "make install" -  end -end diff --git a/Library/Formula/mupdf.rb b/Library/Formula/mupdf.rb deleted file mode 100644 index c73c0b18b..000000000 --- a/Library/Formula/mupdf.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'formula' - -class Mupdf < Formula -  homepage 'http://mupdf.com' -  url 'http://mupdf.com/downloads/mupdf-1.6-source.tar.gz' -  sha1 '491d7a3b131589791c7df6dd8161c6bfe41ce74a' - -  bottle do -    cellar :any -    sha1 "30f8a874a36fa64447c1c2acd691df68ef070061" => :mavericks -    sha1 "aabd22a66449e271c00078f097fd7ae212019fa3" => :mountain_lion -    sha1 "98fbed77b4bf143d13b091b8a4c4349438f7ecd4" => :lion -  end - -  depends_on :macos => :snow_leopard -  depends_on :x11 - -  def install -    system "make", "install", -                   "build=release", -                   "verbose=yes", -                   "CC=#{ENV.cc}", -                   "prefix=#{prefix}" -  end -end diff --git a/Library/Formula/pari.rb b/Library/Formula/pari.rb deleted file mode 100644 index 558a669e2..000000000 --- a/Library/Formula/pari.rb +++ /dev/null @@ -1,28 +0,0 @@ -require "formula" - -class Pari < Formula -  homepage "http://pari.math.u-bordeaux.fr/" -  url "http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.7.2.tar.gz" -  sha256 "ac76c99549d549273087daa554c4dabaf9239881da422f69acb05fa7a0ff10ac" - -  bottle do -    sha1 "279df09e4ed8ef338a908d22b376be54de33900c" => :mavericks -    sha1 "e7fba0b065c31e7f9b23d198f24f76333d28a8ba" => :mountain_lion -    sha1 "8dcd6a003063962867a9f29830acd6eeea58e90f" => :lion -  end - -  depends_on "gmp" -  depends_on "readline" -  depends_on :x11 - -  def install -    readline = Formula["readline"].opt_prefix -    gmp = Formula["gmp"].opt_prefix -    system "./Configure", "--prefix=#{prefix}", -                          "--with-gmp=#{gmp}", -                          "--with-readline=#{readline}" -    # make needs to be done in two steps -    system "make all" -    system "make install" -  end -end diff --git a/Library/Formula/pcb.rb b/Library/Formula/pcb.rb deleted file mode 100644 index 01cba2212..000000000 --- a/Library/Formula/pcb.rb +++ /dev/null @@ -1,56 +0,0 @@ -require "formula" - -class Pcb < Formula -  homepage "http://pcb.geda-project.org/" -  head "git://git.geda-project.org/pcb.git" -  url "https://downloads.sourceforge.net/project/pcb/pcb/pcb-20140316/pcb-20140316.tar.gz" -  sha1 "ec714ff136d1817e500e1a9e654e786883b9501e" - -  option "with-doc", "Build the documentation (requires LaTeX)." - -  depends_on "autoconf" => :build -  depends_on "automake" => :build -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on "gettext" -  depends_on "d-bus" -  depends_on "gtk+" -  depends_on "gd" -  depends_on "glib" -  depends_on "gtkglext" -  depends_on :x11 -  depends_on :tex if build.with? "doc" - -  conflicts_with "gts", :because => "both install `include/gts.h`" - -  patch :DATA - -  def install -    system "./autogen.sh" if build.head? -    args = ["--disable-debug", "--disable-dependency-tracking", -            "--prefix=#{prefix}", -            "--disable-update-desktop-database", -            "--disable-update-mime-database"] -    args << "--disable-doc" if build.without? "doc" - -    system "./configure", *args -    system "make" -    system "make", "install" -  end -end - -# There's a missing define from GLU. Defining this fixes everything up. -__END__ -diff --git a/src/hid/common/hidgl.c b/src/hid/common/hidgl.c -index 15273a6..ff73ca7 100644 ---- a/src/hid/common/hidgl.c -+++ b/src/hid/common/hidgl.c -@@ -66,6 +66,7 @@ - #include <dmalloc.h> - #endif - -+typedef GLvoid (*_GLUfuncptr)(GLvoid); - - triangle_buffer buffer; - float global_depth = 0; - diff --git a/Library/Formula/pdf2image.rb b/Library/Formula/pdf2image.rb deleted file mode 100644 index f49703b4c..000000000 --- a/Library/Formula/pdf2image.rb +++ /dev/null @@ -1,32 +0,0 @@ -require 'formula' - -class Pdf2image < Formula -  homepage 'http://code.google.com/p/pdf2image/' -  url 'https://pdf2image.googlecode.com/files/pdf2image-0.53-source.tar.gz' -  sha1 '2acc8d1597eb470fce761d3f35b548318d446c2a' - -  depends_on :x11 -  depends_on 'freetype' -  depends_on 'ghostscript' - -  conflicts_with 'poppler', 'xpdf', -    :because => 'pdf2image, poppler, and xpdf install conflicting executables' - -  def install -    system "./configure", "--prefix=#{prefix}" - -    # Fix manpage install location. See: -    # http://code.google.com/p/pdf2json/issues/detail?id=2 -    inreplace "Makefile", "/man/", "/share/man/" - -    # Fix incorrect variable name in Makefile -    inreplace "src/Makefile", "$(srcdir)", "$(SRCDIR)" - -    # Add X11 libs manually; the Makefiles don't use LDFLAGS properly -    inreplace ["src/Makefile", "xpdf/Makefile"], -      "LDFLAGS =", "LDFLAGS=-L#{MacOS::X11.lib}" - -    system "make" -    system "make install" -  end -end diff --git a/Library/Formula/pdf2svg.rb b/Library/Formula/pdf2svg.rb deleted file mode 100644 index 45c7ec3bb..000000000 --- a/Library/Formula/pdf2svg.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'formula' - -class Pdf2svg < Formula -  homepage 'http://www.cityinthesky.co.uk/opensource/pdf2svg' -  url 'http://www.cityinthesky.co.uk/wp-content/uploads/2013/10/pdf2svg-0.2.2.tar.gz' -  sha1 'e8d3332565f40705fbad5bd4eda9a001e563da1b' - -  depends_on "pkg-config" => :build - -  depends_on :x11 -  depends_on "cairo" -  depends_on "poppler" -  depends_on "gtk+" - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make install" -  end -end diff --git a/Library/Formula/pgplot.rb b/Library/Formula/pgplot.rb deleted file mode 100644 index d0ab63c5b..000000000 --- a/Library/Formula/pgplot.rb +++ /dev/null @@ -1,106 +0,0 @@ -require 'formula' - -class Pgplot < Formula -  homepage 'http://www.astro.caltech.edu/~tjp/pgplot/' -  url 'ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot522.tar.gz' -  version '5.2.2' -  sha1 '1f1c9aa17eeec9a2fb23fd15a0e4a91dcc49ddc1' -  bottle do -    sha1 "01f6c78460a693cdf4f12fe3d07160924ea728d2" => :yosemite -    sha1 "d453d38628035bef7c793c433a92a6f22c6ce77f" => :mavericks -    sha1 "cefc1cac43d17dc86f6424a75bfec3a5dd63b3d9" => :mountain_lion -  end - -  revision 1 - -  option 'with-button', 'Install libbutton' - -  depends_on :x11 -  depends_on :fortran - -  resource 'button' do -    url 'http://www.ucm.es/info/Astrof/software/button/button.tar.gz' -    sha1 'd1bfcb51a9ce5819e00d5d1a1d8c658691193f11' -    version '1.0' -  end - -  # from MacPorts: https://trac.macports.org/browser/trunk/dports/graphics/pgplot/files -  patch :p0 do -    url "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-makemake.diff" -    sha1 "cb91d933f2350d1a4a33039b61b525db17407ff1" -  end - -  patch :p0 do -    url "https://trac.macports.org/export/89961/trunk/dports/graphics/pgplot/files/patch-proccom.c.diff" -    sha1 "8a20d20720ee3ca314331300bb9a87781d69d1d7" -  end - -  def install -    ENV.deparallelize -    ENV.append 'CPPFLAGS', "-DPG_PPU" -    # allow long lines in the fortran code (for long homebrew PATHs) -    ENV.append 'FCFLAGS', "-ffixed-line-length-none" - -    # re-hardcode the share dir -    inreplace 'src/grgfil.f', '/usr/local/pgplot', share -    # perl may not be in /usr/local -    inreplace 'makehtml', '/usr/local/bin/perl', which('perl') -    # prevent a "dereferencing pointer to incomplete type" in libpng -    inreplace 'drivers/pndriv.c', 'setjmp(png_ptr->jmpbuf)', 'setjmp(png_jmpbuf(png_ptr))' - -    # configure options -    (buildpath/'sys_darwin/homebrew.conf').write <<-EOS.undent -      XINCL="#{ENV.cppflags}" -      MOTIF_INCL="" -      ATHENA_INCL="" -      TK_INCL="" -      RV_INCL="" -      FCOMPL="#{ENV.fc}" -      FFLAGC="#{ENV.fcflags}" -      FFLAGD="" -      CCOMPL="#{ENV.cc}" -      CFLAGC="#{ENV.cppflags}" -      CFLAGD="" -      PGBIND_FLAGS="bsd" -      LIBS="#{ENV.ldflags} -lX11" -      MOTIF_LIBS="" -      ATHENA_LIBS="" -      TK_LIBS="" -      RANLIB="#{which 'ranlib'}" -      SHARED_LIB="libpgplot.dylib" -      SHARED_LD="#{ENV.fc} -dynamiclib -single_module $LDFLAGS -lX11 -install_name libpgplot.dylib" -      SHARED_LIB_LIBS="#{ENV.ldflags} -lpng -lX11" -      MCOMPL="" -      MFLAGC="" -      SYSDIR="$SYSDIR" -      CSHARED_LIB="libcpgplot.dylib" -      CSHARED_LD="#{ENV.fc} -dynamiclib -single_module $LDFLAGS -lX11" -      EOS - -    mkdir 'build' do -      # activate drivers -      cp '../drivers.list', '.' -      ['GIF', 'VGIF', 'LATEX', 'PNG' ,'TPNG', 'PS', -       'VPS', 'CPS', 'VCPS', 'XWINDOW', 'XSERVE'].each do |drv| -        inreplace 'drivers.list', /^! (.*\/#{drv} .*)/, '  \1' -      end - -      # make everything -      system '../makemake .. darwin; make; make cpg; make pgplot.html' - -      # install -      bin.install 'pgxwin_server', 'pgbind' -      lib.install Dir['*.dylib', '*.a'] -      include.install Dir['*.h'] -      share.install Dir['*.txt', '*.dat'] -      doc.install Dir['*.doc', '*.html'] -      (prefix/'examples').install Dir['*demo*', '../examples/pgdemo*.f', '../cpg/cpgdemo*.c', '../drivers/*/pg*demo.*'] -    end - -    resource('button').stage do -      inreplace 'Makefile', 'f77', "#{ENV.fc} #{ENV.fcflags}" -      system "make" -      lib.install 'libbutton.a' -    end if build.with? 'button' -  end -end diff --git a/Library/Formula/pixie.rb b/Library/Formula/pixie.rb deleted file mode 100644 index 94d63b7e9..000000000 --- a/Library/Formula/pixie.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'formula' - -class Pixie < Formula -  homepage 'http://www.renderpixie.com/' -  url 'https://downloads.sourceforge.net/project/pixie/pixie/Pixie%202.2.6/Pixie-src-2.2.6.tgz' -  sha1 '651d3a76460f19cbbedb7d3d26ee9160182964d3' -  revision 1 - -  depends_on 'libtiff' -  depends_on 'fltk' -  depends_on 'openexr' -  depends_on 'libpng' -  depends_on :x11 - -  def install -    openexr = Formula["openexr"] -    ilmbase = Formula["ilmbase"] - -    ENV.append "CPPFLAGS", "-I#{openexr.include}/OpenEXR -I#{ilmbase.include}/OpenEXR" -    ENV.append "LDFLAGS",  "-L#{openexr.lib} -L#{ilmbase.lib}" -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--with-openexr-prefix=#{openexr.prefix}" -    system "make install" -  end - -  test do -    system "#{bin}/rndr", "-v" -  end -end diff --git a/Library/Formula/prooftree.rb b/Library/Formula/prooftree.rb deleted file mode 100644 index 591e8d36d..000000000 --- a/Library/Formula/prooftree.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'formula' - -class Prooftree < Formula -  homepage 'http://askra.de/software/prooftree' -  url 'http://askra.de/software/prooftree/releases/prooftree-0.10.tar.gz' -  sha1 'ac9ba265062382109673320635d822f92e6a126c' - -  bottle do -    cellar :any -    sha1 "686cb57124632efd5dcc72b9b3821c64c105ffd4" => :mavericks -    sha1 "c4707a4ddd9da81e2527ba693de96f47340e1307" => :mountain_lion -    sha1 "ebabfe1c7299976f037adfae5d2b90fb4878b186" => :lion -  end - -  depends_on :x11 -  depends_on 'lablgtk' - -  def install -    system "./configure", "--prefix", prefix -    system "make" -    system "make install" -  end -end diff --git a/Library/Formula/py3cairo.rb b/Library/Formula/py3cairo.rb deleted file mode 100644 index 265fecbe1..000000000 --- a/Library/Formula/py3cairo.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'formula' - -class Py3cairo < Formula -  homepage 'http://cairographics.org/pycairo/' -  url 'http://cairographics.org/releases/pycairo-1.10.0.tar.bz2' -  sha1 'b4283aa1cc9aafd12fd72ad371303a486da1d014' - -  depends_on 'pkg-config' => :build -  depends_on 'cairo' -  depends_on :x11 -  depends_on :python3 - -  def install -    ENV['PYTHON'] = "python3" -    system "./waf", "configure", "--prefix=#{prefix}" -    system "./waf", "build" -    system "./waf", "install" -  end - -  test do -    system "python3", "-c", "import cairo; print(cairo.version)" -  end -end diff --git a/Library/Formula/pyxplot.rb b/Library/Formula/pyxplot.rb deleted file mode 100644 index bb01b1eaa..000000000 --- a/Library/Formula/pyxplot.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'formula' - -class Pyxplot < Formula -  homepage 'http://pyxplot.org.uk/' -  url 'http://pyxplot.org.uk/src/pyxplot_0.9.2.tar.gz' -  sha1 '5f09399bd00a4ae94a07ac186cf0e8e7761de625' -  revision 1 - -  depends_on :x11 -  depends_on :tex -  depends_on 'fftw' -  depends_on 'cfitsio' => :recommended -  depends_on 'gv' => :recommended -  depends_on 'wget' => :recommended -  depends_on 'ghostscript' => 'with-x11' -  depends_on 'gsl' -  depends_on 'imagemagick' -  depends_on 'libpng' -  depends_on 'readline' - -  def install -    # changes install directory to Cellar, per instructions -    inreplace "Makefile.skel" do |s| -      s.change_make_var! 'USRDIR', prefix -    end -    system "./configure" -    system "make install" -  end -end diff --git a/Library/Formula/rdesktop.rb b/Library/Formula/rdesktop.rb deleted file mode 100644 index 08e570127..000000000 --- a/Library/Formula/rdesktop.rb +++ /dev/null @@ -1,58 +0,0 @@ -require "formula" - -class Rdesktop < Formula -  homepage "http://www.rdesktop.org/" -  url "https://downloads.sourceforge.net/project/rdesktop/rdesktop/1.8.2/rdesktop-1.8.2.tar.gz" -  sha1 "089e8f2b18688ded8afc659de5ba8d5b14c7b874" -  revision 1 - -  bottle do -    revision 1 -    sha1 "4229024b894c4f3eb595abb5b8e70a6c2bd076cb" => :mavericks -    sha1 "cebd2a21f1d1b160f3b6961d12307846e5db25fc" => :mountain_lion -    sha1 "cd58bdfc157d7bc2acba103f38f80ff0f48e0c17" => :lion -  end - -  depends_on "openssl" -  depends_on :x11 - -  patch :DATA - -  def install -    args = ["--prefix=#{prefix}", -            "--disable-credssp", -            "--disable-smartcard", # disable temporally before upstream fix -            "--with-openssl=#{Formula["openssl"].opt_prefix}", -            "--x-includes=#{MacOS::X11.include}", -            "--x-libraries=#{MacOS::X11.lib}"] -    system "./configure", *args -    system "make", "install" -  end -end - -# Note: The patch below is meant to remove the reference to the undefined symbol -# SCARD_CTL_CODE. Since we are compiling with --disable-smartcard, we don't need -# it anyway (and it should probably have been #ifdefed in the original code). - -__END__ -diff --git a/scard.c b/scard.c -index caa0745..5521ee9 100644 ---- a/scard.c -+++ b/scard.c -@@ -2152,7 +2152,6 @@ TS_SCardControl(STREAM in, STREAM out) -	{ -		/* Translate to local encoding */ -		dwControlCode = (dwControlCode & 0x3ffc) >> 2; --		dwControlCode = SCARD_CTL_CODE(dwControlCode); -	} -	else -	{ -@@ -2198,7 +2197,7 @@ TS_SCardControl(STREAM in, STREAM out) -	} - - #ifdef PCSCLITE_VERSION_NUMBER --	if (dwControlCode == SCARD_CTL_CODE(3400)) -+	if (0) -	{ -		int i; -		SERVER_DWORD cc; diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb deleted file mode 100644 index 90449728b..000000000 --- a/Library/Formula/rxvt-unicode.rb +++ /dev/null @@ -1,105 +0,0 @@ -require "formula" - -class RxvtUnicode < Formula -  homepage "http://software.schmorp.de/pkg/rxvt-unicode.html" -  url "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.20.tar.bz2" -  sha1 "6214c7893a8c968936103e255a1d3d1e9868abf9" - -  option "disable-iso14755", "Disable ISO 14775 Shift+Ctrl hotkey" - -  depends_on "pkg-config" => :build -  depends_on :x11 - -  # Patches 1 and 2 remove -arch flags for compiling perl support -  # Patch 3 removes an extra 10% font width that urxvt adds. -  #   http://aur.archlinux.org/packages.php?ID=44649 -  # Patch 4 fixes `make install` target on case-insensitive filesystems -  patch :DATA - -  fails_with :llvm do -    build 2336 -    cause "memory fences not defined for your architecture" -  end - -  def install -    args = %W[ -      --prefix=#{prefix} -      --enable-256-color -      --with-term=rxvt-unicode-256color -      --with-terminfo=/usr/share/terminfo -      --enable-smart-resize -    ] - -    args << "--disable-perl" if ENV.compiler == :clang -    args << "--disable-iso14755" if build.include? "disable-iso14755" - -    system "./configure", *args -    system "make", "install" -  end -end - -__END__ -diff --git a/configure b/configure -index c756724..5e94907 100755 ---- a/configure -+++ b/configure -@@ -7847,8 +7847,8 @@ $as_echo_n "checking for $PERL suitability... " >&6; } -  -      save_CXXFLAGS="$CXXFLAGS" -      save_LIBS="$LIBS" --     CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" --     LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" -+     CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts|sed -E 's/ -arch [^ ]+//g'`" -+     LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts|sed -E 's/ -arch [^ ]+//g'`" -      cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h.  */ -  -@@ -7884,8 +7884,8 @@ $as_echo "#define ENABLE_PERL 1" >>confdefs.h -  -         IF_PERL= -         PERL_O=rxvtperl.o --        PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" --        PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" -+        PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts|sed -E 's/ -arch [^ ]+//g'`" -+        PERLLIB="`$PERL -MExtUtils::Embed -e ldopts|sed -E 's/ -arch [^ ]+//g'`" -         PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" -      else -         as_fn_error $? "no, unable to link" "$LINENO" 5 -diff --git a/src/rxvtfont.C b/src/rxvtfont.C -index 3ff0b04..ecf8196 100644 ---- a/src/rxvtfont.C -+++ b/src/rxvtfont.C -@@ -1265,12 +1265,21 @@ rxvt_font_xft::load (const rxvt_fontprop &prop, bool force_prop) -           XGlyphInfo g; -           XftTextExtents16 (disp, f, &ch, 1, &g); -  -+/* -+ * bukind: don't use g.width as a width of a character! -+ * instead use g.xOff, see e.g.: http://keithp.com/~keithp/render/Xft.tutorial -+ -           g.width -= g.x; -  -           int wcw = WCWIDTH (ch); -           if (wcw > 0) g.width = (g.width + wcw - 1) / wcw; -  -           if (width    < g.width       ) width    = g.width; -+ */ -+          int wcw = WCWIDTH (ch); -+          if (wcw > 1) g.xOff = g.xOff / wcw; -+          if (width < g.xOff) width = g.xOff; -+ -           if (height   < g.height      ) height   = g.height; -           if (glheight < g.height - g.y) glheight = g.height - g.y; -         } -diff --git a/Makefile.in b/Makefile.in -index eee5969..c230930 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -31,6 +31,7 @@ subdirs = src doc -  - RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install -  -+.PHONY: install - #------------------------------------------------------------------------- -  - $(RECURSIVE_TARGETS): diff --git a/Library/Formula/scantailor.rb b/Library/Formula/scantailor.rb deleted file mode 100644 index a6c5c3e56..000000000 --- a/Library/Formula/scantailor.rb +++ /dev/null @@ -1,53 +0,0 @@ -require 'formula' - -class Scantailor < Formula -  class Version < ::Version -    def enhanced? -      tokens[0].to_s == "enhanced" -    end - -    def <=>(other) -      other = self.class.new(other) -      if enhanced? && other.enhanced? -        super -      elsif enhanced? -        1 -      elsif other.enhanced? -        -1 -      else -        super -      end -    end -  end - -  homepage 'http://scantailor.org/' -  url 'https://downloads.sourceforge.net/project/scantailor/scantailor/0.9.11.1/scantailor-0.9.11.1.tar.gz' -  version Scantailor::Version.new("0.9.11.1") -  sha1 '80970bbcd65fbf8bc62c0ff0cb7bcb78c86961c3' - -  devel do -    url 'https://downloads.sourceforge.net/project/scantailor/scantailor-devel/enhanced/scantailor-enhanced-20140214.tar.bz2' -    version Scantailor::Version.new("enhanced-20140214") -    sha1 'e90b861f02a571184b8ab9d5ef59dd57dcf1c212' -  end - -  depends_on 'cmake' => :build -  depends_on 'qt' -  depends_on 'boost' -  depends_on 'jpeg' -  depends_on 'libtiff' -  depends_on :x11 - -  # Makes Scan Tailor work with Clang on OS X Mavericks -  # Approved by maintainer and included in official repository. -  # See: http://sourceforge.net/p/scantailor/mailman/message/31884956/ -  patch do -    url "https://gist.githubusercontent.com/muellermartin/8569243/raw/b09215037b346787e0f501ae60966002fd79602e/scantailor-0.9.11.1-clang.patch" -    sha1 "4594b28bcf9409ef252638830c633dd42c63bc40" -  end - -  def install -    system "cmake", ".", "-DPNG_INCLUDE_DIR=#{MacOS::X11.include}", *std_cmake_args -    system "make install" -  end -end diff --git a/Library/Formula/smartsim.rb b/Library/Formula/smartsim.rb deleted file mode 100644 index 3cc2cabfa..000000000 --- a/Library/Formula/smartsim.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'formula' - -class Smartsim < Formula -  homepage 'http://smartsim.org.uk' -  url 'https://github.com/ashleynewson/SmartSim/archive/v1.4.tar.gz' -  sha1 '0bafb811df83366a0b0bf137ce3f76ed9f94e506' -  head 'https://github.com/ashleynewson/smartsim' - -  depends_on :x11 -  depends_on 'gtk+3' -  depends_on 'librsvg' -  depends_on 'libxml2' -  depends_on 'glib' -  depends_on 'pkg-config' => :build -  depends_on 'gettext' - -  def install -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--disable-silent-rules", -                          "--prefix=#{prefix}" -    system "make", "install" -  end - -  test do -    system "#{bin}/smartsim", '--version' -  end -end diff --git a/Library/Formula/sptk.rb b/Library/Formula/sptk.rb deleted file mode 100644 index 61363783e..000000000 --- a/Library/Formula/sptk.rb +++ /dev/null @@ -1,29 +0,0 @@ -require "formula" - -class Sptk < Formula -  homepage "http://sp-tk.sourceforge.net/" -  url "https://downloads.sourceforge.net/sp-tk/SPTK-3.7.tar.gz" -  sha1 "319b8850f4ea4a294311fbb53f2421088c7e5171" - -  depends_on :x11 - -  conflicts_with "libextractor", :because => "both install `extract`" - -  fails_with :gcc do -    cause "Segmentation fault during linking." -  end - -  fails_with :llvm do -    cause "Segmentation fault during linking." -  end - -  def install -    system "./configure", "CC=#{ENV.cc}", "--prefix=#{prefix}" -    system "make", "install" -  end - -  test do -    system "#{bin}/impulse", "-h" -    system "#{bin}/impulse -n 10 -l 100 | hexdump" -  end -end diff --git a/Library/Formula/swi-prolog.rb b/Library/Formula/swi-prolog.rb deleted file mode 100644 index 427d105a2..000000000 --- a/Library/Formula/swi-prolog.rb +++ /dev/null @@ -1,89 +0,0 @@ -require "formula" - -class SwiProlog < Formula -  homepage "http://www.swi-prolog.org/" -  url "http://www.swi-prolog.org/download/stable/src/pl-6.6.6.tar.gz" -  sha1 "38cc6772a48fd412f50fc06e24e6e4673eb71d3b" -  revision 1 - -  bottle do -    sha1 "639b6093ff09bb6b066ff86705de2ddc78c37213" => :yosemite -    sha1 "76f0f355cc1e16442ed3f474654924890da457dd" => :mavericks -    sha1 "6917eab60b4e607311f0ee777dd70e31e624e7c1" => :mountain_lion -  end - -  devel do -    url "http://www.swi-prolog.org/download/devel/src/pl-7.1.27.tar.gz" -    sha1 "0bda6e88a80d40bfeb228534f123638be6a4686a" -  end - -  head do -    url "https://github.com/SWI-Prolog/swipl-devel.git" - -    depends_on "autoconf" => :build -  end - -  option "lite", "Disable all packages" -  option "with-jpl", "Enable JPL (Java Prolog Bridge)" -  option "with-xpce", "Enable XPCE (Prolog Native GUI Library)" - -  depends_on "pkg-config" => :build -  depends_on "readline" -  depends_on "gmp" -  depends_on "openssl" -  depends_on "libarchive" => :optional - -  if build.with? "xpce" -    depends_on :x11 -    depends_on "jpeg" -  end - -  # 10.5 versions of these are too old -  if MacOS.version <= :leopard -    depends_on "fontconfig" -    depends_on "expat" -  end - -  fails_with :llvm do -    build 2335 -    cause "Exported procedure chr_translate:chr_translate_line_info/3 is not defined" -  end - -  def install -    # The archive package hard-codes a check for MacPort libarchive -    # Replace this with a check for Homebrew's libarchive, or nowhere -    if build.with? "libarchive" -      inreplace "packages/archive/configure.in", "/opt/local", -                                                 Formula["libarchive"].opt_prefix -    else -      ENV.append "DISABLE_PKGS", "archive" -    end - -    args = ["--prefix=#{libexec}", "--mandir=#{man}"] -    ENV.append "DISABLE_PKGS", "jpl" if build.without? "jpl" -    ENV.append "DISABLE_PKGS", "xpce" if build.without? "xpce" - -    # SWI-Prolog's Makefiles don't add CPPFLAGS to the compile command, but do -    # include CIFLAGS. Setting it here. Also, they clobber CFLAGS, so including -    # the Homebrew-generated CFLAGS into COFLAGS here. -    ENV["CIFLAGS"] = ENV.cppflags -    ENV["COFLAGS"] = ENV.cflags - -    # Build the packages unless --lite option specified -    args << "--with-world" unless build.include? "lite" - -    # './prepare' prompts the user to build documentation -    # (which requires other modules). '3' is the option -    # to ignore documentation. -    system "echo '3' | ./prepare" if build.head? -    system "./configure", *args -    system "make" -    system "make install" - -    bin.write_exec_script Dir["#{libexec}/bin/*"] -  end - -  test do -    system "#{bin}/swipl", "--version" -  end -end diff --git a/Library/Formula/sxiv.rb b/Library/Formula/sxiv.rb deleted file mode 100644 index eb41bd719..000000000 --- a/Library/Formula/sxiv.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "formula" - -class Sxiv < Formula -  homepage "https://github.com/muennich/sxiv" -  url "https://github.com/muennich/sxiv/archive/v1.2.tar.gz" -  sha1 "69cacabdd60316edbf3eee076d8057df7f7be0ed" - -  head "https://github.com/muennich/sxiv.git" - -  depends_on :x11 -  depends_on "imlib2" -  depends_on "giflib" - -  def install -    system "make", "config.h" -    system "make", "PREFIX=#{prefix}", "install" -  end - -  test do -    system "#{bin}/sxiv", "-v" -  end -end diff --git a/Library/Formula/sylpheed.rb b/Library/Formula/sylpheed.rb deleted file mode 100644 index a9c81391c..000000000 --- a/Library/Formula/sylpheed.rb +++ /dev/null @@ -1,27 +0,0 @@ -require "formula" - -class Sylpheed < Formula -  homepage "http://sylpheed.sraoss.jp/en/" -  url "http://sylpheed.sraoss.jp/sylpheed/v3.4/sylpheed-3.4.2.tar.gz" -  sha1 "693514a792f64ac1a138c7a6542d5ca6b7ac4fdc" - -  bottle do -    sha1 "768d366c0eb0b8de1ad50ce405b05c20c5a6b2dc" => :yosemite -    sha1 "e105665502bd22ec0d66b63d65213dd282a20b7f" => :mavericks -    sha1 "fc773eb0a83d176922ff88daa58856c60420ea3a" => :mountain_lion -  end - -  depends_on "pkg-config" => :build -  depends_on :x11 -  depends_on "gpgme" -  depends_on "gtk+" -  depends_on "cairo" -  depends_on "openssl" - -  def install -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--disable-updatecheck" -    system "make", "install" -  end -end diff --git a/Library/Formula/tabbed.rb b/Library/Formula/tabbed.rb deleted file mode 100644 index c8d712ab7..000000000 --- a/Library/Formula/tabbed.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'formula' - -class Tabbed < Formula -  homepage 'http://tools.suckless.org/tabbed' -  url 'http://dl.suckless.org/tools/tabbed-0.6.tar.gz' -  sha1 '3c64d79817337f86f0cdd60b5b79af7e77d4a5f9' - -  bottle do -    cellar :any -    sha1 "dfd3264ddf73626663508e058a3ff417cacc9ddf" => :mavericks -    sha1 "d6a1e8f8e4e719b89956a5ae4ebea916f7d81fed" => :mountain_lion -    sha1 "823a4e327e626120283262116f15ee47cd0a3f6a" => :lion -  end - -  head 'http://git.suckless.org/tabbed', :using => :git - -  depends_on :x11 - -  def install -    inreplace 'config.mk', "LIBS = -L/usr/lib -lc -lX11", "LIBS = -L#{MacOS::X11.lib} -lc -lX11" -    system "make", "PREFIX=#{prefix}", "install" -  end -end diff --git a/Library/Formula/terminator.rb b/Library/Formula/terminator.rb deleted file mode 100644 index fd94ee562..000000000 --- a/Library/Formula/terminator.rb +++ /dev/null @@ -1,55 +0,0 @@ -require "formula" - -class Terminator < Formula -  homepage "https://launchpad.net/terminator" -  url "http://launchpad.net/terminator/trunk/0.97/+download/terminator-0.97.tar.gz" -  sha1 "aa92a6cacd572f6a834ac1de88ae699c7b7dee69" - -  depends_on "pkg-config" => :build -  depends_on "intltool" => :build -  depends_on :python -  depends_on :x11 -  depends_on "vte" -  depends_on "pygtk" -  depends_on "pygobject" -  depends_on "pango" - -  # Patch to fix cwd resolve issue for OS X / Darwin -  # See: https://bugs.launchpad.net/terminator/+bug/1261293 -  patch :DATA - -  def install -    ENV["PYTHONPATH"] = lib+"python2.7/site-packages" -    ENV.prepend_create_path "PYTHONPATH", HOMEBREW_PREFIX+"lib/python2.7/site-packages" -    system "python", "setup.py", "install", "--prefix=#{prefix}" -    bin.env_script_all_files(libexec+"bin", :PYTHONPATH => ENV["PYTHONPATH"]) -  end -end - -__END__ -diff --git a/terminatorlib/cwd.py b/terminatorlib/cwd.py -index 7b17d84..e3bdbad 100755 ---- a/terminatorlib/cwd.py -+++ b/terminatorlib/cwd.py -@@ -49,6 +49,11 @@ def get_pid_cwd(): -         func = sunos_get_pid_cwd -     else: -         dbg('Unable to determine a get_pid_cwd for OS: %s' % system) -+        try: -+            import psutil -+            func = generic_cwd -+        except (ImportError): -+            dbg('psutil not found') - -     return(func) - -@@ -71,4 +76,9 @@ def sunos_get_pid_cwd(pid): -     """Determine the cwd for a given PID on SunOS kernels""" -     return(proc_get_pid_cwd(pid, '/proc/%s/path/cwd')) - -+def generic_cwd(pid): -+    """Determine the cwd using psutil which also supports Darwin""" -+    import psutil -+    return psutil.Process(pid).as_dict()['cwd'] -+ - # vim: set expandtab ts=4 sw=4: diff --git a/Library/Formula/tiger-vnc.rb b/Library/Formula/tiger-vnc.rb deleted file mode 100644 index 18d372018..000000000 --- a/Library/Formula/tiger-vnc.rb +++ /dev/null @@ -1,25 +0,0 @@ -require 'formula' - -class TigerVnc < Formula -  homepage 'http://tigervnc.org/' -  url 'https://github.com/TigerVNC/tigervnc/archive/v1.4.0.tar.gz' -  sha1 '36252b10912bcbef44d43c5fa7977ae97988fff3' - -  depends_on 'cmake' => :build -  depends_on 'gnutls' => :recommended -  depends_on 'jpeg-turbo' -  depends_on 'gettext' -  depends_on 'fltk' -  depends_on :x11 - -  def install -    turbo = Formula['jpeg-turbo'] -    args = std_cmake_args + %W[ -      -DJPEG_INCLUDE_DIR=#{turbo.include} -      -DJPEG_LIBRARY=#{turbo.lib}/libjpeg.dylib -      . -    ] -    system 'cmake', *args -    system 'make install' -  end -end diff --git a/Library/Formula/transmission-remote-gtk.rb b/Library/Formula/transmission-remote-gtk.rb deleted file mode 100644 index d5aed82ca..000000000 --- a/Library/Formula/transmission-remote-gtk.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'formula' - -class TransmissionRemoteGtk < Formula -  homepage 'http://code.google.com/p/transmission-remote-gtk/' -  url 'https://transmission-remote-gtk.googlecode.com/files/transmission-remote-gtk-1.1.1.tar.gz' -  sha1 '2fdfe0526a64a2ee5f24f1c31ca55771ea00ac7b' - -  depends_on :x11 -  depends_on 'intltool' => :build -  depends_on 'pkg-config' => :build -  depends_on 'gtk+3' -  depends_on 'json-glib' - -  def install -    system "./configure", "--prefix=#{prefix}", "--enable-gtk3" -    system "make install" -  end -end diff --git a/Library/Formula/upnp-router-control.rb b/Library/Formula/upnp-router-control.rb deleted file mode 100644 index f6a9e8f27..000000000 --- a/Library/Formula/upnp-router-control.rb +++ /dev/null @@ -1,73 +0,0 @@ -require 'formula' - -class UpnpRouterControl < Formula -  homepage 'https://launchpad.net/upnp-router-control' -  url 'https://launchpad.net/upnp-router-control/trunk/0.2/+download/upnp-router-control-0.2.tar.gz' -  sha1 '4d6b22430f784260fccb2f70c27d0a428b9a753a' - -  head do -    url 'lp:upnp-router-control', :using => :bzr - -    depends_on "autoconf" => :build -    depends_on "automake" => :build -    depends_on "libtool" => :build -  end - -  depends_on 'pkg-config' => :build -  depends_on 'intltool' => :build -  depends_on 'gettext' -  depends_on 'gtk+' -  depends_on 'gupnp' -  depends_on 'gssdp' -  depends_on 'curl' => :optional -  depends_on :x11 - -  # Per Debian, patch to compile against newer gupnp -  patch :DATA - -  def install -    system "./autogen.sh" if build.head? - -    # Recent gupnp pc files don't export symbols from gssdp -    # Bug Ref: https://bugs.launchpad.net/upnp-router-control/+bug/1100236 -    if not build.head? -      ENV.append_to_cflags %x[pkg-config --cflags gssdp-1.0].chomp -      ENV['LIBS'] = %x[pkg-config --libs gssdp-1.0].chomp -    end - -    system "./configure", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make", "install" -  end -end - -__END__ -Description: Add -lm to LDADD to fix libm underlinkage. -Debian-Bug: http://bugs.debian.org/713706 -Author: Barry deFreese <bdefreese@debian.org> -Index: upnp-router-control-0.2/src/Makefile.am -=================================================================== ---- upnp-router-control-0.2.orig/src/Makefile.am	2010-10-14 18:02:51.000000000 -0400 -+++ upnp-router-control-0.2/src/Makefile.am	2013-07-13 10:10:02.406318866 -0400 -@@ -20,7 +20,7 @@ -        urc-graph.c \ -        urc-graph.h -  --upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -+upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -lm -  - MAINTAINERCLEANFILES =				\ - 	*~			      				\ -Index: upnp-router-control-0.2/src/Makefile.in -=================================================================== ---- upnp-router-control-0.2.orig/src/Makefile.in	2010-10-14 18:07:44.000000000 -0400 -+++ upnp-router-control-0.2/src/Makefile.in	2013-07-13 10:10:41.238511424 -0400 -@@ -213,7 +213,7 @@ -        urc-graph.c \ -        urc-graph.h -  --upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -+upnp_router_control_LDADD = @GTK_LIBS@ @INTLLIBS@ @GUPNP_LIBS@ @LIBCURL_LIBS@ -lm - MAINTAINERCLEANFILES = \ - 	*~			      				\ - 	Makefile.in diff --git a/Library/Formula/viewglob.rb b/Library/Formula/viewglob.rb deleted file mode 100644 index 89b1ba53e..000000000 --- a/Library/Formula/viewglob.rb +++ /dev/null @@ -1,46 +0,0 @@ -require 'formula' - -class Viewglob < Formula -  homepage 'http://viewglob.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/viewglob/viewglob/2.0.4/viewglob-2.0.4.tar.gz' -  sha1 'd3173706c4c089d4b1ac99bbe96de805093727f4' - -  depends_on :x11 -  depends_on 'pkg-config' => :build -  depends_on 'gettext' -  depends_on 'glib' -  depends_on 'gtk+' - -  # Don't include the <sys/stropts.h> header, it's not available on OS X. -  # Fixed upstream for next version. -  patch :DATA - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--mandir=#{man}" -    system "make", "install" -  end - -  def caveats; <<-EOS.undent -    When using viewglob with bash, to modify the prompt string PS1 used by -    the viewglob shell, set the variable in ~/.bashrc (using ~/.profile or -    manually setting the variable does not work). -    EOS -  end -end - -__END__ -diff --git a/vgseer/ptytty.c b/vgseer/ptytty.c -index e5925bf..7eeefb5 100644 ---- a/vgseer/ptytty.c -+++ b/vgseer/ptytty.c -@@ -59,7 +59,7 @@ - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif --#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) -+#if defined(PTYS_ARE_PTMX) && !(defined(__CYGWIN32__) || defined(__APPLE__)) - # include <sys/stropts.h>      /* for I_PUSH */ - #endif - diff --git a/Library/Formula/wmctrl.rb b/Library/Formula/wmctrl.rb deleted file mode 100644 index 3b1efabc7..000000000 --- a/Library/Formula/wmctrl.rb +++ /dev/null @@ -1,64 +0,0 @@ -require 'formula' - -class Wmctrl < Formula -  homepage 'http://sweb.cz/tripie/utils/wmctrl/' -  url 'http://tomas.styblo.name/wmctrl/dist/wmctrl-1.07.tar.gz' -  sha1 'a123019a7fd5adc3e393fc1108cb706268a34e4d' - -  depends_on 'pkg-config' => :build -  depends_on 'glib' -  depends_on 'gettext' -  depends_on :x11 - -  # Fix for 64-bit arch. See: -  # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=362068 -  patch :DATA - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}", -                          "--mandir=#{man}" -    system "make install" -  end -end - -__END__ ---- wmctrl-1.07.orig/main.c -+++ wmctrl-1.07/main.c -@@ -1425,6 +1425,16 @@ -      * -      * long_length = Specifies the length in 32-bit multiples of the -      *               data to be retrieved. -+     * -+     * NOTE:  see -+     * http://mail.gnome.org/archives/wm-spec-list/2003-March/msg00067.html -+     * In particular: -+     * -+     * 	When the X window system was ported to 64-bit architectures, a -+     * rather peculiar design decision was made. 32-bit quantities such -+     * as Window IDs, atoms, etc, were kept as longs in the client side -+     * APIs, even when long was changed to 64 bits. -+     * -      */ -     if (XGetWindowProperty(disp, win, xa_prop_name, 0, MAX_PROPERTY_VALUE_LEN / 4, False, -             xa_prop_type, &xa_ret_type, &ret_format, -@@ -1440,7 +1450,18 @@ static gchar *get_property (Display *disp, Window win, /*{{{*/ -     } - -     /* null terminate the result to make string handling easier */ --    tmp_size = (ret_format / 8) * ret_nitems; -+    switch (ret_format) { -+        case 8: -+            tmp_size = sizeof(char) * ret_nitems; -+            break; -+        case 16: -+            tmp_size = sizeof(short) * ret_nitems; -+            break; -+        case 32: -+        default: -+            tmp_size = sizeof(long) * ret_nitems; -+            break; -+    } -     ret = g_malloc(tmp_size + 1); -     memcpy(ret, ret_prop, tmp_size); -     ret[tmp_size] = '\0'; diff --git a/Library/Formula/x3270.rb b/Library/Formula/x3270.rb deleted file mode 100644 index cb185c965..000000000 --- a/Library/Formula/x3270.rb +++ /dev/null @@ -1,38 +0,0 @@ -require "formula" - -class X3270 < Formula -  homepage "http://x3270.bgp.nu/" -  url "https://downloads.sourceforge.net/project/x3270/x3270/3.3.15ga8/suite3270-3.3.15ga8-src.tgz" -  sha1 "c53d4cb7bd961f4114539495c46ffdab45303f77" - -  bottle do -    sha1 "bc56bef330ed5179723cb3cda669492b89b8a705" => :yosemite -    sha1 "1e317cde1f0bf755057b6189972f57b8432ccce6" => :mavericks -    sha1 "f31aa130ccc0bd377309fdc1b91c4fa8a5004ba4" => :mountain_lion -  end - -  depends_on :x11 -  depends_on "openssl" - -  option "with-c3270", "Include c3270 (curses-based version)" -  option "with-s3270", "Include s3270 (displayless version)" -  option "with-tcl3270", "Include tcl3270 (integrated with Tcl)" -  option "with-pr3287", "Include pr3287 (printer emulation)" - -  def make_directory(directory) -    cd directory do -      system "./configure", "--prefix=#{prefix}" -      system "make" -      system "make install" -      system "make install.man" -    end -  end - -  def install -    make_directory "x3270-3.3" -    make_directory "c3270-3.3" if build.with? "c3270" -    make_directory "pr3287-3.3" if build.with? "pr3287" -    make_directory "s3270-3.3" if build.with? "s3270" -    make_directory "tcl3270-3.3" if build.with? "tcl3270" -  end -end diff --git a/Library/Formula/xchat.rb b/Library/Formula/xchat.rb deleted file mode 100644 index c92c598bc..000000000 --- a/Library/Formula/xchat.rb +++ /dev/null @@ -1,92 +0,0 @@ -require 'formula' - -class Xchat < Formula -  homepage 'http://xchat.org' -  url 'http://xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2' -  sha1 'a4ac161e4e40f4bbabc492675a1ff4380dba8d68' - -  depends_on 'pkg-config' => :build -  depends_on 'gettext' -  depends_on 'gtk+' -  depends_on :x11 - -  # Adjust to newer glib include conventions -  # Reported at https://sourceforge.net/tracker/?func=detail&aid=3446968&group_id=239&atid=100239 -  patch :DATA - -  def install -    ENV.append 'LDFLAGS', '-lgmodule-2.0' - -    args = %W[--prefix=#{prefix} -              --disable-dependency-tracking -              --enable-openssl -              --disable-python -              --disable-xlib -              --disable-perl -              --disable-plugin] - -    # Fails on 32-bit core solo without this -    args << "--disable-mmx" unless MacOS.prefer_64_bit? - -    system "./configure", *args -    system "make install" -    rm_rf share+"applications" -    rm_rf share+"pixmaps" -  end -end - -__END__ -diff --git a/src/common/servlist.c b/src/common/servlist.c -index 1728928..0829c99 100644 ---- a/src/common/servlist.c -+++ b/src/common/servlist.c -@@ -24,7 +24,7 @@ - #include <unistd.h> -  - #include "xchat.h" --#include <glib/ghash.h> -+#include <glib.h> -  - #include "cfgfiles.h" - #include "fe.h" -diff --git a/src/common/text.c b/src/common/text.c -index a219851..6b11174 100644 ---- a/src/common/text.c -+++ b/src/common/text.c -@@ -28,7 +28,7 @@ - #include <sys/mman.h> -  - #include "xchat.h" --#include <glib/ghash.h> -+#include <glib.h> - #include "cfgfiles.h" - #include "chanopt.h" - #include "plugin.h" -diff --git a/src/common/util.c b/src/common/util.c -index 49517ec..5a0ab6c 100644 ---- a/src/common/util.c -+++ b/src/common/util.c -@@ -39,7 +39,7 @@ - #include <errno.h> - #include "xchat.h" - #include "xchatc.h" --#include <glib/gmarkup.h> -+#include <glib.h> - #include <ctype.h> - #include "util.h" - #include "../../config.h" -diff --git a/src/common/xchat.h b/src/common/xchat.h -index 013d6a1..e3f15a8 100644 ---- a/src/common/xchat.h -+++ b/src/common/xchat.h -@@ -1,10 +1,6 @@ - #include "../../config.h" -  --#include <glib/gslist.h> --#include <glib/glist.h> --#include <glib/gutils.h> --#include <glib/giochannel.h> --#include <glib/gstrfuncs.h> -+#include <glib.h> - #include <time.h>			/* need time_t */ -  diff --git a/Library/Formula/xclip.rb b/Library/Formula/xclip.rb deleted file mode 100644 index c01d4d978..000000000 --- a/Library/Formula/xclip.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'formula' - -class Xclip < Formula -  homepage 'http://xclip.sourceforge.net/' -  url 'https://downloads.sourceforge.net/project/xclip/xclip/0.12/xclip-0.12.tar.gz' -  sha1 'aed2cff18b9aecfe3377ad064c6a67518bbec211' - -  depends_on :x11 - -  def install -    system "./configure", "--prefix=#{prefix}" -    system "make install" -  end - -  test do -    system "#{bin}/xclip", "-version" -  end -end diff --git a/Library/Formula/xdotool.rb b/Library/Formula/xdotool.rb deleted file mode 100644 index 0023817b7..000000000 --- a/Library/Formula/xdotool.rb +++ /dev/null @@ -1,24 +0,0 @@ -require 'formula' - -class Xdotool < Formula -  homepage 'http://www.semicomplete.com/projects/xdotool/' -  url 'https://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz' -  sha1 'bf8372b2e76e8ee3884763cee6e8b3f66bf29aa6' - -  depends_on 'pkg-config' => :build - -  depends_on :x11 - -  def install -    system "make", "PREFIX=#{prefix}", "INSTALLMAN=#{man}", "install" -  end - -  def caveats; <<-EOS.undent -    You will probably want to enable XTEST in your X11 server now by running: -      defaults write org.x.X11 enable_test_extensions -boolean true - -    For the source of this useful hint: -      http://stackoverflow.com/questions/1264210/does-mac-x11-have-the-xtest-extension -    EOS -  end -end diff --git a/Library/Formula/xdu.rb b/Library/Formula/xdu.rb deleted file mode 100644 index 914d043d7..000000000 --- a/Library/Formula/xdu.rb +++ /dev/null @@ -1,20 +0,0 @@ -require "formula" - -class Xdu < Formula -  homepage "http://sd.wareonearth.com/~phil/xdu/" -  url "http://sd.wareonearth.com/~phil/xdu/xdu-3.0.tar.Z" -  sha1 "196e2ba03253fd6b8a88fafe6b00e40632183d0c" - -  depends_on :x11 - -  def install -    ENV.append_to_cflags "-I#{MacOS::X11.include}" -    ENV.append_to_cflags "-Wno-return-type" -    ENV.append "LDFLAGS", "-L#{MacOS::X11.lib}" - -    system "#{ENV.cc} -o xdu #{ENV.cflags} #{ENV.ldflags} -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 xdu.c xwin.c" -    bin.install "xdu" -    man1.install "xdu.man" => "xdu.1x" -    (etc/"X11/app-defaults").install "XDu.ad" => "XDu" -  end -end diff --git a/Library/Formula/xournal.rb b/Library/Formula/xournal.rb deleted file mode 100644 index 343801bb9..000000000 --- a/Library/Formula/xournal.rb +++ /dev/null @@ -1,20 +0,0 @@ -require "formula" - -class Xournal < Formula -  homepage "http://xournal.sourceforge.net" -  url "https://downloads.sourceforge.net/xournal/xournal-0.4.8.tar.gz" -  sha1 "e8b15c427287928e0995cc1b3bc83c2897c689ef" - -  depends_on "autoconf" => :build -  depends_on "automake" => :build -  depends_on "pkg-config" => :build -  depends_on :x11 -  depends_on "gtk+" -  depends_on "poppler" -  depends_on "libgnomecanvas" - -  def install -    system "./autogen.sh", "--prefix=#{prefix}" -    system "make", "install" -  end -end diff --git a/Library/Formula/xpa.rb b/Library/Formula/xpa.rb deleted file mode 100644 index 0098d3c58..000000000 --- a/Library/Formula/xpa.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'formula' - -class Xpa < Formula -  homepage 'http://hea-www.harvard.edu/RD/xpa/' -  url 'http://hea-www.harvard.edu/saord/download/xpa/xpa-2.1.15.tar.gz' -  sha1 'fe9df55606b663fbe01023fcd44a9c18bc7c6ad5' - -  depends_on :x11 - -  def install -    system "./configure", "--disable-debug", -                          "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    system "make install" - -    # relocate man, since --mandir is ignored -    mv "#{prefix}/man", man -  end -end diff --git a/Library/Formula/xpdf.rb b/Library/Formula/xpdf.rb deleted file mode 100644 index 7362a2144..000000000 --- a/Library/Formula/xpdf.rb +++ /dev/null @@ -1,34 +0,0 @@ -require "formula" - -class Xpdf < Formula -  homepage "http://www.foolabs.com/xpdf/" -  url "ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz" -  sha1 "b9b1dbb0335742a09d0442c60fd02f4f934618bd" - -  depends_on "lesstif" -  depends_on "freetype" -  depends_on :x11 - -  conflicts_with "pdf2image", "poppler", -    :because => "xpdf, pdf2image, and poppler install conflicting executables" - -  def install -    freetype = Formula["freetype"] -    lesstif = Formula["lesstif"] -    system "./configure", "--prefix=#{prefix}", -                          "--with-freetype2-library=#{freetype.opt_lib}", -                          "--with-freetype2-includes=#{freetype.opt_include}/freetype2", -                          "--with-Xm-library=#{lesstif.opt_lib}", -                          "--with-Xm-includes=#{lesstif.opt_include}", -                          "--with-Xpm-library=#{MacOS::X11.lib}", -                          "--with-Xpm-includes=#{MacOS::X11.include}", -                          "--with-Xext-library=#{MacOS::X11.lib}", -                          "--with-Xext-includes=#{MacOS::X11.include}", -                          "--with-Xp-library=#{MacOS::X11.lib}", -                          "--with-Xp-includes=#{MacOS::X11.include}", -                          "--with-Xt-library=#{MacOS::X11.lib}", -                          "--with-Xt-includes=#{MacOS::X11.include}" -    system "make" -    system "make", "install" -  end -end diff --git a/Library/Formula/xplot.rb b/Library/Formula/xplot.rb deleted file mode 100644 index 44e5527d9..000000000 --- a/Library/Formula/xplot.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'formula' - -class Xplot < Formula -  homepage 'http://www.xplot.org' -  url 'http://www.xplot.org/xplot/xplot-0.90.7.1.tar.gz' -  sha1 '164074206addaeb971d2fa65069c7c7be654efc5' - -  depends_on :x11 - -  def install -    system "./configure", "--disable-debug", "--disable-dependency-tracking", -                          "--prefix=#{prefix}" -    inreplace 'Makefile', 'man/man1', 'share/man/man1' -    system "make install" -  end -end diff --git a/Library/Formula/xspringies.rb b/Library/Formula/xspringies.rb deleted file mode 100644 index ee736c053..000000000 --- a/Library/Formula/xspringies.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'formula' - -class Xspringies < Formula -  homepage 'http://www.cs.rutgers.edu/~decarlo/software.html' -  url 'http://www.cs.rutgers.edu/~decarlo/software/xspringies-1.12.tar.Z' -  sha1 '7898352b444f7eca8ad90a609330935b7eafa1c2' - -  depends_on :x11 - -  def install -    inreplace 'Makefile.std' do |s| -      s.change_make_var! "LIBS", "-L#{MacOS::X11.lib} -lm -lX11" -      s.gsub! 'mkdirhier', 'mkdir -p' -    end -    system "make", "-f", "Makefile.std", "DDIR=#{prefix}/", "install" -  end -end diff --git a/Library/Formula/yarp.rb b/Library/Formula/yarp.rb deleted file mode 100644 index e68b9b4e9..000000000 --- a/Library/Formula/yarp.rb +++ /dev/null @@ -1,58 +0,0 @@ -require "formula" - -class Yarp < Formula -  homepage "http://yarp.it" -  head "https://github.com/robotology/yarp.git" -  url "https://github.com/robotology/yarp/archive/v2.3.63.tar.gz" -  sha1 "bef87cf5e53c1dc5b9fe4de90022cb8285405fa2" - -  option "without-shared", "Build only static version of YARP libraries" - -  depends_on "pkg-config" => :build -  depends_on "cmake" => :build -  depends_on "ace" -  depends_on "gsl" -  depends_on "gtk+" -  depends_on "gtkmm" -  depends_on "libglademm" -  depends_on "sqlite" -  depends_on "readline" -  depends_on "jpeg" -  depends_on :x11 - -  def install -    args = std_cmake_args + %W[ -      -DCREATE_LIB_MATH=TRUE -      -DCREATE_GUIS=TRUE -      -DCREATE_YMANAGER=TRUE -      -DYARP_USE_SYSTEM_SQLITE=TRUE -      -DCREATE_OPTIONAL_CARRIERS=TRUE -      -DENABLE_yarpcar_mjpeg_carrier=TRUE -      -DENABLE_yarpcar_rossrv_carrier=TRUE -      -DENABLE_yarpcar_tcpros_carrier=TRUE -      -DENABLE_yarpcar_xmlrpc_carrier=TRUE -      -DENABLE_yarpcar_bayer_carrier=TRUE -      -DUSE_LIBDC1394=FALSE -      -DENABLE_yarpcar_priority_carrier=TRUE -      -DCREATE_IDLS=TRUE -      -DENABLE_yarpidl_thrift=TRUE -      -DCREATE_YARPVIEW=TRUE -      -DCREATE_YARPSCOPE=TRUE -      -DCREATE_GYARPMANAGER=TRUE -      ] - -      if build.without? "shared" -        args << "-DCREATE_SHARED_LIBRARY:BOOL=FALSE" -      else -        args << "-DCREATE_SHARED_LIBRARY:BOOL=TRUE" -      end -      args << "." - -    system "cmake", *args -    system "make", "install" -  end - -  test do -    system "#{bin}/yarp", "check" -  end -end diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb index 4e7147cac..dcf56e10a 100644 --- a/Library/Homebrew/tap_migrations.rb +++ b/Library/Homebrew/tap_migrations.rb @@ -5,33 +5,74 @@ TAP_MIGRATIONS = {    "apple-gcc42" => "homebrew/dupes",    "appledoc" => "homebrew/boneyard",    "appswitch" => "homebrew/binary", +  "atari++" => "homebrew/x11",    "authexec" => "homebrew/boneyard",    "aws-iam-tools" => "homebrew/boneyard",    "blackbox" => "homebrew/boneyard", +  "bochs" => "homebrew/x11",    "boost149" => "homebrew/versions",    "cantera" => "homebrew/science", +  "cardpeek" => "homebrew/x11",    "catdoc" => "homebrew/boneyard",    "clam" => "homebrew/boneyard",    "cloudfoundry-cli" => "pivotal/tap", +  "clusterit" => "homebrew/x11",    "cmucl" => "homebrew/binary",    "comparepdf" => "homebrew/boneyard",    "connect" => "homebrew/boneyard", +  "curlftpfs" => "homebrew/x11", +  "cwm" => "homebrew/x11",    "dart" => "dart-lang/dart", +  "ddd" => "homebrew/x11",    "denyhosts" => "homebrew/boneyard", +  "dmenu" => "homebrew/x11",    "dotwrp" => "homebrew/science",    "drizzle" => "homebrew/boneyard",    "drush" => "homebrew/php",    "dsniff" => "homebrew/boneyard", +  "dwm" => "homebrew/x11", +  "dzen2" => "homebrew/x11", +  "easy-tag" => "homebrew/x11",    "electric-fence" => "homebrew/boneyard",    "fceux" => "homebrew/games", +  "feh" => "homebrew/x11", +  "fox" => "homebrew/x11", +  "freeglut" => "homebrew/x11", +  "freerdp" => "homebrew/x11", +  "fsv" => "homebrew/x11", +  "geany" => "homebrew/x11", +  "geda-gaf" => "homebrew/x11", +  "geeqie" => "homebrew/x11", +  "geomview" => "homebrew/x11", +  "gerbv" => "homebrew/x11", +  "ggobi" => "homebrew/x11", +  "giblib" => "homebrew/x11", +  "gkrellm" => "homebrew/x11", +  "glade" => "homebrew/x11", +  "gle" => "homebrew/x11", +  "gnumeric" => "homebrew/x11",    "gnunet" => "homebrew/boneyard", +  "gobby" => "homebrew/x11", +  "gpredict" => "homebrew/x11", +  "grace" => "homebrew/x11",    "grads" => "homebrew/binary",    "gromacs" => "homebrew/science", +  "gsmartcontrol" => "homebrew/x11", +  "gtk-chtheme" => "homebrew/x11", +  "gtksourceviewmm" => "homebrew/x11", +  "gtksourceviewmm3" => "homebrew/x11", +  "gtkwave" => "homebrew/x11", +  "gupnp-tools" => "homebrew/x11", +  "hatari" => "homebrew/x11",    "helios" => "spotify/public", +  "hexchat" => "homebrew/x11",    "hllib" => "homebrew/boneyard",    "hugs98" => "homebrew/boneyard",    "hwloc" => "homebrew/science", +  "imake" => "homebrew/x11", +  "inkscape" => "homebrew/x11",    "ipopt" => "homebrew/science", +  "iptux" => "homebrew/x11",    "itsol" => "homebrew/science",    "iulib" => "homebrew/boneyard",    "jscoverage" => "homebrew/boneyard", @@ -39,18 +80,26 @@ TAP_MIGRATIONS = {    "jstalk" => "homebrew/boneyard",    "justniffer" => "homebrew/boneyard",    "kerl" => "homebrew/headonly", +  "kernagic" => "homebrew/x11",    "kismet" => "homebrew/boneyard", +  "klavaro" => "homebrew/x11",    "libdlna" => "homebrew/boneyard",    "libgtextutils" => "homebrew/science",    "librets" => "homebrew/boneyard",    "libspotify" => "homebrew/binary",    "lmutil" => "homebrew/binary", +  "meld" => "homebrew/x11", +  "mesalib-glw" => "homebrew/x11",    "mess" => "homebrew/games",    "metalua" => "homebrew/boneyard", +  "mit-scheme" => "homebrew/x11",    "mlkit" => "homebrew/boneyard",    "mlton" => "homebrew/boneyard", +  "morse" => "homebrew/x11",    "mpio" => "homebrew/boneyard", +  "mscgen" => "homebrew/x11",    "msgpack-rpc" => "homebrew/boneyard", +  "mupdf" => "homebrew/x11",    "mydumper" => "homebrew/boneyard",    "nlopt" => "homebrew/science",    "octave" => "homebrew/science", @@ -58,21 +107,55 @@ TAP_MIGRATIONS = {    "openfst" => "homebrew/science",    "opengrm-ngram" => "homebrew/science",    "pan" => "homebrew/boneyard", +  "pari" => "homebrew/x11", +  "pcb" => "homebrew/x11", +  "pdf2image" => "homebrew/x11", +  "pdf2svg" => "homebrew/x11", +  "pgplot" => "homebrew/x11", +  "pixie" => "homebrew/x11",    "pjsip" => "homebrew/boneyard",    "pocl" => "homebrew/science", +  "prooftree" => "homebrew/x11", +  "py3cairo" => "homebrew/x11", +  "pyxplot" => "homebrew/x11",    "qfits" => "homebrew/boneyard",    "qrupdate" => "homebrew/science", +  "rdesktop" => "homebrew/x11", +  "rxvt-unicode" => "homebrew/x11",    "salt" => "homebrew/science", +  "scantailor" => "homebrew/x11",    "shark" => "homebrew/boneyard",    "slicot" => "homebrew/science", +  "smartsim" => "homebrew/x11",    "solfege" => "homebrew/boneyard", +  "sptk" => "homebrew/x11",    "sundials" => "homebrew/science", +  "swi-prolog" => "homebrew/x11", +  "sxiv" => "homebrew/x11", +  "sylpheed" => "homebrew/x11",    "syslog-ng" => "homebrew/boneyard", +  "tabbed" => "homebrew/x11", +  "terminator" => "homebrew/x11",    "tetgen" => "homebrew/science",    "texmacs" => "homebrew/boneyard", +  "tiger-vnc" => "homebrew/x11",    "tmap" => "homebrew/boneyard", +  "transmission-remote-gtk" => "homebrew/x11",    "ume" => "homebrew/games", +  "upnp-router-control" => "homebrew/x11",    "urweb" => "homebrew/boneyard",    "ushare" => "homebrew/boneyard", +  "viewglob" => "homebrew/x11",    "wkhtmltopdf" => "homebrew/boneyard", +  "wmctrl" => "homebrew/x11", +  "xchat" => "homebrew/x11", +  "xclip" => "homebrew/x11", +  "xdotool" => "homebrew/x11", +  "xdu" => "homebrew/x11", +  "xournal" => "homebrew/x11", +  "xpa" => "homebrew/x11", +  "xpdf" => "homebrew/x11", +  "xplot" => "homebrew/x11", +  "xspringies" => "homebrew/x11", +  "yarp" => "homebrew/x11",  } | 
