anchor.diff:      	   	   bzip2-devel \
   		   cairo-devel cairo-gobject-devel \
        	   	   elfutils-devel \
  +		   file \
       	   	   gcc gcc-c++ \
       	   	   gdal-devel \
       	   	   geos-devel \
  +		   gdk-pixbuf2-devel \
       	   	   git \
   		   grib_api grib_api-devel \
   		   gobject-introspection-devel \ 
  
positive.code:     echo 'set (CMAKE_CXX_FLAGS "-fPIC -DJSON_UTF8")' >> ../json_spirit/CMakeLists.txt && \
      sed -e '/BOOST_SPIRIT_THREADSAFE/ s/^#//' -i ../json_spirit/json_spirit_reader_template.h && \
      cmake .. && \
      make && \
      make install
  
  RUN cd /usr/local/src/smartmet && \
      git clone https://github.com/fmidev/smartmet-plugin-frontend.git && \
      cd smartmet-plugin-frontend && \
      sed -e 's/json_spirit\/json_spirit.h/json_spirit.h/g' -i source/Plugin.cpp && \
      make -j4 && make install
  
  RUN cd /usr/local/src/smartmet && \
      git clone https://github.com/fmidev/smartmet-plugin-autocomplete.git && \
      cd smartmet-plugin-autocomplete && \
      make -j4 && make install
  
  
  RUN echo "/usr/local/lib/" > /etc/ld.so.conf.d/local.conf
  RUN ldconfig -v
  
  COPY smartmetconf /etc/smartmet
  COPY timezones /usr/share/smartmet/timezones
  
negative.code:     cd ctpp2-2.8.3 && \
      cmake . && \
      sed -i '/#include <stdlib.h>/a #include <unistd.h>' src/CTPP2FileSourceLoader.cpp && \
      make -j4 && \
      make install && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/ctpp2-2.8.3; fi
  
  RUN cd /usr/local/src/smartmet && \
      wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz && \
      tar zxf boost_1_55_0.tar.gz && \
      cd boost_1_55_0 && \
      ./bootstrap.sh --without-libraries=mpi,graph_parallel && \
      ./b2 -j4 && \
      ./b2 install && \
      if [ $SMARTMET_DEVEL -ne 1 ]; then rm -rf /usr/local/src/smartmet/boost_1_55_0; fi
  
  RUN cd /usr/local/src/smartmet && \
      wget http://ftp.gnome.org/pub/gnome/sources/librsvg/2.40/librsvg-2.40.6.tar.xz && \
  