notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
2024-11-06 Today brought in a new category: filesystems. Sadly, the website did not process it well. I am working on that. It may take a few days.
2024-11-07 Commit processing is halted. I have a fix for the new category. It is making its way through the system.
UPDATE: the backend is processing the original filesystems commit now. It should take about an hour.
UPDATE: as of 20:30 UTC, the filesystems commit has been processed. Commit processing is now up to date.
Port details on branch 2024Q3
opencc Open Chinese Convert library and utilities
1.1.6 chinese on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.1.6Version of this port present on the latest quarterly branch.
Maintainer: lichray@gmail.com search for ports maintained by this maintainer
Port Added: 2024-08-16 15:45:26
Last Update: 2024-08-16 15:44:23
Commit Hash: 119f5eb
Also Listed In: converters
License: APACHE20
WWW:
https://github.com/BYVoid/OpenCC
Description:
Open Chinese Convert (OpenCC) is an open source Simplified-Traditional Chinese conversion project, providing high quality thesaurus and libopencc, as well as a conversion utility and a dictionary generator.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (72 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/zh-opencc-1.1.6/catalog.mk
  3. /usr/local/share/licenses/zh-opencc-1.1.6/LICENSE
  4. /usr/local/share/licenses/zh-opencc-1.1.6/APACHE20
  5. bin/opencc
  6. bin/opencc_dict
  7. bin/opencc_phrase_extract
  8. include/opencc/Common.hpp
  9. include/opencc/Config.hpp
  10. include/opencc/Conversion.hpp
  11. include/opencc/ConversionChain.hpp
  12. include/opencc/Converter.hpp
  13. include/opencc/Dict.hpp
  14. include/opencc/DictConverter.hpp
  15. include/opencc/DictEntry.hpp
  16. include/opencc/DictGroup.hpp
  17. include/opencc/Exception.hpp
  18. include/opencc/Export.hpp
  19. include/opencc/Lexicon.hpp
  20. include/opencc/MarisaDict.hpp
  21. include/opencc/MaxMatchSegmentation.hpp
  22. include/opencc/Optional.hpp
  23. include/opencc/PhraseExtract.hpp
  24. include/opencc/Segmentation.hpp
  25. include/opencc/Segments.hpp
  26. include/opencc/SerializableDict.hpp
  27. include/opencc/SerializedValues.hpp
  28. include/opencc/SimpleConverter.hpp
  29. include/opencc/TextDict.hpp
  30. include/opencc/UTF8StringSlice.hpp
  31. include/opencc/UTF8Util.hpp
  32. include/opencc/opencc.h
  33. include/opencc/opencc_config.h
  34. include/opencc/BinaryDict.hpp
  35. include/opencc/DartsDict.hpp
  36. lib/libopencc.so.1.1.5
  37. lib/libopencc.so.1.1
  38. lib/libopencc.so
  39. libdata/pkgconfig/opencc.pc
  40. share/opencc/STCharacters.ocd2
  41. share/opencc/STPhrases.ocd2
  42. share/opencc/TSCharacters.ocd2
  43. share/opencc/TSPhrases.ocd2
  44. share/opencc/TWVariants.ocd2
  45. share/opencc/TWVariantsRevPhrases.ocd2
  46. share/opencc/HKVariants.ocd2
  47. share/opencc/HKVariantsRevPhrases.ocd2
  48. share/opencc/JPVariants.ocd2
  49. share/opencc/JPShinjitaiCharacters.ocd2
  50. share/opencc/JPShinjitaiPhrases.ocd2
  51. share/opencc/TWPhrases.ocd2
  52. share/opencc/TWPhrasesRev.ocd2
  53. share/opencc/TWVariantsRev.ocd2
  54. share/opencc/HKVariantsRev.ocd2
  55. share/opencc/JPVariantsRev.ocd2
  56. share/opencc/hk2s.json
  57. share/opencc/hk2t.json
  58. share/opencc/jp2t.json
  59. share/opencc/s2hk.json
  60. share/opencc/s2t.json
  61. share/opencc/s2tw.json
  62. share/opencc/s2twp.json
  63. share/opencc/t2hk.json
  64. share/opencc/t2jp.json
  65. share/opencc/t2s.json
  66. share/opencc/t2tw.json
  67. share/opencc/tw2s.json
  68. share/opencc/tw2sp.json
  69. share/opencc/tw2t.json
  70. @owner
  71. @group
  72. @mode
Collapse this list.
Dependency lines:
  • zh-opencc>0:chinese/opencc
To install the port:
cd /usr/ports/chinese/opencc/ && make install clean
To add the package, run one of these commands:
  • pkg install chinese/opencc
  • pkg install zh-opencc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: zh-opencc
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1696659113 SHA256 (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 169bff4071ffe814dc16df7d180ff6610db418f4816e9c0ce02cf874bdf058df SIZE (BYVoid-OpenCC-ver.1.1.6_GH0.tar.gz) = 3325614

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for zh-opencc-1.1.6: TESTS=off: Build the unit testing ===> Use 'make config' to modify these settings
Options name:
chinese_opencc
USES:
cmake compiler:c++11-lib python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/BYVoid/OpenCC/tar.gz/ver.1.1.6?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.1.6
16 Aug 2024 15:44:23
commit hash: 119f5ebf6044f8c5333e1e8e1671532dd057eb17commit hash: 119f5ebf6044f8c5333e1e8e1671532dd057eb17commit hash: 119f5ebf6044f8c5333e1e8e1671532dd057eb17commit hash: 119f5ebf6044f8c5333e1e8e1671532dd057eb17 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
chinese/opencc: fix build with clang 19

Clang 19 now diagnoses incorrect member accesses, which causes
chinese/opencc to fail with an error similar to:

   
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:319:82:
error: cannot assign to non-static data member 'length' with const-qualified
type 'const SizeType' (aka 'const unsigned int')
      319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s =
rhs.s; length = rhs.length; }
          |                                                                     
     ~~~~~~ ^
   
/wrkdirs/usr/ports/chinese/opencc/work/OpenCC-ver.1.1.6/src/../deps/rapidjson-1.1.0/rapidjson/document.h:325:20:
note: non-static data member 'length' declared const here
      325 |     const SizeType length; //!< length of the string (excluding the
trailing NULL terminator)
          |     ~~~~~~~~~~~~~~~^~~~~~

Upstream rapidjson fixed this by removing the operator= function in
https://github.com/Tencent/rapidjson/commit/3b2441b8, so pull this in as
a patch and apply it.

PR:		280796
Approved by:	lichray@gmail.com (maintainer)
MFH:		2024Q3

(cherry picked from commit 438b693be17d522b4a9a6620b5848ae965937511)

Number of commits found: 1