<commit_before>require xorg-lib-common.inc
DESCRIPTION = "X Printing Extension (Xprint) client library"
DEPENDS += "libxext libxau printproto"
#PE = "1"
#PR = "${INC_PR}.0"

SRC_URI[archive.md5sum] = "7ae1d63748e79086bd51a633da1ff1a9"
SRC_URI[archive.sha256sum] = "71d1f260005616d646b8c8788365f2b7d93911dac57bb53b65753d9f9e6443d2"

CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"

XORG_PN = "libXp"
#
# Meta-debian
#
inherit debian-package
DPR = "0"
DEBIAN_PATCH_TYPE = "quilt"
LIC_FILES_CHKSUM = "file://COPYING;md5=9504a1264f5ddd4949254a57c0f8d6bb"<commit_msg>libxp: Refine recipe follow new policy<commit_after>require xorg-lib-common.inc

DESCRIPTION = "X Printing Extension (Xprint) client library"

PR = "${INC_PR}.0"

LIC_FILES_CHKSUM = "file://COPYING;md5=9504a1264f5ddd4949254a57c0f8d6bb"

DEPENDS += "libxext libxau printproto"

CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"

# There is no debian patch files
DEBIAN_PATCH_TYPE = "quilt"

# Change package follow Debian
DEBIANNAME_${PN}-dbg = "${PN}6-dbg"

EXTRA_OECONF += "--enable-static"

# Exclude libXp.la and man3 follow Debian
do_install_append() {
	rm -rf ${D}${libdir}/libXp.la
	rm -rf ${D}${mandir}/man3
}
{'fraction_non_alphanumeric': 0.13987138263665594, 'fraction_numerical': 0.10369774919614148, 'mean_word_length': 5.99438202247191, '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': '5922950', 'n_tokens_mistral': 603, 'n_tokens_neox': 540, 'n_words': 92}