Compare commits
595 Commits
wip/nacho/
...
doc-scale-
Author | SHA1 | Date | |
---|---|---|---|
|
e7bd9adf3e | ||
|
5df5716871 | ||
|
77f465bf19 | ||
|
c7c8ab6624 | ||
|
3fe6c5caf8 | ||
|
235d28f02d | ||
|
ee448db031 | ||
|
a3cff0add1 | ||
|
2fc60a1e3f | ||
|
c1146db2fe | ||
|
e3247ed0d9 | ||
|
d5397dfb31 | ||
|
379669b153 | ||
|
06d1cf5e52 | ||
|
8b789993c3 | ||
|
f26b9c9f9f | ||
|
44c994e469 | ||
|
77e3ee88bd | ||
|
25174154b9 | ||
|
ebde8349cb | ||
|
b1bf354ade | ||
|
f7d57cc1eb | ||
|
f737908d2f | ||
|
e4b4305cf1 | ||
|
f0002ad372 | ||
|
61d7700c17 | ||
|
540d849a52 | ||
|
56875730d1 | ||
|
9d3e3eea7a | ||
|
a8ce096bf8 | ||
|
19f59cac3d | ||
|
31f5e8fe32 | ||
|
7564e43a6a | ||
|
5e8d4757d4 | ||
|
c6792a41ab | ||
|
1efb72210d | ||
|
3804d7a0ca | ||
|
45bcc89a01 | ||
|
4d34e1cfec | ||
|
6f6070b510 | ||
|
39ef5e40d0 | ||
|
edd490cf4d | ||
|
f76208808b | ||
|
11e5f2c473 | ||
|
36edb5fbf6 | ||
|
1a87249d1a | ||
|
6452d34cd7 | ||
|
656adece00 | ||
|
d5457d1b14 | ||
|
75475effb1 | ||
|
e11bdfabc0 | ||
|
0ade87ef92 | ||
|
0b4f5ba817 | ||
|
307a045e52 | ||
|
8d0138bd6b | ||
|
53a05daa31 | ||
|
089bf46d9a | ||
|
98b4428543 | ||
|
c3c8ea3e88 | ||
|
ef32ba3d6a | ||
|
cc8a634c3e | ||
|
5f5303f8fc | ||
|
3c2b5cda74 | ||
|
e5550439e2 | ||
|
b6528c9f91 | ||
|
f20bca5ec0 | ||
|
b736018843 | ||
|
741e9a6278 | ||
|
21cd322df9 | ||
|
4fc32b2751 | ||
|
1c09104dc6 | ||
|
9e72ec1c8a | ||
|
98711f8050 | ||
|
b25f193da3 | ||
|
d1936c1ae3 | ||
|
759ee31b0c | ||
|
1b18482d9f | ||
|
b7dfb7836f | ||
|
4e346076f2 | ||
|
f261b41d47 | ||
|
1051c1fcad | ||
|
a45a2c1de9 | ||
|
817e99640d | ||
|
afb6603d09 | ||
|
05b0e9a2f5 | ||
|
39e28ab933 | ||
|
ff41436b59 | ||
|
ba0a0ce0a0 | ||
|
e4049d42a5 | ||
|
ce5e97f720 | ||
|
4201a57a83 | ||
|
65bb9c505a | ||
|
85f86d1533 | ||
|
ffaf56d1c6 | ||
|
7a891eeb6d | ||
|
299902b008 | ||
|
c9a1adf2cc | ||
|
ebd1840802 | ||
|
f91b429839 | ||
|
da90d37b42 | ||
|
0ecebd89bc | ||
|
ac39847187 | ||
|
3aa9dfe16d | ||
|
4beed12317 | ||
|
fa07007389 | ||
|
043ec471bd | ||
|
1e41c723b8 | ||
|
e997ef60da | ||
|
3c161b136e | ||
|
d250e51018 | ||
|
bcd384711a | ||
|
d70f85d6b9 | ||
|
d7c95ad542 | ||
|
3a22e0c595 | ||
|
5c6ca889de | ||
|
e1f0a34781 | ||
|
914558f971 | ||
|
8ce68a5194 | ||
|
075dcc142a | ||
|
def95d9ebf | ||
|
50ffb3a4ac | ||
|
a3ea33baad | ||
|
4f2bfea6b1 | ||
|
a5c19887b0 | ||
|
fd11103cff | ||
|
14922f1784 | ||
|
57b8f759c5 | ||
|
d243efc127 | ||
|
e27f2a5c92 | ||
|
4b65e0ce0c | ||
|
e65c703741 | ||
|
300cef8249 | ||
|
ecf3fcdc90 | ||
|
ddd975cdb2 | ||
|
ca9fc93925 | ||
|
e58bb02acd | ||
|
7ff79452c1 | ||
|
6188a2e8c8 | ||
|
f9273a86bd | ||
|
054165d406 | ||
|
c05f25d968 | ||
|
f803b11626 | ||
|
91c5562b04 | ||
|
bdb96507bd | ||
|
77e0d83000 | ||
|
5d23819c69 | ||
|
62412cbcf4 | ||
|
bf7851f57c | ||
|
3203c59108 | ||
|
ac53fed1f2 | ||
|
16d8ca8ad9 | ||
|
a265ae2c96 | ||
|
8a9ffef52b | ||
|
f4cd637056 | ||
|
6e1e1991d5 | ||
|
70c4b66d99 | ||
|
6119c09535 | ||
|
77c41261d6 | ||
|
30a4d273fb | ||
|
d33c24b31e | ||
|
195a550bf4 | ||
|
5ca7bbfd0e | ||
|
10daf4c3b6 | ||
|
001c0a35ce | ||
|
622111f1ca | ||
|
90dfff5901 | ||
|
17064928d2 | ||
|
e082414f0c | ||
|
ce7e99ca5e | ||
|
3f63656630 | ||
|
d2bd63e455 | ||
|
8f44ec3c09 | ||
|
340c62ecd6 | ||
|
e9fdb35687 | ||
|
eaf0e54074 | ||
|
a1becccd3f | ||
|
14eebd97b0 | ||
|
d3584b22df | ||
|
480c5d5bf3 | ||
|
de99b2f0b8 | ||
|
177231516e | ||
|
ec91152a02 | ||
|
71c100869f | ||
|
4af8e3ef02 | ||
|
58f57aeb3b | ||
|
c2bfcca0e9 | ||
|
d34d99a917 | ||
|
a12931b9f8 | ||
|
54bdac6331 | ||
|
72baf988ee | ||
|
52be6acb89 | ||
|
8809fab111 | ||
|
352948fcdf | ||
|
31a57fe389 | ||
|
5493efdb41 | ||
|
98b1c94027 | ||
|
6e0d1fc23c | ||
|
8f955baf93 | ||
|
64fe119643 | ||
|
3857077701 | ||
|
91b862a527 | ||
|
67d4369b6c | ||
|
a5cb933e30 | ||
|
9ef0e03a20 | ||
|
a579083b17 | ||
|
e417fa1b7a | ||
|
022d0044cc | ||
|
a4cfe61106 | ||
|
a1c1c788c9 | ||
|
94960b828f | ||
|
6841c73808 | ||
|
f43f6900c9 | ||
|
7101cfe468 | ||
|
775e4a2da0 | ||
|
4862fa2e0f | ||
|
c654573ba2 | ||
|
bc1c0584b7 | ||
|
1e8d46352e | ||
|
10603f9598 | ||
|
7913a6f0b6 | ||
|
f04d654ae7 | ||
|
7e8c4f9c68 | ||
|
f9acfa1bd8 | ||
|
aff5c7ede6 | ||
|
9737c40982 | ||
|
7415ef8749 | ||
|
75938ceda8 | ||
|
b5f033306f | ||
|
46e3550823 | ||
|
1f4fd2b532 | ||
|
77bc2dc87c | ||
|
01d2ef6c66 | ||
|
1d1059550c | ||
|
fbb3c146ea | ||
|
e18e9a7064 | ||
|
0fe1432a6c | ||
|
9dd198e53f | ||
|
f592342870 | ||
|
d76d095b6d | ||
|
6d545b6d03 | ||
|
27b4032680 | ||
|
d9649bfa2f | ||
|
a70fef5d30 | ||
|
6dc2f6f026 | ||
|
25dd5d9eb0 | ||
|
f26b5c8d80 | ||
|
8429cf80c0 | ||
|
766662f0de | ||
|
7f6c3ea997 | ||
|
f077398063 | ||
|
a2b9ceaf99 | ||
|
52b125c928 | ||
|
147e1ad6b0 | ||
|
c73f2d8f22 | ||
|
8200b08d82 | ||
|
6775e63d99 | ||
|
80c14d7cf9 | ||
|
0081a96cbc | ||
|
78dcdbc246 | ||
|
f068dcc3be | ||
|
c397fe420b | ||
|
eca39f35a3 | ||
|
732be129d5 | ||
|
5b3ea0f24c | ||
|
a86b3c453a | ||
|
b9d9c59afa | ||
|
e7db2a2f8b | ||
|
2b9493429b | ||
|
ba54e7b823 | ||
|
e74268431f | ||
|
f4edfbe56f | ||
|
7dc987fca6 | ||
|
0d8749ca63 | ||
|
ffc68b3768 | ||
|
609201fd44 | ||
|
92ffcbadc4 | ||
|
ab1e86a3b1 | ||
|
eb71ec911c | ||
|
a393e2ef33 | ||
|
10250befe0 | ||
|
410684b298 | ||
|
ff61d74280 | ||
|
f95f3c707a | ||
|
df3c4f9363 | ||
|
3db01a9673 | ||
|
c4a4983a68 | ||
|
44e8dcdf28 | ||
|
a7022fe3b9 | ||
|
fdcdfcf476 | ||
|
ac83787d18 | ||
|
58ee7adc29 | ||
|
7fb9cddf1a | ||
|
a595758650 | ||
|
fdcd0ec07d | ||
|
ff21730d8e | ||
|
79939fe183 | ||
|
6c52f76088 | ||
|
bae49dfeae | ||
|
6624f5f5a9 | ||
|
d073d5924b | ||
|
d1e07e2952 | ||
|
4bc34c3bcf | ||
|
201327a49a | ||
|
97f9a2d4ec | ||
|
abaf682870 | ||
|
fbebb09449 | ||
|
5fe79b71f0 | ||
|
8211e083f2 | ||
|
7331a7649b | ||
|
e65699e9c1 | ||
|
a50c186e93 | ||
|
c23c12acc9 | ||
|
318da99fbf | ||
|
ad4297e718 | ||
|
146d1a4450 | ||
|
3642629767 | ||
|
0f216525af | ||
|
ed0df60d6e | ||
|
e55ca39329 | ||
|
383209ff8c | ||
|
ff4bfb93aa | ||
|
a51b5d7f7e | ||
|
977def8f00 | ||
|
8a53ed9e55 | ||
|
041b64b9e2 | ||
|
afc31c477f | ||
|
ed691dcba5 | ||
|
4a6ff4598e | ||
|
1f69f5196b | ||
|
c5330a2588 | ||
|
2d29cff140 | ||
|
45abadaf70 | ||
|
4fa83d55dc | ||
|
d3cf55a26d | ||
|
70123468b5 | ||
|
50a32b4b99 | ||
|
dab769a08c | ||
|
d36fb51c11 | ||
|
017a440296 | ||
|
47bd2482a9 | ||
|
e0d511b33f | ||
|
df6e0da623 | ||
|
ecf2c68d97 | ||
|
5107735c9f | ||
|
30f2af0aef | ||
|
a25aa2082d | ||
|
a5cf2c4b19 | ||
|
6cdb165fa4 | ||
|
e873c98e25 | ||
|
f8251a4da9 | ||
|
21694949fc | ||
|
3994e75550 | ||
|
a26f6d9768 | ||
|
13e64aa103 | ||
|
ef72fe750a | ||
|
e169e2bdd5 | ||
|
3ffd71cf35 | ||
|
417b91e3f9 | ||
|
e526b8f473 | ||
|
336357780b | ||
|
7b42bade95 | ||
|
3090fe77d9 | ||
|
5b54f86aee | ||
|
8e08721278 | ||
|
cdd6fb32c5 | ||
|
af778ec7d0 | ||
|
321a21959e | ||
|
8393c6d9be | ||
|
4119578562 | ||
|
c6b16fbbfa | ||
|
17ec9ee4af | ||
|
44a2d5d65f | ||
|
cc282c00d2 | ||
|
b38c885eca | ||
|
08f216e11f | ||
|
b05466d368 | ||
|
ddd5fcb8ce | ||
|
c34760010f | ||
|
a83e1bcc03 | ||
|
fee3a3066c | ||
|
cb7c994e82 | ||
|
d854706bf9 | ||
|
9cb188b512 | ||
|
4bf343a0ec | ||
|
2d3c0e9e7d | ||
|
6918fd70c8 | ||
|
fa3d410848 | ||
|
a8f10f6865 | ||
|
0b50915878 | ||
|
bd80b34ca8 | ||
|
f0038fad63 | ||
|
093f806f59 | ||
|
94555371f5 | ||
|
47da5607e1 | ||
|
8e4dc3cf29 | ||
|
0872338cf2 | ||
|
fbd6e8b6e3 | ||
|
0e866fd261 | ||
|
59c05aeb48 | ||
|
d402cd4e2e | ||
|
175c400678 | ||
|
18177388d1 | ||
|
22bb5d1968 | ||
|
8d86ddea7f | ||
|
3e3e89a3c1 | ||
|
5239427c52 | ||
|
dc17e6ff17 | ||
|
e47375cc64 | ||
|
e56a9e6ce5 | ||
|
b6c9d23b9a | ||
|
e3f67d56db | ||
|
afd61c3570 | ||
|
d6a81377b1 | ||
|
27d19e19a1 | ||
|
c96b50a73b | ||
|
1e1da035fd | ||
|
2959b2075b | ||
|
dcdab5b85c | ||
|
ef67eb0b3c | ||
|
3db1681c76 | ||
|
ae2ef1472c | ||
|
0be9b233dc | ||
|
c0f380c422 | ||
|
e3f87466f9 | ||
|
b1b82dba2f | ||
|
765a201965 | ||
|
39d78e6371 | ||
|
6033b6457b | ||
|
44cdb20c10 | ||
|
0836c28202 | ||
|
dd25499f1e | ||
|
3386924dbb | ||
|
0f2b019d89 | ||
|
26b24916c8 | ||
|
044383fe45 | ||
|
689bc42aaf | ||
|
a8a56e8a0e | ||
|
47d24c34cd | ||
|
c925221aa8 | ||
|
c0321d6948 | ||
|
9b3ac9c946 | ||
|
2881d6d978 | ||
|
034ed1756c | ||
|
4ba8971404 | ||
|
03be8c5617 | ||
|
8e20c1fac2 | ||
|
184424ae40 | ||
|
b565f5d5c2 | ||
|
9711c2ad45 | ||
|
d449a9e657 | ||
|
ac490ee8a4 | ||
|
6536646720 | ||
|
4d7d44c717 | ||
|
9c33adf118 | ||
|
1a29a2f03f | ||
|
9cde2186bf | ||
|
d942a31750 | ||
|
be271db028 | ||
|
4e804ff4a7 | ||
|
a7e207abe2 | ||
|
9236ee0564 | ||
|
91cc9b58f3 | ||
|
7bd9cdc8fb | ||
|
02d4fbe29e | ||
|
8af587c189 | ||
|
60f9dbf676 | ||
|
b1b9de6836 | ||
|
2957b86f72 | ||
|
4f9ea5e54b | ||
|
4273b6ad92 | ||
|
b558f7c9ee | ||
|
c860a2db85 | ||
|
fbf88d285e | ||
|
56cfc65909 | ||
|
c734c7e918 | ||
|
09bdd4531a | ||
|
370d8242e7 | ||
|
0dcbbc3344 | ||
|
c073a062b6 | ||
|
abb43f3364 | ||
|
b7ec3b163f | ||
|
a7c5f26d24 | ||
|
e9757b9afc | ||
|
ceeb55eac2 | ||
|
ac739b2a72 | ||
|
983e82b750 | ||
|
0fcfa1f266 | ||
|
ec1e8fb20f | ||
|
849b7faac8 | ||
|
1f64689c31 | ||
|
81c8efc863 | ||
|
b819fcac74 | ||
|
df6ea75a04 | ||
|
77c1424582 | ||
|
014320bfb0 | ||
|
0f957ca4f7 | ||
|
6bdc1137f2 | ||
|
a4410e9c01 | ||
|
9d9b023166 | ||
|
f5408e5061 | ||
|
1373bf1d76 | ||
|
cc7f9c44e4 | ||
|
ce86b411f8 | ||
|
a04fef4b9e | ||
|
3246d6a738 | ||
|
bcb9babc5f | ||
|
e96c6c40f8 | ||
|
9f1b954fff | ||
|
651715b8e8 | ||
|
b6b15508d5 | ||
|
5aba13f62d | ||
|
749a58ab26 | ||
|
3462fcf9a0 | ||
|
0432b22e02 | ||
|
33589f154e | ||
|
d2ef356f1d | ||
|
c5789127a7 | ||
|
28833783cc | ||
|
2d31112a7f | ||
|
52edd6b192 | ||
|
940126c427 | ||
|
8cfbf63c5a | ||
|
068f7f7423 | ||
|
65f2fe828c | ||
|
b5a8bd5fe3 | ||
|
2445f46e01 | ||
|
1d40ba250f | ||
|
e47440def5 | ||
|
6a37e2d19e | ||
|
7391a078b3 | ||
|
d52dad2042 | ||
|
26d32f3bd0 | ||
|
e41ec3c62e | ||
|
cb89ad18a2 | ||
|
fd758bb2e9 | ||
|
1882ff9be3 | ||
|
fb9e3e1830 | ||
|
310dc4b6c4 | ||
|
b1bc86e905 | ||
|
59055fd9f7 | ||
|
a33bf3da56 | ||
|
490cf8dff6 | ||
|
331a92d559 | ||
|
1bbd244517 | ||
|
c9d4f53cfc | ||
|
dbf7e1d23b | ||
|
212efbdd81 | ||
|
5a84730b4a | ||
|
1ee995fd0f | ||
|
9709d7eb61 | ||
|
7bc1aeef8e | ||
|
73fcf0d3d4 | ||
|
fb083b6de2 | ||
|
09fe0b0edc | ||
|
857b9a55a4 | ||
|
dc5698ad55 | ||
|
b185f69334 | ||
|
ca33855793 | ||
|
74f6832001 | ||
|
6db8e62ae7 | ||
|
c1e40a5fbd | ||
|
7586e88204 | ||
|
5e8edec254 | ||
|
6b079afa0a | ||
|
e24e0dd8a5 | ||
|
1cd99d63d1 | ||
|
0e24d35e3b | ||
|
92206fe23b | ||
|
7d0364a127 | ||
|
988d2dd077 | ||
|
397471d604 | ||
|
b0a31fefd7 | ||
|
4da82356bc | ||
|
ac1f66a35b | ||
|
2912363104 | ||
|
1e7988531a | ||
|
2d2ad0a997 | ||
|
8dc95560e2 | ||
|
dbce9ee870 | ||
|
ead77a4628 | ||
|
20c29fd8c0 | ||
|
a8ffb42739 | ||
|
d9000a0740 | ||
|
3b246fbc56 | ||
|
ca63c98447 | ||
|
215c2be76f | ||
|
4eb2f297f1 | ||
|
89d5c543ac | ||
|
cde5a3f4b4 | ||
|
9109efb19e | ||
|
ea6e3b3ddf | ||
|
00842f4d4e | ||
|
a4fe15d9f0 | ||
|
8caa937739 | ||
|
8ec004cc08 |
@@ -1,4 +1,4 @@
|
|||||||
image: registry.gitlab.gnome.org/gnome/gtk/gtk-3-24:v1
|
image: registry.gitlab.gnome.org/gnome/gtk/gtk-3-24:v2
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
@@ -7,12 +7,52 @@ cache:
|
|||||||
paths:
|
paths:
|
||||||
- _ccache/
|
- _ccache/
|
||||||
|
|
||||||
build:
|
fedora-autotools:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- bash -x ./.gitlab-ci/test-docker.sh
|
- bash -x ./.gitlab-ci/test-docker-autotools.sh
|
||||||
|
|
||||||
msys2-mingw32:
|
fedora-distcheck:
|
||||||
|
variables:
|
||||||
|
DO_DISTCHECK: "yes"
|
||||||
|
when: manual
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- bash -x ./.gitlab-ci/test-docker-autotools.sh
|
||||||
|
|
||||||
|
fedora-meson: &fedora-meson-defaults
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- bash -x ./.gitlab-ci/test-docker-meson.sh
|
||||||
|
artifacts:
|
||||||
|
when: always
|
||||||
|
name: "gtk3-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
paths:
|
||||||
|
- "_build/meson-logs"
|
||||||
|
- "_build/testsuite/reftests/output"
|
||||||
|
|
||||||
|
fedora-meson-staticlibs:
|
||||||
|
variables:
|
||||||
|
EXTRA_MESON_FLAGS: "-Ddefault_library=both"
|
||||||
|
<<: *fedora-meson-defaults
|
||||||
|
|
||||||
|
msys2-mingw32-meson:
|
||||||
|
variables:
|
||||||
|
MSYSTEM: "MINGW32"
|
||||||
|
CHERE_INVOKING: "yes"
|
||||||
|
stage: build
|
||||||
|
tags:
|
||||||
|
- win32
|
||||||
|
script:
|
||||||
|
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
|
||||||
|
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2-meson.sh"
|
||||||
|
artifacts:
|
||||||
|
when: always
|
||||||
|
name: "gtk3-%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
|
||||||
|
paths:
|
||||||
|
- "_build/meson-logs"
|
||||||
|
|
||||||
|
msys2-mingw32-autotools:
|
||||||
when: manual
|
when: manual
|
||||||
variables:
|
variables:
|
||||||
MSYSTEM: "MINGW32"
|
MSYSTEM: "MINGW32"
|
||||||
@@ -22,4 +62,4 @@ msys2-mingw32:
|
|||||||
- win32
|
- win32
|
||||||
script:
|
script:
|
||||||
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
|
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
|
||||||
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
|
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2-autotools.sh"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM fedora:28
|
FROM fedora:29
|
||||||
|
|
||||||
RUN dnf -y install \
|
RUN dnf -y install \
|
||||||
adwaita-icon-theme \
|
adwaita-icon-theme \
|
||||||
@@ -10,6 +10,7 @@ RUN dnf -y install \
|
|||||||
ccache \
|
ccache \
|
||||||
colord-devel \
|
colord-devel \
|
||||||
cups-devel \
|
cups-devel \
|
||||||
|
dbus-x11 \
|
||||||
fribidi-devel \
|
fribidi-devel \
|
||||||
gcc \
|
gcc \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
@@ -23,8 +24,10 @@ RUN dnf -y install \
|
|||||||
graphene-devel \
|
graphene-devel \
|
||||||
gtk-doc \
|
gtk-doc \
|
||||||
hicolor-icon-theme \
|
hicolor-icon-theme \
|
||||||
|
iso-codes \
|
||||||
itstool \
|
itstool \
|
||||||
json-glib-devel \
|
json-glib-devel \
|
||||||
|
libcloudproviders-devel \
|
||||||
libepoxy-devel \
|
libepoxy-devel \
|
||||||
libmount-devel \
|
libmount-devel \
|
||||||
librsvg2 \
|
librsvg2 \
|
||||||
@@ -42,12 +45,19 @@ RUN dnf -y install \
|
|||||||
mesa-libEGL-devel \
|
mesa-libEGL-devel \
|
||||||
mesa-libwayland-egl-devel \
|
mesa-libwayland-egl-devel \
|
||||||
meson \
|
meson \
|
||||||
|
ninja-build \
|
||||||
pango-devel \
|
pango-devel \
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
python3-wheel \
|
||||||
redhat-rpm-config \
|
redhat-rpm-config \
|
||||||
|
rest-devel \
|
||||||
|
sassc \
|
||||||
vulkan-devel \
|
vulkan-devel \
|
||||||
wayland-devel \
|
wayland-devel \
|
||||||
wayland-protocols-devel \
|
wayland-protocols-devel \
|
||||||
xorg-x11-server-Xvfb
|
xorg-x11-server-Xvfb \
|
||||||
|
&& dnf clean all
|
||||||
|
|
||||||
ARG HOST_USER_ID=5555
|
ARG HOST_USER_ID=5555
|
||||||
ENV HOST_USER_ID ${HOST_USER_ID}
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
TAG="registry.gitlab.gnome.org/gnome/gtk/gtk-3-24:v1"
|
TAG="registry.gitlab.gnome.org/gnome/gtk/gtk-3-24:v2"
|
||||||
|
|
||||||
# HOST_USER_ID gets used to create a user with the same ID so that files
|
# HOST_USER_ID gets used to create a user with the same ID so that files
|
||||||
# created in the mounted volume have the same owner
|
# created in the mounted volume have the same owner
|
||||||
|
23
.gitlab-ci/test-docker-autotools.sh
Executable file
23
.gitlab-ci/test-docker-autotools.sh
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p _ccache
|
||||||
|
export CCACHE_BASEDIR="$(pwd)"
|
||||||
|
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
||||||
|
|
||||||
|
mkdir _build
|
||||||
|
cd _build
|
||||||
|
../autogen.sh \
|
||||||
|
--enable-cloudproviders \
|
||||||
|
--enable-broadway-backend \
|
||||||
|
--enable-wayland-backend \
|
||||||
|
--enable-x11-backend \
|
||||||
|
--enable-xinerama \
|
||||||
|
--enable-gtk-doc
|
||||||
|
make -j8
|
||||||
|
|
||||||
|
if [ -n "${DO_DISTCHECK-}" ]; then
|
||||||
|
make -j8 check SKIP_GDKTARGET="echo Not actually running tests for now"
|
||||||
|
make -j8 distcheck SKIP_GDKTARGET="echo Not actually running tests for now"
|
||||||
|
fi
|
32
.gitlab-ci/test-docker-meson.sh
Executable file
32
.gitlab-ci/test-docker-meson.sh
Executable file
@@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p _ccache
|
||||||
|
export CCACHE_BASEDIR="$(pwd)"
|
||||||
|
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
||||||
|
|
||||||
|
export PATH="${HOME}/.local/bin:${PATH}"
|
||||||
|
python3 -m pip install --user meson==0.49.2
|
||||||
|
|
||||||
|
meson \
|
||||||
|
-Dgtk_doc=true \
|
||||||
|
-Dman=true \
|
||||||
|
-Dinstalled_tests=true \
|
||||||
|
-Dbroadway_backend=true \
|
||||||
|
-Dxinerama=yes \
|
||||||
|
-Dprint_backends="file,lpr,test,cloudprint,cups" \
|
||||||
|
${EXTRA_MESON_FLAGS:-} \
|
||||||
|
_build
|
||||||
|
|
||||||
|
cd _build
|
||||||
|
ninja
|
||||||
|
|
||||||
|
xvfb-run -a -s "-screen 0 1024x768x24" \
|
||||||
|
meson test \
|
||||||
|
--timeout-multiplier 4 \
|
||||||
|
--print-errorlogs \
|
||||||
|
--suite=gtk+-3.0 \
|
||||||
|
--no-suite=gtk+-3.0:a11y
|
||||||
|
|
||||||
|
ninja gail-libgail-util3-doc gdk3-doc gtk3-doc
|
@@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p _ccache
|
|
||||||
export CCACHE_BASEDIR="$(pwd)"
|
|
||||||
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
|
||||||
|
|
||||||
./autogen.sh
|
|
||||||
make -j8
|
|
@@ -14,7 +14,6 @@ pacman --noconfirm -Suy
|
|||||||
# Install the required packages
|
# Install the required packages
|
||||||
pacman --noconfirm -S --needed \
|
pacman --noconfirm -S --needed \
|
||||||
base-devel \
|
base-devel \
|
||||||
git \
|
|
||||||
mingw-w64-$MSYS2_ARCH-toolchain \
|
mingw-w64-$MSYS2_ARCH-toolchain \
|
||||||
mingw-w64-$MSYS2_ARCH-ccache \
|
mingw-w64-$MSYS2_ARCH-ccache \
|
||||||
mingw-w64-$MSYS2_ARCH-pkg-config \
|
mingw-w64-$MSYS2_ARCH-pkg-config \
|
48
.gitlab-ci/test-msys2-meson.sh
Normal file
48
.gitlab-ci/test-msys2-meson.sh
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [[ "$MSYSTEM" == "MINGW32" ]]; then
|
||||||
|
export MSYS2_ARCH="i686"
|
||||||
|
else
|
||||||
|
export MSYS2_ARCH="x86_64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update everything
|
||||||
|
pacman --noconfirm -Suy
|
||||||
|
|
||||||
|
# Install the required packages
|
||||||
|
pacman --noconfirm -S --needed \
|
||||||
|
mingw-w64-$MSYS2_ARCH-toolchain \
|
||||||
|
mingw-w64-$MSYS2_ARCH-ccache \
|
||||||
|
mingw-w64-$MSYS2_ARCH-pkg-config \
|
||||||
|
mingw-w64-$MSYS2_ARCH-gobject-introspection \
|
||||||
|
mingw-w64-$MSYS2_ARCH-adwaita-icon-theme \
|
||||||
|
mingw-w64-$MSYS2_ARCH-atk \
|
||||||
|
mingw-w64-$MSYS2_ARCH-cairo \
|
||||||
|
mingw-w64-$MSYS2_ARCH-gdk-pixbuf2 \
|
||||||
|
mingw-w64-$MSYS2_ARCH-glib2 \
|
||||||
|
mingw-w64-$MSYS2_ARCH-json-glib \
|
||||||
|
mingw-w64-$MSYS2_ARCH-libepoxy \
|
||||||
|
mingw-w64-$MSYS2_ARCH-pango \
|
||||||
|
mingw-w64-$MSYS2_ARCH-shared-mime-info \
|
||||||
|
mingw-w64-$MSYS2_ARCH-meson \
|
||||||
|
mingw-w64-$MSYS2_ARCH-ninja \
|
||||||
|
mingw-w64-$MSYS2_ARCH-gtk-doc
|
||||||
|
|
||||||
|
mkdir -p _ccache
|
||||||
|
export CCACHE_BASEDIR="$(pwd)"
|
||||||
|
export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
|
||||||
|
|
||||||
|
# Build
|
||||||
|
ccache --zero-stats
|
||||||
|
ccache --show-stats
|
||||||
|
|
||||||
|
meson \
|
||||||
|
-Dman=true \
|
||||||
|
-Dbroadway_backend=true \
|
||||||
|
_build
|
||||||
|
|
||||||
|
ninja -C _build
|
||||||
|
|
||||||
|
ccache --show-stats
|
18
Makefile.am
18
Makefile.am
@@ -22,7 +22,13 @@ EXTRA_DIST += \
|
|||||||
sanitize-la.sh \
|
sanitize-la.sh \
|
||||||
po/README.translators \
|
po/README.translators \
|
||||||
po/po2tbl.sed.in \
|
po/po2tbl.sed.in \
|
||||||
make-pot
|
make-pot \
|
||||||
|
meson_options.txt \
|
||||||
|
meson.build \
|
||||||
|
po/meson.build \
|
||||||
|
po-properties/meson.build \
|
||||||
|
build-aux/meson/post-install.py \
|
||||||
|
config.h.meson
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
|
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
|
||||||
@@ -36,11 +42,11 @@ MAINTAINERCLEANFILES = \
|
|||||||
|
|
||||||
|
|
||||||
## Copy .pc files to target-specific names
|
## Copy .pc files to target-specific names
|
||||||
gtk+-x11-3.0.pc gtk+-win32-3.0.pc gtk+-quartz-3.0.pc gtk+-broadway-3.0.pc gtk+-wayland-3.0.pc gtk+-mir-3.0.pc: gtk+-3.0.pc
|
gtk+-x11-3.0.pc gtk+-win32-3.0.pc gtk+-quartz-3.0.pc gtk+-broadway-3.0.pc gtk+-wayland-3.0.pc: gtk+-3.0.pc
|
||||||
rm -f $@ && \
|
rm -f $@ && \
|
||||||
cp gtk+-3.0.pc $@
|
cp gtk+-3.0.pc $@
|
||||||
|
|
||||||
gdk-x11-3.0.pc gdk-win32-3.0.pc gdk-quartz-3.0.pc gdk-broadway-3.0.pc gdk-wayland-3.0.pc gdk-mir-3.0.pc: gdk-3.0.pc
|
gdk-x11-3.0.pc gdk-win32-3.0.pc gdk-quartz-3.0.pc gdk-broadway-3.0.pc gdk-wayland-3.0.pc: gdk-3.0.pc
|
||||||
rm -f $@ && \
|
rm -f $@ && \
|
||||||
cp gdk-3.0.pc $@
|
cp gdk-3.0.pc $@
|
||||||
|
|
||||||
@@ -61,17 +67,19 @@ DISTCLEANFILES = \
|
|||||||
gtk+-quartz-3.0.pc \
|
gtk+-quartz-3.0.pc \
|
||||||
gtk+-broadway-3.0.pc \
|
gtk+-broadway-3.0.pc \
|
||||||
gtk+-wayland-3.0.pc \
|
gtk+-wayland-3.0.pc \
|
||||||
gtk+-mir-3.0.pc \
|
|
||||||
gdk-3.0.pc \
|
gdk-3.0.pc \
|
||||||
gdk-x11-3.0.pc \
|
gdk-x11-3.0.pc \
|
||||||
gdk-win32-3.0.pc \
|
gdk-win32-3.0.pc \
|
||||||
gdk-quartz-3.0.pc \
|
gdk-quartz-3.0.pc \
|
||||||
gdk-broadway-3.0.pc \
|
gdk-broadway-3.0.pc \
|
||||||
gdk-wayland-3.0.pc \
|
gdk-wayland-3.0.pc \
|
||||||
gdk-mir-3.0.pc \
|
|
||||||
gail-3.0.pc \
|
gail-3.0.pc \
|
||||||
config.lt
|
config.lt
|
||||||
|
|
||||||
|
dist-hook:
|
||||||
|
mkdir $(distdir)/subprojects
|
||||||
|
cp -p $(srcdir)/subprojects/*.wrap $(distdir)/subprojects
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
if test "$(srcdir)" = "."; then :; else \
|
if test "$(srcdir)" = "."; then :; else \
|
||||||
rm -f ChangeLog; \
|
rm -f ChangeLog; \
|
||||||
|
210
NEWS
210
NEWS
@@ -1,9 +1,219 @@
|
|||||||
|
Overview of Changes in GTK+ 3.24.13
|
||||||
|
===================================
|
||||||
|
|
||||||
|
* listbox: Fix header row reuse
|
||||||
|
|
||||||
|
* wayland: Fix handling of tablets
|
||||||
|
|
||||||
|
* theme:
|
||||||
|
- Adwaita: Fix menu rounding
|
||||||
|
- Adwaita: Various improvements for the Emoji chooser
|
||||||
|
- Adwaita: Refresh check and radio buttons
|
||||||
|
- HighContrast: Fix entry colors
|
||||||
|
|
||||||
|
* input:
|
||||||
|
- Properly handle bubbling of scroll events
|
||||||
|
- Handle modifier key events properly
|
||||||
|
- Run key controllers in the bubble phase
|
||||||
|
- Do not use VIQR for Vietnamese by default
|
||||||
|
|
||||||
|
* statusicons: Render sharply on hi-dpi
|
||||||
|
|
||||||
|
* wayland: Fix handling of selection ownership
|
||||||
|
|
||||||
|
* win32:
|
||||||
|
- Set WS_BORDER for fullscreen GL windows if requested
|
||||||
|
- Fix clipboard handling
|
||||||
|
|
||||||
|
* quartz:
|
||||||
|
- Handle titlebar events properly
|
||||||
|
- Handle page up/down key events properly
|
||||||
|
|
||||||
|
* broadway: Fix (lack of) clipboard handling
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Catalan
|
||||||
|
Chinese (Taiwan)
|
||||||
|
Croatian
|
||||||
|
Danish
|
||||||
|
French
|
||||||
|
German
|
||||||
|
Hungarian
|
||||||
|
Indonesian
|
||||||
|
Russian
|
||||||
|
Swedish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes in GTK+ 3.24.12
|
||||||
|
===================================
|
||||||
|
|
||||||
|
* file chooser: allow sorting by file type
|
||||||
|
|
||||||
|
* dnd: fix pointer offsets under X11 and Wayland
|
||||||
|
|
||||||
|
* broadway: Fix a font problem
|
||||||
|
|
||||||
|
* mir Drop this backend
|
||||||
|
|
||||||
|
* printing: Get PPD from original host if needed
|
||||||
|
|
||||||
|
* a11y: Fix interference with clutter a11y impl
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Brazilian Portuguese
|
||||||
|
Czech
|
||||||
|
Danish
|
||||||
|
Dutch
|
||||||
|
Italian
|
||||||
|
Greek
|
||||||
|
Lithuanian
|
||||||
|
Norwegian Bokmål
|
||||||
|
Polish
|
||||||
|
Romanian
|
||||||
|
Slovenian
|
||||||
|
Spanish
|
||||||
|
Turkish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes in GTK+ 3.24.11
|
||||||
|
===================================
|
||||||
|
|
||||||
|
* Adwaita:
|
||||||
|
- Add drop shadow to icons
|
||||||
|
- Small color fixes
|
||||||
|
- Make title buttons round
|
||||||
|
|
||||||
|
* OS X: Fix the monitors-changed signal
|
||||||
|
|
||||||
|
* Win32:
|
||||||
|
- Build fixes
|
||||||
|
- Support choices in the native file chooser
|
||||||
|
- Fix icon cache freshness checks on 64bit
|
||||||
|
|
||||||
|
* Wayland:
|
||||||
|
- Support xdg-output v3
|
||||||
|
- Fix clipboard ownership handling
|
||||||
|
|
||||||
|
* X11: Improve monitor metadata
|
||||||
|
|
||||||
|
* Build: Require GLib 2.57.2
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Basque
|
||||||
|
Brazilian Portuguese
|
||||||
|
British English
|
||||||
|
Catalan
|
||||||
|
Croatian
|
||||||
|
French
|
||||||
|
Friulian
|
||||||
|
Galician
|
||||||
|
German
|
||||||
|
Greek
|
||||||
|
Hungarian
|
||||||
|
Indonesian
|
||||||
|
Japanese
|
||||||
|
Korean
|
||||||
|
Latvian
|
||||||
|
Lithuanian
|
||||||
|
Polish
|
||||||
|
Punjabi
|
||||||
|
Romanian
|
||||||
|
Serbian
|
||||||
|
Slovenian
|
||||||
|
Spanish
|
||||||
|
Swedish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes in GTK+ 3.24.10
|
||||||
|
===================================
|
||||||
|
|
||||||
|
* Make gtk_widget_get_action_group behave as documented
|
||||||
|
|
||||||
|
* Make gdk_screen_get_monitor_plug_name works as before
|
||||||
|
|
||||||
|
* Adwaita:
|
||||||
|
- Update infobar look
|
||||||
|
- Fix some issues with submenus and popovers
|
||||||
|
|
||||||
|
* Wayland: Use the xdg-output protocol
|
||||||
|
|
||||||
|
* Fix build issues around cups
|
||||||
|
|
||||||
|
* Quartz: Build fixes
|
||||||
|
|
||||||
|
* treeview: Bring the pixel cache back, since its removal
|
||||||
|
was causing problems in some applications
|
||||||
|
|
||||||
|
* Various documentation improvements
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Slovenian
|
||||||
|
Croatian
|
||||||
|
Spanish
|
||||||
|
|
||||||
|
|
||||||
|
Overview of Changes in GTK+ 3.24.9
|
||||||
|
==================================
|
||||||
|
|
||||||
|
* GTK can now be built with the meson build system
|
||||||
|
|
||||||
|
* Quartz:
|
||||||
|
- Build fixes
|
||||||
|
- Fix a crash with DND
|
||||||
|
|
||||||
|
* Win32:
|
||||||
|
- Enable GLES via libANGLE
|
||||||
|
- Fix preedit window placement on hi-dpi screens
|
||||||
|
|
||||||
|
* Wayland:
|
||||||
|
- Support the xdg-output protocol for correct
|
||||||
|
monitor sizes with scaled displays
|
||||||
|
- Fix handling of cursor hotspots that was reading
|
||||||
|
uninitialized memory
|
||||||
|
- Update tablet cursors when scale changes
|
||||||
|
|
||||||
|
* CSS:
|
||||||
|
- Use multiple font-family values
|
||||||
|
|
||||||
|
* Emoji:
|
||||||
|
- Populate the Emoji chooser incrementally
|
||||||
|
|
||||||
|
* Printing:
|
||||||
|
- Require CUPS 1.7
|
||||||
|
|
||||||
|
* Scrolling:
|
||||||
|
- Add a gtk-overlay-scrolling setting that can be
|
||||||
|
used to force traditional (non-overlay) scrollbars
|
||||||
|
|
||||||
|
* GtkTreeView:
|
||||||
|
- Update rubberband rectangles more often
|
||||||
|
- Remove the pixel cache, to avoid the redraw
|
||||||
|
issues that it causes
|
||||||
|
|
||||||
|
* Tooling:
|
||||||
|
- Support sysprof profiling
|
||||||
|
|
||||||
|
* Themes:
|
||||||
|
- Adwaita: Small tweaks to the theme refresh
|
||||||
|
- Adwaita: Update treeview progress bars
|
||||||
|
- HighContrast: Improve notebook tabs
|
||||||
|
|
||||||
|
* Translation updates:
|
||||||
|
Brazilian Portuguese
|
||||||
|
Friulian
|
||||||
|
Hungarian
|
||||||
|
Indonesian
|
||||||
|
Italian
|
||||||
|
Lithuanian
|
||||||
|
|
||||||
|
|
||||||
Overview of Changes in GTK+ 3.24.8
|
Overview of Changes in GTK+ 3.24.8
|
||||||
==================================
|
==================================
|
||||||
|
|
||||||
* Color editor: don't warn if editing is cancelled
|
* Color editor: don't warn if editing is cancelled
|
||||||
|
|
||||||
* Always redraw on allocate - not doing so is
|
* Always redraw on allocate - not doing so is
|
||||||
|
|
||||||
not safe when any widget can have a background
|
not safe when any widget can have a background
|
||||||
|
|
||||||
* Use GLSL 3.30 for shaders
|
* Use GLSL 3.30 for shaders
|
||||||
|
90
README.win32
90
README.win32
@@ -181,6 +181,96 @@ instance the makefile.msc files might not produce identically named
|
|||||||
DLLs and import libraries as the "autoconfiscated" makefiles and
|
DLLs and import libraries as the "autoconfiscated" makefiles and
|
||||||
libtool do. If this bothers you, you will have to fix the makefiles.
|
libtool do. If this bothers you, you will have to fix the makefiles.
|
||||||
|
|
||||||
|
3) Using Meson (for Visual Studio and MinGW builds)
|
||||||
|
---
|
||||||
|
|
||||||
|
Meson can now be used to build GTK+-3.x with either MinGW or Visual Studio.
|
||||||
|
You will need the following items in addition to all the dependencies
|
||||||
|
listed above:
|
||||||
|
|
||||||
|
- Python 3.5 or later
|
||||||
|
- Meson build system, 0.48.0 or later
|
||||||
|
- Ninja (if not using the Visual Studio project generator for
|
||||||
|
Visual Studio 2010, 2015, 2017, 2019)
|
||||||
|
- CMake (optional, used for dependency searching)
|
||||||
|
- pkg-config (optional, or some compatible tool, highly recommended)
|
||||||
|
|
||||||
|
For all Windows builds, note that unless -Dbuiltin_immodules=no is specified,
|
||||||
|
the input modules (immodules) are built directly into the GTK DLL.
|
||||||
|
|
||||||
|
For building with Meson using Visual Studio, do the following:
|
||||||
|
|
||||||
|
Create an empty build directory somewhere that is on the same drive
|
||||||
|
as the source tree, and launch the Visual Studio command prompt that
|
||||||
|
matches the build configuration (Visual Studio version and architecture),
|
||||||
|
and run the following:
|
||||||
|
|
||||||
|
- Ensure that both the installation directory of Python and its script
|
||||||
|
directory is in your PATH, as well as the Ninja, CMake and pkg-config
|
||||||
|
executables (if used). If a pkg-config compatible drop-in replacement
|
||||||
|
tool is being used, ensure that PKG_CONFIG is set to point to the
|
||||||
|
executable of that tool as well.
|
||||||
|
|
||||||
|
- For non-GNOME dependencies (such as Cairo and Harfbuzz), where pkg-config
|
||||||
|
files or CMake files could not be properly located, set INCLUDE and LIB
|
||||||
|
to ensure that their header files and .lib files can be found respectively.
|
||||||
|
The DLLs of those dependencies should also be in the PATH during the build
|
||||||
|
as well, especially if introspection files are to be built.
|
||||||
|
|
||||||
|
- For GNOME dependencies, the pkg-config files for those dependencies should
|
||||||
|
be searchable by pkg-config (or a compatible tool). Verify this by running
|
||||||
|
$(PKG_CONFIG) --modversion <dependency>.
|
||||||
|
|
||||||
|
- Run the following:
|
||||||
|
meson <path_to_directory_of_this_file> --buildtype=... --prefix=...,
|
||||||
|
where buildtype can be release, debugoptimized, debug or plain. Please
|
||||||
|
refer to the Meson documentation for more details. You may also wish to
|
||||||
|
pass in -Dbroadway_backend=true if building the Broadway GDK backend is
|
||||||
|
desired, and/or pass in -Dbuiltin_immodules=no to build the immodules as
|
||||||
|
standalone DLLs that can be loaded by GTK dynamically. For Visual Studio
|
||||||
|
2010, 2015, 2017 and 2019 builds, you may pass in --backend=vs to generate
|
||||||
|
Visual Studio project files to be used to carry out the builds.
|
||||||
|
|
||||||
|
If you are building with Visual Studio 2008, note the following items as well:
|
||||||
|
|
||||||
|
- For x64 builds, the compiler may hang when building the certain files, due
|
||||||
|
to optimization issues in the compiler. If this happens, use the Windows
|
||||||
|
Task Manager and terminate all cl.exe processes, and the build will fail
|
||||||
|
with the source files that did not finish compiling due to the hang.
|
||||||
|
Look for them in build.ninja in the build directory, and change their compiler
|
||||||
|
flag "/O2" to "/O1", and the compilation and linking should proceed normally.
|
||||||
|
At this time of writing, the following files are known to cause this hang:
|
||||||
|
|
||||||
|
gtk\gtkfilechoosernativewin32.c
|
||||||
|
gtk\gtkfilesystemmodel.c
|
||||||
|
gtk\gtktextsegment.c
|
||||||
|
gtk\gtktextbtree.c
|
||||||
|
gtk\gtkrbtree.c
|
||||||
|
testsuite\gtk\treemodel.c
|
||||||
|
testsuite\gtk\textbuffer.c
|
||||||
|
testsuite\gtk\rbtree.c
|
||||||
|
testsuite\gtk\icontheme.c
|
||||||
|
|
||||||
|
- Upon running install (via "ninja install"), it is likely that
|
||||||
|
gtk-query-immodules-3.0.exe will fail to run as it cannot find msvcr90.dll or
|
||||||
|
msvcr90D.dll. You can ignore this if you did not specify -Dbuiltin_immodules=no
|
||||||
|
when configuring via Meson. If -Dbuiltin_immodules=no is specified, you need to
|
||||||
|
run the following after embedding the manifests as outlined in the next point:
|
||||||
|
|
||||||
|
<gtk_install_prefix>\bin\gtk-query-immodules-3.0.exe > <gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules.cache
|
||||||
|
|
||||||
|
- You will need to run the following upon completing install, from the build
|
||||||
|
directory in the Visual Studio 2008/SDK 6.0 command prompt (third line is not
|
||||||
|
needed unless -Dbuiltin_immodules=no is specified) so that the built binaries
|
||||||
|
can run:
|
||||||
|
|
||||||
|
for /r %f in (*.dll.manifest) do if exist <gtk_install_prefix>\bin\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\bin\%~nf;2
|
||||||
|
for /r %f in (*.exe.manifest) do if exist <gtk_install_prefix>\bin\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\bin\%~nf;1
|
||||||
|
for /r %f in (*.dll.manifest) do if exist <gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules\%~nf mt /manifest %f /outputresource:<gtk_install_prefix>\lib\gtk-3.0\3.0.0\immodules\%~nf;2
|
||||||
|
|
||||||
|
- The more modern visual style for the print dialog is not applied for Visual
|
||||||
|
Studio 2008 builds. Any solutions to this is really appreciated.
|
||||||
|
|
||||||
Using GTK+ on Win32
|
Using GTK+ on Win32
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
46
build-aux/meson/post-install.py
Normal file
46
build-aux/meson/post-install.py
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
import sys
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
if 'DESTDIR' not in os.environ:
|
||||||
|
gtk_api_version = sys.argv[1]
|
||||||
|
gtk_abi_version = sys.argv[2]
|
||||||
|
gtk_bindir = sys.argv[3]
|
||||||
|
gtk_libdir = sys.argv[4]
|
||||||
|
gtk_datadir = sys.argv[5]
|
||||||
|
gtk_query_immodules = os.path.join(gtk_bindir, 'gtk-query-immodules-' + gtk_api_version)
|
||||||
|
gtk_update_icon_cache = os.path.join(gtk_bindir, 'gtk-update-icon-cache')
|
||||||
|
|
||||||
|
gtk_moduledir = os.path.join(gtk_libdir, 'gtk-' + gtk_api_version, gtk_abi_version)
|
||||||
|
gtk_immodule_dir = os.path.join(gtk_moduledir, 'immodules')
|
||||||
|
gtk_printmodule_dir = os.path.join(gtk_moduledir, 'printbackends')
|
||||||
|
|
||||||
|
if os.name == 'nt':
|
||||||
|
for lib in ['gdk', 'gtk', 'gailutil']:
|
||||||
|
# Make copy for MSVC-built .lib files, e.g. xxx-3.lib->xxx-3.0.lib
|
||||||
|
installed_lib = os.path.join(gtk_libdir, lib + '-' + gtk_api_version.split('.')[0] + '.lib')
|
||||||
|
installed_lib_dst = os.path.join(gtk_libdir, lib + '-' + gtk_api_version + '.lib')
|
||||||
|
if os.path.isfile(installed_lib):
|
||||||
|
shutil.copyfile(installed_lib, installed_lib_dst)
|
||||||
|
|
||||||
|
print('Compiling GSettings schemas...')
|
||||||
|
subprocess.call(['glib-compile-schemas',
|
||||||
|
os.path.join(gtk_datadir, 'glib-2.0', 'schemas')])
|
||||||
|
|
||||||
|
print('Updating icon cache...')
|
||||||
|
subprocess.call([gtk_update_icon_cache, '-q', '-t' ,'-f',
|
||||||
|
os.path.join(gtk_datadir, 'icons', 'hicolor')])
|
||||||
|
|
||||||
|
print('Updating module cache for input methods...')
|
||||||
|
os.makedirs(gtk_immodule_dir, exist_ok=True)
|
||||||
|
immodule_cache_file = open(os.path.join(gtk_moduledir, 'immodules.cache'), 'w')
|
||||||
|
subprocess.call([gtk_query_immodules], stdout=immodule_cache_file)
|
||||||
|
immodule_cache_file.close()
|
||||||
|
|
||||||
|
# Untested!
|
||||||
|
print('Updating module cache for print backends...')
|
||||||
|
os.makedirs(gtk_printmodule_dir, exist_ok=True)
|
||||||
|
subprocess.call(['gio-querymodules', gtk_printmodule_dir])
|
@@ -21,17 +21,17 @@ if MSVC_NO_TOOLSET_SET
|
|||||||
MSVC_TOOLSET = $(MSVC_VER)0
|
MSVC_TOOLSET = $(MSVC_VER)0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.sln:
|
%.sln: $(top_builddir)/build/win32/vs10/Makefile
|
||||||
sed 's/11\.00/$(MSVC_FORMAT_VER)\.00/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
sed 's/11\.00/$(MSVC_FORMAT_VER)\.00/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
||||||
sed 's/2010/$(MSVC_VER_LONG)/g' < $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@
|
sed 's/2010/$(MSVC_VER_LONG)/g' < $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@
|
||||||
rm $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
rm $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
||||||
|
|
||||||
%.txt:
|
%.txt: $(top_builddir)/build/win32/vs10/Makefile
|
||||||
sed 's/vs10/vs$(MSVC_VER)/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
sed 's/vs10/vs$(MSVC_VER)/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
||||||
sed 's/VS10/VS$(MSVC_VER)/g' < $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@
|
sed 's/VS10/VS$(MSVC_VER)/g' < $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@
|
||||||
rm $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
rm $(top_builddir)/build/win32/vs$(MSVC_VER)/$@.tmp
|
||||||
|
|
||||||
%.vcxproj:
|
%.vcxproj: $(top_builddir)/build/win32/vs10/Makefile
|
||||||
if test -e $(top_srcdir)/build/win32/vs10/$@; then \
|
if test -e $(top_srcdir)/build/win32/vs10/$@; then \
|
||||||
sed 's/v100/v$(MSVC_TOOLSET)/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
sed 's/v100/v$(MSVC_TOOLSET)/g' < $(top_srcdir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
||||||
else \
|
else \
|
||||||
@@ -45,7 +45,7 @@ endif
|
|||||||
sed 's/<VSVer>10<\/VSVer>/<VSVer>$(MSVC_VER)<\/VSVer>/g' < $(top_builddir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
sed 's/<VSVer>10<\/VSVer>/<VSVer>$(MSVC_VER)<\/VSVer>/g' < $(top_builddir)/build/win32/vs10/$@ > $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%.vcxproj.filters:
|
%.vcxproj.filters: $(top_builddir)/build/win32/vs10/Makefile
|
||||||
if test -e $(top_srcdir)/build/win32/vs10/$@; then \
|
if test -e $(top_srcdir)/build/win32/vs10/$@; then \
|
||||||
cp $(top_srcdir)/build/win32/vs10/$@ $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
cp $(top_srcdir)/build/win32/vs10/$@ $(top_builddir)/build/win32/vs$(MSVC_VER)/$@; \
|
||||||
else \
|
else \
|
||||||
|
@@ -80,6 +80,7 @@ $(if $(or $(findstring --header-only,$($(_gir_name)_MSVC_SCANNERFLAGS)),
|
|||||||
$(error Need to define $(_gir_name)_MSVC_LIBS or $(_gir_name)_MSVC_PROGRAM))
|
$(error Need to define $(_gir_name)_MSVC_LIBS or $(_gir_name)_MSVC_PROGRAM))
|
||||||
|
|
||||||
$(top_builddir)/build/win32/$(_gir_name)_list: Makefile
|
$(top_builddir)/build/win32/$(_gir_name)_list: Makefile
|
||||||
|
rm -f $(top_builddir)/build/win32/$(_gir_name)_list
|
||||||
for F in $(_gir_files_msvc); do \
|
for F in $(_gir_files_msvc); do \
|
||||||
case $$$$F in \
|
case $$$$F in \
|
||||||
*.c|*.cpp|*.cc|*.cxx|*.h|*.hpp|*.hh|*.hxx) \
|
*.c|*.cpp|*.cc|*.cxx|*.h|*.hpp|*.hh|*.hxx) \
|
||||||
|
@@ -32,11 +32,17 @@ SUBDIRS = \
|
|||||||
vs11 \
|
vs11 \
|
||||||
vs12 \
|
vs12 \
|
||||||
vs14 \
|
vs14 \
|
||||||
vs15
|
vs15 \
|
||||||
|
vs16
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
|
config-msvc.mak \
|
||||||
|
config-msvc.mak.in \
|
||||||
|
create-lists.bat \
|
||||||
|
create-lists-msvc.mak \
|
||||||
detectenv-msvc.mak \
|
detectenv-msvc.mak \
|
||||||
gentypefuncs.py \
|
gen-gdkversionmacros-h.py \
|
||||||
|
generate-msvc.mak \
|
||||||
gtk-introspection-msvc.mak \
|
gtk-introspection-msvc.mak \
|
||||||
introspection-msvc.mak \
|
introspection-msvc.mak \
|
||||||
replace.py \
|
replace.py \
|
||||||
|
95
build/win32/config-msvc.mak.in
Normal file
95
build/win32/config-msvc.mak.in
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
# NMake Makefile portion for enabling features for Windows builds
|
||||||
|
|
||||||
|
!include detectenv-msvc.mak
|
||||||
|
|
||||||
|
# Default prefix if not defined
|
||||||
|
!ifndef PREFIX
|
||||||
|
PREFIX=..\..\..\vs$(VSVER)\$(PLAT)
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# Configurable paths to the various interpreters we need
|
||||||
|
!ifndef PERL
|
||||||
|
PERL = perl
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!ifndef PYTHON
|
||||||
|
PYTHON=python
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# Path to the pkg-config tool, if not already in the PATH
|
||||||
|
!if "$(PKG_CONFIG)" == ""
|
||||||
|
PKG_CONFIG=pkg-config
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# Configurable paths to the various scripts and tools that we are using
|
||||||
|
!ifndef GLIB_MKENUMS
|
||||||
|
GLIB_MKENUMS = $(PREFIX)\bin\glib-mkenums
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!ifndef GLIB_GENMARSHAL
|
||||||
|
GLIB_GENMARSHAL = $(PREFIX)\bin\glib-genmarshal
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!ifndef GLIB_COMPILE_RESOURCES
|
||||||
|
GLIB_COMPILE_RESOURCES = $(PREFIX)\bin\glib-compile-resources.exe
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!ifndef GDBUS_CODEGEN
|
||||||
|
GDBUS_CODEGEN = $(PREFIX)\bin\gdbus-codegen
|
||||||
|
!endif
|
||||||
|
|
||||||
|
# Please do not change anything beneath this line unless maintaining the NMake Makefiles
|
||||||
|
GTK_VERSION = @GTK_VERSION@
|
||||||
|
|
||||||
|
GDK_PREPROCESSOR_FLAGS = \
|
||||||
|
/DG_LOG_USE_STRUCTURED=1 \
|
||||||
|
/DGDK_COMPILATION \
|
||||||
|
/I..\.. \
|
||||||
|
/I..\..\gdk \
|
||||||
|
/I..\..\gdk\win32
|
||||||
|
|
||||||
|
GTK_PREPROCESSOR_FLAGS = \
|
||||||
|
/I..\..\gtk \
|
||||||
|
/I..\..\gdk \
|
||||||
|
/I..\..\gdk\win32 \
|
||||||
|
/I..\.. \
|
||||||
|
/I$(PREFIX)\include\gdk-pixbuf-2.0 \
|
||||||
|
/I$(PREFIX)\include\pango-1.0 \
|
||||||
|
/I$(PREFIX)\include\atk-1.0 \
|
||||||
|
/I$(PREFIX)\include\cairo \
|
||||||
|
/I$(PREFIX)\include\gio-win32-2.0 \
|
||||||
|
/I$(PREFIX)\include\glib-2.0 \
|
||||||
|
/I$(PREFIX)\lib\glib-2.0\include \
|
||||||
|
/I$(PREFIX)\include \
|
||||||
|
/DHAVE_CONFIG_H \
|
||||||
|
/DG_DISABLE_SINGLE_INCLUDES \
|
||||||
|
/DATK_DISABLE_SINGLE_INCLUDES \
|
||||||
|
/DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES \
|
||||||
|
/DGTK_DISABLE_SINGLE_INCLUDES \
|
||||||
|
/D_USE_MATH_DEFINES \
|
||||||
|
/DGTK_COMPILATION \
|
||||||
|
/DG_LOG_DOMAIN=\"Gtk\" \
|
||||||
|
/DGTK_HOST=\"i686-pc-vs$(VSVER)\" \
|
||||||
|
/DGTK_PRINT_BACKENDS=\"file\" \
|
||||||
|
/DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
||||||
|
/DINCLUDE_IM_am_et \
|
||||||
|
/DINCLUDE_IM_cedilla \
|
||||||
|
/DINCLUDE_IM_cyrillic_translit \
|
||||||
|
/DINCLUDE_IM_ime \
|
||||||
|
/DINCLUDE_IM_inuktitut \
|
||||||
|
/DINCLUDE_IM_ipa \
|
||||||
|
/DINCLUDE_IM_multipress \
|
||||||
|
/DINCLUDE_IM_thai \
|
||||||
|
/DINCLUDE_IM_ti_er \
|
||||||
|
/DINCLUDE_IM_ti_et \
|
||||||
|
/DINCLUDE_IM_viqr \
|
||||||
|
/DGTK_LIBDIR=\"$(PREFIX:\=/)/lib\" \
|
||||||
|
/DGTK_DATADIR=\"$(PREFIX:\=/)/share\" \
|
||||||
|
/DGTK_DATA_PREFIX=\"$(PREFIX:\=/)\" \
|
||||||
|
/DGTK_SYSCONFDIR=\"$(PREFIX:\=/)/etc\" \
|
||||||
|
/DMULTIPRESS_CONFDIR=\"$(PREFIX:\=/)/etc/gtk-3.0\" \
|
||||||
|
/DMULTIPRESS_LOCALEDIR=\"$(PREFIX:\=/)/share/locale\" \
|
||||||
|
/DGTK_VERSION=\"$(GTK_VERSION)\" \
|
||||||
|
/DGTK_BINARY_VERSION=\"3.0.0\" \
|
||||||
|
/DGDK_DISABLE_DEPRECATED \
|
||||||
|
/DISOLATION_AWARE_ENABLED
|
101
build/win32/create-lists-msvc.mak
Normal file
101
build/win32/create-lists-msvc.mak
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
# Convert the source listing to object (.obj) listing in
|
||||||
|
# another NMake Makefile module, include it, and clean it up.
|
||||||
|
# This is a "fact-of-life" regarding NMake Makefiles...
|
||||||
|
# This file does not need to be changed unless one is maintaining the NMake Makefiles
|
||||||
|
|
||||||
|
# For those wanting to add things here:
|
||||||
|
# To add a list, do the following:
|
||||||
|
# # $(description_of_list)
|
||||||
|
# if [call create-lists.bat header $(makefile_snippet_file) $(variable_name)]
|
||||||
|
# endif
|
||||||
|
#
|
||||||
|
# if [call create-lists.bat file $(makefile_snippet_file) $(file_name)]
|
||||||
|
# endif
|
||||||
|
#
|
||||||
|
# if [call create-lists.bat footer $(makefile_snippet_file)]
|
||||||
|
# endif
|
||||||
|
# ... (repeat the if [call ...] lines in the above order if needed)
|
||||||
|
# !include $(makefile_snippet_file)
|
||||||
|
#
|
||||||
|
# (add the following after checking the entries in $(makefile_snippet_file) is correct)
|
||||||
|
# (the batch script appends to $(makefile_snippet_file), you will need to clear the file unless the following line is added)
|
||||||
|
#!if [del /f /q $(makefile_snippet_file)]
|
||||||
|
#!endif
|
||||||
|
|
||||||
|
# In order to obtain the .obj filename that is needed for NMake Makefiles to build DLLs/static LIBs or EXEs, do the following
|
||||||
|
# instead when doing 'if [call create-lists.bat file $(makefile_snippet_file) $(file_name)]'
|
||||||
|
# (repeat if there are multiple $(srcext)'s in $(source_list), ignore any headers):
|
||||||
|
# !if [for %c in ($(source_list)) do @if "%~xc" == ".$(srcext)" @call create-lists.bat file $(makefile_snippet_file) $(intdir)\%~nc.obj]
|
||||||
|
#
|
||||||
|
# $(intdir)\%~nc.obj needs to correspond to the rules added in build-rules-msvc.mak
|
||||||
|
# %~xc gives the file extension of a given file, %c in this case, so if %c is a.cc, %~xc means .cc
|
||||||
|
# %~nc gives the file name of a given file without extension, %c in this case, so if %c is a.cc, %~nc means a
|
||||||
|
|
||||||
|
NULL=
|
||||||
|
|
||||||
|
# For GDK resources
|
||||||
|
|
||||||
|
!if [call create-lists.bat header resources_sources.mak GDK_RESOURCES]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gdk\resources\glsl\*.glsl) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat footer resources_sources.mak]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat header resources_sources.mak GTK_RESOURCES]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gtk\theme\Adwaita\gtk.css ..\..\gtk\theme\Adwaita\gtk-dark.css ..\..\gtk\theme\Adwaita\gtk-contained.css ..\..\gtk\theme\Adwaita\gtk-contained-dark.css) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %x in (png svg) do @(for %f in (..\..\gtk\theme\Adwaita\assets\*.%x) do @call create-lists.bat file resources_sources.mak %f)]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gtk\theme\HighContrast\gtk.css ..\..\gtk\theme\HighContrast\gtk-inverse.css ..\..\gtk\theme\HighContrast\gtk-contained.css ..\..\gtk\theme\HighContrast\gtk-contained-inverse.css) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %x in (png svg) do @(for %f in (..\..\gtk\theme\HighContrast\assets\*.%x) do @call create-lists.bat file resources_sources.mak %f)]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gtk\theme\win32\gtk-win32-base.css ..\..\gtk\theme\win32\gtk.css) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gtk\cursor\*.png ..\..\gtk\gesture\*.symbolic.png ..\..\gtk\ui\*.ui) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %s in (16 22 24 32 48) do @(for %c in (actions status categories) do @(for %f in (..\..\gtk\icons\%sx%s\%c\*.png) do @call create-lists.bat file resources_sources.mak %f))]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %s in (scalable) do @(for %c in (status) do @(for %f in (..\..\gtk\icons\%s\%c\*.svg) do @call create-lists.bat file resources_sources.mak %f))]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for %f in (..\..\gtk\inspector\*.ui ..\..\gtk\inspector\logo.png ..\..\gtk\emoji\emoji.data) do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat footer resources_sources.mak]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat header resources_sources.mak GTK_DEMO_RESOURCES]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=..\..\demos\gtk-demo ..\..\demos\gtk-demo\demo.gresource.xml') do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat footer resources_sources.mak]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat header resources_sources.mak ICON_BROWSER_RESOURCES]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [for /f %f in ('$(GLIB_COMPILE_RESOURCES) --sourcedir=..\..\demos\icon-browser --generate-dependencies ..\..\demos\icon-browser\iconbrowser.gresource.xml') do @call create-lists.bat file resources_sources.mak %f]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!if [call create-lists.bat footer resources_sources.mak]
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!include resources_sources.mak
|
||||||
|
|
||||||
|
!if [del /f /q resources_sources.mak]
|
||||||
|
!endif
|
42
build/win32/create-lists.bat
Normal file
42
build/win32/create-lists.bat
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
@echo off
|
||||||
|
rem Simple .bat script for creating the NMake Makefile snippets.
|
||||||
|
|
||||||
|
if not "%1" == "header" if not "%1" == "file" if not "%1" == "footer" goto :error_cmd
|
||||||
|
if "%2" == "" goto error_no_destfile
|
||||||
|
|
||||||
|
if "%1" == "header" goto :header
|
||||||
|
if "%1" == "file" goto :addfile
|
||||||
|
if "%1" == "footer" goto :footer
|
||||||
|
|
||||||
|
:header
|
||||||
|
if "%3" == "" goto error_var
|
||||||
|
echo %3 = \>>%2
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:addfile
|
||||||
|
if "%3" == "" goto error_file
|
||||||
|
echo. %3 \>>%2
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:footer
|
||||||
|
echo. $(NULL)>>%2
|
||||||
|
echo.>>%2
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:error_cmd
|
||||||
|
echo Specified command '%1' was invalid. Valid commands are: header file footer.
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:error_no_destfile
|
||||||
|
echo Destination NMake snippet file must be specified
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:error_var
|
||||||
|
echo A name must be specified for using '%1'.
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:error_file
|
||||||
|
echo A file must be specified for using '%1'.
|
||||||
|
goto done
|
||||||
|
|
||||||
|
:done
|
@@ -42,8 +42,10 @@ VSVER = 11
|
|||||||
VSVER = 12
|
VSVER = 12
|
||||||
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
|
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
|
||||||
VSVER = 14
|
VSVER = 14
|
||||||
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
|
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
|
||||||
VSVER = 15
|
VSVER = 15
|
||||||
|
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
|
||||||
|
VSVER = 16
|
||||||
!else
|
!else
|
||||||
VSVER = 0
|
VSVER = 0
|
||||||
!endif
|
!endif
|
||||||
@@ -51,7 +53,7 @@ VSVER = 0
|
|||||||
!if "$(VSVER)" == "0"
|
!if "$(VSVER)" == "0"
|
||||||
MSG = ^
|
MSG = ^
|
||||||
This NMake Makefile set supports Visual Studio^
|
This NMake Makefile set supports Visual Studio^
|
||||||
9 (2008) through 14 (2015). Your Visual Studio^
|
9 (2008) through 16 (2019). Your Visual Studio^
|
||||||
version is not supported.
|
version is not supported.
|
||||||
!error $(MSG)
|
!error $(MSG)
|
||||||
!endif
|
!endif
|
||||||
|
33
build/win32/gen-gdkversionmacros-h.py
Normal file
33
build/win32/gen-gdkversionmacros-h.py
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
# Generate gdk/gdkversionmacros.h
|
||||||
|
|
||||||
|
# Author: Fan, Chun-wei
|
||||||
|
# Date: July 25, 2019
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import argparse
|
||||||
|
|
||||||
|
from replace import replace_multi, replace
|
||||||
|
|
||||||
|
def main(argv):
|
||||||
|
srcdir = os.path.dirname(__file__)
|
||||||
|
top_srcdir = os.path.join(srcdir, os.pardir, os.pardir)
|
||||||
|
parser = argparse.ArgumentParser(description='Generate gdkversionmacros.h')
|
||||||
|
parser.add_argument('--version', help='Version of the package',
|
||||||
|
required=True)
|
||||||
|
args = parser.parse_args()
|
||||||
|
gdk_sourcedir = os.path.join(top_srcdir, 'gdk')
|
||||||
|
version_parts = args.version.split('.')
|
||||||
|
|
||||||
|
gdkversionmacro_replace_items = {'@GTK_MAJOR_VERSION@': version_parts[0],
|
||||||
|
'@GTK_MINOR_VERSION@': version_parts[1],
|
||||||
|
'@GTK_MICRO_VERSION@': version_parts[2]}
|
||||||
|
|
||||||
|
replace_multi(os.path.join(gdk_sourcedir, 'gdkversionmacros.h.in'),
|
||||||
|
os.path.join(gdk_sourcedir, 'gdkversionmacros.h'),
|
||||||
|
gdkversionmacro_replace_items)
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(main(sys.argv))
|
222
build/win32/generate-msvc.mak
Normal file
222
build/win32/generate-msvc.mak
Normal file
@@ -0,0 +1,222 @@
|
|||||||
|
# NMake Makefile portion for code generation and
|
||||||
|
# intermediate build directory creation
|
||||||
|
# Items in here should not need to be edited unless
|
||||||
|
# one is maintaining the NMake build files.
|
||||||
|
|
||||||
|
!include config-msvc.mak
|
||||||
|
!include create-lists-msvc.mak
|
||||||
|
|
||||||
|
# Copy the pre-defined gdkconfig.h.[win32|win32_broadway]
|
||||||
|
!if "$(CFG)" == "release" || "$(CFG)" == "Release"
|
||||||
|
GDK_OLD_CFG = debug
|
||||||
|
!else
|
||||||
|
GDK_OLD_CFG = release
|
||||||
|
!endif
|
||||||
|
|
||||||
|
!ifdef BROADWAY
|
||||||
|
GDK_CONFIG = broadway
|
||||||
|
GDK_DEL_CONFIG = win32
|
||||||
|
GDK_CONFIG_TEMPLATE = ..\..\gdk\gdkconfig.h.win32_broadway
|
||||||
|
!else
|
||||||
|
GDK_CONFIG = win32
|
||||||
|
GDK_DEL_CONFIG = broadway
|
||||||
|
GDK_CONFIG_TEMPLATE = ..\..\gdk\gdkconfig.h.win32
|
||||||
|
!endif
|
||||||
|
|
||||||
|
GDK_MARSHALERS_FLAGS = --prefix=_gdk_marshal --valist-marshallers
|
||||||
|
GDK_RESOURCES_ARGS = ..\..\gdk\gdk.gresource.xml --target=$@ --sourcedir=..\..\gdk --c-name _gdk --manual-register
|
||||||
|
GTK_MARSHALERS_FLAGS = --prefix=_gtk_marshal --valist-marshallers
|
||||||
|
GTK_RESOURCES_ARGS = ..\..\gtk\gtk.gresource.xml --target=$@ --sourcedir=..\..\gtk --c-name _gtk --manual-register
|
||||||
|
|
||||||
|
all: \
|
||||||
|
..\..\config.h \
|
||||||
|
..\..\gdk\gdkconfig.h \
|
||||||
|
..\..\gdk\gdkversionmacros.h \
|
||||||
|
..\..\gdk\gdkmarshalers.h \
|
||||||
|
..\..\gdk\gdkmarshalers.c \
|
||||||
|
..\..\gdk\gdkresources.h \
|
||||||
|
..\..\gdk\gdkresources.c \
|
||||||
|
..\..\gtk\gtk-win32.rc \
|
||||||
|
..\..\gtk\libgtk3.manifest \
|
||||||
|
..\..\gtk\gtkdbusgenerated.h \
|
||||||
|
..\..\gtk\gtkdbusgenerated.c \
|
||||||
|
..\..\gtk\gtktypefuncs.inc \
|
||||||
|
..\..\gtk\gtk.gresource.xml \
|
||||||
|
..\..\gtk\gtkmarshalers.h \
|
||||||
|
..\..\gtk\gtkmarshalers.c \
|
||||||
|
..\..\gtk\gtkresources.h \
|
||||||
|
..\..\gtk\gtkresources.c \
|
||||||
|
..\..\demos\gtk-demo\demos.h \
|
||||||
|
..\..\demos\gtk-demo\demo_resources.c \
|
||||||
|
..\..\demos\icon-browser\resources.c
|
||||||
|
|
||||||
|
# Copy the pre-defined config.h.win32 and demos.h.win32
|
||||||
|
..\..\config.h: ..\..\config.h.win32
|
||||||
|
..\..\demos\gtk-demo\demos.h: ..\..\demos\gtk-demo\demos.h.win32
|
||||||
|
..\..\gtk\gtk-win32.rc: ..\..\gtk\gtk-win32.rc.body
|
||||||
|
|
||||||
|
..\..\gdk-$(CFG)-$(GDK_CONFIG)-build: $(GDK_CONFIG_TEMPLATE)
|
||||||
|
@if exist ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build del ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build
|
||||||
|
@if exist ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build del ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build
|
||||||
|
@if exist ..\..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build del ..\..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build
|
||||||
|
@copy $** $@
|
||||||
|
|
||||||
|
..\..\gdk\gdkconfig.h: ..\..\gdk-$(CFG)-$(GDK_CONFIG)-build
|
||||||
|
|
||||||
|
..\..\config.h \
|
||||||
|
..\..\gdk\gdkconfig.h \
|
||||||
|
..\..\gtk\gtk-win32.rc \
|
||||||
|
..\..\demos\gtk-demo\demos.h:
|
||||||
|
@echo Copying $@...
|
||||||
|
@copy $** $@
|
||||||
|
|
||||||
|
..\..\gdk\gdkversionmacros.h: ..\..\gdk\gdkversionmacros.h.in
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(PYTHON) gen-gdkversionmacros-h.py --version=$(GTK_VERSION)
|
||||||
|
|
||||||
|
..\..\gdk\gdkmarshalers.h: ..\..\gdk\gdkmarshalers.list
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(PYTHON) $(GLIB_GENMARSHAL) $(GDK_MARSHALERS_FLAGS) --header $** > $@.tmp
|
||||||
|
@move $@.tmp $@
|
||||||
|
|
||||||
|
..\..\gdk\gdkmarshalers.c: ..\..\gdk\gdkmarshalers.list
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(PYTHON) $(GLIB_GENMARSHAL) $(GDK_MARSHALERS_FLAGS) --body $** > $@.tmp
|
||||||
|
@move $@.tmp $@
|
||||||
|
|
||||||
|
..\..\gdk\gdk.gresource.xml: $(GDK_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@echo ^<?xml version='1.0' encoding='UTF-8'?^> >$@
|
||||||
|
@echo ^<gresources^> >> $@
|
||||||
|
@echo ^<gresource prefix='/org/gtk/libgdk'^> >> $@
|
||||||
|
@for %%f in (..\..\gdk\resources\glsl\*.glsl) do @echo ^<file alias='glsl/%%~nxf'^>resources/glsl/%%~nxf^</file^> >> $@
|
||||||
|
@echo ^</gresource^> >> $@
|
||||||
|
@echo ^</gresources^> >> $@
|
||||||
|
|
||||||
|
..\..\gdk\gdkresources.h: ..\..\gdk\gdk.gresource.xml
|
||||||
|
@echo Generating $@...
|
||||||
|
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||||
|
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||||
|
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) $(GDK_RESOURCES_ARGS) --generate-header
|
||||||
|
|
||||||
|
..\..\gdk\gdkresources.c: ..\..\gdk\gdk.gresource.xml $(GDK_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||||
|
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||||
|
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) $(GDK_RESOURCES_ARGS) --generate-source
|
||||||
|
|
||||||
|
..\..\gtk\libgtk3.manifest: ..\..\gtk\libgtk3.manifest.in
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(PYTHON) replace.py \
|
||||||
|
--action=replace-var \
|
||||||
|
--input=$** --output=$@ \
|
||||||
|
--var=EXE_MANIFEST_ARCHITECTURE \
|
||||||
|
--outstring=*
|
||||||
|
|
||||||
|
..\..\gtk\gtkdbusgenerated.h ..\..\gtk\gtkdbusgenerated.c: ..\..\gtk\gtkdbusinterfaces.xml
|
||||||
|
@echo Generating GTK DBus sources...
|
||||||
|
@$(PYTHON) $(PREFIX)\bin\gdbus-codegen \
|
||||||
|
--interface-prefix org.Gtk. --c-namespace _Gtk \
|
||||||
|
--generate-c-code gtkdbusgenerated $** \
|
||||||
|
--output-directory $(@D)
|
||||||
|
|
||||||
|
..\..\gtk\gtktypefuncs.inc: ..\..\gtk\gentypefuncs.py
|
||||||
|
@echo Generating $@...
|
||||||
|
@echo #undef GTK_COMPILATION > $(@R).preproc.c
|
||||||
|
@echo #include "gtkx.h" >> $(@R).preproc.c
|
||||||
|
@cl /EP $(GTK_PREPROCESSOR_FLAGS) $(@R).preproc.c > $(@R).combined.c
|
||||||
|
@$(PYTHON) $** $@ $(@R).combined.c
|
||||||
|
@del $(@R).preproc.c $(@R).combined.c
|
||||||
|
|
||||||
|
..\..\gtk\gtk.gresource.xml: $(GTK_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@echo ^<?xml version='1.0' encoding='UTF-8'?^>> $@
|
||||||
|
@echo ^<gresources^>>> $@
|
||||||
|
@echo ^<gresource prefix='/org/gtk/libgtk'^>>> $@
|
||||||
|
@echo ^<file^>theme/Adwaita/gtk.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/Adwaita/gtk-dark.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/Adwaita/gtk-contained.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/Adwaita/gtk-contained-dark.css^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\theme\Adwaita\assets\*.png) do @echo ^<file preprocess='to-pixdata'^>theme/Adwaita/assets/%%~nxf^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\theme\Adwaita\assets\*.svg) do @echo ^<file^>theme/Adwaita/assets/%%~nxf^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/HighContrast/gtk.css^</file^>>> $@
|
||||||
|
@echo ^<file alias='theme/HighContrastInverse/gtk.css'^>theme/HighContrast/gtk-inverse.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/HighContrast/gtk-contained.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/HighContrast/gtk-contained-inverse.css^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\theme\HighContrast\assets\*.png) do @echo ^<file preprocess='to-pixdata'^>theme/HighContrast/assets/%%~nxf^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\theme\HighContrast\assets\*.svg) do @echo ^<file^>theme/HighContrast/assets/%%~nxf^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/win32/gtk-win32-base.css^</file^>>> $@
|
||||||
|
@echo ^<file^>theme/win32/gtk.css^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\cursor\*.png) do @echo ^<file^>cursor/%%~nxf^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\gesture\*.symbolic.png) do @echo ^<file alias='icons/64x64/actions/%%~nxf'^>gesture/%%~nxf^</file^>>> $@
|
||||||
|
@for %%f in (..\..\gtk\ui\*.ui) do @echo ^<file preprocess='xml-stripblanks'^>ui/%%~nxf^</file^>>> $@
|
||||||
|
@for %%s in (16 22 24 32 48) do @(for %%c in (actions status categories) do @(for %%f in (..\..\gtk\icons\%%sx%%s\%%c\*.png) do @echo ^<file^>icons/%%sx%%s/%%c/%%~nxf^</file^>>> $@))
|
||||||
|
@for %%s in (scalable) do @(for %%c in (status) do @(for %%f in (..\..\gtk\icons\%%s\%%c\*.svg) do @echo ^<file^>icons/%%s/%%c/%%~nxf^</file^>>> $@))
|
||||||
|
@for %%f in (..\..\gtk\inspector\*.ui) do @echo ^<file compressed='true' preprocess='xml-stripblanks'^>inspector/%%~nxf^</file^>>> $@
|
||||||
|
@echo ^<file^>inspector/logo.png^</file^>>> $@
|
||||||
|
@echo ^<file^>emoji/emoji.data^</file^>>> $@
|
||||||
|
@echo ^</gresource^>>> $@
|
||||||
|
@echo ^</gresources^>>> $@
|
||||||
|
|
||||||
|
..\..\gtk\gtkresources.h: ..\..\gtk\gtk.gresource.xml
|
||||||
|
@echo Generating $@...
|
||||||
|
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||||
|
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||||
|
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) $(GTK_RESOURCES_ARGS) --generate-header
|
||||||
|
|
||||||
|
..\..\gtk\gtkresources.c: ..\..\gtk\gtk.gresource.xml $(GTK_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@if not "$(XMLLINT)" == "" set XMLLINT=$(XMLLINT)
|
||||||
|
@if not "$(JSON_GLIB_FORMAT)" == "" set JSON_GLIB_FORMAT=$(JSON_GLIB_FORMAT)
|
||||||
|
@if not "$(GDK_PIXBUF_PIXDATA)" == "" set GDK_PIXBUF_PIXDATA=$(GDK_PIXBUF_PIXDATA)
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) $(GTK_RESOURCES_ARGS) --generate-source
|
||||||
|
|
||||||
|
..\..\gtk\gtkmarshalers.h: ..\..\gtk\gtkmarshalers.list
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(PYTHON) $(GLIB_GENMARSHAL) $(GTK_MARSHALERS_FLAGS) --header $** > $@.tmp
|
||||||
|
@move $@.tmp $@
|
||||||
|
|
||||||
|
..\..\gtk\gtkmarshalers.c: ..\..\gtk\gtkmarshalers.list
|
||||||
|
@echo Generating $@...
|
||||||
|
@echo #undef G_ENABLE_DEBUG> $@.tmp
|
||||||
|
@$(PYTHON) $(GLIB_GENMARSHAL) $(GTK_MARSHALERS_FLAGS) --body $** >> $@.tmp
|
||||||
|
@move $@.tmp $@
|
||||||
|
|
||||||
|
..\..\demos\gtk-demo\demo_resources.c: ..\..\demos\gtk-demo\demo.gresource.xml $(GTK_DEMO_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(@D) --generate-source $(@D)\demo.gresource.xml
|
||||||
|
|
||||||
|
..\..\demos\icon-browser\resources.c: ..\..\demos\icon-browser\iconbrowser.gresource.xml $(ICON_BROWSER_RESOURCES)
|
||||||
|
@echo Generating $@...
|
||||||
|
@$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(@D) --generate-source $(@D)\iconbrowser.gresource.xml
|
||||||
|
|
||||||
|
# Remove the generated files
|
||||||
|
clean:
|
||||||
|
@-del /f /q ..\..\demos\icon-browser\resources.c
|
||||||
|
@-del /f /q ..\..\demos\gtk-demo\demo_resources.c
|
||||||
|
@-del /f /q ..\..\demos\gtk-demo\demos.h
|
||||||
|
@-del /f /q ..\..\gtk\gtkresources.c
|
||||||
|
@-del /f /q ..\..\gtk\gtkresources.h
|
||||||
|
@-del /f /q ..\..\gtk\gtkmarshalers.c
|
||||||
|
@-del /f /q ..\..\gtk\gtkmarshalers.h
|
||||||
|
@-del /f /q ..\..\gtk\gtk.gresource.xml
|
||||||
|
@-del /f /q ..\..\gtk\gtktypefuncs.inc
|
||||||
|
@-del /f /q ..\..\gtk\gtkdbusgenerated.c
|
||||||
|
@-del /f /q ..\..\gtk\gtkdbusgenerated.h
|
||||||
|
@-del /f /q ..\..\gtk\libgtk3.manifest
|
||||||
|
@-del /f /q ..\..\gtk\gtk-win32.rc
|
||||||
|
@-del /f /q ..\..\gdk\gdkresources.c
|
||||||
|
@-del /f /q ..\..\gdk\gdkresources.h
|
||||||
|
@-del /f /q ..\..\gdk\gdk.gresource.xml
|
||||||
|
@-del /f /q ..\..\gdk\gdkmarshalers.c
|
||||||
|
@-del /f /q ..\..\gdk\gdkmarshalers.h
|
||||||
|
@-del /f /q ..\..\gdk\gdkversionmacros.h
|
||||||
|
@-del /f /q ..\..\gdk\gdkconfig.h
|
||||||
|
@if exist ..\..\gdk-$(CFG)-$(GDK_CONFIG)-build del ..\..\gdk-$(CFG)-$(GDK_CONFIG)-build
|
||||||
|
@if exist ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build del ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_DEL_CONFIG)-build
|
||||||
|
@if exist ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build del ..\..\gdk-$(GDK_OLD_CFG)-$(GDK_CONFIG)-build
|
||||||
|
@if exist ..\..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build del ..\..\gdk-$(CFG)-$(GDK_DEL_CONFIG)-build
|
||||||
|
@-del /f /q ..\..\config.h
|
@@ -33,7 +33,6 @@ EXTRA_DIST += \
|
|||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk3-prebuild.vcxproj \
|
gtk3-prebuild.vcxproj \
|
||||||
gtk3-prebuild.vcxproj.filters \
|
|
||||||
gdk3-win32.vcxprojin \
|
gdk3-win32.vcxprojin \
|
||||||
gdk3-win32.vcxproj.filtersin \
|
gdk3-win32.vcxproj.filtersin \
|
||||||
gdk3-broadway.vcxprojin \
|
gdk3-broadway.vcxprojin \
|
||||||
|
@@ -17,12 +17,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc"><Filter>Resource Files</Filter></ResourceCompile>
|
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc"><Filter>Resource Files</Filter></ResourceCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\gtkdbusinterfaces.xml"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\gtk-win32.rc.body"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\libgtk3.manifest.in"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\gentypefuncs.py"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
#include "gtk-3.vs10.sourcefiles.filters"
|
#include "gtk-3.vs10.sourcefiles.filters"
|
||||||
<ClCompile Include="..\..\..\modules\input\gtkimcontextime.c"><Filter>Source Files</Filter></ClCompile>
|
<ClCompile Include="..\..\..\modules\input\gtkimcontextime.c"><Filter>Source Files</Filter></ClCompile>
|
||||||
|
@@ -162,28 +162,6 @@
|
|||||||
<TargetMachine>MachineX64</TargetMachine>
|
<TargetMachine>MachineX64</TargetMachine>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\gtkdbusinterfaces.xml">
|
|
||||||
<Message>Generating GTK+ DBus Sources...</Message>
|
|
||||||
<Command>$(GenerateGtkDbusBuiltSources)</Command>
|
|
||||||
<Outputs>..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\gtk-win32.rc.body">
|
|
||||||
<Message>Copying GTK+ Win32 Version Resource...</Message>
|
|
||||||
<Command>$(CopyGtkWin32RC)</Command>
|
|
||||||
<Outputs>..\..\..\gtk\gtk-win32.rc;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gtk\libgtk3.manifest.in">
|
|
||||||
<Message>Generating GTK+ Win32 Manifest...</Message>
|
|
||||||
<Command>$(GenerateGtkWin32Manifest)</Command>
|
|
||||||
<Outputs>..\..\..\gtk\libgtk3.manifest;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\gentypefuncs.py">
|
|
||||||
<Message>Generating ..\..\..\gtk\gtktypefuncs.c</Message>
|
|
||||||
<Command>$(GenerateTypeFuncs)</Command>
|
|
||||||
<Outputs>..\..\..\gtk\gtktypefuncs.c</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc" />
|
<ResourceCompile Include="..\..\..\gtk\gtk-win32.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@@ -39,6 +39,7 @@ nmake -f gtk-introspection-msvc.mak CFG=$(Configuration) PREFIX=$(GlibEtcInstall
|
|||||||
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='12.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='12.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
||||||
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='14.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='14.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
||||||
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='15.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='15.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<AdditionalOptions Condition="'$(VisualStudioVersion)|$(Platform)'=='16.0|x64'">/HIGHENTROPYVA %(AdditionalOptions)</AdditionalOptions>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -4,83 +4,28 @@
|
|||||||
<Import Project="gtk3-build-defines.props" />
|
<Import Project="gtk3-build-defines.props" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Label="UserMacros">
|
<PropertyGroup Label="UserMacros">
|
||||||
<GenConfigH>copy ..\..\..\config.h.win32 ..\..\..\config.h</GenConfigH>
|
<GenerateRequiredSourcesBase>cd ..
|
||||||
<GenGdkConfigHWin32>
|
set VCInstallDir=$(VCInstallDir)
|
||||||
if exist ..\..\..\MSVC_$(Configuration) goto DONE_GDKCONFIG_H
|
nmake -f generate-msvc.mak PREFIX=$(GlibEtcInstallRoot)</GenerateRequiredSourcesBase>
|
||||||
|
<GeneratedGdkSources>..\..\..\config.h;..\..\..\gdk\gdkconfig.h;..\..\gdk\gdkversionmacros.h;..\..\..\gdk\gdkmarshalers.h;..\..\..\gdk\gdkmarshalers.c;..\..\..\gdk\gdkresources.h;..\..\..\gdk\gdkresources.c</GeneratedGdkSources>
|
||||||
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h
|
<GeneratedGtkSources>..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest;..\..\..\gtk\gtkdbusgenerated.h;..\..\..\gtk\gtkdbusgenerated.c</GeneratedGtkSources>
|
||||||
if exist ..\..\..\GDK_BROADWAY_BUILD del ..\..\..\GDK_BROADWAY_BUILD
|
<GeneratedDemoSources>..\..\..\demos\gtk-demo\demos.h</GeneratedDemoSources>
|
||||||
if exist ..\..\..\MSVC_$(Configuration)_Broadway del ..\..\..\MSVC_$(Configuration)_Broadway
|
|
||||||
if exist $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll del $(Configuration)\$(Platform)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll
|
|
||||||
if exist $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib del $(Configuration)\$(Platform)\bin\gdk-$(ApiVersion).lib
|
|
||||||
if "$(Configuration)" == "Release" del ..\..\..\MSVC_Debug
|
|
||||||
if "$(Configuration)" == "Debug" del ..\..\..\MSVC_Release
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\GDK_WIN32ONLY_BUILD
|
|
||||||
echo $(Configuration) > ..\..\..\MSVC_$(Configuration)
|
|
||||||
|
|
||||||
:DONE_GDKCONFIG_H
|
|
||||||
</GenGdkConfigHWin32>
|
|
||||||
<GenGdkConfigHBroadway>
|
|
||||||
if exist ..\..\..\MSVC_$(Configuration)_Broadway goto DONE_GDKCONFIG_H
|
|
||||||
|
|
||||||
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h
|
|
||||||
if exist ..\..\..\GDK_WIN32ONLY_BUILD del ..\..\..\GDK_WIN32ONLY_BUILD
|
|
||||||
if exist ..\..\..\MSVC_Release del ..\..\..\MSVC_Release
|
|
||||||
if exist ..\..\..\MSVC_Debug del ..\..\..\MSVC_Debug
|
|
||||||
|
|
||||||
if "$(Configuration)" == "Release_Broadway" del ..\..\..\MSVC_Debug_Broadway
|
|
||||||
if "$(Configuration)" == "Debug_Broadway" del ..\..\..\MSVC_Release_Broadway
|
|
||||||
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\gdk\gdkconfig.h
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\GDK_BROADWAY_BUILD
|
|
||||||
echo $(Configuration) > ..\..\..\MSVC_$(Configuration)_Broadway
|
|
||||||
|
|
||||||
:DONE_GDKCONFIG_H
|
|
||||||
</GenGdkConfigHBroadway>
|
|
||||||
<GDbusCodeGenCmd>$(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml</GDbusCodeGenCmd>
|
|
||||||
<GenerateGtkDbusBuiltSources>cd ..\..\..\gtk & $(PythonDir)\python $(GDbusCodeGenCmd) & cd $(SolutionDir)</GenerateGtkDbusBuiltSources>
|
|
||||||
<CopyGtkWin32RC>copy ..\..\..\gtk\gtk-win32.rc.body ..\..\..\gtk\gtk-win32.rc</CopyGtkWin32RC>
|
|
||||||
<GenerateGtkWin32Manifest>$(PythonDir)\python ..\replace.py --action=replace-var --input=..\..\..\gtk\libgtk3.manifest.in --output=..\..\..\gtk\libgtk3.manifest --var=EXE_MANIFEST_ARCHITECTURE --outstring=*</GenerateGtkWin32Manifest>
|
|
||||||
<CopyDemosH>copy ..\..\..\demos\gtk-demo\demos.h.win32 ..\..\..\demos\gtk-demo\demos.h</CopyDemosH>
|
|
||||||
<GenerateTypeFuncs>
|
|
||||||
echo #undef GTK_COMPILATION > ..\..\..\gtk\gtktypefuncs.preproc.c
|
|
||||||
echo #include "gtkx.h" >> ..\..\..\gtk\gtktypefuncs.preproc.c
|
|
||||||
cl /EP /I..\..\..\gtk /I..\..\..\gdk /I..\..\..\gdk\win32 /I..\..\.. /I$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0 /I$(GlibEtcInstallRoot)\include\pango-1.0 /I$(GlibEtcInstallRoot)\include\atk-1.0 /I$(GlibEtcInstallRoot)\include\cairo /I$(GlibEtcInstallRoot)\include\gio-win32-2.0 /I$(GlibEtcInstallRoot)\include\glib-2.0 /I$(GlibEtcInstallRoot)\lib\glib-2.0\include /I$(GlibEtcInstallRoot)\include /DHAVE_CONFIG_H /DG_DISABLE_SINGLE_INCLUDES /DATK_DISABLE_SINGLE_INCLUDES /DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES /DGTK_DISABLE_SINGLE_INCLUDES /D_USE_MATH_DEFINES /DINCLUDE_IM_am_et /DINCLUDE_IM_cedilla /DINCLUDE_IM_cyrillic_translit /DINCLUDE_IM_ime /DINCLUDE_IM_inuktitut /DINCLUDE_IM_ipa /DINCLUDE_IM_multipress /DINCLUDE_IM_thai /DINCLUDE_IM_ti_er /DINCLUDE_IM_ti_et /DINCLUDE_IM_viqr /DGTK_COMPILATION /DG_LOG_DOMAIN=\"Gtk\" /DGTK_HOST=\"i686-pc-vs$(VSVer)\" /DGTK_PRINT_BACKENDS=\"file\" /DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED /D$(GtkIncludedImmodulesDefines) /DGTK_LIBDIR=\"$(GtkDummyPrefix)/lib\" /DGTK_DATADIR=\"$(GtkDummyPrefix)/share\" /DGTK_DATA_PREFIX=\"$(GtkDummyPrefix)\" /DGTK_SYSCONFDIR=\"$(GtkDummyPrefix)/etc\" /DMULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(ApiVersion)\" /DMULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\" /DGTK_VERSION=\"$(GtkVersion)\" /DGTK_BINARY_VERSION=\"$(GtkBinaryVersion)\" /DGDK_DISABLE_DEPRECATED /DISOLATION_AWARE_ENABLED ..\..\..\gtk\gtktypefuncs.preproc.c > ..\..\..\gtk\gtktypefuncs.combined.c
|
|
||||||
$(PythonDir)\python ..\gentypefuncs.py ..\..\..\gtk\gtktypefuncs.c ..\..\..\gtk\gtktypefuncs.combined.c
|
|
||||||
del ..\..\..\gtk\gtktypefuncs.combined.c ..\..\..\gtk\gtktypefuncs.preproc.c
|
|
||||||
</GenerateTypeFuncs>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PropertySheetDisplayName>gtk3gensrcsprops</_PropertySheetDisplayName>
|
<_PropertySheetDisplayName>gtk3gensrcsprops</_PropertySheetDisplayName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BuildMacro Include="GenConfigH">
|
<BuildMacro Include="GenerateRequiredSourcesBase">
|
||||||
<Value>$(GenConfigH)</Value>
|
<Value>$(GenerateRequiredSourcesBase)</Value>
|
||||||
</BuildMacro>
|
</BuildMacro>
|
||||||
<BuildMacro Include="GenGdkConfigHWin32">
|
<BuildMacro Include="GeneratedGdkSources">
|
||||||
<Value>$(GenGdkConfigHWin32)</Value>
|
<Value>$(GeneratedGdkSources)</Value>
|
||||||
</BuildMacro>
|
</BuildMacro>
|
||||||
<BuildMacro Include="GenGdkConfigHBroadway">
|
<BuildMacro Include="GeneratedGtkSources">
|
||||||
<Value>$(GenGdkConfigHBroadway)</Value>
|
<Value>$(GeneratedGtkSources)</Value>
|
||||||
</BuildMacro>
|
</BuildMacro>
|
||||||
<BuildMacro Include="GDbusCodeGenCmd">
|
<BuildMacro Include="GeneratedDemoSources">
|
||||||
<Value>$(GDbusCodeGenCmd)</Value>
|
<Value>$(GeneratedDemoSources)</Value>
|
||||||
</BuildMacro>
|
|
||||||
<BuildMacro Include="GenerateGtkDbusBuiltSources">
|
|
||||||
<Value>$(GenerateGtkDbusBuiltSources)</Value>
|
|
||||||
</BuildMacro>
|
|
||||||
<BuildMacro Include="CopyGtkWin32RC">
|
|
||||||
<Value>$(CopyGtkWin32RC)</Value>
|
|
||||||
</BuildMacro>
|
|
||||||
<BuildMacro Include="GenerateGtkWin32Manifest">
|
|
||||||
<Value>$(GenerateGtkWin32Manifest)</Value>
|
|
||||||
</BuildMacro>
|
|
||||||
<BuildMacro Include="CopyDemosH">
|
|
||||||
<Value>$(CopyDemosH)</Value>
|
|
||||||
</BuildMacro>
|
|
||||||
<BuildMacro Include="GenerateTypeFuncs">
|
|
||||||
<Value>$(GenerateTypeFuncs)</Value>
|
|
||||||
</BuildMacro>
|
</BuildMacro>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -41,46 +41,46 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Utility</ConfigurationType>
|
<ConfigurationType>Makefile</ConfigurationType>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v100</PlatformToolset>
|
<PlatformToolset>v100</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -121,121 +121,19 @@
|
|||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Label="UserMacros" />
|
<PropertyGroup Label="UserMacros" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeBuildCommandLine Condition="'$(Configuration)' == 'Debug_Broadway'">$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam)</NMakeBuildCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
<NMakeBuildCommandLine Condition="'$(Configuration)' == 'Release_Broadway'">$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam)</NMakeBuildCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeBuildCommandLine Condition="'$(Configuration)' == 'Debug'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam)</NMakeBuildCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
|
<NMakeBuildCommandLine Condition="'$(Configuration)' == 'Release'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam)</NMakeBuildCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeReBuildCommandLine Condition="'$(Configuration)' == 'Debug_Broadway'">$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
<NMakeReBuildCommandLine Condition="'$(Configuration)' == 'Release_Broadway'">$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeReBuildCommandLine Condition="'$(Configuration)' == 'Debug'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
<NMakeReBuildCommandLine Condition="'$(Configuration)' == 'Release'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean all</NMakeReBuildCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeCleanCommandLine Condition="'$(Configuration)' == 'Debug_Broadway'">$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'" />
|
<NMakeCleanCommandLine Condition="'$(Configuration)' == 'Release_Broadway'">$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
<NMakeCleanCommandLine Condition="'$(Configuration)' == 'Debug'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'" />
|
<NMakeCleanCommandLine Condition="'$(Configuration)' == 'Release'">$(GenerateRequiredSourcesBase) CFG=$(Configuration) $(IntrospectPythonParam) clean</NMakeCleanCommandLine>
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">$(GlibEtcInstallRoot)\</OutDir>
|
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'" />
|
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">$(GlibEtcInstallRoot)\</OutDir>
|
|
||||||
<ExtensionsToDeleteOnClean Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'" />
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<CustomBuild Include="..\..\..\config.h.win32">
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">Copying config.h from config.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">$(GenConfigH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">..\..\..\config.h;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gdk\gdkconfig.h.win32">
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying gdkconfig from gdkconfig.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(GenGdkConfigHWin32)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(Configuration);%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Copying gdkconfig from gdkconfig.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(GenGdkConfigHWin32)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(Configuration);%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying gdkconfig from gdkconfig.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(GenGdkConfigHWin32)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(Configuration);%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Copying gdkconfig from gdkconfig.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(GenGdkConfigHWin32)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(Configuration);%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gdk\gdkconfig.h.win32_broadway">
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">Copying gdkconfig from gdkconfig.win32_broadway...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">$(GenGdkConfigHBroadway)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(Configuration)_Broadway;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">Copying gdkconfig from gdkconfig.win32_broadway...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">$(GenGdkConfigHBroadway)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(Configuration)_Broadway;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">Copying gdkconfig from gdkconfig.win32_broadway...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">$(GenGdkConfigHBroadway)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(Configuration)_Broadway;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">Copying gdkconfig from gdkconfig.win32_broadway...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">$(GenGdkConfigHBroadway)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(Configuration)_Broadway;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\demos\gtk-demo\demos.h.win32">
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|Win32'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug_Broadway|x64'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|Win32'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
<Message Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">Copying demos.h from demos.h.win32...</Message>
|
|
||||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">$(CopyDemosH)</Command>
|
|
||||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release_Broadway|x64'">..\..\..\demos\gtk-demo\demos.h;%(Outputs)</Outputs>
|
|
||||||
</CustomBuild>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
|
||||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<CustomBuild Include="..\..\..\config.h.win32"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gdk\gdkconfig.h.win32"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\gdk\gdkconfig.h.win32_broadway"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
<CustomBuild Include="..\..\..\demos\gtk-demo\demos.h.win32"><Filter>Resource Files</Filter></CustomBuild>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
@@ -17,11 +17,13 @@
|
|||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '12.0|Win32'">c:\python34</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '12.0|Win32'">c:\python34</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '14.0|Win32'">c:\python36</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '14.0|Win32'">c:\python36</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '15.0|Win32'">c:\python36</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '15.0|Win32'">c:\python36</PythonDir>
|
||||||
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '16.0|Win32'">c:\python36</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '10.0|x64'">c:\python34.x64</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '10.0|x64'">c:\python34.x64</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '11.0|x64'">c:\python34.x64</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '11.0|x64'">c:\python34.x64</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '12.0|x64'">c:\python34.x64</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '12.0|x64'">c:\python34.x64</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '14.0|x64'">c:\python36.x64</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '14.0|x64'">c:\python36.x64</PythonDir>
|
||||||
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '15.0|x64'">c:\python36.x64</PythonDir>
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '15.0|x64'">c:\python36.x64</PythonDir>
|
||||||
|
<PythonDir Condition="'$(VisualStudioVersion)|$(Platform)' == '16.0|x64'">c:\python36.x64</PythonDir>
|
||||||
<IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
|
<IntrospectPythonParam>PYTHON=$(PythonDir)\python.exe</IntrospectPythonParam>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
@@ -4,7 +4,6 @@ EXTRA_DIST += \
|
|||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk3-prebuild.vcxproj \
|
gtk3-prebuild.vcxproj \
|
||||||
gtk3-prebuild.vcxproj.filters \
|
|
||||||
gdk3-win32.vcxproj \
|
gdk3-win32.vcxproj \
|
||||||
gdk3-win32.vcxproj.filters \
|
gdk3-win32.vcxproj.filters \
|
||||||
gdk-3.vcxproj \
|
gdk-3.vcxproj \
|
||||||
|
@@ -4,7 +4,6 @@ EXTRA_DIST += \
|
|||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk3-prebuild.vcxproj \
|
gtk3-prebuild.vcxproj \
|
||||||
gtk3-prebuild.vcxproj.filters \
|
|
||||||
gdk3-win32.vcxproj \
|
gdk3-win32.vcxproj \
|
||||||
gdk3-win32.vcxproj.filters \
|
gdk3-win32.vcxproj.filters \
|
||||||
gdk-3.vcxproj \
|
gdk-3.vcxproj \
|
||||||
|
@@ -4,7 +4,6 @@ EXTRA_DIST += \
|
|||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk3-prebuild.vcxproj \
|
gtk3-prebuild.vcxproj \
|
||||||
gtk3-prebuild.vcxproj.filters \
|
|
||||||
gdk3-win32.vcxproj \
|
gdk3-win32.vcxproj \
|
||||||
gdk3-win32.vcxproj.filters \
|
gdk3-win32.vcxproj.filters \
|
||||||
gdk-3.vcxproj \
|
gdk-3.vcxproj \
|
||||||
|
@@ -4,7 +4,6 @@ EXTRA_DIST += \
|
|||||||
README.txt \
|
README.txt \
|
||||||
gtk+.sln \
|
gtk+.sln \
|
||||||
gtk3-prebuild.vcxproj \
|
gtk3-prebuild.vcxproj \
|
||||||
gtk3-prebuild.vcxproj.filters \
|
|
||||||
gdk3-win32.vcxproj \
|
gdk3-win32.vcxproj \
|
||||||
gdk3-win32.vcxproj.filters \
|
gdk3-win32.vcxproj.filters \
|
||||||
gdk-3.vcxproj \
|
gdk-3.vcxproj \
|
||||||
|
52
build/win32/vs16/Makefile.am
Normal file
52
build/win32/vs16/Makefile.am
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
include $(top_srcdir)/Makefile.decl
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
README.txt \
|
||||||
|
gtk+.sln \
|
||||||
|
gtk3-prebuild.vcxproj \
|
||||||
|
gdk3-win32.vcxproj \
|
||||||
|
gdk3-win32.vcxproj.filters \
|
||||||
|
gdk-3.vcxproj \
|
||||||
|
gdk-3.vcxproj.filters \
|
||||||
|
gtk-3.vcxproj \
|
||||||
|
gtk-3.vcxproj.filters \
|
||||||
|
gtk-builder-tool.vcxproj \
|
||||||
|
gtk-builder-tool.vcxproj.filters \
|
||||||
|
gtk-encode-symbolic-svg.vcxproj \
|
||||||
|
gtk-encode-symbolic-svg.vcxproj.filters \
|
||||||
|
gtk-query-settings.vcxproj \
|
||||||
|
gtk-query-settings.vcxproj.filters \
|
||||||
|
gtk-update-icon-cache.vcxproj \
|
||||||
|
gtk-update-icon-cache.vcxproj.filters \
|
||||||
|
gtk3-demo.vcxproj \
|
||||||
|
gtk3-demo.vcxproj.filters \
|
||||||
|
gtk3-demo-application.vcxproj \
|
||||||
|
gtk3-demo-application.vcxproj.filters \
|
||||||
|
gtk3-icon-browser.vcxproj \
|
||||||
|
gtk3-icon-browser.vcxproj.filters \
|
||||||
|
gailutil-3.vcxproj \
|
||||||
|
gailutil-3.vcxproj.filters \
|
||||||
|
gtk3-install.vcxproj \
|
||||||
|
gtk3-install.vcxproj.filters \
|
||||||
|
gtk3-introspect.vcxproj \
|
||||||
|
broadwayd.vcxproj \
|
||||||
|
broadwayd.vcxproj.filters \
|
||||||
|
gdk3-broadway.vcxproj \
|
||||||
|
gdk3-broadway.vcxproj.filters \
|
||||||
|
gtk3-build-defines.props \
|
||||||
|
gtk3-copy-gdk-broadway.props \
|
||||||
|
gtk3-gen-srcs.props \
|
||||||
|
gtk3-ignore-broadway.props \
|
||||||
|
gtk3-install.props \
|
||||||
|
gtk3-version-paths.props
|
||||||
|
|
||||||
|
DISTCLEANFILES = $(EXTRA_DIST)
|
||||||
|
|
||||||
|
MSVC_VER = 16
|
||||||
|
MSVC_VER_LONG = 16
|
||||||
|
MSVC_TOOLSET = 142
|
||||||
|
MSVC_FORMAT_VER = 12
|
||||||
|
|
||||||
|
include $(top_srcdir)/build/Makefile-newvs.am
|
||||||
|
|
||||||
|
-include $(top_srcdir)/git.mk
|
@@ -162,126 +162,6 @@
|
|||||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
||||||
>
|
>
|
||||||
<File RelativePath="..\..\..\gtk\gtkdbusinterfaces.xml">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ DBus Sources..."
|
|
||||||
CommandLine="$(GenerateGtkDbusBuiltSources)"
|
|
||||||
Outputs="..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ DBus Sources..."
|
|
||||||
CommandLine="$(GenerateGtkDbusBuiltSources)"
|
|
||||||
Outputs="..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ DBus Sources..."
|
|
||||||
CommandLine="$(GenerateGtkDbusBuiltSourcesX64)"
|
|
||||||
Outputs="..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ DBus Sources..."
|
|
||||||
CommandLine="$(GenerateGtkDbusBuiltSourcesX64)"
|
|
||||||
Outputs="..\..\..\gtk\gtkdbusgenerated.c;..\..\..\gtk\gtkdbusgenerated.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\gtk\gtk-win32.rc.body">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying GTK+ Win32 Version Resource..."
|
|
||||||
CommandLine="$(CopyGtkWin32RC)"
|
|
||||||
Outputs="..\..\..\gtk\gtk-win32.rc"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying GTK+ Win32 Version Resource..."
|
|
||||||
CommandLine="$(CopyGtkWin32RC)"
|
|
||||||
Outputs="..\..\..\gtk\gtk-win32.rc"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying GTK+ Win32 Version Resource..."
|
|
||||||
CommandLine="$(CopyGtkWin32RC)"
|
|
||||||
Outputs="..\..\..\gtk\gtk-win32.rc"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying GTK+ Win32 Version Resource..."
|
|
||||||
CommandLine="$(CopyGtkWin32RC)"
|
|
||||||
Outputs="..\..\..\gtk\gtk-win32.rc"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\gtk\libgtk3.manifest.in">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ Win32 Manifest..."
|
|
||||||
CommandLine="$(GenerateGtkWin32Manifest)"
|
|
||||||
Outputs="..\..\..\gtk\libgtk3.manifest"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ Win32 Manifest..."
|
|
||||||
CommandLine="$(GenerateGtkWin32Manifest)"
|
|
||||||
Outputs="..\..\..\gtk\libgtk3.manifest"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ Win32 Manifest..."
|
|
||||||
CommandLine="$(GenerateGtkWin32Manifest)"
|
|
||||||
Outputs="..\..\..\gtk\libgtk3.manifest"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating GTK+ Win32 Manifest..."
|
|
||||||
CommandLine="$(GenerateGtkWin32Manifest)"
|
|
||||||
Outputs="..\..\..\gtk\libgtk3.manifest"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\gentypefuncs.py">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating ..\..\..\gtk\gtktypefuncs.c..."
|
|
||||||
CommandLine="$(GenerateTypeFuncs)"
|
|
||||||
Outputs="..\..\..\gtk\gtktypefuncs.c"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating ..\..\..\gtk\gtktypefuncs.c..."
|
|
||||||
CommandLine="$(GenerateTypeFuncs)"
|
|
||||||
Outputs="..\..\..\gtk\gtktypefuncs.c"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating ..\..\..\gtk\gtktypefuncs.c..."
|
|
||||||
CommandLine="$(GenerateTypeFuncsX64)"
|
|
||||||
Outputs="..\..\..\gtk\gtktypefuncs.c"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Generating ..\..\..\gtk\gtktypefuncs.c..."
|
|
||||||
CommandLine="$(GenerateTypeFuncsX64)"
|
|
||||||
Outputs="..\..\..\gtk\gtktypefuncs.c"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\gtk\gtk-win32.rc" />
|
<File RelativePath="..\..\..\gtk\gtk-win32.rc" />
|
||||||
<File RelativePath="..\..\..\gtk\libgtk3.manifest" />
|
<File RelativePath="..\..\..\gtk\libgtk3.manifest" />
|
||||||
</Filter>
|
</Filter>
|
||||||
|
@@ -6,96 +6,19 @@
|
|||||||
InheritedPropertySheets=".\gtk3-build-defines.vsprops"
|
InheritedPropertySheets=".\gtk3-build-defines.vsprops"
|
||||||
>
|
>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GenConfigH"
|
Name="GenerateRequiredSourcesBase"
|
||||||
Value="
|
Value="cd ..
set VCInstallDir=$(VCInstallDir)
nmake -f generate-msvc.mak PREFIX=$(GlibEtcInstallRoot)"
|
||||||
copy ..\..\..\config.h.win32 ..\..\..\config.h
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GenGdkConfigHWin32"
|
Name="GeneratedGdkSources"
|
||||||
Value="
|
Value="..\..\..\config.h;..\..\..\gdk\gdkconfig.h;..\..\gdk\gdkversionmacros.h;..\..\..\gdk\gdkmarshalers.h;..\..\..\gdk\gdkmarshalers.c;..\..\..\gdk\gdkresources.h;..\..\..\gdk\gdkresources.c"
|
||||||
if exist ..\..\..\MSVC_$(ConfigurationName) goto DONE_GDKCONFIG_H

|
|
||||||
|
|
||||||
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h

|
|
||||||
if exist ..\..\..\GDK_BROADWAY_BUILD del ..\..\..\GDK_BROADWAY_BUILD

|
|
||||||
if exist ..\..\..\MSVC_$(ConfigurationName)_Broadway del ..\..\..\MSVC_$(ConfigurationName)_Broadway

|
|
||||||
|
|
||||||
if exist $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll del $(ConfigurationName)\$(PlatformName)\bin\$(GtkDllPrefix)gdk$(GtkDllSuffix).dll

|
|
||||||
if exist $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib del $(ConfigurationName)\$(PlatformName)\bin\gdk-$(ApiVersion).lib

|
|
||||||
|
|
||||||
if "$(ConfigurationName)" == "Release" del ..\..\..\MSVC_Debug

|
|
||||||
if "$(ConfigurationName)" == "Debug" del ..\..\..\MSVC_Release

|
|
||||||
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\gdk\gdkconfig.h

|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32 ..\..\..\GDK_WIN32ONLY_BUILD

|
|
||||||
|
|
||||||
echo $(ConfigurationName) > ..\..\..\MSVC_$(ConfigurationName)

|
|
||||||
:DONE_GDKCONFIG_H

|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GenGdkConfigHBroadway"
|
Name="GeneratedGtkSources"
|
||||||
Value="
|
Value="..\..\..\gtk\gtk-win32.rc;..\..\..\gtk\libgtk3.manifest;..\..\..\gtk\gtkdbusgenerated.h;..\..\..\gtk\gtkdbusgenerated.c"
|
||||||
if exist ..\..\..\MSVC_$(ConfigurationName)_Broadway goto DONE_GDKCONFIG_H

|
|
||||||
|
|
||||||
if exist ..\..\..\gdk\gdkconfig.h del ..\..\..\gdk\gdkconfig.h

|
|
||||||
if exist ..\..\..\GDK_WIN32ONLY_BUILD del ..\..\..\GDK_WIN32ONLY_BUILD

|
|
||||||
|
|
||||||
if exist ..\..\..\MSVC_Release del ..\..\..\MSVC_Release

|
|
||||||
if exist ..\..\..\MSVC_Debug del ..\..\..\MSVC_Debug

|
|
||||||
|
|
||||||
if "$(ConfigurationName)" == "Release_Broadway" del ..\..\..\MSVC_Debug_Broadway

|
|
||||||
if "$(ConfigurationName)" == "Debug_Broadway" del ..\..\..\MSVC_Release_Broadway

|
|
||||||
|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\gdk\gdkconfig.h

|
|
||||||
copy ..\..\..\gdk\gdkconfig.h.win32_broadway ..\..\..\GDK_BROADWAY_BUILD

|
|
||||||
|
|
||||||
echo $(ConfigurationName) > ..\..\..\MSVC_$(ConfigurationName)_Broadway

|
|
||||||
:DONE_GDKCONFIG_H

|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GDbusCodeGenCmd"
|
Name="GeneratedDemoSources"
|
||||||
Value="$(GlibEtcInstallRoot)\bin\gdbus-codegen --interface-prefix org.Gtk. --c-namespace _Gtk --generate-c-code gtkdbusgenerated ./gtkdbusinterfaces.xml"
|
Value="..\..\..\demos\gtk-demo\demos.h"
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GenerateGtkDbusBuiltSources"
|
|
||||||
Value="cd ..\..\..\gtk & $(PythonDir)\python $(GDbusCodeGenCmd) & cd $(SolutionDir)"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GenerateGtkDbusBuiltSourcesX64"
|
|
||||||
Value="cd ..\..\..\gtk & $(PythonDirX64)\python $(GDbusCodeGenCmd) & cd $(SolutionDir)"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="CopyGtkWin32RC"
|
|
||||||
Value="copy ..\..\..\gtk\gtk-win32.rc.body ..\..\..\gtk\gtk-win32.rc"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GenerateGtkWin32Manifest"
|
|
||||||
Value="$(PythonDir)\python ..\replace.py --action=replace-var --input=..\..\..\gtk\libgtk3.manifest.in --output=..\..\..\gtk\libgtk3.manifest --var=EXE_MANIFEST_ARCHITECTURE --outstring=*"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="CopyDemosH"
|
|
||||||
Value="copy ..\..\..\demos\gtk-demo\demos.h.win32 ..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GenerateTypeFuncs"
|
|
||||||
Value="
|
|
||||||
echo #undef GTK_COMPILATION > ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
echo #include "gtkx.h" >> ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
cl /EP /I..\..\..\gtk /I..\..\..\gdk /I..\..\..\gdk\win32 /I..\..\.. /I$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0 /I$(GlibEtcInstallRoot)\include\pango-1.0 /I$(GlibEtcInstallRoot)\include\atk-1.0 /I$(GlibEtcInstallRoot)\include\cairo /I$(GlibEtcInstallRoot)\include\gio-win32-2.0 /I$(GlibEtcInstallRoot)\include\glib-2.0 /I$(GlibEtcInstallRoot)\lib\glib-2.0\include /I$(GlibEtcInstallRoot)\include /DHAVE_CONFIG_H /DG_DISABLE_SINGLE_INCLUDES /DATK_DISABLE_SINGLE_INCLUDES /DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES /DGTK_DISABLE_SINGLE_INCLUDES /D_USE_MATH_DEFINES /DINCLUDE_IM_am_et /DINCLUDE_IM_cedilla /DINCLUDE_IM_cyrillic_translit /DINCLUDE_IM_ime /DINCLUDE_IM_inuktitut /DINCLUDE_IM_ipa /DINCLUDE_IM_multipress /DINCLUDE_IM_thai /DINCLUDE_IM_ti_er /DINCLUDE_IM_ti_et /DINCLUDE_IM_viqr /DGTK_COMPILATION /DG_LOG_DOMAIN=\"Gtk\" /DGTK_HOST=\"i686-pc-vs$(VSVer)\" /DGTK_PRINT_BACKENDS=\"file\" /DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED /D$(GtkIncludedImmodulesDefines) /DGTK_LIBDIR=\"$(GtkDummyPrefix)/lib\" /DGTK_DATADIR=\"$(GtkDummyPrefix)/share\" /DGTK_DATA_PREFIX=\"$(GtkDummyPrefix)\" /DGTK_SYSCONFDIR=\"$(GtkDummyPrefix)/etc\" /DMULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(ApiVersion)\" /DMULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\" /DGTK_VERSION=\"$(GtkVersion)\" /DGTK_BINARY_VERSION=\"$(GtkBinaryVersion)\" /DGDK_DISABLE_DEPRECATED /DISOLATION_AWARE_ENABLED ..\..\..\gtk\gtktypefuncs.preproc.c > ..\..\..\gtk\gtktypefuncs.combined.c

|
|
||||||
$(PythonDir)\python ..\gentypefuncs.py ..\..\..\gtk\gtktypefuncs.c ..\..\..\gtk\gtktypefuncs.combined.c

|
|
||||||
del ..\..\..\gtk\gtktypefuncs.combined.c ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
"
|
|
||||||
/>
|
|
||||||
<UserMacro
|
|
||||||
Name="GenerateTypeFuncsX64"
|
|
||||||
Value="
|
|
||||||
echo #undef GTK_COMPILATION > ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
echo #include "gtkx.h" >> ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
cl /EP /I..\..\..\gtk /I..\..\..\gdk /I..\..\..\gdk\win32 /I..\..\.. /I$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0 /I$(GlibEtcInstallRoot)\include\pango-1.0 /I$(GlibEtcInstallRoot)\include\atk-1.0 /I$(GlibEtcInstallRoot)\include\cairo /I$(GlibEtcInstallRoot)\include\gio-win32-2.0 /I$(GlibEtcInstallRoot)\include\glib-2.0 /I$(GlibEtcInstallRoot)\lib\glib-2.0\include /I$(GlibEtcInstallRoot)\include /DHAVE_CONFIG_H /DG_DISABLE_SINGLE_INCLUDES /DATK_DISABLE_SINGLE_INCLUDES /DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES /DGTK_DISABLE_SINGLE_INCLUDES /D_USE_MATH_DEFINES /DINCLUDE_IM_am_et /DINCLUDE_IM_cedilla /DINCLUDE_IM_cyrillic_translit /DINCLUDE_IM_ime /DINCLUDE_IM_inuktitut /DINCLUDE_IM_ipa /DINCLUDE_IM_multipress /DINCLUDE_IM_thai /DINCLUDE_IM_ti_er /DINCLUDE_IM_ti_et /DINCLUDE_IM_viqr /DGTK_COMPILATION /DG_LOG_DOMAIN=\"Gtk\" /DGTK_HOST=\"i686-pc-vs$(VSVer)\" /DGTK_PRINT_BACKENDS=\"file\" /DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED /D$(GtkIncludedImmodulesDefines) /DGTK_LIBDIR=\"$(GtkDummyPrefix)/lib\" /DGTK_DATADIR=\"$(GtkDummyPrefix)/share\" /DGTK_DATA_PREFIX=\"$(GtkDummyPrefix)\" /DGTK_SYSCONFDIR=\"$(GtkDummyPrefix)/etc\" /DMULTIPRESS_CONFDIR=\"$(GtkDummyPrefix)/etc/gtk-$(ApiVersion)\" /DMULTIPRESS_LOCALEDIR=\"$(GtkDummyPrefix)/share/locale\" /DGTK_VERSION=\"$(GtkVersion)\" /DGTK_BINARY_VERSION=\"$(GtkBinaryVersion)\" /DGDK_DISABLE_DEPRECATED /DISOLATION_AWARE_ENABLED ..\..\..\gtk\gtktypefuncs.preproc.c > ..\..\..\gtk\gtktypefuncs.combined.c

|
|
||||||
$(PythonDirX64)\python ..\gentypefuncs.py ..\..\..\gtk\gtktypefuncs.c ..\..\..\gtk\gtktypefuncs.combined.c

|
|
||||||
del ..\..\..\gtk\gtktypefuncs.combined.c ..\..\..\gtk\gtktypefuncs.preproc.c

|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
</VisualStudioPropertySheet>
|
</VisualStudioPropertySheet>
|
||||||
|
@@ -21,262 +21,127 @@
|
|||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
ConfigurationType="10"
|
ConfigurationType="0"
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|x64"
|
Name="Debug|x64"
|
||||||
ConfigurationType="10"
|
ConfigurationType="0"
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug_Broadway|Win32"
|
Name="Debug_Broadway|Win32"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
ConfigurationType="0"
|
||||||
ConfigurationType="10"
|
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug_Broadway|x64"
|
Name="Debug_Broadway|x64"
|
||||||
ConfigurationType="10"
|
ConfigurationType="0"
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=Debug BROADWAY=1 $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
ConfigurationType="0"
|
||||||
ConfigurationType="10"
|
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|x64"
|
Name="Release|x64"
|
||||||
ConfigurationType="10"
|
ConfigurationType="0"
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=$(ConfigurationName) $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release_Broadway|Win32"
|
Name="Release_Broadway|Win32"
|
||||||
IntermediateDirectory="$(ConfigurationName)"
|
ConfigurationType="0"
|
||||||
ConfigurationType="10"
|
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release_Broadway|x64"
|
Name="Release_Broadway|x64"
|
||||||
ConfigurationType="10"
|
ConfigurationType="0"
|
||||||
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
InheritedPropertySheets=".\gtk3-gen-srcs.vsprops"
|
||||||
CharacterSet="2"
|
CharacterSet="2"
|
||||||
DeleteExtensionsOnClean=""
|
DeleteExtensionsOnClean=""
|
||||||
WholeProgramOptimization="1"
|
WholeProgramOptimization="1"
|
||||||
>
|
>
|
||||||
|
<Tool
|
||||||
|
Name="VCNMakeTool"
|
||||||
|
BuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam)"
|
||||||
|
ReBuildCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean all"
|
||||||
|
CleanCommandLine="$(GenerateRequiredSourcesBase) CFG=Release BROADWAY=1 $(IntrospectPythonParam) clean"
|
||||||
|
Output="$(GeneratedGdkSources);$(GeneratedDemoSources);$(GeneratedGtkSources)"
|
||||||
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
<References>
|
|
||||||
</References>
|
|
||||||
<Files>
|
|
||||||
<Filter
|
|
||||||
Name="Resource Files"
|
|
||||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
|
||||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
|
|
||||||
>
|
|
||||||
<File RelativePath="..\..\..\config.h.win32">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying config.h from config.h.win32..."
|
|
||||||
CommandLine="$(GenConfigH)"
|
|
||||||
Outputs="..\..\..\config.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\gdk\gdkconfig.h.win32">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32..."
|
|
||||||
CommandLine="$(GenGdkConfigHWin32)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(ConfigurationName)"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32..."
|
|
||||||
CommandLine="$(GenGdkConfigHWin32)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(ConfigurationName)"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32..."
|
|
||||||
CommandLine="$(GenGdkConfigHWin32)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(ConfigurationName)"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32..."
|
|
||||||
CommandLine="$(GenGdkConfigHWin32)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_WIN32ONLY_BUILD;..\..\..\MSVC_$(ConfigurationName)"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\gdk\gdkconfig.h.win32_broadway">
|
|
||||||
<FileConfiguration Name="Debug_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32_broadway..."
|
|
||||||
CommandLine="$(GenGdkConfigHBroadway)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(ConfigurationName)_Broadway"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32_broadway..."
|
|
||||||
CommandLine="$(GenGdkConfigHBroadway)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(ConfigurationName)_Broadway"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32_broadway..."
|
|
||||||
CommandLine="$(GenGdkConfigHBroadway)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(ConfigurationName)_Broadway"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying gdkconfig.h from gdkconfig.h.win32_broadway..."
|
|
||||||
CommandLine="$(GenGdkConfigHBroadway)"
|
|
||||||
Outputs="..\..\..\gdk\gdkconfig.h;..\..\..\GDK_BROADWAY_BUILD;..\..\..\MSVC_$(ConfigurationName)_Broadway"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
<File RelativePath="..\..\..\demos\gtk-demo\demos.h.win32">
|
|
||||||
<FileConfiguration Name="Debug|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|Win32">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Debug_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
<FileConfiguration Name="Release_Broadway|x64">
|
|
||||||
<Tool Name="VCCustomBuildTool"
|
|
||||||
Description="Copying demos.h from demos.h.win32..."
|
|
||||||
CommandLine="$(CopyDemosH)"
|
|
||||||
Outputs="..\..\..\demos\gtk-demo\demos.h"
|
|
||||||
/>
|
|
||||||
</FileConfiguration>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
</Files>
|
|
||||||
<Globals>
|
|
||||||
</Globals>
|
|
||||||
</VisualStudioProject>
|
</VisualStudioProject>
|
||||||
|
283
config.h.meson
Normal file
283
config.h.meson
Normal file
@@ -0,0 +1,283 @@
|
|||||||
|
/* config.h. Generated from config.h.in by configure. */
|
||||||
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
|
/* Define to 1 if translation of program messages to the user's native
|
||||||
|
language is requested. */
|
||||||
|
#mesondefine ENABLE_NLS
|
||||||
|
|
||||||
|
/* The prefix for our gettext translation domains. */
|
||||||
|
#mesondefine GETTEXT_PACKAGE
|
||||||
|
|
||||||
|
/* Disable deprecation warnings from glib */
|
||||||
|
#mesondefine GLIB_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
|
||||||
|
#mesondefine HAVE_BIND_TEXTDOMAIN_CODESET
|
||||||
|
|
||||||
|
/* Define if libcloudproviders is available */
|
||||||
|
#mesondefine HAVE_CLOUDPROVIDERS
|
||||||
|
|
||||||
|
/* define if we have colord */
|
||||||
|
#mesondefine HAVE_COLORD
|
||||||
|
|
||||||
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||||
|
*/
|
||||||
|
#mesondefine HAVE_DCGETTEXT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#mesondefine HAVE_DECL_ISINF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
|
||||||
|
*/
|
||||||
|
#mesondefine HAVE_DECL_ISNAN
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dev/evdev/input.h> header file. */
|
||||||
|
#mesondefine HAVE_DEV_EVDEV_INPUT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#mesondefine HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `exp2' function. */
|
||||||
|
#mesondefine HAVE_EXP2
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `flockfile' function. */
|
||||||
|
#mesondefine HAVE_FLOCKFILE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <ftw.h> header file. */
|
||||||
|
#mesondefine HAVE_FTW_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getpagesize' function. */
|
||||||
|
#mesondefine HAVE_GETPAGESIZE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `getresuid' function. */
|
||||||
|
#mesondefine HAVE_GETRESUID
|
||||||
|
|
||||||
|
/* Define if gio-unix is available */
|
||||||
|
#mesondefine HAVE_GIO_UNIX
|
||||||
|
|
||||||
|
/* defines whether we have HarfBuzz */
|
||||||
|
#mesondefine HAVE_HARFBUZZ
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#mesondefine HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `IPrintDialogCallback'. */
|
||||||
|
#mesondefine HAVE_IPRINTDIALOGCALLBACK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <linux/input.h> header file. */
|
||||||
|
#mesondefine HAVE_LINUX_INPUT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <linux/memfd.h> header file. */
|
||||||
|
#mesondefine HAVE_LINUX_MEMFD_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `localtime_r' function. */
|
||||||
|
#mesondefine HAVE_LOCALTIME_R
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `log2' function. */
|
||||||
|
#mesondefine HAVE_LOG2
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `lstat' function. */
|
||||||
|
#mesondefine HAVE_LSTAT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mallinfo' function. */
|
||||||
|
#mesondefine HAVE_MALLINFO
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#mesondefine HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mkstemp' function. */
|
||||||
|
#mesondefine HAVE_MKSTEMP
|
||||||
|
|
||||||
|
/* Define to 1 if you have a working `mmap' system call. */
|
||||||
|
#mesondefine HAVE_MMAP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `nearbyint' function. */
|
||||||
|
#mesondefine HAVE_NEARBYINT
|
||||||
|
|
||||||
|
/* defines whether we have pangoft2 */
|
||||||
|
#mesondefine HAVE_PANGOFT
|
||||||
|
|
||||||
|
/* Define to 1 if libpapi available */
|
||||||
|
#mesondefine HAVE_PAPI
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `posix_fallocate' function. */
|
||||||
|
#mesondefine HAVE_POSIX_FALLOCATE
|
||||||
|
|
||||||
|
/* Have the Xrandr extension library */
|
||||||
|
#mesondefine HAVE_RANDR
|
||||||
|
|
||||||
|
/* Have the Xrandr 1.5 extension library */
|
||||||
|
#mesondefine HAVE_RANDR15
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `rint' function. */
|
||||||
|
#mesondefine HAVE_RINT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `round' function. */
|
||||||
|
#mesondefine HAVE_ROUND
|
||||||
|
|
||||||
|
/* Define to 1 if SetupDiGetDevicePropertyW() is available */
|
||||||
|
#mesondefine HAVE_SETUP_DI_GET_DEVICE_PROPERTY_W
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `sincos' function. */
|
||||||
|
#mesondefine HAVE_SINCOS
|
||||||
|
|
||||||
|
/* Define to 1 if solaris xinerama is available */
|
||||||
|
#mesondefine HAVE_SOLARIS_XINERAMA
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#mesondefine HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#mesondefine HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#mesondefine HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#mesondefine HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
||||||
|
#mesondefine HAVE_SYS_MMAN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||||
|
#mesondefine HAVE_SYS_PARAM_H
|
||||||
|
|
||||||
|
/* Have the sysprof-capture library */
|
||||||
|
#mesondefine HAVE_SYSPROF_CAPTURE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#mesondefine HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if sys/sysinfo.h is available */
|
||||||
|
#mesondefine HAVE_SYS_SYSINFO_H
|
||||||
|
|
||||||
|
/* Define to 1 if sys/systeminfo.h is available */
|
||||||
|
#mesondefine HAVE_SYS_SYSTEMINFO_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||||
|
#mesondefine HAVE_SYS_TIME_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#mesondefine HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `trunc' function. */
|
||||||
|
#mesondefine HAVE_TRUNC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#mesondefine HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Have the XCOMPOSITE X extension */
|
||||||
|
#mesondefine HAVE_XCOMPOSITE
|
||||||
|
|
||||||
|
/* Have the Xcursor library */
|
||||||
|
#mesondefine HAVE_XCURSOR
|
||||||
|
|
||||||
|
/* Have the XDAMAGE X extension */
|
||||||
|
#mesondefine HAVE_XDAMAGE
|
||||||
|
|
||||||
|
/* Have the XFIXES X extension */
|
||||||
|
#mesondefine HAVE_XFIXES
|
||||||
|
|
||||||
|
/* Define to 1 if XFree Xinerama is available */
|
||||||
|
#mesondefine HAVE_XFREE_XINERAMA
|
||||||
|
|
||||||
|
/* Have XGenericEvent */
|
||||||
|
#mesondefine HAVE_XGENERICEVENTS
|
||||||
|
|
||||||
|
/* Define to 1 if xinerama is available */
|
||||||
|
#mesondefine HAVE_XINERAMA
|
||||||
|
|
||||||
|
/* Define to use XKB extension */
|
||||||
|
#mesondefine HAVE_XKB
|
||||||
|
|
||||||
|
/* Have the SYNC extension library */
|
||||||
|
#mesondefine HAVE_XSYNC
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `_lock_file' function. */
|
||||||
|
#mesondefine HAVE__LOCK_FILE
|
||||||
|
|
||||||
|
/* Define if _NL_MEASUREMENT_MEASUREMENT is available */
|
||||||
|
#mesondefine HAVE__NL_MEASUREMENT_MEASUREMENT
|
||||||
|
|
||||||
|
/* Define if _NL_PAPER_HEIGHT is available */
|
||||||
|
#mesondefine HAVE__NL_PAPER_HEIGHT
|
||||||
|
|
||||||
|
/* Define if _NL_PAPER_WIDTH is available */
|
||||||
|
#mesondefine HAVE__NL_PAPER_WIDTH
|
||||||
|
|
||||||
|
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
|
||||||
|
#mesondefine HAVE__NL_TIME_FIRST_WEEKDAY
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#mesondefine PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#mesondefine PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#mesondefine PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#mesondefine PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#mesondefine PACKAGE_URL
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#mesondefine PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Use NSBundle functions to determine load paths for libraries, translations,
|
||||||
|
etc. */
|
||||||
|
#mesondefine QUARTZ_RELOCATION
|
||||||
|
|
||||||
|
/* The size of `DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY', as computed by sizeof.
|
||||||
|
*/
|
||||||
|
#mesondefine SIZEOF_DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY
|
||||||
|
|
||||||
|
/* Define to 1 if XInput 2.0 is available */
|
||||||
|
#mesondefine XINPUT_2
|
||||||
|
|
||||||
|
/* Define to 1 if XInput 2.2 is available */
|
||||||
|
#mesondefine XINPUT_2_2
|
||||||
|
|
||||||
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||||
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||||
|
# define _DARWIN_USE_64_BIT_INODE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
|
#mesondefine _FILE_OFFSET_BITS
|
||||||
|
|
||||||
|
/* defines how to decorate public symbols while building */
|
||||||
|
#mesondefine _GDK_EXTERN
|
||||||
|
|
||||||
|
/* Define for large files, on AIX-style hosts. */
|
||||||
|
#mesondefine _LARGE_FILES
|
||||||
|
|
||||||
|
/* Define to 1 if on MINIX. */
|
||||||
|
#mesondefine _MINIX
|
||||||
|
|
||||||
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||||
|
this defined. */
|
||||||
|
#mesondefine _POSIX_1_SOURCE
|
||||||
|
|
||||||
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||||
|
#mesondefine _POSIX_SOURCE
|
||||||
|
|
||||||
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||||
|
#mesondefine gid_t
|
||||||
|
|
||||||
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||||
|
#mesondefine uid_t
|
||||||
|
|
||||||
|
#mesondefine GTK_DATADIR
|
||||||
|
|
||||||
|
#mesondefine GTK_LIBDIR
|
||||||
|
|
||||||
|
#mesondefine GTK_PRINT_BACKENDS
|
||||||
|
|
||||||
|
/* Define the location where the catalogs will be installed */
|
||||||
|
#mesondefine GTK_LOCALEDIR
|
||||||
|
|
||||||
|
#mesondefine ISO_CODES_PREFIX
|
@@ -26,12 +26,6 @@
|
|||||||
/* define if we have colord */
|
/* define if we have colord */
|
||||||
/* #undef HAVE_COLORD */
|
/* #undef HAVE_COLORD */
|
||||||
|
|
||||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
|
||||||
/* #undef HAVE_CRT_EXTERNS_H */
|
|
||||||
|
|
||||||
/* Define to 1 if CUPS 1.2 API is available */
|
|
||||||
/* #undef HAVE_CUPS_API_1_2 */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `dcgettext' function. */
|
/* Define to 1 if you have the `dcgettext' function. */
|
||||||
#define HAVE_DCGETTEXT 1
|
#define HAVE_DCGETTEXT 1
|
||||||
|
|
||||||
@@ -77,12 +71,6 @@
|
|||||||
/* Define if gio-unix is available */
|
/* Define if gio-unix is available */
|
||||||
/* #undef HAVE_GIO_UNIX */
|
/* #undef HAVE_GIO_UNIX */
|
||||||
|
|
||||||
/* Define to 1 if you have the `httpGetAuthString' function. */
|
|
||||||
/* #undef HAVE_HTTPGETAUTHSTRING */
|
|
||||||
|
|
||||||
/* Define if cups http_t authstring field is accessible */
|
|
||||||
/* #undef HAVE_HTTP_AUTHSTRING */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||||
#define HAVE_INTTYPES_H 1
|
#define HAVE_INTTYPES_H 1
|
||||||
@@ -257,16 +245,10 @@
|
|||||||
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
|
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
|
||||||
/* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
|
/* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
|
||||||
|
|
||||||
/* Define to 1 if you have the `_NSGetEnviron' function. */
|
|
||||||
/* #undef HAVE__NSGETENVIRON */
|
|
||||||
|
|
||||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||||
*/
|
*/
|
||||||
#define LT_OBJDIR ".libs/"
|
#define LT_OBJDIR ".libs/"
|
||||||
|
|
||||||
/* Define if <X11/extensions/XIproto.h> needed for xReply */
|
|
||||||
/* #undef NEED_XIPROTO_H_FOR_XREPLY */
|
|
||||||
|
|
||||||
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
/* #undef NO_MINUS_C_MINUS_O */
|
/* #undef NO_MINUS_C_MINUS_O */
|
||||||
|
116
configure.ac
116
configure.ac
@@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
m4_define([gtk_major_version], [3])
|
m4_define([gtk_major_version], [3])
|
||||||
m4_define([gtk_minor_version], [24])
|
m4_define([gtk_minor_version], [24])
|
||||||
m4_define([gtk_micro_version], [8])
|
m4_define([gtk_micro_version], [13])
|
||||||
m4_define([gtk_interface_age], [4])
|
m4_define([gtk_interface_age], [9])
|
||||||
m4_define([gtk_binary_age],
|
m4_define([gtk_binary_age],
|
||||||
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
|
||||||
m4_define([gtk_version],
|
m4_define([gtk_version],
|
||||||
@@ -42,8 +42,8 @@ m4_define([gtk_binary_version], [3.0.0])
|
|||||||
|
|
||||||
# required versions of other packages
|
# required versions of other packages
|
||||||
m4_define([glib_required_major], [2])
|
m4_define([glib_required_major], [2])
|
||||||
m4_define([glib_required_minor], [53])
|
m4_define([glib_required_minor], [57])
|
||||||
m4_define([glib_required_micro], [4])
|
m4_define([glib_required_micro], [2])
|
||||||
m4_define([glib_required_version],
|
m4_define([glib_required_version],
|
||||||
[glib_required_major.glib_required_minor.glib_required_micro])
|
[glib_required_major.glib_required_minor.glib_required_micro])
|
||||||
m4_define([glib_min_required_minor],
|
m4_define([glib_min_required_minor],
|
||||||
@@ -61,11 +61,10 @@ m4_define([cairo_required_version], [1.14.0])
|
|||||||
m4_define([gdk_pixbuf_required_version], [2.30.0])
|
m4_define([gdk_pixbuf_required_version], [2.30.0])
|
||||||
m4_define([introspection_required_version], [1.39.0])
|
m4_define([introspection_required_version], [1.39.0])
|
||||||
m4_define([wayland_required_version], [1.9.91])
|
m4_define([wayland_required_version], [1.9.91])
|
||||||
m4_define([wayland_protocols_required_version], [1.12])
|
m4_define([wayland_protocols_required_version], [1.14])
|
||||||
m4_define([mirclient_required_version], [0.22.0])
|
|
||||||
m4_define([mircookie_required_version], [0.17.0])
|
|
||||||
m4_define([epoxy_required_version], [1.4])
|
m4_define([epoxy_required_version], [1.4])
|
||||||
m4_define([cloudproviders_required_version], [0.2.5])
|
m4_define([cloudproviders_required_version], [0.2.5])
|
||||||
|
m4_define([sysprof_required_version], [3.33.2])
|
||||||
GLIB_REQUIRED_VERSION=glib_required_version
|
GLIB_REQUIRED_VERSION=glib_required_version
|
||||||
PANGO_REQUIRED_VERSION=pango_required_version
|
PANGO_REQUIRED_VERSION=pango_required_version
|
||||||
ATK_REQUIRED_VERSION=atk_required_version
|
ATK_REQUIRED_VERSION=atk_required_version
|
||||||
@@ -343,23 +342,23 @@ AC_ARG_ENABLE(wayland-backend,
|
|||||||
[AS_HELP_STRING([--enable-wayland-backend],
|
[AS_HELP_STRING([--enable-wayland-backend],
|
||||||
[enable the wayland gdk backend])],
|
[enable the wayland gdk backend])],
|
||||||
[backend_set=yes])
|
[backend_set=yes])
|
||||||
AC_ARG_ENABLE(mir-backend,
|
|
||||||
[AS_HELP_STRING([--enable-mir-backend],
|
|
||||||
[enable the Mir gdk backend])],
|
|
||||||
[backend_set=yes])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(cloudproviders,
|
AC_ARG_ENABLE(cloudproviders,
|
||||||
[AS_HELP_STRING([--enable-cloudproviders],
|
[AS_HELP_STRING([--enable-cloudproviders],
|
||||||
[enable libcloudproviders integration])],
|
[enable libcloudproviders integration])],
|
||||||
[cloudproviders_set=yes])
|
[cloudproviders_set=yes])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(profiler,
|
||||||
|
[AS_HELP_STRING([--enable-profiler],
|
||||||
|
[enable profiler integration])],
|
||||||
|
[enable_profiler=$enableval],
|
||||||
|
[enable_profiler=no])
|
||||||
|
|
||||||
if test -z "$backend_set"; then
|
if test -z "$backend_set"; then
|
||||||
if test "$platform_win32" = yes; then
|
if test "$platform_win32" = yes; then
|
||||||
enable_win32_backend=yes
|
enable_win32_backend=yes
|
||||||
else
|
else
|
||||||
enable_x11_backend=yes
|
enable_x11_backend=yes
|
||||||
enable_wayland_backend=maybe
|
enable_wayland_backend=maybe
|
||||||
enable_mir_backend=no
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -472,30 +471,6 @@ else
|
|||||||
AM_CONDITIONAL(USE_WAYLAND, false)
|
AM_CONDITIONAL(USE_WAYLAND, false)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MIR_DEPENDENCIES="mirclient >= mirclient_required_version mircookie >= mircookie_required_version libcontent-hub-glib"
|
|
||||||
if test "$enable_mir_backend" = "maybe" ; then
|
|
||||||
PKG_CHECK_EXISTS($MIR_DEPENDENCIES, [have_mir_deps=yes], [have_mir_deps=no])
|
|
||||||
AC_MSG_CHECKING([for MIR_DEPENDENCIES])
|
|
||||||
if test "$have_mir_deps" = "no" ; then
|
|
||||||
enable_mir_backend=no
|
|
||||||
else
|
|
||||||
enable_mir_backend=yes
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT($enable_mir_backend)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$enable_mir_backend" = "yes"; then
|
|
||||||
cairo_backends="$cairo_backends cairo"
|
|
||||||
GDK_BACKENDS="$GDK_BACKENDS mir"
|
|
||||||
GDK_WINDOWING="$GDK_WINDOWING
|
|
||||||
#define GDK_WINDOWING_MIR"
|
|
||||||
MIR_PACKAGES="$MIR_DEPENDENCIES"
|
|
||||||
|
|
||||||
AM_CONDITIONAL(USE_MIR, true)
|
|
||||||
else
|
|
||||||
AM_CONDITIONAL(USE_MIR, false)
|
|
||||||
fi
|
|
||||||
|
|
||||||
# strip leading space
|
# strip leading space
|
||||||
GDK_BACKENDS=${GDK_BACKENDS#* }
|
GDK_BACKENDS=${GDK_BACKENDS#* }
|
||||||
|
|
||||||
@@ -871,10 +846,6 @@ AC_CHECK_LIB(m,round,,)
|
|||||||
AC_CHECK_FUNCS(round rint nearbyint sincos exp2 log2 trunc)
|
AC_CHECK_FUNCS(round rint nearbyint sincos exp2 log2 trunc)
|
||||||
AC_CHECK_DECLS([isnan, isinf], [], [], [[#include <math.h>]])
|
AC_CHECK_DECLS([isnan, isinf], [], [], [[#include <math.h>]])
|
||||||
|
|
||||||
# Checks for gdkspawn
|
|
||||||
AC_CHECK_HEADERS(crt_externs.h)
|
|
||||||
AC_CHECK_FUNCS(_NSGetEnviron)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to build dynamic modules)
|
AC_MSG_CHECKING(whether to build dynamic modules)
|
||||||
|
|
||||||
AC_ARG_ENABLE(modules,
|
AC_ARG_ENABLE(modules,
|
||||||
@@ -1074,17 +1045,6 @@ if test "x$enable_x11_backend" = xyes; then
|
|||||||
AC_CHECK_FUNC(XextFindDisplay, :,
|
AC_CHECK_FUNC(XextFindDisplay, :,
|
||||||
AC_MSG_ERROR([*** libX11 and libXext not found. Check 'config.log' for more details.]))
|
AC_MSG_ERROR([*** libX11 and libXext not found. Check 'config.log' for more details.]))
|
||||||
|
|
||||||
# Check if <X11/extensions/XIproto.h> is needed for xReply.
|
|
||||||
|
|
||||||
AC_CHECK_TYPE([xReply], ,
|
|
||||||
[AC_CHECK_TYPE([xReply],
|
|
||||||
[AC_DEFINE([NEED_XIPROTO_H_FOR_XREPLY], 1,
|
|
||||||
[Define if <X11/extensions/XIproto.h> needed for xReply])],
|
|
||||||
[AC_MSG_ERROR([xReply type unavailable. X11 is too old])],
|
|
||||||
[[#include <X11/extensions/XIproto.h>
|
|
||||||
#include <X11/Xlibint.h>]])],
|
|
||||||
[[#include <X11/Xlibint.h>]])
|
|
||||||
|
|
||||||
# Check for XKB support.
|
# Check for XKB support.
|
||||||
|
|
||||||
if test "x$enable_xkb" = "xyes"; then
|
if test "x$enable_xkb" = "xyes"; then
|
||||||
@@ -1360,11 +1320,26 @@ if test "x$cloudproviders_set" = "xyes"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check for profiler support
|
||||||
|
|
||||||
|
PROFILER_PACKAGES=""
|
||||||
|
if test "x$enable_profiler" = "xyes"; then
|
||||||
|
PROFILER_PACKAGES="sysprof-capture-3 >= sysprof_required_version"
|
||||||
|
if $PKG_CONFIG --exists $PROFILER_PACKAGES; then
|
||||||
|
AC_DEFINE(HAVE_SYSPROF_CAPTURE, [1],
|
||||||
|
[Define if sysprof-capture-3 is available]
|
||||||
|
)
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([
|
||||||
|
*** sysprof-capture-3 not found.])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
LDFLAGS="$saved_ldflags"
|
LDFLAGS="$saved_ldflags"
|
||||||
|
|
||||||
GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0 >= gdk_pixbuf_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version"
|
GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0 >= gdk_pixbuf_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version"
|
||||||
GDK_PRIVATE_PACKAGES="$GDK_GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES $cairo_backends epoxy >= epoxy_required_version $CLOUDPROVIDER_PACKAGES fribidi >= fribidi_required_version"
|
GDK_PRIVATE_PACKAGES="$GDK_GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $cairo_backends epoxy >= epoxy_required_version $CLOUDPROVIDER_PACKAGES $PROFILER_PACKAGES fribidi >= fribidi_required_version"
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GDK_DEP, $GDK_PACKAGES $GDK_PRIVATE_PACKAGES)
|
PKG_CHECK_MODULES(GDK_DEP, $GDK_PACKAGES $GDK_PRIVATE_PACKAGES)
|
||||||
GDK_DEP_LIBS="$GDK_EXTRA_LIBS $GDK_DEP_LIBS $MATH_LIB"
|
GDK_DEP_LIBS="$GDK_EXTRA_LIBS $GDK_DEP_LIBS $MATH_LIB"
|
||||||
@@ -1398,7 +1373,7 @@ fi
|
|||||||
PKG_CHECK_MODULES(ATK, $ATK_PACKAGES)
|
PKG_CHECK_MODULES(ATK, $ATK_PACKAGES)
|
||||||
|
|
||||||
GTK_PACKAGES="atk >= atk_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version gdk-pixbuf-2.0 >= gdk_pixbuf_required_version gio-2.0 >= glib_required_version"
|
GTK_PACKAGES="atk >= atk_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version gdk-pixbuf-2.0 >= gdk_pixbuf_required_version gio-2.0 >= glib_required_version"
|
||||||
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $MIR_PACKAGES epoxy >= epoxy_required_version fribidi >= fribidi_required_version"
|
GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES epoxy >= epoxy_required_version fribidi >= fribidi_required_version"
|
||||||
if test "x$enable_x11_backend" = xyes -o "x$enable_wayland_backend" = xyes; then
|
if test "x$enable_x11_backend" = xyes -o "x$enable_wayland_backend" = xyes; then
|
||||||
GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
|
GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2"
|
||||||
fi
|
fi
|
||||||
@@ -1530,19 +1505,13 @@ else
|
|||||||
CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
|
CUPS_CFLAGS=`$CUPS_CONFIG --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
|
||||||
CUPS_LIBS=`$CUPS_CONFIG --libs`
|
CUPS_LIBS=`$CUPS_CONFIG --libs`
|
||||||
|
|
||||||
CUPS_API_VERSION=`$CUPS_CONFIG --api-version`
|
CUPS_API_VERSION=`$CUPS_CONFIG --version`
|
||||||
CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
|
CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
|
||||||
CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
|
CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
|
||||||
|
|
||||||
if test $CUPS_API_MAJOR -lt 1 -o \
|
if test $CUPS_API_MAJOR -lt 1 -o \
|
||||||
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then
|
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 7; then
|
||||||
AC_MSG_ERROR([CUPS >= 1.2 not found])
|
AC_MSG_ERROR([CUPS >= 1.7 not found])
|
||||||
fi
|
|
||||||
if test $CUPS_API_MAJOR -gt 1 -o \
|
|
||||||
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 6; then
|
|
||||||
AC_DEFINE(HAVE_CUPS_API_1_6, 1,
|
|
||||||
[Define to 1 if CUPS 1.6 API is available])
|
|
||||||
have_cups_api_1_6=yes
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(CUPS_API_MAJOR)
|
AC_SUBST(CUPS_API_MAJOR)
|
||||||
@@ -1555,22 +1524,6 @@ else
|
|||||||
PRINT_BACKENDS="$PRINT_BACKENDS cups"
|
PRINT_BACKENDS="$PRINT_BACKENDS cups"
|
||||||
AM_CONDITIONAL(HAVE_CUPS, true)
|
AM_CONDITIONAL(HAVE_CUPS, true)
|
||||||
have_cups=yes
|
have_cups=yes
|
||||||
|
|
||||||
gtk_save_cflags="$CFLAGS"
|
|
||||||
CFLAGS="$CUPS_CFLAGS"
|
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <cups/http.h>]],
|
|
||||||
[[http_t http; char *s = http.authstring;]])],
|
|
||||||
[AC_DEFINE([HAVE_HTTP_AUTHSTRING], [],
|
|
||||||
[Define if cups http_t authstring field is accessible])],
|
|
||||||
[])
|
|
||||||
CFLAGS="$gtk_save_cflags"
|
|
||||||
|
|
||||||
AC_SUBST(HAVE_HTTP_AUTHSTRING)
|
|
||||||
|
|
||||||
gtk_save_libs="$LIBS"
|
|
||||||
LIBS="$CUPS_LIBS"
|
|
||||||
AC_CHECK_FUNCS(httpGetAuthString)
|
|
||||||
LIBS="$gtk_save_libs"
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1983,11 +1936,13 @@ docs/reference/gdk/version.xml
|
|||||||
docs/reference/gtk/Makefile
|
docs/reference/gtk/Makefile
|
||||||
docs/reference/gtk/gtk3.types
|
docs/reference/gtk/gtk3.types
|
||||||
docs/reference/gtk/version.xml
|
docs/reference/gtk/version.xml
|
||||||
|
docs/reference/gtk/getting_started.xml
|
||||||
docs/reference/libgail-util/Makefile
|
docs/reference/libgail-util/Makefile
|
||||||
docs/reference/libgail-util/version.xml
|
docs/reference/libgail-util/version.xml
|
||||||
docs/tools/Makefile
|
docs/tools/Makefile
|
||||||
build/Makefile
|
build/Makefile
|
||||||
build/win32/Makefile
|
build/win32/Makefile
|
||||||
|
build/win32/config-msvc.mak
|
||||||
build/win32/vs9/Makefile
|
build/win32/vs9/Makefile
|
||||||
build/win32/vs9/gtk3-version-paths.vsprops
|
build/win32/vs9/gtk3-version-paths.vsprops
|
||||||
build/win32/vs10/Makefile
|
build/win32/vs10/Makefile
|
||||||
@@ -1996,6 +1951,7 @@ build/win32/vs11/Makefile
|
|||||||
build/win32/vs12/Makefile
|
build/win32/vs12/Makefile
|
||||||
build/win32/vs14/Makefile
|
build/win32/vs14/Makefile
|
||||||
build/win32/vs15/Makefile
|
build/win32/vs15/Makefile
|
||||||
|
build/win32/vs16/Makefile
|
||||||
gdk/Makefile
|
gdk/Makefile
|
||||||
gdk/broadway/Makefile
|
gdk/broadway/Makefile
|
||||||
gdk/x11/Makefile
|
gdk/x11/Makefile
|
||||||
@@ -2004,7 +1960,6 @@ gdk/win32/rc/Makefile
|
|||||||
gdk/win32/rc/gdk.rc
|
gdk/win32/rc/gdk.rc
|
||||||
gdk/quartz/Makefile
|
gdk/quartz/Makefile
|
||||||
gdk/wayland/Makefile
|
gdk/wayland/Makefile
|
||||||
gdk/mir/Makefile
|
|
||||||
gdk/gdkversionmacros.h
|
gdk/gdkversionmacros.h
|
||||||
gtk/Makefile
|
gtk/Makefile
|
||||||
gtk/makefile.msc
|
gtk/makefile.msc
|
||||||
@@ -2044,3 +1999,4 @@ echo " colord support: $have_colord"
|
|||||||
echo " Introspection: $found_introspection"
|
echo " Introspection: $found_introspection"
|
||||||
echo " Debugging: $enable_debug"
|
echo " Debugging: $enable_debug"
|
||||||
echo " Documentation: $enable_gtk_doc"
|
echo " Documentation: $enable_gtk_doc"
|
||||||
|
echo " Profiler: $enable_profiler"
|
||||||
|
@@ -3,4 +3,7 @@ include $(top_srcdir)/Makefile.decl
|
|||||||
|
|
||||||
SUBDIRS = gtk-demo widget-factory icon-browser
|
SUBDIRS = gtk-demo widget-factory icon-browser
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@@ -117,7 +117,9 @@ EXTRA_DIST += \
|
|||||||
demo.gresource.xml \
|
demo.gresource.xml \
|
||||||
$(resource_files) \
|
$(resource_files) \
|
||||||
org.gtk.Demo.gschema.xml \
|
org.gtk.Demo.gschema.xml \
|
||||||
demos.h.win32
|
demos.h.win32 \
|
||||||
|
meson.build \
|
||||||
|
geninclude.py
|
||||||
|
|
||||||
gsettings_SCHEMAS = \
|
gsettings_SCHEMAS = \
|
||||||
org.gtk.Demo.gschema.xml
|
org.gtk.Demo.gschema.xml
|
||||||
|
108
demos/gtk-demo/geninclude.py
Executable file
108
demos/gtk-demo/geninclude.py
Executable file
@@ -0,0 +1,108 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import re
|
||||||
|
import os
|
||||||
|
from collections import *
|
||||||
|
|
||||||
|
out_file = sys.argv[1]
|
||||||
|
in_files = sys.argv[2:]
|
||||||
|
|
||||||
|
|
||||||
|
file_output = """
|
||||||
|
typedef GtkWidget *(*GDoDemoFunc) (GtkWidget *do_widget);
|
||||||
|
|
||||||
|
typedef struct _Demo Demo;
|
||||||
|
|
||||||
|
struct _Demo
|
||||||
|
{
|
||||||
|
gchar *name;
|
||||||
|
gchar *title;
|
||||||
|
gchar *filename;
|
||||||
|
GDoDemoFunc func;
|
||||||
|
Demo *children;
|
||||||
|
};
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# Demo = namedtuple('Demo', ['name', 'title', 'file', 'func'])
|
||||||
|
|
||||||
|
demos = []
|
||||||
|
|
||||||
|
for demo_file in in_files:
|
||||||
|
filename = demo_file[demo_file.rfind('/')+1:]
|
||||||
|
demo_name = filename.replace(".c", "")
|
||||||
|
with open(demo_file, 'r', encoding='utf-8') as f:
|
||||||
|
title = f.readline().replace("/*", "").strip()
|
||||||
|
|
||||||
|
|
||||||
|
file_output += "GtkWidget *do_" + demo_name + " (GtkWidget *do_widget);\n"
|
||||||
|
# demos += Demo(name = demo_name,
|
||||||
|
# title = title,
|
||||||
|
# file = demo_file,
|
||||||
|
# func = "do_" + title)
|
||||||
|
demos.append((demo_name, title, filename, "do_" + demo_name, -1))
|
||||||
|
|
||||||
|
# Generate a List of "Parent names"
|
||||||
|
parents = []
|
||||||
|
parent_ids = []
|
||||||
|
parent_index = 0
|
||||||
|
for demo in demos:
|
||||||
|
if "/" in demo[1]:
|
||||||
|
slash_index = demo[1].index('/')
|
||||||
|
parent_name = demo[1][:slash_index]
|
||||||
|
do_break = False
|
||||||
|
|
||||||
|
# Check for duplicates
|
||||||
|
if not parent_name in parents:
|
||||||
|
parents.append(parent_name)
|
||||||
|
parent_ids.append(parent_index)
|
||||||
|
demos.append(("NULL", parent_name, "NULL", "NULL", parent_index))
|
||||||
|
|
||||||
|
parent_index = parent_index + 1
|
||||||
|
|
||||||
|
|
||||||
|
# For every child with a parent, generate a list of child demos
|
||||||
|
i = 0
|
||||||
|
for parent in parents:
|
||||||
|
id = parent_ids[i]
|
||||||
|
file_output += "\nDemo child" + str(id) + "[] = {\n"
|
||||||
|
# iterate over all demos and check if the name starts with the given parent name
|
||||||
|
for child in demos:
|
||||||
|
if child[1].startswith(parent + "/"):
|
||||||
|
title = child[1][child[1].rfind('/') + 1:]
|
||||||
|
file_output += " { \"" + child[0] + "\", \"" + title + "\", \"" + child[2] + "\", " + child[3] + ", NULL },\n"
|
||||||
|
|
||||||
|
|
||||||
|
file_output += " { NULL }\n};\n"
|
||||||
|
i = i + 1
|
||||||
|
|
||||||
|
|
||||||
|
# Sort demos by title
|
||||||
|
demos = sorted(demos, key=lambda x: x[1])
|
||||||
|
|
||||||
|
file_output += "\nDemo gtk_demos[] = {\n"
|
||||||
|
for demo in demos:
|
||||||
|
# Do not generate one of these for demos with a parent demo
|
||||||
|
if "/" not in demo[1]:
|
||||||
|
child_array = "NULL"
|
||||||
|
name = demo[0];
|
||||||
|
title = demo[1];
|
||||||
|
file = demo[2]
|
||||||
|
if name != "NULL":
|
||||||
|
name = "\"" + name + "\""
|
||||||
|
if title != "NULL":
|
||||||
|
title = "\"" + title + "\""
|
||||||
|
if file != "NULL":
|
||||||
|
file = "\"" + file + "\""
|
||||||
|
|
||||||
|
if demo[4] != -1:
|
||||||
|
child_array = "child" + str(demo[4])
|
||||||
|
file_output += " { " + name + ", " + title + ", " + file + ", " + demo[3] + ", " + child_array + " },\n"
|
||||||
|
|
||||||
|
file_output += " { NULL }\n};\n"
|
||||||
|
|
||||||
|
ofile = open(out_file, "w", encoding="utf-8")
|
||||||
|
ofile.write(file_output)
|
||||||
|
ofile.close()
|
148
demos/gtk-demo/meson.build
Normal file
148
demos/gtk-demo/meson.build
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
|
||||||
|
## These should be in the order you want them to appear in the
|
||||||
|
## demo app, which means alphabetized by demo title, not filename
|
||||||
|
demos = files([
|
||||||
|
'application_demo.c',
|
||||||
|
'assistant.c',
|
||||||
|
'builder.c',
|
||||||
|
'button_box.c',
|
||||||
|
'changedisplay.c',
|
||||||
|
'clipboard.c',
|
||||||
|
'colorsel.c',
|
||||||
|
'combobox.c',
|
||||||
|
'css_accordion.c',
|
||||||
|
'css_basics.c',
|
||||||
|
'css_blendmodes.c',
|
||||||
|
'css_multiplebgs.c',
|
||||||
|
'css_pixbufs.c',
|
||||||
|
'css_shadows.c',
|
||||||
|
'cursors.c',
|
||||||
|
'dialog.c',
|
||||||
|
'drawingarea.c',
|
||||||
|
'editable_cells.c',
|
||||||
|
'entry_buffer.c',
|
||||||
|
'entry_completion.c',
|
||||||
|
'event_axes.c',
|
||||||
|
'expander.c',
|
||||||
|
'filtermodel.c',
|
||||||
|
'fishbowl.c',
|
||||||
|
'foreigndrawing.c',
|
||||||
|
'gestures.c',
|
||||||
|
'glarea.c',
|
||||||
|
'headerbar.c',
|
||||||
|
'hypertext.c',
|
||||||
|
'iconview.c',
|
||||||
|
'iconview_edit.c',
|
||||||
|
'images.c',
|
||||||
|
'infobar.c',
|
||||||
|
'links.c',
|
||||||
|
'listbox.c',
|
||||||
|
'flowbox.c',
|
||||||
|
'list_store.c',
|
||||||
|
'markup.c',
|
||||||
|
'menus.c',
|
||||||
|
'modelbutton.c',
|
||||||
|
'offscreen_window.c',
|
||||||
|
'offscreen_window2.c',
|
||||||
|
'overlay.c',
|
||||||
|
'overlay2.c',
|
||||||
|
'paint.c',
|
||||||
|
'panes.c',
|
||||||
|
'pickers.c',
|
||||||
|
'pixbufs.c',
|
||||||
|
'popover.c',
|
||||||
|
'printing.c',
|
||||||
|
'revealer.c',
|
||||||
|
'rotated_text.c',
|
||||||
|
'scale.c',
|
||||||
|
'search_entry.c',
|
||||||
|
'search_entry2.c',
|
||||||
|
'shortcuts.c',
|
||||||
|
'sidebar.c',
|
||||||
|
'sizegroup.c',
|
||||||
|
'spinbutton.c',
|
||||||
|
'spinner.c',
|
||||||
|
'stack.c',
|
||||||
|
'tabs.c',
|
||||||
|
'textmask.c',
|
||||||
|
'textview.c',
|
||||||
|
'textscroll.c',
|
||||||
|
'theming_style_classes.c',
|
||||||
|
'toolpalette.c',
|
||||||
|
'transparent.c',
|
||||||
|
'tree_store.c',
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
gtkdemo_deps = [libgtk_dep]
|
||||||
|
|
||||||
|
if harfbuzz_dep.found() and pangoft_dep.found()
|
||||||
|
demos += files('font_features.c')
|
||||||
|
gtkdemo_deps += [harfbuzz_dep, pangoft_dep]
|
||||||
|
endif
|
||||||
|
|
||||||
|
if os_unix
|
||||||
|
demos += files('pagesetup.c')
|
||||||
|
endif
|
||||||
|
|
||||||
|
gtkdemo_sources = demos + files([
|
||||||
|
'gtkfishbowl.c',
|
||||||
|
'gtkfishbowl.h',
|
||||||
|
'main.c',
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
geninclude = find_program('geninclude.py')
|
||||||
|
demos_h = custom_target(
|
||||||
|
'gtk3 demo header',
|
||||||
|
output : 'demos.h',
|
||||||
|
input : demos,
|
||||||
|
command : [geninclude, '@OUTPUT@', '@INPUT@'],
|
||||||
|
)
|
||||||
|
|
||||||
|
gtkdemo_resources = gnome.compile_resources(
|
||||||
|
'gtkdemo_resources',
|
||||||
|
'demo.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
gtkdemo = executable(
|
||||||
|
'gtk3-demo',
|
||||||
|
gtkdemo_sources,
|
||||||
|
demos_h,
|
||||||
|
gtkdemo_resources,
|
||||||
|
dependencies: gtkdemo_deps,
|
||||||
|
include_directories : confinc,
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
|
||||||
|
gtkapplicationdemo = executable(
|
||||||
|
'gtk3-demo-application',
|
||||||
|
'application.c',
|
||||||
|
demos_h,
|
||||||
|
gtkdemo_resources,
|
||||||
|
dependencies: gtkdemo_deps,
|
||||||
|
include_directories : confinc,
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
|
||||||
|
gtk_settings_schemas = [
|
||||||
|
'org.gtk.Settings.FileChooser.gschema.xml',
|
||||||
|
'org.gtk.Settings.ColorChooser.gschema.xml',
|
||||||
|
'org.gtk.Settings.EmojiChooser.gschema.xml',
|
||||||
|
'org.gtk.Settings.Debug.gschema.xml',
|
||||||
|
]
|
||||||
|
|
||||||
|
foreach s: [ '16', '22', '24', '32', '48', '256']
|
||||||
|
icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps')
|
||||||
|
icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-demo.png'),
|
||||||
|
join_paths('data', '@0@x@0@'.format(s), 'gtk3-demo-symbolic.symbolic.png')]
|
||||||
|
install_data(icons, install_dir: icon_destdir)
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
# desktop file
|
||||||
|
install_data('gtk3-demo.desktop', install_dir: gtk_applicationsdir)
|
||||||
|
|
||||||
|
# GSettings
|
||||||
|
install_data('org.gtk.Demo.gschema.xml', install_dir: gtk_schemasdir)
|
||||||
|
gnome.compile_schemas(depend_files: files(['org.gtk.Demo.gschema.xml']))
|
@@ -34,7 +34,8 @@ EXTRA_DIST = \
|
|||||||
menus.ui \
|
menus.ui \
|
||||||
iconbrowser.gresource.xml \
|
iconbrowser.gresource.xml \
|
||||||
window.ui \
|
window.ui \
|
||||||
icon.list
|
icon.list \
|
||||||
|
meson.build
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
# ------------------- MSVC Build Items ----------------
|
||||||
MSVCPROJS = gtk3-icon-browser
|
MSVCPROJS = gtk3-icon-browser
|
||||||
|
24
demos/icon-browser/meson.build
Normal file
24
demos/icon-browser/meson.build
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
iconbrowser_sources = [
|
||||||
|
'main.c',
|
||||||
|
'iconbrowserapp.c',
|
||||||
|
'iconbrowserwin.c',
|
||||||
|
'iconstore.c'
|
||||||
|
]
|
||||||
|
|
||||||
|
iconbrowser_resources = gnome.compile_resources(
|
||||||
|
'iconbrowser_resources',
|
||||||
|
'iconbrowser.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
iconbrowser = executable(
|
||||||
|
'gtk3-icon-browser',
|
||||||
|
iconbrowser_sources,
|
||||||
|
iconbrowser_resources,
|
||||||
|
dependencies: libgtk_dep,
|
||||||
|
include_directories : confinc,
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
|
||||||
|
# desktop file
|
||||||
|
install_data('gtk3-icon-browser.desktop', install_dir: gtk_applicationsdir)
|
3
demos/meson.build
Normal file
3
demos/meson.build
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
subdir('icon-browser')
|
||||||
|
subdir('widget-factory')
|
||||||
|
subdir('gtk-demo')
|
@@ -66,6 +66,7 @@ EXTRA_DIST += \
|
|||||||
help-overlay.ui \
|
help-overlay.ui \
|
||||||
widget-factory.gresource.xml \
|
widget-factory.gresource.xml \
|
||||||
data/source.svg \
|
data/source.svg \
|
||||||
data/symbolic-source.svg
|
data/symbolic-source.svg \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
29
demos/widget-factory/meson.build
Normal file
29
demos/widget-factory/meson.build
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
widgetfactory_sources = [
|
||||||
|
'widget-factory.c'
|
||||||
|
]
|
||||||
|
|
||||||
|
widgetfactory_resources = gnome.compile_resources(
|
||||||
|
'widgetfactory_resources',
|
||||||
|
'widget-factory.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach s: [ '16', '22', '24', '32', '48', '256']
|
||||||
|
icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps')
|
||||||
|
icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory.png'),
|
||||||
|
join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory-symbolic.symbolic.png')]
|
||||||
|
install_data(icons, install_dir: icon_destdir)
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
widget_factory = executable(
|
||||||
|
'gtk3-widget-factory',
|
||||||
|
widgetfactory_sources,
|
||||||
|
widgetfactory_resources,
|
||||||
|
dependencies: libgtk_dep,
|
||||||
|
include_directories : confinc,
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
|
||||||
|
# desktop file
|
||||||
|
install_data('gtk3-widget-factory.desktop', install_dir: gtk_applicationsdir)
|
@@ -211,15 +211,15 @@ activate_about (GSimpleAction *action,
|
|||||||
gtk_get_micro_version ());
|
gtk_get_micro_version ());
|
||||||
|
|
||||||
gtk_show_about_dialog (GTK_WINDOW (gtk_application_get_active_window (app)),
|
gtk_show_about_dialog (GTK_WINDOW (gtk_application_get_active_window (app)),
|
||||||
"program-name", "GTK+ Widget Factory",
|
"program-name", "GTK Widget Factory",
|
||||||
"version", version,
|
"version", version,
|
||||||
"copyright", "(C) 1997-2013 The GTK+ Team",
|
"copyright", "© 1997—2019 The GTK Team",
|
||||||
"license-type", GTK_LICENSE_LGPL_2_1,
|
"license-type", GTK_LICENSE_LGPL_2_1,
|
||||||
"website", "http://www.gtk.org",
|
"website", "http://www.gtk.org",
|
||||||
"comments", "Program to demonstrate GTK+ themes and widgets",
|
"comments", "Program to demonstrate GTK themes and widgets",
|
||||||
"authors", authors,
|
"authors", authors,
|
||||||
"logo-icon-name", "gtk3-widget-factory",
|
"logo-icon-name", "gtk3-widget-factory",
|
||||||
"title", "About GTK+ Widget Factory",
|
"title", "About GTK Widget Factory",
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
g_free (version);
|
g_free (version);
|
||||||
@@ -246,6 +246,14 @@ activate_quit (GSimpleAction *action,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
activate_inspector (GSimpleAction *action,
|
||||||
|
GVariant *parameter,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
gtk_window_set_interactive_debugging (TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
spin_value_changed (GtkAdjustment *adjustment, GtkWidget *label)
|
spin_value_changed (GtkAdjustment *adjustment, GtkWidget *label)
|
||||||
{
|
{
|
||||||
@@ -1696,7 +1704,7 @@ activate (GApplication *app)
|
|||||||
gtk_css_provider_load_from_resource (provider, "/org/gtk/WidgetFactory/widget-factory.css");
|
gtk_css_provider_load_from_resource (provider, "/org/gtk/WidgetFactory/widget-factory.css");
|
||||||
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
|
gtk_style_context_add_provider_for_screen (gdk_screen_get_default (),
|
||||||
GTK_STYLE_PROVIDER (provider),
|
GTK_STYLE_PROVIDER (provider),
|
||||||
GTK_STYLE_PROVIDER_PRIORITY_USER);
|
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||||
g_object_unref (provider);
|
g_object_unref (provider);
|
||||||
|
|
||||||
builder = gtk_builder_new_from_resource ("/org/gtk/WidgetFactory/widget-factory.ui");
|
builder = gtk_builder_new_from_resource ("/org/gtk/WidgetFactory/widget-factory.ui");
|
||||||
@@ -1968,6 +1976,7 @@ main (int argc, char *argv[])
|
|||||||
static GActionEntry app_entries[] = {
|
static GActionEntry app_entries[] = {
|
||||||
{ "about", activate_about, NULL, NULL, NULL },
|
{ "about", activate_about, NULL, NULL, NULL },
|
||||||
{ "quit", activate_quit, NULL, NULL, NULL },
|
{ "quit", activate_quit, NULL, NULL, NULL },
|
||||||
|
{ "inspector", activate_inspector, NULL, NULL, NULL },
|
||||||
{ "main", NULL, "s", "'steak'", NULL },
|
{ "main", NULL, "s", "'steak'", NULL },
|
||||||
{ "wine", NULL, NULL, "false", NULL },
|
{ "wine", NULL, NULL, "false", NULL },
|
||||||
{ "beer", NULL, NULL, "false", NULL },
|
{ "beer", NULL, NULL, "false", NULL },
|
||||||
|
@@ -17,6 +17,10 @@
|
|||||||
</item>
|
</item>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">_Inspector</attribute>
|
||||||
|
<attribute name="action">app.inspector</attribute>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
|
||||||
<attribute name="action">win.show-help-overlay</attribute>
|
<attribute name="action">win.show-help-overlay</attribute>
|
||||||
|
@@ -5,4 +5,7 @@ SUBDIRS = gdk gtk libgail-util
|
|||||||
|
|
||||||
GITIGNOREFILES = */*.1
|
GITIGNOREFILES = */*.1
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@@ -198,7 +198,9 @@ endif
|
|||||||
include $(top_srcdir)/gtk-doc.make
|
include $(top_srcdir)/gtk-doc.make
|
||||||
|
|
||||||
# Other files to distribute
|
# Other files to distribute
|
||||||
EXTRA_DIST += version.xml.in
|
EXTRA_DIST += \
|
||||||
|
version.xml.in \
|
||||||
|
meson.build
|
||||||
|
|
||||||
if ENABLE_GTK_DOC
|
if ENABLE_GTK_DOC
|
||||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
|
|
||||||
# GdkAtom is an opaque typedef
|
# GdkAtom is an opaque typedef
|
||||||
<STRUCT>
|
<TYPEDEF>
|
||||||
<NAME>GdkAtom</NAME>
|
<NAME>GdkAtom</NAME>
|
||||||
</STRUCT>
|
typedef struct _GdkAtom *GdkAtom;
|
||||||
|
</TYPEDEF>
|
||||||
|
|
||||||
<MACRO>
|
<MACRO>
|
||||||
<NAME>GDK_WINDOWING_X11</NAME>
|
<NAME>GDK_WINDOWING_X11</NAME>
|
||||||
|
180
docs/reference/gdk/meson.build
Normal file
180
docs/reference/gdk/meson.build
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
private_headers = [
|
||||||
|
'gdkintl.h',
|
||||||
|
'gdkmarshalers.h',
|
||||||
|
'gdkkeysyms.h',
|
||||||
|
'gdkinternals.h',
|
||||||
|
'gdkprivate.h',
|
||||||
|
'gdk-private.h',
|
||||||
|
'gdkapplaunchcontextprivate.h',
|
||||||
|
'gdkcursorprivate.h',
|
||||||
|
'gdkdevicemanagerprivate.h',
|
||||||
|
'gdkdeviceprivate.h',
|
||||||
|
'gdkdisplaymanagerprivate.h',
|
||||||
|
'gdkdisplayprivate.h',
|
||||||
|
'gdkdndprivate.h',
|
||||||
|
'gdkframeclockprivate.h',
|
||||||
|
'gdkglcontextprivate.h',
|
||||||
|
'gdkkeysprivate.h',
|
||||||
|
'gdkscreenprivate.h',
|
||||||
|
'gdkseatdefaultprivate.h',
|
||||||
|
'gdkseatprivate.h',
|
||||||
|
'gdkvisualprivate.h',
|
||||||
|
'keyname-table.h',
|
||||||
|
'win32',
|
||||||
|
'x11',
|
||||||
|
'quartz',
|
||||||
|
'broadway',
|
||||||
|
'wayland',
|
||||||
|
]
|
||||||
|
|
||||||
|
images = [
|
||||||
|
'images/rotated-text.png',
|
||||||
|
'images/X_cursor.png',
|
||||||
|
'images/arrow.png',
|
||||||
|
'images/based_arrow_down.png',
|
||||||
|
'images/based_arrow_up.png',
|
||||||
|
'images/boat.png',
|
||||||
|
'images/bogosity.png',
|
||||||
|
'images/bottom_left_corner.png',
|
||||||
|
'images/bottom_right_corner.png',
|
||||||
|
'images/bottom_side.png',
|
||||||
|
'images/bottom_tee.png',
|
||||||
|
'images/box_spiral.png',
|
||||||
|
'images/center_ptr.png',
|
||||||
|
'images/circle.png',
|
||||||
|
'images/clock.png',
|
||||||
|
'images/coffee_mug.png',
|
||||||
|
'images/cross.png',
|
||||||
|
'images/cross_reverse.png',
|
||||||
|
'images/crosshair.png',
|
||||||
|
'images/diamond_cross.png',
|
||||||
|
'images/dot.png',
|
||||||
|
'images/dotbox.png',
|
||||||
|
'images/double_arrow.png',
|
||||||
|
'images/draft_large.png',
|
||||||
|
'images/draft_small.png',
|
||||||
|
'images/draped_box.png',
|
||||||
|
'images/exchange.png',
|
||||||
|
'images/fleur.png',
|
||||||
|
'images/gobbler.png',
|
||||||
|
'images/gumby.png',
|
||||||
|
'images/hand1.png',
|
||||||
|
'images/hand2.png',
|
||||||
|
'images/heart.png',
|
||||||
|
'images/icon.png',
|
||||||
|
'images/iron_cross.png',
|
||||||
|
'images/left_ptr.png',
|
||||||
|
'images/left_side.png',
|
||||||
|
'images/left_tee.png',
|
||||||
|
'images/leftbutton.png',
|
||||||
|
'images/ll_angle.png',
|
||||||
|
'images/lr_angle.png',
|
||||||
|
'images/man.png',
|
||||||
|
'images/middlebutton.png',
|
||||||
|
'images/mouse.png',
|
||||||
|
'images/pencil.png',
|
||||||
|
'images/pirate.png',
|
||||||
|
'images/plus.png',
|
||||||
|
'images/question_arrow.png',
|
||||||
|
'images/right_ptr.png',
|
||||||
|
'images/right_side.png',
|
||||||
|
'images/right_tee.png',
|
||||||
|
'images/rightbutton.png',
|
||||||
|
'images/rtl_logo.png',
|
||||||
|
'images/sailboat.png',
|
||||||
|
'images/sb_down_arrow.png',
|
||||||
|
'images/sb_h_double_arrow.png',
|
||||||
|
'images/sb_left_arrow.png',
|
||||||
|
'images/sb_right_arrow.png',
|
||||||
|
'images/sb_up_arrow.png',
|
||||||
|
'images/sb_v_double_arrow.png',
|
||||||
|
'images/shuttle.png',
|
||||||
|
'images/sizing.png',
|
||||||
|
'images/spider.png',
|
||||||
|
'images/spraycan.png',
|
||||||
|
'images/star.png',
|
||||||
|
'images/target.png',
|
||||||
|
'images/tcross.png',
|
||||||
|
'images/top_left_arrow.png',
|
||||||
|
'images/top_left_corner.png',
|
||||||
|
'images/top_right_corner.png',
|
||||||
|
'images/top_side.png',
|
||||||
|
'images/top_tee.png',
|
||||||
|
'images/trek.png',
|
||||||
|
'images/ul_angle.png',
|
||||||
|
'images/umbrella.png',
|
||||||
|
'images/ur_angle.png',
|
||||||
|
'images/watch.png',
|
||||||
|
'images/xterm.png',
|
||||||
|
'images/alias_cursor.png',
|
||||||
|
'images/all_scroll_cursor.png',
|
||||||
|
'images/cell_cursor.png',
|
||||||
|
'images/col_resize_cursor.png',
|
||||||
|
'images/copy_cursor.png',
|
||||||
|
'images/crosshair_cursor.png',
|
||||||
|
'images/default_cursor.png',
|
||||||
|
'images/e_resize_cursor.png',
|
||||||
|
'images/ew_resize_cursor.png',
|
||||||
|
'images/grabbing_cursor.png',
|
||||||
|
'images/grab_cursor.png',
|
||||||
|
'images/hand_cursor.png',
|
||||||
|
'images/context_menu_cursor.png',
|
||||||
|
'images/help_cursor.png',
|
||||||
|
'images/move_cursor.png',
|
||||||
|
'images/ne_resize_cursor.png',
|
||||||
|
'images/nesw_resize_cursor.png',
|
||||||
|
'images/no_drop_cursor.png',
|
||||||
|
'images/not_allowed_cursor.png',
|
||||||
|
'images/n_resize_cursor.png',
|
||||||
|
'images/ns_resize_cursor.png',
|
||||||
|
'images/nw_resize_cursor.png',
|
||||||
|
'images/nwse_resize_cursor.png',
|
||||||
|
'images/pointer_cursor.png',
|
||||||
|
'images/progress_cursor.png',
|
||||||
|
'images/row_resize_cursor.png',
|
||||||
|
'images/se_resize_cursor.png',
|
||||||
|
'images/s_resize_cursor.png',
|
||||||
|
'images/sw_resize_cursor.png',
|
||||||
|
'images/text_cursor.png',
|
||||||
|
'images/vertical_text_cursor.png',
|
||||||
|
'images/wait_cursor.png',
|
||||||
|
'images/w_resize_cursor.png',
|
||||||
|
'images/X_cursor.png',
|
||||||
|
'images/zoom_in_cursor.png',
|
||||||
|
'images/zoom_out_cursor.png',
|
||||||
|
]
|
||||||
|
|
||||||
|
src_dir = [ gdkinc ]
|
||||||
|
|
||||||
|
if x11_enabled
|
||||||
|
src_dir += [ gdkx11_inc ]
|
||||||
|
endif
|
||||||
|
|
||||||
|
if wayland_enabled
|
||||||
|
src_dir += [ gdkwayland_inc ]
|
||||||
|
endif
|
||||||
|
|
||||||
|
if get_option('gtk_doc')
|
||||||
|
|
||||||
|
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
|
||||||
|
|
||||||
|
gnome.gtkdoc('gdk3',
|
||||||
|
mode: 'none',
|
||||||
|
main_xml: 'gdk-docs.sgml',
|
||||||
|
src_dir: src_dir,
|
||||||
|
dependencies: libgdk_dep,
|
||||||
|
gobject_typesfile: join_paths(meson.current_source_dir(), 'gdk3.types'),
|
||||||
|
scan_args: [
|
||||||
|
'--ignore-decorators=_GDK_EXTERN|G_GNUC_WARN_UNUSED_RESULT',
|
||||||
|
'--ignore-headers=' + ' '.join(private_headers),
|
||||||
|
],
|
||||||
|
fixxref_args: [
|
||||||
|
'--html-dir=@0@'.format(docpath),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
|
||||||
|
'--extra-dir=@0@'.format(cairo_docpath),
|
||||||
|
],
|
||||||
|
html_assets: images,
|
||||||
|
install: true)
|
||||||
|
endif
|
@@ -287,7 +287,7 @@ content_files = \
|
|||||||
css-overview.xml \
|
css-overview.xml \
|
||||||
css-properties.xml \
|
css-properties.xml \
|
||||||
drawing-model.xml \
|
drawing-model.xml \
|
||||||
getting_started.xml \
|
$(builddir)/getting_started.xml \
|
||||||
glossary.xml \
|
glossary.xml \
|
||||||
gtk3-demo-application.xml \
|
gtk3-demo-application.xml \
|
||||||
gtk3-demo.xml \
|
gtk3-demo.xml \
|
||||||
@@ -307,7 +307,6 @@ content_files = \
|
|||||||
migrating-GtkStyleContext.xml \
|
migrating-GtkStyleContext.xml \
|
||||||
migrating-smclient-GtkApplication.xml \
|
migrating-smclient-GtkApplication.xml \
|
||||||
migrating-unique-GtkApplication.xml \
|
migrating-unique-GtkApplication.xml \
|
||||||
mir.xml \
|
|
||||||
osx.sgml \
|
osx.sgml \
|
||||||
overview.xml \
|
overview.xml \
|
||||||
question_index.sgml \
|
question_index.sgml \
|
||||||
@@ -324,7 +323,7 @@ content_files = \
|
|||||||
expand_content_files = \
|
expand_content_files = \
|
||||||
compiling.sgml \
|
compiling.sgml \
|
||||||
drawing-model.xml \
|
drawing-model.xml \
|
||||||
getting_started.xml \
|
$(builddir)/getting_started.xml \
|
||||||
glossary.xml \
|
glossary.xml \
|
||||||
input-handling.xml \
|
input-handling.xml \
|
||||||
migrating-2to3.xml \
|
migrating-2to3.xml \
|
||||||
@@ -496,7 +495,7 @@ endif
|
|||||||
include $(top_srcdir)/gtk-doc.make
|
include $(top_srcdir)/gtk-doc.make
|
||||||
|
|
||||||
# Other files to distribute
|
# Other files to distribute
|
||||||
EXTRA_DIST += version.xml.in gtk3.types.in
|
EXTRA_DIST += version.xml.in gtk3.types.in getting_started.xml.in
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
@@ -543,7 +542,9 @@ endif
|
|||||||
|
|
||||||
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
||||||
|
|
||||||
EXTRA_DIST += $(man_MANS)
|
EXTRA_DIST += \
|
||||||
|
$(man_MANS) \
|
||||||
|
meson.build
|
||||||
|
|
||||||
if ENABLE_GTK_DOC
|
if ENABLE_GTK_DOC
|
||||||
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
TESTS_ENVIRONMENT = cd $(srcdir) && \
|
||||||
|
@@ -407,11 +407,6 @@ How to compile GTK+ itself
|
|||||||
<arg choice="plain">--disable-wayland-backend</arg>
|
<arg choice="plain">--disable-wayland-backend</arg>
|
||||||
</group>
|
</group>
|
||||||
<sbr/>
|
<sbr/>
|
||||||
<group>
|
|
||||||
<arg choice="plain">--enable-mir-backend</arg>
|
|
||||||
<arg choice="plain">--disable-mir-backend</arg>
|
|
||||||
</group>
|
|
||||||
<sbr/>
|
|
||||||
<group>
|
<group>
|
||||||
<arg choice="plain">--enable-introspection=[no/auto/yes]</arg>
|
<arg choice="plain">--enable-introspection=[no/auto/yes]</arg>
|
||||||
</group>
|
</group>
|
||||||
@@ -609,9 +604,7 @@ How to compile GTK+ itself
|
|||||||
<systemitem>--enable-broadway-backend</systemitem>,
|
<systemitem>--enable-broadway-backend</systemitem>,
|
||||||
<systemitem>--disable-broadway-backend</systemitem>,
|
<systemitem>--disable-broadway-backend</systemitem>,
|
||||||
<systemitem>--enable-wayland-backend</systemitem>,
|
<systemitem>--enable-wayland-backend</systemitem>,
|
||||||
<systemitem>--disable-wayland-backend</systemitem>
|
<systemitem>--disable-wayland-backend</systemitem></title>
|
||||||
<systemitem>--enable-mir-backend</systemitem>, and
|
|
||||||
<systemitem>--disable-mir-backend</systemitem></title>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Enables specific backends for GDK. If none of these options
|
Enables specific backends for GDK. If none of these options
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<para>Create a new file with the following content named <filename>example-0.c.</filename></para>
|
<para>Create a new file with the following content named <filename>example-0.c.</filename></para>
|
||||||
<programlisting><xi:include href="../../../../examples/window-default.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/window-default.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@@ -153,7 +153,7 @@
|
|||||||
<example id="gtk-getting-started-hello-world">
|
<example id="gtk-getting-started-hello-world">
|
||||||
<title>Hello World in GTK+</title>
|
<title>Hello World in GTK+</title>
|
||||||
<para>Create a new file with the following content named example-1.c.</para>
|
<para>Create a new file with the following content named example-1.c.</para>
|
||||||
<programlisting><xi:include href="../../../../examples/hello-world.c" parse="text">
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/hello-world.c" parse="text">
|
||||||
<xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
<example id="gtk-getting-started-grid-packing">
|
<example id="gtk-getting-started-grid-packing">
|
||||||
<title>Packing buttons</title>
|
<title>Packing buttons</title>
|
||||||
<para>Create a new file with the following content named example-2.c.</para>
|
<para>Create a new file with the following content named example-2.c.</para>
|
||||||
<programlisting><xi:include href="../../../../examples/grid-packing.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/grid-packing.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
You can compile the program above with GCC using:
|
You can compile the program above with GCC using:
|
||||||
@@ -257,9 +257,9 @@
|
|||||||
<example>
|
<example>
|
||||||
<title>Packing buttons with GtkBuilder</title>
|
<title>Packing buttons with GtkBuilder</title>
|
||||||
<para>Create a new file with the following content named example-3.c.</para>
|
<para>Create a new file with the following content named example-3.c.</para>
|
||||||
<programlisting><xi:include href="../../../../examples/builder.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/builder.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
<para>Create a new file with the following content named builder.ui.</para>
|
<para>Create a new file with the following content named builder.ui.</para>
|
||||||
<programlisting><xi:include href="../../../../examples/builder.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/builder.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
You can compile the program above with GCC using:
|
You can compile the program above with GCC using:
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
of our application class.</para>
|
of our application class.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application1/main.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application1/main.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>All the application logic is in the application class, which
|
<para>All the application logic is in the application class, which
|
||||||
@@ -364,7 +364,7 @@
|
|||||||
GIO <ulink url="https://developer.gnome.org/gio/2.36/GApplication.html#GApplication.description">documentation</ulink>.</para>
|
GIO <ulink url="https://developer.gnome.org/gio/2.36/GApplication.html#GApplication.description">documentation</ulink>.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application1/exampleapp.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application1/exampleapp.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Another important class that is part of the application support
|
<para>Another important class that is part of the application support
|
||||||
@@ -373,7 +373,7 @@
|
|||||||
window.</para>
|
window.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application1/exampleappwin.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application1/exampleappwin.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>As part of the initial setup of our application, we also
|
<para>As part of the initial setup of our application, we also
|
||||||
@@ -388,7 +388,7 @@
|
|||||||
</informalfigure>
|
</informalfigure>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application1/exampleapp.desktop" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application1/exampleapp.desktop" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Note that <replaceable>@<!-- -->bindir@</replaceable> needs to be replaced
|
<para>Note that <replaceable>@<!-- -->bindir@</replaceable> needs to be replaced
|
||||||
@@ -420,7 +420,7 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application2/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application2/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>To make use of this file in our application, we revisit
|
<para>To make use of this file in our application, we revisit
|
||||||
@@ -460,7 +460,7 @@ example_app_window_class_init (ExampleAppWindowClass *class)
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application2/exampleapp.gresource.xml" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application2/exampleapp.gresource.xml" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>This file has to be converted into a C source file that will be
|
<para>This file has to be converted into a C source file that will be
|
||||||
@@ -598,7 +598,7 @@ example_app_window_open (ExampleAppWindow *win,
|
|||||||
in a ui file, and add it as a resource to our binary.</para>
|
in a ui file, and add it as a resource to our binary.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application4/app-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application4/app-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>To associate the app menu with the application, we have to call
|
<para>To associate the app menu with the application, we have to call
|
||||||
@@ -697,7 +697,7 @@ example_app_class_init (ExampleAppClass *class)
|
|||||||
GSettings requires a schema that describes our settings:</para>
|
GSettings requires a schema that describes our settings:</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application5/org.gtk.exampleapp.gschema.xml" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application5/org.gtk.exampleapp.gschema.xml" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Before we can make use of this schema in our application,
|
<para>Before we can make use of this schema in our application,
|
||||||
@@ -749,13 +749,13 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
<para>Lets start with the template.</para>
|
<para>Lets start with the template.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application6/prefs.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application6/prefs.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Next comes the dialog subclass.</para>
|
<para>Next comes the dialog subclass.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application6/exampleappprefs.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application6/exampleappprefs.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Now we revisit the <literal>preferences_activated(<!-- -->)</literal> function in our
|
<para>Now we revisit the <literal>preferences_activated(<!-- -->)</literal> function in our
|
||||||
@@ -807,7 +807,7 @@ preferences_activated (GSimpleAction *action,
|
|||||||
to slide out the search bar below the header bar.</para>
|
to slide out the search bar below the header bar.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application7/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application7/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>Implementing the search needs quite a few code changes that
|
<para>Implementing the search needs quite a few code changes that
|
||||||
@@ -887,7 +887,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
which demonstrates #GtkMenuButton, #GtkRevealer and #GtkListBox.</para>
|
which demonstrates #GtkMenuButton, #GtkRevealer and #GtkListBox.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application8/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application8/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>The code to populate the sidebar with buttons for the words
|
<para>The code to populate the sidebar with buttons for the words
|
||||||
@@ -898,7 +898,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
ui file.</para>
|
ui file.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application8/gears-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application8/gears-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>To connect the menuitem to the show-words setting, we use
|
<para>To connect the menuitem to the show-words setting, we use
|
||||||
@@ -957,7 +957,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
triggers the show-lines action:</para>
|
triggers the show-lines action:</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application9/gears-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application9/gears-menu.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>To make this menu item do something, we create a property
|
<para>To make this menu item do something, we create a property
|
||||||
@@ -1017,7 +1017,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
be a direct child of the window, and set its type to be titlebar.</para>
|
be a direct child of the window, and set its type to be titlebar.</para>
|
||||||
|
|
||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting><xi:include href="../../../../examples/application10/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/application10/window.ui" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<para>A small extra bonus of using a header bar is that we get
|
<para>A small extra bonus of using a header bar is that we get
|
||||||
@@ -1073,7 +1073,7 @@ example_app_window_init (ExampleAppWindow *win)
|
|||||||
<example id="gtk-getting-started-drawing">
|
<example id="gtk-getting-started-drawing">
|
||||||
<title>Drawing in response to input</title>
|
<title>Drawing in response to input</title>
|
||||||
<para>Create a new file with the following content named example-4.c.</para>
|
<para>Create a new file with the following content named example-4.c.</para>
|
||||||
<programlisting><xi:include href="../../../../examples/drawing.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
<programlisting><xi:include href="@abs_top_srcdir@/examples/drawing.c" parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
You can compile the program above with GCC using:
|
You can compile the program above with GCC using:
|
@@ -437,7 +437,6 @@
|
|||||||
<xi:include href="osx.sgml" />
|
<xi:include href="osx.sgml" />
|
||||||
<xi:include href="broadway.xml" />
|
<xi:include href="broadway.xml" />
|
||||||
<xi:include href="wayland.xml" />
|
<xi:include href="wayland.xml" />
|
||||||
<xi:include href="mir.xml" />
|
|
||||||
</part>
|
</part>
|
||||||
|
|
||||||
<xi:include href="glossary.xml" />
|
<xi:include href="glossary.xml" />
|
||||||
|
@@ -1402,6 +1402,10 @@ gtk_file_chooser_get_preview_filename
|
|||||||
gtk_file_chooser_get_preview_uri
|
gtk_file_chooser_get_preview_uri
|
||||||
gtk_file_chooser_set_extra_widget
|
gtk_file_chooser_set_extra_widget
|
||||||
gtk_file_chooser_get_extra_widget
|
gtk_file_chooser_get_extra_widget
|
||||||
|
gtk_file_chooser_add_choice
|
||||||
|
gtk_file_chooser_remove_choice
|
||||||
|
gtk_file_chooser_set_choice
|
||||||
|
gtk_file_chooser_get_choice
|
||||||
gtk_file_chooser_add_filter
|
gtk_file_chooser_add_filter
|
||||||
gtk_file_chooser_remove_filter
|
gtk_file_chooser_remove_filter
|
||||||
gtk_file_chooser_list_filters
|
gtk_file_chooser_list_filters
|
||||||
|
534
docs/reference/gtk/meson.build
Normal file
534
docs/reference/gtk/meson.build
Normal file
@@ -0,0 +1,534 @@
|
|||||||
|
private_headers = [
|
||||||
|
'inspector',
|
||||||
|
'a11y',
|
||||||
|
'gtkaccelgroupprivate.h',
|
||||||
|
'gtkaccelmapprivate.h',
|
||||||
|
'gtkadjustmentprivate.h',
|
||||||
|
'gtkallocatedbitmaskprivate.h',
|
||||||
|
'gtkappchooserprivate.h',
|
||||||
|
'gtkapplicationaccelsprivate.h',
|
||||||
|
'gtkapplicationprivate.h',
|
||||||
|
'gtkbindingsprivate.h',
|
||||||
|
'gtkbitmaskprivate.h',
|
||||||
|
'gtkboxprivate.h',
|
||||||
|
'gtkbuilderprivate.h',
|
||||||
|
'gtkbuttonprivate.h',
|
||||||
|
'gtkcairoblurprivate.h',
|
||||||
|
'gtkcellareaboxcontextprivate.h',
|
||||||
|
'gtkclipboardprivate.h',
|
||||||
|
'gtkcolorchooserprivate.h',
|
||||||
|
'gtkcoloreditorprivate.h',
|
||||||
|
'gtkcolorplaneprivate.h',
|
||||||
|
'gtkcolorscaleprivate.h',
|
||||||
|
'gtkcolorswatchprivate.h',
|
||||||
|
'gtkcomboboxprivate.h',
|
||||||
|
'gtkcontainerprivate.h',
|
||||||
|
'gtkcssanimatedstyleprivate.h',
|
||||||
|
'gtkcssanimationprivate.h',
|
||||||
|
'gtkcssarrayvalueprivate.h',
|
||||||
|
'gtkcssbgsizevalueprivate.h',
|
||||||
|
'gtkcssbordervalueprivate.h',
|
||||||
|
'gtkcsscolorvalueprivate.h',
|
||||||
|
'gtkcsscornervalueprivate.h',
|
||||||
|
'gtkcsscustompropertyprivate.h',
|
||||||
|
'gtkcsseasevalueprivate.h',
|
||||||
|
'gtkcssenginevalueprivate.h',
|
||||||
|
'gtkcssenumvalueprivate.h',
|
||||||
|
'gtkcssiconthemevalueprivate.h',
|
||||||
|
'gtkcssimagebuiltinprivate.h',
|
||||||
|
'gtkcssimagecrossfadeprivate.h',
|
||||||
|
'gtkcssimagegradientprivate.h',
|
||||||
|
'gtkcssimageiconthemeprivate.h',
|
||||||
|
'gtkcssimagelinearprivate.h',
|
||||||
|
'gtkcssimageprivate.h',
|
||||||
|
'gtkcssimagescaledprivate.h',
|
||||||
|
'gtkcssimagesurfaceprivate.h',
|
||||||
|
'gtkcssimageurlprivate.h',
|
||||||
|
'gtkcssimagevalueprivate.h',
|
||||||
|
'gtkcssimagewin32private.h',
|
||||||
|
'gtkcssinheritvalueprivate.h',
|
||||||
|
'gtkcssinitialvalueprivate.h',
|
||||||
|
'gtkcsskeyframesprivate.h',
|
||||||
|
'gtkcsslookupprivate.h',
|
||||||
|
'gtkcssmatcherprivate.h',
|
||||||
|
'gtkcssnodeprivate.h',
|
||||||
|
'gtkcssnodedeclarationprivate.h',
|
||||||
|
'gtkcssnumbervalueprivate.h',
|
||||||
|
'gtkcsspathnodeprivate.h',
|
||||||
|
'gtkcssparserprivate.h',
|
||||||
|
'gtkcsspositionvalueprivate.h',
|
||||||
|
'gtkcssproviderprivate.h',
|
||||||
|
'gtkcssrepeatvalueprivate.h',
|
||||||
|
'gtkcssrgbavalueprivate.h',
|
||||||
|
'gtkcsssectionprivate.h',
|
||||||
|
'gtkcssselectorprivate.h',
|
||||||
|
'gtkcssshadowsvalueprivate.h',
|
||||||
|
'gtkcssshadowvalueprivate.h',
|
||||||
|
'gtkcssshorthandpropertyprivate.h',
|
||||||
|
'gtkcssstaticstyleprivate.h',
|
||||||
|
'gtkcssstringvalueprivate.h',
|
||||||
|
'gtkcssstylefuncsprivate.h',
|
||||||
|
'gtkcssstyleprivate.h',
|
||||||
|
'gtkcssstylepropertyprivate.h',
|
||||||
|
'gtkcsstransformvalueprivate.h',
|
||||||
|
'gtkcsstransientnodeprivate.h',
|
||||||
|
'gtkcsstransitionprivate.h',
|
||||||
|
'gtkcsstypedvalueprivate.h',
|
||||||
|
'gtkcsstypesprivate.h',
|
||||||
|
'gtkcssunsetvalueprivate.h',
|
||||||
|
'gtkcssvalueprivate.h',
|
||||||
|
'gtkcsswidgetnodeprivate.h',
|
||||||
|
'gtkdialogprivate.h',
|
||||||
|
'gtkentryprivate.h',
|
||||||
|
'gtkeventcontrollerprivate.h',
|
||||||
|
'gtkfilechooserprivate.h',
|
||||||
|
'gtkfilechooserwidgetprivate.h',
|
||||||
|
'gtkfontchooserprivate.h',
|
||||||
|
'gtkgesturedragprivate.h',
|
||||||
|
'gtkgesturelongpressprivate.h',
|
||||||
|
'gtkgesturemultipressprivate.h',
|
||||||
|
'gtkgesturepanprivate.h',
|
||||||
|
'gtkgestureprivate.h',
|
||||||
|
'gtkgesturerotateprivate.h',
|
||||||
|
'gtkgesturesingleprivate.h',
|
||||||
|
'gtkgestureswipeprivate.h',
|
||||||
|
'gtkgesturezoomprivate.h',
|
||||||
|
'gtkheaderbarprivate.h',
|
||||||
|
'gtkhslaprivate.h',
|
||||||
|
'gtkiconhelperprivate.h',
|
||||||
|
'gtkiconviewprivate.h',
|
||||||
|
'gtkimageprivate.h',
|
||||||
|
'gtkimmoduleprivate.h',
|
||||||
|
'gtklabelprivate.h',
|
||||||
|
'gtklockbuttonprivate.h',
|
||||||
|
'gtkmagnifierprivate.h',
|
||||||
|
'gtkmenubuttonprivate.h',
|
||||||
|
'gtkmenuitemprivate.h',
|
||||||
|
'gtkmenuprivate.h',
|
||||||
|
'gtkmenushellprivate.h',
|
||||||
|
'gtkmodulesprivate.h',
|
||||||
|
'gtkmountoperationprivate.h',
|
||||||
|
'gtkorientableprivate.h',
|
||||||
|
'gtkpixelcacheprivate.h',
|
||||||
|
'gtkplacessidebarprivate.h',
|
||||||
|
'gtkplacesviewprivate.h',
|
||||||
|
'gtkplacesviewrowprivate.h',
|
||||||
|
'gtkpopoverprivate.h',
|
||||||
|
'gtkprinter-private.h',
|
||||||
|
'gtkprintoperation-private.h',
|
||||||
|
'gtkprivate.h',
|
||||||
|
'gtkrangeprivate.h',
|
||||||
|
'gtkrecentchooserprivate.h',
|
||||||
|
'gtkrenderbackgroundprivate.h',
|
||||||
|
'gtkrenderborderprivate.h',
|
||||||
|
'gtkrendericonprivate.h',
|
||||||
|
'gtkrenderprivate.h',
|
||||||
|
'gtkroundedboxprivate.h',
|
||||||
|
'gtkscaleprivate.h',
|
||||||
|
'gtksearchengine.h',
|
||||||
|
'gtksearchenginemodel.h',
|
||||||
|
'gtksearchenginequartz.h',
|
||||||
|
'gtksearchenginesimple.h',
|
||||||
|
'gtksearchenginetracker.h',
|
||||||
|
'gtksearchentryprivate.h',
|
||||||
|
'gtkselectionprivate.h',
|
||||||
|
'gtksettingsprivate.h',
|
||||||
|
'gtksidebarrowprivate.h',
|
||||||
|
'gtksizegroup-private.h',
|
||||||
|
'gtksizerequestcacheprivate.h',
|
||||||
|
'gtksocketprivate.h',
|
||||||
|
'gtkstyleanimationprivate.h',
|
||||||
|
'gtkstylecascadeprivate.h',
|
||||||
|
'gtkstylecontextprivate.h',
|
||||||
|
'gtkstylepropertyprivate.h',
|
||||||
|
'gtkstyleproviderprivate.h',
|
||||||
|
'gtktextattributesprivate.h',
|
||||||
|
'gtktextchildprivate.h',
|
||||||
|
'gtktexthandleprivate.h',
|
||||||
|
'gtktextiterprivate.h',
|
||||||
|
'gtktextmarkprivate.h',
|
||||||
|
'gtktexttagprivate.h',
|
||||||
|
'gtktogglebuttonprivate.h',
|
||||||
|
'gtktoolbarprivate.h',
|
||||||
|
'gtktoolpaletteprivate.h',
|
||||||
|
'gtktooltipprivate.h',
|
||||||
|
'gtktooltipwindowprivate.h',
|
||||||
|
'gtktreeprivate.h',
|
||||||
|
'gtkwidgetprivate.h',
|
||||||
|
'gtkwin32themeprivate.h',
|
||||||
|
'gtkwindowprivate.h',
|
||||||
|
'fnmatch.h',
|
||||||
|
'gtkactionmuxer.h',
|
||||||
|
'gtkactionobserver.h',
|
||||||
|
'gtkactionobservable.h',
|
||||||
|
'gtk9slice.h',
|
||||||
|
'gtkanimationdescription.h',
|
||||||
|
'gtkbitmaskprivateimpl.h',
|
||||||
|
'gtkbookmarksmanager.h',
|
||||||
|
'gtkdbusgenerated.c',
|
||||||
|
'gtkdbusgenerated.h',
|
||||||
|
'gtkdebug.h',
|
||||||
|
'gtkactionhelper.h',
|
||||||
|
'gtkdndcursors.h',
|
||||||
|
'gtkfilechooserdefault.h',
|
||||||
|
'gtkfilechooserembed.h',
|
||||||
|
'gtkfilechooserentry.h',
|
||||||
|
'gtkfilechoosersettings.h',
|
||||||
|
'gtkfilechooserutils.h',
|
||||||
|
'gtkfilesystem.h',
|
||||||
|
'gtkfilesystemmodel.h',
|
||||||
|
'gtkfilesystemunix.h',
|
||||||
|
'gtkfilesystemwin32.h',
|
||||||
|
'gtkfontchooserutils.h',
|
||||||
|
'gtkiconcache.h',
|
||||||
|
'gtkiconcachevalidator.h',
|
||||||
|
'gtkiconthemeparser.h',
|
||||||
|
'gtkintl.h',
|
||||||
|
'gtkkeyhash.h',
|
||||||
|
'gtkkineticscrolling.h',
|
||||||
|
'gtkmarshal.h',
|
||||||
|
'gtkmnemonichash.h',
|
||||||
|
'gtkmenutracker.h',
|
||||||
|
'gtkmenutrackeritem.h',
|
||||||
|
'gtkmenusectionbox.h',
|
||||||
|
'gtkmodelmenu.h',
|
||||||
|
'gtkmodelmenuitem.h',
|
||||||
|
'gtkmodifierstyle.h',
|
||||||
|
'gtkpathbar.h',
|
||||||
|
'gtkprintbackend.h',
|
||||||
|
'gtkprinteroption.h',
|
||||||
|
'gtkprinteroptionset.h',
|
||||||
|
'gtkprinteroptionwidget.h',
|
||||||
|
'gtkprint-win32.h',
|
||||||
|
'gtkprintutils.h',
|
||||||
|
'gtkprivate.h',
|
||||||
|
'gtkprivatetypebuiltins.h',
|
||||||
|
'gtkquery.h',
|
||||||
|
'gtkrbtree.h',
|
||||||
|
'gtkrecentchooserdefault.h',
|
||||||
|
'gtkrecentchooserutils.h',
|
||||||
|
'gtksearchengine.h',
|
||||||
|
'gtksearchenginetracker.h',
|
||||||
|
'gtksearchenginesimple.h',
|
||||||
|
'gtksearchenginequartz.h',
|
||||||
|
'gtksequence.h',
|
||||||
|
'gtksocketprivate.h',
|
||||||
|
'gtktextbtree.h',
|
||||||
|
'gtktextbufferserialize.h',
|
||||||
|
'gtktextdisplay.h',
|
||||||
|
'gtktextlayout.h',
|
||||||
|
'gtktextsegment.h',
|
||||||
|
'gtktexttypes.h',
|
||||||
|
'gtktextutil.h',
|
||||||
|
'gtktimeline.h',
|
||||||
|
'gtkthemes.h',
|
||||||
|
'gtktrashmonitor.h',
|
||||||
|
'gtktrayicon.h',
|
||||||
|
'gtktreedatalist.h',
|
||||||
|
'gtktreemenu.h',
|
||||||
|
'gtktypebuiltins.h',
|
||||||
|
'gtkxembed.h',
|
||||||
|
'gtkwin32embed.h',
|
||||||
|
'gtkwin32embedwidget.h',
|
||||||
|
'gtkwindow-decorate.h',
|
||||||
|
'xdgmime',
|
||||||
|
'xembed.h',
|
||||||
|
]
|
||||||
|
|
||||||
|
images = [
|
||||||
|
'images/aboutdialog.png',
|
||||||
|
'images/accel-label.png',
|
||||||
|
'images/action-bar.png',
|
||||||
|
'images/appchooserbutton.png',
|
||||||
|
'images/appchooserdialog.png',
|
||||||
|
'images/assistant.png',
|
||||||
|
'images/box-packing.png',
|
||||||
|
'images/box-expand.png',
|
||||||
|
'images/button.png',
|
||||||
|
'images/check-button.png',
|
||||||
|
'images/color-button.png',
|
||||||
|
'images/colorchooser.png',
|
||||||
|
'images/combo-box.png',
|
||||||
|
'images/combo-box-entry.png',
|
||||||
|
'images/combo-box-text.png',
|
||||||
|
'images/entry.png',
|
||||||
|
'images/figure-hierarchical-drawing.png',
|
||||||
|
'images/figure-windowed-label.png',
|
||||||
|
'images/file-button.png',
|
||||||
|
'images/filechooser.png',
|
||||||
|
'images/font-button.png',
|
||||||
|
'images/fontchooser.png',
|
||||||
|
'images/frame.png',
|
||||||
|
'images/glarea.png',
|
||||||
|
'images/headerbar.png',
|
||||||
|
'images/icon-view.png',
|
||||||
|
'images/image.png',
|
||||||
|
'images/info-bar.png',
|
||||||
|
'images/label.png',
|
||||||
|
'images/levelbar.png',
|
||||||
|
'images/link-button.png',
|
||||||
|
'images/list-and-tree.png',
|
||||||
|
'images/lock-button.png',
|
||||||
|
'images/lockbutton.png',
|
||||||
|
'images/lockbutton-locked.png',
|
||||||
|
'images/lockbutton-unlocked.png',
|
||||||
|
'images/lockbutton-sorry.png',
|
||||||
|
'images/menubar.png',
|
||||||
|
'images/menu-button.png',
|
||||||
|
'images/messagedialog.png',
|
||||||
|
'images/multiline-text.png',
|
||||||
|
'images/notebook.png',
|
||||||
|
'images/panes.png',
|
||||||
|
'images/pagesetupdialog.png',
|
||||||
|
'images/placessidebar.png',
|
||||||
|
'images/popup-anchors.png',
|
||||||
|
'images/popup-flip.png',
|
||||||
|
'images/popup-slide.png',
|
||||||
|
'images/printdialog.png',
|
||||||
|
'images/progressbar.png',
|
||||||
|
'images/radio-group.png',
|
||||||
|
'images/recentchooserdialog.png',
|
||||||
|
'images/scales.png',
|
||||||
|
'images/scrollbar.png',
|
||||||
|
'images/scrolledwindow.png',
|
||||||
|
'images/search-bar.png',
|
||||||
|
'images/search-entry.png',
|
||||||
|
'images/separator.png',
|
||||||
|
'images/sidebar.png',
|
||||||
|
'images/spinbutton.png',
|
||||||
|
'images/spinner.png',
|
||||||
|
'images/stack.png',
|
||||||
|
'images/stackswitcher.png',
|
||||||
|
'images/statusbar.png',
|
||||||
|
'images/toggle-button.png',
|
||||||
|
'images/toolbar.png',
|
||||||
|
'images/toolpalette.png',
|
||||||
|
'images/tree-view-coordinates.png',
|
||||||
|
'images/volumebutton.png',
|
||||||
|
'images/window.png',
|
||||||
|
'images/layout-btlr.png',
|
||||||
|
'images/layout-btrl.png',
|
||||||
|
'images/layout-lrbt.png',
|
||||||
|
'images/layout-lrtb.png',
|
||||||
|
'images/layout-rlbt.png',
|
||||||
|
'images/layout-rltb.png',
|
||||||
|
'images/layout-tblr.png',
|
||||||
|
'images/layout-tbrl.png',
|
||||||
|
'images/widget-hvalign.png',
|
||||||
|
'images/window-default.png',
|
||||||
|
'images/hello-world.png',
|
||||||
|
'images/grid-packing.png',
|
||||||
|
'images/drawing.png',
|
||||||
|
'images/switch.png',
|
||||||
|
'images/linear.png',
|
||||||
|
'images/ease.png',
|
||||||
|
'images/ease-in-out.png',
|
||||||
|
'images/ease-in.png',
|
||||||
|
'images/ease-out.png',
|
||||||
|
'images/gradient1.png',
|
||||||
|
'images/gradient2.png',
|
||||||
|
'images/gradient3.png',
|
||||||
|
'images/gradient4.png',
|
||||||
|
'images/border1.png',
|
||||||
|
'images/border2.png',
|
||||||
|
'images/border3.png',
|
||||||
|
'images/slices.png',
|
||||||
|
'images/checks.png',
|
||||||
|
'images/options.png',
|
||||||
|
'images/arrows.png',
|
||||||
|
'images/expanders.png',
|
||||||
|
'images/background.png',
|
||||||
|
'images/frames.png',
|
||||||
|
'images/frame-gap.png',
|
||||||
|
'images/sliders.png',
|
||||||
|
'images/focus.png',
|
||||||
|
'images/handles.png',
|
||||||
|
'images/extensions.png',
|
||||||
|
'images/numerableicon.png',
|
||||||
|
'images/numerableicon2.png',
|
||||||
|
'images/bloatpad-osx.png',
|
||||||
|
'images/bloatpad-gnome.png',
|
||||||
|
'images/bloatpad-xfce.png',
|
||||||
|
'images/down-center.png',
|
||||||
|
'images/down-end.png',
|
||||||
|
'images/down-start.png',
|
||||||
|
'images/left-center.png',
|
||||||
|
'images/left-end.png',
|
||||||
|
'images/left-start.png',
|
||||||
|
'images/right-center.png',
|
||||||
|
'images/right-end.png',
|
||||||
|
'images/right-start.png',
|
||||||
|
'images/up-center.png',
|
||||||
|
'images/up-end.png',
|
||||||
|
'images/up-start.png',
|
||||||
|
'images/list-box.png',
|
||||||
|
'images/getting-started-app1.png',
|
||||||
|
'images/getting-started-app2.png',
|
||||||
|
'images/getting-started-app3.png',
|
||||||
|
'images/getting-started-app4.png',
|
||||||
|
'images/getting-started-app6.png',
|
||||||
|
'images/getting-started-app7.png',
|
||||||
|
'images/getting-started-app8.png',
|
||||||
|
'images/getting-started-app9.png',
|
||||||
|
'images/getting-started-app10.png',
|
||||||
|
'images/exampleapp.png',
|
||||||
|
'images/flow-box.png',
|
||||||
|
'images/inspector.png',
|
||||||
|
'images/gedit-shortcuts.png',
|
||||||
|
'images/clocks-shortcuts.png',
|
||||||
|
'images/builder-shortcuts.png',
|
||||||
|
]
|
||||||
|
|
||||||
|
content_files = [
|
||||||
|
'broadway.xml',
|
||||||
|
'broadwayd.xml',
|
||||||
|
'building.sgml',
|
||||||
|
'css-overview.xml',
|
||||||
|
'css-properties.xml',
|
||||||
|
'gtk3-demo-application.xml',
|
||||||
|
'gtk3-demo.xml',
|
||||||
|
'gtk3-icon-browser.xml',
|
||||||
|
'gtk3-widget-factory.xml',
|
||||||
|
'gtk-builder-tool.xml',
|
||||||
|
'gtk-encode-symbolic-svg.xml',
|
||||||
|
'gtk-launch.xml',
|
||||||
|
'gtk-query-immodules-3.0.xml',
|
||||||
|
'gtk-query-settings.xml',
|
||||||
|
'gtk-update-icon-cache.xml',
|
||||||
|
'osx.sgml',
|
||||||
|
'overview.xml',
|
||||||
|
'resources.sgml',
|
||||||
|
'running.sgml',
|
||||||
|
'visual_index.xml',
|
||||||
|
'wayland.xml',
|
||||||
|
'windows.sgml',
|
||||||
|
'x11.sgml',
|
||||||
|
]
|
||||||
|
|
||||||
|
expand_content_files = [
|
||||||
|
'compiling.sgml',
|
||||||
|
'drawing-model.xml',
|
||||||
|
join_paths(meson.current_build_dir(), 'getting_started.xml'),
|
||||||
|
'glossary.xml',
|
||||||
|
'input-handling.xml',
|
||||||
|
'migrating-2to3.xml',
|
||||||
|
'migrating-3xtoy.xml',
|
||||||
|
'migrating-checklist.sgml',
|
||||||
|
'migrating-GtkGrid.xml',
|
||||||
|
'migrating-GtkStyleContext.xml',
|
||||||
|
'migrating-smclient-GtkApplication.xml',
|
||||||
|
'migrating-unique-GtkApplication.xml',
|
||||||
|
'question_index.sgml',
|
||||||
|
'text_widget.sgml',
|
||||||
|
'tree_widget.sgml',
|
||||||
|
]
|
||||||
|
|
||||||
|
content_files += expand_content_files
|
||||||
|
|
||||||
|
types_conf = configuration_data()
|
||||||
|
if os_win32
|
||||||
|
types_conf.set('DISABLE_ON_W32', '%')
|
||||||
|
else
|
||||||
|
types_conf.set('DISABLE_ON_W32', '')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if os_darwin
|
||||||
|
types_conf.set('DISABLE_ON_QUARTZ', '%')
|
||||||
|
else
|
||||||
|
types_conf.set('DISABLE_ON_QUARTZ', '')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if x11_enabled
|
||||||
|
types_conf.set('ENABLE_ON_X11', '')
|
||||||
|
else
|
||||||
|
types_conf.set('ENABLE_ON_X11', '%')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if get_option('gtk_doc')
|
||||||
|
|
||||||
|
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
|
||||||
|
configure_file(input: 'getting_started.xml.in', output: 'getting_started.xml', configuration: src_dir_conf)
|
||||||
|
|
||||||
|
gnome.gtkdoc('gtk3',
|
||||||
|
mode: 'none',
|
||||||
|
main_xml: 'gtk-docs.sgml',
|
||||||
|
src_dir: [
|
||||||
|
gtkinc,
|
||||||
|
],
|
||||||
|
dependencies: libgtk_dep,
|
||||||
|
gobject_typesfile: configure_file(
|
||||||
|
input: 'gtk3.types.in',
|
||||||
|
output: 'gtk3.types',
|
||||||
|
configuration: types_conf,
|
||||||
|
),
|
||||||
|
scan_args: [
|
||||||
|
'--ignore-decorators=_GDK_EXTERN|G_GNUC_WARN_UNUSED_RESULT',
|
||||||
|
'--ignore-headers=' + ' '.join(private_headers),
|
||||||
|
],
|
||||||
|
mkdb_args: [
|
||||||
|
'--default-includes=gtk/gtk.h',
|
||||||
|
],
|
||||||
|
fixxref_args: [
|
||||||
|
'--html-dir=@0@'.format(docpath),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
|
||||||
|
'--extra-dir=@0@'.format(cairo_docpath),
|
||||||
|
'--extra-dir=@0@'.format(gdkpixbuf_docpath),
|
||||||
|
'--extra-dir=../gdk',
|
||||||
|
],
|
||||||
|
content_files: content_files,
|
||||||
|
expand_content_files: expand_content_files,
|
||||||
|
html_assets: images,
|
||||||
|
install: true)
|
||||||
|
endif
|
||||||
|
|
||||||
|
xsltproc = find_program('xsltproc', required: false)
|
||||||
|
if get_option('man') and not xsltproc.found()
|
||||||
|
error('No xsltproc found, but man pages were explicitly enabled')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if get_option('man') and xsltproc.found()
|
||||||
|
xlstproc_flags = [
|
||||||
|
'--nonet',
|
||||||
|
'--stringparam', 'man.output.quietly', '1',
|
||||||
|
'--stringparam', 'funcsynopsis.style', 'ansi',
|
||||||
|
'--stringparam', 'man.th.extra1.suppress', '1',
|
||||||
|
'--stringparam', 'man.authors.section.enabled', '0',
|
||||||
|
'--stringparam', 'man.copyright.section.enabled', '0',
|
||||||
|
]
|
||||||
|
|
||||||
|
man_files = [
|
||||||
|
[ 'gtk-query-immodules-3.0', '1', ],
|
||||||
|
[ 'gtk-update-icon-cache', '1', ],
|
||||||
|
[ 'gtk-encode-symbolic-svg', '1', ],
|
||||||
|
[ 'gtk-launch', '1', ],
|
||||||
|
[ 'gtk3-demo', '1', ],
|
||||||
|
[ 'gtk3-demo-application', '1', ],
|
||||||
|
[ 'gtk3-widget-factory', '1', ],
|
||||||
|
[ 'gtk3-icon-browser', '1', ],
|
||||||
|
[ 'gtk-builder-tool', '1', ],
|
||||||
|
[ 'gtk-query-settings', '1', ],
|
||||||
|
]
|
||||||
|
|
||||||
|
if broadway_enabled
|
||||||
|
man_files += [[ 'broadwayd', '1', ]]
|
||||||
|
endif
|
||||||
|
|
||||||
|
foreach man: man_files
|
||||||
|
man_name = man.get(0)
|
||||||
|
man_section = man.get(1, '1')
|
||||||
|
custom_target('@0@.@1@'.format(man_name, man_section),
|
||||||
|
input: '@0@.xml'.format(man_name),
|
||||||
|
output: '@0@.@1@'.format(man_name, man_section),
|
||||||
|
command: [
|
||||||
|
xsltproc,
|
||||||
|
xlstproc_flags,
|
||||||
|
'-o', '@OUTPUT@',
|
||||||
|
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
|
||||||
|
'@INPUT@',
|
||||||
|
],
|
||||||
|
install: true,
|
||||||
|
install_dir: join_paths(get_option('mandir'), 'man@0@'.format(man_section)))
|
||||||
|
endforeach
|
||||||
|
endif
|
@@ -1,35 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
||||||
]>
|
|
||||||
<refentry id="gtk-mir">
|
|
||||||
<refmeta>
|
|
||||||
<refentrytitle>Using GTK+ with Mir</refentrytitle>
|
|
||||||
<manvolnum>3</manvolnum>
|
|
||||||
<refmiscinfo>GTK Library</refmiscinfo>
|
|
||||||
</refmeta>
|
|
||||||
|
|
||||||
<refnamediv>
|
|
||||||
<refname>Using GTK+ with Mir</refname>
|
|
||||||
<refpurpose>
|
|
||||||
Mir-specific aspects of using GTK+
|
|
||||||
</refpurpose>
|
|
||||||
</refnamediv>
|
|
||||||
|
|
||||||
<refsect1>
|
|
||||||
<title>Using GTK+ with Mir</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The GDK Mir backend provides support for running GTK+ applications
|
|
||||||
under Mir based display servers. To run your application in this way,
|
|
||||||
select the Mir backend by setting <literal>GDK_BACKEND=mir</literal>.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Currently, the Mir backend does not use any additional commandline
|
|
||||||
options or environment variables.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</refsect1>
|
|
||||||
|
|
||||||
</refentry>
|
|
@@ -508,11 +508,6 @@ nevertheless.
|
|||||||
<listitem><para>Selects the Wayland backend for connecting to Wayland display servers</para></listitem>
|
<listitem><para>Selects the Wayland backend for connecting to Wayland display servers</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term>mir</term>
|
|
||||||
<listitem><para>Selects the Mir backend for connecting to Mir display servers</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
Since 3.10, this environment variable can contain a comma-separated list
|
Since 3.10, this environment variable can contain a comma-separated list
|
||||||
of backend names, which are tried in order. The list may also contain
|
of backend names, which are tried in order. The list may also contain
|
||||||
|
@@ -34,6 +34,8 @@ HTML_IMAGES =
|
|||||||
include $(top_srcdir)/gtk-doc.make
|
include $(top_srcdir)/gtk-doc.make
|
||||||
|
|
||||||
# Other files to distribute
|
# Other files to distribute
|
||||||
EXTRA_DIST += version.xml.in
|
EXTRA_DIST += \
|
||||||
|
version.xml.in \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
21
docs/reference/libgail-util/meson.build
Normal file
21
docs/reference/libgail-util/meson.build
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
if get_option('gtk_doc')
|
||||||
|
configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
|
||||||
|
|
||||||
|
gnome.gtkdoc('gail-libgail-util3',
|
||||||
|
mode: 'none',
|
||||||
|
main_xml: 'gail-libgail-util-docs.sgml',
|
||||||
|
src_dir: libgailutilinc,
|
||||||
|
dependencies: [libgtk_dep, libgailutil],
|
||||||
|
gobject_typesfile: join_paths(meson.current_source_dir(), 'gail-libgail-util3.types'),
|
||||||
|
scan_args: [
|
||||||
|
'--ignore-decorators=_GDK_EXTERN|G_GNUC_WARN_UNUSED_RESULT',
|
||||||
|
],
|
||||||
|
fixxref_args: [
|
||||||
|
'--html-dir=@0@'.format(docpath),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
|
||||||
|
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
|
||||||
|
'--extra-dir=../gtk',
|
||||||
|
],
|
||||||
|
install: true)
|
||||||
|
endif
|
22
docs/reference/meson.build
Normal file
22
docs/reference/meson.build
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
if get_option('gtk_doc')
|
||||||
|
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
|
||||||
|
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
|
||||||
|
|
||||||
|
cairo_prefix = dependency('cairo-gobject').get_pkgconfig_variable('prefix')
|
||||||
|
cairo_docpath = join_paths(cairo_prefix, 'share', 'gtk-doc', 'html', 'cairo')
|
||||||
|
|
||||||
|
gdkpixbuf_prefix = dependency('gdk-pixbuf-2.0').get_pkgconfig_variable('prefix')
|
||||||
|
gdkpixbuf_docpath = join_paths(gdkpixbuf_prefix, 'share', 'gtk-doc', 'html', 'gdk-pixbuf')
|
||||||
|
|
||||||
|
docpath = join_paths(gtk_datadir, 'gtk-doc', 'html')
|
||||||
|
|
||||||
|
version_conf = configuration_data()
|
||||||
|
version_conf.set('GTK_VERSION', meson.project_version())
|
||||||
|
|
||||||
|
src_dir_conf = configuration_data()
|
||||||
|
src_dir_conf.set('abs_top_srcdir', meson.source_root())
|
||||||
|
endif
|
||||||
|
|
||||||
|
subdir('gdk')
|
||||||
|
subdir('gtk')
|
||||||
|
subdir('libgail-util')
|
@@ -20,6 +20,9 @@ LDADDS = \
|
|||||||
$(GDK_DEP_LIBS) \
|
$(GDK_DEP_LIBS) \
|
||||||
-lm
|
-lm
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
meson.build
|
||||||
|
|
||||||
if USE_X11
|
if USE_X11
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
doc-shooter
|
doc-shooter
|
||||||
|
12
docs/tools/meson.build
Normal file
12
docs/tools/meson.build
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
if x11_enabled
|
||||||
|
doc_shooter_sources = [
|
||||||
|
'shadow.c',
|
||||||
|
'shooter.c',
|
||||||
|
'widgets.c',
|
||||||
|
'../../tests/gtkgears.c',
|
||||||
|
]
|
||||||
|
|
||||||
|
doc_shooter = executable('doc-shooter', doc_shooter_sources,
|
||||||
|
include_directories: [ confinc, gdkinc, gtkinc, testinc, ],
|
||||||
|
dependencies: libgtk_dep)
|
||||||
|
endif
|
@@ -31,6 +31,8 @@ noinst_PROGRAMS = \
|
|||||||
search-bar \
|
search-bar \
|
||||||
listbox-dnd
|
listbox-dnd
|
||||||
|
|
||||||
EXTRA_DIST = builder.ui
|
EXTRA_DIST = \
|
||||||
|
builder.ui \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@@ -17,4 +17,7 @@ exampleapp_SOURCES = \
|
|||||||
exampleapp.c exampleapp.h \
|
exampleapp.c exampleapp.h \
|
||||||
exampleappwin.c exampleappwin.h
|
exampleappwin.c exampleappwin.h
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
11
examples/application1/meson.build
Normal file
11
examples/application1/meson.build
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
app1 = executable(
|
||||||
|
'exampleapp',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -41,7 +41,8 @@ EXTRA_DIST = \
|
|||||||
prefs.ui \
|
prefs.ui \
|
||||||
gears-menu.ui \
|
gears-menu.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
23
examples/application10/meson.build
Normal file
23
examples/application10/meson.build
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
app10_resources = gnome.compile_resources(
|
||||||
|
'exampleapp10 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app10_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app10 = executable(
|
||||||
|
'exampleapp10',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
'exampleappprefs.c',
|
||||||
|
'exampleappprefs.h',
|
||||||
|
app10_resources,
|
||||||
|
app10_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -26,6 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
|
|||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
window.ui \
|
window.ui \
|
||||||
exampleapp.gresource.xml
|
exampleapp.gresource.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
17
examples/application2/meson.build
Normal file
17
examples/application2/meson.build
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
app2_resources = gnome.compile_resources(
|
||||||
|
'exampleapp2 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app2 = executable(
|
||||||
|
'exampleapp2',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
app2_resources,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -26,6 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
|
|||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
window.ui \
|
window.ui \
|
||||||
exampleapp.gresource.xml
|
exampleapp.gresource.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
17
examples/application3/meson.build
Normal file
17
examples/application3/meson.build
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
app3_resources = gnome.compile_resources(
|
||||||
|
'exampleapp3 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app3 = executable(
|
||||||
|
'exampleapp3',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
app3_resources,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -27,6 +27,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
window.ui \
|
window.ui \
|
||||||
app-menu.ui \
|
app-menu.ui \
|
||||||
exampleapp.gresource.xml
|
exampleapp.gresource.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
17
examples/application4/meson.build
Normal file
17
examples/application4/meson.build
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
app4_resources = gnome.compile_resources(
|
||||||
|
'exampleapp4 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app4 = executable(
|
||||||
|
'exampleapp4',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
app4_resources,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -38,7 +38,8 @@ EXTRA_DIST = \
|
|||||||
window.ui \
|
window.ui \
|
||||||
app-menu.ui \
|
app-menu.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
21
examples/application5/meson.build
Normal file
21
examples/application5/meson.build
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
app5_resources = gnome.compile_resources(
|
||||||
|
'exampleapp5 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app5_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app5 = executable(
|
||||||
|
'exampleapp5',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
app5_resources,
|
||||||
|
app5_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -40,7 +40,8 @@ EXTRA_DIST = \
|
|||||||
app-menu.ui \
|
app-menu.ui \
|
||||||
prefs.ui \
|
prefs.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
23
examples/application6/meson.build
Normal file
23
examples/application6/meson.build
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
app6_resources = gnome.compile_resources(
|
||||||
|
'exampleapp6 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app6_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app6 = executable(
|
||||||
|
'exampleapp6',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
'exampleappprefs.c',
|
||||||
|
'exampleappprefs.h',
|
||||||
|
app6_resources,
|
||||||
|
app6_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -40,7 +40,8 @@ EXTRA_DIST = \
|
|||||||
app-menu.ui \
|
app-menu.ui \
|
||||||
prefs.ui \
|
prefs.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
23
examples/application7/meson.build
Normal file
23
examples/application7/meson.build
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
app7_resources = gnome.compile_resources(
|
||||||
|
'exampleapp7 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app7_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app7 = executable(
|
||||||
|
'exampleapp7',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
'exampleappprefs.c',
|
||||||
|
'exampleappprefs.h',
|
||||||
|
app7_resources,
|
||||||
|
app7_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -41,7 +41,8 @@ EXTRA_DIST = \
|
|||||||
prefs.ui \
|
prefs.ui \
|
||||||
gears-menu.ui \
|
gears-menu.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
23
examples/application8/meson.build
Normal file
23
examples/application8/meson.build
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
app8_resources = gnome.compile_resources(
|
||||||
|
'exampleapp8 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app8_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app8 = executable(
|
||||||
|
'exampleapp8',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
'exampleappprefs.c',
|
||||||
|
'exampleappprefs.h',
|
||||||
|
app8_resources,
|
||||||
|
app8_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -41,7 +41,8 @@ EXTRA_DIST = \
|
|||||||
prefs.ui \
|
prefs.ui \
|
||||||
gears-menu.ui \
|
gears-menu.ui \
|
||||||
exampleapp.gresource.xml \
|
exampleapp.gresource.xml \
|
||||||
org.gtk.exampleapp.gschema.xml
|
org.gtk.exampleapp.gschema.xml \
|
||||||
|
meson.build
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
gschemas.compiled
|
gschemas.compiled
|
||||||
|
23
examples/application9/meson.build
Normal file
23
examples/application9/meson.build
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
|
||||||
|
app9_resources = gnome.compile_resources(
|
||||||
|
'exampleapp9 resources',
|
||||||
|
'exampleapp.gresource.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
app9_schemas = gnome.compile_schemas()
|
||||||
|
|
||||||
|
|
||||||
|
app9 = executable(
|
||||||
|
'exampleapp9',
|
||||||
|
'main.c',
|
||||||
|
'exampleapp.c',
|
||||||
|
'exampleapp.h',
|
||||||
|
'exampleappwin.c',
|
||||||
|
'exampleappwin.h',
|
||||||
|
'exampleappprefs.c',
|
||||||
|
'exampleappprefs.h',
|
||||||
|
app9_resources,
|
||||||
|
app9_schemas,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -27,6 +27,8 @@ bloatpad-gresources.c: $(resource_files)
|
|||||||
|
|
||||||
CLEANFILES = bloatpad-gresources.c
|
CLEANFILES = bloatpad-gresources.c
|
||||||
|
|
||||||
EXTRA_DIST = $(resource_files)
|
EXTRA_DIST = \
|
||||||
|
$(resource_files) \
|
||||||
|
meson.build
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
@@ -537,6 +537,7 @@ bloat_pad_startup (GApplication *application)
|
|||||||
{ "win.justify::center", { "<Primary>m", NULL } },
|
{ "win.justify::center", { "<Primary>m", NULL } },
|
||||||
{ "win.justify::right", { "<Primary>r", NULL } }
|
{ "win.justify::right", { "<Primary>r", NULL } }
|
||||||
};
|
};
|
||||||
|
const gchar *new_accels[] = { "<Primary>n", "<Primary>t", NULL };
|
||||||
|
|
||||||
G_APPLICATION_CLASS (bloat_pad_parent_class)
|
G_APPLICATION_CLASS (bloat_pad_parent_class)
|
||||||
->startup (application);
|
->startup (application);
|
||||||
@@ -604,7 +605,6 @@ bloat_pad_startup (GApplication *application)
|
|||||||
g_object_unref (item);
|
g_object_unref (item);
|
||||||
g_object_unref (icon);
|
g_object_unref (icon);
|
||||||
|
|
||||||
const gchar *new_accels[] = { "<Primary>n", "<Primary>t", NULL };
|
|
||||||
gtk_application_set_accels_for_action (GTK_APPLICATION (application), "app.new", new_accels);
|
gtk_application_set_accels_for_action (GTK_APPLICATION (application), "app.new", new_accels);
|
||||||
|
|
||||||
dump_accels (GTK_APPLICATION (application));
|
dump_accels (GTK_APPLICATION (application));
|
||||||
|
13
examples/bp/meson.build
Normal file
13
examples/bp/meson.build
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
bp_resources = gnome.compile_resources(
|
||||||
|
'bloatpad resources',
|
||||||
|
'bloatpad.gresources.xml',
|
||||||
|
source_dir: '.'
|
||||||
|
)
|
||||||
|
|
||||||
|
bloatpad = executable(
|
||||||
|
'bloatpad',
|
||||||
|
'bloatpad.c',
|
||||||
|
bp_resources,
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
@@ -14,6 +14,7 @@ drag_begin (GtkWidget *widget,
|
|||||||
cairo_surface_t *surface;
|
cairo_surface_t *surface;
|
||||||
cairo_t *cr;
|
cairo_t *cr;
|
||||||
int x, y;
|
int x, y;
|
||||||
|
double sx, sy;
|
||||||
|
|
||||||
row = gtk_widget_get_ancestor (widget, GTK_TYPE_LIST_BOX_ROW);
|
row = gtk_widget_get_ancestor (widget, GTK_TYPE_LIST_BOX_ROW);
|
||||||
gtk_widget_get_allocation (row, &alloc);
|
gtk_widget_get_allocation (row, &alloc);
|
||||||
@@ -25,7 +26,8 @@ drag_begin (GtkWidget *widget,
|
|||||||
gtk_style_context_remove_class (gtk_widget_get_style_context (row), "drag-icon");
|
gtk_style_context_remove_class (gtk_widget_get_style_context (row), "drag-icon");
|
||||||
|
|
||||||
gtk_widget_translate_coordinates (widget, row, 0, 0, &x, &y);
|
gtk_widget_translate_coordinates (widget, row, 0, 0, &x, &y);
|
||||||
cairo_surface_set_device_offset (surface, -x, -y);
|
cairo_surface_get_device_scale (surface, &sx, &sy);
|
||||||
|
cairo_surface_set_device_offset (surface, -x * sx, -y * sy);
|
||||||
gtk_drag_set_icon_surface (context, surface);
|
gtk_drag_set_icon_surface (context, surface);
|
||||||
|
|
||||||
cairo_destroy (cr);
|
cairo_destroy (cr);
|
||||||
|
60
examples/meson.build
Normal file
60
examples/meson.build
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
builder_example = executable(
|
||||||
|
'builder_example',
|
||||||
|
'builder.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
drawing = executable(
|
||||||
|
'drawing',
|
||||||
|
'drawing.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
grid_packing = executable(
|
||||||
|
'grid-packing',
|
||||||
|
'grid-packing.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
hello_world = executable(
|
||||||
|
'hello-world',
|
||||||
|
'hello-world.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
plugman = executable(
|
||||||
|
'plugman',
|
||||||
|
'plugman.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
search_bar = executable(
|
||||||
|
'search-bar',
|
||||||
|
'search-bar.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
sunny = executable(
|
||||||
|
'sunny',
|
||||||
|
'sunny.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
window_default = executable(
|
||||||
|
'window-default',
|
||||||
|
'window-default.c',
|
||||||
|
dependencies: libgtk_dep
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
subdir('bp')
|
||||||
|
subdir('application1')
|
||||||
|
subdir('application2')
|
||||||
|
subdir('application3')
|
||||||
|
subdir('application4')
|
||||||
|
subdir('application5')
|
||||||
|
subdir('application6')
|
||||||
|
subdir('application7')
|
||||||
|
subdir('application8')
|
||||||
|
subdir('application9')
|
||||||
|
subdir('application10')
|
@@ -13,7 +13,7 @@ INTROSPECTION_COMPILER_ARGS = \
|
|||||||
|
|
||||||
SUBDIRS = $(GDK_BACKENDS) .
|
SUBDIRS = $(GDK_BACKENDS) .
|
||||||
|
|
||||||
DIST_SUBDIRS = win32 x11 quartz broadway wayland mir
|
DIST_SUBDIRS = win32 x11 quartz broadway wayland
|
||||||
|
|
||||||
CLEANFILES =
|
CLEANFILES =
|
||||||
|
|
||||||
@@ -31,7 +31,10 @@ EXTRA_DIST += \
|
|||||||
makefile.msc \
|
makefile.msc \
|
||||||
gdkenumtypes.c.template \
|
gdkenumtypes.c.template \
|
||||||
gdkenumtypes.h.template \
|
gdkenumtypes.h.template \
|
||||||
gdkversionmacros.h.in
|
gdkversionmacros.h.in \
|
||||||
|
meson.build \
|
||||||
|
gen-gdk-gresources-xml.py \
|
||||||
|
gdkconfig.h.meson
|
||||||
|
|
||||||
GDK_CFLAGS_DEFINES = \
|
GDK_CFLAGS_DEFINES = \
|
||||||
-DG_LOG_USE_STRUCTURED=1 \
|
-DG_LOG_USE_STRUCTURED=1 \
|
||||||
@@ -126,6 +129,7 @@ gdk_private_headers = \
|
|||||||
gdkframeclockprivate.h \
|
gdkframeclockprivate.h \
|
||||||
gdkglcontextprivate.h \
|
gdkglcontextprivate.h \
|
||||||
gdkmonitorprivate.h \
|
gdkmonitorprivate.h \
|
||||||
|
gdkprofilerprivate.h \
|
||||||
gdkscreenprivate.h \
|
gdkscreenprivate.h \
|
||||||
gdkseatprivate.h \
|
gdkseatprivate.h \
|
||||||
gdkseatdefaultprivate.h \
|
gdkseatdefaultprivate.h \
|
||||||
@@ -167,6 +171,7 @@ gdk_c_sources = \
|
|||||||
gdkframeclockidle.c \
|
gdkframeclockidle.c \
|
||||||
gdkpango.c \
|
gdkpango.c \
|
||||||
gdkpixbuf-drawable.c \
|
gdkpixbuf-drawable.c \
|
||||||
|
gdkprofiler.c \
|
||||||
gdkproperty.c \
|
gdkproperty.c \
|
||||||
gdkrectangle.c \
|
gdkrectangle.c \
|
||||||
gdkrgba.c \
|
gdkrgba.c \
|
||||||
@@ -217,7 +222,6 @@ libgdk_3_la_LIBADD += x11/libgdk-x11.la
|
|||||||
endif # USE_X11
|
endif # USE_X11
|
||||||
|
|
||||||
if USE_QUARTZ
|
if USE_QUARTZ
|
||||||
libgdk_3_la_CFLAGS += -xobjective-c
|
|
||||||
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
|
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
|
||||||
endif # USE_QUARTZ
|
endif # USE_QUARTZ
|
||||||
|
|
||||||
@@ -235,10 +239,6 @@ if USE_WAYLAND
|
|||||||
libgdk_3_la_LIBADD += wayland/libgdk-wayland.la
|
libgdk_3_la_LIBADD += wayland/libgdk-wayland.la
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_MIR
|
|
||||||
libgdk_3_la_LIBADD += mir/libgdk-mir.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HAVE_INTROSPECTION
|
if HAVE_INTROSPECTION
|
||||||
|
|
||||||
introspection_files = \
|
introspection_files = \
|
||||||
@@ -446,6 +446,7 @@ gdkenumtypes.c: $(gdk_h_sources) gdkenumtypes.c.template
|
|||||||
gdkmarshalers.h: gdkmarshalers.list
|
gdkmarshalers.h: gdkmarshalers.list
|
||||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||||
--prefix=_gdk_marshal \
|
--prefix=_gdk_marshal \
|
||||||
|
--valist-marshallers \
|
||||||
--header \
|
--header \
|
||||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-h.tmp \
|
$(srcdir)/gdkmarshalers.list > gdkmarshalers-h.tmp \
|
||||||
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
|
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
|
||||||
@@ -453,6 +454,7 @@ gdkmarshalers.h: gdkmarshalers.list
|
|||||||
gdkmarshalers.c: gdkmarshalers.list
|
gdkmarshalers.c: gdkmarshalers.list
|
||||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
||||||
--prefix=_gdk_marshal \
|
--prefix=_gdk_marshal \
|
||||||
|
--valist-marshallers \
|
||||||
--body \
|
--body \
|
||||||
$(srcdir)/gdkmarshalers.list > gdkmarshalers-c.tmp \
|
$(srcdir)/gdkmarshalers.list > gdkmarshalers-c.tmp \
|
||||||
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
|
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
|
||||||
|
@@ -108,6 +108,10 @@ EXTRA_DIST += $(broadway_built_sources)
|
|||||||
|
|
||||||
BUILT_SOURCES = $(broadway_built_sources)
|
BUILT_SOURCES = $(broadway_built_sources)
|
||||||
|
|
||||||
|
EXTRA_DIST += \
|
||||||
|
meson.build \
|
||||||
|
gen-c-array.py
|
||||||
|
|
||||||
# ------------------- MSVC Build Items ----------------
|
# ------------------- MSVC Build Items ----------------
|
||||||
MSVCPROJS = gdk3-broadway broadwayd
|
MSVCPROJS = gdk3-broadway broadwayd
|
||||||
|
|
||||||
|
22
gdk/broadway/gen-c-array.py
Normal file
22
gdk/broadway/gen-c-array.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import sys
|
||||||
|
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
parser.add_argument('--array-name', help='The name of the array variable')
|
||||||
|
parser.add_argument('--output', metavar='FILE', help='Output file',
|
||||||
|
type=argparse.FileType('w'),
|
||||||
|
default=sys.stdout)
|
||||||
|
parser.add_argument('input', metavar='FILE', help='The input file',
|
||||||
|
type=argparse.FileType('r'), nargs='+')
|
||||||
|
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
args.output.write('static const char {}[] = {{\n'.format(args.array_name))
|
||||||
|
for input in args.input:
|
||||||
|
for line in input:
|
||||||
|
for ch in line:
|
||||||
|
args.output.write(' 0x{:02x},\n'.format(ord(ch)))
|
||||||
|
|
||||||
|
args.output.write('};')
|
78
gdk/broadway/meson.build
Normal file
78
gdk/broadway/meson.build
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
gdk_broadway_sources = files(
|
||||||
|
'gdkcursor-broadway.c',
|
||||||
|
'gdkdevice-broadway.c',
|
||||||
|
'gdkdevicemanager-broadway.c',
|
||||||
|
'gdkdisplay-broadway.c',
|
||||||
|
'gdkdnd-broadway.c',
|
||||||
|
'gdkeventsource.c',
|
||||||
|
'gdkglobals-broadway.c',
|
||||||
|
'gdkkeys-broadway.c',
|
||||||
|
'gdkmonitor-broadway.c',
|
||||||
|
'gdkproperty-broadway.c',
|
||||||
|
'gdkscreen-broadway.c',
|
||||||
|
'gdkselection-broadway.c',
|
||||||
|
'gdktestutils-broadway.c',
|
||||||
|
'gdkvisual-broadway.c',
|
||||||
|
'gdkwindow-broadway.c',
|
||||||
|
'gdkbroadway-server.c',
|
||||||
|
)
|
||||||
|
|
||||||
|
gdk_broadway_public_headers = files(
|
||||||
|
'gdkbroadwaydisplay.h',
|
||||||
|
'gdkbroadwaywindow.h',
|
||||||
|
'gdkbroadwaycursor.h',
|
||||||
|
'gdkbroadwaymonitor.h',
|
||||||
|
'gdkbroadwayvisual.h',
|
||||||
|
)
|
||||||
|
|
||||||
|
install_headers(gdk_broadway_public_headers, subdir: 'gtk-3.0/gdk/broadway/')
|
||||||
|
install_headers('gdkbroadway.h', subdir: 'gtk-3.0/gdk/')
|
||||||
|
|
||||||
|
gdk_broadway_deps = [shmlib]
|
||||||
|
|
||||||
|
gen_c_array = find_program('gen-c-array.py')
|
||||||
|
|
||||||
|
clienthtml_h = custom_target('clienthtml.h',
|
||||||
|
input : 'client.html',
|
||||||
|
output : 'clienthtml.h',
|
||||||
|
command : [
|
||||||
|
gen_c_array,
|
||||||
|
'--array-name=client_html',
|
||||||
|
'--output=@OUTPUT@',
|
||||||
|
'@INPUT@',
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
broadwayjs_h = custom_target('broadwayjs.h',
|
||||||
|
input : ['broadway.js', 'rawinflate.min.js'],
|
||||||
|
output : 'broadwayjs.h',
|
||||||
|
command : [
|
||||||
|
gen_c_array,
|
||||||
|
'--array-name=broadway_js',
|
||||||
|
'--output=@OUTPUT@',
|
||||||
|
'@INPUT0@','@INPUT1@',
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
libgdk_broadway = static_library('gdk-broadway',
|
||||||
|
clienthtml_h, broadwayjs_h,
|
||||||
|
gdk_broadway_sources, gdkconfig, gdkenum_h,
|
||||||
|
include_directories: [confinc, gdkinc],
|
||||||
|
c_args: [
|
||||||
|
'-DGDK_COMPILATION',
|
||||||
|
'-DG_LOG_DOMAIN="Gdk"',
|
||||||
|
] + common_cflags,
|
||||||
|
link_args: common_ldflags,
|
||||||
|
dependencies: [gdk_deps, gdk_broadway_deps])
|
||||||
|
|
||||||
|
# gtk4-broadwayd
|
||||||
|
|
||||||
|
broadwayd_syslib = os_win32 ? cc.find_library('ws2_32') : shmlib
|
||||||
|
|
||||||
|
executable('broadwayd',
|
||||||
|
clienthtml_h, broadwayjs_h,
|
||||||
|
'broadwayd.c', 'broadway-server.c', 'broadway-buffer.c', 'broadway-output.c',
|
||||||
|
include_directories: [confinc, gdkinc, include_directories('.')],
|
||||||
|
c_args: ['-DGDK_COMPILATION', '-DG_LOG_DOMAIN="Gdk"', ],
|
||||||
|
dependencies : [broadwayd_syslib, gdk_deps],
|
||||||
|
install : true)
|
@@ -1,5 +1,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "gdk-private.h"
|
#include "gdk-private.h"
|
||||||
|
#include "gdkprofilerprivate.h"
|
||||||
|
|
||||||
GdkPrivateVTable *
|
GdkPrivateVTable *
|
||||||
gdk__private__ (void)
|
gdk__private__ (void)
|
||||||
@@ -19,6 +20,9 @@ gdk__private__ (void)
|
|||||||
gdk_display_set_debug_updates,
|
gdk_display_set_debug_updates,
|
||||||
gdk_get_desktop_startup_id,
|
gdk_get_desktop_startup_id,
|
||||||
gdk_get_desktop_autostart_id,
|
gdk_get_desktop_autostart_id,
|
||||||
|
gdk_profiler_is_running,
|
||||||
|
gdk_profiler_start,
|
||||||
|
gdk_profiler_stop
|
||||||
};
|
};
|
||||||
|
|
||||||
return &table;
|
return &table;
|
||||||
|
@@ -62,6 +62,10 @@ typedef struct {
|
|||||||
|
|
||||||
const gchar * (* gdk_get_desktop_startup_id) (void);
|
const gchar * (* gdk_get_desktop_startup_id) (void);
|
||||||
const gchar * (* gdk_get_desktop_autostart_id) (void);
|
const gchar * (* gdk_get_desktop_autostart_id) (void);
|
||||||
|
|
||||||
|
gboolean (* gdk_profiler_is_running) (void);
|
||||||
|
void (* gdk_profiler_start) (int fd);
|
||||||
|
void (* gdk_profiler_stop) (void);
|
||||||
} GdkPrivateVTable;
|
} GdkPrivateVTable;
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user