anchor.diff:    ];
   
     postPatch =
  -    /* Regenerate gdbus-codegen files to allow using any glib version
  +    /* XXX: disable for release tarballs */ ''
  +      USE_GNOME2_MACROS=1 gnome-autogen.sh
  +    '' +
  +    /* XXX: enable for release tarballs
  +       Regenerate gdbus-codegen files to allow using any glib version
       	 https://bugzilla.gnome.org/show_bug.cgi?id=758096 */ ''
  -    	rm -v lib/bluetooth-client-glue.{c,h}
  +    	#rm -v lib/bluetooth-client-glue.{c,h}
       '';
   
     configureFlags = [
  
positive.code: 
  let
    inherit (stdenv.lib)
      enFlag;
  in
  
  stdenv.mkDerivation rec {
    name = "gnome-bluetooth-${version}";
    versionMajor = "3.18";
    versionMinor = "3";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/gnome-bluetooth/${versionMajor}/${name}.tar.xz";
      sha256 = "e481b70423e52adc3c3aa919eeb033b47f9cd1598d6c0c7f384c0bd10f4e8ce3";
    };
  
    nativeBuildInputs = [
      intltool
      itstool
      makeWrapper
  
negative.code:     "--disable-iso-c"
      "--disable-documentation"
    ];
  
    postConfigure =
      /* https://bugzilla.gnome.org/show_bug.cgi?id=655517 */ ''
        sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
      '';
  
    preFixup = ''
      wrapProgram $out/bin/bluetooth-sendto \
  