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 maintainers: remove ivar 2024-06-29 03:09:10 -04:00
amber treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
apng2gif treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 treewide: Drop infinisil as maintainer from most packages 2024-04-09 21:43:39 +02:00
blur-effect
briss
cfdg
cgif treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
convchain
csv2svg
cuneiform cuneiform: make install path match rpath; fix runtime 2023-12-06 15:19:48 +00:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
dynamic-wallpaper pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
editres treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
enblend-enfuse treewide: replace freeglut with libglut 2024-06-22 18:06:51 +01:00
eplot
epstool treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
escrotum treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
esshader treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
exif treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
exifprobe
exiftags exiftags: add CVE-2023-50671 & CVE-2024-42851 to knownVulnerabilities 2024-09-08 19:09:08 +01:00
facedetect treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
fbv
feedgnuplot treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fgallery pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
fim fim: remove with statements 2024-08-18 06:32:22 -07:00
gfxreconstruct Merge pull request #285594 from Flakebi/gfxreconstruct 2024-06-11 11:22:24 +02:00
ggobi
gif2apng treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
gifski treewide: drop workarounds for cargo --frozen 2024-05-19 11:15:55 +02:00
glee {libthai,glee,xscope,bemenu,muso}: add crertel as maintainer 2024-07-02 21:44:00 -05:00
glmark2
gnuplot treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
goverlay treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
graph-cli Merge pull request #218533 from sir4ur0n/fixGraphCliCrash 2024-01-11 18:21:58 +01:00
graph-easy
graphviz Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
gromit-mpx treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
guff treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
hobbits treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ibniz
icoutils icoutils: defining missing target conditions on Darwin 2024-10-07 00:06:12 -04:00
ifm pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
imgur-screenshot treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
imgurbash2 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
jhead
jpegexiforient treewide: Drop infinisil as maintainer from most packages 2024-04-09 21:43:39 +02:00
leela
lepton treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
libyafaray treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
logstalgia
lsix lsix: 1.9 -> 1.9.1 2024-06-18 19:34:17 +00:00
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 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
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 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
optipng treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
oxipng treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pdf2svg pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
pdftag treewide: wrapGAppsHook → wrapGAppsHook3 2024-04-27 02:23:22 +02:00
pdftoipe treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
perceptualdiff treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pixel2svg
ploticus treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
plotutils treewide: Fix indentation in strings 2024-10-22 21:36:42 +02:00
pngcheck
pngcrush treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pngloss
pngnq treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pngoptimizer
pngout treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pngquant treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
pngtoico Merge pull request #269020 from LeSuisse/pngtoico-use-up-to-date-libpng 2023-12-14 23:29:43 +01:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
s2png pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
scanbd
scrot treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
shot-scraper treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
shotgun treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
sic-image-cli
smartcrop
snapdragon-profiler maintainers: remove ivar 2024-06-29 03:09:10 -04:00
spirv-cross spirv-cross: 1.3.283.0 -> 1.3.290.0 2024-08-31 13:51:13 +03:00
stegsolve treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
svg2pdf svg2pdf: 0.11.0 -> 0.12.0 2024-10-03 21:06:26 +00:00
svgbob fetchCrate: sha256 -> hash 2024-07-14 13:48:13 -04:00
svgcleaner treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
syntex
termimage
textplots textplots: 0.8.4 -> 0.8.5 2024-01-19 17:58:05 +00:00
texture-synthesis treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
timg treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
twilight treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
unpaper unpaper: unpin ffmpeg_5 2024-07-14 08:34:23 +01:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
vkbasalt-cli treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
vkdisplayinfo
vkmark treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
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 treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
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 treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
wdisplays wdisplays: fix build, missing wayland-scanner 2024-08-31 11:44:03 +02:00
welkin treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
wkhtmltopdf wkhtmltopdf: restore support for aarch64-linux 2024-09-04 09:20:15 +02:00
xcftools pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
xcolor treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
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