2010-12-28 04:24:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Abiword < Formula
|
2010-12-28 04:24:17 +00:00
|
|
|
homepage 'http://www.abisource.com/'
|
2012-02-15 04:05:55 +00:00
|
|
|
url 'http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz'
|
2012-07-03 13:55:35 +00:00
|
|
|
sha1 '998f69d038000b3fc027d4259548f02d67c8d0df'
|
2010-12-28 04:24:17 +00:00
|
|
|
|
2012-02-15 04:05:55 +00:00
|
|
|
devel do
|
2013-01-26 21:57:59 +00:00
|
|
|
url 'http://www.abisource.com/downloads/abiword/2.9.4/source/abiword-2.9.4.tar.gz'
|
|
|
|
sha1 '67cfbc633129128a1aa48ffba8959229cef2ebdd'
|
2012-02-15 04:05:55 +00:00
|
|
|
end
|
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
2010-12-28 04:24:17 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'fribidi'
|
|
|
|
depends_on 'libgsf'
|
|
|
|
depends_on 'enchant'
|
|
|
|
depends_on 'cairo'
|
|
|
|
depends_on 'pango'
|
2012-05-28 19:14:24 +00:00
|
|
|
depends_on 'wv'
|
2010-12-28 04:24:17 +00:00
|
|
|
depends_on 'imagemagick'
|
|
|
|
|
2012-07-03 15:18:52 +00:00
|
|
|
def patches
|
2012-08-23 04:32:07 +00:00
|
|
|
if build.devel?
|
2012-07-03 15:18:52 +00:00
|
|
|
{:p0 => "http://bugzilla.abisource.com/attachment.cgi?id=5477"}
|
|
|
|
else
|
|
|
|
DATA
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2010-12-28 04:24:17 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
2012-07-03 15:18:52 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/src/af/util/xp/ut_go_file.h b/src/af/util/xp/ut_go_file.h
|
|
|
|
index e29d7b7..8d5f608 100644
|
|
|
|
--- a/src/af/util/xp/ut_go_file.h
|
|
|
|
+++ b/src/af/util/xp/ut_go_file.h
|
|
|
|
@@ -31,7 +31,6 @@
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
#include <gsf/gsf.h>
|
|
|
|
-#include <glib/gerror.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|