Info2: << Package: lcms2mt2 # when updating version, check that mupdf still builds Version: 2.12-2.13alpha Revision: 1 Type: gsversion (10.02.0) Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10020/ghostscript-%type_raw[gsversion].tar.xz Source-Checksum: SHA256(fa08ce016b30d26293dc322c6353691aced94fd3667a68ede7ff5395d71fcd0b) BuildDepends: << fink (>= 0.32), fink-package-precedence << Depends: %n-shlibs (= %v-%r) BuildDependsOnly: true SourceDirectory: ghostscript-%type_raw[gsversion]/lcms2mt PatchFile: %n.patch PatchFile-MD5: 3863eb43b4a0b30256d7934da570037a PatchScript: << %{default_script} chmod +x configure # only bothering with the library at this time, not the # utility programs perl -ni -e 'print unless /ac_config_files plugins/' configure perl -pi -e 's/^SUBDIRS\s*=.*/SUBDIRS = src include testbed/' Makefile.in << ConfigureParams: << --disable-static \ --without-jpeg \ --without-tiff \ --without-zlib << CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep=%n . << #InfoTest: << # TestScript: << # make check || exit 2 # fink-package-precedence --prohibit-bdep=%n . # << #<< DocFiles: AUTHORS COPYING ChangeLog README.1ST doc/*.pdf doc/WhyThisFork.txt SplitOff: << Package: %N-shlibs Files: lib/liblcms2mt.2.dylib Shlibs: %p/lib/liblcms2mt.2.dylib 3.0.0 %n (>= 2.10-1) DocFiles: AUTHORS COPYING ChangeLog README.1ST doc/WhyThisFork.txt << DescPackaging: << Package-version is of the lcms2mt lib (direct upstream is ghostscript, which syncs changes from lcms own upstream at their version). We roll it as a stand-alone library (mupdf also uses it). Fix symbol visibility. See: https://bugs.ghostscript.com/show_bug.cgi?id=703320 The testbed/testcms program does not appear to use any non-public symbols, so we link it fully dynamic (allows disabling building the static lib). And that means we can allow libtool to do its wrapper-script magic with LD_* variables rather than hardcoding it in a platform-dependent way in the Makefile. Scrap tests for support libs that would only be used by the -bin tools that are not being packaged here. We're not building plugins at this time, so work around ghostscript omitting the automake files for them. See: https://bugs.ghostscript.com/show_bug.cgi?id=703871 Test-suite is badly broken. See: https://bugs.ghostscript.com/show_bug.cgi?id=703872 << Description: Color management engine (multithreaded) DescDetail: << This is a fork of lcms2, with an interface-incompatible set of changes to make it multithreaded. The lcms2 "icc" utilities are not packaged specifically for the lcms2mt library fork. Use lcms2-bin if you want them. << License: OSI-Approved Maintainer: Daniel Macks Homepage: https://www.ghostscript.com <<