diff options
author | wm4 <wm4@nowhere> | 2017-07-01 15:56:12 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-07-01 15:56:12 +0200 |
commit | 91279390710954519be79cff8388873888bf2f42 (patch) | |
tree | e166303643359dba10aba888486b6cf642ead30d /TOOLS | |
parent | aee81828e2e627ca33e66f87428add220b06f7a7 (diff) | |
download | mpv-91279390710954519be79cff8388873888bf2f42.tar.bz2 mpv-91279390710954519be79cff8388873888bf2f42.tar.xz |
x11: load icon differently
Now it's sourced from the etc/ PNG files directly, instead of
preprocessing them with imagemagick.
Add some ad-hoc code to decode PNG files with libavcodec. At least we
can drop the zlib code in exchange.
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/gen-x11-icon.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/TOOLS/gen-x11-icon.sh b/TOOLS/gen-x11-icon.sh deleted file mode 100755 index 34823aa710..0000000000 --- a/TOOLS/gen-x11-icon.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# This script is expected to be called as TOOLS/gen-x11-icon.sh (it will access -# etc/mpv-icon...), and it will write video/out/x11_icon.bin. - -conv() { - echo - echo `identify -format "icon: %w %h" "$1"` - convert "$1" -depth 8 rgba:- -} - -(echo "# File generated by gen-x11-icon.sh" ; - conv etc/mpv-icon-8bit-16x16.png ; - conv etc/mpv-icon-8bit-32x32.png ; - conv etc/mpv-icon-8bit-64x64.png) | gzip -c > video/out/x11_icon.bin |