diff options
Diffstat (limited to 'Build/source/texk/gregorio/gregorio-src/contrib')
-rw-r--r-- | Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am | bin | 0 -> 171 bytes | |||
-rw-r--r-- | Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat | bin | 0 -> 171 bytes | |||
-rw-r--r-- | Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command | bin | 0 -> 171 bytes | |||
-rw-r--r-- | Build/source/texk/gregorio/gregorio-src/contrib/Makefile.am | 2 | ||||
-rw-r--r-- | Build/source/texk/gregorio/gregorio-src/contrib/system-setup.bat | 17 | ||||
-rw-r--r--[-rwxr-xr-x] | Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command (renamed from Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh) | 57 |
6 files changed, 57 insertions, 19 deletions
diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am b/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am Binary files differnew file mode 100644 index 00000000000..cd621b2a872 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/._Makefile.am diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat Binary files differnew file mode 100644 index 00000000000..6adb72ec537 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.bat diff --git a/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command Binary files differnew file mode 100644 index 00000000000..14f037e2011 --- /dev/null +++ b/Build/source/texk/gregorio/gregorio-src/contrib/._system-setup.command 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 <http://www.gnu.org/licenses/>. -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.sh b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command index 3c320d0927c..3280154b333 100755..100644 --- a/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.sh +++ b/Build/source/texk/gregorio/gregorio-src/contrib/system-setup.command @@ -1,6 +1,40 @@ #!/usr/bin/env bash -HERE=`pwd` +# 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" @@ -84,22 +118,23 @@ echo "" >> $OUTPUT echo "#### GregorioTeX Locations" >> $OUTPUT echo "" >> $OUTPUT -files="gregoriotex.sty +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 @@ -138,4 +173,6 @@ 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 "" +echo "" +exit 0 + |