Date: Sun, 26 Jan 2014 21:28:19 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341291 - head/graphics/shotwell/files Message-ID: <201401262128.s0QLSJjI042324@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sun Jan 26 21:28:19 2014 New Revision: 341291 URL: http://svnweb.freebsd.org/changeset/ports/341291 QAT: https://qat.redports.org/buildarchive/r341291/ Log: Add upstream patch to fix the build with libraw 0.15. Added: head/graphics/shotwell/files/patch-git_89aa167 (contents, props changed) Added: head/graphics/shotwell/files/patch-git_89aa167 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/shotwell/files/patch-git_89aa167 Sun Jan 26 21:28:19 2014 (r341291) @@ -0,0 +1,54 @@ +commit 89aa167726d12f9ae0b53c01a2fdc54601fc3cc5 +Author: Jim Nelson <jim@yorba.org> +Date: Wed May 29 11:52:09 2013 -0700 + + Build with LibRaw 0.15: Closes #7012 + + LibRaw 0.15 removed document-mode processing, which, as their release + notes say, "no one uses". Compile error were nothing more than + missing symbols -- Shotwell wasn't using it either. + +--- src/photos/GRaw.vala ++++ src/photos/GRaw.vala +@@ -21,12 +21,6 @@ public enum Colorspace { + XYZ = 5 + } + +-public enum DocMode { +- STANDARD = 0, +- GRAYSCALE = 1, +- GRAYSCALE_NO_WHITE_BALANCE = 2 +-} +- + public errordomain Exception { + UNSPECIFIED, + UNSUPPORTED_FILE, +@@ -167,10 +161,6 @@ public class Processor { + throw_exception("adjust_sizes_info_only", proc.adjust_sizes_info_only()); + } + +- public void document_mode_processing() throws Exception { +- throw_exception("document_mode_processing", proc.document_mode_processing()); +- } +- + public unowned LibRaw.ImageOther get_image_other() { + return proc.get_image_other(); + } +@@ -244,7 +234,6 @@ public class Processor { + // threshold + output_params->half_size = half_size; + // four_color_rgb +- output_params->document_mode = GRaw.DocMode.STANDARD; + output_params->highlight = GRaw.HighlightMode.CLIP; + output_params->use_auto_wb = true; + output_params->use_camera_wb = true; +--- vapi/libraw.vapi ++++ vapi/libraw.vapi +@@ -104,7 +104,6 @@ public struct OutputParams { + public float threshold; + public bool half_size; + public bool four_color_rgb; +- public int document_mode; + public int highlight; + public bool use_auto_wb; + public bool use_camera_wb;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401262128.s0QLSJjI042324>