Commit Graph

28 Commits

Author SHA1 Message Date
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
Francesco Gazzetta
a0b1f28661 povray: add fgaz to maintainers 2024-05-21 09:16:52 +00:00
Francesco Gazzetta
58d34a875c povray: use NixOS as vendor id
It's less ambiguous than "nix"
2024-05-21 09:16:52 +00:00
Francesco Gazzetta
e2dd91f4dc povray: update SDL and use pkg-config 2024-05-21 09:16:52 +00:00
Francesco Gazzetta
fe2fc07656 povray: use finalAttrs pattern 2024-05-21 09:16:52 +00:00
Francesco Gazzetta
bc4e19a570 povray: 3.8.0-x.10064738 -> 3.8.0-beta.2
acfef2ea91 updated it to a pre-release,
so let's continue following 3.8.0 prereleases until a stable release.

Diff: https://github.com/POV-Ray/povray/compare/v3.8.0-x.10064738...v3.8.0-beta.2
2024-05-21 09:16:52 +00:00
h7x4
b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Sergei Trofimovich
b4530d1ed4 povray: use xorg.* packages directly instead of xlibsWrapper indirection
Tested as no material change in `out` output with `diffoscope`.
2022-10-30 11:23:33 +01:00
Ben Siraphob
21faf9fc29
treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
acfef2ea91 povray: 3.7.0.8 -> 3.8.0-x.10064738
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/povray/versions
2019-10-07 21:11:20 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
Matthew Bauer
76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
R. RyanTM
ea3769ec81 povray: 3.7.0.7 -> 3.7.0.8 (#41269)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/povray/versions.

These checks were done:

- built on NixOS
- /nix/store/hl6rn2fjd9h2g4vks7hrm3yv2f1zh3yc-povray-3.7.0.8/bin/povray passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 3.7.0.8 with grep in /nix/store/hl6rn2fjd9h2g4vks7hrm3yv2f1zh3yc-povray-3.7.0.8
- directory tree listing: https://gist.github.com/d35bed4b147aefbe2b8c6e42bdf56ccb
- du listing: https://gist.github.com/75bee836a81741aa901a3677fb40aa16
2018-05-31 00:14:46 +02:00
Ryan Mulligan
2fbcc8634c povray: 3.7.0.4 -> 3.7.0.7
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7/bin/povray -h` got 0 exit code
- ran `/nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7/bin/povray --help` got 0 exit code
- ran `/nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7/bin/povray --version` and found version 3.7.0.7
- ran `/nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7/bin/povray -h` and found version 3.7.0.7
- ran `/nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7/bin/povray --help` and found version 3.7.0.7
- found 3.7.0.7 with grep in /nix/store/rk5yid5v5bb50v4pxzfwdl72939m1djr-povray-3.7.0.7
2018-02-28 14:23:41 +00:00
Svein Ove Aas
7a8853005a povray: Add X11/SDL preview support 2017-11-23 19:58:20 +00:00
Nikolay Amiantov
593c6a8ba3 povray: 3.7.0.3 -> 3.7.0.4
Fixes build with new Boost.
2017-10-18 03:15:23 +03:00
Robin Gloster
c1b3dc3308
povray: 3.7 -> 3.7.0.3 2017-08-12 21:38:19 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Luca Bruno
ca2d7774e0 povray: fix build and add platforms 2015-02-15 18:33:47 +01:00
Mateusz Kowalczyk
007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
William A. Kennington III
94f80e66d3 boost: Remove legacy users 2014-11-02 17:22:27 -08:00
William A. Kennington III
aa3e800be7 boost: Remove boost.lib 2014-11-02 17:22:27 -08:00
Peter Simons
ea448e90c3 povray: update to version 3.7
Committed on behalf of Thomas Strobel <ts468@cam.ac.uk>.
2014-08-04 13:03:36 +02:00
Jos van den Oever
a6f11f262e Update povray.
Current master version has 404 on tar.gz.
2014-06-26 11:31:59 +02:00
Lluís Batlle i Rossell
5ee7338cd2 Adding povray
svn path=/nixpkgs/trunk/; revision=15598
2009-05-14 08:49:46 +00:00