Gentoo Archives: gentoo-commits

From: "Saleem Abdulrasool (compnerd)" <compnerd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/nautilus-sendto/files: nautilus-sendto-0.14-configure-options.patch
Date: Sat, 29 Mar 2008 20:46:12
Message-Id: E1JfhwH-00081j-Ny@stork.gentoo.org
1 compnerd 08/03/29 20:46:09
2
3 Added: nautilus-sendto-0.14-configure-options.patch
4 Log:
5 version bump from upstream
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 gnome-extra/nautilus-sendto/files/nautilus-sendto-0.14-configure-options.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.14-configure-options.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.14-configure-options.patch?rev=1.1&content-type=text/plain
13
14 Index: nautilus-sendto-0.14-configure-options.patch
15 ===================================================================
16 --- configure.in.orig 2008-03-29 13:06:51.000000000 -0700
17 +++ configure.in 2008-03-29 13:26:47.000000000 -0700
18 @@ -65,18 +65,16 @@
19 dnl Libebook support
20 dnl ---------------------------------
21
22 -PKG_CHECK_MODULES(NST_EBOOK, libebook-1.2 >= $EBOOK_REQUIRED,
23 - [
24 - AC_SUBST(NST_EBOOK_CFLAGS)
25 - AC_SUBST(NST_EBOOK_LIBS)
26 - echo "Using libebook-1.2 !"
27 - enable_evolution=yes
28 - ],
29 - [
30 - echo "Building without evolution"
31 - enable_evolution=no
32 - ]
33 -)
34 +AC_ARG_ENABLE([evolution],
35 + AS_HELP_STRING([--enable-evolution], [enable support for evolution]),,
36 + [enable_evolution=no])
37 +
38 +if test x$enable_evolution = xyes ; then
39 + PKG_CHECK_MODULES(NST_EBOOK, [libebook-1.2 >= $EBOOK_REQUIRED])
40 +
41 + AC_SUBST([NST_EBOOK_CFLAGS])
42 + AC_SUBST([NST_EBOOK_LIBS])
43 +fi
44
45 AM_CONDITIONAL(HAVE_EVOLUTION, test "x$enable_evolution" = "xyes")
46
47 @@ -85,87 +83,88 @@
48 AC_CHECK_TYPES([EContactPhotoType], , , [#include <libebook/e-contact.h>])
49 CPPFLAGS="$saved_CPPFLAGS"
50
51 -dnl Gaim support if it's installed
52 +dnl Gaim support
53 dnl ---------------------------------
54
55 +AC_ARG_ENABLE([gaim],
56 + AS_HELP_STRING([--enable-gaim], [enable support for gaim]),,
57 + [enable_gaim=no])
58 +
59 +if test x$enable_gaim = xyes ; then
60 + PKG_CHECK_MODULES(GAIM, [gaim >= $GAIM_REQUIRED])
61 +
62 + AC_SUBST([GAIM_CFLAGS])
63 + AC_SUBST([GAIM_LIBS])
64
65 -PKG_CHECK_MODULES(GAIM, gaim >= $GAIM_REQUIRED,
66 - [
67 - AC_SUBST(GAIM_CFLAGS)
68 - AC_SUBST(GAIM_LIBS)
69 - GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
70 - GAIM_DATADIR=`pkg-config --variable=datadir gaim`
71 - AC_SUBST(GAIM_LIBDIR)
72 - AC_SUBST(GAIM_DATADIR)
73 - enable_gaim=yes
74 - ],
75 - [
76 - echo "Building without gaim"
77 - enable_gaim=no
78 - ]
79 -)
80 + GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
81 + GAIM_DATADIR=`pkg-config --variable=datadir gaim`
82 +
83 + AC_SUBST([GAIM_LIBDIR])
84 + AC_SUBST([GAIM_DATADIR])
85 +fi
86
87 AM_CONDITIONAL(HAVE_GAIM, test "x$enable_gaim" = "xyes")
88
89 -dnl Pidgin support if it's installed
90 +dnl Pidgin support
91 dnl ---------------------------------
92
93 +AC_ARG_ENABLE([pidgin],
94 + AS_HELP_STRING([--enable-pidgin], [enable support for pidgin]),,
95 + [enable_pidgin=no])
96 +
97 +if test x$enable_pidgin = xyes ; then
98 + PKG_CHECK_MODULES(PIDGIN, [pidgin >= $PIDGIN_REQUIRED purple >= $PIDGIN_REQUIRED])
99 +
100 + AC_SUBST([PIDGIN_CFLAGS])
101 + AC_SUBST([PIDGIN_LIBS])
102
103 -PKG_CHECK_MODULES(PIDGIN, pidgin >= $PIDGIN_REQUIRED purple >= $PIDGIN_REQUIRED,
104 - [
105 - AC_SUBST(PIDGIN_CFLAGS)
106 - AC_SUBST(PIDGIN_LIBS)
107 - PIDGIN_LIBDIR=`pkg-config --variable=libdir purple`
108 - PIDGIN_DATADIR=`pkg-config --variable=datadir purple`
109 - AC_SUBST(PIDGIN_LIBDIR)
110 - AC_SUBST(PIDGIN_DATADIR)
111 - enable_pidgin=yes
112 - ],
113 - [
114 - echo "Building without pidgin"
115 - enable_pidgin=no
116 - ]
117 -)
118 + PIDGIN_LIBDIR=`pkg-config --variable=libdir purple`
119 + PIDGIN_DATADIR=`pkg-config --variable=datadir purple`
120 +
121 + AC_SUBST([PIDGIN_LIBDIR])
122 + AC_SUBST([PIDGIN_DATADIR])
123 +fi
124
125 AM_CONDITIONAL(HAVE_PIDGIN, test "x$enable_pidgin" = "xyes")
126
127 -dnl Bluetooth support if it's installed
128 +dnl Bluetooth support
129 dnl -----------------------------------
130
131 -PKG_CHECK_MODULES(BLUETOOTH, dbus-glib-1 >= $DBUS_GLIB_REQUIRED,
132 - [
133 - AC_SUBST(BLUETOOTH_CFLAGS)
134 - AC_SUBST(BLUETOOTH_LIBS)
135 - enable_bluetooth=yes
136 - ],
137 - [
138 - echo "Building without Bluetooth"
139 - enable_bluetooth=no
140 - ]
141 -)
142 +AC_ARG_ENABLE([bluetooth],
143 + AS_HELP_STRING([--enable-bluetooth], [enable support for bluetooth]),,
144 + [enable_bluetooth=yes])
145 +
146 +if test x$enable_bluetooth = xyes ; then
147 + PKG_CHECK_MODULES(BLUETOOTH, [dbus-glib-1 >= $DBUS_GLIB_REQUIRED])
148 +
149 + AC_SUBST([BLUETOOTH_CLFAGS])
150 + AC_SUBST([BLUETOOTH_LIBS])
151 +fi
152
153 AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes")
154
155 +dnl --------------------------------------------------
156 +
157 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
158 AC_SUBST(GLIB_GENMARSHAL)
159
160 -dnl --------------------------------------------------
161 -
162 dnl Balsa support
163 dnl -------------------------------------------------
164
165 -enable_balsa=no
166 -AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
167 -dnl -------------------------------------------------
168 +AC_ARG_ENABLE([balsa],
169 + AS_HELP_STRING([--enable-balsa], [enable support for balsa]),,
170 + [enable_balsa=no])
171
172 +AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
173
174 dnl Sylpheed support
175 dnl -------------------------------------------------
176
177 -enable_sylpheed=yes
178 -AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
179 -dnl -------------------------------------------------
180 +AC_ARG_ENABLE([sylpheed],
181 + AS_HELP_STRING([--enable-sylpheed], [enable support for sylpheed]),,
182 + [enable_sylpheed=yes])
183
184 +AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
185
186 dnl Thunderbird support
187 dnl -------------------------------------------------
188 @@ -182,49 +181,45 @@
189
190 AC_DEFINE_UNQUOTED(THUNDERBIRD_NAME, "$THUNDERBIRD_NAME", [name of the Thunderbird binary])
191
192 -enable_thunderbird=yes
193 -AM_CONDITIONAL(HAVE_THUNDERBIRD, test "x$enable_thunderbird" = "xyes")
194 +AC_ARG_ENABLE([thunderbird],
195 + AS_HELP_STRING([--enable-thunderbird], [enable support for thunderbird]),,
196 + [enable_thunderbird=yes])
197
198 -dnl -------------------------------------------------
199 +AM_CONDITIONAL(HAVE_THUNDERBIRD, test "x$enable_thunderbird" = "xyes")
200
201 dnl Gajim support
202 dnl -------------------------------------------------
203
204 +AC_ARG_ENABLE([gajim],
205 + AS_HELP_STRING([--enable-gajim], [enable support for gajim]),,
206 + [enable_gajim=no])
207 +
208 +if test x$enable_gajim = xyes ; then
209 + PKG_CHECK_MODULES(DBUS, [dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED])
210 +
211 + AC_SUBST(DBUS_CFLAGS)
212 + AC_SUBST(DBUS_LIBS)
213 +fi
214 +
215 AC_ARG_WITH(gajim,
216 - [AS_HELP_STRING(--with-gajim,[Path to Gajim install prefix])],
217 - [GAJIM_PATH="$withval"],[GAJIM_PATH="$prefix"])
218 + AS_HELP_STRING([--with-gajim], [Path to gajim install prefix]),
219 + [GAJIM_PATH="$withval"], [GAJIM_PATH="$prefix"])
220
221 GAJIM_SHARE_DIR="$GAJIM_PATH"/share/gajim
222
223 -PKG_CHECK_MODULES(DBUS, dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED,
224 - [
225 - AC_SUBST(DBUS_CFLAGS)
226 - AC_SUBST(DBUS_LIBS)
227 - if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ;
228 - then
229 - enable_gajim=yes
230 - AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
231 - else
232 - echo "Building without Gajim support"
233 - enable_gajim=no
234 - fi
235 - ],
236 - [
237 - echo "Building without Gajim support"
238 - enable_gajim=no
239 - ]
240 -)
241 +if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ; then
242 + AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
243 +fi
244
245 AM_CONDITIONAL(HAVE_GAJIM, test "x$enable_gajim" = "xyes")
246
247 dnl -------------------------------------------------
248 -
249 IT_PROG_INTLTOOL([0.35.0])
250
251 GETTEXT_PACKAGE=nautilus-sendto
252 AC_SUBST(GETTEXT_PACKAGE)
253 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package])
254 -
255 +
256 AM_GLIB_GNU_GETTEXT
257
258 AC_PATH_PROG(GCONFTOOL, gconftool-2)
259
260
261
262 --
263 gentoo-commits@l.g.o mailing list