Cuneiform is an multi-language OCR system originally developed and open sourced
by Cognitive Technologies. Cuneiform was originally a Windows program, which
was ported to Linux by Jussi Pakkanen.
WWW: https://launchpad.net/cuneiform-linux
===> The following configuration options are available for cuneiform-1.1.0_6:
IMAGEMAGICK=off: ImageMagick image processing support
===> Use 'make config' to modify these settings
Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.
Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.
Chase these changes in all the ports that using IM6.
PR: 225102 (based on, only the version update) [1]
Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
graphics/cuneiform: Slap on a band-aid and fix build with Clang 6
- Code base compiles under USE_CXXSTD=gnu++98
- Use options helpers
- Fix no-op IMAGEMAGICK option; the patch to disable it no longer
did anything. With ImageMagick installed in the build environment
ImageMagick support was enabled regardless of option state
- Deprecate. It's unmaintained upstream and the build problems will
likely get worse over time
- Take maintainership
http://beefy11.nyi.freebsd.org/data/head-i386-default/p475217_s336659/logs/cuneiform-1.1.0_4.log
PR: 216197
Fix build with base Clang on 11.1 -- this probably does not cover all of the
problems listed in the PR, but it's a step. The port remains unmaintained,
upstream hasn't been maintained in ~8 years, should probably be deprecated
instead.
PR: 216197
Approved by: tcberner (mentor, implicit)
During the exp-run in bug 208158, it was found that graphics/cuneiform
gives errors with libc++ 3.8.0:
cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp:597:32: error: call to
'abs' is ambiguous
wNewHeight = (mbMarginsFlag ? abs(mrMargins.rmBottomMarg -
mrMargins.rmTopMarg) : mpSourceDIB->GetLinesNumber());
^~~
This is because abs() is being called an unsigned argument. Fix this by
casting the argument to the appropriate signed type.
Approved by: samm@os2.kiev.ua (maintainer)
MFH: 2016Q2
Update ImageMagick to 6.9.0.4.
- Normalize the ImageMagick library name so it stays the same regardless of
what the 16-bit and HDRI option are set to [1]. Teach cmake to look for
the new name. Bump ports that link to the libraries due to this.
- As a result do away with the "HALFSUPPORTED" option block, and list
16-bit and HDRI with the other options.
- ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG
support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2
a mandatory dependency (instead of only when the SVG option was selected).
- Don't touch .keep files in the modules directory, there files there so
it useless.
PR: 194949 [1]
PR: 195227 [2]
Requested by: many [1]
Submitted by: software-freebsd@interfasys.ch [2]
Update to 6.8.9-3 [1][3].
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]
JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
anymore at run-time.
PR: 185462 [1]
(Only the first 15 lines of the commit message are shown above )
. fix build with clang (error: character too large for enclosing character
literal type);
. add LICENSE (BSD), bump PORTREVISION;
. remove unneeded WRKSRC creation;
. use new LIB_DEPENDS syntax.
PR: ports/181611
Submitted by: bsam (me)
Approved by: Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Cuneiform is an multi-language OCR system originally developed and open sourced
by Cognitive Technologies. Cuneiform was originally a Windows program, which
was ported to Linux by Jussi Pakkanen.
WWW: https://launchpad.net/cuneiform-linux
PR: 126753
Submitted by: Alex Samorukov <samm@os2.kiev.ua>