Commit Graph

24 Commits

Author SHA1 Message Date
Weijia Wang
d8addbc428 glm: fix build with clang 2023-11-04 15:52:34 +01:00
Atemu
7b01e4929f glm: fix eval
See https://github.com/NixOS/nixpkgs/pull/217206
2023-02-23 19:04:14 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
9a96bf8530
glm: fixup with other compilers than gcc >= 11
Amends 9464bf0ad6.  The flag isn't recognized on older gcc or clang.
https://hydra.nixos.org/eval/1756014?filter=glm.#tabs-still-fail
2022-04-17 09:41:26 +02:00
Fabián Heredia Montiel
9464bf0ad6 glm: -no-strict-aliasing due to upstream bug 2022-03-25 18:36:34 -06:00
Francesco Gazzetta
67c9d4ae00 glm: fix aarch64-darwin build by fixing cmake warnings 2021-11-22 23:02:27 -08:00
Sebastián Mancilla
7e59877fe1 glm: 0.9.8.5 -> 0.9.9.8
Bump abandoned package to close #132479.

- Use fetchFromGitHub to download the archive.

- No need for the updated platform.h patch. The released archive builds
  with default stdenv. (It may be needed again in the future?.)

- Use the proper attribute to set CMake flags.

- Don't build the (dummy?) libraries. They are not used anyway by any
  other target nor made available by the glmConfig.cmake file.

- Build and run the tests now.

- Don't define the GLM_COMPILER macro on Darwin. Doesn't seem necessary
  anymore, there are no errors without it. (And it is not even documented
  what was the original error that required it to be defined.)

- Upstream became package-unfriendly and removed the install command,
  so it needs to be installed manually.

  - Don't set the now unsupported CMake option GLM_INSTALL_ENABLE.

  - Remove unwanted files from the include directory.

  - Fix glmConfig.cmake with the proper path to the include directory.

  - While on it, install a custom pkg-config file, since it is trivial.

  - Don't install unnecessary files as documentation.

- Since I practically rewrote the entire derivation and the package is
  abandoned, add myself as maintainer (I guess?).
2021-09-16 17:54:52 -03:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
ab0cfd9e03
treewide: NIX_*_COMPILE -> string 2019-12-31 00:10:18 +01:00
Mateusz Kowalczyk
1451a52a38 Remove myself (fuuzetsu) from maintainer lists
I haven't been doing any maintenance for a long time now and not only
do I get notified, it also creates a fake impression that all these
packages had at least one maintainer when in practice they had none.
2019-12-05 16:29:48 +09: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
Josef Kemetmüller
863fb7b86a glm: fix darwin build 2018-03-14 18:06:21 +00:00
Alexander V. Nikolaev
539efba194 glm: remove 0.9.5.4, as it not used anymore.
was used only in libreoffice-still, where was commented out 2 years ago.
I feel it time for farewell 0.9.5.4.
2018-02-28 15:20:43 +02:00
mingchuan
f76f4ec7dd
glm: fix gcc 7.3 support
This will also fix several packages' build
2018-02-25 14:08:42 +08:00
Robin Gloster
02545a64a9
glm: 0.9.8.4 -> 0.9.8.5, clean up build 2017-12-29 01:11:39 +01:00
Maxwell Huang-Hobbs
87e71f22c8
glm: 0.9.6.1 -> 0.9.8.4, include built glm.pc 2017-12-29 01:11:38 +01:00
Mateusz Kowalczyk
66b72cf5d6 glm: update from 0.9.6.0 to 0.9.6.1 2015-03-25 00:46:58 +00:00
Mateusz Kowalczyk
fb22d8a783 glm: add meta.branch for 0.9.5.4 2015-01-23 19:41:27 +00:00
Michael Raskin
b4084d4913 Just use old glm for LO, the rest of LO is not keen on using C++ git add -A 1 2014-12-05 10:51:40 +03:00
Mateusz Kowalczyk
5756c3e437 glm: update from 0.9.5.4 to 0.9.6.0 2014-12-03 16:52:03 +00:00
Mateusz Kowalczyk
da9c4c05eb glm: update from 0.9.5.3 to 0.9.5.4 2014-10-07 14:00:11 +01:00
Mateusz Kowalczyk
c39a0b0659 glm: update from 0.9.5.1 to 0.9.5.3 2014-09-30 10:34:49 +01:00
Bjørn Forsman
1b4d50dbac glm: new package
OpenGL Mathematics (GLM) is a header only C++ mathematics library for
graphics software based on the OpenGL Shading Language (GLSL)
specification and released under the MIT license.

http://glm.g-truc.net/
2014-01-18 19:05:32 +01:00