Repository navigation
Conversation
|
Why are there 2 curls and 2 jpegs? |
34fb2c7 to
d07c801
Compare
|
Because the branch is 5 months old and I upgraded libs multiple time and I forgot to squash some. Now fixed. |
|
It's possible that some libs will get updated again between the time we merge this and the time we bump the DEPS version, but this way we already merge the known workaround and we can test most of the changes of those new libs. The best candidate for being upgraded again is SDL3 which has a short release cycle (I upgraded it at least three times since I started that branch). |
d07c801 to
984d9c5
Compare
|
Some nuisances I'm seeing so far:
|
|
Thanks for the testing!
Hmm, curl 8.23.0 dropped the
Can we workaround this?
Hmm, have to check if that's useful. Newer distros brings new X libs, that may be part of this. |
|
Really annoying: curl/curl@779b849 We will have to bear the maintenance pain of the “niche option” . |
984d9c5 to
8583caa
Compare
|
I implemented some commands to generate the enablement/disablement list to reduce pain at redoing the “niche option”. It works. Those commands should be executed by hand when upgrading curl, and updating the build script with the output. |
8583caa to
00af241
Compare
|
About SDL3 and Xtest, on both Debian 12 Bookworm and Ubuntu 24.04 Noble (this one is even older than SDL3), removing What I understand is that SDL3 started using That should be fine. |
|
lol, the final commit in that PR says that the xtest code doesn't actually work and comments out the initialization so that the whole thing is dead code... |
00af241 to
87f4691
Compare
|
Oh lol, and this is still commended out in the released tarball. Well, I added the option to disable it, no need to add a dependency (even if ubiquitous) if not used. |
The warning pragma approach should work. |
|
|
||
| case "${PLATFORM}" in | ||
| macos-*-*) | ||
| sed -e 's/-Werror=function-effects/-Wfunction-effects/' CMakeLists.txt > CMakeLists.txt-fix |
There was a problem hiding this comment.
You can use -i with an argument. Like sed -i.junk -e 's/-Werror=function-effects/-Wfunction-effects/' CMakeLists.txt
There was a problem hiding this comment.
Well, I'm not sure which one is better:
sed -e s/a/b/ file > file.good
mv file.good file
sed -i.bad -e s/a/b/ file
rm file.bad
We still deal with a temporary file and two commands in all cases.
There was a problem hiding this comment.
I mean without deleting the junk file.
There was a problem hiding this comment.
Well, sure we can leave the original. I used -i.orig.
The script wipes the source on rebuild, so the .orig file is always the original one.
1d74598 to
63e8aba
Compare
This assumes we now build on Bookworm (Bullseye is archived anyway).