package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / midori / 0001-disable-libnotify.patch
blob830ecff5e8f9750b6584b80a6f30ded1a023eea7
1 Disable libnotify support, we've got no package and it's not very useful
2 in embedded targets anyway.
3 The webmedia extension requires libnotify as well.
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 diff -Nura midori-0.5.9.orig/CMakeLists.txt midori-0.5.9/CMakeLists.txt
8 --- midori-0.5.9.orig/CMakeLists.txt 2015-03-30 15:57:29.554632932 -0300
9 +++ midori-0.5.9/CMakeLists.txt 2015-03-30 15:57:35.299830192 -0300
10 @@ -143,16 +143,7 @@
11 endif ()
12 endif ()
14 -if (WIN32)
15 - add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
16 -else ()
17 - pkg_check_modules(NOTIFY REQUIRED libnotify)
18 - add_definitions("-DLIBNOTIFY_VERSION=\"${NOTIFY_VERSION}\"")
19 - add_definitions("-DHAVE_LIBNOTIFY")
20 - set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${NOTIFY_INCLUDE_DIRS}")
21 - set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${NOTIFY_LIBRARIES}")
22 - set(PKGS ${PKGS} libnotify)
23 -endif ()
24 +add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
26 option(USE_GTK3 "Use GTK+3" OFF)
27 option(HALF_BRO_INCOM_WEBKIT2 "Serve as a guniea pig" OFF)
28 diff -Nura midori-0.5.9.orig/extensions/CMakeLists.txt midori-0.5.9/extensions/CMakeLists.txt
29 --- midori-0.5.9.orig/extensions/CMakeLists.txt 2015-03-30 15:57:29.544632589 -0300
30 +++ midori-0.5.9/extensions/CMakeLists.txt 2015-03-30 15:57:51.777395949 -0300
31 @@ -24,11 +24,7 @@
33 endif ()
35 -# FIXME: re-enable webmedia extension
36 -# once we have working notifications on win
37 -if (WIN32)
38 - list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
39 -endif()
40 +list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
42 foreach(UNIT_SRC ${EXTENSIONS})
43 string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)