[gimp/soc-2011-seamless-clone2] build: Require dependencies of file-compressor



commit b9dc1c4a7136ccd62046f77d318210727f6184ba
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Apr 25 12:38:24 2013 +0530

    build: Require dependencies of file-compressor
    
    Without the dependencies of file-compressor (currently zlib, libbzip2
    and liblzma), configure fails now. file-compressor is referenced in too
    many places for its functionality to be optional.

 INSTALL      |   21 ++++++++++++---------
 configure.ac |    5 +++++
 2 files changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/INSTALL b/INSTALL
index 7375e56..e24780b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -68,24 +68,27 @@ header files installed.
      configure. The configure script will then try to detect another
      method for accessing remote files.
 
-  9. You may want to install other third party libraries or programs
-     that are needed for some of the available plug-ins. We recommend
-     to check that the following libraries are installed: lcms,
-     libpng, libjpeg, libpoppler, libtiff, webkit, libmng, librsvg,
-     libwmf, libz, libbzip2, libgs (Ghostscript), libaa and libjasper.
+  9. The file-compressor plug-in requires zlib, libbzip2, and liblzma to
+     be installed. All these libraries are required dependencies.
 
- 10. The Python extension requires Python development headers to be
+ 10. You may want to install other third party libraries or programs
+     that are needed for some of the available plug-ins. We recommend to
+     check that the following libraries are installed: lcms, libpng,
+     libjpeg, libpoppler, libtiff, webkit, libmng, librsvg, libwmf,
+     libgs (Ghostscript), libaa and libjasper.
+
+ 11. The Python extension requires Python development headers to be
      present. You will also need PyGTK and the respective development
      headers.
 
- 11. Configure GIMP by running the `configure' script. You may want
+ 12. Configure GIMP by running the `configure' script. You may want
      to pass some options to it, see below.
 
- 12. Build GIMP by running `make'. The use of GNU make is recommended.
+ 13. Build GIMP by running `make'. The use of GNU make is recommended.
      If you need to tweak the build to make it work with other flavours
      of make, we'd appreciate if you'd send us a patch with the changes.
 
- 13. Install GIMP by running `make install'. In order to avoid clashes
+ 14. Install GIMP by running `make install'. In order to avoid clashes
      with other versions of GIMP, we install a binary called gimp-2.8.
      By default there's also a link created so that you can type 'gimp'
      to start gimp-2.8.
diff --git a/configure.ac b/configure.ac
index dd82502..6f3c544 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1192,6 +1192,11 @@ AM_CONDITIONAL(HAVE_LIBLZMA, test "x$have_liblzma" = xyes)
 have_compressor=no
 if test "x$have_zlib" = xyes && test "x$have_libbzip2" = xyes && test "x$have_liblzma" = xyes; then
    have_compressor=yes
+else
+   AC_MSG_ERROR([
+*** One or more compression libraries are unavailable. zlib, libbzip2
+*** and liblzma are required build dependencies. See the file 'INSTALL'
+*** for help.])
 fi
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]