tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
eukleides: allow PostScript transparency
Vincenzo Mantova
4 years ago
b88e8d99
8fb57a90
+16
-2
2 changed files
expand all
collapse all
unified
split
pkgs
applications
science
math
eukleides
default.nix
gs-allowpstransparency.patch
+6
-2
pkgs/applications/science/math/eukleides/default.nix
···
9
9
sha256 = "0s8cyh75hdj89v6kpm3z24i48yzpkr8qf0cwxbs9ijxj1i38ki0q";
10
10
};
11
11
12
12
-
# use $CC instead of hardcoded gcc
13
13
-
patches = [ ./use-CC.patch ];
12
12
+
patches = [
13
13
+
# use $CC instead of hardcoded gcc
14
14
+
./use-CC.patch
15
15
+
# allow PostScript transparency in epstopdf call
16
16
+
./gs-allowpstransparency.patch
17
17
+
];
14
18
15
19
nativeBuildInputs = [ bison flex texinfo makeWrapper ];
16
20
+10
pkgs/applications/science/math/eukleides/gs-allowpstransparency.patch
···
1
1
+
--- a/bash/euktopdf
2
2
+
+++ b/bash/euktopdf
3
3
+
@@ -55,6 +55,6 @@ do
4
4
+
exit 1
5
5
+
fi
6
6
+
dvips -q -E -o $base.eps $base.dvi &&
7
7
+
- epstopdf $base.eps &&
8
8
+
+ epstopdf --gsopt=-dALLOWPSTRANSPARENCY $base.eps &&
9
9
+
rm -f $base.{tex,log,dvi,eps}
10
10
+
done