Mercurial > mxe-octave
annotate src/ghostscript.mk @ 4959:506a61f959e4
Update ghostscript to 9.26.
* src/ghostscript.mk: Update version, checksum and dependencies. Update build
rule.
* src/ghostscript-1-fixes.patch: Add new file.
* src/ghostscrip-mingw-[i686,x86_64]-[arch.h,gconfig_.h,makefile]: Remove files.
* src/build-automake.mk: Update to version 1.16.1.
* src/build-automake-1-perl-5.patch: Remove file.
* src/libidn.mk: Update to version 1.35.
* src/glpk.mk: Skip autoconf steps.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 16 Feb 2019 16:03:02 +0100 |
parents | b63aebf07b75 |
children | d80152a06425 |
rev | line source |
---|---|
3643 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := ghostscript | |
5 $(PKG)_IGNORE := | |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
6 $(PKG)_VERSION := 9.26 |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
7 $(PKG)_NODOTVER := $(subst .,,$($(PKG)_VERSION)) |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
8 $(PKG)_CHECKSUM := 2727000ebee0d08311705859a31a504e259f0d98 |
3643 | 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
11 $(PKG)_URL := https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$($(PKG)_NODOTVER)/$($(PKG)_FILE) |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
12 $(PKG)_DEPS := dbus fontconfig freetype libiconv libidn libpaper libpng tiff zlib |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
13 |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3701
diff
changeset
|
14 ifeq ($(MXE_WINDOWS_BUILD),no) |
3827
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3805
diff
changeset
|
15 ifeq ($(USE_SYSTEM_X11_LIBS),no) |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3805
diff
changeset
|
16 $(PKG)_DEPS += x11 xext |
02990526ae69
allow building of X11 libs to be disabled
John W. Eaton <jwe@octave.org>
parents:
3805
diff
changeset
|
17 endif |
3743
4f58c4b4dee0
build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents:
3701
diff
changeset
|
18 endif |
3643 | 19 |
3658
581873dfae44
ghostscript: enable native mingw build
John Donoghue <john.donoghue@ieee.org>
parents:
3653
diff
changeset
|
20 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
581873dfae44
ghostscript: enable native mingw build
John Donoghue <john.donoghue@ieee.org>
parents:
3653
diff
changeset
|
21 $(PKG)_DEPS += lcms |
581873dfae44
ghostscript: enable native mingw build
John Donoghue <john.donoghue@ieee.org>
parents:
3653
diff
changeset
|
22 endif |
581873dfae44
ghostscript: enable native mingw build
John Donoghue <john.donoghue@ieee.org>
parents:
3653
diff
changeset
|
23 |
3643 | 24 define $(PKG)_UPDATE |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
25 $(WGET) -q -O- 'https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases' | \ |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
26 $(SED) -n 's,.*"ghostscript-\([0-9\.]*\)\.tar.xz".*,\1,p' | \ |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
27 head -1 |
3643 | 28 endef |
29 | |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
30 define $(PKG)_BUILD |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
31 cp -f `automake --print-libdir`/{config.guess,config.sub,install-sh} '$(1)' |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
32 cd '$(1)' && rm -rf freetype jpeg libpng openjpeg tiff |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
33 cd '$(1)' && autoreconf -f -i |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
34 mkdir '$(1)/.build' |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
35 cd '$(1)/.build' && $(1)/configure \ |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
36 CPPFLAGS='$(CPPFLAGS) -DHAVE_SYS_TIMES_H=0' \ |
3643 | 37 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
38 --prefix='$(HOST_PREFIX)' \ | |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
39 --without-local-zlib \ |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
40 --with-system-libtiff |
3643 | 41 |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
42 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' $(if $(BUILD_STATIC),libgs,so) |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
43 $(MAKE) -C '$(1)/.build' prefix='$(HOST_PREFIX)' install |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
44 endef |
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4325
diff
changeset
|
45 |