From c3c9858282c6566a6cf0e6036a0993c356672ed3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 12 Oct 2017 14:38:48 +0900 Subject: add ketcindy starter --- bin/amd64-freebsd/ketcindy | 1 + bin/amd64-netbsd/ketcindy | 1 + bin/armel-linux/ketcindy | 1 + bin/armhf-linux/ketcindy | 1 + bin/i386-cygwin/ketcindy | 1 + bin/i386-darwin/ketcindy | 1 + bin/i386-freebsd/ketcindy | 1 + bin/i386-linux/ketcindy | 1 + bin/i386-netbsd/ketcindy | 1 + bin/i386-solaris/ketcindy | 1 + bin/powerpc-darwin/ketcindy | 1 + bin/powerpc-linux/ketcindy | 1 + bin/sparc-solaris/ketcindy | 1 + bin/x86_64-cygwin/ketcindy | 1 + bin/x86_64-darwin/ketcindy | 1 + bin/x86_64-darwinlegacy/ketcindy | 1 + bin/x86_64-linux/ketcindy | 1 + bin/x86_64-solaris/ketcindy | 1 + texmf-dist/scripts/ketpic/ketcindy.sh | 38 +++++++++++++++++++++++++++++++++++ tlpkg/tlpsrc/ketpic.tlpsrc | 1 + 20 files changed, 57 insertions(+) create mode 120000 bin/amd64-freebsd/ketcindy create mode 120000 bin/amd64-netbsd/ketcindy create mode 120000 bin/armel-linux/ketcindy create mode 120000 bin/armhf-linux/ketcindy create mode 120000 bin/i386-cygwin/ketcindy create mode 120000 bin/i386-darwin/ketcindy create mode 120000 bin/i386-freebsd/ketcindy create mode 120000 bin/i386-linux/ketcindy create mode 120000 bin/i386-netbsd/ketcindy create mode 120000 bin/i386-solaris/ketcindy create mode 120000 bin/powerpc-darwin/ketcindy create mode 120000 bin/powerpc-linux/ketcindy create mode 120000 bin/sparc-solaris/ketcindy create mode 120000 bin/x86_64-cygwin/ketcindy create mode 120000 bin/x86_64-darwin/ketcindy create mode 120000 bin/x86_64-darwinlegacy/ketcindy create mode 120000 bin/x86_64-linux/ketcindy create mode 120000 bin/x86_64-solaris/ketcindy create mode 100755 texmf-dist/scripts/ketpic/ketcindy.sh diff --git a/bin/amd64-freebsd/ketcindy b/bin/amd64-freebsd/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/amd64-freebsd/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/amd64-netbsd/ketcindy b/bin/amd64-netbsd/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/amd64-netbsd/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/armel-linux/ketcindy b/bin/armel-linux/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/armel-linux/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/armhf-linux/ketcindy b/bin/armhf-linux/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/armhf-linux/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-cygwin/ketcindy b/bin/i386-cygwin/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-cygwin/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-darwin/ketcindy b/bin/i386-darwin/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-darwin/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-freebsd/ketcindy b/bin/i386-freebsd/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-freebsd/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-linux/ketcindy b/bin/i386-linux/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-linux/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-netbsd/ketcindy b/bin/i386-netbsd/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-netbsd/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/i386-solaris/ketcindy b/bin/i386-solaris/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/i386-solaris/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/powerpc-darwin/ketcindy b/bin/powerpc-darwin/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/powerpc-darwin/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/powerpc-linux/ketcindy b/bin/powerpc-linux/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/powerpc-linux/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/sparc-solaris/ketcindy b/bin/sparc-solaris/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/sparc-solaris/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/x86_64-cygwin/ketcindy b/bin/x86_64-cygwin/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/x86_64-cygwin/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/x86_64-darwin/ketcindy b/bin/x86_64-darwin/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/x86_64-darwin/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/x86_64-darwinlegacy/ketcindy b/bin/x86_64-darwinlegacy/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/x86_64-darwinlegacy/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/x86_64-linux/ketcindy b/bin/x86_64-linux/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/x86_64-linux/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/bin/x86_64-solaris/ketcindy b/bin/x86_64-solaris/ketcindy new file mode 120000 index 00000000..c25f161b --- /dev/null +++ b/bin/x86_64-solaris/ketcindy @@ -0,0 +1 @@ +../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file diff --git a/texmf-dist/scripts/ketpic/ketcindy.sh b/texmf-dist/scripts/ketpic/ketcindy.sh new file mode 100755 index 00000000..344cbb23 --- /dev/null +++ b/texmf-dist/scripts/ketpic/ketcindy.sh @@ -0,0 +1,38 @@ +#!/bin/sh +# +# KETCindy starter script +# + +BinaryName=Cinderella2 +TemplateFile=template.cdy + +if [ "$1" = "-c" ] +then + shift + cinderella="$1" +else + cinderella=`which $BinaryName 2>/dev/null` +fi + +if [ -z "$cinderella" ] +then + echo "Cannot find $BinaryName!" >&2 + exit 1 +fi + +if [ ! -x "$cinderella" ] ; then + echo "Program $cinderella is not executable!" >&2 + exit 1 +fi + +# search for template.cdy +TempCdy=`kpsewhich -format=texmfscripts $TemplateFile` + +if [ -z "$TempCdy" ] +then + echo "Cannot find $TemplateFile via kpsewhich, is ketpic installed?" >&2 + exit 1 +fi + +exec "$cinderella" "$TempCdy" + diff --git a/tlpkg/tlpsrc/ketpic.tlpsrc b/tlpkg/tlpsrc/ketpic.tlpsrc index e69de29b..403a3ef6 100644 --- a/tlpkg/tlpsrc/ketpic.tlpsrc +++ b/tlpkg/tlpsrc/ketpic.tlpsrc @@ -0,0 +1 @@ +binpattern f bin/${ARCH}/ketcindy -- cgit v1.2.3