summaryrefslogtreecommitdiffstats
path: root/pixmaps/gen-inline-pixbufs.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:44:24 +0000
commit8baab3c8d7a6f22888bd581cd5c6098fd2e4b5a8 (patch)
tree3537e168b860f2742f6029d70501b5ed7d15d345 /pixmaps/gen-inline-pixbufs.sh
parentInitial commit. (diff)
downloadvim-upstream.tar.xz
vim-upstream.zip
Adding upstream version 2:8.1.0875.upstream/2%8.1.0875upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pixmaps/gen-inline-pixbufs.sh')
-rw-r--r--pixmaps/gen-inline-pixbufs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/pixmaps/gen-inline-pixbufs.sh b/pixmaps/gen-inline-pixbufs.sh
new file mode 100644
index 0000000..8e11a23
--- /dev/null
+++ b/pixmaps/gen-inline-pixbufs.sh
@@ -0,0 +1,13 @@
+#! /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
+