Commit d64504e7 authored by Michael Schumacher's avatar Michael Schumacher

Applying patch by Quentin Pradet. Fixes bug #691437

parent dc3c093e
......@@ -18,35 +18,36 @@ which minimizes their impact.</p>
<ol>
<li>I use autoconf's config.site feature instead of setting up environment variables manually</li>
<li>I install in my home directory</li>
</ol>
<p>Making use of config.site nullifies the need to manually manage environment variables, and installing in the home directory makes it easy to tinker with an installation since you don't need to be root. So, put this in $PREFIX/share/config.site where $PREFIX is in your home directory such as PREFIX=/home/martin/gimp-git, either manually or using this script:</p>
<code>
<pre class="code">
export PATH="$PREFIX/bin:$PATH"
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$PREFIX/lib:$LD_LIBRARY_PATH"
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal $ACLOCAL_FLAGS"
</code>
</pre>
<p>Then, assuming you have all the dependencies, you build GIMP the
first time with:</p>
<code>
<pre class="code">
git clone git://git.gnome.org/gimp
cd gimp
./autogen.sh --prefix=$PREFIX
make
make install
</code>
</pre>
<p>and then to get updated with the latest changes from the constantly
moving code base you regularly do</p>
<code>
<pre class="code">
git pull --rebase
make
make install
</code>
</pre>
<p>Note that the latter works without requiring any environment
variables to be set since configure will source config.site. And
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment