From ac4e58eccab2dbf0b957d99edbd05ae1a6053dcd Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 10 Feb 2016 14:58:55 +0000 Subject: gregorio 4.1.0-beta3 git-svn-id: svn://tug.org/texlive/trunk@39657 c570f23f-e606-0410-a88d-b1316a301751 --- .../gregorio/gregorio-src/contrib/._Makefile.am | Bin 0 -> 171 bytes .../gregorio-src/contrib/._system-setup.bat | Bin 0 -> 171 bytes .../gregorio-src/contrib/._system-setup.command | Bin 0 -> 171 bytes .../texk/gregorio/gregorio-src/contrib/Makefile.am | 2 +- .../gregorio/gregorio-src/contrib/system-setup.bat | 17 +- .../gregorio-src/contrib/system-setup.command | 178 +++++++++++++++++++++ .../gregorio/gregorio-src/contrib/system-setup.sh | 141 ---------------- 7 files changed, 188 insertions(+), 150 deletions(-) create mode 100644 Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am create mode 100644 Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat create mode 100644 Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command create mode 100644 Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command delete mode 100755 Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh (limited to 'Build/source/texk/gregorio/gregorio-src/contrib') diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am new file mode 100644 index 00000000000..cd621b2a872 Binary files /dev/null and b/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am differ diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat new file mode 100644 index 00000000000..6adb72ec537 Binary files /dev/null and b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat differ diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command new file mode 100644 index 00000000000..14f037e2011 Binary files /dev/null and b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command differ diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am index e6f542dfec3..d4919a81fae 100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am +++ b/Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am @@ -15,4 +15,4 @@ # You should have received a copy of the GNU General Public License # along with Gregorio. If not, see . -EXTRA_DIST = gprocess gabc.xml gabc.lang gabc.vim 900_gregorio.xml gregorio-scribus.lua gregorio.png gabc-syntax.plist README.md TeXShop system-setup.sh system-setup.bat config-texworks.command +EXTRA_DIST = gprocess gabc.xml gabc.lang gabc.vim 900_gregorio.xml gregorio-scribus.lua gregorio.png gabc-syntax.plist README.md TeXShop system-setup.command system-setup.bat config-texworks.command diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat index 755b8e9c210..8927080765d 100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat +++ b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat @@ -90,22 +90,23 @@ echo. >> %output% echo #### GregorioTeX Locations >> %output% echo. >> %output% -set files=gregoriotex.sty ^ +set files=gregorio-vowels.dat ^ gregoriosyms.sty ^ -gregoriotex.tex ^ -gregoriotex-main.tex ^ gregoriotex-chars.tex ^ +gregoriotex-main.tex ^ gregoriotex-ictus.tex ^ -gregoriotex-signs.tex ^ +gregoriotex-nabc.lua ^ +gregoriotex-nabc.tex ^ gregoriotex-signs.lua ^ -gregoriotex-symbols.tex ^ +gregoriotex-signs.tex ^ gregoriotex-spaces.tex ^ gregoriotex-syllable.tex ^ -gregoriotex-nabc.tex ^ -gregoriotex-nabc.lua ^ +gregoriotex-symbols.lua ^ +gregoriotex-symbols.tex ^ gregoriotex.lua ^ +gregoriotex.sty ^ +gregoriotex.tex ^ gsp-default.tex ^ -gregorio-vowels.dat ^ greciliae.ttf ^ greciliae-op.ttf ^ greextra.ttf ^ diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command new file mode 100644 index 00000000000..3280154b333 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command @@ -0,0 +1,178 @@ +#!/usr/bin/env bash + +# This script generates a log detailing information about your computer. +# You can run it by double clicking on it on a Mac. +# On Linux this behavior is controlled by a preference. See http://askubuntu.com/questions/286621/how-do-i-run-executable-scripts-in-nautilus for details. +# If prompted, you need to select "Run in Terminal" to see the output. + +#This trap combination allows the window to linger long enough for the user to +#inspect the output, but still get closed when all is said and done. +function quit { + read -n1 -r -p "Press any key to close window." key + if $mac; then + osascript -e 'tell application "Terminal" to close front window' > /dev/null 2>&1 & + else + exit + fi +} + +trap quit EXIT + +case "$(uname -s)" in + Darwin) + echo 'Mac OS X detected' + mac=true + ;; + Linux) + echo 'Linux detected' + mac=false + ;; + *) + echo 'Unsupported OS detected' + exit 1 + ;; +esac + + +HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +OUTPUT=$HERE/system-setup.log + +echo "Gregorio Unix Setup Diagnostic Tool" +echo "(C) 2015 The Gregorio Project." +echo "" +echo "Gregorio is free software: you can redistribute it and/or modify" +echo "it under the terms of the GNU General Public License as published by" +echo "the Free Software Foundation, either version 3 of the License, or" +echo "(at your option) any later version." +echo "" +echo "This program is distributed in the hope that it will be useful," +echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" +echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" +echo "GNU General Public License for more details." +echo "" +echo "You should have received a copy of the GNU General Public License" +echo "along with this program. If not, see http://www.gnu.org/licenses/." +echo "" +echo "Creating system-setup.log..." + +echo "### Gregorio Unix Setup Results" > $OUTPUT +echo "#### Created: `date`" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### OS Version" >> $OUTPUT +uname -v >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### LuaTeX Setup" >> $OUTPUT +echo "#### Version" >> $OUTPUT +echo "" >> $OUTPUT +luatex -v >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Location" >> $OUTPUT +echo "" >> $OUTPUT +which -a luatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "#### TEXMFLOCAL" >> $OUTPUT +echo "" >> $OUTPUT +kpsewhich --var-value TEXMFLOCAL >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### TEXINPUTS.lualatex" >> $OUTPUT +kpsewhich --var-value=TEXINPUTS.lualatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### LUAINPUTS.lualatex" >> $OUTPUT +kpsewhich --var-value=LUAINPUTS.lualatex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### shell_escape" >> $OUTPUT +kpsewhich --var-value=shell_escape >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Shell Escape Commands" >> $OUTPUT +kpsewhich --var-value=shell_escape_commands >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### openout_any" >> $OUTPUT +kpsewhich --var-value=openout_any >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### openin_any" >> $OUTPUT +kpsewhich --var-value=openin_any >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "### Gregorio Setup" >> $OUTPUT +echo "#### Version" >> $OUTPUT +echo "" >> $OUTPUT +gregorio -V >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### Location" >> $OUTPUT +echo "" >> $OUTPUT +which -a gregorio >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### GregorioTeX Locations" >> $OUTPUT +echo "" >> $OUTPUT + +files="gregorio-vowels.dat +gregoriosyms.sty +gregoriotex-chars.tex +gregoriotex-main.tex +gregoriotex-ictus.tex +gregoriotex-nabc.lua +gregoriotex-nabc.tex +gregoriotex-signs.lua +gregoriotex-signs.tex +gregoriotex-spaces.tex +gregoriotex-syllable.tex +gregoriotex-symbols.lua +gregoriotex-symbols.tex +gregoriotex.lua +gregoriotex.sty +gregoriotex.tex +gsp-default.tex +greciliae.ttf +greciliae-op.ttf +greextra.ttf +gregorio.ttf +gregorio-op.ttf +gresym.ttf +parmesan.ttf +parmesan-op.ttf +gregall.ttf +gregsmodern.ttf" + +for f in $files +do + echo "##### $f" >> $OUTPUT + kpsewhich -all $f >> $OUTPUT 2>&1 +done + +echo "" >> $OUTPUT +echo "#### kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty" >> $OUTPUT +kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "#### kpsewhich --all -engine luatex gregoriotex.tex" >> $OUTPUT +kpsewhich --all -engine luatex gregoriotex.tex >> $OUTPUT 2>&1 +echo "" >> $OUTPUT +echo "" >> $OUTPUT +echo "-----------------------------------------------------------------------------" >> $OUTPUT +echo "" >> $OUTPUT +echo "" >> $OUTPUT + +echo "" +echo "" +echo "system-setup.log created and saved the working directory from which you" +echo "ran this script. Please email it to gregorio-users@gna.org as part of" +echo "your bug report." +echo "" +echo "You can also create an issue at " +echo "http://github.org/gregorio-project/gregorio/issues" +echo "and copy-paste the content of this file into the description." +echo "" +exit 0 + diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh deleted file mode 100755 index 3c320d0927c..00000000000 --- a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh +++ /dev/null @@ -1,141 +0,0 @@ -#!/usr/bin/env bash - -HERE=`pwd` -OUTPUT=$HERE/system-setup.log - -echo "Gregorio Unix Setup Diagnostic Tool" -echo "(C) 2015 The Gregorio Project." -echo "" -echo "Gregorio is free software: you can redistribute it and/or modify" -echo "it under the terms of the GNU General Public License as published by" -echo "the Free Software Foundation, either version 3 of the License, or" -echo "(at your option) any later version." -echo "" -echo "This program is distributed in the hope that it will be useful," -echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" -echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" -echo "GNU General Public License for more details." -echo "" -echo "You should have received a copy of the GNU General Public License" -echo "along with this program. If not, see http://www.gnu.org/licenses/." -echo "" -echo "Creating system-setup.log..." - -echo "### Gregorio Unix Setup Results" > $OUTPUT -echo "#### Created: `date`" >> $OUTPUT -echo "-----------------------------------------------------------------------------" >> $OUTPUT -echo "" >> $OUTPUT -echo "" >> $OUTPUT - -echo "### OS Version" >> $OUTPUT -uname -v >> $OUTPUT -echo "" >> $OUTPUT -echo "" >> $OUTPUT -echo "-----------------------------------------------------------------------------" >> $OUTPUT -echo "" >> $OUTPUT -echo "" >> $OUTPUT - -echo "### LuaTeX Setup" >> $OUTPUT -echo "#### Version" >> $OUTPUT -echo "" >> $OUTPUT -luatex -v >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### Location" >> $OUTPUT -echo "" >> $OUTPUT -which -a luatex >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "" >> $OUTPUT -echo "#### TEXMFLOCAL" >> $OUTPUT -echo "" >> $OUTPUT -kpsewhich --var-value TEXMFLOCAL >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### TEXINPUTS.lualatex" >> $OUTPUT -kpsewhich --var-value=TEXINPUTS.lualatex >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### LUAINPUTS.lualatex" >> $OUTPUT -kpsewhich --var-value=LUAINPUTS.lualatex >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### shell_escape" >> $OUTPUT -kpsewhich --var-value=shell_escape >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### Shell Escape Commands" >> $OUTPUT -kpsewhich --var-value=shell_escape_commands >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### openout_any" >> $OUTPUT -kpsewhich --var-value=openout_any >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### openin_any" >> $OUTPUT -kpsewhich --var-value=openin_any >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "" >> $OUTPUT -echo "-----------------------------------------------------------------------------" >> $OUTPUT -echo "" >> $OUTPUT -echo "" >> $OUTPUT - -echo "### Gregorio Setup" >> $OUTPUT -echo "#### Version" >> $OUTPUT -echo "" >> $OUTPUT -gregorio -V >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### Location" >> $OUTPUT -echo "" >> $OUTPUT -which -a gregorio >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### GregorioTeX Locations" >> $OUTPUT -echo "" >> $OUTPUT - -files="gregoriotex.sty -gregoriosyms.sty -gregoriotex.tex -gregoriotex-main.tex -gregoriotex-chars.tex -gregoriotex-ictus.tex -gregoriotex-signs.tex -gregoriotex-signs.lua -gregoriotex-symbols.tex -gregoriotex-spaces.tex -gregoriotex-syllable.tex -gregoriotex-nabc.tex -gregoriotex-nabc.lua -gregoriotex.lua -gsp-default.tex -gregorio-vowels.dat -greciliae.ttf -greciliae-op.ttf -greextra.ttf -gregorio.ttf -gregorio-op.ttf -gresym.ttf -parmesan.ttf -parmesan-op.ttf -gregall.ttf -gregsmodern.ttf" - -for f in $files -do - echo "##### $f" >> $OUTPUT - kpsewhich -all $f >> $OUTPUT 2>&1 -done - -echo "" >> $OUTPUT -echo "#### kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty" >> $OUTPUT -kpsewhich --all -engine luatex -progname lualatex gregoriotex.sty >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "#### kpsewhich --all -engine luatex gregoriotex.tex" >> $OUTPUT -kpsewhich --all -engine luatex gregoriotex.tex >> $OUTPUT 2>&1 -echo "" >> $OUTPUT -echo "" >> $OUTPUT -echo "-----------------------------------------------------------------------------" >> $OUTPUT -echo "" >> $OUTPUT -echo "" >> $OUTPUT - -echo "" -echo "" -echo "system-setup.log created and saved the working directory from which you" -echo "ran this script. Please email it to gregorio-users@gna.org as part of" -echo "your bug report." -echo "" -echo "You can also create an issue at " -echo "http://github.org/gregorio-project/gregorio/issues" -echo "and copy-paste the content of this file into the description." -echo "" -- cgit v1.2.3