 +libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation
  endif
  
- libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
+ if HAVE_LIBMOUNT
 diff --git a/gio/Makefile.in b/gio/Makefile.in
-index f5caca2..6043d76 100644
+index a96f846..656f73a 100644
 --- a/gio/Makefile.in
 +++ b/gio/Makefile.in
-@@ -181,7 +181,6 @@ TESTS = $(am__EXEEXT_2)
- @OS_UNIX_TRUE@am__append_29 = gdesktopappinfo.c
+@@ -172,7 +172,6 @@ TESTS = $(am__EXEEXT_2)
+ @OS_UNIX_TRUE@am__append_29 = xdgmime/libxdgmime.la
  @OS_UNIX_TRUE@am__append_30 = xdgmime/libxdgmime.la
- @OS_UNIX_TRUE@am__append_31 = xdgmime/libxdgmime.la
+ @OS_UNIX_TRUE@am__append_31 = $(unix_appinfo_sources)
 -@OS_COCOA_TRUE@@OS_UNIX_TRUE@am__append_32 = gcocoanotificationbackend.m
  @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@am__append_33 = \
  @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	gnetworkmonitornetlink.c \
  @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	gnetworkmonitornetlink.h \
-@@ -315,7 +314,7 @@ am__libgio_2_0_la_SOURCES_DIST = gappinfo.c gappinfoprivate.h \
- 	gunixvolume.c gunixvolume.h gunixvolumemonitor.c \
- 	gunixvolumemonitor.h gunixinputstream.c gunixoutputstream.c \
- 	gcontenttype.c gcontenttypeprivate.h gfdonotificationbackend.c \
--	ggtknotificationbackend.c gcocoanotificationbackend.m \
-+	ggtknotificationbackend.c \
- 	gnetworkmonitornetlink.c gnetworkmonitornetlink.h \
- 	gnetworkmonitornm.c gnetworkmonitornm.h gdbusdaemon.c \
- 	gdbusdaemon.h gdbus-daemon-generated.c \
-@@ -371,7 +370,6 @@ am__libgio_2_0_la_SOURCES_DIST = gappinfo.c gappinfoprivate.h \
- @OS_WIN32_TRUE@am__objects_2 = libgio_2_0_la-gwin32appinfo.lo
- am__objects_3 = $(am__objects_1) $(am__objects_2)
- am__objects_4 =
--@OS_COCOA_TRUE@@OS_UNIX_TRUE@am__objects_5 = libgio_2_0_la-gcocoanotificationbackend.lo
- @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@am__objects_6 = libgio_2_0_la-gnetworkmonitornetlink.lo \
+@@ -358,7 +357,7 @@ am__libgio_2_0_la_SOURCES_DIST = gappinfo.c gappinfoprivate.h \
+ 	gportalsupport.h gnetworkmonitorportal.c \
+ 	gnetworkmonitorportal.h gproxyresolverportal.c \
+ 	gproxyresolverportal.h xdp-dbus.c xdp-dbus.h \
+-	gcocoanotificationbackend.m gnetworkmonitornetlink.c \
++	gnetworkmonitornetlink.c \
+ 	gnetworkmonitornetlink.h gnetworkmonitornm.c \
+ 	gnetworkmonitornm.h gdbusdaemon.c gdbusdaemon.h \
+ 	gdbus-daemon-generated.c gdbus-daemon-generated.h \
+@@ -519,7 +518,6 @@ am__objects_11 = libgio_2_0_la-xdp-dbus.lo
+ am__objects_12 = libgio_2_0_la-gnetworkmonitorportal.lo \
+ 	libgio_2_0_la-gproxyresolverportal.lo $(am__objects_11) \
+ 	$(am__objects_1)
+-@OS_COCOA_TRUE@@OS_UNIX_TRUE@am__objects_13 = libgio_2_0_la-gcocoanotificationbackend.lo
+ @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@am__objects_14 = libgio_2_0_la-gnetworkmonitornetlink.lo \
  @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	libgio_2_0_la-gnetworkmonitornm.lo \
- @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	$(am__objects_4)
-@@ -2204,7 +2202,6 @@ distclean-compile:
+ @HAVE_NETLINK_TRUE@@OS_UNIX_TRUE@	$(am__objects_1)
+@@ -2354,7 +2352,6 @@ distclean-compile:
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gbytesicon.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gcancellable.Plo@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgio_2_0_la-gcharsetconverter.Plo@am__quote@

 #ifdef G_PLATFORM_WIN32
 
 #include <windows.h>
@@ -1088,9 +1084,6 @@ _g_io_modules_ensure_loaded (void)
       g_type_ensure (g_fdo_notification_backend_get_type ());
       g_type_ensure (g_gtk_notification_backend_get_type ());
 #endif
-#ifdef HAVE_COCOA
-      g_type_ensure (g_cocoa_notification_backend_get_type ());

 
 AC_SUBST([COCOA_LIBS])
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 242f8ea..7bae14d 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -279,10 +279,6 @@ unix_sources = \
 
 appinfo_sources += $(unix_appinfo_sources)
 
-if OS_COCOA
-unix_sources += gcocoanotificationbackend.m
