Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
I'd like to reduce the number of Github notifications and
review requests I receive.
|
|
|
|
|
|
1. Remove freetype dependency:
- was not being used by build
- trying to enable freetype gives nontrivial error
'gdoTextWidth: Problem doing text layout (GDFONTPATH=)'
2. Correctly link manpages by specifying 'outputs'.
3. Separate nativeBuildInputs from buildInputs
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
|
|
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
|
|
|
|
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
|
|
|
|
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
|
|
Fixes broken build since commit 7d580b8339a749acd7f61ca6d1f21687ec9680
("gd: 2.1.1 -> 2.2.1"):
$ nix-build -A mscgen
[...]
gcc -g -O2 -o mscgen mscgen-adraw.o mscgen-cmdparse.o mscgen-main.o
mscgen-svg_out.o mscgen-language.o mscgen-msc.o mscgen-ps_out.o
mscgen-utf8.o mscgen-gd_out.o mscgen-safe.o mscgen-lexer.o
mscgen-null_out.o mscgen-usage.o -lm -lgd -lm
-L/nix/store/HASH-zlib-1.2.8/lib -lz
-L/nix/store/HASH-libpng-apng-1.6.21/lib
-lpng16 -L/nix/store/HASH-freetype-2.6.2/lib
-lfreetype
-L/nix/store/HASH-fontconfig-2.11.1-lib/lib
-L/nix/store/HASH-freetype-2.6.2/lib
-lfontconfig -lfreetype -ljpeg -lwebp -lgd -lm
/nix/store/HASH-binutils-2.26/bin/ld: cannot find -lwebp
collect2: error: ld returned 1 exit status
|
|
|
|
Possibly jpeg used to be propagated from gd but is no longer after
f8bdd7969d1af9b1f4ab5f968fae336190c1ae1c.
|
|
|
|
|
|
svn path=/nixpkgs/trunk/; revision=29803
|