Sat Feb 20 13:56:07 2021 UTC ()
opencc: Update to 1.1.1

Changelog:
Not available in English or Japanese, only in Chinese.
Some functions are added at least.


(ryoon)
diff -r1.3 -r1.4 pkgsrc/converters/opencc/Makefile
diff -r1.3 -r1.4 pkgsrc/converters/opencc/distinfo
diff -r1.1 -r1.2 pkgsrc/converters/opencc/PLIST
diff -r1.1 -r1.2 pkgsrc/converters/opencc/buildlink3.mk
diff -r1.1 -r0 pkgsrc/converters/opencc/patches/patch-src_symbols.cmake

cvs diff -r1.3 -r1.4 pkgsrc/converters/opencc/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/opencc/Makefile 2015/03/15 20:03:24 1.3
+++ pkgsrc/converters/opencc/Makefile 2021/02/20 13:56:07 1.4
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.3 2015/03/15 20:03:24 hiramatsu Exp $ 1# $NetBSD: Makefile,v 1.4 2021/02/20 13:56:07 ryoon Exp $
2 2
3DISTNAME= opencc-0.4.2 3GITHUB_PROJECT= OpenCC
 4GITHUB_TAG= ver.${PKGVERSION_NOREV}
 5DISTNAME= OpenCC-ver.1.1.1
 6PKGNAME= ${DISTNAME:S/OpenCC-ver./opencc-/}
4CATEGORIES= converters chinese 7CATEGORIES= converters chinese
5MASTER_SITES= http://dl.bintray.com/byvoid/opencc/ 8MASTER_SITES= ${MASTER_SITE_GITHUB:=BYVoid/}
6 9
7MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://opencc.byvoid.com/ 11HOMEPAGE= http://opencc.byvoid.com/
9COMMENT= Convertion between Traditional and Simplified Chinese 12COMMENT= Convertion between Traditional and Simplified Chinese
10LICENSE= apache-2.0 13LICENSE= apache-2.0
11 14
 15WRKSRC= ${WRKDIR}/${DISTNAME} # GitHub rule is not relevant for this.
 16
12USE_CMAKE= yes 17USE_CMAKE= yes
13USE_TOOLS+= pkg-config 18USE_TOOLS+= pkg-config
14USE_LANGUAGES= c 19USE_LANGUAGES= c c++
15 20
16PKGCONFIG_OVERRIDE+= opencc.pc.in 21PKGCONFIG_OVERRIDE+= opencc.pc.in
17 22
18USE_GCC_RUNTIME= yes 23USE_GCC_RUNTIME= yes
19 24
20MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/src 25MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/src
21 26
22TEST_TARGET= test 27TEST_TARGET= test
23 28
24SUBST_CLASSES+= mandir 
25SUBST_STAGE.mandir= pre-configure 
26SUBST_FILES.mandir= doc/CMakeLists.txt 
27SUBST_SED.mandir= -e 's,$${DIR_SHARE}/man,${PKGMANDIR},' 
28 
29.include "../../mk/pthread.buildlink3.mk" 29.include "../../mk/pthread.buildlink3.mk"
30.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/converters/opencc/distinfo (expand / switch to unified diff)

--- pkgsrc/converters/opencc/distinfo 2015/11/03 01:43:50 1.3
+++ pkgsrc/converters/opencc/distinfo 2021/02/20 13:56:07 1.4
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.3 2015/11/03 01:43:50 agc Exp $ 1$NetBSD: distinfo,v 1.4 2021/02/20 13:56:07 ryoon Exp $
2 2
3SHA1 (opencc-0.4.2.tar.gz) = 1e4216e5fe21b16836063f23d0341cb54dbce97c 3SHA1 (OpenCC-ver.1.1.1.tar.gz) = e183302ee93e300a954c8f79050fed0a550c7622
4RMD160 (opencc-0.4.2.tar.gz) = 9aed1e700250601d653baf2a7284b489441a08be 4RMD160 (OpenCC-ver.1.1.1.tar.gz) = 16934c802a3c7d3e9582edf6f04bfbc11a934dee
5SHA512 (opencc-0.4.2.tar.gz) = 27c817b65dcba894a53f0d2e3ee675f88cd9df40e027184b333be3f20f14206136a42db9cfb0e2e0636a54434778e4785a368ed29a42350de1c03c431a28773c 5SHA512 (OpenCC-ver.1.1.1.tar.gz) = 48ccf61f63cf0a1c0fc484a52ae1d406a28949a52be7d7d1595e6aaf87f40ac47ea4697308441a9381f0cd6f404ee5a28b85a2fa2f288c4b3933be36f4a41363
6Size (opencc-0.4.2.tar.gz) = 725353 bytes 6Size (OpenCC-ver.1.1.1.tar.gz) = 2212256 bytes
7SHA1 (patch-src_symbols.cmake) = e7ef6f750532e8a6cbdc9ad003d76853336e9bd7 

cvs diff -r1.1 -r1.2 pkgsrc/converters/opencc/PLIST (expand / switch to unified diff)

