pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc
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.
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@localhost
+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
Home |
Main Index |
Thread Index |
Old Index