federicomena,
@federicomena@mstdn.mx avatar

At some point the code is more or less Done(tm), and you spend the rest of your life fucking with the build system, as people's opinions change on how it should work.

msw,
@msw@mstdn.social avatar

@federicomena See the recent discourse on autotools...

federicomena,
@federicomena@mstdn.mx avatar

@msw yuuuuuuup.

("I know, I should replace autotools with meson. Now you have two problems.")

Di4na,
@Di4na@hachyderm.io avatar

@federicomena @msw i don't disagree but also i have seen what keeping the build system running cost in term of time.

Aka nearly all of it. And tons of features and deprecated do not happen because the build is more important.

Sooooo

federicomena,
@federicomena@mstdn.mx avatar

@Di4na @msw Centricular recently paid for librsvg to be ported from Autotools to Meson; they did a fantastic job. But the build scripts are not easy, even in Meson! It needs to do Special Stuff(tm) to call cargo and have everything work on Windows and MacOS.

It's mostly stupid glue. Cargo puts artifacts in one place; meson wants them in another. Meson knows the file extensions for libraries or binaries depending on the platform, but does not expose them, so the build scripts replicate them.

federicomena,
@federicomena@mstdn.mx avatar

@Di4na @msw There's an uncomfortable amount of Python to build symbol lists on Windows. Meson needs a duplicated list of source files, even if cargo detects them automatically. Meson's concept of the build configuration needs to be translated to cargo's concept, and the cargo-wrapper script has subtle differences when called for "build" vs. "test".

On Windows, when FreeType builds don't provide pkg-config, they fall back to cmake. And librsvg's meson foo needs to adapt to that.

Di4na,
@Di4na@hachyderm.io avatar

@federicomena @msw oh I agree. I never said Meson was our saviour :D

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • ethstaker
  • khanakhh
  • rosin
  • Youngstown
  • everett
  • slotface
  • ngwrru68w68
  • mdbf
  • GTA5RPClips
  • kavyap
  • thenastyranch
  • cisconetworking
  • JUstTest
  • cubers
  • Leos
  • InstantRegret
  • Durango
  • tacticalgear
  • tester
  • osvaldo12
  • normalnudes
  • anitta
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines