-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlibbonobo.rb
64 lines (51 loc) · 1.41 KB
/
libbonobo.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
require 'formula'
class Libbonobo < Formula
homepage ''
url 'http://ftp.gnome.org/pub/GNOME/sources/libbonobo/2.32/libbonobo-2.32.1.tar.gz'
sha256 '59f95f55fdb6bc56f4fcd081ce5c61affbc67cdad6b61e0ca2aaf34d7efe95b9'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'intltool'
depends_on 'libxml2'
depends_on 'libiconv'
depends_on 'd-bus'
depends_on 'glib'
depends_on 'orbit'
depends_on 'popt'
def patches
#See http://trac.macports.org/browser/trunk/dports/gnome/libbonobo/Portfile
DATA
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
end
__END__
--- a/activation-server/Makefile.in
+++ b/activation-server/Makefile.in
@@ -341,6 +341,5 @@
$(SERVER_CFLAGS) \
$(WARN_CFLAGS) \
-DSERVER_CONFDIR=\"$(sysconfdir)\" \
- -DG_DISABLE_DEPRECATED \
-DG_LOG_DOMAIN=\"Bonobo-Activation-Server\" \
$(NULL)
--- a/configure
+++ b/configure
@@ -794,7 +794,6 @@
GETTEXT_PACKAGE
DATADIRNAME
ALL_LINGUAS
-INTLTOOL_PERL
GMSGFMT
MSGFMT
MSGMERGE
@@ -13818,7 +13753,7 @@ fi
if test "$enable_maintainer_mode" = "yes"; then
- DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES"
+ DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_SINGLE_INCLUDES"
fi