--- pkgsrc/converters/opencc/PLIST 2014/12/01 00:05:38 1.1
+++ pkgsrc/converters/opencc/PLIST 2021/02/20 13:56:07 1.2
@@ -1,36 +1,63 @@ @@ -1,36 +1,63 @@
1@comment $NetBSD: PLIST,v 1.1 2014/12/01 00:05:38 obache Exp $ 1@comment $NetBSD: PLIST,v 1.2 2021/02/20 13:56:07 ryoon Exp $
2bin/opencc 2bin/opencc
3bin/opencc_dict 3bin/opencc_dict
 4bin/opencc_phrase_extract
 5include/opencc/BinaryDict.hpp
 6include/opencc/Common.hpp
 7include/opencc/Config.hpp
 8include/opencc/Conversion.hpp
 9include/opencc/ConversionChain.hpp
 10include/opencc/Converter.hpp
 11include/opencc/DartsDict.hpp
 12include/opencc/Dict.hpp
 13include/opencc/DictConverter.hpp
 14include/opencc/DictEntry.hpp
 15include/opencc/DictGroup.hpp
 16include/opencc/Exception.hpp
 17include/opencc/Export.hpp
 18include/opencc/Lexicon.hpp
 19include/opencc/MarisaDict.hpp
 20include/opencc/MaxMatchSegmentation.hpp
 21include/opencc/Optional.hpp
 22include/opencc/PhraseExtract.hpp
 23include/opencc/Segmentation.hpp
 24include/opencc/Segments.hpp
 25include/opencc/SerializableDict.hpp
 26include/opencc/SerializedValues.hpp
 27include/opencc/SimpleConverter.hpp
 28include/opencc/TextDict.hpp
 29include/opencc/UTF8StringSlice.hpp
 30include/opencc/UTF8Util.hpp
4include/opencc/opencc.h 31include/opencc/opencc.h
5include/opencc/opencc_types.h 
6include/opencc/openccxx.h 
7lib/libopencc.a 
8lib/libopencc.so 32lib/libopencc.so
9lib/libopencc.so.1 33lib/libopencc.so.1.1
10lib/libopencc.so.1.0.0 34lib/libopencc.so.${PKGVERSION}
11lib/pkgconfig/opencc.pc 35lib/pkgconfig/opencc.pc
12man/man1/opencc.1 36share/opencc/HKVariants.ocd2
13man/man1/opencc_dict.1 37share/opencc/HKVariantsRev.ocd2
14share/opencc/from_tw_phrases.txt 38share/opencc/HKVariantsRevPhrases.ocd2
15share/opencc/from_tw_variants.txt 39share/opencc/JPShinjitaiCharacters.ocd2
16share/opencc/mix2zhs.ini 40share/opencc/JPShinjitaiPhrases.ocd2
17share/opencc/mix2zht.ini 41share/opencc/JPVariants.ocd2
18share/opencc/simp_to_trad_characters.ocd 42share/opencc/JPVariantsRev.ocd2
19share/opencc/simp_to_trad_phrases.ocd 43share/opencc/STCharacters.ocd2
20share/opencc/to_cn_phrases.txt 44share/opencc/STPhrases.ocd2
21share/opencc/to_tw_phrases.txt 45share/opencc/TSCharacters.ocd2
22share/opencc/to_tw_variants.txt 46share/opencc/TSPhrases.ocd2
23share/opencc/trad_to_simp_characters.ocd 47share/opencc/TWPhrases.ocd2
24share/opencc/trad_to_simp_phrases.ocd 48share/opencc/TWPhrasesRev.ocd2
25share/opencc/zhs2zht.ini 49share/opencc/TWVariants.ocd2
26share/opencc/zhs2zhtw_p.ini 50share/opencc/TWVariantsRev.ocd2
27share/opencc/zhs2zhtw_v.ini 51share/opencc/TWVariantsRevPhrases.ocd2
28share/opencc/zhs2zhtw_vp.ini 52share/opencc/hk2s.json
29share/opencc/zht2zhs.ini 53share/opencc/jp2t.json
30share/opencc/zht2zhtw_p.ini 54share/opencc/s2hk.json
31share/opencc/zht2zhtw_v.ini 55share/opencc/s2t.json
32share/opencc/zht2zhtw_vp.ini 56share/opencc/s2tw.json
33share/opencc/zhtw2zhcn_s.ini 57share/opencc/s2twp.json
34share/opencc/zhtw2zhcn_t.ini 58share/opencc/t2hk.json
35share/opencc/zhtw2zhs.ini 59share/opencc/t2jp.json
36share/opencc/zhtw2zht.ini 60share/opencc/t2s.json
 61share/opencc/t2tw.json
 62share/opencc/tw2s.json
 63share/opencc/tw2sp.json

cvs diff -r1.1 -r1.2 pkgsrc/converters/opencc/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/converters/opencc/buildlink3.mk 2014/12/01 00:05:38 1.1
+++ pkgsrc/converters/opencc/buildlink3.mk 2021/02/20 13:56:07 1.2
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1# $NetBSD: buildlink3.mk,v 1.1 2014/12/01 00:05:38 obache Exp $ 1# $NetBSD: buildlink3.mk,v 1.2 2021/02/20 13:56:07 ryoon Exp $
2# 2#
3 3
4BUILDLINK_TREE+= opencc 4BUILDLINK_TREE+= opencc
5 5
6.if !defined(OPENCC_BUILDLINK3_MK) 6.if !defined(OPENCC_BUILDLINK3_MK)
7OPENCC_BUILDLINK3_MK:= 7OPENCC_BUILDLINK3_MK:=
8 8
9BUILDLINK_API_DEPENDS.opencc+= opencc>=0.4.2 9BUILDLINK_API_DEPENDS.opencc+= opencc>=1.1.1
10BUILDLINK_PKGSRCDIR.opencc?= ../../converters/opencc 10BUILDLINK_PKGSRCDIR.opencc?= ../../converters/opencc
11.endif # OPENCC_BUILDLINK3_MK 11.endif # OPENCC_BUILDLINK3_MK
12 12
13BUILDLINK_TREE+= -opencc 13BUILDLINK_TREE+= -opencc

File Deleted: pkgsrc/converters/opencc/patches/Attic/patch-src_symbols.cmake