Merge remote-tracking branch 'origin/7.32'

This commit is contained in:
John Cupitt 2013-03-22 09:14:43 +00:00
commit 9a73a0ea5c
3 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,7 @@
- removed some left-over debugging code from configure.ac - removed some left-over debugging code from configure.ac
- better handling of args without values, thanks Ruven - better handling of args without values, thanks Ruven
- better error messages from vips.c - better error messages from vips.c
- im_jpeg2vips.c builds without jpeglib.h, thanks Alessandro
6/2/13 started 7.32.1 6/2/13 started 7.32.1
- fix --without-lcms, thanks speckins - fix --without-lcms, thanks speckins

View File

@ -44,13 +44,15 @@
#include <vips/intl.h> #include <vips/intl.h>
#include <stdlib.h> #include <stdlib.h>
#include <setjmp.h>
#include <vips/vips.h> #include <vips/vips.h>
#include <setjmp.h> #ifdef HAVE_JPEG
#include <jpeglib.h> #include <jpeglib.h>
#include <jerror.h> #include <jerror.h>
#include "../foreign/jpeg.h" #include "../foreign/jpeg.h"
#endif /*HAVE_JPEG*/
static int static int
jpeg2vips( const char *name, IMAGE *out, gboolean header_only ) jpeg2vips( const char *name, IMAGE *out, gboolean header_only )
@ -116,7 +118,8 @@ jpeg2vips( const char *name, IMAGE *out, gboolean header_only )
header_only, shrink, fail_on_warn ) ) header_only, shrink, fail_on_warn ) )
return( -1 ); return( -1 );
#else #else
vips_error( "im_jpeg2vips", _( "no JPEG support in your libvips" ) ); vips_error( "im_jpeg2vips",
"%s", _( "no JPEG support in your libvips" ) );
return( -1 ); return( -1 );
#endif /*HAVE_JPEG*/ #endif /*HAVE_JPEG*/

View File

@ -15,7 +15,8 @@
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
* *
* \section{Base-64 Routines} * \section{Base-64 Routines}
* *