tribler: strip pngs (close #8810)
This prevents libpng exceptions from being thrown. Accepted upstream: https://github.com/Tribler/tribler/pull/1561
This commit is contained in:
parent
068db75d68
commit
225ae4c5f8
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages, makeWrapper, nettools, libtorrentRasterbar
|
{ stdenv, fetchurl, pythonPackages, makeWrapper, nettools, libtorrentRasterbar, imagemagick
|
||||||
, enablePlayer ? false, vlc ? null }:
|
, enablePlayer ? false, vlc ? null }:
|
||||||
|
|
||||||
|
|
||||||
@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
pythonPackages.python
|
pythonPackages.python
|
||||||
pythonPackages.wrapPython
|
pythonPackages.wrapPython
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
imagemagick
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = [
|
pythonPath = [
|
||||||
@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
|
find . -name '*.png' -exec convert -strip {} {} \;
|
||||||
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
|
# Nasty hack; call wrapPythonPrograms to set program_PYTHONPATH.
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user