1 |
compnerd 08/04/20 04:32:39 |
2 |
|
3 |
Added: transmission-1.11-libnotify-option.patch |
4 |
Log: |
5 |
version bump from upstream |
6 |
(Portage version: 2.1.5_rc2) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 net-p2p/transmission/files/transmission-1.11-libnotify-option.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/files/transmission-1.11-libnotify-option.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/transmission/files/transmission-1.11-libnotify-option.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: transmission-1.11-libnotify-option.patch |
15 |
=================================================================== |
16 |
--- /tmp/configure.ac.orig 2008-04-19 20:47:55.000000000 -0700 |
17 |
+++ /tmp/configure.ac 2008-04-19 21:10:12.000000000 -0700 |
18 |
@@ -106,13 +106,16 @@ |
19 |
AC_DEFINE([HAVE_GIO], 1) |
20 |
fi |
21 |
|
22 |
-PKG_CHECK_MODULES([LIBNOTIFY], |
23 |
- [libnotify >= $LIBNOTIFY_MINIMUM], |
24 |
- [use_libnotify=yes], |
25 |
- [use_libnotify=no]) |
26 |
-AC_SUBST(LIBNOTIFY_LIBS) |
27 |
-AC_SUBST(LIBNOTIFY_CFLAGS) |
28 |
-if test "x$use_libnotify" = "xyes"; then |
29 |
+AC_ARG_ENABLE([libnotify], |
30 |
+ AS_HELP_STRING([--enable-libnotify], [enable notifications]),, |
31 |
+ [enable_libnotify=yes]) |
32 |
+ |
33 |
+if test x$enable_libnotify = xyes ; then |
34 |
+ PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= $LIBNOTIFY_MINIMUM]) |
35 |
+ |
36 |
+ AC_SUBST(LIBNOTIFY_LIBS) |
37 |
+ AC_SUBST(LIBNOTIFY_CFLAGS) |
38 |
+ |
39 |
AC_DEFINE([HAVE_LIBNOTIFY], 1) |
40 |
fi |
41 |
|
42 |
@@ -288,7 +291,7 @@ |
43 |
Build Daemon: ${build_daemon} |
44 |
Build BeOS client: ${build_beos} |
45 |
Build GTK+ client: ${build_gtk} |
46 |
- ... libnotify support: ${use_libnotify} |
47 |
+ ... libnotify support: ${enable_libnotify} |
48 |
... gio support: ${use_gio} |
49 |
Build OS X client: ${build_darwin} |
50 |
Build wxWidgets client: ${build_wx} |
51 |
|
52 |
|
53 |
|
54 |
-- |
55 |
gentoo-commits@l.g.o mailing list |