Commit Graph

31 Commits

Author SHA1 Message Date
Emily
fbda1dbfd6 treewide: replace freeglut with libglut
Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
2024-06-22 18:06:51 +01:00
Artturi
094c82d9d9
Merge pull request #200366 from considerate/netpbm 2023-04-07 21:07:29 +03:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Viktor Kronvall
69b41f9880 pfstools: fix netpbm inclusion
The main CMakeLists.txt no longer includes the FindNETPBM.cmake file.
This commit removes the comment on the `include` statement to re-enable
including the FindNETPBM.cmake file.

Moreover the netpbm libraries weren't found due to the name searched for
included an extraneous `.` The
`stdenv.hostPlatform.extensions.sharedLibrary` expressions resolves to
".so" on x86_64-linux which means that the `-name` flag gets passed
"*..so*" instead of "*.so*". This commit ensures that "*.so*" is passed
when looking for the netpbm shared objects.
2022-11-09 19:53:34 +09:00
Alexander Shpilkin
1cd122e7b6
pfstools: fix build of pfsglview with newer cmake
The CMake build configuration for pfsglview used an internal variable,
GLUT_glut_LIBRARY, to link with GLUT, which seems to have stopped
working when CMake was bumped from 3.21 in 3.22 in nixpkgs#147818. Use
the officially documented GLUT_LIBRARIES instead.
2022-04-04 23:51:27 +03:00
R. Ryantm
39f695ffef pfstools: 2.1.0 -> 2.2.0 2021-12-08 06:58:24 +00:00
Alyssa Ross
d69583c6c2 opencv2: don't build unfree libraries by default
In opencv 2.x, unfree libraries are built by default.  The package
should therefore have been marked as unfree, but wasn't.

I've disabled the non-free libraries by default, and added an option
to enable them.  There are three programs in Nixpkgs that depend on
opencv2: mathematica, pfstools, and p2pvc.  pfstools requires the
non-free libraries if it's built with opencv support, so I've disabled
opencv by default there and added an option to enable it.  p2pvc links
fine, so presumably doesn't need the non-free libraries.  I can't test
mathematica, so I'm just going to leave it alone.
2021-09-29 13:39:52 +00:00
Robert Schütz
e13c16ec75 pfstools: use imagemagick6 2021-02-27 18:37:08 +01:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07: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
Benjamin Saunders
eee815842a pfstools: fix Qt environment 2020-06-13 21:52:17 -07:00
Doron Behar
4cd1b7a7c7 pfstools: use opencv2 explicitly 2020-05-05 13:08:01 +03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
9555834399
netpbm: split into multiple outputs 2020-03-01 15:13:03 +01:00
Robin Gloster
96fc34a8cd
pfstools: *Flags are lists 2019-12-30 12:15:30 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Julien Dehos
41778dd605 pfstools: add netpbm support (fix #60841) (#61083) 2019-11-02 19:42:53 +01:00
Julien Dehos
8ca3cad711 pfstools: build pfsalign (fix #60843) (#61050) 2019-11-02 19:00:39 +01: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
Pascal Wittmann
9f6b441aec
pfstools: port to qt5 (#33248)
Since release 2.1.0 pfsview supports qt5.
2019-02-01 17:09:18 +01:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Michael Weiss
63596faef1 pfstools: 2.0.5 -> 2.1.0 2017-12-15 16:45:30 +01:00
Tuomas Tynkkynen
1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Julien Dehos
d49902e03a
pfstools: 1.8.5 -> 2.0.5 2016-07-25 05:00:23 +02:00
Vladimír Čunát
9363303922 pfstools: update from 1.8.3 to 1.8.5 2014-03-16 17:46:39 +01:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Yury G. Kudryashov
d9ad31c468 pfstools-1.8.3; builds against qt4
svn path=/nixpkgs/trunk/; revision=29403
2011-09-20 22:49:07 +00:00
Lluís Batlle i Rossell
0b76035b66 Adding qtpfsgui and pfstools. Updating fftw because the src URL didn't work anymore.
svn path=/nixpkgs/trunk/; revision=14892
2009-04-05 21:41:13 +00:00