diff options
Diffstat (limited to 'meta-oe/recipes-graphics')
215 files changed, 3598 insertions, 3082 deletions
diff --git a/meta-oe/recipes-graphics/aml/aml_git.bb b/meta-oe/recipes-graphics/aml/aml_git.bb index 2633e0d215..a0b27bd256 100644 --- a/meta-oe/recipes-graphics/aml/aml_git.bb +++ b/meta-oe/recipes-graphics/aml/aml_git.bb | |||
@@ -10,7 +10,6 @@ SRCREV = "b83f3576ce4187d9285f06e9066ef43a691464d4" | |||
10 | 10 | ||
11 | PV = "0.3.0+git" | 11 | PV = "0.3.0+git" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | PACKAGECONFIG ??= "" | 14 | PACKAGECONFIG ??= "" |
16 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" | 15 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" |
diff --git a/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb b/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb index a6872ef0cd..8a8e783309 100644 --- a/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb +++ b/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb | |||
@@ -10,7 +10,7 @@ DEPENDS += "boost cairo libsigc++-3" | |||
10 | SRC_URI = "https://www.cairographics.org/releases/cairomm-${PV}.tar.xz" | 10 | SRC_URI = "https://www.cairographics.org/releases/cairomm-${PV}.tar.xz" |
11 | SRC_URI[sha256sum] = "b81255394e3ea8e8aa887276d22afa8985fc8daef60692eb2407d23049f03cfb" | 11 | SRC_URI[sha256sum] = "b81255394e3ea8e8aa887276d22afa8985fc8daef60692eb2407d23049f03cfb" |
12 | 12 | ||
13 | S = "${WORKDIR}/cairomm-${PV}" | 13 | S = "${UNPACKDIR}/cairomm-${PV}" |
14 | 14 | ||
15 | FILES:${PN}-doc += "${datadir}/devhelp" | 15 | FILES:${PN}-doc += "${datadir}/devhelp" |
16 | FILES:${PN}-dev += "${libdir}/cairomm-*/" | 16 | FILES:${PN}-dev += "${libdir}/cairomm-*/" |
diff --git a/meta-oe/recipes-graphics/cairo/cairomm_1.14.3.bb b/meta-oe/recipes-graphics/cairo/cairomm_1.14.5.bb index 54a2b07ca5..e451c5d1ad 100644 --- a/meta-oe/recipes-graphics/cairo/cairomm_1.14.3.bb +++ b/meta-oe/recipes-graphics/cairo/cairomm_1.14.5.bb | |||
@@ -8,7 +8,7 @@ inherit gnomebase | |||
8 | DEPENDS += "boost cairo libsigc++-2.0" | 8 | DEPENDS += "boost cairo libsigc++-2.0" |
9 | 9 | ||
10 | SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.xz" | 10 | SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.xz" |
11 | SRC_URI[sha256sum] = "0d37e067c5c4ca7808b7ceddabfe1932c5bd2a750ad64fb321e1213536297e78" | 11 | SRC_URI[sha256sum] = "70136203540c884e89ce1c9edfb6369b9953937f6cd596d97c78c9758a5d48db" |
12 | 12 | ||
13 | FILES:${PN}-doc += "${datadir}/devhelp" | 13 | FILES:${PN}-doc += "${datadir}/devhelp" |
14 | FILES:${PN}-dev += "${libdir}/cairomm-*/" | 14 | FILES:${PN}-dev += "${libdir}/cairomm-*/" |
diff --git a/meta-oe/recipes-graphics/cglm/cglm_0.9.2.bb b/meta-oe/recipes-graphics/cglm/cglm_0.9.6.bb index b503c6ed9c..b2673f1e9b 100644 --- a/meta-oe/recipes-graphics/cglm/cglm_0.9.2.bb +++ b/meta-oe/recipes-graphics/cglm/cglm_0.9.6.bb | |||
@@ -9,10 +9,9 @@ LICENSE = "MIT" | |||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8dc95c4110ba741c43832734b51b7de7" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8dc95c4110ba741c43832734b51b7de7" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" | 11 | SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" |
12 | # Tag v0.9.1 | 12 | # Tag v0.9.6 |
13 | SRCREV = "c8781615183ce3cb4f5d72caf70f2c01d7d4d2af" | 13 | SRCREV = "144d1e7c29b3b0c6dede7917a0476cc95248559c" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | PACKAGECONFIG[build_tests] = "-Dbuild_tests=true,-Dbuild_tests=false," | 16 | PACKAGECONFIG[build_tests] = "-Dbuild_tests=true,-Dbuild_tests=false," |
18 | 17 | ||
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc new file mode 100644 index 0000000000..9ba87e0b4a --- /dev/null +++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc | |||
@@ -0,0 +1,300 @@ | |||
1 | # Autogenerated with 'bitbake -c update_crates deqp-runner' | ||
2 | |||
3 | # from Cargo.lock | ||
4 | SRC_URI += " \ | ||
5 | crate://crates.io/adler2/2.0.0 \ | ||
6 | crate://crates.io/aho-corasick/1.1.3 \ | ||
7 | crate://crates.io/android-tzdata/0.1.1 \ | ||
8 | crate://crates.io/android_system_properties/0.1.5 \ | ||
9 | crate://crates.io/ansi_term/0.12.1 \ | ||
10 | crate://crates.io/anyhow/1.0.97 \ | ||
11 | crate://crates.io/atty/0.2.14 \ | ||
12 | crate://crates.io/autocfg/1.4.0 \ | ||
13 | crate://crates.io/bitflags/1.3.2 \ | ||
14 | crate://crates.io/bitflags/2.9.0 \ | ||
15 | crate://crates.io/bumpalo/3.17.0 \ | ||
16 | crate://crates.io/cast/0.3.0 \ | ||
17 | crate://crates.io/cc/1.2.18 \ | ||
18 | crate://crates.io/cfg-if/1.0.0 \ | ||
19 | crate://crates.io/chrono/0.4.40 \ | ||
20 | crate://crates.io/clap/2.34.0 \ | ||
21 | crate://crates.io/core-foundation-sys/0.8.7 \ | ||
22 | crate://crates.io/crc32fast/1.4.2 \ | ||
23 | crate://crates.io/criterion/0.3.6 \ | ||
24 | crate://crates.io/criterion-plot/0.4.5 \ | ||
25 | crate://crates.io/crossbeam-deque/0.8.6 \ | ||
26 | crate://crates.io/crossbeam-epoch/0.9.18 \ | ||
27 | crate://crates.io/crossbeam-utils/0.8.21 \ | ||
28 | crate://crates.io/csv/1.3.1 \ | ||
29 | crate://crates.io/csv-core/0.1.12 \ | ||
30 | crate://crates.io/derive-getters/0.1.1 \ | ||
31 | crate://crates.io/either/1.15.0 \ | ||
32 | crate://crates.io/errno/0.3.11 \ | ||
33 | crate://crates.io/fastrand/2.3.0 \ | ||
34 | crate://crates.io/flate2/1.1.1 \ | ||
35 | crate://crates.io/getrandom/0.1.16 \ | ||
36 | crate://crates.io/getrandom/0.3.2 \ | ||
37 | crate://crates.io/half/1.8.3 \ | ||
38 | crate://crates.io/hashbrown/0.12.3 \ | ||
39 | crate://crates.io/heck/0.3.3 \ | ||
40 | crate://crates.io/hermit-abi/0.1.19 \ | ||
41 | crate://crates.io/iana-time-zone/0.1.63 \ | ||
42 | crate://crates.io/iana-time-zone-haiku/0.1.2 \ | ||
43 | crate://crates.io/indexmap/1.9.3 \ | ||
44 | crate://crates.io/itertools/0.10.5 \ | ||
45 | crate://crates.io/itoa/1.0.15 \ | ||
46 | crate://crates.io/js-sys/0.3.77 \ | ||
47 | crate://crates.io/junit-report/0.4.0 \ | ||
48 | crate://crates.io/lazy_static/1.5.0 \ | ||
49 | crate://crates.io/libc/0.2.171 \ | ||
50 | crate://crates.io/linux-raw-sys/0.9.3 \ | ||
51 | crate://crates.io/log/0.4.27 \ | ||
52 | crate://crates.io/memchr/2.7.4 \ | ||
53 | crate://crates.io/miniz_oxide/0.8.7 \ | ||
54 | crate://crates.io/mio/0.8.11 \ | ||
55 | crate://crates.io/num-traits/0.2.19 \ | ||
56 | crate://crates.io/once_cell/1.21.3 \ | ||
57 | crate://crates.io/oorandom/11.1.5 \ | ||
58 | crate://crates.io/plotters/0.3.7 \ | ||
59 | crate://crates.io/plotters-backend/0.3.7 \ | ||
60 | crate://crates.io/plotters-svg/0.3.7 \ | ||
61 | crate://crates.io/ppv-lite86/0.2.21 \ | ||
62 | crate://crates.io/proc-macro-error/1.0.4 \ | ||
63 | crate://crates.io/proc-macro-error-attr/1.0.4 \ | ||
64 | crate://crates.io/proc-macro2/1.0.94 \ | ||
65 | crate://crates.io/quote/1.0.40 \ | ||
66 | crate://crates.io/r-efi/5.2.0 \ | ||
67 | crate://crates.io/rand/0.7.3 \ | ||
68 | crate://crates.io/rand_chacha/0.2.2 \ | ||
69 | crate://crates.io/rand_core/0.5.1 \ | ||
70 | crate://crates.io/rand_hc/0.2.0 \ | ||
71 | crate://crates.io/rayon/1.10.0 \ | ||
72 | crate://crates.io/rayon-core/1.12.1 \ | ||
73 | crate://crates.io/regex/1.11.1 \ | ||
74 | crate://crates.io/regex-automata/0.4.9 \ | ||
75 | crate://crates.io/regex-syntax/0.8.5 \ | ||
76 | crate://crates.io/roxmltree/0.13.1 \ | ||
77 | crate://crates.io/rustix/1.0.5 \ | ||
78 | crate://crates.io/rustversion/1.0.20 \ | ||
79 | crate://crates.io/ryu/1.0.20 \ | ||
80 | crate://crates.io/same-file/1.0.6 \ | ||
81 | crate://crates.io/serde/1.0.219 \ | ||
82 | crate://crates.io/serde-tuple-vec-map/1.0.1 \ | ||
83 | crate://crates.io/serde_cbor/0.11.2 \ | ||
84 | crate://crates.io/serde_derive/1.0.219 \ | ||
85 | crate://crates.io/serde_json/1.0.140 \ | ||
86 | crate://crates.io/serde_yaml/0.9.21 \ | ||
87 | crate://crates.io/shlex/1.3.0 \ | ||
88 | crate://crates.io/stderrlog/0.5.4 \ | ||
89 | crate://crates.io/strsim/0.8.0 \ | ||
90 | crate://crates.io/structopt/0.3.26 \ | ||
91 | crate://crates.io/structopt-derive/0.4.18 \ | ||
92 | crate://crates.io/syn/1.0.109 \ | ||
93 | crate://crates.io/syn/2.0.100 \ | ||
94 | crate://crates.io/tempfile/3.19.1 \ | ||
95 | crate://crates.io/termcolor/1.1.3 \ | ||
96 | crate://crates.io/textwrap/0.11.0 \ | ||
97 | crate://crates.io/thiserror/1.0.69 \ | ||
98 | crate://crates.io/thiserror-impl/1.0.69 \ | ||
99 | crate://crates.io/thread_local/1.1.8 \ | ||
100 | crate://crates.io/tinytemplate/1.2.1 \ | ||
101 | crate://crates.io/toml/0.5.11 \ | ||
102 | crate://crates.io/unicode-ident/1.0.18 \ | ||
103 | crate://crates.io/unicode-segmentation/1.12.0 \ | ||
104 | crate://crates.io/unicode-width/0.1.14 \ | ||
105 | crate://crates.io/unsafe-libyaml/0.2.11 \ | ||
106 | crate://crates.io/vec_map/0.8.2 \ | ||
107 | crate://crates.io/version_check/0.9.5 \ | ||
108 | crate://crates.io/walkdir/2.5.0 \ | ||
109 | crate://crates.io/wasi/0.9.0+wasi-snapshot-preview1 \ | ||
110 | crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ | ||
111 | crate://crates.io/wasi/0.14.2+wasi-0.2.4 \ | ||
112 | crate://crates.io/wasm-bindgen/0.2.100 \ | ||
113 | crate://crates.io/wasm-bindgen-backend/0.2.100 \ | ||
114 | crate://crates.io/wasm-bindgen-macro/0.2.100 \ | ||
115 | crate://crates.io/wasm-bindgen-macro-support/0.2.100 \ | ||
116 | crate://crates.io/wasm-bindgen-shared/0.2.100 \ | ||
117 | crate://crates.io/web-sys/0.3.77 \ | ||
118 | crate://crates.io/winapi/0.3.9 \ | ||
119 | crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ | ||
120 | crate://crates.io/winapi-util/0.1.9 \ | ||
121 | crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ | ||
122 | crate://crates.io/windows-core/0.61.0 \ | ||
123 | crate://crates.io/windows-implement/0.60.0 \ | ||
124 | crate://crates.io/windows-interface/0.59.1 \ | ||
125 | crate://crates.io/windows-link/0.1.1 \ | ||
126 | crate://crates.io/windows-result/0.3.2 \ | ||
127 | crate://crates.io/windows-strings/0.4.0 \ | ||
128 | crate://crates.io/windows-sys/0.48.0 \ | ||
129 | crate://crates.io/windows-sys/0.59.0 \ | ||
130 | crate://crates.io/windows-targets/0.48.5 \ | ||
131 | crate://crates.io/windows-targets/0.52.6 \ | ||
132 | crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ | ||
133 | crate://crates.io/windows_aarch64_gnullvm/0.52.6 \ | ||
134 | crate://crates.io/windows_aarch64_msvc/0.48.5 \ | ||
135 | crate://crates.io/windows_aarch64_msvc/0.52.6 \ | ||
136 | crate://crates.io/windows_i686_gnu/0.48.5 \ | ||
137 | crate://crates.io/windows_i686_gnu/0.52.6 \ | ||
138 | crate://crates.io/windows_i686_gnullvm/0.52.6 \ | ||
139 | crate://crates.io/windows_i686_msvc/0.48.5 \ | ||
140 | crate://crates.io/windows_i686_msvc/0.52.6 \ | ||
141 | crate://crates.io/windows_x86_64_gnu/0.48.5 \ | ||
142 | crate://crates.io/windows_x86_64_gnu/0.52.6 \ | ||
143 | crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ | ||
144 | crate://crates.io/windows_x86_64_gnullvm/0.52.6 \ | ||
145 | crate://crates.io/windows_x86_64_msvc/0.48.5 \ | ||
146 | crate://crates.io/windows_x86_64_msvc/0.52.6 \ | ||
147 | crate://crates.io/wit-bindgen-rt/0.39.0 \ | ||
148 | crate://crates.io/xml-rs/0.8.25 \ | ||
149 | crate://crates.io/xmlparser/0.13.6 \ | ||
150 | crate://crates.io/zerocopy/0.8.24 \ | ||
151 | crate://crates.io/zerocopy-derive/0.8.24 \ | ||
152 | " | ||
153 | |||
154 | SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" | ||
155 | SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" | ||
156 | SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" | ||
157 | SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" | ||
158 | SRC_URI[ansi_term-0.12.1.sha256sum] = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" | ||
159 | SRC_URI[anyhow-1.0.97.sha256sum] = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" | ||
160 | SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" | ||
161 | SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" | ||
162 | SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | ||
163 | SRC_URI[bitflags-2.9.0.sha256sum] = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" | ||
164 | SRC_URI[bumpalo-3.17.0.sha256sum] = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" | ||
165 | SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" | ||
166 | SRC_URI[cc-1.2.18.sha256sum] = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c" | ||
167 | SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
168 | SRC_URI[chrono-0.4.40.sha256sum] = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" | ||
169 | SRC_URI[clap-2.34.0.sha256sum] = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" | ||
170 | SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" | ||
171 | SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" | ||
172 | SRC_URI[criterion-0.3.6.sha256sum] = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f" | ||
173 | SRC_URI[criterion-plot-0.4.5.sha256sum] = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876" | ||
174 | SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" | ||
175 | SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" | ||
176 | SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" | ||
177 | SRC_URI[csv-1.3.1.sha256sum] = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf" | ||
178 | SRC_URI[csv-core-0.1.12.sha256sum] = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d" | ||
179 | SRC_URI[derive-getters-0.1.1.sha256sum] = "16dc4e2517f08ca167440ccb11023c1308ee19a4022d7b03c0e652f971171869" | ||
180 | SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" | ||
181 | SRC_URI[errno-0.3.11.sha256sum] = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" | ||
182 | SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" | ||
183 | SRC_URI[flate2-1.1.1.sha256sum] = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" | ||
184 | SRC_URI[getrandom-0.1.16.sha256sum] = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" | ||
185 | SRC_URI[getrandom-0.3.2.sha256sum] = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" | ||
186 | SRC_URI[half-1.8.3.sha256sum] = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" | ||
187 | SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" | ||
188 | SRC_URI[heck-0.3.3.sha256sum] = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" | ||
189 | SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" | ||
190 | SRC_URI[iana-time-zone-0.1.63.sha256sum] = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" | ||
191 | SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" | ||
192 | SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" | ||
193 | SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" | ||
194 | SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" | ||
195 | SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" | ||
196 | SRC_URI[junit-report-0.4.0.sha256sum] = "e4e00ad2de771fc4988af88b02cbd618c08c17920208c35c4bbfe67ccfab31eb" | ||
197 | SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" | ||
198 | SRC_URI[libc-0.2.171.sha256sum] = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" | ||
199 | SRC_URI[linux-raw-sys-0.9.3.sha256sum] = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" | ||
200 | SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" | ||
201 | SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" | ||
202 | SRC_URI[miniz_oxide-0.8.7.sha256sum] = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430" | ||
203 | SRC_URI[mio-0.8.11.sha256sum] = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" | ||
204 | SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | ||
205 | SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" | ||
206 | SRC_URI[oorandom-11.1.5.sha256sum] = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" | ||
207 | SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" | ||
208 | SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" | ||
209 | SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" | ||
210 | SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" | ||
211 | SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" | ||
212 | SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" | ||
213 | SRC_URI[proc-macro2-1.0.94.sha256sum] = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" | ||
214 | SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" | ||
215 | SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" | ||
216 | SRC_URI[rand-0.7.3.sha256sum] = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" | ||
217 | SRC_URI[rand_chacha-0.2.2.sha256sum] = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" | ||
218 | SRC_URI[rand_core-0.5.1.sha256sum] = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" | ||
219 | SRC_URI[rand_hc-0.2.0.sha256sum] = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" | ||
220 | SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" | ||
221 | SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" | ||
222 | SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" | ||
223 | SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" | ||
224 | SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" | ||
225 | SRC_URI[roxmltree-0.13.1.sha256sum] = "dbf7d7b1ea646d380d0e8153158063a6da7efe30ddbf3184042848e3f8a6f671" | ||
226 | SRC_URI[rustix-1.0.5.sha256sum] = "d97817398dd4bb2e6da002002db259209759911da105da92bec29ccb12cf58bf" | ||
227 | SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" | ||
228 | SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" | ||
229 | SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" | ||
230 | SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" | ||
231 | SRC_URI[serde-tuple-vec-map-1.0.1.sha256sum] = "a04d0ebe0de77d7d445bb729a895dcb0a288854b267ca85f030ce51cdc578c82" | ||
232 | SRC_URI[serde_cbor-0.11.2.sha256sum] = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" | ||
233 | SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | ||
234 | SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" | ||
235 | SRC_URI[serde_yaml-0.9.21.sha256sum] = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c" | ||
236 | SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" | ||
237 | SRC_URI[stderrlog-0.5.4.sha256sum] = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b" | ||
238 | SRC_URI[strsim-0.8.0.sha256sum] = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" | ||
239 | SRC_URI[structopt-0.3.26.sha256sum] = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" | ||
240 | SRC_URI[structopt-derive-0.4.18.sha256sum] = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" | ||
241 | SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" | ||
242 | SRC_URI[syn-2.0.100.sha256sum] = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" | ||
243 | SRC_URI[tempfile-3.19.1.sha256sum] = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" | ||
244 | SRC_URI[termcolor-1.1.3.sha256sum] = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" | ||
245 | SRC_URI[textwrap-0.11.0.sha256sum] = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" | ||
246 | SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" | ||
247 | SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" | ||
248 | SRC_URI[thread_local-1.1.8.sha256sum] = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" | ||
249 | SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" | ||
250 | SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" | ||
251 | SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" | ||
252 | SRC_URI[unicode-segmentation-1.12.0.sha256sum] = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" | ||
253 | SRC_URI[unicode-width-0.1.14.sha256sum] = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" | ||
254 | SRC_URI[unsafe-libyaml-0.2.11.sha256sum] = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" | ||
255 | SRC_URI[vec_map-0.8.2.sha256sum] = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" | ||
256 | SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | ||
257 | SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" | ||
258 | SRC_URI[wasi-0.9.0+wasi-snapshot-preview1.sha256sum] = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" | ||
259 | SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | ||
260 | SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" | ||
261 | SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" | ||
262 | SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" | ||
263 | SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" | ||
264 | SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" | ||
265 | SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" | ||
266 | SRC_URI[web-sys-0.3.77.sha256sum] = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" | ||
267 | SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" | ||
268 | SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||
269 | SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" | ||
270 | SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
271 | SRC_URI[windows-core-0.61.0.sha256sum] = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" | ||
272 | SRC_URI[windows-implement-0.60.0.sha256sum] = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" | ||
273 | SRC_URI[windows-interface-0.59.1.sha256sum] = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" | ||
274 | SRC_URI[windows-link-0.1.1.sha256sum] = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" | ||
275 | SRC_URI[windows-result-0.3.2.sha256sum] = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" | ||
276 | SRC_URI[windows-strings-0.4.0.sha256sum] = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" | ||
277 | SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" | ||
278 | SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" | ||
279 | SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" | ||
280 | SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" | ||
281 | SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" | ||
282 | SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" | ||
283 | SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" | ||
284 | SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" | ||
285 | SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" | ||
286 | SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" | ||
287 | SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" | ||
288 | SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" | ||
289 | SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" | ||
290 | SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" | ||
291 | SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" | ||
292 | SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" | ||
293 | SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" | ||
294 | SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" | ||
295 | SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" | ||
296 | SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" | ||
297 | SRC_URI[xml-rs-0.8.25.sha256sum] = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4" | ||
298 | SRC_URI[xmlparser-0.13.6.sha256sum] = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" | ||
299 | SRC_URI[zerocopy-0.8.24.sha256sum] = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879" | ||
300 | SRC_URI[zerocopy-derive-0.8.24.sha256sum] = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be" | ||
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch new file mode 100644 index 0000000000..d50549e88e --- /dev/null +++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 64e8e422abebf139fac9a4ec8ba8f259e54679e6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dan Gohman <dev@sunfishcode.online> | ||
3 | Date: Sun, 6 Apr 2025 05:22:49 -0700 | ||
4 | Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu | ||
5 | |||
6 | Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on | ||
7 | riscv32gc-unknown-linux-gnu. | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/4382] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++- | ||
13 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/unix/linux_like/linux/arch/generic/mod.rs b/src/unix/linux_like/linux/arch/generic/mod.rs | ||
16 | index 61d2e3f..05ffb12 100644 | ||
17 | --- a/src/unix/linux_like/linux/arch/generic/mod.rs | ||
18 | +++ b/src/unix/linux_like/linux/arch/generic/mod.rs | ||
19 | @@ -164,6 +164,7 @@ cfg_if! { | ||
20 | target_arch = "x86_64", | ||
21 | target_arch = "arm", | ||
22 | target_arch = "aarch64", | ||
23 | + target_arch = "riscv32", | ||
24 | target_arch = "riscv64", | ||
25 | target_arch = "s390x", | ||
26 | target_arch = "csky", | ||
27 | @@ -303,7 +304,8 @@ cfg_if! { | ||
28 | if #[cfg(any( | ||
29 | target_arch = "x86", | ||
30 | target_arch = "arm", | ||
31 | - target_arch = "csky" | ||
32 | + target_arch = "csky", | ||
33 | + target_arch = "riscv32" | ||
34 | ))] { | ||
35 | pub const FS_IOC_GETFLAGS: Ioctl = 0x80046601; | ||
36 | pub const FS_IOC_SETFLAGS: Ioctl = 0x40046602; | ||
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch new file mode 100644 index 0000000000..dcd5e065f9 --- /dev/null +++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch | |||
@@ -0,0 +1,1239 @@ | |||
1 | From 1cb9f536511ef57cba8f53ea767038084ea2c4af Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 6 Apr 2025 19:11:44 -0700 | ||
4 | Subject: [PATCH] cargo: Update tempfile to latest 3.x | ||
5 | |||
6 | This updates rustix to 1.x gets more architectures supported e.g. riscv | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Cargo.lock | 616 ++++++++++++++++++++++++++++++++--------------------- | ||
12 | Cargo.toml | 4 +- | ||
13 | 2 files changed, 375 insertions(+), 245 deletions(-) | ||
14 | |||
15 | diff --git a/Cargo.lock b/Cargo.lock | ||
16 | index d4f6619..ef87ade 100644 | ||
17 | --- a/Cargo.lock | ||
18 | +++ b/Cargo.lock | ||
19 | @@ -1,18 +1,18 @@ | ||
20 | # This file is automatically @generated by Cargo. | ||
21 | # It is not intended for manual editing. | ||
22 | -version = 3 | ||
23 | +version = 4 | ||
24 | |||
25 | [[package]] | ||
26 | -name = "adler" | ||
27 | -version = "1.0.2" | ||
28 | +name = "adler2" | ||
29 | +version = "2.0.0" | ||
30 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
31 | -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" | ||
32 | +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" | ||
33 | |||
34 | [[package]] | ||
35 | name = "aho-corasick" | ||
36 | -version = "1.0.5" | ||
37 | +version = "1.1.3" | ||
38 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
39 | -checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" | ||
40 | +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" | ||
41 | dependencies = [ | ||
42 | "memchr", | ||
43 | ] | ||
44 | @@ -43,9 +43,9 @@ dependencies = [ | ||
45 | |||
46 | [[package]] | ||
47 | name = "anyhow" | ||
48 | -version = "1.0.75" | ||
49 | +version = "1.0.97" | ||
50 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
51 | -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" | ||
52 | +checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" | ||
53 | |||
54 | [[package]] | ||
55 | name = "atty" | ||
56 | @@ -53,16 +53,16 @@ version = "0.2.14" | ||
57 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
58 | checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" | ||
59 | dependencies = [ | ||
60 | - "hermit-abi 0.1.19", | ||
61 | + "hermit-abi", | ||
62 | "libc", | ||
63 | "winapi", | ||
64 | ] | ||
65 | |||
66 | [[package]] | ||
67 | name = "autocfg" | ||
68 | -version = "1.1.0" | ||
69 | +version = "1.4.0" | ||
70 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
71 | -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" | ||
72 | +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" | ||
73 | |||
74 | [[package]] | ||
75 | name = "bitflags" | ||
76 | @@ -72,15 +72,15 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | ||
77 | |||
78 | [[package]] | ||
79 | name = "bitflags" | ||
80 | -version = "2.4.0" | ||
81 | +version = "2.9.0" | ||
82 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
83 | -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" | ||
84 | +checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" | ||
85 | |||
86 | [[package]] | ||
87 | name = "bumpalo" | ||
88 | -version = "3.13.0" | ||
89 | +version = "3.17.0" | ||
90 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
91 | -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" | ||
92 | +checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" | ||
93 | |||
94 | [[package]] | ||
95 | name = "cast" | ||
96 | @@ -90,11 +90,11 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" | ||
97 | |||
98 | [[package]] | ||
99 | name = "cc" | ||
100 | -version = "1.0.83" | ||
101 | +version = "1.2.18" | ||
102 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
103 | -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" | ||
104 | +checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c" | ||
105 | dependencies = [ | ||
106 | - "libc", | ||
107 | + "shlex", | ||
108 | ] | ||
109 | |||
110 | [[package]] | ||
111 | @@ -105,16 +105,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
112 | |||
113 | [[package]] | ||
114 | name = "chrono" | ||
115 | -version = "0.4.30" | ||
116 | +version = "0.4.40" | ||
117 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
118 | -checksum = "defd4e7873dbddba6c7c91e199c7fcb946abc4a6a4ac3195400bcfb01b5de877" | ||
119 | +checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" | ||
120 | dependencies = [ | ||
121 | "android-tzdata", | ||
122 | "iana-time-zone", | ||
123 | "js-sys", | ||
124 | "num-traits", | ||
125 | "wasm-bindgen", | ||
126 | - "windows-targets", | ||
127 | + "windows-link", | ||
128 | ] | ||
129 | |||
130 | [[package]] | ||
131 | @@ -134,15 +134,15 @@ dependencies = [ | ||
132 | |||
133 | [[package]] | ||
134 | name = "core-foundation-sys" | ||
135 | -version = "0.8.4" | ||
136 | +version = "0.8.7" | ||
137 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
138 | -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" | ||
139 | +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" | ||
140 | |||
141 | [[package]] | ||
142 | name = "crc32fast" | ||
143 | -version = "1.3.2" | ||
144 | +version = "1.4.2" | ||
145 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
146 | -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" | ||
147 | +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" | ||
148 | dependencies = [ | ||
149 | "cfg-if", | ||
150 | ] | ||
151 | @@ -183,54 +183,36 @@ dependencies = [ | ||
152 | "itertools", | ||
153 | ] | ||
154 | |||
155 | -[[package]] | ||
156 | -name = "crossbeam-channel" | ||
157 | -version = "0.5.8" | ||
158 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
159 | -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" | ||
160 | -dependencies = [ | ||
161 | - "cfg-if", | ||
162 | - "crossbeam-utils", | ||
163 | -] | ||
164 | - | ||
165 | [[package]] | ||
166 | name = "crossbeam-deque" | ||
167 | -version = "0.8.3" | ||
168 | +version = "0.8.6" | ||
169 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
170 | -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" | ||
171 | +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" | ||
172 | dependencies = [ | ||
173 | - "cfg-if", | ||
174 | "crossbeam-epoch", | ||
175 | "crossbeam-utils", | ||
176 | ] | ||
177 | |||
178 | [[package]] | ||
179 | name = "crossbeam-epoch" | ||
180 | -version = "0.9.15" | ||
181 | +version = "0.9.18" | ||
182 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
183 | -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" | ||
184 | +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" | ||
185 | dependencies = [ | ||
186 | - "autocfg", | ||
187 | - "cfg-if", | ||
188 | "crossbeam-utils", | ||
189 | - "memoffset", | ||
190 | - "scopeguard", | ||
191 | ] | ||
192 | |||
193 | [[package]] | ||
194 | name = "crossbeam-utils" | ||
195 | -version = "0.8.16" | ||
196 | +version = "0.8.21" | ||
197 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
198 | -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" | ||
199 | -dependencies = [ | ||
200 | - "cfg-if", | ||
201 | -] | ||
202 | +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" | ||
203 | |||
204 | [[package]] | ||
205 | name = "csv" | ||
206 | -version = "1.2.2" | ||
207 | +version = "1.3.1" | ||
208 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
209 | -checksum = "626ae34994d3d8d668f4269922248239db4ae42d538b14c398b74a52208e8086" | ||
210 | +checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf" | ||
211 | dependencies = [ | ||
212 | "csv-core", | ||
213 | "itoa", | ||
214 | @@ -240,9 +222,9 @@ dependencies = [ | ||
215 | |||
216 | [[package]] | ||
217 | name = "csv-core" | ||
218 | -version = "0.1.10" | ||
219 | +version = "0.1.12" | ||
220 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
221 | -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" | ||
222 | +checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d" | ||
223 | dependencies = [ | ||
224 | "memchr", | ||
225 | ] | ||
226 | @@ -286,42 +268,31 @@ dependencies = [ | ||
227 | |||
228 | [[package]] | ||
229 | name = "either" | ||
230 | -version = "1.9.0" | ||
231 | +version = "1.15.0" | ||
232 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
233 | -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" | ||
234 | +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" | ||
235 | |||
236 | [[package]] | ||
237 | name = "errno" | ||
238 | -version = "0.3.3" | ||
239 | +version = "0.3.11" | ||
240 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
241 | -checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" | ||
242 | +checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" | ||
243 | dependencies = [ | ||
244 | - "errno-dragonfly", | ||
245 | - "libc", | ||
246 | - "windows-sys", | ||
247 | -] | ||
248 | - | ||
249 | -[[package]] | ||
250 | -name = "errno-dragonfly" | ||
251 | -version = "0.1.2" | ||
252 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
253 | -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" | ||
254 | -dependencies = [ | ||
255 | - "cc", | ||
256 | "libc", | ||
257 | + "windows-sys 0.59.0", | ||
258 | ] | ||
259 | |||
260 | [[package]] | ||
261 | name = "fastrand" | ||
262 | -version = "2.0.0" | ||
263 | +version = "2.3.0" | ||
264 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
265 | -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" | ||
266 | +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" | ||
267 | |||
268 | [[package]] | ||
269 | name = "flate2" | ||
270 | -version = "1.0.27" | ||
271 | +version = "1.1.1" | ||
272 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
273 | -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" | ||
274 | +checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" | ||
275 | dependencies = [ | ||
276 | "crc32fast", | ||
277 | "miniz_oxide", | ||
278 | @@ -338,11 +309,23 @@ dependencies = [ | ||
279 | "wasi 0.9.0+wasi-snapshot-preview1", | ||
280 | ] | ||
281 | |||
282 | +[[package]] | ||
283 | +name = "getrandom" | ||
284 | +version = "0.3.2" | ||
285 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
286 | +checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0" | ||
287 | +dependencies = [ | ||
288 | + "cfg-if", | ||
289 | + "libc", | ||
290 | + "r-efi", | ||
291 | + "wasi 0.14.2+wasi-0.2.4", | ||
292 | +] | ||
293 | + | ||
294 | [[package]] | ||
295 | name = "half" | ||
296 | -version = "1.8.2" | ||
297 | +version = "1.8.3" | ||
298 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
299 | -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" | ||
300 | +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" | ||
301 | |||
302 | [[package]] | ||
303 | name = "hashbrown" | ||
304 | @@ -368,24 +351,19 @@ dependencies = [ | ||
305 | "libc", | ||
306 | ] | ||
307 | |||
308 | -[[package]] | ||
309 | -name = "hermit-abi" | ||
310 | -version = "0.3.2" | ||
311 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
312 | -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" | ||
313 | - | ||
314 | [[package]] | ||
315 | name = "iana-time-zone" | ||
316 | -version = "0.1.57" | ||
317 | +version = "0.1.63" | ||
318 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
319 | -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" | ||
320 | +checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" | ||
321 | dependencies = [ | ||
322 | "android_system_properties", | ||
323 | "core-foundation-sys", | ||
324 | "iana-time-zone-haiku", | ||
325 | "js-sys", | ||
326 | + "log", | ||
327 | "wasm-bindgen", | ||
328 | - "windows", | ||
329 | + "windows-core", | ||
330 | ] | ||
331 | |||
332 | [[package]] | ||
333 | @@ -418,16 +396,17 @@ dependencies = [ | ||
334 | |||
335 | [[package]] | ||
336 | name = "itoa" | ||
337 | -version = "1.0.9" | ||
338 | +version = "1.0.15" | ||
339 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
340 | -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" | ||
341 | +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" | ||
342 | |||
343 | [[package]] | ||
344 | name = "js-sys" | ||
345 | -version = "0.3.64" | ||
346 | +version = "0.3.77" | ||
347 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
348 | -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" | ||
349 | +checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" | ||
350 | dependencies = [ | ||
351 | + "once_cell", | ||
352 | "wasm-bindgen", | ||
353 | ] | ||
354 | |||
355 | @@ -445,100 +424,81 @@ dependencies = [ | ||
356 | |||
357 | [[package]] | ||
358 | name = "lazy_static" | ||
359 | -version = "1.4.0" | ||
360 | +version = "1.5.0" | ||
361 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
362 | -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" | ||
363 | +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" | ||
364 | |||
365 | [[package]] | ||
366 | name = "libc" | ||
367 | -version = "0.2.147" | ||
368 | +version = "0.2.171" | ||
369 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
370 | -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" | ||
371 | +checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" | ||
372 | |||
373 | [[package]] | ||
374 | name = "linux-raw-sys" | ||
375 | -version = "0.4.7" | ||
376 | +version = "0.9.3" | ||
377 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
378 | -checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" | ||
379 | +checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" | ||
380 | |||
381 | [[package]] | ||
382 | name = "log" | ||
383 | -version = "0.4.20" | ||
384 | +version = "0.4.27" | ||
385 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
386 | -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" | ||
387 | +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" | ||
388 | |||
389 | [[package]] | ||
390 | name = "memchr" | ||
391 | -version = "2.6.3" | ||
392 | +version = "2.7.4" | ||
393 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
394 | -checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" | ||
395 | - | ||
396 | -[[package]] | ||
397 | -name = "memoffset" | ||
398 | -version = "0.9.0" | ||
399 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
400 | -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" | ||
401 | -dependencies = [ | ||
402 | - "autocfg", | ||
403 | -] | ||
404 | +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" | ||
405 | |||
406 | [[package]] | ||
407 | name = "miniz_oxide" | ||
408 | -version = "0.7.1" | ||
409 | +version = "0.8.7" | ||
410 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
411 | -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" | ||
412 | +checksum = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430" | ||
413 | dependencies = [ | ||
414 | - "adler", | ||
415 | + "adler2", | ||
416 | ] | ||
417 | |||
418 | [[package]] | ||
419 | name = "mio" | ||
420 | -version = "0.8.8" | ||
421 | +version = "0.8.11" | ||
422 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
423 | -checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" | ||
424 | +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" | ||
425 | dependencies = [ | ||
426 | "libc", | ||
427 | "log", | ||
428 | "wasi 0.11.0+wasi-snapshot-preview1", | ||
429 | - "windows-sys", | ||
430 | + "windows-sys 0.48.0", | ||
431 | ] | ||
432 | |||
433 | [[package]] | ||
434 | name = "num-traits" | ||
435 | -version = "0.2.16" | ||
436 | +version = "0.2.19" | ||
437 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
438 | -checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" | ||
439 | +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | ||
440 | dependencies = [ | ||
441 | "autocfg", | ||
442 | ] | ||
443 | |||
444 | -[[package]] | ||
445 | -name = "num_cpus" | ||
446 | -version = "1.16.0" | ||
447 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
448 | -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" | ||
449 | -dependencies = [ | ||
450 | - "hermit-abi 0.3.2", | ||
451 | - "libc", | ||
452 | -] | ||
453 | - | ||
454 | [[package]] | ||
455 | name = "once_cell" | ||
456 | -version = "1.18.0" | ||
457 | +version = "1.21.3" | ||
458 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
459 | -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" | ||
460 | +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" | ||
461 | |||
462 | [[package]] | ||
463 | name = "oorandom" | ||
464 | -version = "11.1.3" | ||
465 | +version = "11.1.5" | ||
466 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
467 | -checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" | ||
468 | +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" | ||
469 | |||
470 | [[package]] | ||
471 | name = "plotters" | ||
472 | -version = "0.3.5" | ||
473 | +version = "0.3.7" | ||
474 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
475 | -checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" | ||
476 | +checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" | ||
477 | dependencies = [ | ||
478 | "num-traits", | ||
479 | "plotters-backend", | ||
480 | @@ -549,24 +509,27 @@ dependencies = [ | ||
481 | |||
482 | [[package]] | ||
483 | name = "plotters-backend" | ||
484 | -version = "0.3.5" | ||
485 | +version = "0.3.7" | ||
486 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
487 | -checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609" | ||
488 | +checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" | ||
489 | |||
490 | [[package]] | ||
491 | name = "plotters-svg" | ||
492 | -version = "0.3.5" | ||
493 | +version = "0.3.7" | ||
494 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
495 | -checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab" | ||
496 | +checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" | ||
497 | dependencies = [ | ||
498 | "plotters-backend", | ||
499 | ] | ||
500 | |||
501 | [[package]] | ||
502 | name = "ppv-lite86" | ||
503 | -version = "0.2.17" | ||
504 | +version = "0.2.21" | ||
505 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
506 | -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" | ||
507 | +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" | ||
508 | +dependencies = [ | ||
509 | + "zerocopy", | ||
510 | +] | ||
511 | |||
512 | [[package]] | ||
513 | name = "proc-macro-error" | ||
514 | @@ -594,29 +557,35 @@ dependencies = [ | ||
515 | |||
516 | [[package]] | ||
517 | name = "proc-macro2" | ||
518 | -version = "1.0.85" | ||
519 | +version = "1.0.94" | ||
520 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
521 | -checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" | ||
522 | +checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" | ||
523 | dependencies = [ | ||
524 | "unicode-ident", | ||
525 | ] | ||
526 | |||
527 | [[package]] | ||
528 | name = "quote" | ||
529 | -version = "1.0.36" | ||
530 | +version = "1.0.40" | ||
531 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
532 | -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" | ||
533 | +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" | ||
534 | dependencies = [ | ||
535 | "proc-macro2", | ||
536 | ] | ||
537 | |||
538 | +[[package]] | ||
539 | +name = "r-efi" | ||
540 | +version = "5.2.0" | ||
541 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
542 | +checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" | ||
543 | + | ||
544 | [[package]] | ||
545 | name = "rand" | ||
546 | version = "0.7.3" | ||
547 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
548 | checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" | ||
549 | dependencies = [ | ||
550 | - "getrandom", | ||
551 | + "getrandom 0.1.16", | ||
552 | "libc", | ||
553 | "rand_chacha", | ||
554 | "rand_core", | ||
555 | @@ -639,7 +608,7 @@ version = "0.5.1" | ||
556 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
557 | checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" | ||
558 | dependencies = [ | ||
559 | - "getrandom", | ||
560 | + "getrandom 0.1.16", | ||
561 | ] | ||
562 | |||
563 | [[package]] | ||
564 | @@ -653,9 +622,9 @@ dependencies = [ | ||
565 | |||
566 | [[package]] | ||
567 | name = "rayon" | ||
568 | -version = "1.7.0" | ||
569 | +version = "1.10.0" | ||
570 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
571 | -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" | ||
572 | +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" | ||
573 | dependencies = [ | ||
574 | "either", | ||
575 | "rayon-core", | ||
576 | @@ -663,30 +632,19 @@ dependencies = [ | ||
577 | |||
578 | [[package]] | ||
579 | name = "rayon-core" | ||
580 | -version = "1.11.0" | ||
581 | +version = "1.12.1" | ||
582 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
583 | -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" | ||
584 | +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" | ||
585 | dependencies = [ | ||
586 | - "crossbeam-channel", | ||
587 | "crossbeam-deque", | ||
588 | "crossbeam-utils", | ||
589 | - "num_cpus", | ||
590 | -] | ||
591 | - | ||
592 | -[[package]] | ||
593 | -name = "redox_syscall" | ||
594 | -version = "0.3.5" | ||
595 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
596 | -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" | ||
597 | -dependencies = [ | ||
598 | - "bitflags 1.3.2", | ||
599 | ] | ||
600 | |||
601 | [[package]] | ||
602 | name = "regex" | ||
603 | -version = "1.9.5" | ||
604 | +version = "1.11.1" | ||
605 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
606 | -checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" | ||
607 | +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" | ||
608 | dependencies = [ | ||
609 | "aho-corasick", | ||
610 | "memchr", | ||
611 | @@ -696,9 +654,9 @@ dependencies = [ | ||
612 | |||
613 | [[package]] | ||
614 | name = "regex-automata" | ||
615 | -version = "0.3.8" | ||
616 | +version = "0.4.9" | ||
617 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
618 | -checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" | ||
619 | +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" | ||
620 | dependencies = [ | ||
621 | "aho-corasick", | ||
622 | "memchr", | ||
623 | @@ -707,9 +665,9 @@ dependencies = [ | ||
624 | |||
625 | [[package]] | ||
626 | name = "regex-syntax" | ||
627 | -version = "0.7.5" | ||
628 | +version = "0.8.5" | ||
629 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
630 | -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" | ||
631 | +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" | ||
632 | |||
633 | [[package]] | ||
634 | name = "roxmltree" | ||
635 | @@ -722,22 +680,28 @@ dependencies = [ | ||
636 | |||
637 | [[package]] | ||
638 | name = "rustix" | ||
639 | -version = "0.38.13" | ||
640 | +version = "1.0.5" | ||
641 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
642 | -checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662" | ||
643 | +checksum = "d97817398dd4bb2e6da002002db259209759911da105da92bec29ccb12cf58bf" | ||
644 | dependencies = [ | ||
645 | - "bitflags 2.4.0", | ||
646 | + "bitflags 2.9.0", | ||
647 | "errno", | ||
648 | "libc", | ||
649 | "linux-raw-sys", | ||
650 | - "windows-sys", | ||
651 | + "windows-sys 0.59.0", | ||
652 | ] | ||
653 | |||
654 | +[[package]] | ||
655 | +name = "rustversion" | ||
656 | +version = "1.0.20" | ||
657 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
658 | +checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" | ||
659 | + | ||
660 | [[package]] | ||
661 | name = "ryu" | ||
662 | -version = "1.0.15" | ||
663 | +version = "1.0.20" | ||
664 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
665 | -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" | ||
666 | +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" | ||
667 | |||
668 | [[package]] | ||
669 | name = "same-file" | ||
670 | @@ -748,17 +712,11 @@ dependencies = [ | ||
671 | "winapi-util", | ||
672 | ] | ||
673 | |||
674 | -[[package]] | ||
675 | -name = "scopeguard" | ||
676 | -version = "1.2.0" | ||
677 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
678 | -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | ||
679 | - | ||
680 | [[package]] | ||
681 | name = "serde" | ||
682 | -version = "1.0.203" | ||
683 | +version = "1.0.219" | ||
684 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
685 | -checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" | ||
686 | +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" | ||
687 | dependencies = [ | ||
688 | "serde_derive", | ||
689 | ] | ||
690 | @@ -784,22 +742,23 @@ dependencies = [ | ||
691 | |||
692 | [[package]] | ||
693 | name = "serde_derive" | ||
694 | -version = "1.0.203" | ||
695 | +version = "1.0.219" | ||
696 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
697 | -checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" | ||
698 | +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | ||
699 | dependencies = [ | ||
700 | "proc-macro2", | ||
701 | "quote", | ||
702 | - "syn 2.0.66", | ||
703 | + "syn 2.0.100", | ||
704 | ] | ||
705 | |||
706 | [[package]] | ||
707 | name = "serde_json" | ||
708 | -version = "1.0.117" | ||
709 | +version = "1.0.140" | ||
710 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
711 | -checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3" | ||
712 | +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" | ||
713 | dependencies = [ | ||
714 | "itoa", | ||
715 | + "memchr", | ||
716 | "ryu", | ||
717 | "serde", | ||
718 | ] | ||
719 | @@ -817,6 +776,12 @@ dependencies = [ | ||
720 | "unsafe-libyaml", | ||
721 | ] | ||
722 | |||
723 | +[[package]] | ||
724 | +name = "shlex" | ||
725 | +version = "1.3.0" | ||
726 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
727 | +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" | ||
728 | + | ||
729 | [[package]] | ||
730 | name = "stderrlog" | ||
731 | version = "0.5.4" | ||
732 | @@ -873,9 +838,9 @@ dependencies = [ | ||
733 | |||
734 | [[package]] | ||
735 | name = "syn" | ||
736 | -version = "2.0.66" | ||
737 | +version = "2.0.100" | ||
738 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
739 | -checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" | ||
740 | +checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" | ||
741 | dependencies = [ | ||
742 | "proc-macro2", | ||
743 | "quote", | ||
744 | @@ -884,15 +849,15 @@ dependencies = [ | ||
745 | |||
746 | [[package]] | ||
747 | name = "tempfile" | ||
748 | -version = "3.8.0" | ||
749 | +version = "3.19.1" | ||
750 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
751 | -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" | ||
752 | +checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf" | ||
753 | dependencies = [ | ||
754 | - "cfg-if", | ||
755 | "fastrand", | ||
756 | - "redox_syscall", | ||
757 | + "getrandom 0.3.2", | ||
758 | + "once_cell", | ||
759 | "rustix", | ||
760 | - "windows-sys", | ||
761 | + "windows-sys 0.59.0", | ||
762 | ] | ||
763 | |||
764 | [[package]] | ||
765 | @@ -915,29 +880,29 @@ dependencies = [ | ||
766 | |||
767 | [[package]] | ||
768 | name = "thiserror" | ||
769 | -version = "1.0.48" | ||
770 | +version = "1.0.69" | ||
771 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
772 | -checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7" | ||
773 | +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" | ||
774 | dependencies = [ | ||
775 | "thiserror-impl", | ||
776 | ] | ||
777 | |||
778 | [[package]] | ||
779 | name = "thiserror-impl" | ||
780 | -version = "1.0.48" | ||
781 | +version = "1.0.69" | ||
782 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
783 | -checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" | ||
784 | +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" | ||
785 | dependencies = [ | ||
786 | "proc-macro2", | ||
787 | "quote", | ||
788 | - "syn 2.0.66", | ||
789 | + "syn 2.0.100", | ||
790 | ] | ||
791 | |||
792 | [[package]] | ||
793 | name = "thread_local" | ||
794 | -version = "1.1.7" | ||
795 | +version = "1.1.8" | ||
796 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
797 | -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" | ||
798 | +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" | ||
799 | dependencies = [ | ||
800 | "cfg-if", | ||
801 | "once_cell", | ||
802 | @@ -964,27 +929,27 @@ dependencies = [ | ||
803 | |||
804 | [[package]] | ||
805 | name = "unicode-ident" | ||
806 | -version = "1.0.11" | ||
807 | +version = "1.0.18" | ||
808 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
809 | -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" | ||
810 | +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" | ||
811 | |||
812 | [[package]] | ||
813 | name = "unicode-segmentation" | ||
814 | -version = "1.10.1" | ||
815 | +version = "1.12.0" | ||
816 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
817 | -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" | ||
818 | +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" | ||
819 | |||
820 | [[package]] | ||
821 | name = "unicode-width" | ||
822 | -version = "0.1.10" | ||
823 | +version = "0.1.14" | ||
824 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
825 | -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" | ||
826 | +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" | ||
827 | |||
828 | [[package]] | ||
829 | name = "unsafe-libyaml" | ||
830 | -version = "0.2.9" | ||
831 | +version = "0.2.11" | ||
832 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
833 | -checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa" | ||
834 | +checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" | ||
835 | |||
836 | [[package]] | ||
837 | name = "vec_map" | ||
838 | @@ -994,15 +959,15 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" | ||
839 | |||
840 | [[package]] | ||
841 | name = "version_check" | ||
842 | -version = "0.9.4" | ||
843 | +version = "0.9.5" | ||
844 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
845 | -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" | ||
846 | +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | ||
847 | |||
848 | [[package]] | ||
849 | name = "walkdir" | ||
850 | -version = "2.4.0" | ||
851 | +version = "2.5.0" | ||
852 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
853 | -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" | ||
854 | +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" | ||
855 | dependencies = [ | ||
856 | "same-file", | ||
857 | "winapi-util", | ||
858 | @@ -1020,36 +985,46 @@ version = "0.11.0+wasi-snapshot-preview1" | ||
859 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
860 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | ||
861 | |||
862 | +[[package]] | ||
863 | +name = "wasi" | ||
864 | +version = "0.14.2+wasi-0.2.4" | ||
865 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
866 | +checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" | ||
867 | +dependencies = [ | ||
868 | + "wit-bindgen-rt", | ||
869 | +] | ||
870 | + | ||
871 | [[package]] | ||
872 | name = "wasm-bindgen" | ||
873 | -version = "0.2.87" | ||
874 | +version = "0.2.100" | ||
875 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
876 | -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" | ||
877 | +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" | ||
878 | dependencies = [ | ||
879 | "cfg-if", | ||
880 | + "once_cell", | ||
881 | + "rustversion", | ||
882 | "wasm-bindgen-macro", | ||
883 | ] | ||
884 | |||
885 | [[package]] | ||
886 | name = "wasm-bindgen-backend" | ||
887 | -version = "0.2.87" | ||
888 | +version = "0.2.100" | ||
889 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
890 | -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" | ||
891 | +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" | ||
892 | dependencies = [ | ||
893 | "bumpalo", | ||
894 | "log", | ||
895 | - "once_cell", | ||
896 | "proc-macro2", | ||
897 | "quote", | ||
898 | - "syn 2.0.66", | ||
899 | + "syn 2.0.100", | ||
900 | "wasm-bindgen-shared", | ||
901 | ] | ||
902 | |||
903 | [[package]] | ||
904 | name = "wasm-bindgen-macro" | ||
905 | -version = "0.2.87" | ||
906 | +version = "0.2.100" | ||
907 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
908 | -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" | ||
909 | +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" | ||
910 | dependencies = [ | ||
911 | "quote", | ||
912 | "wasm-bindgen-macro-support", | ||
913 | @@ -1057,28 +1032,31 @@ dependencies = [ | ||
914 | |||
915 | [[package]] | ||
916 | name = "wasm-bindgen-macro-support" | ||
917 | -version = "0.2.87" | ||
918 | +version = "0.2.100" | ||
919 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
920 | -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" | ||
921 | +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" | ||
922 | dependencies = [ | ||
923 | "proc-macro2", | ||
924 | "quote", | ||
925 | - "syn 2.0.66", | ||
926 | + "syn 2.0.100", | ||
927 | "wasm-bindgen-backend", | ||
928 | "wasm-bindgen-shared", | ||
929 | ] | ||
930 | |||
931 | [[package]] | ||
932 | name = "wasm-bindgen-shared" | ||
933 | -version = "0.2.87" | ||
934 | +version = "0.2.100" | ||
935 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
936 | -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" | ||
937 | +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" | ||
938 | +dependencies = [ | ||
939 | + "unicode-ident", | ||
940 | +] | ||
941 | |||
942 | [[package]] | ||
943 | name = "web-sys" | ||
944 | -version = "0.3.64" | ||
945 | +version = "0.3.77" | ||
946 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
947 | -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" | ||
948 | +checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" | ||
949 | dependencies = [ | ||
950 | "js-sys", | ||
951 | "wasm-bindgen", | ||
952 | @@ -1102,11 +1080,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||
953 | |||
954 | [[package]] | ||
955 | name = "winapi-util" | ||
956 | -version = "0.1.5" | ||
957 | +version = "0.1.9" | ||
958 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
959 | -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" | ||
960 | +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" | ||
961 | dependencies = [ | ||
962 | - "winapi", | ||
963 | + "windows-sys 0.59.0", | ||
964 | ] | ||
965 | |||
966 | [[package]] | ||
967 | @@ -1116,12 +1094,62 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | ||
968 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
969 | |||
970 | [[package]] | ||
971 | -name = "windows" | ||
972 | -version = "0.48.0" | ||
973 | +name = "windows-core" | ||
974 | +version = "0.61.0" | ||
975 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
976 | +checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" | ||
977 | +dependencies = [ | ||
978 | + "windows-implement", | ||
979 | + "windows-interface", | ||
980 | + "windows-link", | ||
981 | + "windows-result", | ||
982 | + "windows-strings", | ||
983 | +] | ||
984 | + | ||
985 | +[[package]] | ||
986 | +name = "windows-implement" | ||
987 | +version = "0.60.0" | ||
988 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
989 | +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" | ||
990 | +dependencies = [ | ||
991 | + "proc-macro2", | ||
992 | + "quote", | ||
993 | + "syn 2.0.100", | ||
994 | +] | ||
995 | + | ||
996 | +[[package]] | ||
997 | +name = "windows-interface" | ||
998 | +version = "0.59.1" | ||
999 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1000 | -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" | ||
1001 | +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" | ||
1002 | dependencies = [ | ||
1003 | - "windows-targets", | ||
1004 | + "proc-macro2", | ||
1005 | + "quote", | ||
1006 | + "syn 2.0.100", | ||
1007 | +] | ||
1008 | + | ||
1009 | +[[package]] | ||
1010 | +name = "windows-link" | ||
1011 | +version = "0.1.1" | ||
1012 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1013 | +checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" | ||
1014 | + | ||
1015 | +[[package]] | ||
1016 | +name = "windows-result" | ||
1017 | +version = "0.3.2" | ||
1018 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1019 | +checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" | ||
1020 | +dependencies = [ | ||
1021 | + "windows-link", | ||
1022 | +] | ||
1023 | + | ||
1024 | +[[package]] | ||
1025 | +name = "windows-strings" | ||
1026 | +version = "0.4.0" | ||
1027 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1028 | +checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" | ||
1029 | +dependencies = [ | ||
1030 | + "windows-link", | ||
1031 | ] | ||
1032 | |||
1033 | [[package]] | ||
1034 | @@ -1130,7 +1158,16 @@ version = "0.48.0" | ||
1035 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1036 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" | ||
1037 | dependencies = [ | ||
1038 | - "windows-targets", | ||
1039 | + "windows-targets 0.48.5", | ||
1040 | +] | ||
1041 | + | ||
1042 | +[[package]] | ||
1043 | +name = "windows-sys" | ||
1044 | +version = "0.59.0" | ||
1045 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1046 | +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" | ||
1047 | +dependencies = [ | ||
1048 | + "windows-targets 0.52.6", | ||
1049 | ] | ||
1050 | |||
1051 | [[package]] | ||
1052 | @@ -1139,13 +1176,29 @@ version = "0.48.5" | ||
1053 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1054 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" | ||
1055 | dependencies = [ | ||
1056 | - "windows_aarch64_gnullvm", | ||
1057 | - "windows_aarch64_msvc", | ||
1058 | - "windows_i686_gnu", | ||
1059 | - "windows_i686_msvc", | ||
1060 | - "windows_x86_64_gnu", | ||
1061 | - "windows_x86_64_gnullvm", | ||
1062 | - "windows_x86_64_msvc", | ||
1063 | + "windows_aarch64_gnullvm 0.48.5", | ||
1064 | + "windows_aarch64_msvc 0.48.5", | ||
1065 | + "windows_i686_gnu 0.48.5", | ||
1066 | + "windows_i686_msvc 0.48.5", | ||
1067 | + "windows_x86_64_gnu 0.48.5", | ||
1068 | + "windows_x86_64_gnullvm 0.48.5", | ||
1069 | + "windows_x86_64_msvc 0.48.5", | ||
1070 | +] | ||
1071 | + | ||
1072 | +[[package]] | ||
1073 | +name = "windows-targets" | ||
1074 | +version = "0.52.6" | ||
1075 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1076 | +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" | ||
1077 | +dependencies = [ | ||
1078 | + "windows_aarch64_gnullvm 0.52.6", | ||
1079 | + "windows_aarch64_msvc 0.52.6", | ||
1080 | + "windows_i686_gnu 0.52.6", | ||
1081 | + "windows_i686_gnullvm", | ||
1082 | + "windows_i686_msvc 0.52.6", | ||
1083 | + "windows_x86_64_gnu 0.52.6", | ||
1084 | + "windows_x86_64_gnullvm 0.52.6", | ||
1085 | + "windows_x86_64_msvc 0.52.6", | ||
1086 | ] | ||
1087 | |||
1088 | [[package]] | ||
1089 | @@ -1154,50 +1207,127 @@ version = "0.48.5" | ||
1090 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1091 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" | ||
1092 | |||
1093 | +[[package]] | ||
1094 | +name = "windows_aarch64_gnullvm" | ||
1095 | +version = "0.52.6" | ||
1096 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1097 | +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" | ||
1098 | + | ||
1099 | [[package]] | ||
1100 | name = "windows_aarch64_msvc" | ||
1101 | version = "0.48.5" | ||
1102 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1103 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" | ||
1104 | |||
1105 | +[[package]] | ||
1106 | +name = "windows_aarch64_msvc" | ||
1107 | +version = "0.52.6" | ||
1108 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1109 | +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" | ||
1110 | + | ||
1111 | [[package]] | ||
1112 | name = "windows_i686_gnu" | ||
1113 | version = "0.48.5" | ||
1114 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1115 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" | ||
1116 | |||
1117 | +[[package]] | ||
1118 | +name = "windows_i686_gnu" | ||
1119 | +version = "0.52.6" | ||
1120 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1121 | +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" | ||
1122 | + | ||
1123 | +[[package]] | ||
1124 | +name = "windows_i686_gnullvm" | ||
1125 | +version = "0.52.6" | ||
1126 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1127 | +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" | ||
1128 | + | ||
1129 | [[package]] | ||
1130 | name = "windows_i686_msvc" | ||
1131 | version = "0.48.5" | ||
1132 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1133 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" | ||
1134 | |||
1135 | +[[package]] | ||
1136 | +name = "windows_i686_msvc" | ||
1137 | +version = "0.52.6" | ||
1138 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1139 | +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" | ||
1140 | + | ||
1141 | [[package]] | ||
1142 | name = "windows_x86_64_gnu" | ||
1143 | version = "0.48.5" | ||
1144 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1145 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" | ||
1146 | |||
1147 | +[[package]] | ||
1148 | +name = "windows_x86_64_gnu" | ||
1149 | +version = "0.52.6" | ||
1150 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1151 | +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" | ||
1152 | + | ||
1153 | [[package]] | ||
1154 | name = "windows_x86_64_gnullvm" | ||
1155 | version = "0.48.5" | ||
1156 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1157 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" | ||
1158 | |||
1159 | +[[package]] | ||
1160 | +name = "windows_x86_64_gnullvm" | ||
1161 | +version = "0.52.6" | ||
1162 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1163 | +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" | ||
1164 | + | ||
1165 | [[package]] | ||
1166 | name = "windows_x86_64_msvc" | ||
1167 | version = "0.48.5" | ||
1168 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1169 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" | ||
1170 | |||
1171 | +[[package]] | ||
1172 | +name = "windows_x86_64_msvc" | ||
1173 | +version = "0.52.6" | ||
1174 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1175 | +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" | ||
1176 | + | ||
1177 | +[[package]] | ||
1178 | +name = "wit-bindgen-rt" | ||
1179 | +version = "0.39.0" | ||
1180 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1181 | +checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" | ||
1182 | +dependencies = [ | ||
1183 | + "bitflags 2.9.0", | ||
1184 | +] | ||
1185 | + | ||
1186 | [[package]] | ||
1187 | name = "xml-rs" | ||
1188 | -version = "0.8.18" | ||
1189 | +version = "0.8.25" | ||
1190 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1191 | -checksum = "bab77e97b50aee93da431f2cee7cd0f43b4d1da3c408042f2d7d164187774f0a" | ||
1192 | +checksum = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4" | ||
1193 | |||
1194 | [[package]] | ||
1195 | name = "xmlparser" | ||
1196 | -version = "0.13.5" | ||
1197 | +version = "0.13.6" | ||
1198 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1199 | -checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd" | ||
1200 | +checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4" | ||
1201 | + | ||
1202 | +[[package]] | ||
1203 | +name = "zerocopy" | ||
1204 | +version = "0.8.24" | ||
1205 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1206 | +checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879" | ||
1207 | +dependencies = [ | ||
1208 | + "zerocopy-derive", | ||
1209 | +] | ||
1210 | + | ||
1211 | +[[package]] | ||
1212 | +name = "zerocopy-derive" | ||
1213 | +version = "0.8.24" | ||
1214 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1215 | +checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be" | ||
1216 | +dependencies = [ | ||
1217 | + "proc-macro2", | ||
1218 | + "quote", | ||
1219 | + "syn 2.0.100", | ||
1220 | +] | ||
1221 | diff --git a/Cargo.toml b/Cargo.toml | ||
1222 | index d702030..5ee83a1 100644 | ||
1223 | --- a/Cargo.toml | ||
1224 | +++ b/Cargo.toml | ||
1225 | @@ -129,7 +129,7 @@ version = ">= 0.4, < 0.6" | ||
1226 | version = "0.3" | ||
1227 | |||
1228 | [dependencies.tempfile] | ||
1229 | -version = "3.2" | ||
1230 | +version = "3" | ||
1231 | |||
1232 | [dependencies.toml] | ||
1233 | version = "0.5" | ||
1234 | @@ -138,4 +138,4 @@ version = "0.5" | ||
1235 | version = "0.3.0" | ||
1236 | |||
1237 | [dev-dependencies.tempfile] | ||
1238 | -version = "3.2" | ||
1239 | +version = "3" | ||
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch new file mode 100644 index 0000000000..1e2cdacf4c --- /dev/null +++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch | |||
@@ -0,0 +1,172 @@ | |||
1 | From f453ec77fa9e6fd961a1f5f0b221260a5a21bba2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
3 | Date: Tue, 27 Aug 2024 14:08:47 +0300 | ||
4 | Subject: [PATCH] deqp-runner: drop zstd support | ||
5 | |||
6 | Building zstd-sys results in the "foo contains reference to TMPDIR" QA | ||
7 | error. Revert commit 1adddf3aa89f21b472d8046347ccdfa4612f141b to drop | ||
8 | zstd dependency. | ||
9 | |||
10 | Upstream-Status: Inappropriate [oe specific] | ||
11 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
12 | --- | ||
13 | Cargo.lock | 45 --------------------------------------------- | ||
14 | Cargo.toml | 3 --- | ||
15 | src/lib.rs | 31 +++++++------------------------ | ||
16 | 3 files changed, 7 insertions(+), 72 deletions(-) | ||
17 | |||
18 | diff --git a/Cargo.lock b/Cargo.lock | ||
19 | index 8443695e2bd5..50924576a8e3 100644 | ||
20 | --- a/Cargo.lock | ||
21 | +++ b/Cargo.lock | ||
22 | @@ -94,7 +94,6 @@ version = "1.0.83" | ||
23 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
24 | checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" | ||
25 | dependencies = [ | ||
26 | - "jobserver", | ||
27 | "libc", | ||
28 | ] | ||
29 | |||
30 | @@ -271,7 +270,6 @@ dependencies = [ | ||
31 | "structopt", | ||
32 | "tempfile", | ||
33 | "toml", | ||
34 | - "zstd", | ||
35 | ] | ||
36 | |||
37 | [[package]] | ||
38 | @@ -423,15 +421,6 @@ version = "1.0.9" | ||
39 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
40 | checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" | ||
41 | |||
42 | -[[package]] | ||
43 | -name = "jobserver" | ||
44 | -version = "0.1.31" | ||
45 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
46 | -checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" | ||
47 | -dependencies = [ | ||
48 | - "libc", | ||
49 | -] | ||
50 | - | ||
51 | [[package]] | ||
52 | name = "js-sys" | ||
53 | version = "0.3.64" | ||
54 | @@ -544,12 +533,6 @@ version = "11.1.3" | ||
55 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
56 | checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" | ||
57 | |||
58 | -[[package]] | ||
59 | -name = "pkg-config" | ||
60 | -version = "0.3.30" | ||
61 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
62 | -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" | ||
63 | - | ||
64 | [[package]] | ||
65 | name = "plotters" | ||
66 | version = "0.3.5" | ||
67 | @@ -1217,31 +1200,3 @@ name = "xmlparser" | ||
68 | version = "0.13.5" | ||
69 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
70 | checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd" | ||
71 | - | ||
72 | -[[package]] | ||
73 | -name = "zstd" | ||
74 | -version = "0.13.1" | ||
75 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
76 | -checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" | ||
77 | -dependencies = [ | ||
78 | - "zstd-safe", | ||
79 | -] | ||
80 | - | ||
81 | -[[package]] | ||
82 | -name = "zstd-safe" | ||
83 | -version = "7.1.0" | ||
84 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
85 | -checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" | ||
86 | -dependencies = [ | ||
87 | - "zstd-sys", | ||
88 | -] | ||
89 | - | ||
90 | -[[package]] | ||
91 | -name = "zstd-sys" | ||
92 | -version = "2.0.10+zstd.1.5.6" | ||
93 | -source = "registry+https://github.com/rust-lang/crates.io-index" | ||
94 | -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" | ||
95 | -dependencies = [ | ||
96 | - "cc", | ||
97 | - "pkg-config", | ||
98 | -] | ||
99 | diff --git a/Cargo.toml b/Cargo.toml | ||
100 | index ac6295763e87..1fa1344a3105 100644 | ||
101 | --- a/Cargo.toml | ||
102 | +++ b/Cargo.toml | ||
103 | @@ -120,9 +120,6 @@ version = "3.2" | ||
104 | [dependencies.toml] | ||
105 | version = "0.5" | ||
106 | |||
107 | -[dependencies.zstd] | ||
108 | -version = "0.13.0" | ||
109 | - | ||
110 | [dev-dependencies.criterion] | ||
111 | version = "0.3.0" | ||
112 | |||
113 | diff --git a/src/lib.rs b/src/lib.rs | ||
114 | index e7095267f1cd..ff7bc4f5d025 100644 | ||
115 | --- a/src/lib.rs | ||
116 | +++ b/src/lib.rs | ||
117 | @@ -63,7 +63,6 @@ use rayon::prelude::*; | ||
118 | use regex::RegexSet; | ||
119 | use serde::{Deserialize, Serialize}; | ||
120 | use std::collections::HashMap; | ||
121 | -use std::ffi::OsStr; | ||
122 | use std::fs::File; | ||
123 | use std::io::prelude::*; | ||
124 | use std::io::BufReader; | ||
125 | @@ -76,7 +75,6 @@ use std::time::Duration; | ||
126 | use std::time::Instant; | ||
127 | use structopt::StructOpt; | ||
128 | use timeout::{TimeoutChildExt, TimeoutChildStdout, Timer}; | ||
129 | -use zstd::stream::read::Decoder; | ||
130 | |||
131 | fn parse_key_val<T, U>(s: &str) -> Result<(T, U), Box<dyn std::error::Error>> | ||
132 | where | ||
133 | @@ -1082,32 +1080,17 @@ pub fn read_lines<I: IntoIterator<Item = impl AsRef<Path>>>(files: I) -> Result< | ||
134 | let mut lines: Vec<String> = Vec::new(); | ||
135 | |||
136 | for path in files { | ||
137 | - let mut path: &Path = path.as_ref(); | ||
138 | - let mut path_compressed: PathBuf = path.to_path_buf(); | ||
139 | - | ||
140 | - // always try append zst extension (and keep existing one, e.g. .txt) | ||
141 | - let ext = if let Some(file_ext) = path.extension().and_then(|ext| ext.to_str()) { | ||
142 | - format!("{}.zst", file_ext) | ||
143 | - } else { | ||
144 | - (".zst").to_string() | ||
145 | - }; | ||
146 | - | ||
147 | - path_compressed.set_extension(ext); | ||
148 | - if path_compressed.exists() { | ||
149 | - path = path_compressed.as_ref(); | ||
150 | - } | ||
151 | - let file = File::open(path).with_context(|| format!("opening path: {}", path.display()))?; | ||
152 | - let reader: Box<dyn Read> = match path.extension().and_then(OsStr::to_str) { | ||
153 | - Some("zst") => Box::new(Decoder::new(file).unwrap()), | ||
154 | - _ => Box::new(file), | ||
155 | - }; | ||
156 | - | ||
157 | - for line in BufReader::new(reader).lines() { | ||
158 | + let path = path.as_ref(); | ||
159 | + for line in BufReader::new( | ||
160 | + File::open(path).with_context(|| format!("opening path: {}", path.display()))?, | ||
161 | + ) | ||
162 | + .lines() | ||
163 | + { | ||
164 | let line = line.with_context(|| format!("reading line from {}", path.display()))?; | ||
165 | // In newer dEQP, vk-master.txt just contains a list of .txt | ||
166 | // caselist files relative to its current path, so recursively read | ||
167 | // thoseand append their contents. | ||
168 | - if line.ends_with(".txt") || line.ends_with(".txt.zst") { | ||
169 | + if line.ends_with(".txt") { | ||
170 | let sub_path = path.parent().context("Getting path parent dir")?.join(line); | ||
171 | |||
172 | lines.extend_from_slice( | ||
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb new file mode 100644 index 0000000000..57f1635426 --- /dev/null +++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "A VK-GL-CTS/dEQP wrapper program to parallelize it across CPUs and report results against a baseline." | ||
2 | HOMEPAGE = "https://gitlab.freedesktop.org/mesa/deqp-runner" | ||
3 | LICENSE = "MIT" | ||
4 | |||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://LICENSE;md5=4f59d6446bf2e004e80df1a0937129fa\ | ||
7 | " | ||
8 | |||
9 | inherit cargo cargo-update-recipe-crates | ||
10 | |||
11 | SRC_URI += " \ | ||
12 | crate://crates.io/deqp-runner/${PV} \ | ||
13 | file://0001-deqp-runner-drop-zstd-support.patch \ | ||
14 | file://0001-cargo-Update-tempfile-to-latest-3.x.patch \ | ||
15 | file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.171 \ | ||
16 | " | ||
17 | SRC_URI[deqp-runner-0.20.3.sha256sum] = "2de4b135ed68a7f821deeedebb4084d33058b0307f1f9935e2c960430f7532e8" | ||
18 | |||
19 | require deqp-runner-crates.inc | ||
20 | |||
21 | RUSTFLAGS:append:riscv32 = " --cfg getrandom_backend=\"linux_raw\"" | ||
diff --git a/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb b/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb index 1ee2657bd0..1018e0675e 100644 --- a/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb +++ b/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb | |||
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/lucasdemarchi/dietsplash.git;branch=master;protocol= | |||
14 | 14 | ||
15 | inherit autotools | 15 | inherit autotools |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | EXTRA_OECONF = " --with-systemdsystemunitdir=${systemd_unitdir}/system \ | 18 | EXTRA_OECONF = " --with-systemdsystemunitdir=${systemd_unitdir}/system \ |
20 | --disable-staticimages --with-rootdir=${root_prefix}" | 19 | --disable-staticimages --with-rootdir=${root_prefix}" |
diff --git a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb index 398e339482..f4a257ce89 100644 --- a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb +++ b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb | |||
@@ -14,9 +14,8 @@ SRC_URI = " \ | |||
14 | 14 | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f" |
16 | 16 | ||
17 | S = "${WORKDIR}/DirectFB-examples-${PV}" | 17 | S = "${UNPACKDIR}/DirectFB-examples-${PV}" |
18 | 18 | ||
19 | inherit autotools pkgconfig | 19 | inherit autotools pkgconfig |
20 | 20 | ||
21 | SRC_URI[md5sum] = "8b60c867af295481c32a8c7fc5802307" | ||
22 | SRC_URI[sha256sum] = "9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a" | 21 | SRC_URI[sha256sum] = "9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a" |
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc b/meta-oe/recipes-graphics/directfb/directfb.inc index 4d38632e25..0dc410b2cb 100644 --- a/meta-oe/recipes-graphics/directfb/directfb.inc +++ b/meta-oe/recipes-graphics/directfb/directfb.inc | |||
@@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" |
10 | 10 | ||
11 | HOMEPAGE = "http://directfb.org" | 11 | HOMEPAGE = "http://directfb.org" |
12 | DEPENDS = "jpeg libpng freetype zlib sysfsutils" | 12 | DEPENDS = "jpeg libpng" |
13 | 13 | ||
14 | SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \ | 14 | SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \ |
15 | file://configurefix.patch \ | 15 | file://configurefix.patch \ |
@@ -24,36 +24,35 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g | |||
24 | file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ | 24 | file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ |
25 | file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \ | 25 | file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \ |
26 | file://0001-include-libgen.h-for-basename.patch \ | 26 | file://0001-include-libgen.h-for-basename.patch \ |
27 | file://0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch \ | ||
28 | file://0001-libdirect-remove-use-of-keyword-register.patch \ | ||
27 | " | 29 | " |
28 | 30 | ||
29 | S = "${WORKDIR}/DirectFB-${PV}" | 31 | S = "${UNPACKDIR}/DirectFB-${PV}" |
30 | 32 | ||
31 | LDFLAGS:append = " -lm" | 33 | LDFLAGS:append = " -lm" |
32 | 34 | ||
33 | CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" | 35 | CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" |
34 | 36 | ||
35 | # Workaround for linking issues seen with armv7a + gold | ||
36 | LDFLAGS:append:arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
37 | |||
38 | BINCONFIG = "${bindir}/directfb-config" | 37 | BINCONFIG = "${bindir}/directfb-config" |
39 | 38 | ||
40 | inherit autotools binconfig-disabled pkgconfig | 39 | inherit autotools binconfig-disabled pkgconfig |
41 | 40 | ||
42 | PACKAGECONFIG ??= "linuxinput" | 41 | PACKAGECONFIG ??= "freetype linuxinput zlib" |
43 | PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" | ||
44 | PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" | 42 | PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" |
45 | PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" | 43 | PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype" |
46 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 44 | PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper" |
47 | PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" | 45 | PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," |
48 | PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," | 46 | PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," |
49 | PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," | 47 | PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," |
50 | PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," | 48 | PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" |
49 | PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" | ||
50 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
51 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," | 51 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," |
52 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
52 | 53 | ||
53 | EXTRA_OECONF = "\ | 54 | EXTRA_OECONF = "\ |
54 | --with-gfxdrivers=none \ | 55 | --with-gfxdrivers=none \ |
55 | --enable-freetype=yes \ | ||
56 | --enable-zlib \ | ||
57 | --disable-imlib2 \ | 56 | --disable-imlib2 \ |
58 | --disable-sdl \ | 57 | --disable-sdl \ |
59 | --disable-vnc \ | 58 | --disable-vnc \ |
diff --git a/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch b/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch new file mode 100644 index 0000000000..574bba0bc7 --- /dev/null +++ b/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 18f4eca291cabf93d87e7c9051268d9c385b8f37 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 20 May 2024 18:23:06 -0700 | ||
4 | Subject: [PATCH] inputdrivers: Correct the signature of bind() call on musl | ||
5 | systems | ||
6 | |||
7 | Its flagged with GCC14 | ||
8 | |||
9 | ../../../DirectFB-1.7.7/inputdrivers/linux_input/linux_input.c:1551:27: error: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] | ||
10 | 1551 | rt = bind(socket_fd, &sock_addr, | ||
11 | | ^~~~~~~~~~ | ||
12 | | | | ||
13 | | struct sockaddr_un * | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | inputdrivers/linux_input/linux_input.c | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/inputdrivers/linux_input/linux_input.c b/inputdrivers/linux_input/linux_input.c | ||
22 | index 03deebc..207f5a5 100644 | ||
23 | --- a/inputdrivers/linux_input/linux_input.c | ||
24 | +++ b/inputdrivers/linux_input/linux_input.c | ||
25 | @@ -1548,7 +1548,7 @@ udev_hotplug_EventThread(DirectThread *thread, void * hotplug_data) | ||
26 | "/org/kernel/udev/monitor", | ||
27 | sizeof(sock_addr.sun_path) - 1); | ||
28 | |||
29 | - rt = bind(socket_fd, &sock_addr, | ||
30 | + rt = bind(socket_fd, (struct sockaddr *)&sock_addr, | ||
31 | sizeof(sock_addr.sun_family)+1+strlen(&sock_addr.sun_path[1])); | ||
32 | if (rt < 0) { | ||
33 | D_PERROR( "DirectFB/linux_input: bind() failed: %s\n", | ||
34 | -- | ||
35 | 2.45.1 | ||
36 | |||
diff --git a/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch b/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch new file mode 100644 index 0000000000..24d977f4dc --- /dev/null +++ b/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From f6cdb9f1c3dbef8ef695703a2a5fb4e92b2dd8a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Simon Barth <simon.barth@gmx.de> | ||
3 | Date: Mon, 5 Aug 2024 19:35:16 +0200 | ||
4 | Subject: [PATCH] libdirect: remove use of keyword 'register' | ||
5 | |||
6 | The 'register' keyword was removed in C++17 and is now unused and | ||
7 | reserved. When compiling code that uses DirecthFB with C++17, | ||
8 | compilation fails. | ||
9 | |||
10 | Since modern compilers likely don't produce different code whether the | ||
11 | 'register' keyword is used or not, there shouldn't be any performance | ||
12 | impact introduced by this change. | ||
13 | |||
14 | Signed-off-by: Simon Barth <simon.barth@gmx.de> | ||
15 | |||
16 | Upstream-Status: Submitted [https://github.com/deniskropp/DirectFB/pull/25] | ||
17 | --- | ||
18 | lib/direct/util.h | 4 ++-- | ||
19 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/lib/direct/util.h b/lib/direct/util.h | ||
22 | index 2109b6ca1..734645796 100644 | ||
23 | --- a/lib/direct/util.h | ||
24 | +++ b/lib/direct/util.h | ||
25 | @@ -220,7 +220,7 @@ void DIRECT_API direct_md5_sum( void *dst, const void *src, const int len ); | ||
26 | static __inline__ int | ||
27 | direct_util_count_bits( unsigned int mask ) | ||
28 | { | ||
29 | - register int ret = 0; | ||
30 | + int ret = 0; | ||
31 | |||
32 | while (mask) { | ||
33 | ret += mask & 1; | ||
34 | @@ -325,7 +325,7 @@ D_ICEIL(float f) | ||
35 | static __inline__ int | ||
36 | direct_log2( int val ) | ||
37 | { | ||
38 | - register int ret = 0; | ||
39 | + int ret = 0; | ||
40 | |||
41 | while (val >> ++ret); | ||
42 | |||
43 | -- | ||
44 | 2.25.1 | ||
diff --git a/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb b/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb index c6c070eda6..15f22697cd 100644 --- a/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb +++ b/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb | |||
@@ -4,5 +4,4 @@ RV = "1.7-7" | |||
4 | 4 | ||
5 | LEAD_SONAME = "libdirectfb-1.7.so.0" | 5 | LEAD_SONAME = "libdirectfb-1.7.so.0" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "152cf1863b1a3a28aa1370e9053440bf" | ||
8 | SRC_URI[sha256sum] = "b785c638dc31b8fe3a7c81be1475c89b2255ab3d67b777c747d3fbc52f8027a3" | 7 | SRC_URI[sha256sum] = "b785c638dc31b8fe3a7c81be1475c89b2255ab3d67b777c747d3fbc52f8027a3" |
diff --git a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb index 50504caf9f..ef6dc14ca6 100644 --- a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb +++ b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb | |||
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/manatools/dnfdragora.git;branch=stable-2.x;protocol= | |||
11 | 11 | ||
12 | SRCREV = "abbe08b7a487325182758d5285b54437a914207b" | 12 | SRCREV = "abbe08b7a487325182758d5285b54437a914207b" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit cmake gettext pkgconfig python3-dir python3native setuptools3-base mime-xdg | 15 | inherit cmake gettext pkgconfig python3-dir python3native setuptools3-base mime-xdg |
17 | 16 | ||
diff --git a/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb new file mode 100644 index 0000000000..810be40013 --- /dev/null +++ b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Small utility to dump info about DRM devices" | ||
2 | HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c" | ||
5 | |||
6 | SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https" | ||
7 | SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc" | ||
8 | |||
9 | |||
10 | inherit meson pkgconfig | ||
11 | |||
12 | DEPENDS = "json-c libdrm" | ||
diff --git a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb index 7b52ead909..72187696e3 100644 --- a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb +++ b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb | |||
@@ -7,10 +7,14 @@ DEPENDS = "libpng zlib" | |||
7 | SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master" | 7 | SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master" |
8 | 8 | ||
9 | SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8" | 9 | SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8" |
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools-brokensep | ||
13 | 10 | ||
14 | do_configure:prepend() { | 11 | do_configure:prepend() { |
15 | sed -i 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' ${S}/Makefile | 12 | sed \ |
13 | -e 's|$(DESTDIR)/usr/bin/|$(DESTDIR)${bindir}/|g' \ | ||
14 | -e 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' \ | ||
15 | -i ${S}/Makefile | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | oe_runmake 'DESTDIR=${D}' install | ||
16 | } | 20 | } |
diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_git.bb index 247a1fcbb2..2736f61004 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_git.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_git.bb | |||
@@ -21,12 +21,11 @@ SRC_URI = "git://github.com/kraxel/fbida;protocol=https;branch=master \ | |||
21 | file://0001-fbida-Include-missing-sys-types.h.patch \ | 21 | file://0001-fbida-Include-missing-sys-types.h.patch \ |
22 | " | 22 | " |
23 | SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" | 23 | SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" |
24 | S = "${WORKDIR}/git" | ||
25 | 24 | ||
26 | inherit meson pkgconfig features_check | 25 | inherit meson pkgconfig features_check |
27 | 26 | ||
28 | # Depends on libepoxy | 27 | # Depends on libepoxy |
29 | REQUIRED_DISTRO_FEATURES = "opengl" | 28 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'pdf', 'opengl', '', d)}" |
30 | 29 | ||
31 | PACKAGECONFIG ??= "gif png pdf" | 30 | PACKAGECONFIG ??= "gif png pdf" |
32 | PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib" | 31 | PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib" |
diff --git a/meta-oe/recipes-graphics/feh/feh_3.10.2.bb b/meta-oe/recipes-graphics/feh/feh_3.10.3.bb index 2c38ce614b..5ab333c60d 100644 --- a/meta-oe/recipes-graphics/feh/feh_3.10.2.bb +++ b/meta-oe/recipes-graphics/feh/feh_3.10.3.bb | |||
@@ -9,7 +9,7 @@ DEPENDS = "\ | |||
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" | 11 | SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" |
12 | SRC_URI[sha256sum] = "5f94a77de25c5398876f0cf431612d782b842f4db154d2139b778c8f196e8969" | 12 | SRC_URI[sha256sum] = "5426e2799770217af1e01c2e8c182d9ca8687d84613321d8ab4a66fe4041e9c8" |
13 | 13 | ||
14 | inherit mime-xdg features_check | 14 | inherit mime-xdg features_check |
15 | # depends on virtual/libx11 | 15 | # depends on virtual/libx11 |
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch b/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch new file mode 100644 index 0000000000..40f85e9f33 --- /dev/null +++ b/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch | |||
@@ -0,0 +1,181 @@ | |||
1 | From 216eb14b558df344b206bf82e2bdaf03a1f2f429 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Kydas <pk@canva.com> | ||
3 | Date: Tue, 6 Feb 2024 20:03:04 +1100 | ||
4 | Subject: [PATCH] fix splinefont shell command injection (#5367) | ||
5 | |||
6 | CVE: CVE-2024-25081 | ||
7 | CVE: CVE-2024-25082 | ||
8 | Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/216eb14b558df344b206bf82e2bdaf03a1f2f429] | ||
9 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
10 | --- | ||
11 | fontforge/splinefont.c | 123 +++++++++++++++++++++++++++++------------ | ||
12 | 1 file changed, 89 insertions(+), 34 deletions(-) | ||
13 | |||
14 | diff --git a/fontforge/splinefont.c b/fontforge/splinefont.c | ||
15 | index 239fdc035..647daee10 100644 | ||
16 | --- a/fontforge/splinefont.c | ||
17 | +++ b/fontforge/splinefont.c | ||
18 | @@ -788,11 +788,14 @@ return( name ); | ||
19 | |||
20 | char *Unarchive(char *name, char **_archivedir) { | ||
21 | char *dir = getenv("TMPDIR"); | ||
22 | - char *pt, *archivedir, *listfile, *listcommand, *unarchivecmd, *desiredfile; | ||
23 | + char *pt, *archivedir, *listfile, *desiredfile; | ||
24 | char *finalfile; | ||
25 | int i; | ||
26 | int doall=false; | ||
27 | static int cnt=0; | ||
28 | + gchar *command[5]; | ||
29 | + gchar *stdoutresponse = NULL; | ||
30 | + gchar *stderrresponse = NULL; | ||
31 | |||
32 | *_archivedir = NULL; | ||
33 | |||
34 | @@ -827,18 +830,30 @@ return( NULL ); | ||
35 | listfile = malloc(strlen(archivedir)+strlen("/" TOC_NAME)+1); | ||
36 | sprintf( listfile, "%s/" TOC_NAME, archivedir ); | ||
37 | |||
38 | - listcommand = malloc( strlen(archivers[i].unarchive) + 1 + | ||
39 | - strlen( archivers[i].listargs) + 1 + | ||
40 | - strlen( name ) + 3 + | ||
41 | - strlen( listfile ) +4 ); | ||
42 | - sprintf( listcommand, "%s %s %s > %s", archivers[i].unarchive, | ||
43 | - archivers[i].listargs, name, listfile ); | ||
44 | - if ( system(listcommand)!=0 ) { | ||
45 | - free(listcommand); free(listfile); | ||
46 | - ArchiveCleanup(archivedir); | ||
47 | -return( NULL ); | ||
48 | + command[0] = archivers[i].unarchive; | ||
49 | + command[1] = archivers[i].listargs; | ||
50 | + command[2] = name; | ||
51 | + command[3] = NULL; // command args need to be NULL-terminated | ||
52 | + | ||
53 | + if ( g_spawn_sync( | ||
54 | + NULL, | ||
55 | + command, | ||
56 | + NULL, | ||
57 | + G_SPAWN_SEARCH_PATH, | ||
58 | + NULL, | ||
59 | + NULL, | ||
60 | + &stdoutresponse, | ||
61 | + &stderrresponse, | ||
62 | + NULL, | ||
63 | + NULL | ||
64 | + ) == FALSE) { // did not successfully execute | ||
65 | + ArchiveCleanup(archivedir); | ||
66 | + return( NULL ); | ||
67 | } | ||
68 | - free(listcommand); | ||
69 | + // Write out the listfile to be read in later | ||
70 | + FILE *fp = fopen(listfile, "wb"); | ||
71 | + fwrite(stdoutresponse, strlen(stdoutresponse), 1, fp); | ||
72 | + fclose(fp); | ||
73 | |||
74 | desiredfile = ArchiveParseTOC(listfile, archivers[i].ars, &doall); | ||
75 | free(listfile); | ||
76 | @@ -847,22 +862,28 @@ return( NULL ); | ||
77 | return( NULL ); | ||
78 | } | ||
79 | |||
80 | - /* I tried sending everything to stdout, but that doesn't work if the */ | ||
81 | - /* output is a directory file (ufo, sfdir) */ | ||
82 | - unarchivecmd = malloc( strlen(archivers[i].unarchive) + 1 + | ||
83 | - strlen( archivers[i].listargs) + 1 + | ||
84 | - strlen( name ) + 1 + | ||
85 | - strlen( desiredfile ) + 3 + | ||
86 | - strlen( archivedir ) + 30 ); | ||
87 | - sprintf( unarchivecmd, "( cd %s ; %s %s %s %s ) > /dev/null", archivedir, | ||
88 | - archivers[i].unarchive, | ||
89 | - archivers[i].extractargs, name, doall ? "" : desiredfile ); | ||
90 | - if ( system(unarchivecmd)!=0 ) { | ||
91 | - free(unarchivecmd); free(desiredfile); | ||
92 | - ArchiveCleanup(archivedir); | ||
93 | -return( NULL ); | ||
94 | + command[0] = archivers[i].unarchive; | ||
95 | + command[1] = archivers[i].extractargs; | ||
96 | + command[2] = name; | ||
97 | + command[3] = doall ? "" : desiredfile; | ||
98 | + command[4] = NULL; | ||
99 | + | ||
100 | + if ( g_spawn_sync( | ||
101 | + (gchar*)archivedir, | ||
102 | + command, | ||
103 | + NULL, | ||
104 | + G_SPAWN_SEARCH_PATH, | ||
105 | + NULL, | ||
106 | + NULL, | ||
107 | + &stdoutresponse, | ||
108 | + &stderrresponse, | ||
109 | + NULL, | ||
110 | + NULL | ||
111 | + ) == FALSE) { // did not successfully execute | ||
112 | + free(desiredfile); | ||
113 | + ArchiveCleanup(archivedir); | ||
114 | + return( NULL ); | ||
115 | } | ||
116 | - free(unarchivecmd); | ||
117 | |||
118 | finalfile = malloc( strlen(archivedir) + 1 + strlen(desiredfile) + 1); | ||
119 | sprintf( finalfile, "%s/%s", archivedir, desiredfile ); | ||
120 | @@ -885,20 +906,54 @@ struct compressors compressors[] = { | ||
121 | |||
122 | char *Decompress(char *name, int compression) { | ||
123 | char *dir = getenv("TMPDIR"); | ||
124 | - char buf[1500]; | ||
125 | char *tmpfn; | ||
126 | - | ||
127 | + gchar *command[4]; | ||
128 | + gint stdout_pipe; | ||
129 | + gchar buffer[4096]; | ||
130 | + gssize bytes_read; | ||
131 | + GByteArray *binary_data = g_byte_array_new(); | ||
132 | + | ||
133 | if ( dir==NULL ) dir = P_tmpdir; | ||
134 | tmpfn = malloc(strlen(dir)+strlen(GFileNameTail(name))+2); | ||
135 | strcpy(tmpfn,dir); | ||
136 | strcat(tmpfn,"/"); | ||
137 | strcat(tmpfn,GFileNameTail(name)); | ||
138 | *strrchr(tmpfn,'.') = '\0'; | ||
139 | - snprintf( buf, sizeof(buf), "%s < %s > %s", compressors[compression].decomp, name, tmpfn ); | ||
140 | - if ( system(buf)==0 ) | ||
141 | -return( tmpfn ); | ||
142 | - free(tmpfn); | ||
143 | -return( NULL ); | ||
144 | + | ||
145 | + command[0] = compressors[compression].decomp; | ||
146 | + command[1] = "-c"; | ||
147 | + command[2] = name; | ||
148 | + command[3] = NULL; | ||
149 | + | ||
150 | + // Have to use async because g_spawn_sync doesn't handle nul-bytes in the output (which happens with binary data) | ||
151 | + if (g_spawn_async_with_pipes( | ||
152 | + NULL, | ||
153 | + command, | ||
154 | + NULL, | ||
155 | + G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, | ||
156 | + NULL, | ||
157 | + NULL, | ||
158 | + NULL, | ||
159 | + NULL, | ||
160 | + &stdout_pipe, | ||
161 | + NULL, | ||
162 | + NULL) == FALSE) { | ||
163 | + //command has failed | ||
164 | + return( NULL ); | ||
165 | + } | ||
166 | + | ||
167 | + // Read binary data from pipe and output to file | ||
168 | + while ((bytes_read = read(stdout_pipe, buffer, sizeof(buffer))) > 0) { | ||
169 | + g_byte_array_append(binary_data, (guint8 *)buffer, bytes_read); | ||
170 | + } | ||
171 | + close(stdout_pipe); | ||
172 | + | ||
173 | + FILE *fp = fopen(tmpfn, "wb"); | ||
174 | + fwrite(binary_data->data, sizeof(gchar), binary_data->len, fp); | ||
175 | + fclose(fp); | ||
176 | + g_byte_array_free(binary_data, TRUE); | ||
177 | + | ||
178 | + return(tmpfn); | ||
179 | } | ||
180 | |||
181 | static char *ForceFileToHaveName(FILE *file, char *exten) { | ||
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb index 31dd495fd7..af77ec913e 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | |||
@@ -20,8 +20,8 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ | |||
20 | file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \ | 20 | file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \ |
21 | file://0001-cmake-Use-alternate-way-to-detect-libm.patch \ | 21 | file://0001-cmake-Use-alternate-way-to-detect-libm.patch \ |
22 | file://0001-Fix-Translations-containing-invalid-directives-hs.patch \ | 22 | file://0001-Fix-Translations-containing-invalid-directives-hs.patch \ |
23 | file://CVE-2024-25081_CVE-2024-25082.patch \ | ||
23 | " | 24 | " |
24 | S = "${WORKDIR}/git" | ||
25 | 25 | ||
26 | EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" | 26 | EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" |
27 | PACKAGECONFIG = "readline" | 27 | PACKAGECONFIG = "readline" |
diff --git a/meta-oe/recipes-graphics/fontforge/libspiro_20221101.bb b/meta-oe/recipes-graphics/fontforge/libspiro_20240903.bb index 0adac8464e..7e07906e17 100644 --- a/meta-oe/recipes-graphics/fontforge/libspiro_20221101.bb +++ b/meta-oe/recipes-graphics/fontforge/libspiro_20240903.bb | |||
@@ -7,7 +7,10 @@ LICENSE = "GPL-3.0-or-later" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
8 | 8 | ||
9 | SRC_URI = "https://github.com/fontforge/libspiro/releases/download/${PV}/libspiro-dist-${PV}.tar.gz" | 9 | SRC_URI = "https://github.com/fontforge/libspiro/releases/download/${PV}/libspiro-dist-${PV}.tar.gz" |
10 | SRC_URI[sha256sum] = "5984fb5af3e4e1f927f3a74850b705a711fb86284802a5e6170b09786440e8be" | 10 | SRC_URI[sha256sum] = "1412a21b943c6e1db834ee2d74145aad20b3f62b12152d475613b8241d9cde10" |
11 | |||
12 | UPSTREAM_CHECK_URI = "https://github.com/fontforge/libspiro/releases" | ||
13 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+)" | ||
11 | 14 | ||
12 | inherit autotools | 15 | inherit autotools |
13 | 16 | ||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch deleted file mode 100644 index 385bff8dd1..0000000000 --- a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From e3bce98a60d6db3b719bbf5d71f732f9b86cb566 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 9 Feb 2019 08:28:09 -0800 | ||
4 | Subject: [PATCH] Explicit typecast to avoid implicit double to float | ||
5 | conversion | ||
6 | |||
7 | fixes compile errors e.g. | ||
8 | |||
9 | ../../ftgl-2.1.3~rc5/demo/simple.cpp:110:27: error: non-constant-expression cannot be narrowed from type 'double' to | ||
10 | 'float' in initializer list [-Wc++11-narrowing] | ||
11 | (t3 + 2.0) / 3, 0.3 }; | ||
12 | ^~~~~~~~~~~~~~ | ||
13 | Upstream-Status: Pending | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | demo/simple.cpp | 6 +++--- | ||
17 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
18 | |||
19 | diff --git a/demo/simple.cpp b/demo/simple.cpp | ||
20 | index 532e862..aba55b4 100644 | ||
21 | --- a/demo/simple.cpp | ||
22 | +++ b/demo/simple.cpp | ||
23 | @@ -105,9 +105,9 @@ static void RenderScene(void) | ||
24 | float t2 = sin(n / 50 + 1); | ||
25 | float t3 = sin(n / 30 + 2); | ||
26 | |||
27 | - float ambient[4] = { (t1 + 2.0) / 3, | ||
28 | - (t2 + 2.0) / 3, | ||
29 | - (t3 + 2.0) / 3, 0.3 }; | ||
30 | + float ambient[4] = { float(t1 + 2.0) / 3, | ||
31 | + float(t2 + 2.0) / 3, | ||
32 | + float(t3 + 2.0) / 3, 0.3 }; | ||
33 | float diffuse[4] = { 1.0, 0.9, 0.9, 1.0 }; | ||
34 | float specular[4] = { 1.0, 0.7, 0.7, 1.0 }; | ||
35 | float position[4] = { 100.0, 100.0, 0.0, 1.0 }; | ||
36 | -- | ||
37 | 2.20.1 | ||
38 | |||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch new file mode 100644 index 0000000000..9c91b5be19 --- /dev/null +++ b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From d11219b681a080c71e33c51c9404c28b134e1745 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 21 Aug 2024 13:50:34 -0700 | ||
4 | Subject: [PATCH] Fix type mismatch with latest FreeType | ||
5 | |||
6 | This change is intrumented due to a type change in freetype [1] with release 2.13.3 | ||
7 | |||
8 | Fixes | ||
9 | | ../../git/src/FTVectoriser.cpp:171:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'unsigned char *' | ||
10 | | 171 | char* tagList = &outline.tags[startIndex]; | ||
11 | | | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
12 | |||
13 | [1] https://gitlab.freedesktop.org/freetype/freetype/-/commit/044d142be7b6a93b6940367a1bc5847451ff4775 | ||
14 | |||
15 | Upstream-Status: Submitted [https://github.com/HamzaM3/ftgl/pull/1] | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | src/FTVectoriser.cpp | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp | ||
22 | index 26e7da8..3610215 100644 | ||
23 | --- a/src/FTVectoriser.cpp | ||
24 | +++ b/src/FTVectoriser.cpp | ||
25 | @@ -168,7 +168,7 @@ void FTVectoriser::ProcessContours() | ||
26 | for(int i = 0; i < ftContourCount; ++i) | ||
27 | { | ||
28 | FT_Vector* pointList = &outline.points[startIndex]; | ||
29 | - char* tagList = &outline.tags[startIndex]; | ||
30 | + char* tagList = (char*)&outline.tags[startIndex]; | ||
31 | |||
32 | endIndex = outline.contours[i]; | ||
33 | contourLength = (endIndex - startIndex) + 1; | ||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch deleted file mode 100644 index e5ed0bdb86..0000000000 --- a/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 8bb183926078b6dd54048fb6820838fe7b6e6163 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Sun, 23 Oct 2016 22:46:43 +0200 | ||
4 | Subject: [PATCH] use pkg-config to find freetype2 | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Inappropriate [OE specific] | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | --- | ||
13 | configure.ac | 9 +++++++-- | ||
14 | 1 file changed, 7 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 53560ea..b5bb6a3 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -41,8 +41,13 @@ AC_CHECK_FUNCS(strndup) | ||
21 | |||
22 | AC_PATH_X | ||
23 | |||
24 | -AC_CHECK_FT2([9.0.3],[], | ||
25 | - [AC_MSG_ERROR([FreeType2 is required to compile this library])]) | ||
26 | +PKG_CHECK_MODULES(FT2, freetype2, | ||
27 | + CFLAGS="$CFLAGS $FT2_CFLAGS" | ||
28 | + LIBS="$LIBS $FT2_LIBS", | ||
29 | + AC_MSG_ERROR([FreeType2 is required to compile this library]) | ||
30 | +) | ||
31 | +AC_SUBST([FT2_CFLAGS]) | ||
32 | +AC_SUBST([FT2_LIBS]) | ||
33 | |||
34 | AC_PATH_XTRA | ||
35 | |||
36 | -- | ||
37 | 2.5.5 | ||
38 | |||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch deleted file mode 100644 index 830783e204..0000000000 --- a/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From daabb4110661c4358ec73293d5c0b2106f567c1f Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Sun, 23 Oct 2016 23:54:14 +0200 | ||
4 | Subject: [PATCH] Makefile.am: remove useless and breaking code | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | --- | ||
13 | Makefile.am | 9 --------- | ||
14 | 1 file changed, 9 deletions(-) | ||
15 | |||
16 | diff --git a/Makefile.am b/Makefile.am | ||
17 | index 89a8a7f..e582a34 100644 | ||
18 | --- a/Makefile.am | ||
19 | +++ b/Makefile.am | ||
20 | @@ -24,15 +24,6 @@ EXTRA_DIST = \ | ||
21 | m4 \ | ||
22 | $(NULL) | ||
23 | |||
24 | -# Print out an informative summary. | ||
25 | -all-local: | ||
26 | - @$(ECHO) "Done." | ||
27 | - @$(ECHO) | ||
28 | - @if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \ | ||
29 | - $(ECHO) "---" ;\ | ||
30 | - $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\ | ||
31 | - fi | ||
32 | - @$(ECHO) | ||
33 | |||
34 | # Upload documentation | ||
35 | DOC = docs/html docs/latex/ftgl.pdf | ||
36 | -- | ||
37 | 2.5.5 | ||
38 | |||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb b/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb deleted file mode 100644 index 65f72747cc..0000000000 --- a/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "OpenGL frontend to Freetype 2" | ||
2 | HOMEPAGE = "https://sourceforge.net/projects/ftgl/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4" | ||
5 | |||
6 | inherit autotools pkgconfig features_check | ||
7 | |||
8 | REQUIRED_DISTRO_FEATURES = "opengl x11" | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | freetype \ | ||
12 | freeglut \ | ||
13 | " | ||
14 | |||
15 | SRC_URI = " \ | ||
16 | ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
17 | file://0001-use-pkg-config-to-find-freetype2.patch \ | ||
18 | file://0002-Makefile.am-remove-useless-and-breaking-code.patch \ | ||
19 | file://0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch \ | ||
20 | " | ||
21 | SRC_URI[md5sum] = "c7879018cde844059495b3029b0b6503" | ||
22 | SRC_URI[sha256sum] = "521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59" | ||
23 | |||
24 | S = "${WORKDIR}/ftgl-2.1.3~rc5" | ||
25 | |||
26 | # undefined reference to symbol 'sin@@GLIBC_2.4' | ||
27 | CFLAGS += "-lm" | ||
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb b/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb new file mode 100644 index 0000000000..c5c547186f --- /dev/null +++ b/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "OpenGL frontend to Freetype 2" | ||
2 | HOMEPAGE = "https://sourceforge.net/projects/ftgl/" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4" | ||
5 | |||
6 | inherit autotools pkgconfig features_check | ||
7 | |||
8 | REQUIRED_DISTRO_FEATURES = "opengl x11" | ||
9 | |||
10 | DEPENDS += " \ | ||
11 | freetype \ | ||
12 | freeglut \ | ||
13 | " | ||
14 | SRCREV = "b787042cc1d1e4861337d5f9a6727e4c6900a4f2" | ||
15 | PV .= "+git" | ||
16 | |||
17 | SRC_URI = "git://github.com/HamzaM3/ftgl;protocol=https;branch=master \ | ||
18 | file://0001-Fix-type-mismatch-with-latest-FreeType.patch" | ||
19 | |||
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch new file mode 100644 index 0000000000..356bd73f88 --- /dev/null +++ b/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From cbba378a23410241176d62f3bb43965c044615e3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Thu, 24 Nov 2022 13:06:50 +0100 | ||
4 | Subject: [PATCH 1/3] configure: Do not require support for implicit ints | ||
5 | |||
6 | Implicit ints have not been part of C since 1999, and future | ||
7 | compilers will disable support for them by default. Fortunatenly, | ||
8 | only one configure check needs adjusting. | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | acinclude.m4 | 2 +- | ||
14 | configure.ac | 2 +- | ||
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
18 | index 8b74ff1e..b66042f9 100644 | ||
19 | --- a/acinclude.m4 | ||
20 | +++ b/acinclude.m4 | ||
21 | @@ -30,7 +30,7 @@ if test "$ac_cv_func_select" = yes; then | ||
22 | #ifdef HAVE_SYS_SOCKET_H | ||
23 | #include <sys/socket.h> | ||
24 | #endif], | ||
25 | -[extern select ($ac_cv_type_fd_set_size_t, | ||
26 | +[extern int select ($ac_cv_type_fd_set_size_t, | ||
27 | $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, | ||
28 | $ac_type_timeval *);], | ||
29 | [ac_found=yes ; break 3],ac_found=no) | ||
30 | diff --git a/configure.ac b/configure.ac | ||
31 | index 97ab9e7a..c9fcede6 100644 | ||
32 | --- a/configure.ac | ||
33 | +++ b/configure.ac | ||
34 | @@ -220,7 +220,7 @@ AC_MINIX | ||
35 | |||
36 | # catch -Werror and similar options when running configure | ||
37 | AC_TRY_COMPILE([#include <stdio.h>], | ||
38 | -[int i; static j; int *p; char *c; | ||
39 | +[int i; int *p; char *c; | ||
40 | switch (*p = p = *c) { case 0: printf("%Q", c, p); } | ||
41 | *c = &i; c = p; | ||
42 | while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); | ||
43 | -- | ||
44 | 2.45.0 | ||
45 | |||
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch new file mode 100644 index 0000000000..50ecb20c72 --- /dev/null +++ b/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 51287fb60263530f61b14df5519e10dabe67d2ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Thu, 24 Nov 2022 13:07:56 +0100 | ||
4 | Subject: [PATCH 2/3] acinclude.m4: Add missing <unistd.h> to | ||
5 | AM_SAFETY_CHECK_MKSTEMP | ||
6 | |||
7 | Otherwise, the check fails on a compiler which does not support | ||
8 | implicit function declarations (a language feature removed in 1999). | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | acinclude.m4 | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
17 | index b66042f9..4dee2abe 100644 | ||
18 | --- a/acinclude.m4 | ||
19 | +++ b/acinclude.m4 | ||
20 | @@ -1154,6 +1154,9 @@ AC_DEFUN([AM_SAFETY_CHECK_MKSTEMP],[ | ||
21 | #include <stdio.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <string.h> | ||
24 | +#ifdef HAVE_UNISTD_H | ||
25 | +#include <unistd.h> | ||
26 | +#endif | ||
27 | int main(void) | ||
28 | { | ||
29 | char template[128]; | ||
30 | -- | ||
31 | 2.45.0 | ||
32 | |||
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch new file mode 100644 index 0000000000..e9d780ddc6 --- /dev/null +++ b/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 542c6f25327587d5a6bffb8a45b457ec85dcf8e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Tue, 19 Dec 2023 13:24:50 +0100 | ||
4 | Subject: [PATCH 3/3] configure: Further defang the -Werror check | ||
5 | |||
6 | Incompatible pointer types are actually errors (in the sense | ||
7 | that they are invalid C). Compilers have merely tolerated them as | ||
8 | warnings for backwards compatibility. This is changing with Clang 16 | ||
9 | and GCC 14, so relax the check a little. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | configure.ac | 5 ++--- | ||
15 | 1 file changed, 2 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index c9fcede6..2e9615b2 100644 | ||
19 | --- a/configure.ac | ||
20 | +++ b/configure.ac | ||
21 | @@ -220,9 +220,8 @@ AC_MINIX | ||
22 | |||
23 | # catch -Werror and similar options when running configure | ||
24 | AC_TRY_COMPILE([#include <stdio.h>], | ||
25 | -[int i; int *p; char *c; | ||
26 | - switch (*p = p = *c) { case 0: printf("%Q", c, p); } | ||
27 | - *c = &i; c = p; | ||
28 | +[int unused; int *p; char *c; | ||
29 | + printf("%Q", c, p); | ||
30 | while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1)); | ||
31 | ], , AC_MSG_ERROR(" | ||
32 | configure is not able to compile programs with warnings. Please | ||
33 | -- | ||
34 | 2.45.0 | ||
35 | |||
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb index 8daf38a0ba..959463e962 100644 --- a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb +++ b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb | |||
@@ -34,11 +34,13 @@ DEPENDS = " \ | |||
34 | SRC_URI = " \ | 34 | SRC_URI = " \ |
35 | git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \ | 35 | git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \ |
36 | file://0001-Fix-compilation-for-disabled-gnome.patch \ | 36 | file://0001-Fix-compilation-for-disabled-gnome.patch \ |
37 | file://0001-configure-Do-not-require-support-for-implicit-ints.patch \ | ||
38 | file://0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch \ | ||
39 | file://0003-configure-Further-defang-the-Werror-check.patch \ | ||
37 | " | 40 | " |
38 | 41 | ||
39 | SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" | 42 | SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" |
40 | 43 | ||
41 | S = "${WORKDIR}/git" | ||
42 | 44 | ||
43 | inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check | 45 | inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check |
44 | # depends on virtual/libx11 | 46 | # depends on virtual/libx11 |
@@ -69,6 +71,8 @@ EXTRA_OECONF = " \ | |||
69 | --without-xpm-library \ | 71 | --without-xpm-library \ |
70 | ac_cv_func_mkstemp=no \ | 72 | ac_cv_func_mkstemp=no \ |
71 | has_safety_mkstemp=yes \ | 73 | has_safety_mkstemp=yes \ |
74 | ac_cv_path_FVWM_CPP=cpp \ | ||
75 | ac_cv_path_PERL=perl \ | ||
72 | " | 76 | " |
73 | 77 | ||
74 | # show the exact commands in the log file | 78 | # show the exact commands in the log file |
@@ -87,6 +91,7 @@ do_install:append() { | |||
87 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-* | 91 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-* |
88 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm* | 92 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm* |
89 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop | 93 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop |
94 | sed -i -e 's:${WORKDIR}::g' ${D}${bindir}/fvwm-bug | ||
90 | } | 95 | } |
91 | 96 | ||
92 | # the only needed packages (note: locale packages are automatically generated | 97 | # the only needed packages (note: locale packages are automatically generated |
diff --git a/meta-oe/recipes-graphics/glad/glad_2.0.8.bb b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb new file mode 100644 index 0000000000..ea4ee6eac6 --- /dev/null +++ b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications for multiple languages." | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ae570f26774ac096cff8f992091a223c" | ||
4 | |||
5 | SRC_URI = "git://github.com/Dav1dde/glad.git;protocol=https;branch=glad2" | ||
6 | SRCREV = "73db193f853e2ee079bf3ca8a64aa2eaf6459043" | ||
7 | |||
8 | inherit python_setuptools_build_meta | ||
9 | |||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | RDEPENDS:${PN} = "python3 python3-jinja2" | ||
diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb index dd520b245e..e6fd0edd21 100644 --- a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb +++ b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb | |||
@@ -20,7 +20,6 @@ SRC_URI = " \ | |||
20 | SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447" | 20 | SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447" |
21 | PV .= "+0.9.9.9+git" | 21 | PV .= "+0.9.9.9+git" |
22 | 22 | ||
23 | S = "${WORKDIR}/git" | ||
24 | 23 | ||
25 | inherit cmake | 24 | inherit cmake |
26 | 25 | ||
@@ -29,10 +28,10 @@ do_install() { | |||
29 | cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir} | 28 | cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir} |
30 | cp -R --no-dereference --preserve=mode,links ${S}/doc ${D}${docdir}/glm | 29 | cp -R --no-dereference --preserve=mode,links ${S}/doc ${D}${docdir}/glm |
31 | rm ${D}${includedir}/glm/CMakeLists.txt | 30 | rm ${D}${includedir}/glm/CMakeLists.txt |
32 | sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake | 31 | sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake |
33 | sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake | 32 | sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake |
34 | sed "s/@VERSION@/${PV}/" ${WORKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc | 33 | sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc |
35 | install -Dm644 ${WORKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake | 34 | install -Dm644 ${UNPACKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake |
36 | 35 | ||
37 | } | 36 | } |
38 | 37 | ||
diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb index 513845194d..63993bfbeb 100644 --- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb +++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb | |||
@@ -19,3 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \ | |||
19 | --without-cdk \ | 19 | --without-cdk \ |
20 | " | 20 | " |
21 | 21 | ||
22 | do_compile:prepend() { | ||
23 | sed -i -e 's/--sysroot=[^ "]*//g' ${B}/config.h | ||
24 | } | ||
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch deleted file mode 100644 index fd647b7386..0000000000 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 31a5d2f7db18737aef08c34e8707b4f69f7e5156 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Sun, 21 Oct 2012 17:59:20 +0200 | ||
4 | Subject: [PATCH] configure.ac: remove AM_PO_SUBDIRS | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | together with oe autotools.bbclass this is done twice and causes: | ||
10 | |||
11 | | autoreconf: running: aclocal --system-acdir=/home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/aclocal-copy/ --automake-acdir=/home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ --force -I auto-m4 -I m4m | ||
12 | | configure.ac:230: error: `po-directories' is already registered with AC_CONFIG_COMMANDS. | ||
13 | |||
14 | Upstream-Status: Inappropriate [configuration] | ||
15 | |||
16 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
17 | --- | ||
18 | configure.ac | 1 - | ||
19 | libgphoto2_port/configure.ac | 1 - | ||
20 | 2 files changed, 0 insertions(+), 2 deletions(-) | ||
21 | |||
22 | --- a/configure.ac | ||
23 | +++ b/configure.ac | ||
24 | @@ -282,7 +282,6 @@ dnl ------------------------------------ | ||
25 | GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2], | ||
26 | [${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}], | ||
27 | [po]) | ||
28 | -AM_PO_SUBDIRS() | ||
29 | AM_GNU_GETTEXT_VERSION([0.19.1]) | ||
30 | AM_GNU_GETTEXT([external]) | ||
31 | AM_ICONV() | ||
32 | --- a/libgphoto2_port/configure.ac | ||
33 | +++ b/libgphoto2_port/configure.ac | ||
34 | @@ -122,7 +122,6 @@ dnl ------------------------------------ | ||
35 | GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2_PORT], | ||
36 | [${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}], | ||
37 | [po]) | ||
38 | -AM_PO_SUBDIRS() | ||
39 | AM_GNU_GETTEXT_VERSION([0.19.1]) | ||
40 | AM_GNU_GETTEXT([external]) | ||
41 | AM_ICONV() | ||
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch new file mode 100644 index 0000000000..0c2a8d4bd0 --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 721f7f8c3ec8058d504607873e4c317aac0c99c5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marcus Meissner <marcus@jet.franken.de> | ||
3 | Date: Mon, 4 Dec 2023 13:26:08 +0100 | ||
4 | Subject: [PATCH] align outlen length with jpeg jeaders. fixes | ||
5 | https://github.com/gphoto/libgphoto2/issues/941 | ||
6 | |||
7 | --- | ||
8 | Upstream-Status: Backport [https://github.com/gphoto/libgphoto2/commit/721f7f8c3ec8058d504607873e4c317aac0c99c5] | ||
9 | |||
10 | camlibs/ptp2/chdk.c | 6 +++--- | ||
11 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/camlibs/ptp2/chdk.c b/camlibs/ptp2/chdk.c | ||
14 | index e1d898f378..e775ea1d4b 100644 | ||
15 | --- a/camlibs/ptp2/chdk.c | ||
16 | +++ b/camlibs/ptp2/chdk.c | ||
17 | @@ -1150,7 +1150,7 @@ static void yuv_live_to_jpeg(unsigned char *p_yuv, | ||
18 | struct jpeg_error_mgr jerr; | ||
19 | JSAMPROW row_ptr[1]; | ||
20 | uint8_t *outbuf = NULL, *tmprowbuf = NULL; | ||
21 | - uint64_t outlen = 0; | ||
22 | + unsigned long outlen = 0; | ||
23 | unsigned int row_inc; | ||
24 | int sshift, dshift, xshift, skip; | ||
25 | |||
26 | @@ -1161,8 +1161,8 @@ static void yuv_live_to_jpeg(unsigned char *p_yuv, | ||
27 | sshift = 6; | ||
28 | dshift = (width/height > 2) ? 6 : 12; | ||
29 | xshift = 4; | ||
30 | - /* Digic 6 cameras: 8 bit per element UYVY, | ||
31 | - * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */ | ||
32 | + /* Digic 6 cameras: 8 bit per element UYVY, | ||
33 | + * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */ | ||
34 | } else { | ||
35 | row_inc = buf_width*2; | ||
36 | sshift = 4; | ||
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb index cc42b6a9c6..0b58e8e75f 100644 --- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb | |||
@@ -11,8 +11,8 @@ DEPENDS = "libtool jpeg virtual/libusb0 libexif zlib libxml2" | |||
11 | 11 | ||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 \ | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 \ |
13 | file://40-libgphoto2.rules \ | 13 | file://40-libgphoto2.rules \ |
14 | file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ | ||
15 | file://0001-configure-Filter-out-buildpaths-from-CC.patch \ | 14 | file://0001-configure-Filter-out-buildpaths-from-CC.patch \ |
15 | file://fix-build-with-gcc-14.patch \ | ||
16 | " | 16 | " |
17 | SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b" | 17 | SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b" |
18 | 18 | ||
@@ -24,21 +24,9 @@ PACKAGECONFIG ??= "" | |||
24 | PACKAGECONFIG[gd] = ",--without-gdlib,gd" | 24 | PACKAGECONFIG[gd] = ",--without-gdlib,gd" |
25 | PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" | 25 | PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" |
26 | 26 | ||
27 | do_configure:prepend() { | ||
28 | rm -rf ${S}/libgphoto2_port/auto-m4/* | ||
29 | rm -rf ${S}/auto-m4/* | ||
30 | } | ||
31 | |||
32 | do_configure:append() { | ||
33 | cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/ | ||
34 | cd ${S}/libgphoto2_port/ | ||
35 | autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths | ||
36 | cd ${S} | ||
37 | } | ||
38 | |||
39 | do_install:append() { | 27 | do_install:append() { |
40 | install -d ${D}${sysconfdir}/udev/rules.d/ | 28 | install -d ${D}${sysconfdir}/udev/rules.d/ |
41 | install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ | 29 | install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ |
42 | } | 30 | } |
43 | 31 | ||
44 | PACKAGES =+ "libgphotoport libgphoto2-camlibs" | 32 | PACKAGES =+ "libgphotoport libgphoto2-camlibs" |
@@ -48,6 +36,4 @@ RRECOMMENDS:${PN} = "libgphoto2-camlibs" | |||
48 | FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*" | 36 | FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*" |
49 | 37 | ||
50 | FILES:${PN} += "${nonarch_base_libdir}/udev/*" | 38 | FILES:${PN} += "${nonarch_base_libdir}/udev/*" |
51 | FILES:${PN}-dbg += "${libdir}/*/*/.debug" | ||
52 | FILES:${PN}-dev += "${libdir}/*/*/*.la" | ||
53 | FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt" | 39 | FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt" |
diff --git a/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb new file mode 100644 index 0000000000..dab11a02bc --- /dev/null +++ b/meta-oe/recipes-graphics/gpicview/gpicview_0.3.1.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Lightweight image viewer for X" | ||
2 | DESCRIPTION = "GPicView is a simple, lightweight and fast GTK+ based image \ | ||
3 | viewer with minimal lib dependency and desktop independent." | ||
4 | HOMEPAGE = "https://github.com/lxde/gpicview" | ||
5 | BUGTRACKER = "https://github.com/lxde/gpicview/issues" | ||
6 | SECTION = "x11" | ||
7 | |||
8 | LICENSE = "GPL-2.0-only" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
10 | |||
11 | DEPENDS = "glib-2.0-native intltool-native jpeg" | ||
12 | |||
13 | SRC_URI = "git://github.com/lxde/gpicview.git;protocol=https;branch=master;tag=${PV}" | ||
14 | SRCREV = "ca13623c6176585db4759ce4371fbf89c56fa630" | ||
15 | |||
16 | inherit autotools mime-xdg pkgconfig | ||
17 | |||
18 | PACKAGECONFIG ?= "gtk3" | ||
19 | PACKAGECONFIG[gtk2] = ",,gtk+" | ||
20 | PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" | ||
21 | |||
22 | FILES:${PN} += "${datadir}/icons" | ||
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch deleted file mode 100644 index 0d3f412706..0000000000 --- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | From 671e0d091b40ef7deb4a9d43e0dbed2a44edbec8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Matthew Fernandez <matthew.fernandez@gmail.com> | ||
3 | Date: Sat, 9 Sep 2023 01:03:04 -0700 | ||
4 | Subject: [PATCH] Autotools: fix: do not put '$prefix' based paths in | ||
5 | compilation flags | ||
6 | |||
7 | This was causing problems with cross-compilation with a dedicated sysroot, | ||
8 | because compilation would incorrectly use headers and libraries from the | ||
9 | `--prefix` path. The `--prefix` path is meant to indicate a target path to | ||
10 | install to, not a path from which to source dependent libraries. | ||
11 | |||
12 | Gitlab: fixes #2442 | ||
13 | Reported-by: Daniel Klauer | ||
14 | Suggested-by: Daniel Klauer | ||
15 | |||
16 | Upstream-Status: Backport [https://gitlab.com/graphviz/graphviz/-/commit/012d250a903e13114bce3ba40995fb957fed7848] | ||
17 | Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> | ||
18 | --- | ||
19 | CHANGELOG.md | 3 +++ | ||
20 | configure.ac | 8 -------- | ||
21 | 2 files changed, 3 insertions(+), 8 deletions(-) | ||
22 | |||
23 | diff --git a/CHANGELOG.md b/CHANGELOG.md | ||
24 | index b9b7e8e08..3a15fd256 100644 | ||
25 | --- a/CHANGELOG.md | ||
26 | +++ b/CHANGELOG.md | ||
27 | @@ -39,6 +39,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | ||
28 | longer fails due to missing PHP files. #2388 | ||
29 | - Syntax for a loop in `gvmap.sh` has been corrected. This was a regression in | ||
30 | Graphviz 2.50.0. #2404 | ||
31 | +- The Autotools build system no longer uses headers and libraries from the | ||
32 | + `--prefix` path given on the command line. This previously caused | ||
33 | + cross-compilation to incorrectly pick up host headers and libraries. #2442 | ||
34 | |||
35 | ## [8.0.5] – 2023-04-30 | ||
36 | |||
37 | diff --git a/configure.ac b/configure.ac | ||
38 | index 573a3ee5d..7d53346de 100644 | ||
39 | --- a/configure.ac | ||
40 | +++ b/configure.ac | ||
41 | @@ -190,14 +190,6 @@ if test "x${prefix}" = "xNONE"; then | ||
42 | AC_SUBST([prefix]) | ||
43 | fi | ||
44 | |||
45 | -# automatically check for other dependencies in $prefix first | ||
46 | -if test "x${prefix}" != "x/usr"; then | ||
47 | - CPPFLAGS="$CPPFLAGS -I${prefix}/include" | ||
48 | - LDFLAGS="$LDFLAGS -L${prefix}/lib" | ||
49 | - PKG_CONFIG_PATH="$prefix/lib/pkgconfig$PATHSEPARATOR$PKG_CONFIG_PATH" | ||
50 | - export PKG_CONFIG_PATH | ||
51 | -fi | ||
52 | - | ||
53 | dnl ----------------------------------- | ||
54 | # Static/Shared binaries | ||
55 | |||
56 | -- | ||
57 | 2.34.1 | ||
58 | |||
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch deleted file mode 100644 index 99b53e2e12..0000000000 --- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 564901ab78da2b2b1bed92351dc3c102dc0a8154 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 6 Aug 2019 17:51:39 -0700 | ||
4 | Subject: [PATCH] Set use_tcl to be empty string if tcl is disabled | ||
5 | |||
6 | Upstream-Status: Inappropriate [Cross-compile specific] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | configure.ac | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | --- a/configure.ac | ||
13 | +++ b/configure.ac | ||
14 | @@ -1225,7 +1225,7 @@ AC_ARG_ENABLE(tcl, | ||
15 | [], [enable_tcl=yes]) | ||
16 | |||
17 | if test "x$enable_tcl" != "xyes"; then | ||
18 | - use_tcl="No (disabled)" | ||
19 | + use_tcl="" | ||
20 | fi | ||
21 | |||
22 | if test "x$use_tcl" = "x"; then | ||
23 | --- a/Makefile.am | ||
24 | +++ b/Makefile.am | ||
25 | @@ -11,7 +11,7 @@ pkginclude_HEADERS = $(top_builddir)/gra | ||
26 | dist_man_MANS = graphviz.7 | ||
27 | |||
28 | # $(subdirs) contains the list from: AC_CONFIG_SUBDIRS | ||
29 | -SUBDIRS = $(subdirs) lib plugin cmd tclpkg doc contrib share graphs tests | ||
30 | +SUBDIRS = $(subdirs) lib plugin cmd doc contrib share graphs tests | ||
31 | |||
32 | .PHONY: doxygen | ||
33 | doxygen: | ||
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_12.2.1.bb index 2700142e5d..cccbbe75f7 100644 --- a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb +++ b/meta-oe/recipes-graphics/graphviz/graphviz_12.2.1.bb | |||
@@ -19,16 +19,14 @@ DEPENDS:append:class-nativesdk = " ${BPN}-native" | |||
19 | inherit autotools-brokensep pkgconfig gettext qemu | 19 | inherit autotools-brokensep pkgconfig gettext qemu |
20 | 20 | ||
21 | SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ | 21 | SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ |
22 | file://0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch \ | ||
23 | " | 22 | " |
24 | # Use native mkdefs | ||
25 | SRC_URI:append:class-target = "\ | ||
26 | file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \ | ||
27 | " | ||
28 | SRC_URI:append:class-nativesdk = "\ | 23 | SRC_URI:append:class-nativesdk = "\ |
29 | file://graphviz-setup.sh \ | 24 | file://graphviz-setup.sh \ |
30 | " | 25 | " |
31 | SRC_URI[sha256sum] = "d593695fdaa8a19297523b679ad13d3ef2027b0b7f14cc2bc23e77969ed81565" | 26 | SRC_URI[sha256sum] = "85e34b5c982777c30f01dfab9ea7c713b4335a2f584e62c0abb9868413eb915b" |
27 | |||
28 | UPSTREAM_CHECK_URI = "https://graphviz.org/download/" | ||
29 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
32 | 30 | ||
33 | PACKAGECONFIG ??= "librsvg" | 31 | PACKAGECONFIG ??= "librsvg" |
34 | PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg" | 32 | PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg" |
@@ -40,6 +38,7 @@ EXTRA_OECONF:class-target = "\ | |||
40 | --with-expatlibdir=${STAGING_LIBDIR} \ | 38 | --with-expatlibdir=${STAGING_LIBDIR} \ |
41 | --without-included-ltdl \ | 39 | --without-included-ltdl \ |
42 | --disable-java \ | 40 | --disable-java \ |
41 | --disable-perl \ | ||
43 | --disable-tcl \ | 42 | --disable-tcl \ |
44 | --disable-r \ | 43 | --disable-r \ |
45 | --disable-sharp \ | 44 | --disable-sharp \ |
@@ -67,7 +66,7 @@ do_configure:prepend() { | |||
67 | do_install:append:class-nativesdk() { | 66 | do_install:append:class-nativesdk() { |
68 | # graphviz-setup.sh must be executed at SDK installation | 67 | # graphviz-setup.sh must be executed at SDK installation |
69 | install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d | 68 | install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d |
70 | install -m 0755 ${WORKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d | 69 | install -m 0755 ${UNPACKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d |
71 | } | 70 | } |
72 | FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" | 71 | FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" |
73 | 72 | ||
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb index a70d31fed0..ef9b194f9a 100644 --- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb +++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb | |||
@@ -11,12 +11,14 @@ SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \ | |||
11 | file://0001-main.c-Define-prototype-for-setup_appdata.patch \ | 11 | file://0001-main.c-Define-prototype-for-setup_appdata.patch \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53" | ||
15 | SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b" | 14 | SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b" |
16 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gtkperf/files/gtkperf/" | ||
17 | UPSTREAM_CHECK_REGEX = "${BPN}_(?P<pver>\d+(\.\d+)+)" | ||
18 | |||
17 | DEPENDS = "gtk+" | 19 | DEPENDS = "gtk+" |
18 | 20 | ||
19 | S = "${WORKDIR}/${BPN}" | 21 | S = "${UNPACKDIR}/${BPN}" |
20 | 22 | ||
21 | inherit features_check autotools binconfig pkgconfig gettext | 23 | inherit features_check autotools binconfig pkgconfig gettext |
22 | 24 | ||
@@ -24,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
24 | 26 | ||
25 | do_configure:prepend () { | 27 | do_configure:prepend () { |
26 | rm -f ${S}/m4/init.m4 | 28 | rm -f ${S}/m4/init.m4 |
27 | cp -f ${WORKDIR}/Makevars ${S}/po/ | 29 | cp -f ${UNPACKDIR}/Makevars ${S}/po/ |
28 | } | 30 | } |
29 | 31 | ||
30 | do_install:append () { | 32 | do_install:append () { |
diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.119.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb index 0b1b054041..0b87c1b21a 100644 --- a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.119.bb +++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb | |||
@@ -6,13 +6,14 @@ LICENSE = "GPL-2.0-only" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" |
7 | 7 | ||
8 | SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz" | 8 | SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz" |
9 | SRC_URI[sha256sum] = "eab3e09e7641115c07848bfb30f7dd0c3bbe2b8cbe45017e95e077dbba6ac038" | 9 | SRC_URI[sha256sum] = "6201b5f93dcaeafa92fc0ec4ad4baeaf60acf16fc8f019bbf061cf4ebf27938a" |
10 | S = "${WORKDIR}/${BPN}-gtk3-${PV}" | 10 | S = "${UNPACKDIR}/${BPN}-gtk3-${PV}" |
11 | 11 | ||
12 | DEPENDS = " \ | 12 | DEPENDS = " \ |
13 | gperf-native \ | 13 | gperf-native \ |
14 | gtk+3 \ | 14 | gtk+3 \ |
15 | gdk-pixbuf \ | 15 | gdk-pixbuf \ |
16 | libtirpc \ | ||
16 | tcl \ | 17 | tcl \ |
17 | tk \ | 18 | tk \ |
18 | bzip2 \ | 19 | bzip2 \ |
@@ -33,12 +34,15 @@ REQUIRED_DISTRO_FEATURES = "wayland x11" | |||
33 | 34 | ||
34 | EXTRA_OECONF = " \ | 35 | EXTRA_OECONF = " \ |
35 | --enable-gtk3 \ | 36 | --enable-gtk3 \ |
36 | --with-tcl=${STAGING_BINDIR_CROSS} \ | ||
37 | --with-tk=${STAGING_BINDIR_CROSS} \ | ||
38 | --with-tirpc \ | 37 | --with-tirpc \ |
39 | --disable-mime-update \ | 38 | --disable-mime-update \ |
40 | " | 39 | " |
41 | 40 | ||
41 | PACKAGECONFIG = "" | ||
42 | |||
43 | PACKAGECONFIG[tcl] = "--with-tcl=${STAGING_BINDIR_CROSS},--disable-tcl,tcl" | ||
44 | PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS},--disable-tcl,tk" | ||
45 | |||
42 | FILES:${PN} = "${bindir} ${datadir}" | 46 | FILES:${PN} = "${bindir} ${datadir}" |
43 | 47 | ||
44 | RDEPENDS:${PN} += "tk-lib" | 48 | RDEPENDS:${PN} += "tk-lib" |
diff --git a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb index 87e7ed4a6b..66e9f8a0c4 100644 --- a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb +++ b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb | |||
@@ -7,15 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35" | |||
7 | 7 | ||
8 | DEPENDS = "freetype " | 8 | DEPENDS = "freetype " |
9 | PROVIDES = "virtual/imlib2" | 9 | PROVIDES = "virtual/imlib2" |
10 | PV = "1.12.2" | 10 | PV = "1.12.5" |
11 | SRCREV = "a860e34b19af6b0a73d86ddc0e4829145e18fa6e" | 11 | SRCREV = "df73df52ddf0e1ea40507f5ee8c6b794b328b3bc" |
12 | 12 | ||
13 | inherit autotools pkgconfig lib_package | 13 | inherit autotools pkgconfig lib_package |
14 | 14 | ||
15 | AUTO_LIBNAME_PKGS = "" | 15 | AUTO_LIBNAME_PKGS = "" |
16 | 16 | ||
17 | SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master" | 17 | SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master" |
18 | S = "${WORKDIR}/git" | ||
19 | 18 | ||
20 | PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 19 | PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
21 | 20 | ||
diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb index 5281980ecb..4796a85190 100644 --- a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb +++ b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb | |||
@@ -3,13 +3,11 @@ HOMEPAGE = "https://jasper-software.github.io/jasper/" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master" | 6 | SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz" |
7 | SRCREV = "917f7708b755d8434f70618108c1a76f1b6a0a82" | 7 | SRC_URI[sha256sum] = "6a597613d8d84c500b5b83bf0eec06cd3707c23d19957f70354ac2394c9914e7" |
8 | 8 | ||
9 | CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | 9 | CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit cmake multilib_header | 11 | inherit cmake multilib_header |
14 | 12 | ||
15 | do_configure:prepend() { | 13 | do_configure:prepend() { |
@@ -31,4 +29,3 @@ do_install:append() { | |||
31 | chrpath -d ${D}${libdir}/libjasper.so.* | 29 | chrpath -d ${D}${libdir}/libjasper.so.* |
32 | oe_multilib_header jasper/jas_config.h | 30 | oe_multilib_header jasper/jas_config.h |
33 | } | 31 | } |
34 | |||
diff --git a/meta-oe/recipes-graphics/leptonica/leptonica_1.82.0.bb b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb index c0a2b45a48..2e1a3642ad 100644 --- a/meta-oe/recipes-graphics/leptonica/leptonica_1.82.0.bb +++ b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb | |||
@@ -4,9 +4,10 @@ LICENSE = "BSD-2-Clause" | |||
4 | LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f" | 4 | LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f" |
5 | 5 | ||
6 | UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases" | 6 | UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases" |
7 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
7 | 8 | ||
8 | SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz" | 9 | SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz" |
9 | SRC_URI[sha256sum] = "155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6" | 10 | SRC_URI[sha256sum] = "3745ae3bf271a6801a2292eead83ac926e3a9bc1bf622e9cd4dd0f3786e17205" |
10 | 11 | ||
11 | EXTRA_OECONF += " \ | 12 | EXTRA_OECONF += " \ |
12 | --without-libwebp \ | 13 | --without-libwebp \ |
diff --git a/meta-oe/recipes-graphics/libdecor/libdecor_0.2.2.bb b/meta-oe/recipes-graphics/libdecor/libdecor_0.2.3.bb index 6621389b5a..35deb8d2aa 100644 --- a/meta-oe/recipes-graphics/libdecor/libdecor_0.2.2.bb +++ b/meta-oe/recipes-graphics/libdecor/libdecor_0.2.3.bb | |||
@@ -2,9 +2,7 @@ SUMMARY = "libdecor - A client-side decorations library for Wayland clients" | |||
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" |
4 | 4 | ||
5 | SRC_URI = " \ | 5 | SRC_URI = "git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=libdecor-0.2;tag=${PV}" |
6 | git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \ | ||
7 | " | ||
8 | 6 | ||
9 | DEPENDS = " \ | 7 | DEPENDS = " \ |
10 | cairo \ | 8 | cairo \ |
@@ -14,8 +12,7 @@ DEPENDS = " \ | |||
14 | wayland-protocols \ | 12 | wayland-protocols \ |
15 | " | 13 | " |
16 | 14 | ||
17 | S = "${WORKDIR}/git" | 15 | SRCREV = "15afd30a6e23e949d022ff18f17dd7fdbd3361e4" |
18 | SRCREV = "7807ae3480f5c6a37c5e8505d94af1e764aaf704" | ||
19 | 16 | ||
20 | PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}" | 17 | PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}" |
21 | 18 | ||
diff --git a/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb b/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb index 251c07adf0..e59de6f0ca 100644 --- a/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb +++ b/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb | |||
@@ -18,9 +18,14 @@ inherit autotools features_check | |||
18 | 18 | ||
19 | REQUIRED_DISTRO_FEATURES = "opengl x11" | 19 | REQUIRED_DISTRO_FEATURES = "opengl x11" |
20 | 20 | ||
21 | S = "${WORKDIR}/xforms-${PV}" | 21 | S = "${UNPACKDIR}/xforms-${PV}" |
22 | 22 | ||
23 | DEPENDS = "libxpm jpeg libx11 virtual/libgl" | 23 | DEPENDS = "libxpm jpeg libx11 virtual/libgl" |
24 | RDEPENDS:${PN} = "bash" | 24 | RDEPENDS:${PN} = "bash" |
25 | 25 | ||
26 | EXTRA_OECONF = "--with-extra-inc=${S}/lib" | 26 | EXTRA_OECONF = "--with-extra-inc=${S}/lib" |
27 | |||
28 | do_compile:append() { | ||
29 | sed -i -e 's|${B}|.|' ${B}/fd2ps/fd2ps | ||
30 | sed -i -e 's|${B}|.|' ${B}/fdesign/fdesign | ||
31 | } | ||
diff --git a/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb b/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb deleted file mode 100644 index 4094aa4fc6..0000000000 --- a/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | DESCRIPTION = "libglvnd is a vendor-neutral dispatch layer for arbitrating \ | ||
2 | OpenGL API calls between multiple vendors." | ||
3 | HOMEPAGE = "https://gitlab.freedesktop.org/glvnd/libglvnd" | ||
4 | LICENSE = "MIT & BSD-1-Clause & BSD-3-Clause & GPL-3.0-with-autoconf-exception" | ||
5 | LIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efeb08e8c4" | ||
6 | |||
7 | SRC_URI = "git://git@gitlab.freedesktop.org/glvnd/libglvnd.git;protocol=https;branch=master" | ||
8 | |||
9 | # v1.5.0 tag | ||
10 | SRCREV = "faa23f21fc677af5792825dc30cb1ccef4bf33a6" | ||
11 | |||
12 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
13 | |||
14 | inherit meson pkgconfig features_check | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | PACKAGECONFIG ?= "\ | ||
19 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
20 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl gles1 gles2', '', d)} \ | ||
21 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \ | ||
22 | " | ||
23 | |||
24 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libx11 libxext xorgproto" | ||
25 | PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,libx11 libxext xorgproto" | ||
26 | PACKAGECONFIG[egl] = "-Degl=true,-Degl=false," | ||
27 | PACKAGECONFIG[gles1] = "-Dgles1=true,-Dgles1=false," | ||
28 | PACKAGECONFIG[gles2] = "-Dgles2=true,-Dgles2=false," | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb index ba928d281d..c92696b8bf 100644 --- a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb +++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | |||
@@ -10,9 +10,11 @@ DEPENDS = "zlib" | |||
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4" | ||
14 | SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" | 13 | SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" |
15 | 14 | ||
15 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libmng/files/libmng-devel/" | ||
16 | UPSTREAM_CHECK_REGEX = "libmng-devel/(?P<pver>\d+(\.\d+)+)" | ||
17 | |||
16 | inherit autotools-brokensep pkgconfig | 18 | inherit autotools-brokensep pkgconfig |
17 | 19 | ||
18 | PACKAGECONFIG ??= "jpeg" | 20 | PACKAGECONFIG ??= "jpeg" |
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch new file mode 100644 index 0000000000..2007766f74 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From 6c35fc94ca30a4d0662479f7ef8a704d97aa7352 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 18 May 2024 18:13:30 -0700 | ||
4 | Subject: [PATCH] stdlib: Make iconv use portable across glibc/musl | ||
5 | |||
6 | This is a backport from libsdl2 | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/libsdl-org/SDL/blob/main/src/stdlib/SDL_iconv.c#L49C1-L51C1] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/stdlib/SDL_iconv.c | 19 ++++--------------- | ||
12 | 1 file changed, 4 insertions(+), 15 deletions(-) | ||
13 | |||
14 | diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c | ||
15 | index fa56a99..087b6ec 100644 | ||
16 | --- a/src/stdlib/SDL_iconv.c | ||
17 | +++ b/src/stdlib/SDL_iconv.c | ||
18 | @@ -28,27 +28,16 @@ | ||
19 | |||
20 | #ifdef HAVE_ICONV | ||
21 | |||
22 | -/* Depending on which standard the iconv() was implemented with, | ||
23 | - iconv() may or may not use const char ** for the inbuf param. | ||
24 | - If we get this wrong, it's just a warning, so no big deal. | ||
25 | -*/ | ||
26 | -#if defined(_XGP6) || \ | ||
27 | - defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)) | ||
28 | -#define ICONV_INBUF_NONCONST | ||
29 | -#endif | ||
30 | - | ||
31 | #include <errno.h> | ||
32 | |||
33 | size_t SDL_iconv(SDL_iconv_t cd, | ||
34 | const char **inbuf, size_t *inbytesleft, | ||
35 | char **outbuf, size_t *outbytesleft) | ||
36 | { | ||
37 | - size_t retCode; | ||
38 | -#ifdef ICONV_INBUF_NONCONST | ||
39 | - retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft); | ||
40 | -#else | ||
41 | - retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft); | ||
42 | -#endif | ||
43 | + /* iconv's second parameter may or may not be `const char const *` depending on the | ||
44 | + C runtime's whims. Casting to void * seems to make everyone happy, though. */ | ||
45 | + | ||
46 | + const size_t retCode = iconv((iconv_t)((uintptr_t)cd), (void *)inbuf, inbytesleft, outbuf, outbytesleft); | ||
47 | if ( retCode == (size_t)-1 ) { | ||
48 | switch(errno) { | ||
49 | case E2BIG: | ||
50 | -- | ||
51 | 2.45.1 | ||
52 | |||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.27.bb index 666442fba2..d707b6c9b4 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.27.bb | |||
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d1de21f0b70830e299905eac3419084" | |||
6 | DEPENDS = "libsdl" | 6 | DEPENDS = "libsdl" |
7 | 7 | ||
8 | SRC_URI = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz" | 8 | SRC_URI = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz" |
9 | SRC_URI[md5sum] = "ea24ed4b82ff1304809c363494fa8e16" | 9 | SRC_URI[sha256sum] = "dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419" |
10 | SRC_URI[sha256sum] = "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0" | ||
11 | 10 | ||
12 | S = "${WORKDIR}/SDL_gfx-${PV}" | 11 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sdlgfx/files/" |
12 | |||
13 | S = "${UNPACKDIR}/SDL_gfx-${PV}" | ||
13 | 14 | ||
14 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig |
15 | 16 | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb index 01137bb0ca..29fb8cb4aa 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb | |||
@@ -11,7 +11,7 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar. | |||
11 | file://configure.patch" | 11 | file://configure.patch" |
12 | SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" | 12 | SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" |
13 | 13 | ||
14 | S = "${WORKDIR}/SDL_image-${PV}" | 14 | S = "${UNPACKDIR}/SDL_image-${PV}" |
15 | 15 | ||
16 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
17 | 17 | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb b/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb index a470ee81d0..d87c15aebc 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb | |||
@@ -8,10 +8,9 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar. | |||
8 | file://configure.patch \ | 8 | file://configure.patch \ |
9 | " | 9 | " |
10 | 10 | ||
11 | SRC_URI[md5sum] = "e03ff73d77a55e3572ad0217131dc4a1" | ||
12 | SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" | 11 | SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" |
13 | 12 | ||
14 | S = "${WORKDIR}/SDL_mixer-${PV}" | 13 | S = "${UNPACKDIR}/SDL_mixer-${PV}" |
15 | 14 | ||
16 | inherit autotools-brokensep pkgconfig | 15 | inherit autotools-brokensep pkgconfig |
17 | 16 | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb index 49b1ef2879..ef4d13ebb6 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb | |||
@@ -14,7 +14,6 @@ SRC_URI = " \ | |||
14 | file://am_foreign.patch \ | 14 | file://am_foreign.patch \ |
15 | " | 15 | " |
16 | 16 | ||
17 | S = "${WORKDIR}/SDL_net-${PV}" | 17 | S = "${UNPACKDIR}/SDL_net-${PV}" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718" | ||
20 | SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4" | 19 | SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4" |
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb b/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb index 797c38d8e1..2cf3e88f17 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb | |||
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=22800d1b3701377aae0b61ee36f5c303" | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ | 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ |
8 | file://use.pkg-config.for.freetype2.patch \ | 8 | file://use.pkg-config.for.freetype2.patch \ |
9 | " | 9 | " |
10 | SRC_URI[md5sum] = "61e29bd9da8d245bc2471d1b2ce591aa" | ||
11 | SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7" | 10 | SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7" |
12 | 11 | ||
13 | S = "${WORKDIR}/SDL_ttf-${PV}" | 12 | S = "${UNPACKDIR}/SDL_ttf-${PV}" |
14 | 13 | ||
15 | inherit autotools pkgconfig | 14 | inherit autotools pkgconfig |
16 | 15 | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb deleted file mode 100644 index 57f0f99794..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library v2" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=822edb694b20ff16ceef85b27f61c11f" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp" | ||
8 | |||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" | ||
10 | SRC_URI[md5sum] = "f26f3a153360a8f09ed5220ef7b07aea" | ||
11 | SRC_URI[sha256sum] = "bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0" | ||
12 | |||
13 | S = "${WORKDIR}/SDL2_image-${PV}" | ||
14 | |||
15 | inherit autotools pkgconfig | ||
16 | |||
17 | # Disable the run-time loading of the libs and bring back the soname dependencies. | ||
18 | EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared" | ||
19 | |||
20 | do_configure:prepend() { | ||
21 | # make autoreconf happy | ||
22 | touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog | ||
23 | # Removing these files fixes a libtool version mismatch. | ||
24 | rm -f ${S}/acinclude/libtool.m4 | ||
25 | rm -f ${S}/acinclude/sdl2.m4 | ||
26 | rm -f ${S}/acinclude/pkg.m4 | ||
27 | rm -f ${S}/acinclude/lt~obsolete.m4 | ||
28 | rm -f ${S}/acinclude/ltoptions.m4 | ||
29 | rm -f ${S}/acinclude/ltsugar.m4 | ||
30 | rm -f ${S}/acinclude/ltversion.m4 | ||
31 | } | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb new file mode 100644 index 0000000000..c15e986dc3 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library v2" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp" | ||
8 | |||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" | ||
10 | SRC_URI[sha256sum] = "2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af2156097ce30a" | ||
11 | |||
12 | S = "${UNPACKDIR}/SDL2_image-${PV}" | ||
13 | |||
14 | inherit cmake pkgconfig | ||
15 | |||
16 | FILES:${PN} += "${datadir}/licenses" | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch deleted file mode 100644 index 0605b32e30..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 9363c98528ef850235852e44f678df6b5c011ee1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 7 Feb 2021 18:08:36 -0800 | ||
4 | Subject: [PATCH] configure.in: Undefine AC_CONFIG_AUX_DIR | ||
5 | |||
6 | This helps reconfiguring with autotools 2.70+ | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | configure.in | 5 ----- | ||
12 | 1 file changed, 5 deletions(-) | ||
13 | |||
14 | --- a/configure.in | ||
15 | +++ b/configure.in | ||
16 | @@ -1,7 +1,6 @@ | ||
17 | dnl Process this file with autoconf to produce a configure script. | ||
18 | AC_INIT(README.txt) | ||
19 | AC_CONFIG_AUX_DIR(build-scripts) | ||
20 | - | ||
21 | dnl Set various version strings - taken gratefully from the GTk sources | ||
22 | |||
23 | # Making releases: | ||
24 | @@ -40,10 +39,6 @@ AC_SUBST(LT_CURRENT) | ||
25 | AC_SUBST(LT_REVISION) | ||
26 | AC_SUBST(LT_AGE) | ||
27 | |||
28 | -dnl Detect the canonical build and host environments | ||
29 | -AC_CONFIG_AUX_DIRS($srcdir/build-scripts) | ||
30 | -dnl AC_CANONICAL_HOST | ||
31 | - | ||
32 | dnl Check for tools | ||
33 | AC_PROG_LIBTOOL | ||
34 | AC_PROG_CC | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb deleted file mode 100644 index dbcb2a193b..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "libsdl2 flac libmikmod libvorbis" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \ | ||
8 | file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \ | ||
9 | " | ||
10 | SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419" | ||
11 | |||
12 | S = "${WORKDIR}/SDL2_mixer-${PV}" | ||
13 | |||
14 | inherit autotools-brokensep pkgconfig | ||
15 | |||
16 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}" | ||
17 | |||
18 | PACKAGECONFIG ??= "" | ||
19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
20 | |||
21 | do_configure:prepend () { | ||
22 | # Remove old libtool macros. | ||
23 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
24 | for i in ${MACROS}; do | ||
25 | rm -f acinclude/$i | ||
26 | done | ||
27 | } | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb new file mode 100644 index 0000000000..46e6ba0774 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl2" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" | ||
8 | SRC_URI[sha256sum] = "cb760211b056bfe44f4a1e180cc7cb201137e4d1572f2002cc1be728efd22660" | ||
9 | |||
10 | S = "${UNPACKDIR}/SDL2_mixer-${PV}" | ||
11 | |||
12 | inherit cmake pkgconfig | ||
13 | |||
14 | do_configure:prepend() { | ||
15 | # cmake checks for these binaries. Touch them to pass the tests and add RDEPENDS | ||
16 | touch ${STAGING_BINDIR}/fluidsynth | ||
17 | touch ${STAGING_BINDIR}/wavpack | ||
18 | touch ${STAGING_BINDIR}/wvunpack | ||
19 | touch ${STAGING_BINDIR}/wvgain | ||
20 | touch ${STAGING_BINDIR}/wvtag | ||
21 | } | ||
22 | |||
23 | PACKAGECONFIG ?= "flac wave vorbis" | ||
24 | PACKAGECONFIG[opusfile] = "-DSDL2MIXER_OPUS=ON -DSDL2MIXER_OPUS_ENABLED=ON, -DSDL2MIXER_OPUS=OFF,opusfile" | ||
25 | PACKAGECONFIG[vorbis] = "-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE=ON, -DSDL2MIXER_VORBIS=OFF,libvorbis" | ||
26 | PACKAGECONFIG[flac] = "-DSDL2MIXER_FLAC=ON, -DSDL2MIXER_FLAC=OFF,flac" | ||
27 | PACKAGECONFIG[xmp] = "-DSDL2MIXER_MOD=ON -DSDL2MIXER_MOD_XMP=ON, -DSDL2MIXER_MOD=OFF,libxmp,libxmp" | ||
28 | PACKAGECONFIG[fluidsynth] = "-DSDL2MIXER_MIDI=ON -DSDL2MIXER_MIDI_FLUIDSYNTH_ENABLED=ON, -DSDL2MIXER_MIDI=OFF,fluidsynth,fluidsynth-bin" | ||
29 | PACKAGECONFIG[wave] = "-DSDL2MIXER_WAVE=ON -DSDL2MIXER_WAVPACK=ON, -DSDL2MIXER_WAVE=OFF,wavpack,wavpack wavpack-bin" | ||
30 | PACKAGECONFIG[mpg123] = "-DSDL2MIXER_MP3=ON -DSDL2MIXER_MP3_MPG123=ON, -DSDL2MIXER_MP3=OFF,mpg123" | ||
31 | |||
32 | FILES:${PN} += "${datadir}/licenses" | ||
33 | |||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb deleted file mode 100644 index 35369e8731..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer networking library." | ||
2 | SECTION = "libs/network" | ||
3 | LICENSE = "Zlib" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \ | ||
8 | " | ||
9 | S = "${WORKDIR}/SDL2_net-${PV}" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | DEPENDS = "libsdl2" | ||
14 | |||
15 | SRC_URI[md5sum] = "5c1d9d1cfa63301b141cb5c0de2ea7c4" | ||
16 | SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21" | ||
17 | |||
18 | do_configure:prepend() { | ||
19 | # create dummy files which autotools consider as mandatory | ||
20 | touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog | ||
21 | |||
22 | # Remove old libtool macros. | ||
23 | for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do | ||
24 | echo ${S}/acinclude/macro | ||
25 | rm -f ${S}/acinclude/$macro | ||
26 | done | ||
27 | } | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb new file mode 100644 index 0000000000..4a7ada94cb --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer networking library." | ||
2 | SECTION = "libs/network" | ||
3 | LICENSE = "Zlib" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \ | ||
8 | " | ||
9 | S = "${UNPACKDIR}/SDL2_net-${PV}" | ||
10 | |||
11 | inherit cmake pkgconfig | ||
12 | |||
13 | DEPENDS = "virtual/libsdl2" | ||
14 | |||
15 | SRC_URI[sha256sum] = "4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb" | ||
16 | |||
17 | FILES:${PN} += "${datadir}/licenses" | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch deleted file mode 100644 index 8cb76c35d6..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | From 6c52693d264ca3dc8e15a92f56cf3a636639bb6c Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st> | ||
3 | Date: Fri, 28 Oct 2022 22:17:15 +0300 | ||
4 | Subject: [PATCH] freetype: Fix function signatures to match without casts | ||
5 | |||
6 | Clang 16 has got a new stricter warning for casts of function types | ||
7 | (see https://github.com/llvm/llvm-project/commit/1aad641c793090b4d036c03e737df2ebe2c32c57). | ||
8 | |||
9 | This new warning gets included as part of the existing error | ||
10 | diagnostic setting of -Wcast-function-type. | ||
11 | |||
12 | This fixes errors like these: | ||
13 | |||
14 | ../src/hb-ft.cc:1011:34: error: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] | ||
15 | ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; | ||
16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
17 | |||
18 | Upstream-Status: Backport [https://github.com/harfbuzz/harfbuzz/commit/d88269c827895b38f99f7cf741fa60210d4d5169] | ||
19 | --- | ||
20 | src/hb-ft.cc | 10 ++++++---- | ||
21 | 1 file changed, 6 insertions(+), 4 deletions(-) | ||
22 | |||
23 | diff --git a/src/hb-ft.cc b/src/hb-ft.cc | ||
24 | index a6beb9f0f..a35e75b18 100644 | ||
25 | --- a/src/hb-ft.cc | ||
26 | +++ b/src/hb-ft.cc | ||
27 | @@ -729,8 +729,9 @@ hb_ft_face_create_referenced (FT_Face ft_face) | ||
28 | } | ||
29 | |||
30 | static void | ||
31 | -hb_ft_face_finalize (FT_Face ft_face) | ||
32 | +hb_ft_face_finalize (void *arg) | ||
33 | { | ||
34 | + FT_Face ft_face = (FT_Face) arg; | ||
35 | hb_face_destroy ((hb_face_t *) ft_face->generic.data); | ||
36 | } | ||
37 | |||
38 | @@ -762,7 +763,7 @@ hb_ft_face_create_cached (FT_Face ft_face) | ||
39 | ft_face->generic.finalizer (ft_face); | ||
40 | |||
41 | ft_face->generic.data = hb_ft_face_create (ft_face, nullptr); | ||
42 | - ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; | ||
43 | + ft_face->generic.finalizer = hb_ft_face_finalize; | ||
44 | } | ||
45 | |||
46 | return hb_face_reference ((hb_face_t *) ft_face->generic.data); | ||
47 | @@ -949,8 +950,9 @@ get_ft_library () | ||
48 | } | ||
49 | |||
50 | static void | ||
51 | -_release_blob (FT_Face ft_face) | ||
52 | +_release_blob (void *arg) | ||
53 | { | ||
54 | + FT_Face ft_face = (FT_Face) arg; | ||
55 | hb_blob_destroy ((hb_blob_t *) ft_face->generic.data); | ||
56 | } | ||
57 | |||
58 | @@ -1032,7 +1034,7 @@ hb_ft_font_set_funcs (hb_font_t *font) | ||
59 | #endif | ||
60 | |||
61 | ft_face->generic.data = blob; | ||
62 | - ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob; | ||
63 | + ft_face->generic.finalizer = _release_blob; | ||
64 | |||
65 | _hb_ft_font_set_funcs (font, ft_face, true); | ||
66 | hb_ft_font_set_load_flags (font, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING); | ||
67 | -- | ||
68 | 2.39.2 | ||
69 | |||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch deleted file mode 100644 index bc9371553f..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | From 6ec375eaafc43a2b3c30a0e0e49447d231d81a67 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 9 May 2017 00:57:10 -0700 | ||
4 | |||
5 | --- | ||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Makefile.am | 2 ++ | ||
9 | 1 file changed, 2 insertions(+) | ||
10 | |||
11 | diff --git a/Makefile.am b/Makefile.am | ||
12 | index 8568dd2..5efc91e 100644 | ||
13 | --- a/Makefile.am | ||
14 | +++ b/Makefile.am | ||
15 | @@ -3,6 +3,8 @@ ACLOCAL_AMFLAGS = -I acinclude | ||
16 | |||
17 | lib_LTLIBRARIES = libSDL2_ttf.la | ||
18 | |||
19 | +AUTOMAKE_OPTIONS = foreign | ||
20 | + | ||
21 | libSDL2_ttfincludedir = $(includedir)/SDL2 | ||
22 | libSDL2_ttfinclude_HEADERS = \ | ||
23 | SDL_ttf.h | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb deleted file mode 100644 index 6cd4a48aa8..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "libsdl2 freetype virtual/egl" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41cbf59bdea749fe34c1af6d3615f68" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | git://github.com/libsdl-org/SDL_ttf.git;branch=release-2.20.x;protocol=https \ | ||
9 | git://github.com/libsdl-org/freetype.git;branch=VER-2-12-1-SDL;destsuffix=git/external/freetype;name=freetype;protocol=https \ | ||
10 | git://github.com/libsdl-org/harfbuzz.git;branch=2.9.1-SDL;destsuffix=git/external/harfbuzz;name=harfbuzz;protocol=https \ | ||
11 | file://0001-freetype-Fix-function-signatures-to-match-without-ca.patch;patchdir=external/harfbuzz \ | ||
12 | file://automake_foreign.patch \ | ||
13 | " | ||
14 | SRCREV = "89d1692fd8fe91a679bb943d377bfbd709b52c23" | ||
15 | SRCREV_freetype = "6fc77cee03e078e97afcee0c0e06a2d3274b9a29" | ||
16 | SRCREV_harfbuzz = "43931e3e596c04044861770b831c8f9452e2d3b0" | ||
17 | |||
18 | SRCREV_FORMAT .= "_freetype_harfbuzz" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools pkgconfig features_check | ||
23 | |||
24 | # links to libGL.so | ||
25 | REQUIRED_DISTRO_FEATURES += "opengl" | ||
26 | |||
27 | do_configure:prepend() { | ||
28 | # Removing these files fixes a libtool version mismatch. | ||
29 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
30 | |||
31 | for i in ${MACROS}; do | ||
32 | rm -f ${S}/acinclude/$i | ||
33 | done | ||
34 | } | ||
35 | ASNEEDED = "" | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb new file mode 100644 index 0000000000..d06f41bd0e --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl2 freetype virtual/egl" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz" | ||
8 | SRC_URI[sha256sum] = "0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd" | ||
9 | |||
10 | inherit cmake pkgconfig | ||
11 | |||
12 | S = "${UNPACKDIR}/SDL2_ttf-${PV}" | ||
13 | |||
14 | FILES:${PN} += "${datadir}/licenses" | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb index 4fc4679f7f..8122b88a68 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | |||
15 | file://libsdl-1.2.15-xdata32.patch \ | 15 | file://libsdl-1.2.15-xdata32.patch \ |
16 | file://pkgconfig.patch \ | 16 | file://pkgconfig.patch \ |
17 | file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ | 17 | file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ |
18 | file://0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch \ | ||
18 | file://CVE-2019-7577.patch \ | 19 | file://CVE-2019-7577.patch \ |
19 | file://CVE-2019-7574.patch \ | 20 | file://CVE-2019-7574.patch \ |
20 | file://CVE-2019-7572.patch \ | 21 | file://CVE-2019-7572.patch \ |
@@ -30,9 +31,8 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | |||
30 | 31 | ||
31 | UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar" | 32 | UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar" |
32 | 33 | ||
33 | S = "${WORKDIR}/SDL-${PV}" | 34 | S = "${UNPACKDIR}/SDL-${PV}" |
34 | 35 | ||
35 | SRC_URI[md5sum] = "9d96df8417572a2afb781a7c4c811a85" | ||
36 | SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" | 36 | SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" |
37 | 37 | ||
38 | BINCONFIG = "${bindir}/sdl-config" | 38 | BINCONFIG = "${bindir}/sdl-config" |
@@ -40,7 +40,9 @@ BINCONFIG = "${bindir}/sdl-config" | |||
40 | inherit autotools lib_package binconfig-disabled pkgconfig | 40 | inherit autotools lib_package binconfig-disabled pkgconfig |
41 | 41 | ||
42 | CVE_PRODUCT = "simple_directmedia_layer sdl" | 42 | CVE_PRODUCT = "simple_directmedia_layer sdl" |
43 | 43 | # GCC15/C23 results in following errors | |
44 | # ../SDL-1.2.15/src/video/Xext/XME/xme.c:218:5: error: initialization of 'int (*)(Display *, XExtCodes *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] | ||
45 | CFLAGS += "-std=c17" | ||
44 | EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ | 46 | EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ |
45 | --enable-file --disable-oss --disable-esd --disable-arts \ | 47 | --enable-file --disable-oss --disable-esd --disable-arts \ |
46 | --disable-diskaudio --disable-nas \ | 48 | --disable-diskaudio --disable-nas \ |
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb new file mode 100644 index 0000000000..3b17f350df --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer (SDL) sdl2-compat" | ||
2 | DESCRIPTION = "This code is a compatibility layer; it provides a binary and source compatible \ | ||
3 | API for programs written against SDL2, but it uses SDL3 behind the scenes. If you are \ | ||
4 | writing new code, please target SDL3 directly and do not use this layer." | ||
5 | HOMEPAGE = "http://www.libsdl.org" | ||
6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
7 | |||
8 | SECTION = "libs" | ||
9 | |||
10 | LICENSE = "Zlib" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=98241180d857fe975e4b60d44d6c01a5" | ||
12 | |||
13 | SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" | ||
14 | SRC_URI[sha256sum] = "27e845b1b7dc0a91a85f1a1f18892ed205adb38caf767741eb258008d8264de0" | ||
15 | S = "${UNPACKDIR}/sdl2-compat-${PV}" | ||
16 | |||
17 | DEPENDS += "libsdl3" | ||
18 | |||
19 | PROVIDES = "virtual/libsdl2" | ||
20 | |||
21 | inherit cmake pkgconfig upstream-version-is-even features_check | ||
22 | |||
23 | REQUIRED_DISTRO_FEATURES = "opengl x11" | ||
24 | |||
25 | do_install:append() { | ||
26 | mv ${D}${libdir}/pkgconfig/sdl2-compat.pc ${D}${libdir}/pkgconfig/sdl2.pc | ||
27 | } | ||
28 | |||
29 | FILES:${PN} += "${datadir}/licenses" | ||
30 | |||
31 | RCONFLICTS:${PN} = "libsdl2" | ||
32 | RPROVIDES:${PN} = "libsdl2" | ||
33 | |||
34 | BBCLASSEXTEND = "nativesdk native" | ||
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb new file mode 100644 index 0000000000..ac425f6ad2 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer image library v2" | ||
2 | SECTION = "libs" | ||
3 | |||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
6 | |||
7 | DEPENDS = "tiff zlib libpng jpeg libsdl3 libwebp" | ||
8 | |||
9 | SRC_URI = "git://github.com/libsdl-org/SDL_image.git;protocol=https;branch=release-3.2.x" | ||
10 | SRCREV = "11154afb7855293159588b245b446a4ef09e574f" | ||
11 | |||
12 | |||
13 | inherit cmake pkgconfig | ||
14 | |||
15 | FILES:${PN} += "${datadir}/licenses" | ||
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb new file mode 100644 index 0000000000..1f82f95d65 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer truetype font library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "libsdl3 freetype" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL3_ttf-${PV}.tar.gz \ | ||
8 | " | ||
9 | SRC_URI[sha256sum] = "63547d58d0185c833213885b635a2c0548201cc8f301e6587c0be1a67e1e045d" | ||
10 | |||
11 | S = "${UNPACKDIR}/SDL3_ttf-${PV}" | ||
12 | |||
13 | inherit cmake pkgconfig | ||
14 | |||
15 | FILES:${PN} += "${datadir}/licenses" | ||
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb new file mode 100644 index 0000000000..9579cb73a1 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb | |||
@@ -0,0 +1,78 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer" | ||
2 | DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \ | ||
3 | library designed to provide low level access to audio, keyboard, mouse, \ | ||
4 | joystick, 3D hardware via OpenGL, and 2D video framebuffer." | ||
5 | HOMEPAGE = "http://www.libsdl.org" | ||
6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
7 | |||
8 | SECTION = "libs" | ||
9 | |||
10 | LICENSE = "Zlib & BSD-2-Clause" | ||
11 | LIC_FILES_CHKSUM = "\ | ||
12 | file://LICENSE.txt;md5=cbf0e3161523f9a9315b6b915c5c4457 \ | ||
13 | file://src/hidapi/LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077 \ | ||
14 | file://src/hidapi/LICENSE-bsd.txt;md5=b5fa085ce0926bb50d0621620a82361f \ | ||
15 | file://src/video/yuv2rgb/LICENSE;md5=79f8f3418d91531e05f0fc94ca67e071 \ | ||
16 | " | ||
17 | |||
18 | SRC_URI = "http://www.libsdl.org/release/SDL3-${PV}.tar.gz" | ||
19 | |||
20 | S = "${UNPACKDIR}/SDL3-${PV}" | ||
21 | |||
22 | SRC_URI[sha256sum] = "6340e58879b2d15830c8460d2f589a385c444d1faa2a4828a9626c7322562be8" | ||
23 | |||
24 | inherit cmake lib_package binconfig-disabled pkgconfig upstream-version-is-even | ||
25 | |||
26 | CVE_PRODUCT = "simple_directmedia_layer sdl" | ||
27 | |||
28 | EXTRA_OECMAKE = " \ | ||
29 | -DSDL_OSS_DEFAULT=OFF \ | ||
30 | -DSDL_DISKAUDIO=OFF \ | ||
31 | -DSDL_DUMMYVIDEO=OFF \ | ||
32 | -DSDL_RPI=OFF \ | ||
33 | -DSDL_PTHREADS=ON \ | ||
34 | -DSDL_RPATH=OFF \ | ||
35 | -DSDL_SNDIO=OFF \ | ||
36 | -DSDL_X11_XCURSOR=OFF \ | ||
37 | -DSDL_X11_XDBE=OFF \ | ||
38 | -DSDL_X11_XFIXES=OFF \ | ||
39 | -DSDL_X11_XINPUT=OFF \ | ||
40 | -DSDL_X11_XSCRNSAVER=OFF \ | ||
41 | -DSDL_X11_XSHAPE=OFF \ | ||
42 | " | ||
43 | |||
44 | # opengl packageconfig factored out to make it easy for distros | ||
45 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
46 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
47 | |||
48 | PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}" | ||
49 | PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}" | ||
50 | PACKAGECONFIG ??= " \ | ||
51 | ${PACKAGECONFIG_GL} \ | ||
52 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio pipewire x11 vulkan', d)} \ | ||
53 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
54 | ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \ | ||
55 | ${@bb.utils.contains_any("DISTRO_FEATURES", "x11 wayland","","console-build",d)} \ | ||
56 | " | ||
57 | PACKAGECONFIG[alsa] = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib," | ||
58 | PACKAGECONFIG[arm-neon] = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF" | ||
59 | PACKAGECONFIG[console-build] = "-DSDL_UNIX_CONSOLE_BUILD=ON" | ||
60 | PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" | ||
61 | PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" | ||
62 | PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" | ||
63 | # The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers, | ||
64 | # so we'll just use libusb when it's available. | ||
65 | PACKAGECONFIG[libusb] = "-DSDL_HIDAPI_LIBUSB=ON,-DSDL_HIDAPI_LIBUSB=OFF,libusb1" | ||
66 | PACKAGECONFIG[libdecor] = "-DSDL_WAYLAND_LIBDECOR=ON,-DSDL_WAYLAND_LIBDECOR=OFF,libdecor,libdecor" | ||
67 | PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" | ||
68 | PACKAGECONFIG[pipewire] = "-DSDL_PIPEWIRE_SHARED=ON,-DSDL_PIPEWIRE_SHARED=OFF,pipewire" | ||
69 | PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio" | ||
70 | PACKAGECONFIG[vulkan] = "-DSDL_VULKAN=ON -DSDL_RENDER_VULKAN=ON,-DSDL_VULKAN=OFF -DSDL_RENDER_VULKAN=OFF" | ||
71 | PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon" | ||
72 | PACKAGECONFIG[x11] = "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext libxrandr libxrender" | ||
73 | |||
74 | CFLAGS:append:class-native = " -DNO_SHARED_MEMORY" | ||
75 | |||
76 | FILES:${PN} += "${datadir}/licenses/SDL3/LICENSE.txt" | ||
77 | |||
78 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb index ce01593b8b..ff5df428e8 100644 --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb | |||
@@ -35,7 +35,7 @@ PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,libpng" | |||
35 | PACKAGECONFIG[pthread] = "-DWITH_THREADS=ON,-DWITH_THREADS=OFF," | 35 | PACKAGECONFIG[pthread] = "-DWITH_THREADS=ON,-DWITH_THREADS=OFF," |
36 | PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd" | 36 | PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd" |
37 | PACKAGECONFIG[sasl] = "-DWITH_SASL=ON,-DWITH_SASL=OFF,cyrus-sasl" | 37 | PACKAGECONFIG[sasl] = "-DWITH_SASL=ON,-DWITH_SASL=OFF,cyrus-sasl" |
38 | PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,libsdl2" | 38 | PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,virtual/libsdl2" |
39 | PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF," | 39 | PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF," |
40 | PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" | 40 | PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" |
41 | 41 | ||
@@ -47,7 +47,6 @@ inherit cmake | |||
47 | SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https" | 47 | SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https" |
48 | SRCREV = "10e9eb75f73e973725dc75c373de5d89807af028" | 48 | SRCREV = "10e9eb75f73e973725dc75c373de5d89807af028" |
49 | 49 | ||
50 | S = "${WORKDIR}/git" | ||
51 | 50 | ||
52 | EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}" | 51 | EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}" |
53 | 52 | ||
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch deleted file mode 100644 index b29e5dc7b2..0000000000 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch +++ /dev/null | |||
@@ -1,176 +0,0 @@ | |||
1 | From b81fb7942ab77b0bf6791e5fd98411dd68f133d9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 18 Dec 2022 15:13:00 -0800 | ||
4 | Subject: [PATCH] libyui-ncurses: Replace off64_t with off_t and stat64 with stat | ||
5 | |||
6 | stat is same as stat64 when 64bit off_t is used. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/88] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | CMakeLists.txt | 2 +- | ||
12 | src/NCAskForFile.cc | 6 +++--- | ||
13 | src/NCFileSelection.cc | 24 ++++++++++++------------ | ||
14 | src/NCFileSelection.h | 6 +++--- | ||
15 | 4 files changed, 19 insertions(+), 19 deletions(-) | ||
16 | |||
17 | diff --git a/CMakeLists.txt b/libyui-ncurses/CMakeLists.txt | ||
18 | index b10eab8e..2000bb58 100644 | ||
19 | --- a/CMakeLists.txt | ||
20 | +++ b/CMakeLists.txt | ||
21 | @@ -58,7 +58,7 @@ set( CMAKE_INSTALL_MESSAGE LAZY ) # Suppress "up-to-date" messages during "make | ||
22 | # Initialize compiler flags for all targets in all subdirectories | ||
23 | add_compile_options( "-Wall" ) | ||
24 | add_compile_options( "-Os" ) # Optimize for size (overrides CMake's -O3 in RELEASE builds) | ||
25 | - | ||
26 | +add_compile_options( "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ) # Enable largefile support | ||
27 | if ( WERROR ) | ||
28 | add_compile_options( "-Werror" ) | ||
29 | endif() | ||
30 | diff --git a/src/NCAskForFile.cc b/libyui-ncurses/src/NCAskForFile.cc | ||
31 | index aba6e0a6..44bb81bc 100644 | ||
32 | --- a/src/NCAskForFile.cc | ||
33 | +++ b/src/NCAskForFile.cc | ||
34 | @@ -73,8 +73,8 @@ std::string NCAskForFile::checkIniDir( std::string iniDir ) | ||
35 | { | ||
36 | std::string dname = ""; | ||
37 | |||
38 | - struct stat64 statInfo; | ||
39 | - stat64( iniDir.c_str(), &statInfo ); | ||
40 | + struct stat statInfo; | ||
41 | + stat( iniDir.c_str(), &statInfo ); | ||
42 | |||
43 | if ( S_ISDIR( statInfo.st_mode ) ) | ||
44 | { | ||
45 | @@ -90,7 +90,7 @@ std::string NCAskForFile::checkIniDir( std::string iniDir ) | ||
46 | && pos != 0 ) | ||
47 | { | ||
48 | std::string dir = iniDir.substr( 0, pos ); | ||
49 | - stat64( dir.c_str(), &statInfo ); | ||
50 | + stat( dir.c_str(), &statInfo ); | ||
51 | |||
52 | if ( S_ISDIR( statInfo.st_mode ) ) | ||
53 | { | ||
54 | diff --git a/src/NCFileSelection.cc b/libyui-ncurses/src/NCFileSelection.cc | ||
55 | index 3eb9c908..8894dc72 100644 | ||
56 | --- a/src/NCFileSelection.cc | ||
57 | +++ b/src/NCFileSelection.cc | ||
58 | @@ -46,7 +46,7 @@ using std::list; | ||
59 | |||
60 | |||
61 | NCFileInfo::NCFileInfo( string fileName, | ||
62 | - struct stat64 * statInfo, | ||
63 | + struct stat * statInfo, | ||
64 | bool link ) | ||
65 | { | ||
66 | _name = fileName; | ||
67 | @@ -146,7 +146,7 @@ NCFileInfo::NCFileInfo() | ||
68 | _mode = ( mode_t )0; | ||
69 | _device = ( dev_t )0; | ||
70 | _links = ( nlink_t )0; | ||
71 | - _size = ( off64_t )0; | ||
72 | + _size = ( off_t )0; | ||
73 | _mtime = ( time_t )0; | ||
74 | } | ||
75 | |||
76 | @@ -177,11 +177,11 @@ NCFileSelection::NCFileSelection( YWidget * parent, | ||
77 | { | ||
78 | SetSepChar( ' ' ); | ||
79 | |||
80 | - struct stat64 statInfo; | ||
81 | + struct stat statInfo; | ||
82 | |||
83 | if ( !iniDir.empty() ) | ||
84 | { | ||
85 | - stat64( iniDir.c_str(), &statInfo ); | ||
86 | + stat( iniDir.c_str(), &statInfo ); | ||
87 | } | ||
88 | |||
89 | if ( iniDir.empty() | ||
90 | @@ -559,8 +559,8 @@ NCursesEvent NCFileTable::wHandleInput( wint_t key ) | ||
91 | bool NCFileTable::fillList() | ||
92 | { | ||
93 | |||
94 | - struct stat64 statInfo; | ||
95 | - struct stat64 linkInfo; | ||
96 | + struct stat statInfo; | ||
97 | + struct stat linkInfo; | ||
98 | struct dirent * entry; | ||
99 | list<string> tmpList; | ||
100 | list<string>::iterator it; | ||
101 | @@ -592,7 +592,7 @@ bool NCFileTable::fillList() | ||
102 | { | ||
103 | string fullName = currentDir + "/" + ( *it ); | ||
104 | |||
105 | - if ( lstat64( fullName.c_str(), &statInfo ) == 0 ) | ||
106 | + if ( lstat( fullName.c_str(), &statInfo ) == 0 ) | ||
107 | { | ||
108 | if ( S_ISREG( statInfo.st_mode ) || S_ISBLK( statInfo.st_mode ) ) | ||
109 | { | ||
110 | @@ -604,7 +604,7 @@ bool NCFileTable::fillList() | ||
111 | } | ||
112 | else if ( S_ISLNK( statInfo.st_mode ) ) | ||
113 | { | ||
114 | - if ( stat64( fullName.c_str(), &linkInfo ) == 0 ) | ||
115 | + if ( stat( fullName.c_str(), &linkInfo ) == 0 ) | ||
116 | { | ||
117 | if ( S_ISREG( linkInfo.st_mode ) || S_ISBLK( linkInfo.st_mode ) ) | ||
118 | { | ||
119 | @@ -701,8 +701,8 @@ void NCDirectoryTable::fillHeader() | ||
120 | |||
121 | bool NCDirectoryTable::fillList() | ||
122 | { | ||
123 | - struct stat64 statInfo; | ||
124 | - struct stat64 linkInfo; | ||
125 | + struct stat statInfo; | ||
126 | + struct stat linkInfo; | ||
127 | struct dirent * entry; | ||
128 | list<string> tmpList; | ||
129 | list<string>::iterator it; | ||
130 | @@ -734,7 +734,7 @@ bool NCDirectoryTable::fillList() | ||
131 | { | ||
132 | string fullName = currentDir + "/" + ( *it ); | ||
133 | |||
134 | - if ( lstat64( fullName.c_str(), &statInfo ) == 0 ) | ||
135 | + if ( lstat( fullName.c_str(), &statInfo ) == 0 ) | ||
136 | { | ||
137 | if ( S_ISDIR( statInfo.st_mode ) ) | ||
138 | { | ||
139 | @@ -746,7 +746,7 @@ bool NCDirectoryTable::fillList() | ||
140 | } | ||
141 | else if ( S_ISLNK( statInfo.st_mode ) ) | ||
142 | { | ||
143 | - if ( stat64( fullName.c_str(), &linkInfo ) == 0 ) | ||
144 | + if ( stat( fullName.c_str(), &linkInfo ) == 0 ) | ||
145 | { | ||
146 | if ( S_ISDIR( linkInfo.st_mode ) ) | ||
147 | { | ||
148 | diff --git a/src/NCFileSelection.h b/libyui-ncurses/src/NCFileSelection.h | ||
149 | index 0569215d..5c459d62 100644 | ||
150 | --- a/src/NCFileSelection.h | ||
151 | +++ b/src/NCFileSelection.h | ||
152 | @@ -44,10 +44,10 @@ | ||
153 | struct NCFileInfo | ||
154 | { | ||
155 | /** | ||
156 | - * Constructor from a stat buffer (i.e. based on an lstat64() call). | ||
157 | + * Constructor from a stat buffer (i.e. based on an lstat() call). | ||
158 | **/ | ||
159 | NCFileInfo( std::string fileName, | ||
160 | - struct stat64 * statInfo, | ||
161 | + struct stat * statInfo, | ||
162 | bool link = false ); | ||
163 | |||
164 | NCFileInfo(); | ||
165 | @@ -65,7 +65,7 @@ struct NCFileInfo | ||
166 | dev_t _device; // device this object resides on | ||
167 | mode_t _mode; // file permissions + object type | ||
168 | nlink_t _links; // number of links | ||
169 | - off64_t _size; // size in bytes | ||
170 | + off_t _size; // size in bytes | ||
171 | time_t _mtime; // modification time | ||
172 | |||
173 | bool isDir() { return (( S_ISDIR( _mode ) ) ? true : false ); } | ||
174 | -- | ||
175 | 2.39.0 | ||
176 | |||
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.2.3.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.6.2.bb index bcc5ef33e2..d7c96492b2 100644 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.2.3.bb +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.6.2.bb | |||
@@ -5,14 +5,13 @@ LIC_FILES_CHKSUM = "file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad0 | |||
5 | " | 5 | " |
6 | 6 | ||
7 | SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \ |
8 | file://0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch \ | ||
9 | " | 8 | " |
10 | 9 | ||
11 | SRC_URI:append:class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" | 10 | SRC_URI:append:class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" |
12 | 11 | ||
13 | SRCREV = "dabdcd9cc6a0058fd6966d7d2e19d508debcc0ac" | 12 | SRCREV = "e691b563262306a40a61bbf228839fa06e4f0516" |
14 | 13 | ||
15 | S = "${WORKDIR}/git/libyui-ncurses" | 14 | S = "${UNPACKDIR}/${BP}/libyui-ncurses" |
16 | 15 | ||
17 | inherit cmake gettext pkgconfig | 16 | inherit cmake gettext pkgconfig |
18 | 17 | ||
@@ -20,9 +19,16 @@ DEPENDS += "boost libyui ncurses" | |||
20 | 19 | ||
21 | BBCLASSEXTEND = "nativesdk" | 20 | BBCLASSEXTEND = "nativesdk" |
22 | 21 | ||
23 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" | 22 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release -DWERROR=OFF -DCMAKE_SKIP_RPATH=1" |
23 | |||
24 | # TODO: Check with newer GCC, it works ok with GCC | ||
25 | # GCC-14 causes buildpaths QA error | ||
26 | # WARNING: libyui-ncurses-4.6.2-r0 do_package_qa: QA Issue: File /usr/lib/yui/.debug/libyui-ncurses.so.16.0.0 in package libyui-ncurses-dbg contains reference to TMPDIR [buildpaths | ||
27 | |||
28 | DEBUG_LEVELFLAG = "" | ||
24 | 29 | ||
25 | CXXFLAGS += "-DNCURSES_WIDECHAR" | 30 | CXXFLAGS += "-DNCURSES_WIDECHAR" |
31 | LDFLAGS += "-L${B}/src" | ||
26 | 32 | ||
27 | do_configure:prepend () { | 33 | do_configure:prepend () { |
28 | cd ${S} | 34 | cd ${S} |
diff --git a/meta-oe/recipes-graphics/libyui/libyui_4.2.3.bb b/meta-oe/recipes-graphics/libyui/libyui_4.6.2.bb index 939f3f36e5..d86aa4da91 100644 --- a/meta-oe/recipes-graphics/libyui/libyui_4.2.3.bb +++ b/meta-oe/recipes-graphics/libyui/libyui_4.6.2.bb | |||
@@ -10,9 +10,9 @@ SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \ | |||
10 | file://0001-Use-relative-install-paths-for-CMake.patch \ | 10 | file://0001-Use-relative-install-paths-for-CMake.patch \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SRCREV = "dabdcd9cc6a0058fd6966d7d2e19d508debcc0ac" | 13 | SRCREV = "e691b563262306a40a61bbf228839fa06e4f0516" |
14 | 14 | ||
15 | S = "${WORKDIR}/git/libyui" | 15 | S = "${UNPACKDIR}/${BP}/libyui" |
16 | 16 | ||
17 | inherit cmake gettext pkgconfig | 17 | inherit cmake gettext pkgconfig |
18 | 18 | ||
@@ -20,6 +20,7 @@ DEPENDS += "boost" | |||
20 | 20 | ||
21 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" | 21 | EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" |
22 | 22 | ||
23 | LDFLAGS += "-L${B}/src" | ||
23 | BBCLASSEXTEND = "native nativesdk" | 24 | BBCLASSEXTEND = "native nativesdk" |
24 | 25 | ||
25 | do_install:append () { | 26 | do_install:append () { |
diff --git a/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..e61b5224aa --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From a9e41f7e9590c757e74877cace6442dd676223ff Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Fri, 21 Mar 2025 10:25:43 +0000 | ||
4 | Subject: [PATCH] thorvg: fix build with gcc-15 | ||
5 | |||
6 | * add missing include to fix: | ||
7 | src/libs/thorvg/thorvg.h:357:20: error: 'uint8_t' has not been declared | ||
8 | 357 | Result opacity(uint8_t o) noexcept; | ||
9 | | ^~~~~~~ | ||
10 | |||
11 | * not needed with latest master where it was resolved differently in | ||
12 | fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772) | ||
13 | which includes stdlib/lv_string.h which includes misc/lv_types.h which | ||
14 | includes stdint | ||
15 | |||
16 | Upstream-Status: Pending [not needed with latest master where it was resolved differently in fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)] | ||
17 | |||
18 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
19 | --- | ||
20 | src/libs/thorvg/thorvg.h | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | --- a/src/libs/thorvg/thorvg.h | ||
24 | +++ b/src/libs/thorvg/thorvg.h | ||
25 | @@ -12,6 +12,7 @@ | ||
26 | #define TVG_BUILD 1 | ||
27 | |||
28 | |||
29 | +#include <cstdint> | ||
30 | #include <functional> | ||
31 | #include <memory> | ||
32 | #include <string> | ||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch b/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch deleted file mode 100644 index bd619b1572..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | From 5b7f657e8ad656e0854f2252b3bd482b966d650c Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Wed, 13 Mar 2024 02:12:30 +0100 | ||
4 | Subject: [PATCH 2/2] fix(sdl): handle both LV_IMAGE_SRC_FILE and | ||
5 | LV_IMAGE_SRC_VARIABLE | ||
6 | |||
7 | The SDL image draw code currently assumes that the image source is a | ||
8 | filename and attempts to open that filename. This is not necessarily | ||
9 | the case, e.g. the lv_demo_fb uses encoded images which are of type | ||
10 | LV_IMAGE_SRC_VARIABLE and instead of filename, come with a buffer of | ||
11 | pixels. Handle the later using SDL_CreateRGBSurfaceFrom(). | ||
12 | |||
13 | Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/5852] | ||
14 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
15 | --- | ||
16 | src/draw/sdl/lv_draw_sdl.c | 30 +++++++++++++++++++++++++++--- | ||
17 | 1 file changed, 27 insertions(+), 3 deletions(-) | ||
18 | |||
19 | diff --git a/src/draw/sdl/lv_draw_sdl.c b/src/draw/sdl/lv_draw_sdl.c | ||
20 | index cbb555d94..5eee5b725 100644 | ||
21 | --- a/src/draw/sdl/lv_draw_sdl.c | ||
22 | +++ b/src/draw/sdl/lv_draw_sdl.c | ||
23 | @@ -224,10 +224,34 @@ static bool draw_to_texture(lv_draw_sdl_unit_t * u, cache_data_t * data) | ||
24 | break; | ||
25 | case LV_DRAW_TASK_TYPE_IMAGE: { | ||
26 | lv_draw_image_dsc_t * image_dsc = task->draw_dsc; | ||
27 | - const char * path = image_dsc->src; | ||
28 | - SDL_Surface * surface = IMG_Load(&path[2]); | ||
29 | + lv_image_src_t type = lv_image_src_get_type(image_dsc->src); | ||
30 | + SDL_Surface * surface = NULL; | ||
31 | + if(type == LV_IMAGE_SRC_FILE) { | ||
32 | + const char * path = image_dsc->src; | ||
33 | + surface = IMG_Load(&path[2]); | ||
34 | + } | ||
35 | + else if(type == LV_IMAGE_SRC_VARIABLE) { | ||
36 | + lv_image_dsc_t * lvd = image_dsc->src; | ||
37 | + surface = SDL_CreateRGBSurfaceFrom(lvd->data, | ||
38 | + lvd->header.w, lvd->header.h, | ||
39 | + LV_COLOR_FORMAT_GET_BPP(lvd->header.cf), | ||
40 | + lvd->header.stride, | ||
41 | +#if SDL_BYTEORDER == SDL_LIL_ENDIAN | ||
42 | + 0x00FF0000, | ||
43 | + 0x0000FF00, | ||
44 | + 0x000000FF, | ||
45 | + 0xFF000000 | ||
46 | +#else | ||
47 | + 0x0000FF00, | ||
48 | + 0x00FF0000, | ||
49 | + 0xFF000000, | ||
50 | + 0x000000FF | ||
51 | +#endif | ||
52 | + ); | ||
53 | + } | ||
54 | + | ||
55 | if(surface == NULL) { | ||
56 | - fprintf(stderr, "could not load image: %s\n", IMG_GetError()); | ||
57 | + fprintf(stderr, "could not load image\n"); | ||
58 | return false; | ||
59 | } | ||
60 | |||
61 | -- | ||
62 | 2.43.0 | ||
63 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch b/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch deleted file mode 100644 index 73c01cb590..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 85d90749a10b5f91741d37b75825935bf7cc4fb3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Tue, 12 Mar 2024 03:00:37 +0100 | ||
4 | Subject: [PATCH 3/6] Make fbdev device node runtime configurable via | ||
5 | environment variable | ||
6 | |||
7 | Test whether $LV_VIDEO_CARD environment variable is non-NULL and in | ||
8 | case it is, use it as the video card file in lv_linux_fbdev_set_file(). | ||
9 | Otherwise fall back to /dev/fb0, i.e. the current behavior. This way, | ||
10 | it is possible to test LVGL on systems with multiple fbdev devices. | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47] | ||
13 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
14 | --- | ||
15 | main.c | 8 +++++++- | ||
16 | 1 file changed, 7 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/main.c b/main.c | ||
19 | index 9775b9c..b64a098 100644 | ||
20 | --- a/main.c | ||
21 | +++ b/main.c | ||
22 | @@ -4,13 +4,19 @@ | ||
23 | #include <pthread.h> | ||
24 | #include <time.h> | ||
25 | |||
26 | +static const char *lv_linux_get_video_card_node(const char *videocard_default) | ||
27 | +{ | ||
28 | + return getenv("LV_VIDEO_CARD") ? : videocard_default; | ||
29 | +} | ||
30 | + | ||
31 | int main(void) | ||
32 | { | ||
33 | + const char *videocard = lv_linux_get_video_card_node("/dev/fb0"); | ||
34 | lv_init(); | ||
35 | |||
36 | /*Linux frame buffer device init*/ | ||
37 | lv_display_t * disp = lv_linux_fbdev_create(); | ||
38 | - lv_linux_fbdev_set_file(disp, "/dev/fb0"); | ||
39 | + lv_linux_fbdev_set_file(disp, videocard); | ||
40 | |||
41 | /*Create a Demo*/ | ||
42 | lv_demo_widgets(); | ||
43 | -- | ||
44 | 2.43.0 | ||
45 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch b/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch deleted file mode 100644 index d24d150c06..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From 593da8e11cc5029773ad330b5d7633ee9f2fba95 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Tue, 12 Mar 2024 18:09:42 +0100 | ||
4 | Subject: [PATCH 4/6] Factor out fbdev initialization code | ||
5 | |||
6 | Pull fbdev initialization code into separate function and add ifdef | ||
7 | around it, so it can be conditionally compiled in. This is done in | ||
8 | preparation for addition of other backend initialization example | ||
9 | code. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47] | ||
12 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
13 | --- | ||
14 | main.c | 18 ++++++++++++++---- | ||
15 | 1 file changed, 14 insertions(+), 4 deletions(-) | ||
16 | |||
17 | diff --git a/main.c b/main.c | ||
18 | index b64a098..288519c 100644 | ||
19 | --- a/main.c | ||
20 | +++ b/main.c | ||
21 | @@ -9,14 +9,24 @@ static const char *lv_linux_get_video_card_node(const char *videocard_default) | ||
22 | return getenv("LV_VIDEO_CARD") ? : videocard_default; | ||
23 | } | ||
24 | |||
25 | -int main(void) | ||
26 | +#if LV_USE_LINUX_FBDEV | ||
27 | +static void lv_linux_disp_init(void) | ||
28 | { | ||
29 | const char *videocard = lv_linux_get_video_card_node("/dev/fb0"); | ||
30 | - lv_init(); | ||
31 | - | ||
32 | - /*Linux frame buffer device init*/ | ||
33 | lv_display_t * disp = lv_linux_fbdev_create(); | ||
34 | + | ||
35 | lv_linux_fbdev_set_file(disp, videocard); | ||
36 | +} | ||
37 | +#else | ||
38 | +#error Unsupported configuration | ||
39 | +#endif | ||
40 | + | ||
41 | +int main(void) | ||
42 | +{ | ||
43 | + lv_init(); | ||
44 | + | ||
45 | + /*Linux display device init*/ | ||
46 | + lv_linux_disp_init(); | ||
47 | |||
48 | /*Create a Demo*/ | ||
49 | lv_demo_widgets(); | ||
50 | -- | ||
51 | 2.43.0 | ||
52 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch b/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch deleted file mode 100644 index 9ee7a7f19d..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | From dabf40559428733413432afa29598bc145aa6636 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Tue, 12 Mar 2024 03:08:13 +0100 | ||
4 | Subject: [PATCH 5/6] Add DRM/KMS example support | ||
5 | |||
6 | Extend the main.c to support both legacy fbdev and DRM/KMS initialization. | ||
7 | |||
8 | To use legacy fbdev support, adjust lv_conf.h as follows: | ||
9 | LV_USE_LINUX_FBDEV=1 | ||
10 | LV_USE_LINUX_DRM=0 | ||
11 | |||
12 | To use DRM/KMS support, adjust lv_conf.h as follows: | ||
13 | LV_USE_LINUX_FBDEV=0 | ||
14 | LV_USE_LINUX_DRM=1 | ||
15 | |||
16 | Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47] | ||
17 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
18 | --- | ||
19 | CMakeLists.txt | 5 ++++- | ||
20 | main.c | 8 ++++++++ | ||
21 | 2 files changed, 12 insertions(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
24 | index d91b196..c1cfb7f 100644 | ||
25 | --- a/CMakeLists.txt | ||
26 | +++ b/CMakeLists.txt | ||
27 | @@ -12,6 +12,9 @@ target_include_directories(lvgl PUBLIC ${PROJECT_SOURCE_DIR}) | ||
28 | |||
29 | add_executable(main main.c mouse_cursor_icon.c) | ||
30 | |||
31 | -target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} m pthread) | ||
32 | +include(${CMAKE_CURRENT_LIST_DIR}/lvgl/tests/FindLibDRM.cmake) | ||
33 | +include_directories(${Libdrm_INCLUDE_DIRS}) | ||
34 | + | ||
35 | +target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm_LIBRARIES} m pthread) | ||
36 | add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main) | ||
37 | |||
38 | diff --git a/main.c b/main.c | ||
39 | index 288519c..ab4e936 100644 | ||
40 | --- a/main.c | ||
41 | +++ b/main.c | ||
42 | @@ -17,6 +17,14 @@ static void lv_linux_disp_init(void) | ||
43 | |||
44 | lv_linux_fbdev_set_file(disp, videocard); | ||
45 | } | ||
46 | +#elif LV_USE_LINUX_DRM | ||
47 | +static void lv_linux_disp_init(void) | ||
48 | +{ | ||
49 | + const char *videocard = lv_linux_get_video_card_node("/dev/dri/card0"); | ||
50 | + lv_display_t * disp = lv_linux_drm_create(); | ||
51 | + | ||
52 | + lv_linux_drm_set_file(disp, videocard, -1); | ||
53 | +} | ||
54 | #else | ||
55 | #error Unsupported configuration | ||
56 | #endif | ||
57 | -- | ||
58 | 2.43.0 | ||
59 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch b/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch deleted file mode 100644 index 691ee80b59..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | From b202ce51f7b68c460fcd1b6d9c3ffa8aaf2baaf6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Tue, 12 Mar 2024 19:05:38 +0100 | ||
4 | Subject: [PATCH 6/6] Add SDL2 example support | ||
5 | |||
6 | Extend the main.c to support both legacy fbdev, DRM/KMS, SDL2 initialization. | ||
7 | The SDL2 window resolution can be configured using environment variables | ||
8 | LV_VIDEO_WIDTH and LV_VIDEO_HEIGHT and defaults to 800 x 480 . | ||
9 | |||
10 | To use legacy fbdev support, adjust lv_conf.h as follows: | ||
11 | LV_USE_LINUX_FBDEV=1 | ||
12 | LV_USE_LINUX_DRM=0 | ||
13 | LV_USE_SDL=0 | ||
14 | |||
15 | To use DRM/KMS support, adjust lv_conf.h as follows: | ||
16 | LV_USE_LINUX_FBDEV=0 | ||
17 | LV_USE_LINUX_DRM=1 | ||
18 | LV_USE_SDL=0 | ||
19 | |||
20 | To use SDL2 support, adjust lv_conf.h as follows: | ||
21 | LV_USE_LINUX_FBDEV=0 | ||
22 | LV_USE_LINUX_DRM=0 | ||
23 | LV_USE_SDL=1 | ||
24 | |||
25 | Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47] | ||
26 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
27 | --- | ||
28 | CMakeLists.txt | 6 +++++- | ||
29 | main.c | 8 ++++++++ | ||
30 | 2 files changed, 13 insertions(+), 1 deletion(-) | ||
31 | |||
32 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
33 | index c1cfb7f..658193f 100644 | ||
34 | --- a/CMakeLists.txt | ||
35 | +++ b/CMakeLists.txt | ||
36 | @@ -15,6 +15,10 @@ add_executable(main main.c mouse_cursor_icon.c) | ||
37 | include(${CMAKE_CURRENT_LIST_DIR}/lvgl/tests/FindLibDRM.cmake) | ||
38 | include_directories(${Libdrm_INCLUDE_DIRS}) | ||
39 | |||
40 | -target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm_LIBRARIES} m pthread) | ||
41 | +find_package(SDL2) | ||
42 | +find_package(SDL2_image) | ||
43 | +include_directories(${SDL2_INCLUDE_DIRS} ${SDL2_IMAGE_INCLUDE_DIRS}) | ||
44 | + | ||
45 | +target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${SDL2_IMAGE_LIBRARIES} ${Libdrm_LIBRARIES} m pthread) | ||
46 | add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main) | ||
47 | |||
48 | diff --git a/main.c b/main.c | ||
49 | index ab4e936..4b66ebc 100644 | ||
50 | --- a/main.c | ||
51 | +++ b/main.c | ||
52 | @@ -25,6 +25,14 @@ static void lv_linux_disp_init(void) | ||
53 | |||
54 | lv_linux_drm_set_file(disp, videocard, -1); | ||
55 | } | ||
56 | +#elif LV_USE_SDL | ||
57 | +static void lv_linux_disp_init(void) | ||
58 | +{ | ||
59 | + const int width = atoi(getenv("LV_VIDEO_WIDTH") ? : "800"); | ||
60 | + const int height = atoi(getenv("LV_VIDEO_HEIGHT") ? : "480"); | ||
61 | + | ||
62 | + lv_sdl_window_create(width, height); | ||
63 | +} | ||
64 | #else | ||
65 | #error Unsupported configuration | ||
66 | #endif | ||
67 | -- | ||
68 | 2.43.0 | ||
69 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch b/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch deleted file mode 100644 index 6997d84153..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | From 40657a770baadfff30abfecf7638e7b1c340db4d Mon Sep 17 00:00:00 2001 | ||
2 | From: Marek Vasut <marex@denx.de> | ||
3 | Date: Thu, 14 Mar 2024 03:23:10 +0100 | ||
4 | Subject: [PATCH] fix(cmake): generate versioned shared libraries | ||
5 | |||
6 | Add missing version suffix to shared libraries. Currently the filename of | ||
7 | generated shared libraries is only liblvgl.so, which prevents coexistence | ||
8 | of different versions of LVGL on the same system. Set VERSION and SOVERSION | ||
9 | to make cmake add the version suffix to generated shared libraries. That | ||
10 | changes the filename to liblvgl.so.9.0.0 and includes symlink with major | ||
11 | ABI version, i.e. liblvgl.so.9 . | ||
12 | |||
13 | Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/5865] | ||
14 | Signed-off-by: Marek Vasut <marex@denx.de> | ||
15 | --- | ||
16 | env_support/cmake/custom.cmake | 11 +++++++++++ | ||
17 | 1 file changed, 11 insertions(+) | ||
18 | |||
19 | diff --git a/env_support/cmake/custom.cmake b/env_support/cmake/custom.cmake | ||
20 | index 9800468eb..6f33f1cc8 100644 | ||
21 | --- a/env_support/cmake/custom.cmake | ||
22 | +++ b/env_support/cmake/custom.cmake | ||
23 | @@ -1,3 +1,6 @@ | ||
24 | +set(LVGL_VERSION "9.0.0") | ||
25 | +set(LVGL_SOVERSION "9") | ||
26 | + | ||
27 | # Option to define LV_LVGL_H_INCLUDE_SIMPLE, default: ON | ||
28 | option(LV_LVGL_H_INCLUDE_SIMPLE | ||
29 | "Use #include \"lvgl.h\" instead of #include \"../../lvgl.h\"" ON) | ||
30 | @@ -119,6 +122,8 @@ install( | ||
31 | set_target_properties( | ||
32 | lvgl | ||
33 | PROPERTIES OUTPUT_NAME lvgl | ||
34 | + VERSION ${LVGL_VERSION} | ||
35 | + SOVERSION ${LVGL_SOVERSION} | ||
36 | ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
37 | LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
38 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" | ||
39 | @@ -137,6 +142,8 @@ if(NOT LV_CONF_BUILD_DISABLE_THORVG_INTERNAL) | ||
40 | set_target_properties( | ||
41 | lvgl_thorvg | ||
42 | PROPERTIES OUTPUT_NAME lvgl_thorvg | ||
43 | + VERSION ${LVGL_VERSION} | ||
44 | + SOVERSION ${LVGL_SOVERSION} | ||
45 | ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
46 | LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
47 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" | ||
48 | @@ -155,6 +162,8 @@ if(NOT LV_CONF_BUILD_DISABLE_DEMOS) | ||
49 | set_target_properties( | ||
50 | lvgl_demos | ||
51 | PROPERTIES OUTPUT_NAME lvgl_demos | ||
52 | + VERSION ${LVGL_VERSION} | ||
53 | + SOVERSION ${LVGL_SOVERSION} | ||
54 | ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
55 | LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
56 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" | ||
57 | @@ -173,6 +182,8 @@ if(NOT LV_CONF_BUILD_DISABLE_EXAMPLES) | ||
58 | set_target_properties( | ||
59 | lvgl_examples | ||
60 | PROPERTIES OUTPUT_NAME lvgl_examples | ||
61 | + VERSION ${LVGL_VERSION} | ||
62 | + SOVERSION ${LVGL_SOVERSION} | ||
63 | ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
64 | LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" | ||
65 | RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" | ||
66 | -- | ||
67 | 2.43.0 | ||
68 | |||
diff --git a/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch b/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch deleted file mode 100644 index 449db53dfb..0000000000 --- a/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From a6f822f75b3ba01b00c028608c93160d09a6ffd1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jaeyoon Jung <jaeyoon.jung@lge.com> | ||
3 | Date: Mon, 1 Apr 2024 18:00:39 +0900 | ||
4 | Subject: [PATCH] fix(fbdev): set resolution prior to buffer | ||
5 | |||
6 | Otherwise it ends up with using the default value 800x480 and may fail | ||
7 | at lv_display_set_buffers due to incorrect resolution. | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/6004] | ||
10 | Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com> | ||
11 | --- | ||
12 | |||
13 | src/drivers/display/fb/lv_linux_fbdev.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/drivers/display/fb/lv_linux_fbdev.c b/src/drivers/display/fb/lv_linux_fbdev.c | ||
17 | index b3cc89199..5fb4c5c9f 100644 | ||
18 | --- a/src/drivers/display/fb/lv_linux_fbdev.c | ||
19 | +++ b/src/drivers/display/fb/lv_linux_fbdev.c | ||
20 | @@ -233,8 +233,8 @@ void lv_linux_fbdev_set_file(lv_display_t * disp, const char * file) | ||
21 | draw_buf_2 = malloc(draw_buf_size); | ||
22 | } | ||
23 | |||
24 | - lv_display_set_buffers(disp, draw_buf, draw_buf_2, draw_buf_size, LV_LINUX_FBDEV_RENDER_MODE); | ||
25 | lv_display_set_resolution(disp, hor_res, ver_res); | ||
26 | + lv_display_set_buffers(disp, draw_buf, draw_buf_2, draw_buf_size, LV_LINUX_FBDEV_RENDER_MODE); | ||
27 | |||
28 | if(width > 0) { | ||
29 | lv_display_set_dpi(disp, DIV_ROUND_UP(hor_res * 254, width * 10)); | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc index 8fd3412c04..69e42af922 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc +++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc | |||
@@ -2,6 +2,8 @@ PACKAGECONFIG ??= "drm" | |||
2 | 2 | ||
3 | PACKAGECONFIG[drm] = ",,libdrm" | 3 | PACKAGECONFIG[drm] = ",,libdrm" |
4 | PACKAGECONFIG[fbdev] = ",," | 4 | PACKAGECONFIG[fbdev] = ",," |
5 | PACKAGECONFIG[gridnav] = ",," | ||
6 | PACKAGECONFIG[thorvg] = ",," | ||
5 | PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" | 7 | PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" |
6 | 8 | ||
7 | # Add libdrm include if drm is selected in PACKAGECONFIG | 9 | # Add libdrm include if drm is selected in PACKAGECONFIG |
@@ -14,6 +16,7 @@ LVGL_CONFIG_USE_EVDEV = "${@bb.utils.contains_any('PACKAGECONFIG', 'drm fbdev', | |||
14 | LVGL_CONFIG_USE_FBDEV = "${@bb.utils.contains('PACKAGECONFIG', 'fbdev', '1', '0', d)}" | 16 | LVGL_CONFIG_USE_FBDEV = "${@bb.utils.contains('PACKAGECONFIG', 'fbdev', '1', '0', d)}" |
15 | 17 | ||
16 | LVGL_CONFIG_USE_SDL = "${@bb.utils.contains('PACKAGECONFIG', 'sdl', '1', '0', d)}" | 18 | LVGL_CONFIG_USE_SDL = "${@bb.utils.contains('PACKAGECONFIG', 'sdl', '1', '0', d)}" |
19 | |||
17 | LVGL_CONFIG_SDL_FULLSCREEN ?= "0" | 20 | LVGL_CONFIG_SDL_FULLSCREEN ?= "0" |
18 | 21 | ||
19 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" | 22 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" |
@@ -26,8 +29,20 @@ LVGL_CONFIG_LV_LOG_PRINTF ?= "0" | |||
26 | 29 | ||
27 | LVGL_CONFIG_LV_USE_FONT_COMPRESSED ?= "0" | 30 | LVGL_CONFIG_LV_USE_FONT_COMPRESSED ?= "0" |
28 | 31 | ||
32 | LVGL_CONFIG_LV_USE_GRIDNAV = "${@bb.utils.contains('PACKAGECONFIG', 'gridnav', '1', '0', d)}" | ||
33 | |||
29 | LVGL_CONFIG_LV_THEME_DEFAULT_DARK ?= "0" | 34 | LVGL_CONFIG_LV_THEME_DEFAULT_DARK ?= "0" |
30 | 35 | ||
36 | LVGL_CONFIG_USE_LOTTIE = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}" | ||
37 | |||
38 | LVGL_CONFIG_USE_VECTOR_GRAPHICS = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}" | ||
39 | |||
40 | LVGL_CONFIG_USE_THORVG_INTERNAL = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}" | ||
41 | |||
42 | LVGL_CONFIG_USE_MATRIX = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}" | ||
43 | |||
44 | LVGL_CONFIG_USE_FLOAT = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}" | ||
45 | |||
31 | DEBUG_BUILD ??= "0" | 46 | DEBUG_BUILD ??= "0" |
32 | 47 | ||
33 | ALLOW_EMPTY:${PN} = "1" | 48 | ALLOW_EMPTY:${PN} = "1" |
@@ -70,7 +85,14 @@ do_configure:append() { | |||
70 | -e "s|^([[:space:]]*#define LV_LOG_PRINTF[[:space:]]).*|\1${LVGL_CONFIG_LV_LOG_PRINTF}|" \ | 85 | -e "s|^([[:space:]]*#define LV_LOG_PRINTF[[:space:]]).*|\1${LVGL_CONFIG_LV_LOG_PRINTF}|" \ |
71 | \ | 86 | \ |
72 | -e "s|^([[:space:]]*#define LV_USE_FONT_COMPRESSED[[:space:]]).*|\1${LVGL_CONFIG_LV_USE_FONT_COMPRESSED}|" \ | 87 | -e "s|^([[:space:]]*#define LV_USE_FONT_COMPRESSED[[:space:]]).*|\1${LVGL_CONFIG_LV_USE_FONT_COMPRESSED}|" \ |
88 | -e "s|^([[:space:]]*#define LV_USE_GRIDNAV[[:space:]]).*|\1${LVGL_CONFIG_LV_USE_GRIDNAV}|" \ | ||
73 | -e "s|^([[:space:]]*#define LV_THEME_DEFAULT_DARK[[:space:]]).*|\1${LVGL_CONFIG_LV_THEME_DEFAULT_DARK}|" \ | 89 | -e "s|^([[:space:]]*#define LV_THEME_DEFAULT_DARK[[:space:]]).*|\1${LVGL_CONFIG_LV_THEME_DEFAULT_DARK}|" \ |
74 | \ | 90 | \ |
91 | -e "s|^([[:space:]]*#define LV_USE_VECTOR_GRAPHIC[[:space:]]).*|\1${LVGL_CONFIG_USE_VECTOR_GRAPHICS}|" \ | ||
92 | -e "s|^([[:space:]]*#define LV_USE_THORVG_INTERNAL[[:space:]]).*|\1${LVGL_CONFIG_USE_THORVG_INTERNAL}|" \ | ||
93 | -e "s|^([[:space:]]*#define LV_USE_MATRIX[[:space:]]).*|\1${LVGL_CONFIG_USE_MATRIX}|" \ | ||
94 | -e "s|^([[:space:]]*#define LV_USE_FLOAT[[:space:]]).*|\1${LVGL_CONFIG_USE_FLOAT}|" \ | ||
95 | \ | ||
96 | -e "s|^([[:space:]]*#define LV_USE_LOTTIE[[:space:]]).*|\1${LVGL_CONFIG_USE_LOTTIE}|" \ | ||
75 | -i "${S}/lv_conf.h" | 97 | -i "${S}/lv_conf.h" |
76 | } | 98 | } |
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.2.2.bb index 6e8371baad..ede5c16f3f 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.2.2.bb | |||
@@ -5,18 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=802d3d83ae80ef5f343050bf96cce3a4 \ | |||
5 | file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | 5 | file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" |
6 | 6 | ||
7 | SRC_URI = "\ | 7 | SRC_URI = "\ |
8 | git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=master;name=demo \ | 8 | git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=release/v9.2;name=demo \ |
9 | git://github.com/lvgl/lvgl;protocol=https;branch=master;name=lvgl;subdir=git/lvgl \ | 9 | git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.2;name=lvgl;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/lvgl \ |
10 | file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch;patchdir=lvgl \ | 10 | file://0001-thorvg-fix-build-with-gcc-15.patch;patchdir=lvgl \ |
11 | file://0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch \ | ||
12 | file://0004-Factor-out-fbdev-initialization-code.patch \ | ||
13 | file://0005-Add-DRM-KMS-example-support.patch \ | ||
14 | file://0006-Add-SDL2-example-support.patch \ | ||
15 | file://0007-fix-cmake-generate-versioned-shared-libraries.patch;patchdir=lvgl \ | ||
16 | file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch;patchdir=lvgl \ | ||
17 | " | 11 | " |
18 | SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a" | 12 | SRCREV_demo = "c924e24c7aa55317521bcd9dd75ce9337508f5a5" |
19 | SRCREV_lvgl = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" | 13 | SRCREV_lvgl = "7f07a129e8d77f4984fff8e623fd5be18ff42e74" |
20 | SRCREV_FORMAT = "demo_lvgl" | 14 | SRCREV_FORMAT = "demo_lvgl" |
21 | 15 | ||
22 | EXTRA_OEMAKE = "DESTDIR=${D}" | 16 | EXTRA_OEMAKE = "DESTDIR=${D}" |
@@ -30,7 +24,6 @@ require lv-conf.inc | |||
30 | 24 | ||
31 | inherit cmake | 25 | inherit cmake |
32 | 26 | ||
33 | S = "${WORKDIR}/git" | ||
34 | 27 | ||
35 | do_configure:prepend() { | 28 | do_configure:prepend() { |
36 | if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then | 29 | if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then |
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb deleted file mode 100644 index 4435c40777..0000000000 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://lvgl.io/" | ||
6 | DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" | ||
7 | SUMMARY = "Light and Versatile Graphics Library" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
10 | |||
11 | SRC_URI = "\ | ||
12 | git://github.com/lvgl/lvgl;protocol=https;branch=master \ | ||
13 | file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \ | ||
14 | file://0007-fix-cmake-generate-versioned-shared-libraries.patch \ | ||
15 | file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch \ | ||
16 | " | ||
17 | SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" | ||
18 | |||
19 | inherit cmake | ||
20 | |||
21 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | require lv-conf.inc | ||
25 | |||
26 | do_install:append() { | ||
27 | install -d "${D}${includedir}/${PN}" | ||
28 | install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/${PN}/lv_conf.h" | ||
29 | } | ||
30 | |||
31 | FILES:${PN}-dev += "\ | ||
32 | ${includedir}/${PN}/ \ | ||
33 | " | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb new file mode 100644 index 0000000000..28306a1101 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://lvgl.io/" | ||
6 | DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" | ||
7 | SUMMARY = "Light and Versatile Graphics Library" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
10 | |||
11 | SRC_URI = "\ | ||
12 | git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.2 \ | ||
13 | file://0001-thorvg-fix-build-with-gcc-15.patch \ | ||
14 | " | ||
15 | SRCREV = "7f07a129e8d77f4984fff8e623fd5be18ff42e74" | ||
16 | |||
17 | inherit cmake | ||
18 | |||
19 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" | ||
20 | |||
21 | require lv-conf.inc | ||
22 | |||
23 | do_install:append() { | ||
24 | install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/${BPN}/lv_conf.h" | ||
25 | } | ||
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb index adf9cb597c..a7d79a916c 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
5 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ | 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ |
6 | file://lxdm.conf \ | 6 | file://lxdm.conf \ |
7 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ | 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ |
8 | ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ | 8 | ${@bb.utils.contains("IMAGE_FEATURES", "allow-root-login", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ |
9 | file://0002-let-autotools-create-lxdm.conf.patch \ | 9 | file://0002-let-autotools-create-lxdm.conf.patch \ |
10 | file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ | 10 | file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ |
11 | file://0004-fix-css-under-gtk-3.20.patch \ | 11 | file://0004-fix-css-under-gtk-3.20.patch \ |
@@ -21,7 +21,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar. | |||
21 | file://0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch \ | 21 | file://0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch \ |
22 | file://0001-Initialize-msghdr-struct-in-a-portable-way.patch \ | 22 | file://0001-Initialize-msghdr-struct-in-a-portable-way.patch \ |
23 | " | 23 | " |
24 | SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" | ||
25 | SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" | 24 | SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" |
26 | 25 | ||
27 | PE = "1" | 26 | PE = "1" |
@@ -30,9 +29,6 @@ DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3 | |||
30 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" | 29 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" |
31 | DEPENDS:append:libc-musl = " libexecinfo" | 30 | DEPENDS:append:libc-musl = " libexecinfo" |
32 | 31 | ||
33 | # combine oe-core way with angstrom DISTRO_TYPE | ||
34 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | ||
35 | |||
36 | inherit autotools pkgconfig gettext systemd features_check | 32 | inherit autotools pkgconfig gettext systemd features_check |
37 | # depends on virtual/libx11 | 33 | # depends on virtual/libx11 |
38 | REQUIRED_DISTRO_FEATURES = "x11" | 34 | REQUIRED_DISTRO_FEATURES = "x11" |
@@ -61,12 +57,13 @@ do_compile:append() { | |||
61 | 57 | ||
62 | do_install:append() { | 58 | do_install:append() { |
63 | install -d ${D}${localstatedir}/lib/lxdm | 59 | install -d ${D}${localstatedir}/lib/lxdm |
64 | install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm | 60 | install -m 644 ${UNPACKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm |
65 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then | 61 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
66 | # ArchLinux version of pam config has the following advantages: | 62 | # ArchLinux version of pam config has the following advantages: |
67 | # * simple setup of passwordless login | 63 | # * simple setup of passwordless login |
68 | # * in XFCE powerdown/restart enabled in logoff dialog | 64 | # * in XFCE powerdown/restart enabled in logoff dialog |
69 | install -m 644 ${WORKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm | 65 | install -m 644 ${UNPACKDIR}/${@bb.utils.contains_any("IMAGE_FEATURES", [ "allow-empty-password", "empty-root-password" ], "lxdm-pam-debug", "lxdm-pam",d)} \ |
66 | ${D}${sysconfdir}/pam.d/lxdm | ||
70 | fi | 67 | fi |
71 | } | 68 | } |
72 | 69 | ||
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.0.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.1.bb index c9c4a6c27a..2b26ec57ae 100644 --- a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.0.bb +++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.1.bb | |||
@@ -4,11 +4,10 @@ HOMEPAGE = "https://github.com/any1/neatvnc" | |||
4 | LICENSE = "ISC" | 4 | LICENSE = "ISC" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" |
6 | 6 | ||
7 | SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" | 7 | SRC_URI = "git://github.com/any1/neatvnc;branch=v0.8;protocol=https" |
8 | 8 | ||
9 | SRCREV = "46432ce8cade0b54a38d4bb42eb07f96c8ff49fd" | 9 | SRCREV = "07081567ab21a2b099ceb41ae8cab872a31cbb9a" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | DEPENDS = "libdrm pixman aml zlib" | 12 | DEPENDS = "libdrm pixman aml zlib" |
14 | 13 | ||
diff --git a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb index 0d53c78f3e..beebbd5665 100644 --- a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb +++ b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb | |||
@@ -7,7 +7,6 @@ DEPENDS = "virtual/libx11 libxtst" | |||
7 | 7 | ||
8 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz" | 8 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz" |
9 | 9 | ||
10 | SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67" | ||
11 | SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4" | 10 | SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4" |
12 | 11 | ||
13 | inherit autotools features_check | 12 | inherit autotools features_check |
diff --git a/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb b/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb index a44e79362d..c31ad985d9 100644 --- a/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb +++ b/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb | |||
@@ -5,7 +5,6 @@ SECTION = "graphics" | |||
5 | LICENSE = "NCSA" | 5 | LICENSE = "NCSA" |
6 | LIC_FILES_CHKSUM = "file://src/nyancat.c;beginline=27;endline=49;md5=285f7ac87da4a631f348800687d845bd" | 6 | LIC_FILES_CHKSUM = "file://src/nyancat.c;beginline=27;endline=49;md5=285f7ac87da4a631f348800687d845bd" |
7 | 7 | ||
8 | S = "${WORKDIR}/git" | ||
9 | 8 | ||
10 | SRCREV = "5ffb6c5c03d0e9156db8f360599d4f0449bb16b9" | 9 | SRCREV = "5ffb6c5c03d0e9156db8f360599d4f0449bb16b9" |
11 | SRC_URI = " \ | 10 | SRC_URI = " \ |
diff --git a/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch b/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch new file mode 100644 index 0000000000..8bc2b80f68 --- /dev/null +++ b/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | From d41128e5a1002af41c976c8860f8299cfcd3cd72 Mon Sep 17 00:00:00 2001 | ||
2 | From: pldubouilh <pldubouilh@gmail.com> | ||
3 | Date: Fri, 17 Mar 2023 18:23:47 +0100 | ||
4 | Subject: [PATCH] Fix list traversal issue in client_calc_layer | ||
5 | |||
6 | The calls to client_calc_layer_internal can modify stacking_list, which | ||
7 | can cause us to follow dangling ->next pointers (either by the pointer | ||
8 | itself already being freed, or it pointing to a freed area). Avoid this | ||
9 | by copying the list first, the goal is to visit every client in the list | ||
10 | once so this should be fine. | ||
11 | |||
12 | Upstream-Status: Backport [http://git.openbox.org/?p=mikachu/openbox.git;a=commit;h=d41128e5a1002af41c976c8860f8299cfcd3cd72] | ||
13 | Signed-off-by: Alexandre Videgrain <alexandre.videgrain@smile.fr> | ||
14 | --- | ||
15 | openbox/client.c | 9 +++++++-- | ||
16 | 1 file changed, 7 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/openbox/client.c b/openbox/client.c | ||
19 | index 7168b240..b8264587 100644 | ||
20 | --- a/openbox/client.c | ||
21 | +++ b/openbox/client.c | ||
22 | @@ -2742,9 +2742,12 @@ static void client_calc_layer_internal(ObClient *self) | ||
23 | void client_calc_layer(ObClient *self) | ||
24 | { | ||
25 | GList *it; | ||
26 | + /* the client_calc_layer_internal calls below modify stacking_list, | ||
27 | + so we have to make a copy to iterate over */ | ||
28 | + GList *list = g_list_copy(stacking_list); | ||
29 | |||
30 | /* skip over stuff above fullscreen layer */ | ||
31 | - for (it = stacking_list; it; it = g_list_next(it)) | ||
32 | + for (it = list; it; it = g_list_next(it)) | ||
33 | if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break; | ||
34 | |||
35 | /* find the windows in the fullscreen layer, and mark them not-visited */ | ||
36 | @@ -2757,7 +2760,7 @@ void client_calc_layer(ObClient *self) | ||
37 | client_calc_layer_internal(self); | ||
38 | |||
39 | /* skip over stuff above fullscreen layer */ | ||
40 | - for (it = stacking_list; it; it = g_list_next(it)) | ||
41 | + for (it = list; it; it = g_list_next(it)) | ||
42 | if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break; | ||
43 | |||
44 | /* now recalc any windows in the fullscreen layer which have not | ||
45 | @@ -2768,6 +2771,8 @@ void client_calc_layer(ObClient *self) | ||
46 | !WINDOW_AS_CLIENT(it->data)->visited) | ||
47 | client_calc_layer_internal(it->data); | ||
48 | } | ||
49 | + | ||
50 | + g_list_free(it); | ||
51 | } | ||
52 | |||
53 | gboolean client_should_show(ObClient *self) | ||
54 | -- | ||
55 | 2.34.1 | ||
56 | |||
diff --git a/meta-oe/recipes-graphics/openbox/obconf_git.bb b/meta-oe/recipes-graphics/openbox/obconf_git.bb index 1210af70ea..917492c982 100644 --- a/meta-oe/recipes-graphics/openbox/obconf_git.bb +++ b/meta-oe/recipes-graphics/openbox/obconf_git.bb | |||
@@ -16,7 +16,6 @@ SRC_URI = " \ | |||
16 | file://0001-Fix-function-protype-visibility.patch \ | 16 | file://0001-Fix-function-protype-visibility.patch \ |
17 | " | 17 | " |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | 19 | ||
21 | inherit autotools gettext pkgconfig mime mime-xdg features_check | 20 | inherit autotools gettext pkgconfig mime mime-xdg features_check |
22 | # depends on openbox, which is X11-only | 21 | # depends on openbox, which is X11-only |
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb index 9a15077316..5b62b9b2a7 100644 --- a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb +++ b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb | |||
@@ -8,11 +8,14 @@ SRC_URI = " \ | |||
8 | http://icculus.org/openbox/releases/openbox-${PV}.tar.gz \ | 8 | http://icculus.org/openbox/releases/openbox-${PV}.tar.gz \ |
9 | file://0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch \ | 9 | file://0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch \ |
10 | file://0001-openbox-xdg-autostart-convert-to-python3.patch \ | 10 | file://0001-openbox-xdg-autostart-convert-to-python3.patch \ |
11 | file://0001-Fix-list-traversal-issue-in-client_calc_layer.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | SRC_URI[md5sum] = "b72794996c6a3ad94634727b95f9d204" | ||
14 | SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7" | 14 | SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://github.com/Mikachu/openbox/tags" | ||
17 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
18 | |||
16 | inherit autotools gettext update-alternatives pkgconfig features_check | 19 | inherit autotools gettext update-alternatives pkgconfig features_check |
17 | # depends on virtual/libx11 | 20 | # depends on virtual/libx11 |
18 | REQUIRED_DISTRO_FEATURES = "x11" | 21 | REQUIRED_DISTRO_FEATURES = "x11" |
diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch b/meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch index 0ba13cf88f..2e25ecc7ef 100644 --- a/meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch +++ b/meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4681de07e21f17aa28710d3a51fabe7da60463f9 Mon Sep 17 00:00:00 2001 | 1 | From 805ce4d40c5aaae12aa73452ff07babe8eb43a62 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
3 | Date: Fri, 28 Sep 2018 00:38:50 +0200 | 3 | Date: Fri, 28 Sep 2018 00:38:50 +0200 |
4 | Subject: [PATCH] Do not ask cmake to export binaries - they don't make it | 4 | Subject: [PATCH] Do not ask cmake to export binaries - they don't make it |
@@ -15,17 +15,17 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | |||
15 | 1 file changed, 1 deletion(-) | 15 | 1 file changed, 1 deletion(-) |
16 | 16 | ||
17 | diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt | 17 | diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt |
18 | index 4324c36d..2c11fe02 100644 | 18 | index 26156bcb..9eff04aa 100644 |
19 | --- a/src/bin/jp2/CMakeLists.txt | 19 | --- a/src/bin/jp2/CMakeLists.txt |
20 | +++ b/src/bin/jp2/CMakeLists.txt | 20 | +++ b/src/bin/jp2/CMakeLists.txt |
21 | @@ -66,7 +66,6 @@ foreach(exe opj_decompress opj_compress opj_dump) | 21 | @@ -64,7 +64,6 @@ foreach(exe opj_decompress opj_compress opj_dump) |
22 | endif() | 22 | endif() |
23 | # Install exe | 23 | # Install exe |
24 | install(TARGETS ${exe} | 24 | install(TARGETS ${exe} |
25 | - EXPORT OpenJPEGTargets | 25 | - EXPORT OpenJPEGTargets |
26 | DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications | 26 | DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Applications |
27 | ) | 27 | ) |
28 | if(OPJ_USE_DSYMUTIL) | 28 | if(OPJ_USE_DSYMUTIL) |
29 | -- | 29 | -- |
30 | 2.14.4 | 30 | 2.25.1 |
31 | 31 | ||
diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.3.bb index f2d74078e8..6c383e3423 100644 --- a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb +++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.3.bb | |||
@@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c" | |||
6 | DEPENDS = "libpng tiff lcms zlib" | 6 | DEPENDS = "libpng tiff lcms zlib" |
7 | 7 | ||
8 | SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \ | 8 | SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \ |
9 | file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ | 9 | file://0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ |
10 | " | 10 | " |
11 | SRCREV = "a5891555eb49ed7cc26b2901ea680acda136d811" | 11 | SRCREV = "210a8a5690d0da66f02d49420d7176a21ef409dc" |
12 | S = "${WORKDIR}/git" | ||
13 | 12 | ||
14 | inherit cmake | 13 | inherit cmake |
15 | 14 | ||
diff --git a/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb new file mode 100644 index 0000000000..d3c96cd66f --- /dev/null +++ b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Firmware file compiler for the panel-mipi-dbi display driver" | ||
2 | DESCRIPTION = "The panel-mipi-dbi Linux display driver allows using the same \ | ||
3 | driver for most MIPI DBI based display panels. \ | ||
4 | This means many displays attached via SPI, even if the \ | ||
5 | datasheet does not explicitly mention DBI support. \ | ||
6 | To do so it uses tiny firmware files that contain \ | ||
7 | display/controller-specific initialization commands. \ | ||
8 | The mipi-dbi-cmd tool compiles these firmware files from a \ | ||
9 | text format to a firmware blob format." | ||
10 | HOMEPAGE = "https://github.com/notro/panel-mipi-dbi" | ||
11 | SECTION = "graphics" | ||
12 | LICENSE = "CC0-1.0" | ||
13 | LIC_FILES_CHKSUM = "file://mipi-dbi-cmd;beginline=4;endline=13;md5=5e3d3f14cc87aa9e8976d728520cbcae" | ||
14 | SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e" | ||
15 | |||
16 | SRC_URI = "git://github.com/notro/panel-mipi-dbi.git;protocol=https;branch=main" | ||
17 | |||
18 | |||
19 | inherit native | ||
20 | |||
21 | do_configure[noexec] = "1" | ||
22 | do_compile[noexec] = "1" | ||
23 | do_install () { | ||
24 | install -D -p -m 0755 ${S}/mipi-dbi-cmd ${D}${bindir}/mipi-dbi-cmd | ||
25 | } | ||
26 | |||
27 | RDEPENDS:${PN} += "python3-native" | ||
diff --git a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.50.1.bb b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.56.1.bb index 86787a6b7f..d99c6ceac0 100644 --- a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.50.1.bb +++ b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.56.1.bb | |||
@@ -9,10 +9,10 @@ DEPENDS = "mm-common cairomm-1.16 glibmm-2.68 pango" | |||
9 | GNOMEBN = "pangomm" | 9 | GNOMEBN = "pangomm" |
10 | inherit gnomebase features_check | 10 | inherit gnomebase features_check |
11 | 11 | ||
12 | SRC_URI[archive.sha256sum] = "ccc9923413e408c2bff637df663248327d72822f11e394b423e1c5652b7d9214" | 12 | SRC_URI[archive.sha256sum] = "539f5aa60e9bdc6b955bb448e2a62cc14562744df690258040fbb74bf885755d" |
13 | REQUIRED_DISTRO_FEATURES = "x11" | 13 | REQUIRED_DISTRO_FEATURES = "x11" |
14 | 14 | ||
15 | S = "${WORKDIR}/${GNOMEBN}-${PV}" | 15 | S = "${UNPACKDIR}/${GNOMEBN}-${PV}" |
16 | 16 | ||
17 | FILES:${PN} = "${libdir}/lib*.so.*" | 17 | FILES:${PN} = "${libdir}/lib*.so.*" |
18 | FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" | 18 | FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" |
diff --git a/meta-oe/recipes-graphics/pango/pangomm_2.46.2.bb b/meta-oe/recipes-graphics/pango/pangomm_2.46.4.bb index da822f3243..6f228b131e 100644 --- a/meta-oe/recipes-graphics/pango/pangomm_2.46.2.bb +++ b/meta-oe/recipes-graphics/pango/pangomm_2.46.4.bb | |||
@@ -11,7 +11,7 @@ inherit gnomebase features_check | |||
11 | 11 | ||
12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 12 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
13 | 13 | ||
14 | SRC_URI[archive.sha256sum] = "57442ab4dc043877bfe3839915731ab2d693fc6634a71614422fb530c9eaa6f4" | 14 | SRC_URI[archive.sha256sum] = "b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22" |
15 | 15 | ||
16 | FILES:${PN} = "${libdir}/lib*.so.*" | 16 | FILES:${PN} = "${libdir}/lib*.so.*" |
17 | FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" | 17 | FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" |
diff --git a/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb b/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb index 2ec89bc05b..88cdce26d1 100644 --- a/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb +++ b/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb | |||
@@ -10,6 +10,5 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/parallel-deqp-runner.git;protocol=h | |||
10 | PV = "2020.06.15+git" | 10 | PV = "2020.06.15+git" |
11 | SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80" | 11 | SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | inherit pkgconfig meson | 14 | inherit pkgconfig meson |
diff --git a/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb b/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb index 039816e4a0..c794f41370 100644 --- a/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb +++ b/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb | |||
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" | |||
7 | SRCREV = "715e29fd4cd71b6e452ae0f4e36d917b43122ce8" | 7 | SRCREV = "715e29fd4cd71b6e452ae0f4e36d917b43122ce8" |
8 | SRC_URI = "git://github.com/fukuchi/libqrencode.git;branch=master;protocol=https" | 8 | SRC_URI = "git://github.com/fukuchi/libqrencode.git;branch=master;protocol=https" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | 10 | ||
12 | inherit autotools pkgconfig | 11 | inherit autotools pkgconfig |
13 | 12 | ||
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb index 58f2275736..c5a0cdc6aa 100644 --- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb +++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb | |||
@@ -2,13 +2,12 @@ SUMMARY = "RenderDoc recipe providing renderdoccmd" | |||
2 | DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger" | 2 | DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger" |
3 | HOMEPAGE = "https://github.com/baldurk/renderdoc" | 3 | HOMEPAGE = "https://github.com/baldurk/renderdoc" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=36d34a46cb71546195d2b0c626a52e5d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=963d134bd809d24547253120513346d3" |
6 | 6 | ||
7 | SRCREV = "35b13a8e8fd2a331854dba6da81a20452e142d6f" | 7 | SRCREV = "34c3c40787f440da9c2947cd63a41e6c4d1f95b9" |
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \ | 9 | git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \ |
10 | " | 10 | " |
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms" | 12 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms" |
14 | 13 | ||
diff --git a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb index bf3070701f..567f7a55e8 100644 --- a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb +++ b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb | |||
@@ -4,7 +4,6 @@ LICENSE = "Apache-2.0" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
5 | SECTION = "graphics" | 5 | SECTION = "graphics" |
6 | 6 | ||
7 | S = "${WORKDIR}/git" | ||
8 | SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" | 7 | SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" |
9 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https" | 8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https" |
10 | inherit cmake pkgconfig | 9 | inherit cmake pkgconfig |
diff --git a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb index 161650f75d..b70859dc13 100644 --- a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb +++ b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb | |||
@@ -8,9 +8,10 @@ DEPENDS = "virtual/libx11" | |||
8 | 8 | ||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" | 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef" | ||
12 | SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c" | 11 | SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c" |
13 | 12 | ||
13 | UPSTREAM_CHECK_REGEX = "files/v(?P<pver>\d+(\.\d+)+)" | ||
14 | |||
14 | inherit autotools features_check | 15 | inherit autotools features_check |
15 | 16 | ||
16 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
diff --git a/meta-oe/recipes-graphics/surf/surf_2.1.bb b/meta-oe/recipes-graphics/surf/surf_2.1.bb index 4d9d4d3dd0..258c78e509 100644 --- a/meta-oe/recipes-graphics/surf/surf_2.1.bb +++ b/meta-oe/recipes-graphics/surf/surf_2.1.bb | |||
@@ -14,7 +14,6 @@ SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ | |||
14 | " | 14 | " |
15 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}" | 15 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | inherit pkgconfig features_check | 18 | inherit pkgconfig features_check |
20 | 19 | ||
diff --git a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb index 1fabe2e29e..4cfbde5354 100644 --- a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb +++ b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb | |||
@@ -12,7 +12,6 @@ DEPENDS = "hostperl-runtime-native gzip-native bdftopcf-native" | |||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ |
13 | file://use-no-name-option-for-gzip.patch \ | 13 | file://use-no-name-option-for-gzip.patch \ |
14 | " | 14 | " |
15 | SRC_URI[md5sum] = "1b6acbd221957e33c8a792ebfaf3a659" | ||
16 | SRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79" | 15 | SRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79" |
17 | 16 | ||
18 | inherit allarch fontcache | 17 | inherit allarch fontcache |
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb b/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb index 0d45ee765c..f4923f3f00 100644 --- a/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb +++ b/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb | |||
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
6 | SRCREV = "4767ea922bcc460e70b87b1d303ebdfed0897da8" | 6 | SRCREV = "4767ea922bcc460e70b87b1d303ebdfed0897da8" |
7 | SRC_URI = "git://github.com/tesseract-ocr/tessdata.git;branch=main;protocol=https" | 7 | SRC_URI = "git://github.com/tesseract-ocr/tessdata.git;branch=main;protocol=https" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | ||
10 | 9 | ||
11 | inherit allarch | 10 | inherit allarch |
12 | 11 | ||
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.4.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb index b32bf34518..4bc0f5b88f 100644 --- a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.4.bb +++ b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb | |||
@@ -5,10 +5,9 @@ BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues" | |||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
7 | 7 | ||
8 | SRCREV = "8ee020e14cf5be4e3f0e9beb09b6b050a1871854" | 8 | SRCREV = "3b7c70e34dea179549ed3e995872e2e019eb8477" |
9 | SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https" | 9 | SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | DEPENDS = "leptonica" | 12 | DEPENDS = "leptonica" |
14 | 13 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch index 5a42e67d06..0d58d2502d 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 | 1 | From e117ccc2b4ebb116ab63a3aa6097104964ee223b Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Mon, 19 Apr 2021 23:02:45 -0700 | 3 | Date: Mon, 19 Apr 2021 23:02:45 -0700 |
4 | Subject: [PATCH] do not build tests sub directory | 4 | Subject: [PATCH] do not build tests sub directory |
@@ -12,19 +12,19 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
12 | 1 file changed, 3 deletions(-) | 12 | 1 file changed, 3 deletions(-) |
13 | 13 | ||
14 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
15 | index 7bf99441..bda80598 100644 | 15 | index 468f4b54..c47c9c0e 100644 |
16 | --- a/CMakeLists.txt | 16 | --- a/CMakeLists.txt |
17 | +++ b/CMakeLists.txt | 17 | +++ b/CMakeLists.txt |
18 | @@ -304,9 +304,6 @@ if(BUILD_VIEWER) | 18 | @@ -351,9 +351,6 @@ if(BUILD_VIEWER) |
19 | add_subdirectory(media) | 19 | add_subdirectory(media) |
20 | endif() | 20 | endif() |
21 | 21 | ||
22 | -add_subdirectory(tests) | 22 | -add_subdirectory(tests) |
23 | - | 23 | - |
24 | - | 24 | - |
25 | add_subdirectory(release) | 25 | if(BUILD_VIEWER) |
26 | 26 | add_subdirectory(release) | |
27 | # uninstall | 27 | endif() |
28 | -- | 28 | -- |
29 | 2.30.2 | 29 | 2.25.1 |
30 | 30 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch index cfb84ac141..101adaa82f 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001 | 1 | From 4c7658b43f903599608c1fea4fbd7e37dc117119 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Thu, 20 Jul 2017 05:06:00 -0400 | 3 | Date: Thu, 20 Jul 2017 05:06:00 -0400 |
4 | Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES | 4 | Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
@@ -11,18 +11,18 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
11 | 1 file changed, 2 insertions(+) | 11 | 1 file changed, 2 insertions(+) |
12 | 12 | ||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 13 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
14 | index fb72a00..5732dc8 100644 | 14 | index 80c2762c..eb581600 100644 |
15 | --- a/CMakeLists.txt | 15 | --- a/CMakeLists.txt |
16 | +++ b/CMakeLists.txt | 16 | +++ b/CMakeLists.txt |
17 | @@ -246,6 +246,8 @@ if(UNIX AND NOT APPLE) | 17 | @@ -315,6 +315,8 @@ if(BUILD_VIEWER) |
18 | endif() | 18 | set(CMAKE_REQUIRED_LIBRARIES) |
19 | endif() | 19 | endif() |
20 | 20 | ||
21 | +set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg) | 21 | +set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg) |
22 | + | 22 | + |
23 | # Check for GNUTLS library | 23 | # Check for GNUTLS library |
24 | option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) | 24 | trioption(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication") |
25 | if(ENABLE_GNUTLS) | 25 | if(ENABLE_GNUTLS) |
26 | -- | 26 | -- |
27 | 2.7.4 | 27 | 2.25.1 |
28 | 28 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch index 5f14665b8d..c292df4a52 100644 --- a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch +++ b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 | 1 | From 36bf37cb638cd87d7f8eb96afaf69c2d95177614 Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Mon, 19 Apr 2021 23:14:28 -0700 | 3 | Date: Mon, 19 Apr 2021 23:14:28 -0700 |
4 | Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS | 4 | Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS |
@@ -18,35 +18,35 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
18 | 3 files changed, 3 insertions(+) | 18 | 3 files changed, 3 insertions(+) |
19 | 19 | ||
20 | diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt | 20 | diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt |
21 | index d00ca452..e84e0290 100644 | 21 | index f08eaa31..85c05951 100644 |
22 | --- a/common/network/CMakeLists.txt | 22 | --- a/common/network/CMakeLists.txt |
23 | +++ b/common/network/CMakeLists.txt | 23 | +++ b/common/network/CMakeLists.txt |
24 | @@ -16,4 +16,5 @@ endif() | 24 | @@ -15,4 +15,5 @@ endif() |
25 | 25 | ||
26 | if(UNIX) | 26 | if(UNIX) |
27 | libtool_create_control_file(network) | 27 | libtool_create_control_file(network) |
28 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) | 28 | + set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) |
29 | endif() | 29 | endif() |
30 | diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt | 30 | diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt |
31 | index 989ba2f4..20f6489d 100644 | 31 | index 30c2403a..94e1ff98 100644 |
32 | --- a/common/rdr/CMakeLists.txt | 32 | --- a/common/rdr/CMakeLists.txt |
33 | +++ b/common/rdr/CMakeLists.txt | 33 | +++ b/common/rdr/CMakeLists.txt |
34 | @@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) | 34 | @@ -35,4 +35,5 @@ endif() |
35 | 35 | ||
36 | if(UNIX) | 36 | if(UNIX) |
37 | libtool_create_control_file(rdr) | 37 | libtool_create_control_file(rdr) |
38 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) | 38 | + set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) |
39 | endif() | 39 | endif() |
40 | diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt | 40 | diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt |
41 | index fc5a37bf..7f5ce131 100644 | 41 | index 360434a9..28566e90 100644 |
42 | --- a/common/rfb/CMakeLists.txt | 42 | --- a/common/rfb/CMakeLists.txt |
43 | +++ b/common/rfb/CMakeLists.txt | 43 | +++ b/common/rfb/CMakeLists.txt |
44 | @@ -99,4 +99,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) | 44 | @@ -116,4 +116,5 @@ endif() |
45 | 45 | ||
46 | if(UNIX) | 46 | if(UNIX) |
47 | libtool_create_control_file(rfb) | 47 | libtool_create_control_file(rfb) |
48 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) | 48 | + set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) |
49 | endif() | 49 | endif() |
50 | -- | 50 | -- |
51 | 2.30.2 | 51 | 2.25.1 |
52 | 52 | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb deleted file mode 100644 index 5cde7c9fb4..0000000000 --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb +++ /dev/null | |||
@@ -1,133 +0,0 @@ | |||
1 | DESCRIPTION = "TigerVNC remote display system" | ||
2 | HOMEPAGE = "http://www.tigervnc.com/" | ||
3 | LICENSE = "GPL-2.0-or-later" | ||
4 | SECTION = "x11/utils" | ||
5 | DEPENDS = "xserver-xorg gnutls jpeg libxtst gettext-native fltk libpam" | ||
6 | RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit autotools cmake features_check pkgconfig | ||
13 | |||
14 | REQUIRED_DISTRO_FEATURES = "x11 pam" | ||
15 | |||
16 | B = "${S}" | ||
17 | |||
18 | SRCREV = "540bfc3278e396321124d4b18a798ac2bc18b6ca" | ||
19 | |||
20 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=https \ | ||
21 | file://0002-do-not-build-tests-sub-directory.patch \ | ||
22 | file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ | ||
23 | file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ | ||
24 | " | ||
25 | |||
26 | # Keep sync with xorg-server in oe-core | ||
27 | XORG_PN ?= "xorg-server" | ||
28 | XORG_PV ?= "1.20.6" | ||
29 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" | ||
30 | XORG_S = "${WORKDIR}/${XORG_PN}-${XORG_PV}" | ||
31 | SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" | ||
32 | SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" | ||
33 | |||
34 | # It is the directory containing the Xorg source for the | ||
35 | # machine on which you are building TigerVNC. | ||
36 | XSERVER_SOURCE_DIR="${S}/unix/xserver" | ||
37 | |||
38 | do_patch[postfuncs] += "do_patch_xserver" | ||
39 | do_patch_xserver () { | ||
40 | for subdir in Xext xkb GL hw/xquartz/bundle hw/xfree86/common; do | ||
41 | install -d ${XSERVER_SOURCE_DIR}/$subdir | ||
42 | done | ||
43 | |||
44 | for subdir in hw/dmx/doc man doc hw/dmx/doxygen; do | ||
45 | install -d ${XSERVER_SOURCE_DIR}/$subdir | ||
46 | done | ||
47 | |||
48 | sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \ | ||
49 | hw/dmx/doxygen/doxygen.conf.in xserver.ent.in xkb/README.compiled \ | ||
50 | hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in" | ||
51 | for i in ${sources}; do | ||
52 | install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i; | ||
53 | done | ||
54 | |||
55 | cd ${XORG_S} | ||
56 | find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | \ | ||
57 | xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -) | ||
58 | |||
59 | cd ${XSERVER_SOURCE_DIR} | ||
60 | xserverpatch="${S}/unix/xserver120.patch" | ||
61 | echo "Apply $xserverpatch" | ||
62 | patch -p1 -b --suffix .vnc < $xserverpatch | ||
63 | } | ||
64 | |||
65 | EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ | ||
66 | --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ | ||
67 | --disable-static --disable-xinerama \ | ||
68 | --with-xkb-output=${localstatedir}/lib/xkb \ | ||
69 | --disable-glx --disable-dri --disable-dri2 \ | ||
70 | --disable-config-hal \ | ||
71 | --disable-config-udev \ | ||
72 | --without-dtrace \ | ||
73 | --disable-unit-tests \ | ||
74 | --disable-devel-docs \ | ||
75 | --disable-selective-werror \ | ||
76 | --disable-xshmfence \ | ||
77 | --disable-config-udev \ | ||
78 | --disable-dri3 \ | ||
79 | --disable-libunwind \ | ||
80 | --without-xmlto \ | ||
81 | --enable-systemd-logind=no \ | ||
82 | --disable-xinerama \ | ||
83 | --disable-xwayland \ | ||
84 | " | ||
85 | |||
86 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" | ||
87 | |||
88 | do_configure:append () { | ||
89 | olddir=`pwd` | ||
90 | cd ${XSERVER_SOURCE_DIR} | ||
91 | |||
92 | rm -rf aclocal-copy/ | ||
93 | rm -f aclocal.m4 | ||
94 | |||
95 | export ACLOCALDIR="${XSERVER_SOURCE_DIR}/aclocal-copy" | ||
96 | mkdir -p ${ACLOCALDIR}/ | ||
97 | if [ -d ${STAGING_DATADIR_NATIVE}/aclocal ]; then | ||
98 | cp-noerror ${STAGING_DATADIR_NATIVE}/aclocal/ ${ACLOCALDIR}/ | ||
99 | fi | ||
100 | if [ -d ${STAGING_DATADIR}/aclocal -a "${STAGING_DATADIR_NATIVE}/aclocal" != "${STAGING_DATADIR}/aclocal" ]; then | ||
101 | cp-noerror ${STAGING_DATADIR}/aclocal/ ${ACLOCALDIR}/ | ||
102 | fi | ||
103 | ACLOCAL="aclocal --system-acdir=${ACLOCALDIR}/" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed." | ||
104 | chmod +x ./configure | ||
105 | ${CACHED_CONFIGUREVARS} ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | ||
106 | cd $olddir | ||
107 | } | ||
108 | |||
109 | do_compile:append () { | ||
110 | olddir=`pwd` | ||
111 | cd ${XSERVER_SOURCE_DIR} | ||
112 | |||
113 | oe_runmake | ||
114 | |||
115 | cd $olddir | ||
116 | } | ||
117 | |||
118 | do_install:append() { | ||
119 | olddir=`pwd` | ||
120 | cd ${XSERVER_SOURCE_DIR}/hw/vnc | ||
121 | |||
122 | oe_runmake 'DESTDIR=${D}' install | ||
123 | |||
124 | cd $olddir | ||
125 | } | ||
126 | |||
127 | FILES:${PN} += " \ | ||
128 | ${libdir}/xorg/modules/extensions \ | ||
129 | ${datadir}/icons \ | ||
130 | ${systemd_unitdir} \ | ||
131 | " | ||
132 | |||
133 | FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" | ||
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb new file mode 100644 index 0000000000..dd4f79c314 --- /dev/null +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb | |||
@@ -0,0 +1,87 @@ | |||
1 | DESCRIPTION = "TigerVNC remote display system" | ||
2 | HOMEPAGE = "http://www.tigervnc.com/" | ||
3 | LICENSE = "GPL-2.0-or-later" | ||
4 | SECTION = "x11/utils" | ||
5 | DEPENDS = "gettext-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk libpam libx11 libxdamage libxfixes libxrandr xkbcomp" | ||
6 | RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" | ||
9 | |||
10 | |||
11 | inherit autotools cmake features_check pkgconfig systemd | ||
12 | |||
13 | REQUIRED_DISTRO_FEATURES = "x11 pam" | ||
14 | |||
15 | # For ease we do in-tree builds right now. It should be possible to do | ||
16 | # out-of-tree builds. | ||
17 | B = "${S}" | ||
18 | |||
19 | SRCREV = "8bdf8734ce12c8ed3c232496fc8a4ccdb04636b8" | ||
20 | |||
21 | SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.15-branch;protocol=https \ | ||
22 | file://0001-do-not-build-tests-sub-directory.patch \ | ||
23 | file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ | ||
24 | file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ | ||
25 | " | ||
26 | |||
27 | # Keep sync with xorg-server in oe-core | ||
28 | XORG_PN ?= "xorg-server" | ||
29 | XORG_PV ?= "21.1.16" | ||
30 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg" | ||
31 | XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" | ||
32 | SRC_URI[xorg.sha256sum] = "b14a116d2d805debc5b5b2aac505a279e69b217dae2fae2dfcb62400471a9970" | ||
33 | |||
34 | # It is the directory containing the Xorg source for the | ||
35 | # machine on which you are building TigerVNC. | ||
36 | XSERVER_SOURCE_DIR = "${S}/unix/xserver" | ||
37 | AUTOTOOLS_SCRIPT_PATH = "${XSERVER_SOURCE_DIR}" | ||
38 | |||
39 | do_patch[postfuncs] += "do_patch_xserver" | ||
40 | do_patch_xserver () { | ||
41 | # Put the xserver source in the right place in the tigervnc source tree | ||
42 | cp -rfl ${XORG_S}/* ${XSERVER_SOURCE_DIR} | ||
43 | # Apply the patch to integrate the vnc server | ||
44 | patch -p1 -b --suffix .vnc --directory ${XSERVER_SOURCE_DIR} <${S}/unix/xserver21.patch | ||
45 | } | ||
46 | |||
47 | EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \ | ||
48 | --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ | ||
49 | --disable-static --disable-xinerama \ | ||
50 | --with-xkb-output=${localstatedir}/lib/xkb \ | ||
51 | --disable-glx --disable-dri --disable-dri2 \ | ||
52 | --disable-config-hal \ | ||
53 | --disable-config-udev \ | ||
54 | --without-dtrace \ | ||
55 | --disable-unit-tests \ | ||
56 | --disable-devel-docs \ | ||
57 | --disable-selective-werror \ | ||
58 | --disable-xshmfence \ | ||
59 | --disable-config-udev \ | ||
60 | --disable-dri3 \ | ||
61 | --disable-libunwind \ | ||
62 | --without-xmlto \ | ||
63 | --enable-systemd-logind=no \ | ||
64 | --disable-xinerama \ | ||
65 | " | ||
66 | |||
67 | EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" | ||
68 | |||
69 | do_configure:append () { | ||
70 | autotools_do_configure | ||
71 | } | ||
72 | |||
73 | do_compile:append () { | ||
74 | oe_runmake 'TIGERVNC_BUILDDIR=${B}' | ||
75 | } | ||
76 | |||
77 | do_install:append() { | ||
78 | oe_runmake -C ${B}/hw/vnc 'DESTDIR=${D}' install | ||
79 | } | ||
80 | |||
81 | FILES:${PN} += " \ | ||
82 | ${libdir}/xorg/modules/extensions \ | ||
83 | ${datadir}/icons \ | ||
84 | ${datadir}/metainfo \ | ||
85 | " | ||
86 | |||
87 | SYSTEMD_SERVICE:${PN} = "vncserver@.service" | ||
diff --git a/meta-oe/recipes-graphics/tslib/tslib_1.22.bb b/meta-oe/recipes-graphics/tslib/tslib_1.23.bb index 01da03a473..299aa2a273 100644 --- a/meta-oe/recipes-graphics/tslib/tslib_1.22.bb +++ b/meta-oe/recipes-graphics/tslib/tslib_1.23.bb | |||
@@ -16,7 +16,7 @@ SRC_URI = "https://github.com/kergoth/tslib/releases/download/${PV}/tslib-${PV}. | |||
16 | file://ts.conf \ | 16 | file://ts.conf \ |
17 | file://tslib.sh \ | 17 | file://tslib.sh \ |
18 | " | 18 | " |
19 | SRC_URI[sha256sum] = "aaf0aed410a268d7b51385d07fe4d9d64312038e87c447ec8a24c8db0a15617a" | 19 | SRC_URI[sha256sum] = "9b489a54d48006201f2fe955a88c3f857535ac93b6cf8e5a16c7b166c8991dac" |
20 | 20 | ||
21 | UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases" | 21 | UPSTREAM_CHECK_URI = "https://github.com/kergoth/tslib/releases" |
22 | 22 | ||
@@ -53,12 +53,12 @@ PACKAGECONFIG[one-wire-ts-input] = "--enable-one-wire-ts-input,--disable-one-wir | |||
53 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | 53 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
54 | 54 | ||
55 | do_install:prepend() { | 55 | do_install:prepend() { |
56 | install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf | 56 | install -m 0644 ${UNPACKDIR}/ts.conf ${S}/etc/ts.conf |
57 | } | 57 | } |
58 | 58 | ||
59 | do_install:append() { | 59 | do_install:append() { |
60 | install -d ${D}${sysconfdir}/profile.d/ | 60 | install -d ${D}${sysconfdir}/profile.d/ |
61 | install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ | 61 | install -m 0755 ${UNPACKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ |
62 | } | 62 | } |
63 | 63 | ||
64 | RPROVIDES:tslib-conf = "libts-0.0-conf" | 64 | RPROVIDES:tslib-conf = "libts-0.0-conf" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb index 3402d0d46a..38a5126eea 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb | |||
@@ -12,11 +12,14 @@ SRC_URI = " \ | |||
12 | file://44-source-code-pro-fonts-fontconfig.conf \ | 12 | file://44-source-code-pro-fonts-fontconfig.conf \ |
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e" | 14 | SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e" |
15 | S = "${WORKDIR}/source-code-pro-2.030R-ro-1.050R-it" | 15 | S = "${UNPACKDIR}/source-code-pro-2.030R-ro-1.050R-it" |
16 | |||
17 | UPSTREAM_CHECK_URI = "https://github.com/adobe-fonts/source-code-pro/tags" | ||
18 | UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R" | ||
16 | 19 | ||
17 | do_install() { | 20 | do_install() { |
18 | install -d ${D}${sysconfdir}/fonts/conf.d/ | 21 | install -d ${D}${sysconfdir}/fonts/conf.d/ |
19 | install -m 0644 ${WORKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/ | 22 | install -m 0644 ${UNPACKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/ |
20 | 23 | ||
21 | install -d ${D}${datadir}/fonts/truetype/ | 24 | install -d ${D}${datadir}/fonts/truetype/ |
22 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | 25 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf index 6855791b43..6855791b43 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb index b4a598527e..c46952cce0 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb | |||
@@ -1,34 +1,6 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansCN" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_URI = " \ | ||
14 | svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/CN;protocol=http;rev=82 \ | ||
15 | file://44-source-han-sans-cn.conf \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2" | ||
18 | SRC_URI[sha256sum] = "0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansCN" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
24 | install -m 0644 ${WORKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
25 | |||
26 | install -d ${D}${datadir}/fonts/truetype/ | ||
27 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_URI[sha256sum] = "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc new file mode 100644 index 0000000000..03ca4c0902 --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | ||
4 | LICENSE = "OFL-1.1" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
6 | |||
7 | inherit allarch fontcache | ||
8 | |||
9 | SRC_URI = " \ | ||
10 | https://github.com/adobe-fonts/source-han-sans/releases/download/${PV}R/${ZIPNAME}.zip;subdir=${BP};downloadfilename=${BP}.zip \ | ||
11 | file://44-${BPN}.conf \ | ||
12 | " | ||
13 | |||
14 | do_install() { | ||
15 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
16 | install -m 0644 ${UNPACKDIR}/44-${BPN}.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
17 | |||
18 | install -d ${D}${datadir}/fonts/truetype/ | ||
19 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
20 | } | ||
21 | |||
22 | FILES:${PN} = " \ | ||
23 | ${sysconfdir}/fonts \ | ||
24 | ${datadir}/fonts \ | ||
25 | " | ||
26 | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf index a7a93feeae..a7a93feeae 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb index 6a4509048f..40128f97d3 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb | |||
@@ -1,34 +1,6 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansJP" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_URI = " \ | ||
14 | svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/JP;protocol=http;rev=82 \ | ||
15 | file://44-source-han-sans-jp.conf \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900" | ||
18 | SRC_URI[sha256sum] = "dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansJP" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
24 | install -m 0644 ${WORKDIR}/44-source-han-sans-jp.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
25 | |||
26 | install -d ${D}${datadir}/fonts/truetype/ | ||
27 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_URI[sha256sum] = "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr-fonts.conf index dee73ae77f..dee73ae77f 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr-fonts.conf | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb index 5ab5057d86..8b32ab82d2 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb | |||
@@ -1,34 +1,6 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansKR" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_URI = " \ | ||
14 | svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82 \ | ||
15 | file://44-source-han-sans-kr.conf \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4" | ||
18 | SRC_URI[sha256sum] = "38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansKR" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
24 | install -m 0644 ${WORKDIR}/44-source-han-sans-kr.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
25 | |||
26 | install -d ${D}${datadir}/fonts/truetype/ | ||
27 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_URI[sha256sum] = "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw-fonts.conf index ae289401bb..ae289401bb 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw-fonts.conf | |||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb index a2b3fff079..b841660efd 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb | |||
@@ -1,34 +1,6 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansTW" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_URI = " \ | ||
14 | svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82 \ | ||
15 | file://44-source-han-sans-tw.conf \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3" | ||
18 | SRC_URI[sha256sum] = "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansTW" | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | ||
24 | install -m 0644 ${WORKDIR}/44-source-han-sans-tw.conf ${D}${sysconfdir}/fonts/conf.d/ | ||
25 | |||
26 | install -d ${D}${datadir}/fonts/truetype/ | ||
27 | find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_URI[sha256sum] = "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.100.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.300.bb index bce37a2e05..4a3b8e471e 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.100.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.300.bb | |||
@@ -3,13 +3,15 @@ require ttf.inc | |||
3 | SUMMARY = "Ethiopia and Eritrea (Amharic) font - TTF Edition" | 3 | SUMMARY = "Ethiopia and Eritrea (Amharic) font - TTF Edition" |
4 | HOMEPAGE = "http://software.sil.org/abyssinica/" | 4 | HOMEPAGE = "http://software.sil.org/abyssinica/" |
5 | LICENSE = "OFL-1.1" | 5 | LICENSE = "OFL-1.1" |
6 | LIC_FILES_CHKSUM = "file://OFL.txt;md5=fd664aaab50445c3c1c97544554a6bda" | 6 | LIC_FILES_CHKSUM = "file://OFL.txt;md5=6c56db018aa8803f8aff326829e3ce32" |
7 | 7 | ||
8 | SRCNAME = "AbyssinicaSIL" | 8 | SRCNAME = "AbyssinicaSIL" |
9 | SRC_URI = "http://software.sil.org/downloads/r/abyssinica/${SRCNAME}-${PV}.zip" | 9 | SRC_URI = "http://software.sil.org/downloads/r/abyssinica/${SRCNAME}-${PV}.zip" |
10 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 10 | S = "${UNPACKDIR}/${SRCNAME}-${PV}" |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "1a1fc8e82f0c0f2e824f42bff05c1f4a0356330a89dc7ba798c1a20bc3e333e0" | 12 | UPSTREAM_CHECK_URI = "https://software.sil.org/abyssinica/download/" |
13 | |||
14 | SRC_URI[sha256sum] = "725e6cd58be6495e0e53f367608db36d9f818498bccba739d742892c5a3d8151" | ||
13 | 15 | ||
14 | FONT_PACKAGES = "${PN}" | 16 | FONT_PACKAGES = "${PN}" |
15 | FILES:${PN} = "${datadir}" | 17 | FILES:${PN} = "${datadir}" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb index ea734182de..82b2541a60 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb | |||
@@ -8,7 +8,7 @@ RPROVIDES:${PN} = "virtual-chinese-font" | |||
8 | FONT_PACKAGES = "${PN}" | 8 | FONT_PACKAGES = "${PN}" |
9 | 9 | ||
10 | SRC_URI = "https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_0.2.${PV}.2.orig.tar.bz2" | 10 | SRC_URI = "https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_0.2.${PV}.2.orig.tar.bz2" |
11 | S = "${WORKDIR}/ttf-arphic-uming-0.2.20080216.2" | 11 | S = "${UNPACKDIR}/ttf-arphic-uming-0.2.20080216.2" |
12 | 12 | ||
13 | require ttf.inc | 13 | require ttf.inc |
14 | 14 | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb index 43a387b818..9dc23fc4c7 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb | |||
@@ -17,13 +17,13 @@ RDEPENDS:${PN}-common = "" | |||
17 | SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ | 17 | SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ |
18 | file://30-dejavu-aliases.conf" | 18 | file://30-dejavu-aliases.conf" |
19 | 19 | ||
20 | S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf" | 20 | S = "${UNPACKDIR}/dejavu-fonts-ttf-${PV}/ttf" |
21 | 21 | ||
22 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/" | 22 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/" |
23 | 23 | ||
24 | do_install:append () { | 24 | do_install:append () { |
25 | install -d ${D}${sysconfdir}/fonts/conf.d/ | 25 | install -d ${D}${sysconfdir}/fonts/conf.d/ |
26 | install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | 26 | install -m 0644 ${UNPACKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ |
27 | } | 27 | } |
28 | 28 | ||
29 | PACKAGES = "\ | 29 | PACKAGES = "\ |
@@ -44,7 +44,6 @@ FILES:${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.t | |||
44 | FILES:${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf" | 44 | FILES:${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf" |
45 | FILES:${PN}-common = "${sysconfdir}" | 45 | FILES:${PN}-common = "${sysconfdir}" |
46 | 46 | ||
47 | SRC_URI[md5sum] = "d0efec10b9f110a32e9b8f796e21782c" | ||
48 | SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7" | 47 | SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7" |
49 | 48 | ||
50 | BBCLASSEXTEND = "native nativesdk" | 49 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb index cc9213ec5b..06ab2a7921 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |||
@@ -9,7 +9,7 @@ PV = "0.1+git" | |||
9 | 9 | ||
10 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https" | 10 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https" |
11 | 11 | ||
12 | S = "${WORKDIR}/git/data/fonts" | 12 | S = "${UNPACKDIR}/${BP}/data/fonts" |
13 | 13 | ||
14 | do_install:append() { | 14 | do_install:append() { |
15 | for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \ | 15 | for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \ |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb index 2439766ad5..f50da65ddc 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | |||
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \ | |||
9 | 9 | ||
10 | SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " | 10 | SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " |
11 | 11 | ||
12 | S = "${WORKDIR}/ttf-sil-gentium-${PV}" | 12 | S = "${UNPACKDIR}/ttf-sil-gentium-${PV}" |
13 | 13 | ||
14 | do_install:append() { | 14 | do_install:append() { |
15 | 15 | ||
@@ -32,5 +32,4 @@ FILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ | |||
32 | ${datadir}/fonts/truetype/GenR*.ttf \ | 32 | ${datadir}/fonts/truetype/GenR*.ttf \ |
33 | ${datadir}/doc/ttf-gentium/*" | 33 | ${datadir}/doc/ttf-gentium/*" |
34 | 34 | ||
35 | SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" | ||
36 | SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" | 35 | SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb index d618607496..0697e69399 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb | |||
@@ -23,7 +23,7 @@ SRC_URI = "git://github.com/google/fonts.git;protocol=https;branch=main;subpath= | |||
23 | git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \ | 23 | git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \ |
24 | git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed" | 24 | git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed" |
25 | 25 | ||
26 | S = "${WORKDIR}" | 26 | S = "${UNPACKDIR}" |
27 | 27 | ||
28 | do_install:append() { | 28 | do_install:append() { |
29 | install -d ${D}${datadir}/fonts/truetype/ | 29 | install -d ${D}${datadir}/fonts/truetype/ |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb index 8a75fe38bd..373bdb4bde 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://../COPYRIGHT.TXT;md5=70d34478e38b1ad9995079f9921f9ef7 | |||
7 | 7 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" |
9 | 9 | ||
10 | S = "${WORKDIR}/hunkyfonts-${PV}/TTF" | 10 | S = "${UNPACKDIR}/hunkyfonts-${PV}/TTF" |
11 | 11 | ||
12 | PACKAGES = "ttf-hunky-sans ttf-hunky-serif" | 12 | PACKAGES = "ttf-hunky-sans ttf-hunky-serif" |
13 | FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif" | 13 | FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif" |
@@ -15,5 +15,4 @@ FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif" | |||
15 | FILES:ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" | 15 | FILES:ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" |
16 | FILES:ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" | 16 | FILES:ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" |
17 | 17 | ||
18 | SRC_URI[md5sum] = "b933312967842e5737b5415fa22d682a" | ||
19 | SRC_URI[sha256sum] = "3fc528737ccd12ec3c09c4a91447d241d3c5bceeeb4d24b7f2c29b15c9735328" | 18 | SRC_URI[sha256sum] = "3fc528737ccd12ec3c09c4a91447d241d3c5bceeeb4d24b7f2c29b15c9735328" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb index 2ae1d619c0..2c671840e2 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb | |||
@@ -3,24 +3,23 @@ require ttf.inc | |||
3 | SUMMARY = "Inconsolata font - TTF Version" | 3 | SUMMARY = "Inconsolata font - TTF Version" |
4 | HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" | 4 | HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" |
5 | LICENSE = "OFL-1.1" | 5 | LICENSE = "OFL-1.1" |
6 | LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" |
7 | 7 | ||
8 | SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ | 8 | SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ |
9 | file://OFL.txt" | 9 | file://OFL.txt" |
10 | 10 | ||
11 | S = "${WORKDIR}/ttf-inconsolata-${PV}" | 11 | S = "${UNPACKDIR}" |
12 | 12 | ||
13 | FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ | 13 | FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ |
14 | ${datadir}/doc/ttf-inconsolata/*" | 14 | ${datadir}/doc/ttf-inconsolata/*" |
15 | 15 | ||
16 | do_configure() { | 16 | do_configure() { |
17 | cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf | 17 | cp -fr ${UNPACKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf |
18 | } | 18 | } |
19 | 19 | ||
20 | do_install:append() { | 20 | do_install:append() { |
21 | install -d ${D}${datadir}/doc/ttf-inconsolata/ | 21 | install -d ${D}${datadir}/doc/ttf-inconsolata/ |
22 | install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ | 22 | install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ |
23 | } | 23 | } |
24 | 24 | ||
25 | SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" | ||
26 | SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" | 25 | SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb index 89c48d5fe2..165ea7576a 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb | |||
@@ -10,7 +10,7 @@ SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip " | |||
10 | 10 | ||
11 | SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5" | 11 | SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5" |
12 | 12 | ||
13 | S = "${WORKDIR}/IPAfont00303" | 13 | S = "${UNPACKDIR}/IPAfont00303" |
14 | 14 | ||
15 | PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" | 15 | PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" |
16 | FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" | 16 | FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb index f386d6ec58..bb2930ae0b 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb | |||
@@ -13,16 +13,15 @@ SRC_URI = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${P | |||
13 | file://30-0-liberation-sans-narrow.conf \ | 13 | file://30-0-liberation-sans-narrow.conf \ |
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI[md5sum] = "134d8262145fc793c6af494dcace3e71" | ||
17 | SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c" | 16 | SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c" |
18 | 17 | ||
19 | S = "${WORKDIR}/liberation-fonts-ttf-${PV}" | 18 | S = "${UNPACKDIR}/liberation-fonts-ttf-${PV}" |
20 | 19 | ||
21 | do_install:append () { | 20 | do_install:append () { |
22 | install -d ${D}${datadir}/fonts/TTF/ | 21 | install -d ${D}${datadir}/fonts/TTF/ |
23 | install -d ${D}${sysconfdir}/fonts/conf.d/ | 22 | install -d ${D}${sysconfdir}/fonts/conf.d/ |
24 | install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/ | 23 | install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/ |
25 | install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf | 24 | install -D -m 0644 ${UNPACKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf |
26 | install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE | 25 | install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE |
27 | # normal liberation fonts come from ttf-liberation recipe so delete here | 26 | # normal liberation fonts come from ttf-liberation recipe so delete here |
28 | rm -rf ${D}${datadir}/fonts/truetype | 27 | rm -rf ${D}${datadir}/fonts/truetype |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb deleted file mode 100644 index 6d7ba11e73..0000000000 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | SUMMARY = "Liberation fonts - TTF Version" | ||
4 | HOMEPAGE = "https://www.redhat.com/promo/fonts/" | ||
5 | LICENSE = "GPL-2.0-only" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
7 | file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \ | ||
8 | " | ||
9 | |||
10 | |||
11 | SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz" | ||
12 | S = "${WORKDIR}/liberation-fonts-${PV}" | ||
13 | |||
14 | PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
15 | FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
16 | |||
17 | FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" | ||
18 | FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" | ||
19 | FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" | ||
20 | |||
21 | SRC_URI[md5sum] = "77728078a17e39f7c242b42c3bf6feb8" | ||
22 | SRC_URI[sha256sum] = "174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f" | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb new file mode 100644 index 0000000000..92717da32f --- /dev/null +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | SUMMARY = "Liberation fonts - TTF Version" | ||
4 | HOMEPAGE = "https://github.com/liberationfonts" | ||
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b \ | ||
7 | " | ||
8 | |||
9 | |||
10 | SRCREV = "4b0192046158094654e865245832c66d2104219e" | ||
11 | SRC_URI = "git://github.com/liberationfonts/liberation-fonts.git;branch=main;protocol=https" | ||
12 | |||
13 | DEPENDS = "fontforge-native" | ||
14 | |||
15 | PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
16 | FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif" | ||
17 | |||
18 | FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*" | ||
19 | FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*" | ||
20 | FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*" | ||
21 | |||
22 | inherit python3native | ||
23 | |||
24 | do_compile() { | ||
25 | cd ${S}; make ttf; | ||
26 | } | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb index 3951647337..d4c7a2f219 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | |||
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "de5750f7048973f851961050f76b8b58e9bda400d5007c3078d9317fbe | |||
10 | 10 | ||
11 | DEPENDS = "fontforge-native" | 11 | DEPENDS = "fontforge-native" |
12 | 12 | ||
13 | S = "${WORKDIR}" | 13 | S = "${UNPACKDIR}" |
14 | FONT_PACKAGES = "${PN}" | 14 | FONT_PACKAGES = "${PN}" |
15 | FILES:${PN} = "${datadir}" | 15 | FILES:${PN} = "${datadir}" |
16 | 16 | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb index 8340cccbb4..43ec61772b 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb | |||
@@ -11,7 +11,6 @@ SRCREV = "a403c9b7f509dad5e58dde85ef63b1c36fde3a21" | |||
11 | SRC_URI = "git://github.com/pravins/lohit.git;branch=master;protocol=https" | 11 | SRC_URI = "git://github.com/pravins/lohit.git;branch=master;protocol=https" |
12 | 12 | ||
13 | DEPENDS = "fontforge-native" | 13 | DEPENDS = "fontforge-native" |
14 | S = "${WORKDIR}/git" | ||
15 | FONT_PACKAGES = "${PN}" | 14 | FONT_PACKAGES = "${PN}" |
16 | FILES:${PN} = "${datadir}" | 15 | FILES:${PN} = "${datadir}" |
17 | 16 | ||
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb index a3babe90a5..1ae1d1a2b4 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE_E;md5=ac161e96eda00db9a3aec7870b5d9658 \ | |||
7 | file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \ | 7 | file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \ |
8 | " | 8 | " |
9 | SRC_URI = "http://downloads.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" | 9 | SRC_URI = "http://downloads.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" |
10 | S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" | 10 | S = "${UNPACKDIR}/mplus-TESTFLIGHT-${PV}" |
11 | 11 | ||
12 | PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages " | 12 | PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages " |
13 | 13 | ||
@@ -22,5 +22,4 @@ do_install() { | |||
22 | install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ | 22 | install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ |
23 | } | 23 | } |
24 | 24 | ||
25 | SRC_URI[md5sum] = "d1400184b51b3871e8d2fca6c50e18ae" | ||
26 | SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" | 25 | SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb index 9d6a9a6c2e..b5dae22a9d 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb | |||
@@ -11,7 +11,6 @@ SRCREV = "aac7ccaa4d1dea4543453b96f7d6fc47066a57ff" | |||
11 | PACKAGES = "${PN}-color ${PN}-regular" | 11 | PACKAGES = "${PN}-color ${PN}-regular" |
12 | FONT_PACKAGES = "${PN}-color ${PN}-regular" | 12 | FONT_PACKAGES = "${PN}-color ${PN}-regular" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf" | 15 | FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf" |
17 | FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf" | 16 | FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb index e9aa5721f7..3c3207c672 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb | |||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.paratype.com/public/" | |||
5 | SECTION = "x11/fonts" | 5 | SECTION = "x11/fonts" |
6 | 6 | ||
7 | LICENSE = "ParaTypeFFL-1.3" | 7 | LICENSE = "ParaTypeFFL-1.3" |
8 | LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" | 8 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" |
9 | 9 | ||
10 | inherit allarch fontcache | 10 | inherit allarch fontcache |
11 | 11 | ||
@@ -13,12 +13,12 @@ inherit allarch fontcache | |||
13 | # and causes hash build failures | 13 | # and causes hash build failures |
14 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip" | 14 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip" |
15 | 15 | ||
16 | SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7" | ||
17 | SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" | 16 | SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" |
18 | 17 | ||
18 | S = "${UNPACKDIR}" | ||
19 | |||
19 | do_install () { | 20 | do_install () { |
20 | install -d ${D}${datadir}/fonts/X11/TTF/ | 21 | install -d ${D}${datadir}/fonts/X11/TTF/ |
21 | cd .. | ||
22 | for i in *.ttf; do | 22 | for i in *.ttf; do |
23 | install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i} | 23 | install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i} |
24 | done | 24 | done |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb index 1870c78f99..9c9f2e566d 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb | |||
@@ -6,9 +6,8 @@ LICENSE = "Apache-2.0" | |||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
7 | 7 | ||
8 | SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-android.zip" | 8 | SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-android.zip" |
9 | SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1" | ||
10 | SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" | 9 | SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" |
11 | 10 | ||
12 | S = "${WORKDIR}" | 11 | S = "${UNPACKDIR}" |
13 | 12 | ||
14 | FILES:${PN} = "${datadir}/fonts/truetype/*.ttf" | 13 | FILES:${PN} = "${datadir}/fonts/truetype/*.ttf" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb index a4ad91fc77..b72307519c 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb | |||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0" | |||
10 | RPROVIDES:${PN} = "virtual-japanese-font" | 10 | RPROVIDES:${PN} = "virtual-japanese-font" |
11 | 11 | ||
12 | SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" | 12 | SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" |
13 | S = "${WORKDIR}/sazanami-20040629" | 13 | S = "${UNPACKDIR}/sazanami-20040629" |
14 | 14 | ||
15 | PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" | 15 | PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" |
16 | FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" | 16 | FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" |
@@ -29,5 +29,4 @@ do_install:append() { | |||
29 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho | 29 | install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho |
30 | } | 30 | } |
31 | 31 | ||
32 | SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2" | ||
33 | SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" | 32 | SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb index be0e544ccc..b224f46869 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb | |||
@@ -9,10 +9,10 @@ SECTION = "User Interface/X" | |||
9 | LICENSE = "IPA" | 9 | LICENSE = "IPA" |
10 | LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" | 10 | LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" |
11 | 11 | ||
12 | SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" | 12 | SRC_URI = "https://launchpad.net/takao-fonts/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" |
13 | SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" | 13 | SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" |
14 | 14 | ||
15 | S = "${WORKDIR}/TakaoFonts_00303.01" | 15 | S = "${UNPACKDIR}/TakaoFonts_00303.01" |
16 | 16 | ||
17 | PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" | 17 | PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" |
18 | FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" | 18 | FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb index 461e3def78..0131a62eef 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb | |||
@@ -3,7 +3,7 @@ require ttf.inc | |||
3 | SUMMARY = "Thai Linux Working Group Fonts" | 3 | SUMMARY = "Thai Linux Working Group Fonts" |
4 | HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" | 4 | HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" |
5 | LICENSE = "GPL-2.0-only & TLWG" | 5 | LICENSE = "GPL-2.0-only & TLWG" |
6 | LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" |
7 | 7 | ||
8 | SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ | 8 | SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ |
9 | http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" | 9 | http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb index d118769cc8..ff89f7466a 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb | |||
@@ -10,10 +10,12 @@ SHA1SUM = "0cef8205" | |||
10 | SRC_URI = "https://assets.ubuntu.com/v1/${SHA1SUM}-ubuntu-font-family-${PV}.zip" | 10 | SRC_URI = "https://assets.ubuntu.com/v1/${SHA1SUM}-ubuntu-font-family-${PV}.zip" |
11 | 11 | ||
12 | 12 | ||
13 | SRC_URI[md5sum] = "c5a5059d6856b4ddf79d824dcaf5ad32" | ||
14 | SRC_URI[sha256sum] = "61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf" | 13 | SRC_URI[sha256sum] = "61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf" |
15 | 14 | ||
16 | S = "${WORKDIR}/ubuntu-font-family-${PV}" | 15 | UPSTREAM_CHECK_URI = "https://repology.org/project/fonts:ubuntu/packages" |
16 | UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" | ||
17 | |||
18 | S = "${UNPACKDIR}/ubuntu-font-family-${PV}" | ||
17 | 19 | ||
18 | PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" | 20 | PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" |
19 | FONT_PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" | 21 | FONT_PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb index 4cc5afd4a7..c7be162b1b 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb | |||
@@ -12,7 +12,7 @@ SRC_URI = "https://osdn.jp/dl/vlgothic/VLGothic-${PV}.tar.xz" | |||
12 | 12 | ||
13 | SRC_URI[sha256sum] = "297a3813675fbea12c5813b55a78091c9a5946515ecbf9fde8b8102e01c579f4" | 13 | SRC_URI[sha256sum] = "297a3813675fbea12c5813b55a78091c9a5946515ecbf9fde8b8102e01c579f4" |
14 | 14 | ||
15 | S = "${WORKDIR}/VLGothic" | 15 | S = "${UNPACKDIR}/VLGothic" |
16 | 16 | ||
17 | do_install:append () { | 17 | do_install:append () { |
18 | install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt | 18 | install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt |
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb index 21897a7589..8d721d00ad 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb | |||
@@ -6,10 +6,12 @@ LICENSE = "GPL-2.0-only" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" |
7 | 7 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" | 8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" |
9 | SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd" | ||
10 | SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" | 9 | SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" |
11 | 10 | ||
12 | S = "${WORKDIR}/wqy-zenhei" | 11 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/wqy/files/wqy-zenhei/" |
12 | UPSTREAM_CHECK_REGEX = "wqy-zenhei/(?P<pver>\d+(\.\d+)+)" | ||
13 | |||
14 | S = "${UNPACKDIR}/wqy-zenhei" | ||
13 | 15 | ||
14 | do_install:append () { | 16 | do_install:append () { |
15 | sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf | 17 | sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf |
diff --git a/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb b/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb index e80aebc89b..5aea738c15 100644 --- a/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb +++ b/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb | |||
@@ -14,7 +14,6 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
14 | 14 | ||
15 | DEPENDS = "libev libx11 libxi libxfixes" | 15 | DEPENDS = "libev libx11 libxi libxfixes" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | do_install:append() { | 18 | do_install:append() { |
20 | # LICENSE is installed to /usr/share/licenses but we don't want it in the package | 19 | # LICENSE is installed to /usr/share/licenses but we don't want it in the package |
diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb index db3c045588..3ba561a54e 100644 --- a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb +++ b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb | |||
@@ -8,7 +8,6 @@ DEPENDS = "virtual/libx11 libxext xorgproto" | |||
8 | SRCREV = "79f1506a3307d3275b0fdfb2e110c173f68e6f78" | 8 | SRCREV = "79f1506a3307d3275b0fdfb2e110c173f68e6f78" |
9 | SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau;branch=master" | 9 | SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau;branch=master" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | inherit features_check meson pkgconfig | 12 | inherit features_check meson pkgconfig |
14 | 13 | ||
diff --git a/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb new file mode 100644 index 0000000000..a7db743239 --- /dev/null +++ b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "Tool to query the capabilities of a VDPAU implementation" | ||
2 | HOMEPAGE = "https://gitlab.freedesktop.org/vdpau/vdpauinfo" | ||
3 | |||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b6e110c362fe46168199f3490e52c3c" | ||
6 | |||
7 | DEPENDS = "libvdpau" | ||
8 | |||
9 | # libvdpau is available only with x11 | ||
10 | inherit features_check | ||
11 | REQUIRED_DISTRO_FEATURES = "x11" | ||
12 | |||
13 | RDEPENDS:${PN} = "libvdpau" | ||
14 | |||
15 | SRCREV = "d3c5bd63bf8878d59b22d618d2bb5116db392d28" | ||
16 | SRC_URI = "git://anongit.freedesktop.org/vdpau/vdpauinfo;branch=master" | ||
17 | |||
18 | |||
19 | inherit autotools pkgconfig | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch new file mode 100644 index 0000000000..44632bc74f --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 1d80b54aefd1f5f361990b1223c6fe308a8d3085 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ricardo Garcia <rgarcia@igalia.com> | ||
3 | Date: Mon, 21 Apr 2025 12:30:05 +0200 | ||
4 | Subject: [PATCH] Fix missing #include <cstdint> causing build failures | ||
5 | |||
6 | Tested on Fedora 42 with clang. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/google/amber/pull/1092] | ||
9 | |||
10 | Fixes: | ||
11 | http://errors.yoctoproject.org/Errors/Details/852849/ | ||
12 | |||
13 | In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15: | ||
14 | TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared | ||
15 | 56 | static bool IsInt8(FormatMode mode, uint32_t num_bits) { | ||
16 | | ^~~~~~~~ | ||
17 | |||
18 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
19 | --- | ||
20 | src/tokenizer.h | 1 + | ||
21 | src/type.h | 1 + | ||
22 | 2 files changed, 2 insertions(+) | ||
23 | |||
24 | diff --git a/src/tokenizer.h b/src/tokenizer.h | ||
25 | index 53efec60..ea4f19df 100644 | ||
26 | --- a/src/tokenizer.h | ||
27 | +++ b/src/tokenizer.h | ||
28 | @@ -16,6 +16,7 @@ | ||
29 | #define SRC_TOKENIZER_H_ | ||
30 | |||
31 | #include <cstdlib> | ||
32 | +#include <cstdint> | ||
33 | #include <memory> | ||
34 | #include <string> | ||
35 | |||
36 | diff --git a/src/type.h b/src/type.h | ||
37 | index c63779ba..97720f29 100644 | ||
38 | --- a/src/type.h | ||
39 | +++ b/src/type.h | ||
40 | @@ -16,6 +16,7 @@ | ||
41 | #define SRC_TYPE_H_ | ||
42 | |||
43 | #include <cassert> | ||
44 | +#include <cstdint> | ||
45 | #include <memory> | ||
46 | #include <string> | ||
47 | #include <vector> | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch index f659e36066..9eef9a702e 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | |||
@@ -15,15 +15,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
15 | 15 | ||
16 | --- a/framework/platform/CMakeLists.txt | 16 | --- a/framework/platform/CMakeLists.txt |
17 | +++ b/framework/platform/CMakeLists.txt | 17 | +++ b/framework/platform/CMakeLists.txt |
18 | @@ -73,8 +73,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) | 18 | @@ -83,8 +83,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) |
19 | add_definitions(-DDEQP_SUPPORT_WAYLAND=1) | 19 | configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.c ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.c COPYONLY) |
20 | include_directories(lnx/wayland) | 20 | configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.h ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.h COPYONLY) |
21 | 21 | else () | |
22 | - pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) | 22 | - pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) |
23 | - | 23 | - |
24 | + if (NOT WAYLAND_PROTOCOLS_DIR) | 24 | + if (NOT WAYLAND_PROTOCOL_DIR) |
25 | + pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) | 25 | + pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) |
26 | + endif() | 26 | + endif() |
27 | if (NOT WAYLAND_SCANNER) | 27 | if (NOT WAYLAND_SCANNER) |
28 | pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) | 28 | pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) |
29 | endif() | 29 | endif() |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch new file mode 100644 index 0000000000..5e19ed2db3 --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch | |||
@@ -0,0 +1,123 @@ | |||
1 | From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Woerner <twoerner@gmail.com> | ||
3 | Date: Thu, 23 Sep 2021 19:36:43 -0400 | ||
4 | Subject: [PATCH] use library sonames for linking | ||
5 | |||
6 | The recommended "best practices" for applications is to link to library | ||
7 | sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This | ||
8 | ensures that applications don't try to use libraries if an incompatible ABI | ||
9 | change occurs. | ||
10 | |||
11 | Upstream-Status: Denied [https://github.com/KhronosGroup/VK-GL-CTS/pull/288] | ||
12 | Signed-off-by: Trevor Woerner <twoerner@gmail.com> | ||
13 | --- | ||
14 | framework/egl/egluGLContextFactory.cpp | 4 ++-- | ||
15 | framework/egl/wrapper/eglwLibrary.cpp | 2 +- | ||
16 | framework/platform/android/tcuAndroidPlatform.cpp | 2 +- | ||
17 | framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +- | ||
18 | .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +- | ||
19 | framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++--- | ||
20 | 6 files changed, 9 insertions(+), 9 deletions(-) | ||
21 | |||
22 | --- a/framework/egl/egluGLContextFactory.cpp | ||
23 | +++ b/framework/egl/egluGLContextFactory.cpp | ||
24 | @@ -63,7 +63,7 @@ using std::vector; | ||
25 | #if (DE_OS == DE_OS_WIN32) | ||
26 | #define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll" | ||
27 | #else | ||
28 | -#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
29 | +#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
30 | #endif | ||
31 | #endif | ||
32 | |||
33 | @@ -75,7 +75,7 @@ using std::vector; | ||
34 | #if (DE_OS == DE_OS_WIN32) | ||
35 | #define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll" | ||
36 | #else | ||
37 | -#define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
38 | +#define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
39 | #endif | ||
40 | #endif | ||
41 | |||
42 | --- a/framework/egl/wrapper/eglwLibrary.cpp | ||
43 | +++ b/framework/egl/wrapper/eglwLibrary.cpp | ||
44 | @@ -145,7 +145,7 @@ DefaultLibrary::~DefaultLibrary(void) | ||
45 | const char *DefaultLibrary::getLibraryFileName(void) | ||
46 | { | ||
47 | #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX) | ||
48 | - return "libEGL.so"; | ||
49 | + return "libEGL.so.1"; | ||
50 | #elif (DE_OS == DE_OS_WIN32) | ||
51 | return "libEGL.dll"; | ||
52 | #else | ||
53 | --- a/framework/platform/android/tcuAndroidPlatform.cpp | ||
54 | +++ b/framework/platform/android/tcuAndroidPlatform.cpp | ||
55 | @@ -56,7 +56,7 @@ static const eglu::NativeWindow::Capabil | ||
56 | class NativeDisplay : public eglu::NativeDisplay | ||
57 | { | ||
58 | public: | ||
59 | - NativeDisplay(void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") | ||
60 | + NativeDisplay(void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1") | ||
61 | { | ||
62 | } | ||
63 | virtual ~NativeDisplay(void) | ||
64 | @@ -223,7 +223,7 @@ class VulkanLibrary : public vk::Library | ||
65 | { | ||
66 | public: | ||
67 | VulkanLibrary(const char *libraryPath) | ||
68 | - : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so") | ||
69 | + : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so.1") | ||
70 | , m_driver(m_library) | ||
71 | { | ||
72 | } | ||
73 | --- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
74 | +++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
75 | @@ -77,7 +77,7 @@ using tcu::TextureLevel; | ||
76 | class Library : public eglw::DefaultLibrary | ||
77 | { | ||
78 | public: | ||
79 | - Library(void) : eglw::DefaultLibrary("libEGL.so") | ||
80 | + Library(void) : eglw::DefaultLibrary("libEGL.so.1") | ||
81 | { | ||
82 | } | ||
83 | |||
84 | --- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
85 | +++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
86 | @@ -64,7 +64,7 @@ public: | ||
87 | Display(MovePtr<wayland::Display> waylandDisplay) | ||
88 | : NativeDisplay(CAPABILITIES, EGL_PLATFORM_WAYLAND_KHR, "EGL_KHR_platform_wayland") | ||
89 | , m_display(waylandDisplay) | ||
90 | - , m_library("libEGL.so") | ||
91 | + , m_library("libEGL.so.1") | ||
92 | { | ||
93 | } | ||
94 | |||
95 | --- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
96 | +++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
97 | @@ -69,7 +69,7 @@ using std::vector; | ||
98 | |||
99 | // Default library names | ||
100 | #if !defined(DEQP_GLES2_LIBRARY_PATH) | ||
101 | -#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
102 | +#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
103 | #endif | ||
104 | |||
105 | #if !defined(DEQP_GLES3_LIBRARY_PATH) | ||
106 | @@ -77,7 +77,7 @@ using std::vector; | ||
107 | #endif | ||
108 | |||
109 | #if !defined(DEQP_OPENGL_LIBRARY_PATH) | ||
110 | -#define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
111 | +#define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
112 | #endif | ||
113 | |||
114 | #if !defined(DEQP_VULKAN_LIBRARY_PATH) | ||
115 | @@ -258,7 +258,7 @@ glu::RenderContext *ContextFactory::crea | ||
116 | |||
117 | EglRenderContext::EglRenderContext(const glu::RenderConfig &config, const tcu::CommandLine &cmdLine, | ||
118 | const glu::RenderContext *sharedContext) | ||
119 | - : m_egl("libEGL.so") | ||
120 | + : m_egl("libEGL.so.1") | ||
121 | , m_contextType(config.type) | ||
122 | , m_eglDisplay(EGL_NO_DISPLAY) | ||
123 | , m_eglContext(EGL_NO_CONTEXT) | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch deleted file mode 100644 index 0dd59713a1..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From b07f6ecd6ab83b788301a555dc546b9a5c9dd8a2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 25 Jan 2023 19:19:34 -0800 | ||
4 | Subject: [PATCH] Include missing <cstdint> | ||
5 | |||
6 | This error is seen with gcc-13 where include headers are not implicitly | ||
7 | included [1] | ||
8 | |||
9 | Fixes errors e.g. | ||
10 | error: 'uint32_t' does not name a type | ||
11 | |||
12 | [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/378] | ||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | framework/common/tcuDefs.hpp | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/framework/common/tcuDefs.hpp b/framework/common/tcuDefs.hpp | ||
21 | index ad3d0736d..6dfac10fb 100644 | ||
22 | --- a/framework/common/tcuDefs.hpp | ||
23 | +++ b/framework/common/tcuDefs.hpp | ||
24 | @@ -26,6 +26,7 @@ | ||
25 | #include "deDefs.hpp" | ||
26 | #include "qpTestLog.h" | ||
27 | |||
28 | +#include <cstdint> | ||
29 | #include <string> | ||
30 | #include <stdexcept> | ||
31 | |||
32 | -- | ||
33 | 2.39.1 | ||
34 | |||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch deleted file mode 100644 index 40aea8f203..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 1b7646ced0f0b969f818084887885827ed1a4244 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 31 May 2021 17:31:33 -0700 | ||
4 | Subject: [PATCH] vulkancts: Include missing <cstdint> | ||
5 | |||
6 | Fixes build with gcc-13 | ||
7 | |||
8 | ../git/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp:2798:102: error: 'uintptr_t' in namespace 'std' does not name a type | ||
9 | 2798 | BufferDataType type = static_cast<BufferDataType>(reinterpret_cast<std::uintptr_t>(expectedOutputs[resultIndex].getUserData())); | ||
10 | | ^~~~~~~~~ | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/378] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | .../vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
19 | index ab02be1dc..3d3ee4829 100644 | ||
20 | --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
21 | +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | ||
22 | @@ -33,6 +33,7 @@ | ||
23 | #include "deFloat16.h" | ||
24 | #include "vkQueryUtil.hpp" | ||
25 | #include "vkRefUtil.hpp" | ||
26 | +#include <cstdint> | ||
27 | #include <cstring> | ||
28 | #include <vector> | ||
29 | #include <limits> | ||
30 | -- | ||
31 | 2.39.1 | ||
32 | |||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch index 4ecc371ca4..af59dd3e61 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch | |||
@@ -2,7 +2,7 @@ Upstream-Status: Pending | |||
2 | 2 | ||
3 | --- a/external/glslang/src/glslang/Include/PoolAlloc.h | 3 | --- a/external/glslang/src/glslang/Include/PoolAlloc.h |
4 | +++ b/external/glslang/src/glslang/Include/PoolAlloc.h | 4 | +++ b/external/glslang/src/glslang/Include/PoolAlloc.h |
5 | @@ -240,8 +240,9 @@ protected: | 5 | @@ -245,8 +245,9 @@ protected: |
6 | 6 | ||
7 | int numCalls; // just an interesting statistic | 7 | int numCalls; // just an interesting statistic |
8 | size_t totalBytes; // just an interesting statistic | 8 | size_t totalBytes; // just an interesting statistic |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch index 58dc1f24dd..717d489786 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch | |||
@@ -2,9 +2,9 @@ Upstream-Status: Pending | |||
2 | 2 | ||
3 | --- a/framework/delibs/dethread/CMakeLists.txt | 3 | --- a/framework/delibs/dethread/CMakeLists.txt |
4 | +++ b/framework/delibs/dethread/CMakeLists.txt | 4 | +++ b/framework/delibs/dethread/CMakeLists.txt |
5 | @@ -42,6 +42,7 @@ if (DE_OS_IS_UNIX) | 5 | @@ -41,6 +41,7 @@ if (DE_OS_IS_UNIX) |
6 | if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") | ||
6 | add_definitions(-D__BSD_VISIBLE) | 7 | add_definitions(-D__BSD_VISIBLE) |
7 | add_definitions(-D_XOPEN_SOURCE=600) | ||
8 | endif () | 8 | endif () |
9 | + add_definitions(-D_XOPEN_SOURCE=600) | 9 | + add_definitions(-D_XOPEN_SOURCE=600) |
10 | add_definitions(-D_GNU_SOURCE) | 10 | add_definitions(-D_GNU_SOURCE) |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch deleted file mode 100644 index 8a8d8d2c32..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | Prepend instead of append to the module search path, as this script needs to use | ||
2 | the local module build, not the host module build. | ||
3 | |||
4 | Upstream-Status: Submitted | ||
5 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
6 | |||
7 | diff --git a/external/vulkancts/scripts/gen_framework.py b/external/vulkancts/scripts/gen_framework.py | ||
8 | index 83c5329ce..10e720910 100755 | ||
9 | --- a/external/vulkancts/scripts/gen_framework.py | ||
10 | +++ b/external/vulkancts/scripts/gen_framework.py | ||
11 | @@ -33 +33 @@ from collections import OrderedDict | ||
12 | -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) | ||
13 | +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) | ||
14 | diff --git a/external/vulkancts/scripts/gen_framework_c.py b/external/vulkancts/scripts/gen_framework_c.py | ||
15 | index 95587e642..84b878cb2 100644 | ||
16 | --- a/external/vulkancts/scripts/gen_framework_c.py | ||
17 | +++ b/external/vulkancts/scripts/gen_framework_c.py | ||
18 | @@ -28 +28 @@ import re | ||
19 | -sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) | ||
20 | +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py new file mode 100755 index 0000000000..c2756b592c --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py | |||
@@ -0,0 +1,131 @@ | |||
1 | #! /usr/bin/env python3 | ||
2 | |||
3 | import json | ||
4 | import re | ||
5 | import os | ||
6 | import subprocess | ||
7 | import sys | ||
8 | import types | ||
9 | import urllib.parse | ||
10 | |||
11 | |||
12 | def resolve_commit(repo, ref): | ||
13 | # If it looks like a SHA, just return that | ||
14 | if re.match(r"[a-z0-9]{40}", ref): | ||
15 | return ref | ||
16 | |||
17 | # Otherwise it's probably a tag name so resolve it | ||
18 | cmd = ("git", "ls-remote", "--tags", "--exit-code", repo, ref) | ||
19 | ret = subprocess.run(cmd, check=True, text=True, capture_output=True) | ||
20 | sha = ret.stdout.split(maxsplit=1)[0] | ||
21 | assert len(sha) == 40 | ||
22 | return sha | ||
23 | |||
24 | |||
25 | def transform_git(repo_url, repo_ref, destination): | ||
26 | parts = urllib.parse.urlparse(repo_url) | ||
27 | protocol = parts.scheme | ||
28 | parts = parts._replace(scheme="git") | ||
29 | url = urllib.parse.urlunparse(parts) | ||
30 | # Resolve the commit reference to a SHA | ||
31 | sha = resolve_commit(repo_url, repo_ref) | ||
32 | |||
33 | return url + f";protocol={protocol};nobranch=1;destsuffix={destination};rev={sha}" | ||
34 | |||
35 | |||
36 | def load_module(filename): | ||
37 | import importlib.util | ||
38 | |||
39 | spec = importlib.util.spec_from_file_location("fetchmodule", filename) | ||
40 | module = importlib.util.module_from_spec(spec) | ||
41 | spec.loader.exec_module(module) | ||
42 | return module | ||
43 | |||
44 | |||
45 | def convert_fetch(basedir): | ||
46 | """ | ||
47 | Convert the external/fetch_sources.py data | ||
48 | """ | ||
49 | fetch = load_module(os.path.join(basedir, "fetch_sources.py")) | ||
50 | lines = [] | ||
51 | for p in fetch.PACKAGES: | ||
52 | if isinstance(p, fetch.SourcePackage): | ||
53 | # Ignore these as so far we can use the system copies | ||
54 | pass | ||
55 | elif isinstance(p, fetch.SourceFile): | ||
56 | dest = "/".join(["git/external", p.baseDir, p.extractDir]) | ||
57 | url = f"{p.url};subdir={dest};sha256sum={p.checksum}" | ||
58 | lines.append(f" {url} \\") | ||
59 | elif isinstance(p, fetch.GitRepo): | ||
60 | dest = "/".join(["git/external", p.baseDir, p.extractDir]) | ||
61 | url = transform_git(p.httpsUrl, p.revision, dest) | ||
62 | lines.append(f" {url} \\") | ||
63 | else: | ||
64 | assert f"Unexpected {p=}" | ||
65 | return lines | ||
66 | |||
67 | |||
68 | def convert_knowngood(basedir, destination): | ||
69 | """ | ||
70 | Convert the """ | ||
71 | filename = os.path.join(basedir, "vulkan-validationlayers/src/scripts/known_good.json") | ||
72 | try: | ||
73 | with open(filename) as fp: | ||
74 | data = json.load(fp, object_hook=lambda x: types.SimpleNamespace(**x)) | ||
75 | except FileNotFoundError: | ||
76 | return [] | ||
77 | |||
78 | lines = [] | ||
79 | for repo in data.repos: | ||
80 | # Skip repositories that are not needed on Linux (TODO: assumes linux target) | ||
81 | if hasattr(repo, "build_platforms") and repo.build_platforms != "linux": | ||
82 | continue | ||
83 | |||
84 | # Switch the URL to use git: and save the original protocol | ||
85 | parts = urllib.parse.urlparse(repo.url) | ||
86 | protocol = parts.scheme | ||
87 | parts = parts._replace(scheme="git") | ||
88 | url = urllib.parse.urlunparse(parts) | ||
89 | # Resolve the commit reference to a SHA | ||
90 | sha = resolve_commit(repo.url, repo.commit) | ||
91 | |||
92 | destsuffix = destination + "/" + repo.sub_dir | ||
93 | |||
94 | url += f";protocol={protocol};nobranch=1;destsuffix={destsuffix};rev={sha}" | ||
95 | lines.append(f" {url} \\") | ||
96 | return lines | ||
97 | |||
98 | |||
99 | def main(): | ||
100 | pv = sys.argv[1] | ||
101 | basedir = sys.argv[2] | ||
102 | |||
103 | print(""" | ||
104 | # | ||
105 | # Generated by generate-srcuri.py, don't update manually") | ||
106 | # | ||
107 | |||
108 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" | ||
109 | |||
110 | python __anonymous() { | ||
111 | if d.getVar("PV") != "%s": | ||
112 | bb.warn("-sources.inc out of date, run refresh_srcuri task") | ||
113 | } | ||
114 | """ % (pv)) | ||
115 | |||
116 | print('SRC_URI += " \\') | ||
117 | lines = convert_fetch(basedir) | ||
118 | print("\n".join(lines)) | ||
119 | print('"') | ||
120 | |||
121 | #lines = convert_knowngood(sys.argv[1], "git/external/validation") | ||
122 | #if lines: | ||
123 | # print('SRC_URI += " \\') | ||
124 | # print("\n".join(lines)) | ||
125 | # print('"') | ||
126 | #else: | ||
127 | # print("# Re-run") | ||
128 | |||
129 | |||
130 | if __name__ == "__main__": | ||
131 | main() | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc index 09f1fbcaee..1cc2da7a49 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | |||
@@ -1,46 +1,31 @@ | |||
1 | LICENSE = "Apache-2.0" | 1 | LICENSE = "Apache-2.0" |
2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
3 | 3 | ||
4 | SRC_URI = "\ | 4 | SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ |
5 | git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ | 5 | file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ |
6 | git://github.com/google/amber;protocol=https;destsuffix=git/external/amber/src;name=amber;branch=main \ | 6 | file://0001-use-library-sonames-for-linking.patch \ |
7 | git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang;branch=main \ | 7 | file://generate-srcuri.py \ |
8 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;destsuffix=git/external/spirv-headers/src;name=spirv-headers;branch=main \ | 8 | " |
9 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;destsuffix=git/external/spirv-tools/src;name=spirv-tools;branch=main \ | ||
10 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;destsuffix=git/external/jsoncpp/src;name=jsoncpp;branch=master \ | ||
11 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;destsuffix=git/external/vulkan-docs/src;name=vulkan-docs;branch=main \ | ||
12 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;name=renderdoc \ | ||
13 | git://github.com/Igalia/ESExtractor.git;protocol=https;destsuffix=git/external/ESExtractor/src;name=ESExtractor;branch=main \ | ||
14 | git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1 \ | ||
15 | " | ||
16 | 9 | ||
17 | S = "${WORKDIR}/git" | 10 | SRC_URI:append:libc-musl = "file://fix-musl.patch" |
11 | SRC_URI:append:toolchain-clang = "file://fix-clang-private-operator.patch" | ||
18 | 12 | ||
19 | SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools_jsoncpp_vulkan-docs" | 13 | SRCREV_FORMAT = "vk-gl-cts" |
20 | 14 | ||
21 | S = "${WORKDIR}/git" | ||
22 | 15 | ||
23 | inherit pkgconfig cmake features_check python3native qemu | 16 | inherit pkgconfig cmake cmake-qemu features_check python3native |
17 | |||
18 | UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" | ||
24 | 19 | ||
25 | ANY_OF_DISTRO_FEATURES += "opengl vulkan" | 20 | ANY_OF_DISTRO_FEATURES += "opengl vulkan" |
26 | 21 | ||
27 | DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native" | 22 | DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native" |
28 | |||
29 | SRC_URI += " \ | ||
30 | file://0001-vulkancts-Include-missing-cstdint.patch \ | ||
31 | file://0001-use-library-sonames-for-linking.patch \ | ||
32 | " | ||
33 | |||
34 | SRC_URI:append:libc-musl = "\ | ||
35 | file://fix-musl.patch \ | ||
36 | " | ||
37 | DEPENDS:append:libc-musl = " libexecinfo" | 23 | DEPENDS:append:libc-musl = " libexecinfo" |
38 | 24 | ||
39 | SRC_URI:append:toolchain-clang = "\ | 25 | EXTRA_OECMAKE += "-DAMBER_DISABLE_WERROR=ON \ |
40 | file://fix-clang-private-operator.patch \ | 26 | -DUPDATE_DEPS_DIR=${S}/external/validation/ \ |
41 | " | 27 | -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ |
42 | 28 | -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols" | |
43 | EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols -DAMBER_DISABLE_WERROR=ON" | ||
44 | 29 | ||
45 | # The best thing for the user to do is to not specify any of the following | 30 | # The best thing for the user to do is to not specify any of the following |
46 | # PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own | 31 | # PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own |
@@ -54,17 +39,6 @@ PACKAGECONFIG[x11_egl] = "-DDEQP_TARGET=x11_egl,,virtual/libx11 virtual/egl,,,su | |||
54 | PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx" | 39 | PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx" |
55 | PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx" | 40 | PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx" |
56 | 41 | ||
57 | do_configure:append() { | ||
58 | # Write out a qemu wrapper that will be used by cmake | ||
59 | # so that it can run target helper binaries through that. | ||
60 | qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}" | ||
61 | cat > ${WORKDIR}/qemuwrapper << EOF | ||
62 | #!/bin/sh | ||
63 | $qemu_binary "\$@" | ||
64 | EOF | ||
65 | chmod +x ${WORKDIR}/qemuwrapper | ||
66 | } | ||
67 | |||
68 | python __anonymous() { | 42 | python __anonymous() { |
69 | # if the user doesn't specify any PACKAGECONFIG then the cts build system | 43 | # if the user doesn't specify any PACKAGECONFIG then the cts build system |
70 | # is going to probe the sysroot to try to figure out what to build | 44 | # is going to probe the sysroot to try to figure out what to build |
@@ -81,3 +55,20 @@ python __anonymous() { | |||
81 | CTSDIR = "/usr/lib/${BPN}" | 55 | CTSDIR = "/usr/lib/${BPN}" |
82 | 56 | ||
83 | FILES:${PN} += "${CTSDIR}" | 57 | FILES:${PN} += "${CTSDIR}" |
58 | |||
59 | # does not work with libc++-19 due | ||
60 | # error: implicit instantiation of undefined template 'std::char_traits<unsigned int>' | ||
61 | TOOLCHAIN = "gcc" | ||
62 | |||
63 | # Prototype task to refresh the generated SRC_URI entries by parsing | ||
64 | # the files in the source tree and writing a BPN-sources.inc file. | ||
65 | do_refresh_srcuri() { | ||
66 | ${UNPACKDIR}/generate-srcuri.py ${PV} ${S}/external/ \ | ||
67 | > ${THISDIR}/${BPN}-sources.inc | ||
68 | # Don't convert ${S}/external/vulkan-validationlayers/src/scripts/known_good.json as we | ||
69 | # currently build without validation | ||
70 | } | ||
71 | |||
72 | addtask refresh_srcuri after do_patch | ||
73 | do_refresh_srcuri[network] = "1" | ||
74 | do_refresh_srcuri[nostamp] = "1" | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc new file mode 100644 index 0000000000..4e7155cd7f --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc | |||
@@ -0,0 +1,25 @@ | |||
1 | |||
2 | # | ||
3 | # Generated by generate-srcuri.py, don't update manually") | ||
4 | # | ||
5 | |||
6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" | ||
7 | |||
8 | python __anonymous() { | ||
9 | if d.getVar("PV") != "3.2.12.0": | ||
10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") | ||
11 | } | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ | ||
15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=04b4a204aa501992ae85a207be1e200e195c98e1 \ | ||
16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=0549c7127c2fbab2904892c9d6ff491fa1e93751 \ | ||
17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=e7294a8ebed84f8c5bd3686c68dbe12a4e65b644 \ | ||
18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ | ||
19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ | ||
20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ | ||
21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ | ||
22 | git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ | ||
23 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ | ||
24 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ | ||
25 | " | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch deleted file mode 100644 index b5a1d331ed..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch +++ /dev/null | |||
@@ -1,114 +0,0 @@ | |||
1 | From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Woerner <twoerner@gmail.com> | ||
3 | Date: Thu, 23 Sep 2021 19:36:43 -0400 | ||
4 | Subject: [PATCH] use library sonames for linking | ||
5 | |||
6 | The recommended "best practices" for applications is to link to library | ||
7 | sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This | ||
8 | ensures that applications don't try to use libraries if an incompatible ABI | ||
9 | change occurs. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/288] | ||
12 | Signed-off-by: Trevor Woerner <twoerner@gmail.com> | ||
13 | --- | ||
14 | framework/egl/egluGLContextFactory.cpp | 4 ++-- | ||
15 | framework/egl/wrapper/eglwLibrary.cpp | 2 +- | ||
16 | framework/platform/android/tcuAndroidPlatform.cpp | 2 +- | ||
17 | framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +- | ||
18 | .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +- | ||
19 | framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++--- | ||
20 | 6 files changed, 9 insertions(+), 9 deletions(-) | ||
21 | |||
22 | --- a/framework/egl/egluGLContextFactory.cpp | ||
23 | +++ b/framework/egl/egluGLContextFactory.cpp | ||
24 | @@ -63,7 +63,7 @@ using std::vector; | ||
25 | # if (DE_OS == DE_OS_WIN32) | ||
26 | # define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll" | ||
27 | # else | ||
28 | -# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
29 | +# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
30 | # endif | ||
31 | #endif | ||
32 | |||
33 | @@ -75,7 +75,7 @@ using std::vector; | ||
34 | # if (DE_OS == DE_OS_WIN32) | ||
35 | # define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll" | ||
36 | # else | ||
37 | -# define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
38 | +# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
39 | # endif | ||
40 | #endif | ||
41 | |||
42 | --- a/framework/egl/wrapper/eglwLibrary.cpp | ||
43 | +++ b/framework/egl/wrapper/eglwLibrary.cpp | ||
44 | @@ -148,7 +148,7 @@ DefaultLibrary::~DefaultLibrary (void) | ||
45 | const char* DefaultLibrary::getLibraryFileName (void) | ||
46 | { | ||
47 | #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX) | ||
48 | - return "libEGL.so"; | ||
49 | + return "libEGL.so.1"; | ||
50 | #elif (DE_OS == DE_OS_WIN32) | ||
51 | return "libEGL.dll"; | ||
52 | #else | ||
53 | --- a/framework/platform/android/tcuAndroidPlatform.cpp | ||
54 | +++ b/framework/platform/android/tcuAndroidPlatform.cpp | ||
55 | @@ -57,7 +57,7 @@ static const eglu::NativeWindow::Capabil | ||
56 | class NativeDisplay : public eglu::NativeDisplay | ||
57 | { | ||
58 | public: | ||
59 | - NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") {} | ||
60 | + NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1") {} | ||
61 | virtual ~NativeDisplay (void) {} | ||
62 | |||
63 | virtual EGLNativeDisplayType getLegacyNative (void) { return EGL_DEFAULT_DISPLAY; } | ||
64 | --- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
65 | +++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
66 | @@ -75,7 +75,7 @@ class Library : public eglw::DefaultLibr | ||
67 | { | ||
68 | public: | ||
69 | Library (void) | ||
70 | - : eglw::DefaultLibrary("libEGL.so") | ||
71 | + : eglw::DefaultLibrary("libEGL.so.1") | ||
72 | { | ||
73 | } | ||
74 | |||
75 | --- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
76 | +++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
77 | @@ -66,7 +66,7 @@ public: | ||
78 | EGL_PLATFORM_WAYLAND_KHR, | ||
79 | "EGL_KHR_platform_wayland") | ||
80 | , m_display (waylandDisplay) | ||
81 | - , m_library ("libEGL.so") {} | ||
82 | + , m_library ("libEGL.so.1") {} | ||
83 | |||
84 | ~Display(void) {} | ||
85 | wayland::Display& getWaylandDisplay (void) { return *m_display; } | ||
86 | --- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
87 | +++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
88 | @@ -69,7 +69,7 @@ using std::vector; | ||
89 | |||
90 | // Default library names | ||
91 | #if !defined(DEQP_GLES2_LIBRARY_PATH) | ||
92 | -# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
93 | +# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
94 | #endif | ||
95 | |||
96 | #if !defined(DEQP_GLES3_LIBRARY_PATH) | ||
97 | @@ -77,7 +77,7 @@ using std::vector; | ||
98 | #endif | ||
99 | |||
100 | #if !defined(DEQP_OPENGL_LIBRARY_PATH) | ||
101 | -# define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
102 | +# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
103 | #endif | ||
104 | |||
105 | #if !defined(DEQP_VULKAN_LIBRARY_PATH) | ||
106 | @@ -234,7 +234,7 @@ glu::RenderContext* ContextFactory::crea | ||
107 | } | ||
108 | |||
109 | EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine) | ||
110 | - : m_egl("libEGL.so") | ||
111 | + : m_egl("libEGL.so.1") | ||
112 | , m_contextType(config.type) | ||
113 | , m_eglDisplay(EGL_NO_DISPLAY) | ||
114 | , m_eglContext(EGL_NO_CONTEXT) | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb new file mode 100644 index 0000000000..1bcbed1600 --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "OpenGL CTS" | ||
2 | |||
3 | require khronos-cts.inc | ||
4 | |||
5 | SRCREV_vk-gl-cts = "42e61858e862e153cd0fe36593a8c3f7c16c3275" | ||
6 | |||
7 | require opengl-es-cts-sources.inc | ||
8 | |||
9 | EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts"" | ||
10 | |||
11 | do_install() { | ||
12 | install -d ${D}/${CTSDIR} | ||
13 | cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR} | ||
14 | cp -r ${S}/external/openglcts/data/gl_cts/data/mustpass/ ${D}/${CTSDIR}/mustpass/ | ||
15 | |||
16 | install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR} | ||
17 | install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR} | ||
18 | install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR} | ||
19 | install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR} | ||
20 | install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR} | ||
21 | |||
22 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles | ||
23 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles | ||
24 | rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles | ||
25 | } | ||
26 | |||
27 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" | ||
28 | # GCC-15 segfaults see - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119 | ||
29 | TUNE_CCARGS:remove:aarch64 = "-mcpu=cortex-a57+crc" | ||
30 | LTO = "" | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb deleted file mode 100644 index 0656d724b4..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | DESCRIPTION = "OpenGL CTS" | ||
2 | |||
3 | require khronos-cts.inc | ||
4 | # opengl-es-cts-3.2.9.3 | ||
5 | SRCREV_vk-gl-cts = "7f5fb62245d535a1fc0bf50b2c7e5a342dc551fe" | ||
6 | SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273" | ||
7 | SRCREV_glslang = "a0ad0d7067521fff880e36acfb8ce453421c3f25" | ||
8 | SRCREV_spirv-headers = "87d5b782bec60822aa878941e6b13c0a9a954c9b" | ||
9 | SRCREV_spirv-tools = "f98473ceeb1d33700d01e20910433583e5256030" | ||
10 | SRCREV_ESExtractor = "ce5d7ebcf0ebb0d78385ee4cc34653eb6764bfc4" | ||
11 | # Not yet needed | ||
12 | SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1" | ||
13 | SRCREV_vulkan-docs = "9a2e576a052a1e65a5d41b593e693ff02745604b" | ||
14 | SRCREV_video-parser = "7d68747d3524842afaf050c5e00a10f5b8c07904" | ||
15 | SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e" | ||
16 | |||
17 | SRC_URI += "\ | ||
18 | git://github.com/nvpro-samples/vk_video_samples.git;protocol=https;destsuffix=git/external/video-parser/src;name=video-parser;branch=main \ | ||
19 | file://gen-framework-path.patch \ | ||
20 | " | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}/${CTSDIR} | ||
25 | cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR} | ||
26 | |||
27 | install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR} | ||
28 | install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR} | ||
29 | install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR} | ||
30 | install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR} | ||
31 | install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR} | ||
32 | |||
33 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles | ||
34 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles | ||
35 | rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles | ||
36 | } | ||
37 | |||
38 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" | ||
39 | LTO = "" | ||
40 | |||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc new file mode 100644 index 0000000000..563da1007a --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | |||
2 | # | ||
3 | # Generated by generate-srcuri.py, don't update manually") | ||
4 | # | ||
5 | |||
6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" | ||
7 | |||
8 | python __anonymous() { | ||
9 | if d.getVar("PV") != "1.4.2.1": | ||
10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") | ||
11 | } | ||
12 | |||
13 | SRC_URI += " \ | ||
14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ | ||
15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=3364b982713a0440d1d342dd5eec65b122a61b71 \ | ||
16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=1b65bd602b23d401d1c4c86dfa90a36a52c66294 \ | ||
17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=767e901c986e9755a17e7939b3046fc2911a4bbd \ | ||
18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ | ||
19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ | ||
20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ | ||
21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ | ||
22 | git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ | ||
23 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ | ||
24 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ | ||
25 | file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \ | ||
26 | " | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch deleted file mode 100644 index f12abd0c1a..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch +++ /dev/null | |||
@@ -1,114 +0,0 @@ | |||
1 | From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Trevor Woerner <twoerner@gmail.com> | ||
3 | Date: Thu, 23 Sep 2021 19:36:43 -0400 | ||
4 | Subject: [PATCH] use library sonames for linking | ||
5 | |||
6 | The recommended "best practices" for applications is to link to library | ||
7 | sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This | ||
8 | ensures that applications don't try to use libraries if an incompatible ABI | ||
9 | change occurs. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/288] | ||
12 | Signed-off-by: Trevor Woerner <twoerner@gmail.com> | ||
13 | --- | ||
14 | framework/egl/egluGLContextFactory.cpp | 4 ++-- | ||
15 | framework/egl/wrapper/eglwLibrary.cpp | 2 +- | ||
16 | framework/platform/android/tcuAndroidPlatform.cpp | 2 +- | ||
17 | framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +- | ||
18 | .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +- | ||
19 | framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++--- | ||
20 | 6 files changed, 9 insertions(+), 9 deletions(-) | ||
21 | |||
22 | --- a/framework/egl/egluGLContextFactory.cpp | ||
23 | +++ b/framework/egl/egluGLContextFactory.cpp | ||
24 | @@ -63,7 +63,7 @@ using std::vector; | ||
25 | # if (DE_OS == DE_OS_WIN32) | ||
26 | # define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll" | ||
27 | # else | ||
28 | -# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
29 | +# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
30 | # endif | ||
31 | #endif | ||
32 | |||
33 | @@ -75,7 +75,7 @@ using std::vector; | ||
34 | # if (DE_OS == DE_OS_WIN32) | ||
35 | # define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll" | ||
36 | # else | ||
37 | -# define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
38 | +# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
39 | # endif | ||
40 | #endif | ||
41 | |||
42 | --- a/framework/egl/wrapper/eglwLibrary.cpp | ||
43 | +++ b/framework/egl/wrapper/eglwLibrary.cpp | ||
44 | @@ -148,7 +148,7 @@ DefaultLibrary::~DefaultLibrary (void) | ||
45 | const char* DefaultLibrary::getLibraryFileName (void) | ||
46 | { | ||
47 | #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX) | ||
48 | - return "libEGL.so"; | ||
49 | + return "libEGL.so.1"; | ||
50 | #elif (DE_OS == DE_OS_WIN32) | ||
51 | return "libEGL.dll"; | ||
52 | #else | ||
53 | --- a/framework/platform/android/tcuAndroidPlatform.cpp | ||
54 | +++ b/framework/platform/android/tcuAndroidPlatform.cpp | ||
55 | @@ -57,7 +57,7 @@ static const eglu::NativeWindow::Capabil | ||
56 | class NativeDisplay : public eglu::NativeDisplay | ||
57 | { | ||
58 | public: | ||
59 | - NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") {} | ||
60 | + NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1") {} | ||
61 | virtual ~NativeDisplay (void) {} | ||
62 | |||
63 | virtual EGLNativeDisplayType getLegacyNative (void) { return EGL_DEFAULT_DISPLAY; } | ||
64 | --- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
65 | +++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | ||
66 | @@ -75,7 +75,7 @@ class Library : public eglw::DefaultLibr | ||
67 | { | ||
68 | public: | ||
69 | Library (void) | ||
70 | - : eglw::DefaultLibrary("libEGL.so") | ||
71 | + : eglw::DefaultLibrary("libEGL.so.1") | ||
72 | { | ||
73 | } | ||
74 | |||
75 | --- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
76 | +++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | ||
77 | @@ -66,7 +66,7 @@ public: | ||
78 | EGL_PLATFORM_WAYLAND_KHR, | ||
79 | "EGL_KHR_platform_wayland") | ||
80 | , m_display (waylandDisplay) | ||
81 | - , m_library ("libEGL.so") {} | ||
82 | + , m_library ("libEGL.so.1") {} | ||
83 | |||
84 | ~Display(void) {} | ||
85 | wayland::Display& getWaylandDisplay (void) { return *m_display; } | ||
86 | --- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
87 | +++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | ||
88 | @@ -69,7 +69,7 @@ using std::vector; | ||
89 | |||
90 | // Default library names | ||
91 | #if !defined(DEQP_GLES2_LIBRARY_PATH) | ||
92 | -# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so" | ||
93 | +# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2" | ||
94 | #endif | ||
95 | |||
96 | #if !defined(DEQP_GLES3_LIBRARY_PATH) | ||
97 | @@ -77,7 +77,7 @@ using std::vector; | ||
98 | #endif | ||
99 | |||
100 | #if !defined(DEQP_OPENGL_LIBRARY_PATH) | ||
101 | -# define DEQP_OPENGL_LIBRARY_PATH "libGL.so" | ||
102 | +# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1" | ||
103 | #endif | ||
104 | |||
105 | #if !defined(DEQP_VULKAN_LIBRARY_PATH) | ||
106 | @@ -237,7 +237,7 @@ glu::RenderContext* ContextFactory::crea | ||
107 | } | ||
108 | |||
109 | EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext) | ||
110 | - : m_egl("libEGL.so") | ||
111 | + : m_egl("libEGL.so.1") | ||
112 | , m_contextType(config.type) | ||
113 | , m_eglDisplay(EGL_NO_DISPLAY) | ||
114 | , m_eglContext(EGL_NO_CONTEXT) | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb deleted file mode 100644 index 1008a5fd42..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | DESCRIPTION = "Vulkan CTS" | ||
2 | |||
3 | require khronos-cts.inc | ||
4 | |||
5 | SRC_URI += "git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1" | ||
6 | |||
7 | # vulkan-cts-1.3.7.3 | ||
8 | SRCREV_vk-gl-cts = "d71a36db16d98313c431829432a136dbda692a08" | ||
9 | SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273" | ||
10 | SRCREV_glslang = "c5117b328afc86e16edff6ed6afe0fe7872a7cf3" | ||
11 | SRCREV_spirv-headers = "b8b9eb8640c8c0107ba580fbcb10f969022ca32c" | ||
12 | SRCREV_spirv-tools = "bfc94f63a7adbcf8ae166f5f108ac9f69079efc0" | ||
13 | SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1" | ||
14 | SRCREV_vulkan-docs = "b9aad705f0d9e5e6734ac2ad671d5d1de57b05e0" | ||
15 | SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e" | ||
16 | # Not yet needed | ||
17 | SRCREV_ESExtractor = "75ffcaf55bb069f7a23764194742d2fb78c7f71f" | ||
18 | SRCREV_video-parser = "138bbe048221d315962ddf8413aa6a08cc62a381" | ||
19 | |||
20 | SRC_URI += "file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ | ||
21 | file://0001-vulkan-cts-include-missing-cstdint.patch \ | ||
22 | " | ||
23 | |||
24 | TOOLCHAIN = "gcc" | ||
25 | |||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
29 | inherit features_check | ||
30 | |||
31 | DEPENDS += " vulkan-loader" | ||
32 | |||
33 | do_install() { | ||
34 | install -d ${D}/${CTSDIR} | ||
35 | cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/ | ||
36 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles | ||
37 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles | ||
38 | } | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb new file mode 100644 index 0000000000..abbd026047 --- /dev/null +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "Vulkan CTS" | ||
2 | |||
3 | require khronos-cts.inc | ||
4 | |||
5 | SRCREV_vk-gl-cts = "644f10ca39dea3b7d9dbadaa75c56206b499a520" | ||
6 | |||
7 | require vulkan-cts-sources.inc | ||
8 | |||
9 | # Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT | ||
10 | OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2" | ||
11 | |||
12 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
13 | inherit features_check | ||
14 | |||
15 | DEPENDS += " vulkan-loader" | ||
16 | |||
17 | EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc"" | ||
18 | |||
19 | do_install() { | ||
20 | install -d ${D}/${CTSDIR}/mustpass | ||
21 | cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/ | ||
22 | cp -r ${S}/external/vulkancts/mustpass/main/ ${D}/${CTSDIR}/mustpass/ | ||
23 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles | ||
24 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles | ||
25 | } | ||
diff --git a/meta-oe/recipes-graphics/wayland/libei_1.2.1.bb b/meta-oe/recipes-graphics/wayland/libei_1.4.1.bb index 807dcea1ed..764616906f 100644 --- a/meta-oe/recipes-graphics/wayland/libei_1.2.1.bb +++ b/meta-oe/recipes-graphics/wayland/libei_1.4.1.bb | |||
@@ -16,8 +16,7 @@ DEPENDS = " \ | |||
16 | 16 | ||
17 | SRC_URI = "git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main" | 17 | SRC_URI = "git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | SRCREV = "9e0413cbc7d3ae6656266890425f152589ddf74d" |
20 | SRCREV = "08f1d41085a6ae4bac7bc52abe2955d3354342cb" | ||
21 | 20 | ||
22 | inherit meson pkgconfig | 21 | inherit meson pkgconfig |
23 | 22 | ||
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb index c1f5f4ed8e..bb909a313a 100644 --- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb +++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | |||
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=maste | |||
8 | DEPENDS = "pugixml" | 8 | DEPENDS = "pugixml" |
9 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" | 9 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" | 11 | SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" |
13 | 12 | ||
14 | inherit cmake pkgconfig features_check | 13 | inherit cmake pkgconfig features_check |
diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb index 74f80e1844..1493eed7af 100644 --- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb +++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb | |||
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/LibVNC/x11vnc;branch=master;protocol=https \ | |||
13 | file://starting-fix.patch \ | 13 | file://starting-fix.patch \ |
14 | file://CVE-2020-29074.patch \ | 14 | file://CVE-2020-29074.patch \ |
15 | " | 15 | " |
16 | S = "${WORKDIR}/git" | ||
17 | 16 | ||
18 | DEPENDS = "\ | 17 | DEPENDS = "\ |
19 | jpeg \ | 18 | jpeg \ |
diff --git a/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb b/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb index 0c316edf95..5076b5a945 100644 --- a/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb +++ b/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb | |||
@@ -12,7 +12,6 @@ inherit features_check autotools | |||
12 | REQUIRED_DISTRO_FEATURES = "x11" | 12 | REQUIRED_DISTRO_FEATURES = "x11" |
13 | 13 | ||
14 | SRC_URI = "http://www.nongnu.org/xbindkeys/xbindkeys-${PV}.tar.gz" | 14 | SRC_URI = "http://www.nongnu.org/xbindkeys/xbindkeys-${PV}.tar.gz" |
15 | SRC_URI[md5sum] = "b5e1a9668ba13ff8673836d1d965d951" | ||
16 | SRC_URI[sha256sum] = "a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2" | 15 | SRC_URI[sha256sum] = "a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2" |
17 | 16 | ||
18 | EXTRA_OECONF = "--disable-guile" | 17 | EXTRA_OECONF = "--disable-guile" |
diff --git a/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.8.bb b/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.9.bb index 3770babe80..f8e5de7554 100644 --- a/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.8.bb +++ b/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.9.bb | |||
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bd1fb9ee90eead85f7b171807b3ab4f2" | |||
4 | DEPENDS = "libpng libxcursor" | 4 | DEPENDS = "libpng libxcursor" |
5 | 5 | ||
6 | SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.xz" | 6 | SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.xz" |
7 | SRC_URI[sha256sum] = "32b33ce27b4e285e64ff375731806bb7988cc626ff10915c65f1dc4da640cc9b" | 7 | SRC_URI[sha256sum] = "0cc9e156ac84ca16ea902710af35e0faffa51d13797071e3b4b6cc7cbd493bbc" |
8 | 8 | ||
9 | inherit features_check autotools pkgconfig | 9 | inherit features_check autotools pkgconfig |
10 | 10 | ||
diff --git a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb index cef82bd348..45defe82d6 100644 --- a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb +++ b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb | |||
@@ -12,7 +12,10 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
12 | SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz" | 12 | SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz" |
13 | SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada" | 13 | SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada" |
14 | 14 | ||
15 | EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir}" | 15 | EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir} WITHOUT_RPATH_FIX=1" |
16 | |||
17 | UPSTREAM_CHECK_URI = "https://github.com/jordansissel/xdotool/tags" | ||
18 | UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+\.\d{8}\.\d+)" | ||
16 | 19 | ||
17 | do_install() { | 20 | do_install() { |
18 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} | 21 | oe_runmake install DESTDIR=${D} PREFIX=${prefix} |
diff --git a/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb b/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb index 9116b5f749..53e09fd868 100644 --- a/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb +++ b/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb | |||
@@ -7,7 +7,6 @@ LICENSE = "MIT" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f9a35333adf75edd1eaef84bca65a490" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f9a35333adf75edd1eaef84bca65a490" |
8 | DEPENDS = "libxfont" | 8 | DEPENDS = "libxfont" |
9 | 9 | ||
10 | SRC_URI[md5sum] = "2a455d3c02390597feb9cefb3fe97a45" | ||
11 | SRC_URI[sha256sum] = "4b4df05fc53f1e98993638d6f7e178d95b31745c4568cee407e167491fd311a2" | 10 | SRC_URI[sha256sum] = "4b4df05fc53f1e98993638d6f7e178d95b31745c4568cee407e167491fd311a2" |
12 | 11 | ||
13 | BBCLASSEXTEND = "native" | 12 | BBCLASSEXTEND = "native" |
diff --git a/meta-oe/recipes-graphics/xorg-app/twm_1.0.12.bb b/meta-oe/recipes-graphics/xorg-app/twm_1.0.13.1.bb index 91b1abc211..ff0238a430 100644 --- a/meta-oe/recipes-graphics/xorg-app/twm_1.0.12.bb +++ b/meta-oe/recipes-graphics/xorg-app/twm_1.0.13.1.bb | |||
@@ -6,7 +6,7 @@ LICENSE = "MIT" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4c6d42ef60e8166aa26606524c0b9586" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4c6d42ef60e8166aa26606524c0b9586" |
7 | 7 | ||
8 | SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.gz" | 8 | SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.gz" |
9 | SRC_URI[sha256sum] = "4150c9ec595520167ab8c4efcb5cf82641a4c4db78ce0a1cb4834e6aeb7c87fb" | 9 | SRC_URI[sha256sum] = "e16bdbc82ac57c096d606a90e63c42c73a4a8a6a8a04d97b7dad199f919c8471" |
10 | 10 | ||
11 | FILES:${PN} += "${datadir}/X11/twm/system.twmrc" | 11 | FILES:${PN} += "${datadir}/X11/twm/system.twmrc" |
12 | ALTERNATIVE_NAME = "x-window-manager" | 12 | ALTERNATIVE_NAME = "x-window-manager" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.5.bb b/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.6.bb index afc1fe17d5..92f1b94215 100644 --- a/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.5.bb +++ b/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.6.bb | |||
@@ -10,4 +10,4 @@ DEPENDS += "libxkbfile bison-native" | |||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
12 | SRC_URI_EXT = "xz" | 12 | SRC_URI_EXT = "xz" |
13 | SRC_URI[sha256sum] = "38357b702de9d3457c4ff75053390f457b84c4accc7f088101255c37c684926b" | 13 | SRC_URI[sha256sum] = "d9b401f84cf8568342ff63b1ffc6aecd3877579256d89fe6408645e2741b073e" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb index e866bed016..9b8c655acd 100644 --- a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb +++ b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb | |||
@@ -9,5 +9,5 @@ DEPENDS += "libxkbfile" | |||
9 | 9 | ||
10 | BBCLASSEXTEND = "native" | 10 | BBCLASSEXTEND = "native" |
11 | 11 | ||
12 | SRC_URI[sha256sum] = "99cc9404f7b90289ae04944c0d98a208cc8b158492ad6481386e31d4d09aa7b0" | 12 | SRC_URI[sha256sum] = "1c4f49c030329e0defd8c7bc3739e60f2aa1d2aabe0e2d7e63740ab629aa59cc" |
13 | SRC_URI_EXT = "xz" | 13 | SRC_URI_EXT = "xz" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.5.bb b/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.6.bb index f078ad60eb..0274608d05 100644 --- a/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.5.bb +++ b/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.6.bb | |||
@@ -9,9 +9,9 @@ It includes: \ | |||
9 | xkbvleds - display the state of LEDs on an XKB keyboard in a window \ | 9 | xkbvleds - display the state of LEDs on an XKB keyboard in a window \ |
10 | xkbwatch - reports changes in the XKB keyboard state \ | 10 | xkbwatch - reports changes in the XKB keyboard state \ |
11 | " | 11 | " |
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=64322fab5239f5c8d97cf6e0e14f1c62" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=6767a97a97e21260134637b657b922ae" |
13 | 13 | ||
14 | DEPENDS += "libxaw libxkbfile" | 14 | DEPENDS += "libxaw libxkbfile" |
15 | 15 | ||
16 | SRC_URI_EXT = "xz" | 16 | SRC_URI_EXT = "xz" |
17 | SRC_URI[sha256sum] = "f6a4a8e9c54582beb3787b1faa8168caab125c1fee0ca9cfa5b6c9c1df25eea4" | 17 | SRC_URI[sha256sum] = "31a2bbee1e09ccba01de92897b8f540b545de812f318d31de07bd3a5a75ee25e" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.7.bb b/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.8.bb index e5cd0ce6fb..4ddb1b9887 100644 --- a/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.7.bb +++ b/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.8.bb | |||
@@ -7,4 +7,4 @@ LICENSE = "MIT" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" |
8 | 8 | ||
9 | SRC_URI_EXT = "xz" | 9 | SRC_URI_EXT = "xz" |
10 | SRC_URI[sha256sum] = "7b726945a967b44c35cddee5edd74802907a239ce2e2e515730b8a32c8e50465" | 10 | SRC_URI[sha256sum] = "807f909eace684b866fc63b3e962729c120822a6c96e051ff51cf350b3ffb6cd" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb index f3dac53451..1589f9ae6e 100644 --- a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb +++ b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb | |||
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3413fe6832380b44b69b172d2d1b2387" | |||
8 | DEPENDS += " libxaw libxt" | 8 | DEPENDS += " libxaw libxt" |
9 | 9 | ||
10 | SRC_URI_EXT = "xz" | 10 | SRC_URI_EXT = "xz" |
11 | SRC_URI[sha256sum] = "009936cc5a2706084079127b26cf55c713767650a34cb69e5682d60e33ce7461" | 11 | SRC_URI[sha256sum] = "326d3c583d795bb53ac609d144e7f7fb1499baba7eaec14b8e6cd232ea069532" |
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch deleted file mode 100644 index a6cf16e4e9..0000000000 --- a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | From b23d38f1216c4d70738edaa367cf9ecd2dd4b660 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 13 Dec 2019 12:59:26 -0800 | ||
4 | Subject: [PATCH] Add configure time check for setsid | ||
5 | |||
6 | Do not assume glibc == linux | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | --- | ||
12 | configure | 1 + | ||
13 | configure.in | 1 + | ||
14 | main.c | 4 ++-- | ||
15 | xtermcfg.hin | 1 + | ||
16 | 4 files changed, 5 insertions(+), 2 deletions(-) | ||
17 | |||
18 | diff --git a/configure b/configure | ||
19 | index 72342c7..c2ec2ac 100755 | ||
20 | --- a/configure | ||
21 | +++ b/configure | ||
22 | @@ -5803,6 +5803,7 @@ for ac_func in \ | ||
23 | unsetenv \ | ||
24 | sched_yield \ | ||
25 | setpgid \ | ||
26 | + setsid \ | ||
27 | strftime \ | ||
28 | tcgetattr \ | ||
29 | waitpid \ | ||
30 | diff --git a/configure.in b/configure.in | ||
31 | index 56dbc25..0608c80 100644 | ||
32 | --- a/configure.in | ||
33 | +++ b/configure.in | ||
34 | @@ -99,6 +99,7 @@ AC_CHECK_FUNCS( \ | ||
35 | unsetenv \ | ||
36 | sched_yield \ | ||
37 | setpgid \ | ||
38 | + setsid \ | ||
39 | strftime \ | ||
40 | tcgetattr \ | ||
41 | waitpid \ | ||
42 | diff --git a/main.c b/main.c | ||
43 | index 24da0eb..332174c 100644 | ||
44 | --- a/main.c | ||
45 | +++ b/main.c | ||
46 | @@ -2956,7 +2956,7 @@ main(int argc, char *argv[]ENVP_ARG) | ||
47 | } | ||
48 | } | ||
49 | |||
50 | -#if defined(__osf__) || (defined(__GLIBC__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) | ||
51 | +#if defined(__osf__) || (defined(__linux__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) | ||
52 | #define USE_OPENPTY 1 | ||
53 | static int opened_tty = -1; | ||
54 | #endif | ||
55 | @@ -4205,7 +4205,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed) | ||
56 | /* | ||
57 | * now in child process | ||
58 | */ | ||
59 | -#if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__) | ||
60 | +#if HAVE_SETSID | ||
61 | int pgrp = setsid(); /* variable may not be used... */ | ||
62 | #else | ||
63 | int pgrp = getpid(); | ||
64 | diff --git a/xtermcfg.hin b/xtermcfg.hin | ||
65 | index 19048cd..e54d2cd 100644 | ||
66 | --- a/xtermcfg.hin | ||
67 | +++ b/xtermcfg.hin | ||
68 | @@ -98,6 +98,7 @@ | ||
69 | #undef HAVE_SCHED_YIELD /* AC_CHECK_FUNCS(sched_yield) */ | ||
70 | #undef HAVE_SETITIMER /* CF_SETITIMER */ | ||
71 | #undef HAVE_SETPGID /* AC_CHECK_FUNCS(setpgid) */ | ||
72 | +#undef HAVE_SETSID /* AC_CHECK_FUNCS(setsid) */ | ||
73 | #undef HAVE_STDINT_H /* AC_PROG_CC_STDC */ | ||
74 | #undef HAVE_STDLIB_H /* AC_CHECK_HEADERS(stdlib.h) */ | ||
75 | #undef HAVE_STDNORETURN_H /* CF_C11_NORETURN */ | ||
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch new file mode 100644 index 0000000000..0c9d64c82c --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From e30ab2d73a21bc55511cbedbb9ae603246dbfcd1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 16 May 2024 23:10:00 -0700 | ||
4 | Subject: [PATCH] include missing pty.h header for openpty() | ||
5 | |||
6 | On musl this problem is unearthed | ||
7 | |||
8 | Fix | ||
9 | ./main.c: In function 'get_pty': | ||
10 | ./main.c:3123:14: error: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] | ||
11 | 3123 | result = openpty(pty, &opened_tty, ttydev, NULL, NULL); | ||
12 | | ^~~~~~~ | ||
13 | | openat | ||
14 | |||
15 | Upstream-Status: Submitted [sent to dickey@invisible-island.net] | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | main.c | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | --- a/main.c | ||
22 | +++ b/main.c | ||
23 | @@ -89,6 +89,7 @@ | ||
24 | |||
25 | #define RES_OFFSET(field) XtOffsetOf(XTERM_RESOURCE, field) | ||
26 | |||
27 | +#include <pty.h> | ||
28 | #include <xterm.h> | ||
29 | #include <version.h> | ||
30 | #include <graphics.h> | ||
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb b/meta-oe/recipes-graphics/xorg-app/xterm_394.bb index 8578f0cc97..94953b288e 100644 --- a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb +++ b/meta-oe/recipes-graphics/xorg-app/xterm_394.bb | |||
@@ -2,13 +2,12 @@ require recipes-graphics/xorg-app/xorg-app-common.inc | |||
2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" | 2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" |
3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" | 3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=9c96124b492c0c02356850c243aaeca2" | 5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=1a3032aa728f8fda9d686948940ca58d" |
6 | 6 | ||
7 | SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ | 7 | SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ |
8 | file://0001-Add-configure-time-check-for-setsid.patch \ | 8 | file://0001-include-missing-pty.h-header-for-openpty.patch \ |
9 | " | 9 | " |
10 | 10 | SRC_URI[sha256sum] = "a2a0cb206eb0423dedc34794f5c2d38c83390d2dd1106b66aba0960c3a976c7a" | |
11 | SRC_URI[sha256sum] = "ac429345e6f937a5945a89d425a265fee6c215fc669dbdc6a0326e21f4c5f674" | ||
12 | 11 | ||
13 | PACKAGECONFIG ?= "" | 12 | PACKAGECONFIG ?= "" |
14 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" | 13 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" |
@@ -48,3 +47,5 @@ ALTERNATIVE:${PN} = "resize x-terminal-emulator" | |||
48 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm" | 47 | ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm" |
49 | # rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm. | 48 | # rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm. |
50 | ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9" | 49 | ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9" |
50 | |||
51 | CVE_STATUS[CVE-1999-0965] = "cpe-incorrect: Current version (392) not affected. This was fixed in version X11R5-fix-26 (R11R6 from 1994)" | ||
diff --git a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb index 1be0b5cd77..27138f23f8 100644 --- a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb +++ b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb | |||
@@ -9,4 +9,4 @@ LICENSE = "MIT" | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794" |
10 | 10 | ||
11 | SRC_URI_EXT = "xz" | 11 | SRC_URI_EXT = "xz" |
12 | SRC_URI[sha256sum] = "64048cd15eba3cd9a3d2e3280650391259ebf6b529f2101d1a20f441038c1afe" | 12 | SRC_URI[sha256sum] = "e55cbedab36d7a5f671abf8e594888afc48caa116d51d429ea53ea317ec0c61e" |
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb index 9f445ff265..a2be3bb70b 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb | |||
@@ -9,12 +9,14 @@ RRECOMMENDS:${PN} += "tslib-calibrate" | |||
9 | SRC_URI = "https://github.com/merge/xf86-input-tslib/releases/download/${PV}/xf86-input-tslib-${PV}.tar.xz \ | 9 | SRC_URI = "https://github.com/merge/xf86-input-tslib/releases/download/${PV}/xf86-input-tslib-${PV}.tar.xz \ |
10 | file://99-xf86-input-tslib.rules \ | 10 | file://99-xf86-input-tslib.rules \ |
11 | " | 11 | " |
12 | UPSTREAM_CHECK_URI = "https://github.com/merge/xf86-input-tslib/tags" | ||
13 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$" | ||
12 | 14 | ||
13 | SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d78870ca88" | 15 | SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d78870ca88" |
14 | 16 | ||
15 | do_install:append() { | 17 | do_install:append() { |
16 | install -d ${D}${nonarch_base_libdir}/udev/rules.d | 18 | install -d ${D}${nonarch_base_libdir}/udev/rules.d |
17 | install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/ | 19 | install -m 0644 ${UNPACKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/ |
18 | } | 20 | } |
19 | 21 | ||
20 | FILES:${PN} += "${nonarch_base_libdir}/udev" | 22 | FILES:${PN} += "${nonarch_base_libdir}/udev" |
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb index 8b4526fc5e..8fd2ae2e84 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb | |||
@@ -9,6 +9,5 @@ DEPENDS += "virtual/libx11 libdrm xorgproto" | |||
9 | SRCREV = "8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8" | 9 | SRCREV = "8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8" |
10 | SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc;branch=master" | 10 | SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc;branch=master" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | 12 | ||
14 | RDEPENDS:${PN} += "xserver-xorg-module-exa" | 13 | RDEPENDS:${PN} += "xserver-xorg-module-exa" |
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb index 34b3e4cde6..5ad64eede8 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb | |||
@@ -11,7 +11,7 @@ DEPENDS += "virtual/libx11 libpciaccess" | |||
11 | COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' | 11 | COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' |
12 | 12 | ||
13 | XORG_DRIVER_COMPRESSOR = ".tar.xz" | 13 | XORG_DRIVER_COMPRESSOR = ".tar.xz" |
14 | SRC_URI[sha256sum] = "27a33b70837965bb4a5f27fd260be085ca5bba837a4e62907f093c2f205603ab" | 14 | SRC_URI[sha256sum] = "7bf85dbf4efa17b7cdd483be8f61cf11fd73d0310514b6ae10d89358de63ab73" |
15 | 15 | ||
16 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" | 16 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" |
17 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri" | 17 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb index 36f05b7277..52d5892c15 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb | |||
@@ -16,5 +16,4 @@ inherit features_check | |||
16 | # depends on bdftopcf-native -> virtual/libx11 | 16 | # depends on bdftopcf-native -> virtual/libx11 |
17 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "1347c3031b74c9e91dc4dfa53b12f143" | ||
20 | SRC_URI[sha256sum] = "b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054" | 19 | SRC_URI[sha256sum] = "b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb b/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb index 8b83ba378f..7c43767d22 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb | |||
@@ -16,5 +16,4 @@ inherit features_check | |||
16 | # depends on bdftopcf-native -> virtual/libx11 | 16 | # depends on bdftopcf-native -> virtual/libx11 |
17 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "66fb6de561648a6dce2755621d6aea17" | ||
20 | SRC_URI[sha256sum] = "d16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5" | 19 | SRC_URI[sha256sum] = "d16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb index 5d321acc6e..fd8f16dca8 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb | |||
@@ -16,5 +16,4 @@ inherit features_check | |||
16 | # depends on bdftopcf-native -> virtual/libx11 | 16 | # depends on bdftopcf-native -> virtual/libx11 |
17 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "9f11ade089d689b9d59e0f47d26f39cd" | ||
20 | SRC_URI[sha256sum] = "23c07162708e4b79eb33095c8bfa62c783717a9431254bbf44863734ea239481" | 19 | SRC_URI[sha256sum] = "23c07162708e4b79eb33095c8bfa62c783717a9431254bbf44863734ea239481" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb index 557eeb17bd..a1a6d43e06 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb | |||
@@ -16,5 +16,4 @@ inherit features_check | |||
16 | # depends on bdftopcf-native -> virtual/libx11 | 16 | # depends on bdftopcf-native -> virtual/libx11 |
17 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "c8b73a53dcefe3e8d3907d3500e484a9" | ||
20 | SRC_URI[sha256sum] = "62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb" | 19 | SRC_URI[sha256sum] = "62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb index b280a32603..def7357e3f 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb | |||
@@ -16,5 +16,4 @@ inherit features_check | |||
16 | # depends on bdftopcf-native -> virtual/libx11 | 16 | # depends on bdftopcf-native -> virtual/libx11 |
17 | REQUIRED_DISTRO_FEATURES = "x11" | 17 | REQUIRED_DISTRO_FEATURES = "x11" |
18 | 18 | ||
19 | SRC_URI[md5sum] = "6b223a54b15ecbd5a1bc52312ad790d8" | ||
20 | SRC_URI[sha256sum] = "ebe0d7444e3d7c8da7642055ac2206f0190ee060700d99cd876f8fc9964cb6ce" | 19 | SRC_URI[sha256sum] = "ebe0d7444e3d7c8da7642055ac2206f0190ee060700d99cd876f8fc9964cb6ce" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb index ba4575bc29..787541d3b3 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb | |||
@@ -13,5 +13,4 @@ inherit features_check | |||
13 | # depends on bdftopcf-native -> virtual/libx11 | 13 | # depends on bdftopcf-native -> virtual/libx11 |
14 | REQUIRED_DISTRO_FEATURES = "x11" | 14 | REQUIRED_DISTRO_FEATURES = "x11" |
15 | 15 | ||
16 | SRC_URI[md5sum] = "3e0069d4f178a399cffe56daa95c2b63" | ||
17 | SRC_URI[sha256sum] = "17363eb35eece2e08144da5f060c70103b59d0972b4f4d77fd84c9a7a2dba635" | 16 | SRC_URI[sha256sum] = "17363eb35eece2e08144da5f060c70103b59d0972b4f4d77fd84c9a7a2dba635" |
diff --git a/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb b/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb index 852f93602f..ed314ab3c0 100644 --- a/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb +++ b/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb | |||
@@ -13,5 +13,4 @@ inherit features_check | |||
13 | # depends on bdftopcf-native -> virtual/libx11 | 13 | # depends on bdftopcf-native -> virtual/libx11 |
14 | REQUIRED_DISTRO_FEATURES = "x11" | 14 | REQUIRED_DISTRO_FEATURES = "x11" |
15 | 15 | ||
16 | SRC_URI[md5sum] = "c88eb44b3b903d79fb44b860a213e623" | ||
17 | SRC_URI[sha256sum] = "b8e77940e4e1769dc47ef1805918d8c9be37c708735832a07204258bacc11794" | 16 | SRC_URI[sha256sum] = "b8e77940e4e1769dc47ef1805918d8c9be37c708735832a07204258bacc11794" |
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb index dc909ed78c..073b3f0912 100644 --- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb +++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb | |||
@@ -13,6 +13,8 @@ MIRRORS += "https://www.jwz.org/${BPN} https://ftp.osuosl.org/pub/blfs/conglomer | |||
13 | 13 | ||
14 | SRC_URI[sha256sum] = "787014b29f0c5793ecc2d93e1109a049ff48ab0c29b851dab34f683ceef6b152" | 14 | SRC_URI[sha256sum] = "787014b29f0c5793ecc2d93e1109a049ff48ab0c29b851dab34f683ceef6b152" |
15 | 15 | ||
16 | UPSTREAM_CHECK_URI = "https://www.jwz.org/xscreensaver/download.html" | ||
17 | |||
16 | DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam jpeg" | 18 | DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam jpeg" |
17 | # These are only needed as part of the stopgap screensaver implementation: | 19 | # These are only needed as part of the stopgap screensaver implementation: |
18 | RDEPENDS:${PN} = " \ | 20 | RDEPENDS:${PN} = " \ |
@@ -34,11 +36,11 @@ PACKAGECONFIG = "png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd', | |||
34 | PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" | 36 | PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" |
35 | PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" | 37 | PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" |
36 | 38 | ||
37 | CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking ${@append_libtool_sysroot(d)}" | 39 | CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking" |
38 | EXTRA_OECONF:remove = "--disable-static" | 40 | EXTRA_OECONF:remove = "--disable-static" |
39 | 41 | ||
40 | do_install:append() { | 42 | do_install:append() { |
41 | install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service | 43 | install -D ${UNPACKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service |
42 | for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker | 44 | for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker |
43 | do | 45 | do |
44 | sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" ${D}/${libexecdir}/${PN}/$f | 46 | sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" ${D}/${libexecdir}/${PN}/$f |
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch deleted file mode 100644 index 6f738e7376..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch +++ /dev/null | |||
@@ -1,364 +0,0 @@ | |||
1 | From f919725918fad2b32504f89a28310fcae4ab0406 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yu Ke <ke.yu@intel.com> | ||
3 | Date: Wed, 11 Apr 2012 14:26:16 +0200 | ||
4 | Subject: [PATCH] COPYING: add GPLv2 license file | ||
5 | |||
6 | this is a local file recipe and the license file is missing.In order | ||
7 | to pass the license checksum checking, the license file is needed. So | ||
8 | this patch add the GPLv2 license file. | ||
9 | |||
10 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | |||
13 | --- | ||
14 | Upstream-Status: Pending | ||
15 | |||
16 | COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
17 | 1 file changed, 339 insertions(+) | ||
18 | create mode 100644 COPYING | ||
19 | |||
20 | diff --git a/COPYING b/COPYING | ||
21 | new file mode 100644 | ||
22 | index 0000000..d511905 | ||
23 | --- /dev/null | ||
24 | +++ b/COPYING | ||
25 | @@ -0,0 +1,339 @@ | ||
26 | + GNU GENERAL PUBLIC LICENSE | ||
27 | + Version 2, June 1991 | ||
28 | + | ||
29 | + Copyright (C) 1989, 1991 Free Software Foundation, Inc., | ||
30 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
31 | + Everyone is permitted to copy and distribute verbatim copies | ||
32 | + of this license document, but changing it is not allowed. | ||
33 | + | ||
34 | + Preamble | ||
35 | + | ||
36 | + The licenses for most software are designed to take away your | ||
37 | +freedom to share and change it. By contrast, the GNU General Public | ||
38 | +License is intended to guarantee your freedom to share and change free | ||
39 | +software--to make sure the software is free for all its users. This | ||
40 | +General Public License applies to most of the Free Software | ||
41 | +Foundation's software and to any other program whose authors commit to | ||
42 | +using it. (Some other Free Software Foundation software is covered by | ||
43 | +the GNU Lesser General Public License instead.) You can apply it to | ||
44 | +your programs, too. | ||
45 | + | ||
46 | + When we speak of free software, we are referring to freedom, not | ||
47 | +price. Our General Public Licenses are designed to make sure that you | ||
48 | +have the freedom to distribute copies of free software (and charge for | ||
49 | +this service if you wish), that you receive source code or can get it | ||
50 | +if you want it, that you can change the software or use pieces of it | ||
51 | +in new free programs; and that you know you can do these things. | ||
52 | + | ||
53 | + To protect your rights, we need to make restrictions that forbid | ||
54 | +anyone to deny you these rights or to ask you to surrender the rights. | ||
55 | +These restrictions translate to certain responsibilities for you if you | ||
56 | +distribute copies of the software, or if you modify it. | ||
57 | + | ||
58 | + For example, if you distribute copies of such a program, whether | ||
59 | +gratis or for a fee, you must give the recipients all the rights that | ||
60 | +you have. You must make sure that they, too, receive or can get the | ||
61 | +source code. And you must show them these terms so they know their | ||
62 | +rights. | ||
63 | + | ||
64 | + We protect your rights with two steps: (1) copyright the software, and | ||
65 | +(2) offer you this license which gives you legal permission to copy, | ||
66 | +distribute and/or modify the software. | ||
67 | + | ||
68 | + Also, for each author's protection and ours, we want to make certain | ||
69 | +that everyone understands that there is no warranty for this free | ||
70 | +software. If the software is modified by someone else and passed on, we | ||
71 | +want its recipients to know that what they have is not the original, so | ||
72 | +that any problems introduced by others will not reflect on the original | ||
73 | +authors' reputations. | ||
74 | + | ||
75 | + Finally, any free program is threatened constantly by software | ||
76 | +patents. We wish to avoid the danger that redistributors of a free | ||
77 | +program will individually obtain patent licenses, in effect making the | ||
78 | +program proprietary. To prevent this, we have made it clear that any | ||
79 | +patent must be licensed for everyone's free use or not licensed at all. | ||
80 | + | ||
81 | + The precise terms and conditions for copying, distribution and | ||
82 | +modification follow. | ||
83 | + | ||
84 | + GNU GENERAL PUBLIC LICENSE | ||
85 | + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
86 | + | ||
87 | + 0. This License applies to any program or other work which contains | ||
88 | +a notice placed by the copyright holder saying it may be distributed | ||
89 | +under the terms of this General Public License. The "Program", below, | ||
90 | +refers to any such program or work, and a "work based on the Program" | ||
91 | +means either the Program or any derivative work under copyright law: | ||
92 | +that is to say, a work containing the Program or a portion of it, | ||
93 | +either verbatim or with modifications and/or translated into another | ||
94 | +language. (Hereinafter, translation is included without limitation in | ||
95 | +the term "modification".) Each licensee is addressed as "you". | ||
96 | + | ||
97 | +Activities other than copying, distribution and modification are not | ||
98 | +covered by this License; they are outside its scope. The act of | ||
99 | +running the Program is not restricted, and the output from the Program | ||
100 | +is covered only if its contents constitute a work based on the | ||
101 | +Program (independent of having been made by running the Program). | ||
102 | +Whether that is true depends on what the Program does. | ||
103 | + | ||
104 | + 1. You may copy and distribute verbatim copies of the Program's | ||
105 | +source code as you receive it, in any medium, provided that you | ||
106 | +conspicuously and appropriately publish on each copy an appropriate | ||
107 | +copyright notice and disclaimer of warranty; keep intact all the | ||
108 | +notices that refer to this License and to the absence of any warranty; | ||
109 | +and give any other recipients of the Program a copy of this License | ||
110 | +along with the Program. | ||
111 | + | ||
112 | +You may charge a fee for the physical act of transferring a copy, and | ||
113 | +you may at your option offer warranty protection in exchange for a fee. | ||
114 | + | ||
115 | + 2. You may modify your copy or copies of the Program or any portion | ||
116 | +of it, thus forming a work based on the Program, and copy and | ||
117 | +distribute such modifications or work under the terms of Section 1 | ||
118 | +above, provided that you also meet all of these conditions: | ||
119 | + | ||
120 | + a) You must cause the modified files to carry prominent notices | ||
121 | + stating that you changed the files and the date of any change. | ||
122 | + | ||
123 | + b) You must cause any work that you distribute or publish, that in | ||
124 | + whole or in part contains or is derived from the Program or any | ||
125 | + part thereof, to be licensed as a whole at no charge to all third | ||
126 | + parties under the terms of this License. | ||
127 | + | ||
128 | + c) If the modified program normally reads commands interactively | ||
129 | + when run, you must cause it, when started running for such | ||
130 | + interactive use in the most ordinary way, to print or display an | ||
131 | + announcement including an appropriate copyright notice and a | ||
132 | + notice that there is no warranty (or else, saying that you provide | ||
133 | + a warranty) and that users may redistribute the program under | ||
134 | + these conditions, and telling the user how to view a copy of this | ||
135 | + License. (Exception: if the Program itself is interactive but | ||
136 | + does not normally print such an announcement, your work based on | ||
137 | + the Program is not required to print an announcement.) | ||
138 | + | ||
139 | +These requirements apply to the modified work as a whole. If | ||
140 | +identifiable sections of that work are not derived from the Program, | ||
141 | +and can be reasonably considered independent and separate works in | ||
142 | +themselves, then this License, and its terms, do not apply to those | ||
143 | +sections when you distribute them as separate works. But when you | ||
144 | +distribute the same sections as part of a whole which is a work based | ||
145 | +on the Program, the distribution of the whole must be on the terms of | ||
146 | +this License, whose permissions for other licensees extend to the | ||
147 | +entire whole, and thus to each and every part regardless of who wrote it. | ||
148 | + | ||
149 | +Thus, it is not the intent of this section to claim rights or contest | ||
150 | +your rights to work written entirely by you; rather, the intent is to | ||
151 | +exercise the right to control the distribution of derivative or | ||
152 | +collective works based on the Program. | ||
153 | + | ||
154 | +In addition, mere aggregation of another work not based on the Program | ||
155 | +with the Program (or with a work based on the Program) on a volume of | ||
156 | +a storage or distribution medium does not bring the other work under | ||
157 | +the scope of this License. | ||
158 | + | ||
159 | + 3. You may copy and distribute the Program (or a work based on it, | ||
160 | +under Section 2) in object code or executable form under the terms of | ||
161 | +Sections 1 and 2 above provided that you also do one of the following: | ||
162 | + | ||
163 | + a) Accompany it with the complete corresponding machine-readable | ||
164 | + source code, which must be distributed under the terms of Sections | ||
165 | + 1 and 2 above on a medium customarily used for software interchange; or, | ||
166 | + | ||
167 | + b) Accompany it with a written offer, valid for at least three | ||
168 | + years, to give any third party, for a charge no more than your | ||
169 | + cost of physically performing source distribution, a complete | ||
170 | + machine-readable copy of the corresponding source code, to be | ||
171 | + distributed under the terms of Sections 1 and 2 above on a medium | ||
172 | + customarily used for software interchange; or, | ||
173 | + | ||
174 | + c) Accompany it with the information you received as to the offer | ||
175 | + to distribute corresponding source code. (This alternative is | ||
176 | + allowed only for noncommercial distribution and only if you | ||
177 | + received the program in object code or executable form with such | ||
178 | + an offer, in accord with Subsection b above.) | ||
179 | + | ||
180 | +The source code for a work means the preferred form of the work for | ||
181 | +making modifications to it. For an executable work, complete source | ||
182 | +code means all the source code for all modules it contains, plus any | ||
183 | +associated interface definition files, plus the scripts used to | ||
184 | +control compilation and installation of the executable. However, as a | ||
185 | +special exception, the source code distributed need not include | ||
186 | +anything that is normally distributed (in either source or binary | ||
187 | +form) with the major components (compiler, kernel, and so on) of the | ||
188 | +operating system on which the executable runs, unless that component | ||
189 | +itself accompanies the executable. | ||
190 | + | ||
191 | +If distribution of executable or object code is made by offering | ||
192 | +access to copy from a designated place, then offering equivalent | ||
193 | +access to copy the source code from the same place counts as | ||
194 | +distribution of the source code, even though third parties are not | ||
195 | +compelled to copy the source along with the object code. | ||
196 | + | ||
197 | + 4. You may not copy, modify, sublicense, or distribute the Program | ||
198 | +except as expressly provided under this License. Any attempt | ||
199 | +otherwise to copy, modify, sublicense or distribute the Program is | ||
200 | +void, and will automatically terminate your rights under this License. | ||
201 | +However, parties who have received copies, or rights, from you under | ||
202 | +this License will not have their licenses terminated so long as such | ||
203 | +parties remain in full compliance. | ||
204 | + | ||
205 | + 5. You are not required to accept this License, since you have not | ||
206 | +signed it. However, nothing else grants you permission to modify or | ||
207 | +distribute the Program or its derivative works. These actions are | ||
208 | +prohibited by law if you do not accept this License. Therefore, by | ||
209 | +modifying or distributing the Program (or any work based on the | ||
210 | +Program), you indicate your acceptance of this License to do so, and | ||
211 | +all its terms and conditions for copying, distributing or modifying | ||
212 | +the Program or works based on it. | ||
213 | + | ||
214 | + 6. Each time you redistribute the Program (or any work based on the | ||
215 | +Program), the recipient automatically receives a license from the | ||
216 | +original licensor to copy, distribute or modify the Program subject to | ||
217 | +these terms and conditions. You may not impose any further | ||
218 | +restrictions on the recipients' exercise of the rights granted herein. | ||
219 | +You are not responsible for enforcing compliance by third parties to | ||
220 | +this License. | ||
221 | + | ||
222 | + 7. If, as a consequence of a court judgment or allegation of patent | ||
223 | +infringement or for any other reason (not limited to patent issues), | ||
224 | +conditions are imposed on you (whether by court order, agreement or | ||
225 | +otherwise) that contradict the conditions of this License, they do not | ||
226 | +excuse you from the conditions of this License. If you cannot | ||
227 | +distribute so as to satisfy simultaneously your obligations under this | ||
228 | +License and any other pertinent obligations, then as a consequence you | ||
229 | +may not distribute the Program at all. For example, if a patent | ||
230 | +license would not permit royalty-free redistribution of the Program by | ||
231 | +all those who receive copies directly or indirectly through you, then | ||
232 | +the only way you could satisfy both it and this License would be to | ||
233 | +refrain entirely from distribution of the Program. | ||
234 | + | ||
235 | +If any portion of this section is held invalid or unenforceable under | ||
236 | +any particular circumstance, the balance of the section is intended to | ||
237 | +apply and the section as a whole is intended to apply in other | ||
238 | +circumstances. | ||
239 | + | ||
240 | +It is not the purpose of this section to induce you to infringe any | ||
241 | +patents or other property right claims or to contest validity of any | ||
242 | +such claims; this section has the sole purpose of protecting the | ||
243 | +integrity of the free software distribution system, which is | ||
244 | +implemented by public license practices. Many people have made | ||
245 | +generous contributions to the wide range of software distributed | ||
246 | +through that system in reliance on consistent application of that | ||
247 | +system; it is up to the author/donor to decide if he or she is willing | ||
248 | +to distribute software through any other system and a licensee cannot | ||
249 | +impose that choice. | ||
250 | + | ||
251 | +This section is intended to make thoroughly clear what is believed to | ||
252 | +be a consequence of the rest of this License. | ||
253 | + | ||
254 | + 8. If the distribution and/or use of the Program is restricted in | ||
255 | +certain countries either by patents or by copyrighted interfaces, the | ||
256 | +original copyright holder who places the Program under this License | ||
257 | +may add an explicit geographical distribution limitation excluding | ||
258 | +those countries, so that distribution is permitted only in or among | ||
259 | +countries not thus excluded. In such case, this License incorporates | ||
260 | +the limitation as if written in the body of this License. | ||
261 | + | ||
262 | + 9. The Free Software Foundation may publish revised and/or new versions | ||
263 | +of the General Public License from time to time. Such new versions will | ||
264 | +be similar in spirit to the present version, but may differ in detail to | ||
265 | +address new problems or concerns. | ||
266 | + | ||
267 | +Each version is given a distinguishing version number. If the Program | ||
268 | +specifies a version number of this License which applies to it and "any | ||
269 | +later version", you have the option of following the terms and conditions | ||
270 | +either of that version or of any later version published by the Free | ||
271 | +Software Foundation. If the Program does not specify a version number of | ||
272 | +this License, you may choose any version ever published by the Free Software | ||
273 | +Foundation. | ||
274 | + | ||
275 | + 10. If you wish to incorporate parts of the Program into other free | ||
276 | +programs whose distribution conditions are different, write to the author | ||
277 | +to ask for permission. For software which is copyrighted by the Free | ||
278 | +Software Foundation, write to the Free Software Foundation; we sometimes | ||
279 | +make exceptions for this. Our decision will be guided by the two goals | ||
280 | +of preserving the free status of all derivatives of our free software and | ||
281 | +of promoting the sharing and reuse of software generally. | ||
282 | + | ||
283 | + NO WARRANTY | ||
284 | + | ||
285 | + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
286 | +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
287 | +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
288 | +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
289 | +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
290 | +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
291 | +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
292 | +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
293 | +REPAIR OR CORRECTION. | ||
294 | + | ||
295 | + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
296 | +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
297 | +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
298 | +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
299 | +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
300 | +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
301 | +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
302 | +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
303 | +POSSIBILITY OF SUCH DAMAGES. | ||
304 | + | ||
305 | + END OF TERMS AND CONDITIONS | ||
306 | + | ||
307 | + How to Apply These Terms to Your New Programs | ||
308 | + | ||
309 | + If you develop a new program, and you want it to be of the greatest | ||
310 | +possible use to the public, the best way to achieve this is to make it | ||
311 | +free software which everyone can redistribute and change under these terms. | ||
312 | + | ||
313 | + To do so, attach the following notices to the program. It is safest | ||
314 | +to attach them to the start of each source file to most effectively | ||
315 | +convey the exclusion of warranty; and each file should have at least | ||
316 | +the "copyright" line and a pointer to where the full notice is found. | ||
317 | + | ||
318 | + <one line to give the program's name and a brief idea of what it does.> | ||
319 | + Copyright (C) <year> <name of author> | ||
320 | + | ||
321 | + This program is free software; you can redistribute it and/or modify | ||
322 | + it under the terms of the GNU General Public License as published by | ||
323 | + the Free Software Foundation; either version 2 of the License, or | ||
324 | + (at your option) any later version. | ||
325 | + | ||
326 | + This program is distributed in the hope that it will be useful, | ||
327 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
328 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
329 | + GNU General Public License for more details. | ||
330 | + | ||
331 | + You should have received a copy of the GNU General Public License along | ||
332 | + with this program; if not, write to the Free Software Foundation, Inc., | ||
333 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
334 | + | ||
335 | +Also add information on how to contact you by electronic and paper mail. | ||
336 | + | ||
337 | +If the program is interactive, make it output a short notice like this | ||
338 | +when it starts in an interactive mode: | ||
339 | + | ||
340 | + Gnomovision version 69, Copyright (C) year name of author | ||
341 | + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
342 | + This is free software, and you are welcome to redistribute it | ||
343 | + under certain conditions; type `show c' for details. | ||
344 | + | ||
345 | +The hypothetical commands `show w' and `show c' should show the appropriate | ||
346 | +parts of the General Public License. Of course, the commands you use may | ||
347 | +be called something other than `show w' and `show c'; they could even be | ||
348 | +mouse-clicks or menu items--whatever suits your program. | ||
349 | + | ||
350 | +You should also get your employer (if you work as a programmer) or your | ||
351 | +school, if any, to sign a "copyright disclaimer" for the program, if | ||
352 | +necessary. Here is a sample; alter the names: | ||
353 | + | ||
354 | + Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
355 | + `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
356 | + | ||
357 | + <signature of Ty Coon>, 1 April 1989 | ||
358 | + Ty Coon, President of Vice | ||
359 | + | ||
360 | +This General Public License does not permit incorporating your program into | ||
361 | +proprietary programs. If your program is a subroutine library, you may | ||
362 | +consider it more useful to permit linking proprietary applications with the | ||
363 | +library. If this is what you want to do, use the GNU Lesser General | ||
364 | +Public License instead of this License. | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch deleted file mode 100644 index ea7c7d6a94..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 1002a1137b140dad3319bf3206fec5b6c6b74fea Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Thu, 10 Nov 2016 14:33:05 +0200 | ||
4 | Subject: [PATCH] Don't install Xsession or Xserver | ||
5 | |||
6 | The goal is to use Xsession and Xserver from xserver-nodm-init. | ||
7 | Xsession scripts and xserver-common from this recipe will still | ||
8 | be used as before. | ||
9 | |||
10 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
11 | |||
12 | --- | ||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Makefile | 2 -- | ||
16 | 1 file changed, 2 deletions(-) | ||
17 | |||
18 | diff --git a/Makefile b/Makefile | ||
19 | index caa5de1..9428205 100644 | ||
20 | --- a/Makefile | ||
21 | +++ b/Makefile | ||
22 | @@ -20,8 +20,6 @@ install-program: | ||
23 | install -m 755 run-calibrate.sh $(DESTDIR)$(PREFIX)/bin/run-calibrate.sh | ||
24 | install -m 644 X11/Xdefaults $(DESTDIR)/etc/X11/Xdefaults | ||
25 | install -m 755 X11/Xinit $(DESTDIR)/etc/X11/Xinit | ||
26 | - install -m 755 X11/Xserver $(DESTDIR)/etc/X11/Xserver | ||
27 | - install -m 755 X11/Xsession $(DESTDIR)/etc/X11/Xsession | ||
28 | install -m 755 X11/xserver-common $(DESTDIR)/etc/X11/xserver-common | ||
29 | install -m 755 X11/functions $(DESTDIR)/etc/X11/functions | ||
30 | install -d $(DESTDIR)/etc/X11/xmodmap | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch deleted file mode 100644 index b408234ecb..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | From 3b5f431a370054bfc090796e8d55de8c8cea46f4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:28:45 +0200 | ||
4 | Subject: [PATCH] add setdpi Xinit.d script | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/Xinit.d/50setdpi | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
12 | 1 file changed, 92 insertions(+) | ||
13 | create mode 100644 X11/Xinit.d/50setdpi | ||
14 | |||
15 | diff --git a/X11/Xinit.d/50setdpi b/X11/Xinit.d/50setdpi | ||
16 | new file mode 100644 | ||
17 | index 0000000..04a2edd | ||
18 | --- /dev/null | ||
19 | +++ b/X11/Xinit.d/50setdpi | ||
20 | @@ -0,0 +1,92 @@ | ||
21 | +#! /bin/sh | ||
22 | +# | ||
23 | +# Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
24 | +# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) | ||
25 | +# | ||
26 | +# Filename: setDPI.sh | ||
27 | +# Date: 09-Apr-06 | ||
28 | + | ||
29 | +# This script configures Xft.dpi dependent on your screens DPI. This insures that the same font-size | ||
30 | +# setting of 7 can be used on all machines. | ||
31 | + | ||
32 | + | ||
33 | +XDEFAULTS="/etc/X11/Xdefaults" | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | +set_dpi() { | ||
38 | + | ||
39 | + CURRENT_SETTING="`cat ${XDEFAULTS} | sed -n "/Xft.dpi\:/s/.*\:\(.*\)/\1/p" | sed -n "s/\ //p"`" | ||
40 | + | ||
41 | + if test "$CURRENT_SETTING" != "$1" | ||
42 | + then | ||
43 | + echo "Using Xft.dpi of $SET_SCREEN_DPI for your $SCREEN_DPI DPI screen" | ||
44 | + | ||
45 | + if grep -q "Xft.dpi" "$XDEFAULTS" | ||
46 | + then | ||
47 | + cat "${XDEFAULTS}" | sed "s/^Xft.dpi\:.*/Xft.dpi\: $SET_SCREEN_DPI/" > "${XDEFAULTS}_" | ||
48 | + mv "${XDEFAULTS}_" "${XDEFAULTS}" | ||
49 | + else | ||
50 | + echo -e "Xft.dpi: $SET_SCREEN_DPI\n" >> "$XDEFAULTS" | ||
51 | + fi | ||
52 | + else | ||
53 | + echo "Your $SCREEN_DPI DPI screen is already configured." | ||
54 | + fi | ||
55 | +} | ||
56 | + | ||
57 | +set_rxvt_font() { | ||
58 | + | ||
59 | + CURRENT_SETTING="`cat ${XDEFAULTS} | sed -n "/Rxvt\*font/s/\(.*\pixelsize=\)\(.*\)/\2/p"`" | ||
60 | + | ||
61 | + if test "$1" -gt 100 | ||
62 | + then | ||
63 | + | ||
64 | + # Configure the rxvt font-size for your screen here: | ||
65 | + test "$1" -gt 180 -a "$1" -lt "221" && RXVT_FONT_SIZE=16 | ||
66 | + | ||
67 | + if test -z "$RXVT_FONT_SIZE" | ||
68 | + then | ||
69 | + echo "WARNING: No rxvt font-size configured for a $SCREEN_DPI DPI screen!" | ||
70 | + echo "Defaulting to size 9" | ||
71 | + RXVT_FONT_SIZE=9 | ||
72 | + fi | ||
73 | + | ||
74 | + if test "$CURRENT_SETTING" != "$RXVT_FONT_SIZE" | ||
75 | + then | ||
76 | + echo "Using a rxvt font-size of $RXVT_FONT_SIZE" | ||
77 | + cat ${XDEFAULTS} | sed "/Rxvt\*font/s/\(.*\pixelsize\)\(=*.*\)/\1=$RXVT_FONT_SIZE/" > ${XDEFAULTS}_ | ||
78 | + mv ${XDEFAULTS}_ ${XDEFAULTS} | ||
79 | + else | ||
80 | + echo "The rxvt font-size is already configured" | ||
81 | + fi | ||
82 | + fi | ||
83 | +} | ||
84 | + | ||
85 | +if test -z "$DISPLAY" | ||
86 | +then | ||
87 | + echo "DISPLAY is not set, aborting..." | ||
88 | + exit 0 | ||
89 | +fi | ||
90 | + | ||
91 | +SCREEN_DPI="`/usr/bin/xdpyinfo | grep "dots per inch" | awk '{print $2}'| sed -n "s/\(.*\)x\(.*\)/\2/p"`" | ||
92 | + | ||
93 | +if test -z "$SCREEN_DPI" | ||
94 | +then | ||
95 | + echo "WARNING: Couldn't read your screens DPI, defaulting to 100" | ||
96 | + SCREEN_DPI=100 | ||
97 | +fi | ||
98 | + | ||
99 | +# Configure your screen here: | ||
100 | +test "$SCREEN_DPI" -gt 180 -a "$SCREEN_DPI" -lt "221" && SET_SCREEN_DPI=160 | ||
101 | +test "$SCREEN_DPI" -gt 90 -a "$SCREEN_DPI" -lt "121" && SET_SCREEN_DPI=100 | ||
102 | + | ||
103 | + | ||
104 | +if test -z "$SET_SCREEN_DPI" | ||
105 | +then | ||
106 | + echo "WARNING: No default configuration found for your $SCREEN_DPI DPI screen!" | ||
107 | + echo "Using 100 DPI" | ||
108 | + SET_SCREEN_DPI=100 | ||
109 | +fi | ||
110 | + | ||
111 | +set_dpi "$SET_SCREEN_DPI" | ||
112 | +set_rxvt_font "$SCREEN_DPI" | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch deleted file mode 100644 index 4a9342c934..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From b60e364c35d56a2a3164254d98c9931bfa3feed4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:34:43 +0200 | ||
4 | Subject: [PATCH] add support for /etc/X11/xserver-system | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 5 +++++ | ||
12 | 1 file changed, 5 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index 52655cb..bb7c2ff 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -204,3 +204,8 @@ fi | ||
19 | if [ "$XSERVER" != "Xorg" ] ; then | ||
20 | ARGS="$ARGS $MOUSE $KDRIVEARGS" | ||
21 | fi | ||
22 | + | ||
23 | +# let a local script modify the variables | ||
24 | +if [ -e /etc/X11/xserver-system ] ; then | ||
25 | + . /etc/X11/xserver-system | ||
26 | +fi | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch deleted file mode 100644 index ba35d1cf6c..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | From 492c65a32a4ae44c34580ed8ac5d3f50a155cfef Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:36:02 +0200 | ||
4 | Subject: [PATCH] use own functions file instead /etc/init.d/functions | ||
5 | |||
6 | * so we don't have to depend on initscripts | ||
7 | |||
8 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
9 | |||
10 | --- | ||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Makefile | 1 + | ||
14 | X11/Xinit.d/11zaurus | 2 +- | ||
15 | X11/Xinit.d/12keymap | 2 +- | ||
16 | X11/functions | 11 +++++++++++ | ||
17 | X11/xserver-common | 2 +- | ||
18 | 5 files changed, 15 insertions(+), 3 deletions(-) | ||
19 | create mode 100644 X11/functions | ||
20 | |||
21 | diff --git a/Makefile b/Makefile | ||
22 | index e2d9af9..caa5de1 100644 | ||
23 | --- a/Makefile | ||
24 | +++ b/Makefile | ||
25 | @@ -23,6 +23,7 @@ install-program: | ||
26 | install -m 755 X11/Xserver $(DESTDIR)/etc/X11/Xserver | ||
27 | install -m 755 X11/Xsession $(DESTDIR)/etc/X11/Xsession | ||
28 | install -m 755 X11/xserver-common $(DESTDIR)/etc/X11/xserver-common | ||
29 | + install -m 755 X11/functions $(DESTDIR)/etc/X11/functions | ||
30 | install -d $(DESTDIR)/etc/X11/xmodmap | ||
31 | install -m 644 X11/xmodmap/*.xmodmap $(DESTDIR)/etc/X11/xmodmap | ||
32 | install -m 644 X11/xmodmap/xmodmap-* $(DESTDIR)/etc/X11/xmodmap | ||
33 | diff --git a/X11/Xinit.d/11zaurus b/X11/Xinit.d/11zaurus | ||
34 | index 54ea6f5..23e7713 100644 | ||
35 | --- a/X11/Xinit.d/11zaurus | ||
36 | +++ b/X11/Xinit.d/11zaurus | ||
37 | @@ -8,7 +8,7 @@ else | ||
38 | CHCK=chkhinge | ||
39 | fi | ||
40 | |||
41 | -. /etc/init.d/functions | ||
42 | +. /etc/X11/functions | ||
43 | |||
44 | $CHCK -e | ||
45 | if [ $? = 12 ]; then | ||
46 | diff --git a/X11/Xinit.d/12keymap b/X11/Xinit.d/12keymap | ||
47 | index 7eac296..b7a7f2d 100644 | ||
48 | --- a/X11/Xinit.d/12keymap | ||
49 | +++ b/X11/Xinit.d/12keymap | ||
50 | @@ -1,6 +1,6 @@ | ||
51 | #!/bin/sh | ||
52 | |||
53 | -. /etc/init.d/functions | ||
54 | +. /etc/X11/functions | ||
55 | |||
56 | # since kdrive 1.4 there is no default keymap in server | ||
57 | xmodmap - </etc/X11/xmodmap/default.xmodmap | ||
58 | diff --git a/X11/functions b/X11/functions | ||
59 | new file mode 100644 | ||
60 | index 0000000..a1311ad | ||
61 | --- /dev/null | ||
62 | +++ b/X11/functions | ||
63 | @@ -0,0 +1,11 @@ | ||
64 | +# -*-Shell-script-*- | ||
65 | +# | ||
66 | +# functions This file contains functions shared by few X11 scripts | ||
67 | +# machine_id also exists in /etc/init.d/functions but some | ||
68 | +# people don't use initscripts anymore | ||
69 | +# | ||
70 | + | ||
71 | +machine_id() { # return the machine ID | ||
72 | + awk 'BEGIN { FS=": " } /Hardware/ \ | ||
73 | + { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo | ||
74 | +} | ||
75 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
76 | index bb7c2ff..d622f2a 100644 | ||
77 | --- a/X11/xserver-common | ||
78 | +++ b/X11/xserver-common | ||
79 | @@ -30,7 +30,7 @@ if [ -f /etc/profile ]; then | ||
80 | . /etc/profile | ||
81 | fi | ||
82 | |||
83 | -. /etc/init.d/functions | ||
84 | +. /etc/X11/functions | ||
85 | |||
86 | fallback_screen_arg() { | ||
87 | geom=`fbset | grep geometry` | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch deleted file mode 100644 index a04e563f82..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From e2abbe110e71a7b4b56564e6b9d58ffa7f34a9e8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:37:29 +0200 | ||
4 | Subject: [PATCH] xserver-common: add dpi and nocursor params for gta01 and | ||
5 | gta02 | ||
6 | |||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | |||
9 | --- | ||
10 | Upstream-Status: Pending | ||
11 | |||
12 | X11/xserver-common | 8 ++++++-- | ||
13 | 1 file changed, 6 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
16 | index d622f2a..a2c0591 100644 | ||
17 | --- a/X11/xserver-common | ||
18 | +++ b/X11/xserver-common | ||
19 | @@ -133,15 +133,19 @@ else | ||
20 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
21 | DPI="225" ;; | ||
22 | "gta01" ) | ||
23 | - DPI="285" | ||
24 | + DPI="280" | ||
25 | if [ "$XSERVER" != "Xorg" ] ; then | ||
26 | ARGS="$ARGS -screen 480x640" | ||
27 | + else | ||
28 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
29 | fi | ||
30 | ;; | ||
31 | "gta02") | ||
32 | - DPI="285" | ||
33 | + DPI="280" | ||
34 | if [ "$XSERVER" != "Xorg" ] ; then | ||
35 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
36 | + else | ||
37 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
38 | fi | ||
39 | ;; | ||
40 | "motorola_ezx_platform") | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch deleted file mode 100644 index 993b320154..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From f2d808cea5b9f69158f82e16c06f882a6db10d63 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:40:14 +0200 | ||
4 | Subject: [PATCH] xserver-common: add support for n900 alias nokia_rx-51_board | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 7 +++++++ | ||
12 | 1 file changed, 7 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index a2c0591..b8c37e6 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -132,6 +132,13 @@ else | ||
19 | "nokia_n800" | "nokia_rx-44" | "nokia_n770") | ||
20 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
21 | DPI="225" ;; | ||
22 | + "nokia_rx-51_board" ) | ||
23 | + DPI="267" | ||
24 | + if [ "$XSERVER" != "Xorg" ] ; then | ||
25 | + ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
26 | + else | ||
27 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
28 | + fi ;; | ||
29 | "gta01" ) | ||
30 | DPI="280" | ||
31 | if [ "$XSERVER" != "Xorg" ] ; then | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch deleted file mode 100644 index 2948cd611b..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From a194ba2013f9e58cf73cd39b57be68386e501eda Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:40:44 +0200 | ||
4 | Subject: [PATCH] xserver-common: add support for nexus S alias herring | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 3 +++ | ||
12 | 1 file changed, 3 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index b8c37e6..9aa6b24 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -126,6 +126,9 @@ else | ||
19 | "htc_tornado") | ||
20 | ARGS="$ARGS -hide-cursor" | ||
21 | DPI="100" ;; | ||
22 | + "herring") | ||
23 | + DPI="235" | ||
24 | + ARGS="$ARGS -dpi ${DPI} -nocursor";; | ||
25 | "generic_omap1510/1610/1710") | ||
26 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
27 | DPI="225" ;; | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch deleted file mode 100644 index 342d49becd..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From dfd832b35b6cb4cf2b6f2b51df7b0999f10c8ca1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:41:06 +0200 | ||
4 | Subject: [PATCH] xserver-common: add support for nexus one alias mahimahi | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 3 +++ | ||
12 | 1 file changed, 3 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index 9aa6b24..8da926e 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -129,6 +129,9 @@ else | ||
19 | "herring") | ||
20 | DPI="235" | ||
21 | ARGS="$ARGS -dpi ${DPI} -nocursor";; | ||
22 | + "mahimahi") | ||
23 | + DPI="254" | ||
24 | + ARGS="$ARGS -dpi ${DPI}";; | ||
25 | "generic_omap1510/1610/1710") | ||
26 | ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
27 | DPI="225" ;; | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch deleted file mode 100644 index 94f9d2ca6f..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From d9e05e53b30c66705852256ff5c603252aa94b2c Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 11 Apr 2012 14:41:52 +0200 | ||
4 | Subject: [PATCH] xserver-common: add support for gta04 alias OpenPhoenux | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 8 ++++++++ | ||
12 | 1 file changed, 8 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index 8da926e..d9325dd 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -161,6 +161,14 @@ else | ||
19 | ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
20 | fi | ||
21 | ;; | ||
22 | + "gta04") | ||
23 | + DPI="280" | ||
24 | + if [ "$XSERVER" != "Xorg" ] ; then | ||
25 | + ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
26 | + else | ||
27 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
28 | + fi | ||
29 | + ;; | ||
30 | "motorola_ezx_platform") | ||
31 | ARGS="$ARGS -screen 240x320" | ||
32 | DPI="170" ;; | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch deleted file mode 100644 index c023b583b0..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 57ab521ffc1024f21105ca14be2d041a477942b1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Fri, 17 Aug 2012 13:00:56 +0200 | ||
4 | Subject: [PATCH] xserver-common: add support for tuna alias Galaxy Nexus | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | |||
8 | --- | ||
9 | Upstream-Status: Pending | ||
10 | |||
11 | X11/xserver-common | 8 ++++++++ | ||
12 | 1 file changed, 8 insertions(+) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index d9325dd..017e5ae 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -169,6 +169,14 @@ else | ||
19 | ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
20 | fi | ||
21 | ;; | ||
22 | + "tuna") | ||
23 | + DPI="316" | ||
24 | + if [ "$XSERVER" != "Xorg" ] ; then | ||
25 | + ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
26 | + else | ||
27 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
28 | + fi | ||
29 | + ;; | ||
30 | "motorola_ezx_platform") | ||
31 | ARGS="$ARGS -screen 240x320" | ||
32 | DPI="170" ;; | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch deleted file mode 100644 index a731917003..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 5236209e30e0f45113e140f0667c8ffcfe621536 Mon Sep 17 00:00:00 2001 | ||
2 | From: Javier Viguera <javier.viguera@digi.com> | ||
3 | Date: Wed, 26 Nov 2014 09:24:44 +0100 | ||
4 | Subject: [PATCH] xserver-common: disable TCP connections | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Javier Viguera <javier.viguera@digi.com> | ||
9 | |||
10 | --- | ||
11 | X11/xserver-common | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
15 | index 017e5ae..4dc48c4 100644 | ||
16 | --- a/X11/xserver-common | ||
17 | +++ b/X11/xserver-common | ||
18 | @@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg` | ||
19 | export USER=root | ||
20 | export XSERVER_DEFAULT_ORIENTATION=normal | ||
21 | |||
22 | -ARGS="-br -pn $INPUT_EXTRA_ARGS" | ||
23 | +ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS" | ||
24 | DPI="100" | ||
25 | MOUSE="" | ||
26 | KDRIVEARGS="" | ||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb deleted file mode 100644 index 3f577bfa05..0000000000 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | SUMMARY = "Common X11 scripts and support files" | ||
2 | LICENSE = "GPL-2.0-only" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
4 | |||
5 | |||
6 | # we are using a gpe-style Makefile | ||
7 | inherit features_check gpe | ||
8 | |||
9 | REQUIRED_DISTRO_FEATURES = "x11" | ||
10 | |||
11 | SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14" | ||
12 | SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210" | ||
13 | |||
14 | SRC_URI:append = " \ | ||
15 | file://0001-COPYING-add-GPLv2-license-file.patch \ | ||
16 | file://0002-add-setdpi-Xinit.d-script.patch \ | ||
17 | file://0006-add-support-for-etc-X11-xserver-system.patch \ | ||
18 | file://0007-use-own-functions-file-instead-etc-init.d-functions.patch \ | ||
19 | file://0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch \ | ||
20 | file://0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch \ | ||
21 | file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \ | ||
22 | file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \ | ||
23 | file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ | ||
24 | file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ | ||
25 | file://0015-xserver-common-disable-TCP-connections.patch \ | ||
26 | file://0001-Don-t-install-Xsession-or-Xserver.patch \ | ||
27 | " | ||
28 | |||
29 | do_install:append() { | ||
30 | sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common | ||
31 | # Rename all Xsession files not ending with .sh | ||
32 | # Unfortunatelly when xinput-calibrator was moved to oe-core | ||
33 | # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it | ||
34 | # last, not respecting numbers for sorting them | ||
35 | for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do | ||
36 | echo $i | grep '.sh$' || mv $i $i.sh | ||
37 | done | ||
38 | } | ||
39 | |||
40 | RDEPENDS:${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator" | ||
41 | |||
42 | RCONFLICTS:${PN} = "xserver-kdrive-common x11-common" | ||
43 | RREPLACES:${PN} = "xserver-kdrive-common x11-common" | ||
44 | |||
diff --git a/meta-oe/recipes-graphics/yad/yad_6.0.bb b/meta-oe/recipes-graphics/yad/yad_6.0.bb index 9e46215fd8..64c12f5904 100644 --- a/meta-oe/recipes-graphics/yad/yad_6.0.bb +++ b/meta-oe/recipes-graphics/yad/yad_6.0.bb | |||
@@ -13,6 +13,5 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
13 | 13 | ||
14 | DEPENDS = "gtk+3 glib-2.0-native intltool-native" | 14 | DEPENDS = "gtk+3 glib-2.0-native intltool-native" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 16 | ||
18 | FILES:${PN} += "${datadir}/icons/" | 17 | FILES:${PN} += "${datadir}/icons/" |
diff --git a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb index 3acf70235e..7562271d90 100644 --- a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb +++ b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb | |||
@@ -8,7 +8,6 @@ PV = "1.0.4+git" | |||
8 | SRC_URI = "git://github.com/ReimuNotMoe/ydotool;protocol=https;branch=master" | 8 | SRC_URI = "git://github.com/ReimuNotMoe/ydotool;protocol=https;branch=master" |
9 | SRCREV = "0c295346d55afcc6aebaaee564333b3e1efabcbd" | 9 | SRCREV = "0c295346d55afcc6aebaaee564333b3e1efabcbd" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | 11 | ||
13 | inherit cmake systemd | 12 | inherit cmake systemd |
14 | 13 | ||