Mercurial > mxe-octave
annotate src/gtk2.mk @ 3926:ee802fc5dd9b
gcc: update to 5.1.0, update isl, libgpg_error
* src/build-gcc.mk: update version, checksum, remove cloog as a dependancy
* src/gcc-isl-1-fixes.patch: remove patch
* src/isl-1-fixes.patch: update patch
* src/isl.mk: update version, checksum
* src/libgpg_error-1-fixes.patch: remove patch
* src/libgpg_error.mk: update version, checksum
* src/native-gcc.mk: update version, checksum, remove cloog as a dependancy
* dist-files.mk: remove gcc-isl-1-fixes.patch, libgpg_error-1-fixes.patch
author | John D |
---|---|
date | Sun, 03 May 2015 20:38:29 -0400 |
parents | 13be64f9f16d |
children | de2eedecd6ba |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2154
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. |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
3 |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
4 PKG := gtk2 |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 2.24.10 |
2619 | 7 $(PKG)_CHECKSUM := baf5c73e186352cad767392a6b55840be0326ddc |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) |
2619 | 9 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.xz |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := gettext libpng jpeg tiff jasper glib atk pango cairo gdk-pixbuf |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
12 |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://git.gnome.org/browse/gtk+/refs/tags' | \ |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
15 grep '<a href=' | \ |
1773
ec591e415800
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
1764
diff
changeset
|
16 $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \ |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
17 grep -v '^2\.9' | \ |
1773
ec591e415800
improved coding style
Volker Grabsch <vog@notjusthosting.com>
parents:
1764
diff
changeset
|
18 grep '^2\.' | \ |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
19 head -1 |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
20 endef |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
21 |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2620
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
27 --enable-explicit-deps \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
28 --disable-glibtest \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
29 --disable-modules \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
30 --disable-cups \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
31 --disable-test-print-backend \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
32 --disable-gtk-doc \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
33 --disable-man \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
34 --with-included-immodules \ |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
35 --without-x |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
36 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
37 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
38 '$(MXE_CC)' \ |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
39 -W -Wall -Werror -ansi -pedantic \ |
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
|
40 '$(2).c' -o '$(HOST_BINDIR)/test-gtk2.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
41 `'$(MXE_PKG_CONFIG)' gtk+-2.0 --cflags --libs` |
1594
68ccbdf94db3
rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents:
diff
changeset
|
42 endef |