<commit_before>require gvfs.inc

BPN = "gvfs"

DEPENDS = "gvfs gnome-disk-utility"

PR = "${INC_PR}.3"

# we need gdu files only: reduce files to delete in libexecdir
EXTRA_OECONF += "--disable-gphoto2"

do_install_append() {
	rm -rf ${D}${sysconfdir}
	rm -rf ${D}${bindir}
	rm -rf ${D}${includedir}
	rm -rf ${D}${libdir}/gio
	rm -rf ${D}${libdir}/lib*
	rmdir --ignore-fail-on-non-empty ${D}${libdir}
	rm -rf ${D}${datadir}/gvfs/mounts
	rm -rf ${D}${datadir}/glib-2.0
	rm -rf ${D}${datadir}/GConf
	rm -f ${D}${datadir}/dbus-1/services/gvfs-*
	rm -rf ${D}${datadir}/locale
	rm -f ${D}${libexecdir}/gvfsd*
	rm -f ${D}${libexecdir}/gvfs-fuse-daemon
	rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor<commit_msg>gvfs-gdu-volume-monitor: disable afc to fix build<commit_after>require gvfs.inc

BPN = "gvfs"

DEPENDS = "gvfs gnome-disk-utility"

PR = "${INC_PR}.4"

# we need gdu files only: reduce files to delete in libexecdir
EXTRA_OECONF += "--disable-gphoto2 --disable-afc"

do_install_append() {
	rm -rf ${D}${sysconfdir}
	rm -rf ${D}${bindir}
	rm -rf ${D}${includedir}
	rm -rf ${D}${libdir}/gio
	rm -rf ${D}${libdir}/lib*
	rmdir --ignore-fail-on-non-empty ${D}${libdir}
	rm -rf ${D}${datadir}/gvfs/mounts
	rm -rf ${D}${datadir}/glib-2.0
	rm -rf ${D}${datadir}/GConf
	rm -f ${D}${datadir}/dbus-1/services/gvfs-*
	rm -rf ${D}${datadir}/locale
	rm -f ${D}${libexecdir}/gvfsd*
	rm -f ${D}${libexecdir}/gvfs-fuse-daemon
	rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
{'fraction_non_alphanumeric': 0.22108843537414966, 'fraction_numerical': 0.00816326530612245, 'mean_word_length': 4.125435540069686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2767913', 'n_tokens_mistral': 700, 'n_tokens_neox': 691, 'n_words': 135}