view pixmaps/gen-inline-pixbufs.sh @ 7858:e90a16795c74 v7.4.1226

commit https://github.com/vim/vim/commit/3803bad99de92f4c5ebd6f40b757bc7ade47619e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 17:56:07 2016 +0100 patch 7.4.1226 Problem: GRESOURCE_HDR is unused. Solution: Remove it. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Jan 2016 18:00:04 +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