Received: by mail.netbsd.org (Postfix, from userid 605) id 1F00684D8C; Tue, 9 Jun 2020 13:53:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 95ED684D67 for ; Tue, 9 Jun 2020 13:53:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id jlNKeVOXk0mA for ; Tue, 9 Jun 2020 13:53:01 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C80F184D20 for ; Tue, 9 Jun 2020 13:53:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B73B9FB27; Tue, 9 Jun 2020 13:53:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1591710780262690" MIME-Version: 1.0 Date: Tue, 9 Jun 2020 13:53:00 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/textproc To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200609135300.B73B9FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1591710780262690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Tue Jun 9 13:53:00 UTC 2020 Modified Files: pkgsrc/textproc: Makefile Added Files: pkgsrc/textproc/uchardet: DESCR Makefile PLIST buildlink3.mk distinfo Log Message: textproc: Add uchardet uchardet is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are iconv-compatible. uchardet started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation. To generate a diff of this commit: cvs rdiff -u -r1.1144 -r1.1145 pkgsrc/textproc/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/uchardet/DESCR \ pkgsrc/textproc/uchardet/Makefile pkgsrc/textproc/uchardet/PLIST \ pkgsrc/textproc/uchardet/buildlink3.mk pkgsrc/textproc/uchardet/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1591710780262690 Content-Disposition: inline Content-Length: 3724 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/Makefile diff -u pkgsrc/textproc/Makefile:1.1144 pkgsrc/textproc/Makefile:1.1145 --- pkgsrc/textproc/Makefile:1.1144 Fri Jun 5 22:09:29 2020 +++ pkgsrc/textproc/Makefile Tue Jun 9 13:53:00 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1144 2020/06/05 22:09:29 sjmulder Exp $ +# $NetBSD: Makefile,v 1.1145 2020/06/09 13:53:00 nia Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -1121,6 +1121,7 @@ SUBDIR+= trang SUBDIR+= translate-shell SUBDIR+= translate-toolkit SUBDIR+= troffcvt +SUBDIR+= uchardet SUBDIR+= unac SUBDIR+= uncrustify SUBDIR+= uni2ascii Added files: Index: pkgsrc/textproc/uchardet/DESCR diff -u /dev/null pkgsrc/textproc/uchardet/DESCR:1.1 --- /dev/null Tue Jun 9 13:53:00 2020 +++ pkgsrc/textproc/uchardet/DESCR Tue Jun 9 13:53:00 2020 @@ -0,0 +1,8 @@ +uchardet is an encoding detector library, which takes a sequence of bytes +in an unknown character encoding without any additional information, and +attempts to determine the encoding of the text. Returned encoding names are +iconv-compatible. + +uchardet started as a C language binding of the original C++ implementation +of the universal charset detection library by Mozilla. It can now detect +more charsets, and more reliably than the original implementation. Index: pkgsrc/textproc/uchardet/Makefile diff -u /dev/null pkgsrc/textproc/uchardet/Makefile:1.1 --- /dev/null Tue Jun 9 13:53:00 2020 +++ pkgsrc/textproc/uchardet/Makefile Tue Jun 9 13:53:00 2020 @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2020/06/09 13:53:00 nia Exp $ + +DISTNAME= uchardet-0.0.7 +CATEGORIES= textproc +MASTER_SITES= https://www.freedesktop.org/software/uchardet/releases/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.freedesktop.org/wiki/Software/uchardet/ +COMMENT= Encoding detector library ported from Mozilla +LICENSE= mpl-1.1 + +USE_CMAKE= yes +USE_LANGUAGES= c c++ + +TEST_TARGET= test + +# C++11 +GCC_REQD+= 4.7 + +PKGCONFIG_OVERRIDE+= uchardet.pc.in + +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/uchardet/PLIST diff -u /dev/null pkgsrc/textproc/uchardet/PLIST:1.1 --- /dev/null Tue Jun 9 13:53:00 2020 +++ pkgsrc/textproc/uchardet/PLIST Tue Jun 9 13:53:00 2020 @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2020/06/09 13:53:00 nia Exp $ +bin/uchardet +include/uchardet/uchardet.h +lib/libuchardet.a +lib/libuchardet.so +lib/libuchardet.so.0 +lib/libuchardet.so.${PKGVERSION} +lib/pkgconfig/uchardet.pc +man/man1/uchardet.1 Index: pkgsrc/textproc/uchardet/buildlink3.mk diff -u /dev/null pkgsrc/textproc/uchardet/buildlink3.mk:1.1 --- /dev/null Tue Jun 9 13:53:00 2020 +++ pkgsrc/textproc/uchardet/buildlink3.mk Tue Jun 9 13:53:00 2020 @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2020/06/09 13:53:00 nia Exp $ + +BUILDLINK_TREE+= uchardet + +.if !defined(UCHARDET_BUILDLINK3_MK) +UCHARDET_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.uchardet+= uchardet>=0.0.7 +BUILDLINK_PKGSRCDIR.uchardet?= ../../textproc/uchardet +.endif # UCHARDET_BUILDLINK3_MK + +BUILDLINK_TREE+= -uchardet Index: pkgsrc/textproc/uchardet/distinfo diff -u /dev/null pkgsrc/textproc/uchardet/distinfo:1.1 --- /dev/null Tue Jun 9 13:53:00 2020 +++ pkgsrc/textproc/uchardet/distinfo Tue Jun 9 13:53:00 2020 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/06/09 13:53:00 nia Exp $ + +SHA1 (uchardet-0.0.7.tar.xz) = de19b7e614f11572582a0d47f7d5d6f8ec649199 +RMD160 (uchardet-0.0.7.tar.xz) = 7494fefb099cb151ce1cabb7228a78c80f7be911 +SHA512 (uchardet-0.0.7.tar.xz) = ddb7b63dd09c1d9acbe620d86217e583d9aa5340780ab4010ec9faa4fd331498859d5efa7829bf8847da89325accf8f7304b51d410210178fc1ffa6658064a6f +Size (uchardet-0.0.7.tar.xz) = 215492 bytes --_----------=_1591710780262690--