annotate src/graphicsmagick.mk @ 4583:50ce0842665c

* src/graphicsmagick.mk: update version/checksum for v1.3.27
author John D
date Tue, 19 Dec 2017 13:13:25 -0500
parents d3c12e857e9b
children dc3eb553f5e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2258
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := graphicsmagick
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4583
50ce0842665c * src/graphicsmagick.mk: update version/checksum for v1.3.27
John D
parents: 4527
diff changeset
6 $(PKG)_VERSION := 1.3.27
50ce0842665c * src/graphicsmagick.mk: update version/checksum for v1.3.27
John D
parents: 4527
diff changeset
7 $(PKG)_CHECKSUM := f334cfc6f03e6d4dfea8d9fe0643820649d20f7a
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := GraphicsMagick-$($(PKG)_VERSION)
2698
ecda920960a0 package graphicsmagick: switch to xz archive
Mark Brand <mabrand@mabrand.nl>
parents: 2643
diff changeset
9 $(PKG)_FILE := GraphicsMagick-$($(PKG)_VERSION).tar.xz
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
4527
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
11 $(PKG)_DEPS := zlib bzip2 libjbig jpeg jasper lcms libpng tiff freetype libxml2
3105
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
12 ifneq ($(MXE_SYSTEM),msvc)
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
13 $(PKG)_DEPS += pthreads libtool
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
14 endif
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
4527
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
16 $(PKG)_CONFIGURE_OPTIONS :=
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
17 ifeq ($(MXE_WINDOWS_BUILD),yes)
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
18 $(PKG)_CONFIGURE_OPTIONS += ac_cv_func_clock_getres=no ac_cv_func_clock_gettime=no
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
19 endif
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
20
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
21
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2504
diff changeset
23 $(WGET) -q -O- 'http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/' | \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 head -1
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 define $(PKG)_BUILD
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 # This can be removed once the patch "graphicsmagick-1-fix-xml2-config.patch" is accepted by upstream
2918
42b1909a6159 revert autoconf -> autoreconf change
John W. Eaton <jwe@octave.org>
parents: 2912
diff changeset
30 cd '$(1)' && autoconf
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 cd '$(1)' && ./configure \
4527
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
32 $($(PKG)_CONFIGURE_OPTIONS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
33 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2912
990071494633 use libtool for building graphics magick libs; restore build of test program
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
34 $(ENABLE_SHARED_OR_STATIC) \
3024
15cbbf983fa0 Update graphicsmagick and pstoedit to use XME_CONFIGURE flags.
John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
35 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
36 --prefix='$(HOST_PREFIX)' \
4069
114be8cd075c graphicsmagick: disable use of openmp (Bug #46772)
John Donoghue <john.donoghue@ieee.org>
parents: 3881
diff changeset
37 --disable-openmp \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --without-modules \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --with-threads \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --with-magick-plus-plus \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --without-perl \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --with-bzlib \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 --without-dps \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --without-fpx \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 --without-gslib \
4527
d3c12e857e9b graphicsmagick: enable jbig
John D
parents: 4435
diff changeset
46 --with-jbig \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 --with-jpeg \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 --with-jp2 \
4435
d9c87a876215 graphicsmagick: update to 1.3.26
John D
parents: 4302
diff changeset
49 --with-lcms2 \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 --with-png \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 --with-tiff \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 --without-trio \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
53 --with-ttf='$(HOST_PREFIX)' \
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
54 --without-wmf \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
55 --with-xml \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
56 --with-zlib \
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
57 --without-x \
4150
5e57f06cd77f build graphicsmagick with --with-quantum-depth=16 --with-magick-plus-plus=yes
Markus Bergholz <markuman@gmail.com>
parents: 4139
diff changeset
58 --with-quantum-depth=16 \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
59 ac_cv_prog_xml2_config='$(HOST_BINDIR)/xml2-config' \
3105
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
60 ac_cv_path_xml2_config='$(HOST_BINDIR)/xml2-config' \
728a29b93060 [MSVC] enable GraphicsMagick compilation, bump lcms requirement to 2.X.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
61 && $(CONFIGURE_POST_HOOK)
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
62 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS=
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3105
diff changeset
63 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= DESTDIR='$(3)'
4302
3d168da55e47 disable instakll of docs
John D
parents: 4280
diff changeset
64
3d168da55e47 disable instakll of docs
John D
parents: 4280
diff changeset
65 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
3d168da55e47 disable instakll of docs
John D
parents: 4280
diff changeset
66 rm -rf "$(3)$(HOST_PREFIX)/share/doc/GraphicsMagick"; \
3d168da55e47 disable instakll of docs
John D
parents: 4280
diff changeset
67 fi
1492
c16a0b13337d new package: graphicsmagick
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
68 endef