nixpkgs/pkgs/tools/graphics
piegames 68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
..
adriconf treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
agi
amber treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
apng2gif
apngopt
argyllcms argyllcms: 3.2.0 -> 3.3.0 (#345138) 2024-10-10 00:14:01 +02:00
astc-encoder treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
asymptote asymptote: 2.90 -> 2.92 2024-10-15 07:28:16 +00:00
barcode treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
blockhash
blur-effect
briss
cfdg
cgif treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
convchain
csv2svg
cuneiform
dcraw treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
deqp-runner treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
diagrams-builder diagrams-builder: remove with statements 2024-08-18 06:32:22 -07:00
directx-shader-compiler directx-shader-compiler: move to finalAttrs, cleanup 2024-08-12 21:03:34 +05:30
ditaa
dmtx-utils treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dnglab dnglab: fix hash mismatch 2024-09-30 17:33:11 +02:00
dpic
dynamic-wallpaper
editres
enblend-enfuse
eplot
epstool
escrotum
esshader treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
exif
exifprobe
exiftags exiftags: add CVE-2023-50671 & CVE-2024-42851 to knownVulnerabilities 2024-09-08 19:09:08 +01:00
facedetect
fbv
feedgnuplot treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fgallery
fim fim: remove with statements 2024-08-18 06:32:22 -07:00
gfxreconstruct
ggobi
gif2apng
gifski
glee
glmark2
gnuplot treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
goverlay
graph-cli
graph-easy
graphviz Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
gromit-mpx
guff
hobbits
ibniz
icoutils icoutils: defining missing target conditions on Darwin 2024-10-07 00:06:12 -04:00
ifm
imgur-screenshot
imgurbash2
jhead
jpegexiforient
leela
lepton treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
libyafaray
logstalgia
lsix
maim treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
mangohud treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
maskromtool maskromtool: 2024-07-14 -> 2024-08-18 2024-08-19 01:45:38 +00:00
mesa-demos treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
metapixel
mscgen
netpbm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nifskope treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nip2
optar
optipng
oxipng treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pdf2svg
pdftag
pdftoipe
perceptualdiff
pfstools treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pgf
piglit lib.platforms.mesaPlatforms: remove 2024-08-31 10:28:31 +02:00
pikchr
pixel2svg
ploticus
plotutils treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
pngcheck
pngcrush
pngloss
pngnq
pngoptimizer
pngout treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pngquant
pngtoico
pngtools
povray treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
pstoedit treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
puppeteer-cli
quirc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
realesrgan-ncnn-vulkan treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
resvg resvg: 0.43.0 -> 0.44.0 2024-10-04 02:49:26 +00:00
rocket
s2png
scanbd
scrot treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
shot-scraper
shotgun
sic-image-cli
smartcrop
snapdragon-profiler
spirv-cross spirv-cross: 1.3.283.0 -> 1.3.290.0 2024-08-31 13:51:13 +03:00
stegsolve
svg2pdf svg2pdf: 0.11.0 -> 0.12.0 2024-10-03 21:06:26 +00:00
svgbob
svgcleaner
syntex
termimage
textplots
texture-synthesis treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
timg
twilight treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
unpaper
vips treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
viu viu: 1.4.0 -> 1.5.0 2024-08-14 06:31:23 +02:00
vkbasalt
vkbasalt-cli treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
vkdisplayinfo
vkmark
vulkan-caps-viewer vulkan-caps-viewer: 3.42 -> 3.43 2024-10-04 09:52:12 +00:00
vulkan-cts treewide: optimistically unpin FFmpeg 7 dependencies 2024-09-07 20:31:41 +01:00
vulkan-extension-layer vulkan-extension-layer: 1.3.283.0 -> 1.3.290.0 2024-08-31 13:51:13 +03:00
vulkan-helper
vulkan-tools treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vulkan-tools-lunarg vulkan-tools-lunarg: 1.3.283.0 -> 1.3.290.0 2024-08-31 13:51:12 +03:00
waifu2x-converter-cpp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wavefunctioncollapse
wdisplays wdisplays: fix build, missing wayland-scanner 2024-08-31 11:44:03 +02:00
welkin
wkhtmltopdf wkhtmltopdf: restore support for aarch64-linux 2024-09-04 09:20:15 +02:00
xcftools
xcolor
xcur2png xcur2png: add "fix wrong math" patch 2024-09-20 22:29:08 +03:00
yaxg
zbar treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
zxing