view pixmaps/gen-inline-pixbufs.sh @ 10283:146abb526e82 v8.0.0038

commit https://github.com/vim/vim/commit/ca291aec99b60fe81eaab36aa718e51421bb88d5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 15 19:33:50 2016 +0200 patch 8.0.0038 Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland files. Solution: Check for __FreeBSD_kernel__. (James McCoy, closes https://github.com/vim/vim/issues/1166)
author Christian Brabandt <cb@256bit.org>
date Sat, 15 Oct 2016 19:45:04 +0200
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