Commit Graph

23 Commits

Author SHA1 Message Date
Steve Purcell
90df6a3792 libdevil: check for clang rather than darwin when setting cxxflags
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
2024-05-08 00:55:30 +12:00
Steve Purcell
d19362526f libdevil: fix compilation on Darwin with clang
Compilation fails now that the default C++ standard is 17, because the
(rather old) upstream code uses the "register" keyword.

./../src-IL/include/il_manip.h:63:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        register int m =   i        & 0x007fffff;
        ^~~~~~~~~

We could selectively set -std=c++14, but it also seems sufficient to
suppress the warning, so this commit chooses that option.
2024-05-06 18:21:42 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
John Ericson
f0636c6055 treewide: Add meta.pkgConfigModules to a few packages
Picking up where https://github.com/NixOS/nixpkgs/pull/214304 left off.
2023-02-07 12:15:32 -05:00
Sandro Jäckel
d402e05f6a libdevil: cleanup, add proper option for X support 2022-12-04 10:26:22 +01:00
Sandro Jäckel
cbfc50722f maintainers: drop phreedom 2021-12-19 07:30:50 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Scott Worley
303adee602 libdevil: Fix patch URL 2020-11-19 20:12:32 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
Jan Malakhovski
7b1d190974 libdevil: fix tests 2018-08-11 09:35:20 +00:00
Alexander V. Nikolaev
8f2a22935c treewide: transition from mesa_noglu to libGL 2018-02-24 17:03:46 +02:00
Vladimír Čunát
96d41e393d treewide: purge maintainers.urkud
It's sad, but he's been inactive for the last five years.
Keeping such people in meta.maintainers is counter-productive.
2017-03-27 19:52:29 +02:00
Eelco Dolstra
f66271238e libdevil: Use multiple outputs 2016-11-16 20:56:35 +01:00
Jude Taylor
2455dac320 libdevil: fix build in clang stdenvs 2015-11-25 14:21:01 -08:00
Asko Soukka
103b7838bb darwin: libdevil: add needed inputs 2015-10-24 02:40:46 +03:00
Patrick Mahoney
7f728ae2e1 libdevil: patch to build on darwin
On a OSX 10.10 system:

    libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -fgnu89-inline -msse -msse2 -msse3 -D_THREAD_SAFE -I/nix/store/7n9c36hz9sl2dqvfry8d554l935hq4ma-openexr-2.2.0/include/OpenEXR -I/nix/store/3jxslxa37wmfdnyfj1hckpxl0skscgj0-ilmbase-2.2.0/include/OpenEXR -O3 -c ./../src-IL/src/il_exr.cpp  -fno-common -DPIC -o .libs/libIL_la-il_exr.o
    In file included from ./../src-IL/src/il_exr.cpp:22:
    In file included from ./../src-IL/include/il_exr.h:18:
    In file included from /nix/store/7n9c36hz9sl2dqvfry8d554l935hq4ma-openexr-2.2.0/include/OpenEXR/ImfIO.h:49:
    In file included from /nix/store/3qsrpjbsmn7w4d18i8zc6a44myiaa516-libc++-3.5.0/include/c++/v1/string:434:
    /nix/store/3qsrpjbsmn7w4d18i8zc6a44myiaa516-libc++-3.5.0/include/c++/v1/__config:32:22: error: expected value in expression
    #if __LITTLE_ENDIAN__
                         ^
    /nix/store/3qsrpjbsmn7w4d18i8zc6a44myiaa516-libc++-3.5.0/include/c++/v1/__config:110:11: fatal error: 'endian.h' file not found
    # include <endian.h>
              ^
    2 errors generated.
    make[1]: *** [libIL_la-il_exr.lo] Error 1
    make[1]: Leaving directory `/private/var/folders/1g/yfm550_10sb76p0z469bq9mr5zsthm/T/nix-build-libdevil-1.7.8.drv-1/devil-1.7.8/lib'
    make: *** [all-recursive] Error 1

See http://sourceforge.net/p/resil/tickets/8/
2015-03-23 15:53:45 -05:00
Joel Taylor
afa1db198b fix even more clang builds 2014-09-09 13:54:57 -07:00
Eelco Dolstra
2147a07938 Fix a bunch of Hydra evaluation errors 2013-10-07 17:36:47 +02: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
9758857fbe libdevil: pick a couple of debian patches
svn path=/nixpkgs/trunk/; revision=31986
2012-02-02 20:30:55 +00:00
Evgeny Egorochkin
5029db2160 Spring RTS: packaged along with its deps and utils: libDevIL, libtorrent-rasterbar, spring-lobby.
svn path=/nixpkgs/trunk/; revision=24681
2010-11-13 07:47:04 +00:00