From 91279390710954519be79cff8388873888bf2f42 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 1 Jul 2017 15:56:12 +0200 Subject: 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. --- TOOLS/gen-x11-icon.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 TOOLS/gen-x11-icon.sh (limited to 'TOOLS') 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 -- cgit v1.2.3