anchor.diff:            mv "$f" "''${f/org\.cups\./}"
           fi
         done
  +    '' + optionalString stdenv.isLinux ''
  +      # Use xdg-open when on Linux
  +      substituteInPlace $out/share/applications/cups.desktop \
  +        --replace "Exec=htmlview" "Exec=xdg-open"
       '';
   
     meta = {
  
positive.code:       "CUPS_PRIMARY_SYSTEM_GROUP=root"
      ];
  
    postInstall =
      ''
        # Delete obsolete stuff that conflicts with cups-filters.
        rm -rf $out/share/cups/banners $out/share/cups/data/testprint
  
  
negative.code:   };
  
    buildInputs = [ pkgconfig zlib libjpeg libpng libtiff libusb gnutls avahi libpaper ]
      ++ optionals stdenv.isLinux [ pam dbus.libs acl ];
  
    propagatedBuildInputs = [ gmp ];
  
  