<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://rawpedia.rawtherapee.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ion12</id>
	<title>RawPedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://rawpedia.rawtherapee.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ion12"/>
	<link rel="alternate" type="text/html" href="http://rawpedia.rawtherapee.com/Special:Contributions/Ion12"/>
	<updated>2026-06-24T09:46:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>http://rawpedia.rawtherapee.com/index.php?title=MacOS&amp;diff=1376</id>
		<title>MacOS</title>
		<link rel="alternate" type="text/html" href="http://rawpedia.rawtherapee.com/index.php?title=MacOS&amp;diff=1376"/>
		<updated>2017-02-19T12:27:16Z</updated>

		<summary type="html">&lt;p&gt;Ion12: /* Compile RawTherapee */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page details instructions for compiling RawTherapee on '''macOS''' systems. There are also separate pages with instructions for compiling on [[Linux]] and [[Windows]]. This guide details the '''what''' and '''how''' parts of compilation. For the '''why''' and explanations of these commands, for a list of dependencies, CMake options and other information, please refer to the detailed [[Linux]] article.&lt;br /&gt;
&lt;br /&gt;
When in doubt, [[IRC | join us on IRC]] and ask a human!&lt;br /&gt;
&lt;br /&gt;
For instructions on cloning the source, choosing branches, configuring CMake and doing the actual compilation, see these sections in the [[Linux]] guide. The information below is in addition to that.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
See the list of dependencies in the [[Linux#Dependencies|Compiling in Linux]] article.&lt;br /&gt;
&lt;br /&gt;
=== MacPorts ===&lt;br /&gt;
Tested on OS X 10.9 and newer&lt;br /&gt;
* '''Prerequisites:'''&lt;br /&gt;
** Apple's Xcode Developer Tools&lt;br /&gt;
** Apple's Command Line Tools&lt;br /&gt;
** MacPorts&lt;br /&gt;
:''Detailed instructions on setting up MacPorts and the developer tools are available on the MacPorts website''&lt;br /&gt;
* '''Configure MacPorts:''' &lt;br /&gt;
: Add the following line to /opt/local/etc/macports/variants.conf&lt;br /&gt;
:: &amp;lt;code&amp;gt;+quartz -x11 -gnome&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Dependencies:'''&lt;br /&gt;
: To install the dependencies, run from the terminal:&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo port install git clang-3.9 gtk3 gtkmm3 gtk-osx-application-gtk3 adwaita-icon-theme libsigcxx2 lcms2 libiptcdata fftw-3-single&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libiconv patch ===&lt;br /&gt;
libiconv.2.dylib must be patched, otherwise RawTherapee will crash on startup. The patch is available in [https://github.com/Beep6581/RawTherapee/blob/dev/tools/osx/libiconv_1.14_rt.patch `tools/osx/libiconv_1.14_rt.patch`]&lt;br /&gt;
&lt;br /&gt;
libiconv patching and compilation instructions:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap&amp;quot;&amp;gt;&lt;br /&gt;
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz&lt;br /&gt;
tar xf libiconv-1.14.tar.gz&lt;br /&gt;
cd libiconv-1.14&lt;br /&gt;
wget https://raw.githubusercontent.com/Beep6581/RawTherapee/dev/tools/osx/libiconv_1.14_rt.patch&lt;br /&gt;
patch -p1 &amp;lt; libiconv_1.14_rt.patch&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
buildDir=&amp;quot;$(pwd)&amp;quot;&lt;br /&gt;
../configure --prefix=/opt/local --disable-static 'CFLAGS=-arch x86_64 -mmacosx-version-min=10.5' 'LDFLAGS=-arch x86_64 -mmacosx-version-min=10.5' CXXFLAGS=&amp;quot;-arch x86_64 -mmacosx-version-min=10.5&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
make DESTDIR=&amp;quot;$buildDir&amp;quot; install&lt;br /&gt;
cd /opt/local/lib&lt;br /&gt;
sudo cp ./libiconv.2.dylib ./libiconv.2.dylib.backup # backup MacPorts dylib&lt;br /&gt;
sudo cp &amp;quot;${buildDir}/opt/local/lib/libiconv.2.dylib&amp;quot; /opt/local/lib/libiconv.2.dylib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
See the [[Linux#Compiling:_The_Manual_Way|Compiling in Linux]] article for instructions on how to '''clone''' the source code, choose a '''branch''' and how to configure '''CMake'''. Ignore the &amp;quot;Now you are ready to compile&amp;quot; code on that page and follow the code on this page.&lt;br /&gt;
&lt;br /&gt;
If you want to upload a build or otherwise share it with others, you must use&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_TARGET_NUMBER=&amp;quot;1&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
and set the processor label manually by setting&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_LABEL=&amp;quot;generic processor&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to compile for yourself only, then use&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_TARGET_NUMBER=&amp;quot;2&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
and then the processor label would be irrelevant, you could skip it.&lt;br /&gt;
&lt;br /&gt;
=== Compile RawTherapee ===&lt;br /&gt;
Now you are ready to compile:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap&amp;quot;&amp;gt;cd ~/repo-rt&lt;br /&gt;
rm -rf build&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build&lt;br /&gt;
cmake -DCMAKE_BUILD_TYPE=&amp;quot;release&amp;quot; \&lt;br /&gt;
      -DPROC_TARGET_NUMBER=&amp;quot;1&amp;quot; \&lt;br /&gt;
      -DPROC_LABEL=&amp;quot;generic processor&amp;quot; \&lt;br /&gt;
      -DCACHE_NAME_SUFFIX=&amp;quot;5-dev&amp;quot; \&lt;br /&gt;
      -DCMAKE_C_COMPILER=&amp;quot;clang-mp-3.9&amp;quot; \&lt;br /&gt;
      -DCMAKE_CXX_COMPILER=&amp;quot;clang++-mp-3.9&amp;quot; \&lt;br /&gt;
      -DCMAKE_CXX_FLAGS=&amp;quot;-w&amp;quot; \&lt;br /&gt;
      ..&lt;br /&gt;
make -j8 install&lt;br /&gt;
make macosx_bundle&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Run and Share RawTherapee ===&lt;br /&gt;
You will find a disk image in the build directory; this is the distribution release and can be run on any machine which meets the architecture requirements you specified in variants.conf earlier.&lt;br /&gt;
&lt;br /&gt;
To provide the RawTherapee project with your build, please zip the .dmg and AboutThisBuild.txt files together. Name the zip file according to this template:&lt;br /&gt;
: RawTherapee_OSX_'''&amp;lt;minimum supported macOS version&amp;gt;'''_64_'''&amp;lt;RawTherapee version&amp;gt;'''.zip&lt;br /&gt;
for example if your build is made for macOS 10.12 and the version of RawTherapee is 5.1-dev-g1a2b3c4d, name it:&lt;br /&gt;
: RawTherapee_OSX_10.12_64_5.1-dev-g1a2b3c4d.zip&lt;br /&gt;
Upload the zip archive to http://filebin.net/ and [https://github.com/Beep6581/RawTherapee/issues/new open a new issue on our GitHub page] with the link so that we can upload it to the website.&lt;/div&gt;</summary>
		<author><name>Ion12</name></author>
	</entry>
	<entry>
		<id>http://rawpedia.rawtherapee.com/index.php?title=MacOS&amp;diff=1375</id>
		<title>MacOS</title>
		<link rel="alternate" type="text/html" href="http://rawpedia.rawtherapee.com/index.php?title=MacOS&amp;diff=1375"/>
		<updated>2017-02-19T12:21:50Z</updated>

		<summary type="html">&lt;p&gt;Ion12: /* Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page details instructions for compiling RawTherapee on '''macOS''' systems. There are also separate pages with instructions for compiling on [[Linux]] and [[Windows]]. This guide details the '''what''' and '''how''' parts of compilation. For the '''why''' and explanations of these commands, for a list of dependencies, CMake options and other information, please refer to the detailed [[Linux]] article.&lt;br /&gt;
&lt;br /&gt;
When in doubt, [[IRC | join us on IRC]] and ask a human!&lt;br /&gt;
&lt;br /&gt;
For instructions on cloning the source, choosing branches, configuring CMake and doing the actual compilation, see these sections in the [[Linux]] guide. The information below is in addition to that.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
See the list of dependencies in the [[Linux#Dependencies|Compiling in Linux]] article.&lt;br /&gt;
&lt;br /&gt;
=== MacPorts ===&lt;br /&gt;
Tested on OS X 10.9 and newer&lt;br /&gt;
* '''Prerequisites:'''&lt;br /&gt;
** Apple's Xcode Developer Tools&lt;br /&gt;
** Apple's Command Line Tools&lt;br /&gt;
** MacPorts&lt;br /&gt;
:''Detailed instructions on setting up MacPorts and the developer tools are available on the MacPorts website''&lt;br /&gt;
* '''Configure MacPorts:''' &lt;br /&gt;
: Add the following line to /opt/local/etc/macports/variants.conf&lt;br /&gt;
:: &amp;lt;code&amp;gt;+quartz -x11 -gnome&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Dependencies:'''&lt;br /&gt;
: To install the dependencies, run from the terminal:&lt;br /&gt;
:: &amp;lt;code&amp;gt;sudo port install git clang-3.9 gtk3 gtkmm3 gtk-osx-application-gtk3 adwaita-icon-theme libsigcxx2 lcms2 libiptcdata fftw-3-single&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== libiconv patch ===&lt;br /&gt;
libiconv.2.dylib must be patched, otherwise RawTherapee will crash on startup. The patch is available in [https://github.com/Beep6581/RawTherapee/blob/dev/tools/osx/libiconv_1.14_rt.patch `tools/osx/libiconv_1.14_rt.patch`]&lt;br /&gt;
&lt;br /&gt;
libiconv patching and compilation instructions:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap&amp;quot;&amp;gt;&lt;br /&gt;
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz&lt;br /&gt;
tar xf libiconv-1.14.tar.gz&lt;br /&gt;
cd libiconv-1.14&lt;br /&gt;
wget https://raw.githubusercontent.com/Beep6581/RawTherapee/dev/tools/osx/libiconv_1.14_rt.patch&lt;br /&gt;
patch -p1 &amp;lt; libiconv_1.14_rt.patch&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
buildDir=&amp;quot;$(pwd)&amp;quot;&lt;br /&gt;
../configure --prefix=/opt/local --disable-static 'CFLAGS=-arch x86_64 -mmacosx-version-min=10.5' 'LDFLAGS=-arch x86_64 -mmacosx-version-min=10.5' CXXFLAGS=&amp;quot;-arch x86_64 -mmacosx-version-min=10.5&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
make DESTDIR=&amp;quot;$buildDir&amp;quot; install&lt;br /&gt;
cd /opt/local/lib&lt;br /&gt;
sudo cp ./libiconv.2.dylib ./libiconv.2.dylib.backup # backup MacPorts dylib&lt;br /&gt;
sudo cp &amp;quot;${buildDir}/opt/local/lib/libiconv.2.dylib&amp;quot; /opt/local/lib/libiconv.2.dylib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
See the [[Linux#Compiling:_The_Manual_Way|Compiling in Linux]] article for instructions on how to '''clone''' the source code, choose a '''branch''' and how to configure '''CMake'''. Ignore the &amp;quot;Now you are ready to compile&amp;quot; code on that page and follow the code on this page.&lt;br /&gt;
&lt;br /&gt;
If you want to upload a build or otherwise share it with others, you must use&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_TARGET_NUMBER=&amp;quot;1&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
and set the processor label manually by setting&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_LABEL=&amp;quot;generic processor&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to compile for yourself only, then use&lt;br /&gt;
: &amp;lt;code&amp;gt;-DPROC_TARGET_NUMBER=&amp;quot;2&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
and then the processor label would be irrelevant, you could skip it.&lt;br /&gt;
&lt;br /&gt;
=== Compile RawTherapee ===&lt;br /&gt;
Now you are ready to compile:&lt;br /&gt;
&amp;lt;pre style=&amp;quot;white-space: pre-wrap&amp;quot;&amp;gt;cd ~/repo-rt&lt;br /&gt;
rm -rf build&lt;br /&gt;
mkdir build &amp;amp;&amp;amp; cd build&lt;br /&gt;
cmake -DCMAKE_BUILD_TYPE=&amp;quot;release&amp;quot; \&lt;br /&gt;
      -DPROC_TARGET_NUMBER=&amp;quot;1&amp;quot; \&lt;br /&gt;
      -DPROC_LABEL=&amp;quot;generic processor&amp;quot; \&lt;br /&gt;
      -DCACHE_NAME_SUFFIX=&amp;quot;5-dev&amp;quot; \&lt;br /&gt;
      -DCMAKE_C_COMPILER=&amp;quot;clang-mp-3.7&amp;quot; \&lt;br /&gt;
      -DCMAKE_CXX_COMPILER=&amp;quot;clang++-mp-3.7&amp;quot; \&lt;br /&gt;
      -DCMAKE_CXX_FLAGS=&amp;quot;-w&amp;quot; \&lt;br /&gt;
      ..&lt;br /&gt;
make -j8 install&lt;br /&gt;
make macosx_bundle&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Run and Share RawTherapee ===&lt;br /&gt;
You will find a disk image in the build directory; this is the distribution release and can be run on any machine which meets the architecture requirements you specified in variants.conf earlier.&lt;br /&gt;
&lt;br /&gt;
To provide the RawTherapee project with your build, please zip the .dmg and AboutThisBuild.txt files together. Name the zip file according to this template:&lt;br /&gt;
: RawTherapee_OSX_'''&amp;lt;minimum supported macOS version&amp;gt;'''_64_'''&amp;lt;RawTherapee version&amp;gt;'''.zip&lt;br /&gt;
for example if your build is made for macOS 10.12 and the version of RawTherapee is 5.1-dev-g1a2b3c4d, name it:&lt;br /&gt;
: RawTherapee_OSX_10.12_64_5.1-dev-g1a2b3c4d.zip&lt;br /&gt;
Upload the zip archive to http://filebin.net/ and [https://github.com/Beep6581/RawTherapee/issues/new open a new issue on our GitHub page] with the link so that we can upload it to the website.&lt;/div&gt;</summary>
		<author><name>Ion12</name></author>
	</entry>
</feed>