Mercurial > mxe-octave
annotate src/gtk3.mk @ 5579:2734b3818171
Avoid double-free with librsb (bug #58957).
* src/librsb.mk: Add work-around to avoid double-free (provided by Michele
Martone).
* src/mingw-of-sparsersb-1-no-render.patch: Remove patch.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 02 Nov 2020 08:55:18 +0100 |
parents | de2eedecd6ba |
children | 82606cd21c6b |
rev | line source |
---|---|
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := gtk3 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.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:
3176
diff
changeset
|
6 $(PKG)_VERSION := 3.8.2 |
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := c519b553b618588f288c70ea5dce1145588944eb |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := gtk+-$($(PKG)_VERSION) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := gtk+-$($(PKG)_VERSION).tar.xz |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gtk+/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := gettext libpng jpeg tiff jasper glib atk pango cairo gdk-pixbuf |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/GNOME/gtk/tags' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
15 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \ |
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 grep -v '^3\.9' | \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 grep '^3\.' | \ |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
18 $(SORT) -Vr | \ |
3176
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 head -1 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 endef |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 --enable-explicit-deps \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 --disable-glibtest \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 --disable-modules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 --disable-cups \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
31 --disable-test-print-backend \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
32 --disable-gtk-doc \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
33 --disable-man \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
34 --with-included-immodules \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
35 --without-x \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
36 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
37 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
38 && $(CONFIGURE_POST_HOOK) |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
39 $(MAKE) -C '$(1)' -j '$(JOBS)' noinst_PROGRAMS= |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
40 $(MAKE) -C '$(1)' -j 1 install noinst_PROGRAMS= |
0fc090129214
[MSVC] add GTK+ 3.x module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
41 endef |