freedesktop: some patches