view pixmaps/gen-inline-pixbufs.sh @ 8214:51b4fba718bf v7.4.1400

commit https://github.com/vim/vim/commit/254ebaf068919407de6bd83ac905bd2f36ad944e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 23 16:06:28 2016 +0100 patch 7.4.1400 Problem: Perl eval doesn't work properly on 64-bit big-endian machine. Solution: Use 32 bit type for the key. (Danek Duvall)
author Christian Brabandt <cb@256bit.org>
date Tue, 23 Feb 2016 16:15:05 +0100
parents 3fc0f57ecb91
children d4faa2c5211b
line wrap: on
line source

#! /bin/sh

prefix=stock_
list=

for file in "$@"
do
    name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
    list="$list $prefix$name $file"
done

gdk-pixbuf-csource --raw --static --build-list $list