summaryrefslogtreecommitdiff
path: root/Build/source/texk/gregorio
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/gregorio')
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1-PATCHES/patch-01-protos4
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.Debian8
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.md51
-rwxr-xr-xBuild/source/texk/gregorio/gregorio-4.0.0-rc1/debian/build-deb.sh70
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/changelog158
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/compat1
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/control28
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/copyright152
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregorio.docs5
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.dirs5
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.docs2
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.install6
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/manpage.xml224
-rwxr-xr-xBuild/source/texk/gregorio/gregorio-4.0.0-rc1/debian/rules90
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/source/format1
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/watch4
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioNabcRef-4_0_0-rc1.pdfbin274464 -> 274430 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioRef-4_0_0-rc1.pdfbin479456 -> 500289 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/README.md19
-rwxr-xr-xBuild/source/texk/gregorio/gregorio-4.0.0-rc1/doc_check.sh118
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.md22
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.txt16
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-32.bmpbin4150 -> 0 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-image.bmpbin154542 -> 0 bytes
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio.iss187
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-mt.lua132
-rw-r--r--Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-tl.lua189
27 files changed, 2 insertions, 1490 deletions
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1-PATCHES/patch-01-protos b/Build/source/texk/gregorio/gregorio-4.0.0-rc1-PATCHES/patch-01-protos
index 80db4ed859a..f4efe78f7fc 100644
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1-PATCHES/patch-01-protos
+++ b/Build/source/texk/gregorio/gregorio-4.0.0-rc1-PATCHES/patch-01-protos
@@ -1,5 +1,5 @@
diff -ur gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination.y gregorio-4.0.0-rc1/src/gabc/gabc-score-determination.y
---- gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination.y 2015-10-09 09:55:06.879752526 +0200
+--- gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination.y 2015-10-09 03:44:39.000000000 +0200
+++ gregorio-4.0.0-rc1/src/gabc/gabc-score-determination.y 2015-10-09 09:50:00.000000000 +0200
@@ -412,7 +412,7 @@
current_syllable->translation_type = TR_NORMAL;
@@ -11,7 +11,7 @@ diff -ur gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination.y gregorio-4.
bool has_initial = score->initial_style != NO_INITIAL;
diff -ur gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination-y.c gregorio-4.0.0-rc1/src/gabc/gabc-score-determination-y.c
---- gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination-y.c 2015-10-09 09:55:07.343739207 +0200
+--- gregorio-4.0.0-rc1.orig/src/gabc/gabc-score-determination-y.c 2015-10-09 12:17:57.000000000 +0200
+++ gregorio-4.0.0-rc1/src/gabc/gabc-score-determination-y.c 2015-10-09 09:50:07.000000000 +0200
@@ -486,7 +486,7 @@
current_syllable->translation_type = TR_NORMAL;
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.Debian b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.Debian
deleted file mode 100644
index b9637094cb6..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.Debian
+++ /dev/null
@@ -1,8 +0,0 @@
-README file for Gregorio under DEBIAN GNU/Linux systems
-
-After the installation of gregorio, if you want to benefit from the macros
-compiling directly gabc fils in GregorioTeX (like \includescore), you
-have to add gregorio to the list of programs allowed to run from TeX
-by TeXLive. To do so, you have to modify /etc/texmf/texmf.cnf and add
-gregorio to the list 'shell_escape_commands'.
-
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.md b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.md
deleted file mode 100644
index fad207258d0..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# Building Gregorio for Debian
-
-This directory contains the files to build the deb packages for Gregorio. It requires a Debian-based Linux distribution (Debian, Ubuntu, Mint, etc.).
-
-### Simple build
-
-If you just want `.deb` packages for personal use, simply run
-
- ./build-deb.sh
-
-This will create the deb files in `build/`.
-
-### Using the PPA
-
-The Gregorio Project has set up a custom Ubuntu repository where recent versions of Gregorio are uploaded: [https://launchpad.net/~gregorio-project/+archive/ubuntu/gregorio](https://launchpad.net/~gregorio-project/+archive/ubuntu/gregorio). The previous link contains information on how to use it.
-
-#### Building package for the PPA
-
-First, if you want to upload packages for the PPA, create a [Launchpad](https://launchpad.net/) account and ask a member of the [gregorio team](https://launchpad.net/~gregorio-project) to invite you.
-
-To prepare packages for Launchpad you need some specific settings:
-
- * Launchpad automatically builds the binary packages, so only source packages has to be uploaded
- * it doesn't accept non-Ubuntu distribution, so you have to put an Ubuntu version in the source package
- * you need to sign the package; for this, you need to have a GPG key (`gpg --gen-key` shoud be enough), and have it uploaded on your launchpad account
-
-Once you know what you're doing, run
-
- ./build-deb.sh --source --email=*youremail* --fullname=*yourfullname* --version=*ubuntuversion*
-
-where *youremail* and *yourfullname* are the email and full name associated to your gpg key, and *ubuntuversion* is a valid Ubuntu version (e.g. `trusty`).
-
-It should build the necessary packages in `build/`.
-
-#### Uploading
-
-To upload the packages, from Ubuntu run
-
- dput ppa:gregorio-project/gregorio build/gregorio*.changes
-
-or from Debian, create a `.dput.cf` file in your home directory containing
-
- [ppa-gregorio]
- fqdn = ppa.launchpad.net
- method = ftp
- incoming = ~gregorio-project/gregorio
- login = anonymous
-
-and run
-
- dput ppa-gregorio build/gregorio*.changes
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/build-deb.sh b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/build-deb.sh
deleted file mode 100755
index 65293667529..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/build-deb.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/usr/bin/env bash
-#
-# This is a very simple and naive script to build the debian packages, in case
-# it can be useful.
-
-DEBFULLNAME='Gregorio Builder'
-DEBEMAIL='gregorio-devel@gna.org'
-DEBVERSION='UNRELEASED'
-
-until [ -z "$1" ]; do
- case "$1" in
- --clean ) CLEAN=TRUE ;;
- --lint ) LINT=TRUE ;;
- --git ) GIT=TRUE ;;
- --source ) SOURCE=TRUE ;;
- --fullname=* ) DEBFULLNAME=`echo $1 | sed 's/--fullname=\(.*\)/\1/' ` ;;
- --version=* ) DEBVERSION=`echo $1 | sed 's/--version=\(.*\)/\1/' ` ;;
- --email=* ) DEBEMAIL=`echo $1 | sed 's/--email=\(.*\)/\1/' ` ;;
- * ) echo "ERROR: invalid build.sh parameter: $1"; exit 1 ;;
- esac
- shift
-done
-
-VERSION=`cd .. && ./VersionManager.py --get-current`
-if [ "$GIT" = "TRUE" ]
-then
- DEBIAN_VERSION=`cd .. && ./VersionManager.py --get-debian-git`
-else
- DEBIAN_VERSION=`cd .. && ./VersionManager.py --get-debian-stable`
-fi
-
-if [ "$CLEAN" = "TRUE" ]
-then
- rm -rf build/
-else
- if [ "$LINT" = "TRUE" ]
- then
- lintian gregorio_$DEBIAN_VERSION*.changes
- else
- rm -rf build/
- mkdir -p build
- cd ..
- autoreconf -f -i
- ./configure
- make dist
- mv gregorio-$VERSION.tar.bz2 debian/build/
- cd debian/build
- tar xjf gregorio-$VERSION.tar.bz2
- mv gregorio-$VERSION.tar.bz2 gregorio_$DEBIAN_VERSION.orig.tar.bz2
- cd gregorio-$VERSION
- ./configure
- mkdir -p debian/
- cp ../../../debian/* debian/
- cp -R ../../../debian/source debian/
- rm debian/README.md debian/build-deb.sh
- sed -i "s/UNRELEASED/$DEBVERSION/g" debian/changelog
- echo "gregorio ($DEBIAN_VERSION-1) $DEBVERSION; urgency=low
-
- * Auto build.
- -- $DEBFULLNAME <$DEBEMAIL> $(date -R)
-
-$(cat debian/changelog)" > debian/changelog
- if [ "$SOURCE" = "TRUE" ]
- then
- dpkg-buildpackage -S
- else
- dpkg-buildpackage
- fi
- fi
-fi
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/changelog b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/changelog
deleted file mode 100644
index 3e26decfbcc..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/changelog
+++ /dev/null
@@ -1,158 +0,0 @@
-gregorio (3.0.0-1) UNRELEASED; urgency=low
-
- * New upstream version:
- - New incompatible format of space configuration files (`gsp-xxx.tex`)
- - Possibility to scale or not distances with staff size
- - Clivis stem length follow Solesmes' books conventions
- - \setstafflinethickness controls the thickness of the staff lines
- - New PDF documentation for GregorioTeX (UserManual.pdf)
- - \includescore has super powers deprecating previous score include macros
- - Added <nlba> markup in gabc to get areas with no line breaks
- - Added <c> markup in gabc to denote a change of color
- - Pressus maior liquescens: `hof~`
- - Torculus liquescent deminutus and quilisma version, gabc dfec~ and dwfec~
- - Virga aucta (for liquescent salicus), gabc "iv>"
- - \gremanualinitialwidth` macro to specify width of all initials
- - English centering scheme now available as GregorioTeX option
- - Fixing glyphs disapearing when importing into Illustrator
- - Quilisma was melting too much with next note when in a second interval
- - Low episemus ("_0") under consecutive notes are now aligned correctly
- - gabc "mode" and "anotation-line" now do their job
- - Reducing flat stem length
- - Reducing horizontal episemus width
- - Clivis alignment follows Solesmes' conventions more closely
- * New watch file for github
- * New documentation files
- * Bump Standards-Version to 3.9.6
- * Update gregorio.docs
- * Updating Vcs-Browser and Vcs-Git (formerly Vcs-Svn) fields
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Sun, 22 Mar 2015 17:45:45 +0200
-
-gregorio (2.3-1) unstable; urgency=low
-
- * New upstream version:
- - fixing absolute path handling
- - fixing several segfaults
- - fixing height of automatic custo
- - fixing height of the bars in some cases
- - fixing italic and bold automatic hyphen and ligatures
- - cs: field now accepts non-ascii characters
- - missing additional lines on porrectus
- - braces over the notes should now work as documented
- - vertical spaces are resetted between scores
- - errors now affect the return value
- - adapting to LuaTeX >= 0.75
- - droppint support for TeXLive < 2010
- - dropping support for Aleph/Omega
- - font system is now based on ttf files
- - fixing lintian warnings and errors
- * New watch file
- * Bump Standards-Version to 3.9.4.0
- * Build-Depends on dh-autoreconf and dpkg-dev
- * Bump compat to 9
- * New maintainer (Closes: #675755)
- * Adding Vcs-Browser and Vcs-Svn fields
- * Switch to dpkg-source 3.0 (quilt) format
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Sat, 22 Jun 2013 14:50:45 +0200
-
-gregorio (2.0-1.2) unstable; urgency=low
-
- * Non-maintainer upload.
- * tex-common v3 transition:
- . build-depend on tex-common (>= 3)
- (debian/control)
- . remove obsolete conffile updmap.d/20gregoriotex.cfg
- (debian/gregoriotex.maintscript)
-
- -- Norbert Preining <preining@debian.org> Fri, 23 Mar 2012 11:26:28 +0900
-
-gregorio (2.0-1.1) unstable; urgency=low
-
- * Non-maintainer upload.
- * Empty dependency_libs (Closes: #621334).
-
- -- Luk Claes <luk@debian.org> Sat, 18 Jun 2011 19:29:34 +0200
-
-gregorio (2.0-1) unstable; urgency=low
-
- * New upstream release
- * New maintainer
- * Bump Standards-Version to 3.9.1.0
- * [gregoriotex] Add dependency on texlive-latex-extra
- * debian/gregorio.{postinst,postrm}: remove
- * debian/rules: fix calls to dh_clean
-
- -- Jérôme Marant <jerome@debian.org> Wed, 05 Jan 2011 22:19:35 +0100
-
-gregorio (1.0-1) unstable; urgency=low
-
- * New upstream version:
- - fixing a lot of bugs
- - changing the number of arguments of some TeX function
- - changing the glyph names
- - improving the spacings
- - better management of the penalty in TeX so that the line changes
- are more consistent
- - adding the possibility to put a flat after the clef
- - adding the possibility to put a custo before a clef change
- - changing the markup system in gabc to be more natural
- - adaptation to TeXLive 2010 for LuaTeX
-
- * Adding instructions about adding gregorio to the list of the
- programs allowed to be executed from TeX in the README.Debian
- * Closing bug #572470 (depending on autopoint)
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Sat, 29 May 2010 14:50:45 +0200
-
-gregorio (0.9.2-1) unstable; urgency=low
-
- * New upstream version:
- - fixing a lot of bugs
- - changing the number of arguments of some TeX function
- - changing the glyph names
- - LuaTeX additional functionalities
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Sun, 27 Dec 2008 11:19:26 +0200
-
-gregorio (0.9.1-1) unstable; urgency=low
-
- * New upstream version:
- - fixing a lot of small bugs
- - changing the number of arguments of some TeX functions
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Sun, 23 Nov 2008 16:19:26 +0200
-
-gregorio (0.9-1) unstable; urgency=low
-
- * New upstream version:
- - stabilizing the TeX API
- - adding support for Cygwin compilation
- - adding too many new features to be listed
-
- -- Elie Roux <elie.roux@telecom-bretagne.eu> Fri, 25 Jul 2008 14:19:26 +0200
-
-gregorio (0.3-1) unstable; urgency=low
-
- * New upstream version:
- - adding support for end of lines
- - changing the architecture of libraries and plugins
- - adding support for compilation on MAC OSX
-
- -- Elie Roux <elie.roux@enst-bretagne.fr> Fri, 18 Jan 2008 10:06:46 +0200
-
-gregorio (0.2.2-1) unstable; urgency=low
-
- * New upstream version:
- - adding support for styled text
- - correcting small bugs in OpusTeX output
- - changing GregorioXML on the text
-
- -- Elie Roux <elie.roux@enst-bretagne.fr> Thu, 14 Jun 2007 19:28:46 +0200
-
-gregorio (0.2.1-1) unstable; urgency=low
-
- * Initial debian release
-
- -- Elie Roux <elie.roux@enst-bretagne.fr> Mon, 04 Jun 2007 22:47:32 +0200
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/compat b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/compat
deleted file mode 100644
index ec635144f60..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/control b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/control
deleted file mode 100644
index ab2996dd1e7..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/control
+++ /dev/null
@@ -1,28 +0,0 @@
-Source: gregorio
-Section: x11
-Priority: optional
-Maintainer: Elie Roux <elie.roux@telecom-bretagne.eu>
-Build-Depends: dpkg-dev (>= 1.16.2), debhelper (>= 9), dh-autoreconf, autotools-dev, docbook-to-man, xsltproc, docbook-xsl, autopoint, libkpathsea-dev, pkg-config, tex-common
-Standards-Version: 3.9.6
-Homepage: http://gregorio-project.github.io/
-Vcs-Browser: https://github.com/gregorio-project/gregorio/
-Vcs-Git: https://github.com/gregorio-project/gregorio.git
-
-Package: gregorio
-Architecture: any
-Depends: libkpathsea6, ${misc:Depends}
-Recommends: gregoriotex
-Description: command-line tool to convert gabc scores into GregorioTeX
- Gregorio is a software application for engraving Gregorian Chant scores on a
- computer. Gregorio's main job is to convert a gabc file (simple text
- representation of a score) into a GregorioTeX file, which makes TeX able to
- create a PDF of your score.
-
-Package: gregoriotex
-Architecture: all
-Depends: luatex, texlive-luatex, ${misc:Depends}
-Recommends: gregorio
-Description: LuaTeX style for Gregorian chant scores
- GregorioTeX is a LuaTeX style for writing Gregorian chant scores.
- The code to write for a score is quite complex and should be written directly
- by the gregorio software.
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/copyright b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/copyright
deleted file mode 100644
index b86d8a68c55..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/copyright
+++ /dev/null
@@ -1,152 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: Gregorio
-Upstream-Contact: Elie Roux <elie.roux@telecom-bretagne.eu>
-Source: https://github.com/gregorio-project/gregorio/releases
-
-Files: *
-Copyright: 2008-2015 The Gregorio Project
-License: GPL-3+
-
-Files: fonts/gregorio*
-Copyright: 2008-2015 The Gregorio Project
-License: GPL-3font+
-
-Files: fonts/parmesan*
-Copyright: 2008-2015 Juergen Reuter, the Gregorio Project
-License: GPL-3font+
-
-Files: fonts/greciliae*
-Copyright: 2007 Matthew Spencer with Reserved Font Name Caeciliae
-License: OFL-1.1
-
-License: OFL-1.1
- PREAMBLE
- .
- The goals of the Open Font License (OFL) are to stimulate worldwide
- development of collaborative font projects, to support the font creation
- efforts of academic and linguistic communities, and to provide a free and
- open framework in which fonts may be shared and improved in partnership
- with others.
- .
- The OFL allows the licensed fonts to be used, studied, modified and
- redistributed freely as long as they are not sold by themselves. The
- fonts, including any derivative works, can be bundled, embedded,
- redistributed and/or sold with any software provided that any reserved
- names are not used by derivative works. The fonts and derivatives,
- however, cannot be released under any other type of license. The
- requirement for fonts to remain under this license does not apply
- to any document created using the fonts or their derivatives.
- .
- DEFINITIONS
- .
- "Font Software" refers to the set of files released by the Copyright
- Holder(s) under this license and clearly marked as such. This may
- include source files, build scripts and documentation.
- .
- "Reserved Font Name" refers to any names specified as such after the
- copyright statement(s).
- .
- "Original Version" refers to the collection of Font Software components as
- distributed by the Copyright Holder(s).
- .
- "Modified Version" refers to any derivative made by adding to, deleting,
- or substituting — in part or in whole — any of the components of the
- Original Version, by changing formats or by porting the Font Software to a
- new environment.
- .
- "Author" refers to any designer, engineer, programmer, technical
- writer or other person who contributed to the Font Software.
- .
- PERMISSION & CONDITIONS
- .
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
- redistribute, and sell modified and unmodified copies of the Font
- Software, subject to the following conditions:
- .
- 1) Neither the Font Software nor any of its individual components,
- in Original or Modified Versions, may be sold by itself.
- .
- 2) Original or Modified Versions of the Font Software may be bundled,
- redistributed and/or sold with any software, provided that each copy
- contains the above copyright notice and this license. These can be
- included either as stand-alone text files, human-readable headers or
- in the appropriate machine-readable metadata fields within text or
- binary files as long as those fields can be easily viewed by the user.
- .
- 3) No Modified Version of the Font Software may use the Reserved Font
- Name(s) unless explicit written permission is granted by the corresponding
- Copyright Holder. This restriction only applies to the primary font name as
- presented to the users.
- .
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
- Software shall not be used to promote, endorse or advertise any
- Modified Version, except to acknowledge the contribution(s) of the
- Copyright Holder(s) and the Author(s) or with their explicit written
- permission.
- .
- 5) The Font Software, modified or unmodified, in part or in whole,
- must be distributed entirely under this license, and must not be
- distributed under any other license. The requirement for fonts to
- remain under this license does not apply to any document created
- using the Font Software.
- .
- TERMINATION
- .
- This license becomes null and void if any of the above conditions are
- not met.
- .
- DISCLAIMER
- .
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
- OTHER DEALINGS IN THE FONT SOFTWARE.
-
-License: GPL-3+
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- .
- On Debian systems, the complete text of the GNU General Public
- License can be found in the file `/usr/share/common-licenses/GPL'.
-
-License: GPL-3font+
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- .
- On Debian systems, the complete text of the GNU General Public
- License can be found in the file `/usr/share/common-licenses/GPL'.
- .
- As a special exception, if you create a document which uses this font,
- and embed this font or unaltered portions of this font into the document,
- this font does not by itself cause the resulting document to be covered by
- the GNU General Public License. This exception does not however invalidate
- any other reasons why the document might be covered by the GNU General
- Public License. If you modify this font, you may extend this exception to
- your version of the font, but you are not obligated to do so. If you do not
- wish to do so, delete this exception statement from your version.
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregorio.docs b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregorio.docs
deleted file mode 100644
index abe86141691..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregorio.docs
+++ /dev/null
@@ -1,5 +0,0 @@
-README.md
-CONTRIBUTING.md
-CONTRIBUTORS.md
-CHANGELOG.md
-UPGRADE.md
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.dirs b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.dirs
deleted file mode 100644
index f011872104f..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.dirs
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/share/texmf/tex/luatex/gregoriotex
-usr/share/texmf/source/luatex/gregoriotex
-usr/share/texmf/doc/luatex/gregoriotex
-usr/share/texmf/fonts/truetype/public/gregoriotex
-usr/share/texmf/fonts/source/public/gregoriotex
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.docs b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.docs
deleted file mode 100644
index 76535e86342..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-fonts/README.md
-doc/GregorioRef-*.pdf
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.install b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.install
deleted file mode 100644
index 302de68a3ea..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/gregoriotex.install
+++ /dev/null
@@ -1,6 +0,0 @@
-tex/gregorio*.tex /usr/share/texmf/tex/luatex/gregoriotex
-tex/gsp-default.tex /usr/share/texmf/tex/luatex/gregoriotex
-tex/gregorio*.lua /usr/share/texmf/tex/luatex/gregoriotex
-tex/gregorio*.sty /usr/share/texmf/tex/luatex/gregoriotex
-fonts/*.ttf /usr/share/texmf/fonts/truetype/public/gregoriotex
-fonts/*.sfd /usr/share/texmf/fonts/source/public/gregoriotex
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/manpage.xml b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/manpage.xml
deleted file mode 100644
index 59ff7e056eb..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/manpage.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-
-<!--
-
-Process this file with an XSLT processor: `xsltproc \
--''-nonet /usr/share/xml/docbook/stylesheet/nwalsh/\
-manpages/docbook.xsl manpage.xml'. A manual page
-<package>.<section> will be generated. You may view the
-manual page with: nroff -man <package>.<section> | less'. A
-typical entry in a Makefile or Makefile.am is:
-
-DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/\
-docbook.xsl
-XP=xsltproc -''-nonet
-
-manpage.1: manpage.xml
- $(XP) $(DB2MAN) $<
-
-The xsltproc binary is found in the xsltproc package. The
-XSL files are in docbook-xsl. Please remember that if you
-create the nroff version in one of the debian/rules file
-targets (such as build), you will need to include xsltproc
-and docbook-xsl in your Build-Depends control field.
-
--->
-
- <!ENTITY dhfirstname "<firstname>Elie</firstname>">
- <!ENTITY dhsurname "<surname>Roux</surname>">
- <!-- Please adjust the date whenever revising the manpage. -->
- <!ENTITY dhdate "<date>juin 4, 2007</date>">
- <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
- allowed: see man(7), man(1). -->
- <!ENTITY dhsection "<manvolnum>1</manvolnum>">
- <!ENTITY dhemail "<email>elie.roux@enst-bretagne.fr</email>">
- <!ENTITY dhusername "Elie Roux">
- <!ENTITY dhucpackage "<refentrytitle>GREGORIO</refentrytitle>">
- <!ENTITY dhpackage "gregorio">
-
- <!ENTITY debian "<productname>Debian</productname>">
- <!ENTITY gnu "<acronym>GNU</acronym>">
- <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
-]>
-
-<refentry>
- <refentryinfo>
- <address>
- &dhemail;
- </address>
- <author>
- &dhfirstname;
- &dhsurname;
- </author>
- <copyright>
- <year>2007</year>
- <holder>&dhusername;</holder>
- </copyright>
- &dhdate;
- </refentryinfo>
- <refmeta>
- &dhucpackage;
-
- &dhsection;
- </refmeta>
- <refnamediv>
- <refname>&dhpackage;</refname>
-
- <refpurpose>tool for gregorian chant typesetting</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>&dhpackage;</command>
-
- <arg><option>-hvVWsSL</option></arg>
-
- <arg><option>-o <replaceable>file</replaceable></option></arg>
-
- <arg><option>-f <replaceable>format</replaceable></option></arg>
-
- <arg><option>-F <replaceable>format</replaceable></option></arg>
-
- <arg><option>-l <replaceable>error-file</replaceable></option></arg>
-
- <arg><option><replaceable>file</replaceable></option></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
- <refsect1>
- <title>DESCRIPTION</title>
-
- <para>This manual page documents briefly the
- <command>&dhpackage;</command> command.</para>
-
- <para><command>&dhpackage;</command> is the software of the gregorio project, that comes with a lot of functionalities. The goal is to describe and typeset a gregorian chant score very simply. The <command>&dhpackage;</command> command is there to read and write the formats handled by the Gregorio project. See FORMATS for details.</para>
-
- </refsect1>
- <refsect1>
- <title>OPTIONS</title>
-
- <para>These programs follow the usual &gnu; command line syntax,
- with long options starting with two dashes (`-'). A summary of
- options is included below.</para>
-
- <variablelist>
- <varlistentry>
- <term><option>-h</option>
- </term>
- <listitem>
- <para>Show summary of options.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-V</option>
- </term>
- <listitem>
- <para>Show version of program.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-L</option>
- </term>
- <listitem>
- <para>Show licence of program.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-v</option>
- </term>
- <listitem>
- <para>Set the program in verbose mode.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-W</option>
- </term>
- <listitem>
- <para>Show all warnings.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-s</option>
- </term>
- <listitem>
- <para>Read stdin as input.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-S</option>
- </term>
- <listitem>
- <para>Write output to stdout.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-F </option><replaceable>format</replaceable>
- </term>
- <listitem>
- <para>Sets the format of the produced file, where format is one of gabc, xml, otex, gtex, dump. See FORMATS for details. Default is gtex.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>-f </option><replaceable>format</replaceable>
- </term>
- <listitem>
- <para>Sets the format of the file to read, where format is one of gabc, xml. See FORMATS for details. Default it gabc.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
- <refsect1>
- <title>FORMATS</title>
- <variablelist>
- <varlistentry>
- <term><option>gabc</option></term>
- <listitem>
- <para>Gregorian abc. The most interesting part of the Gregorio project, it is a very simple language made to describe briefly and simply a gregorian chant score. The syntax is quite close to abc language.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>xml</option></term>
- <listitem>
- <para>GregorioXML is a XML language describing a gregorian chant score.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>gtex</option></term>
- <listitem>
- <para>GregorioTeX is the TeX style made by the Gregorio project. You must install the <command>gregoriotex</command> environment to use it (it usually comes with gregorio).</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>otex</option></term>
- <listitem>
- <para>OpusTeX is the most used TeX style to typeset a gregorian chant score. Install the <command>opustex</command> environment to use it.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term><option>dump</option></term>
- <listitem>
- <para>This output simply dumps the internal <command>gregorio</command> structure. Only for debugging.</para>
- </listitem>
- </varlistentry>
- </variablelist>
-
- </refsect1>
- <refsect1>
- <title>EXAMPLE</title>
- <variablelist>
- <varlistentry>
- <term><command>gregorio myfile.gabc</command></term>
- <listitem>
- <para>converts the gabc file into GregorioTeX, and writes the result to <command>myfile.tex</command>.</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsect1>
-
- <refsect1>
- <title>SEE ALSO</title>
-
- <para>http://home.gna.org/gregorio for a complete description of the formats.</para>
-
- </refsect1>
-</refentry>
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/rules b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/rules
deleted file mode 100755
index 8bfff91b518..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/rules
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-deb:
- debuild -i
-
-config.status:
- dh_testdir
- dh_autoreconf
- dh_auto_configure -- --with-kpathsea
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
- $(MAKE)
- xsltproc --nonet /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl debian/manpage.xml
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_auto_clean
- dh_autoreconf_clean
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f build-aux/config.sub
- rm -f build-aux/config.guess
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- $(MAKE) DESTDIR=$(CURDIR)/debian/gregorio install
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir -i
- dh_testroot -i
- dh_installchangelogs -i
- dh_installexamples -i examples/*.tex examples/*.gabc
- dh_installtex -pgregoriotex -i
- dh_install -i
- dh_installdocs -i
- dh_compress -i
- dh_fixperms -i
- dh_installdeb -i
- dh_gencontrol -i
- dh_md5sums -i
- dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir -a
- dh_testroot -a
- dh_installchangelogs -a
- dh_installexamples -i examples/*.gabc
- dh_lintian -a
- dh_installman -a gregorio.1
- dh_installdocs -a
- dh_strip -a
- dh_compress -a
- dh_fixperms -a
-# dh_makeshlibs -a
- dh_shlibdeps -a
- dh_installdeb -a
- dh_gencontrol -a
- dh_md5sums -a
- dh_builddeb -a
-
-binary: binary-indep binary-arch
-
-%:
- dh $@ --with tex --with autoreconf --with autotools-dev
-
-.PHONY: build clean binary-indep binary-arch binary install
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/source/format b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/source/format
deleted file mode 100644
index 163aaf8d82b..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/watch b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/watch
deleted file mode 100644
index 4e3d6319312..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/debian/watch
+++ /dev/null
@@ -1,4 +0,0 @@
-version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/gregorio-$1\.tar\.gz/ \
- https://github.com/gregorio-project/gregorio/tags .*/v?(\d\S*)\.tar\.gz
-# Elie Roux <elie.roux@telecom-bretagne.eu> Mon, 23 Mar 2015 16:25:47 +0200
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioNabcRef-4_0_0-rc1.pdf b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioNabcRef-4_0_0-rc1.pdf
index 62b6eb82f03..45a4cf85b03 100644
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioNabcRef-4_0_0-rc1.pdf
+++ b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioNabcRef-4_0_0-rc1.pdf
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioRef-4_0_0-rc1.pdf b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioRef-4_0_0-rc1.pdf
index 63adfd5bdb7..7b6d99bb5eb 100644
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioRef-4_0_0-rc1.pdf
+++ b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/GregorioRef-4_0_0-rc1.pdf
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/README.md b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/README.md
deleted file mode 100644
index 4bbd40f2dab..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc/README.md
+++ /dev/null
@@ -1,19 +0,0 @@
-Documentation for gregorio and gregoriotex
-==========================================
-
-This folder contains the source files of a manual is primarily intended for
-developers. Users should not expect to find an indepth guide on using gregorio.
-
-You can find a compiled PDF version in the files of each [Gregorio release](https://github.com/gregorio-project/gregorio/releases).
-
-Developers can use this manual as a reference for information on the
-internal workings of gregorio.
-
-## Building
-
-To compile the pdf you must have
- * an up-to-date [TeXLive](https://www.tug.org/texlive/) system, with at least the `luatex` bundle and `latexmk`
- * the [Linux Libertine](http://www.linuxlibertine.org/index.php?id=1&L=1) and [Inconsolata](http://www.levien.com/type/myfonts/inconsolata.html) fonts (distributed by TeXLive too)
- * the [`pygments` library](http://pygments.org/)
-
-Once you have run `./configure` in the main directory, run `make doc` in this directory.
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc_check.sh b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc_check.sh
deleted file mode 100755
index fedb1437346..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/doc_check.sh
+++ /dev/null
@@ -1,118 +0,0 @@
-#! /usr/bin/env bash
-
-# This script is used to compare the code base to the documentation and make
-# sure that the two match up.
-# It does this by creating two lists: one of all the macros defined in the TeX
-# code, and one of all the macros documented in the documentation (plus all the
-# macros in the code which are marked as deprecated or obsolete, and thus don't
-# need documentation. It then compares these two lists and outputs res.tex
-# which contains a list of undocumented macros (preceded by >) and macros which
-# are documented but which no longer appear in the code (preceded by <).
-
-# The script is not perfect, and especially has trouble with classes of macros
-# which have only one entry in the documentation.
-
-
-HERE=`pwd`
-
-CODEFILE=$HERE/code.txt
-DOCFILE=$HERE/doc.txt
-DIFFFILE=$HERE/diff.txt
-RESFILE=$HERE/res.txt
-
-#Extraction from code
-cd tex
-
-#find definitions
-grep -h '\\new[a-z]*\\.*' *.tex *.sty > $CODEFILE
-grep -hE '\\[gex]?def\\.*' *.tex *.sty >> $CODEFILE
-grep -hE '\\let\\.*' *.tex *.sty >> $CODEFILE
-grep -h '\\font\\' *.tex *.sty >> $CODEFILE
-
-#remove trailing comments
-gsed -i.temp 's/%.*$//' $CODEFILE
-
-#remove whitespace
-gsed -i.temp 's/^[ \t]*//;s/[ \t]*$//' $CODEFILE
-
-#remove new and trailing code
-sed -i.temp 's:.*\\new[a-z]*{*\(\\*[a-zA-Z@]*\)[\\}]*.*:\1:' $CODEFILE
-
-#remove def and definition
-sed -i.temp -E 's:.*\\[gex]?def[a-z]*(\\[a-zA-Z@]*)[#{[].*:\1:' $CODEFILE
-
-#remove let and definition
-sed -i.temp 's:.*\\let[a-z]*\(\\[a-zA-Z@]*\)\\.*:\1:' $CODEFILE
-
-#unwrap csname
-sed -i.temp 's:.*\(\\csname.*\\endcsname\).*:\1:' $CODEFILE
-
-#colors
-grep -hE '\\definecolor.*' *.sty >> $CODEFILE
-sed -i.temp 's:\\definecolor{\([a-zA-Z]*\)}.*:\1:' $CODEFILE
-
-#distances
-grep -h '\\grecreatedim{.*' gsp-default.tex >> $CODEFILE
-sed -i.temp 's:\\grecreatedim{\([a-z@]*\)}.*:\1:' $CODEFILE
-
-#styles
-sed -i.temp 's:\\endgre@style@::' $CODEFILE
-sed -i.temp 's:\\gre@style@::' $CODEFILE
-
-#fonts
-sed -i.temp 's:.*\\font\(\\.*\)=.*:\1:' $CODEFILE
-
-#alphabetize and remove duplicates
-sort -u -o$CODEFILE $CODEFILE
-
-
-#Extraction from documentation
-cd $HERE/doc
-
-grep -h '\\macroname.*' *.tex > $DOCFILE
-grep -h '\\stylename{.*' *.tex >> $DOCFILE
-
-#remove all but name
-sed -i.temp 's:\\macroname{\([^}]*\)}.*:\1:' $DOCFILE
-
-#replace TeX code with backslash
-sed -i.temp 's:\\textbackslash :\\:' $DOCFILE
-
-#styles
-sed -i.temp 's:.*\stylename{\([a-z]*\)}.*:\1:' $DOCFILE
-
-#Other things which need to be removed
-sed -i.temp 's:\\newcommand.*::' $DOCFILE
-sed -i.temp 's:MacroName::' $DOCFILE
-sed -i.temp 's:\\usepackage::' $DOCFILE
-
-#deprecated and obsolete functions (not in documentation because they don't need to be)
-cd $HERE/tex
-
-grep -h '\\gre@deprecated.*' *.tex | grep -v '\\def\\' >> $DOCFILE
-grep -h '\\gre@obsolete.*' *.tex | grep -v '\\def\\' >> $DOCFILE
-
-#remove whitespace
-gsed -i.temp 's/^[ \t]*//;s/[ \t]*$//' $DOCFILE
-
-sed -i.temp 's:\\gre@deprecated{\\protect::' $DOCFILE
-sed -i.temp 's:\\gre@obsolete{\\protect::' $DOCFILE
-sed -i.temp 's:}.*::' $DOCFILE
-
-#alphabetize and remove duplicates
-sort -u -o$DOCFILE $DOCFILE
-
-
-#find differences
-diff -B $DOCFILE $CODEFILE > $DIFFFILE
-
-grep -h '[<>]' $DIFFFILE > $RESFILE
-
-sort -u -o$RESFILE $RESFILE
-
-#cleanup
-rm $DOCFILE.temp
-rm $DOCFILE
-rm $CODEFILE.temp
-rm $CODEFILE
-rm $DIFFFILE
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.md b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.md
deleted file mode 100644
index e132725c18b..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Gregorio Windows files
-
-This folder is dedicated to the windows installer. This file describes the steps to compile it.
-
-### Building the gregorio executable
-
-Building the `gregorio.exe` file cannot currently be made under Windows, but it is possible under Linux:
-
- * install [mingw](http://www.mingw.org/) (`aptitude install mingw32` under Debian)
- * run `./build.sh --mingw` in the main directory of the repository
-
-This will create `src/gregorio.exe`.
-
-### Building tds file
-
-To be able to install GregorioTeX, the installer will need a `.tds.zip` file containing the fonts and tex files:
-
- * run `./install-gtex.sh tds` in the main directory of the repository, this will create `gregoriotex.tds.zip`
-
-### Building the installer
-
-You need [InnoSetup](http://www.jrsoftware.org/isinfo.php) to be able to compile the installer. It runs fine under [Wine](https://www.winehq.org/). Once you have it installed: run InnoSetup.exe, open the `windows/gregorio.iss` file and compile it, it will produce `windows/Output/setup.exe`. You can also run it from command line: `wine32 'C:\\Program Files\Inno Setup 5\ISCC.exe' gregorio.iss` in the `windows` directory (replace the `ISCC.exe` path with yours if different).
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.txt b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.txt
deleted file mode 100644
index 41dfcdbfe3f..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/README.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-
- GREGORIO
-
- Congratulations! You have now installed the gregorio typesetting
- system. Gregorio has no Graphical user interface, it's made to be
- integrated in a TeX typesetting process.
-
- To start creating scores, you can now configure TeXworks for Gregorio,
- see http://gregorio-project.github.io/introduction-editor.html for
- a small guide through the score compilation process.
-
- (Optional) If you want to install the Gregorio Support for Scribus, please
- copy the file 900_Gregorio.xml from the contrib\ directory of the installation
- directory of Gregorio (ex: C:\Program Files\Gregorio\contrib)
- into the share\editorconfig\ directory of your Scribus install
- (ex: C:\Program Files\Scribus-x.y.z\share\editorconfig).
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-32.bmp b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-32.bmp
deleted file mode 100644
index 4aa322a5c25..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-32.bmp
+++ /dev/null
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-image.bmp b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-image.bmp
deleted file mode 100644
index 02de41f2164..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio-image.bmp
+++ /dev/null
Binary files differ
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio.iss b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio.iss
deleted file mode 100644
index 0fb2ad6a806..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/gregorio.iss
+++ /dev/null
@@ -1,187 +0,0 @@
-[Setup]
-AppName=gregorio
-AppVersion=4.0.0-rc1
-DefaultDirName={pf}\gregorio
-DefaultGroupName=gregorio
-SetupIconFile=gregorio.ico
-Compression=lzma2
-SolidCompression=yes
-LicenseFile=../COPYING.md
-AppCopyright=Copyright (C) 2006-2015 The Gregorio Project
-AppComments=Software for engraving Gregorian Chant scores.
-AppContact=gregorio-devel@gna.org
-AppPublisher=The Gregorio Project
-AppPublisherURL=https://github.com/gregorio-project/gregorio
-AppReadmeFile=https://github.com/gregorio-project/gregorio
-BackColor=$D4AE65
-BackColor2=$FDF7EB
-WizardSmallImageFile=gregorio-32.bmp
-WizardImageFile=gregorio-image.bmp
-ChangesAssociations=yes
-
-[Registry]
-Root: HKCR; Subkey: ".gabc"; ValueType: string; ValueName: ""; ValueData: "Gregorio"; Flags: uninsdeletevalue
-Root: HKCR; Subkey: "Gregorio"; ValueType: string; ValueName: ""; ValueData: "Gregorio score"; Flags: uninsdeletekey
-Root: HKCR; Subkey: "Gregorio\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\gregorio.ico"; Flags: uninsdeletekey
-Root: HKCR; Subkey: "Gregorio\shell\open\command"; ValueType: string; ValueName: ""; ValueData: "texworks.exe ""%1"""; Flags: uninsdeletekey
-
-[Dirs]
-Name: "{app}\contrib"
-Name: "{app}\examples"
-Name: "{app}\texmf"
-Name: "{app}\texmf\tex"
-Name: "{app}\texmf\tex\luatex"
-Name: "{app}\texmf\tex\luatex\gregoriotex"
-Name: "{app}\texmf\fonts"
-Name: "{app}\texmf\fonts\truetype"
-Name: "{app}\texmf\fonts\truetype\public"
-Name: "{app}\texmf\fonts\truetype\public\gregoriotex"
-Name: "{app}\texmf\fonts\source"
-Name: "{app}\texmf\fonts\source\gregoriotex"
-Name: "{app}\texmf\doc"
-Name: "{app}\texmf\doc\luatex"
-Name: "{app}\texmf\doc\luatex\gregoriotex"
-
-[Files]
-Source: "../src/gregorio.exe"; DestDir: "{app}";
-Source: "gregorio.ico"; DestDir: "{app}";
-Source: "install-tl.lua"; DestDir: "{app}";
-Source: "install-mt.lua"; DestDir: "{app}";
-Source: "README.txt"; DestDir: "{app}"; Flags: isreadme
-Source: "../CHANGELOG.md"; DestDir: "{app}";
-Source: "../README.md"; DestDir: "{app}";
-Source: "../CONTRIBUTORS.md"; DestDir: "{app}";
-Source: "../UPGRADE.md"; DestDir: "{app}";
-; PARSE_VERSION_FILE_NEXTLINE
-Source: "../doc/GregorioRef-4_0_0-rc1.pdf"; DestDir: "{app}";
-; PARSE_VERSION_FILE_NEXTLINE
-Source: "../doc/GregorioNabcRef-4_0_0-rc1.pdf"; DestDir: "{app}";
-Source: "../COPYING.md"; DestDir: "{app}";
-Source: "../contrib/900_gregorio.xml"; DestDir: "{app}\contrib";
-Source: "../contrib/system-setup.bat"; DestDir: "{app}";
-Source: "../contrib/gregorio-scribus.lua"; DestDir: "{app}\contrib";
-Source: "../contrib/*"; DestDir: "{app}\contrib";
-Source: "../examples/*.gabc"; DestDir: "{app}\examples";
-Source: "../examples/main-lualatex.tex"; DestDir: "{app}\examples";
-Source: "../tex/gregoriotex.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex.sty"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex.lua"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-main.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-chars.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-signs.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-signs.lua"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-spaces.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-syllable.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-symbols.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-nabc.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriotex-nabc.lua"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gsp-default.tex"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregorio-vowels.dat"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../tex/gregoriosyms.sty"; DestDir: "{app}\texmf\tex\luatex\gregoriotex";
-Source: "../fonts/greciliae.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/greciliae-op.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/gregorio.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/gregorio-op.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/greextra.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/parmesan.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/parmesan-op.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/gregall.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/gresgmodern.ttf"; DestDir: "{app}\texmf\fonts\truetype\public\gregoriotex";
-Source: "../fonts/convertsfdtottf.py"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/greciliae-base.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/greextra.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/gregall.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/gresgmodern.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/gregorio-base.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/Makefile"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/parmesan-base.sfd"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../fonts/squarize.py"; DestDir: "{app}\texmf\fonts\source\gregoriotex";
-Source: "../README.md"; DestDir: "{app}\texmf\doc\luatex\gregoriotex";
-
-[Run]
-Filename: "texlua.exe"; Parameters: """{app}\install-tl.lua"" > ""{app}\install-tl.log"""; StatusMsg: "Configuring TeXLive texmf..."; Description: "Add files to TeXLive texmf tree"; Flags: postinstall ; WorkingDir: "{app}";
-Filename: "texlua.exe"; Parameters: """{app}\install-mt.lua"" > ""{app}\install-mt.log"""; StatusMsg: "Configuring MiKTeX texmf..."; Description: "Add files to MiKTeK texmf tree"; Flags: postinstall ; WorkingDir: "{app}";
-
-[Code]
-procedure URLLabelOnClickOne(Sender: TObject);
-var
- ErrorCode: Integer;
-begin
- ShellExec('open', 'https://www.tug.org/texlive/acquire.html', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
-end;
-
-procedure URLLabelOnClickTwo(Sender: TObject);
-var
- ErrorCode: Integer;
-begin
- ShellExec('open', 'http://gregorio-project.github.io/installation-windows.html', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
-end;
-
-procedure CreateTheWizardPages;
-var
- Page: TWizardPage;
- StaticText: TNewStaticText;
-begin
- Page := CreateCustomPage(wpWelcome, 'Installation Requirements', 'Please read the following important information before continuing.');
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(0);
- StaticText.Height := ScaleY(15);
- StaticText.Caption := 'You are about to install the gregorio software, which is working with a';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Height := ScaleY(15);
- StaticText.Top := ScaleY(13);
- StaticText.Caption := 'typesetting software called LuaTeX.';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(35);;
- StaticText.Caption := 'The installation and use of gregorio needs LuaTeX in order to work.';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(60);;
- StaticText.Caption := 'The best way to install LuaTeX is to install the TeXLive distribution.';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(75);;
- StaticText.Caption := 'If you have not already installed it, please do it before proceeding further!';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(100);;
- StaticText.Caption := 'Note that you have to reboot your computer after having installed TeXLive';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(115);;
- StaticText.Caption := 'and before installing Gregorio.';
- StaticText.Parent := Page.Surface;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(145);;
- StaticText.Caption := 'https://www.tug.org/texlive/acquire.html';
- StaticText.Cursor := crHand;
- StaticText.OnClick := @URLLabelOnClickOne;
- StaticText.Parent := Page.Surface;
- StaticText.Font.Style := StaticText.Font.Style + [fsUnderline];
- StaticText.Font.Color := clBlue;
-
- StaticText := TNewStaticText.Create(Page);
- StaticText.Top := ScaleY(165);;
- StaticText.Caption := 'http://gregorio-project.github.io/installation-windows.html';
- StaticText.Cursor := crHand;
- StaticText.OnClick := @URLLabelOnClickTwo;
- StaticText.Parent := Page.Surface;
- StaticText.Font.Style := StaticText.Font.Style + [fsUnderline];
- StaticText.Font.Color := clBlue;
-end;
-
-procedure InitializeWizard();
-
-begin
- CreateTheWizardPages;
-end;
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-mt.lua b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-mt.lua
deleted file mode 100644
index 9170e701de6..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-mt.lua
+++ /dev/null
@@ -1,132 +0,0 @@
-#!/usr/bin/env texlua
---[[
-Gregorio Windows automatic installation script.
-Copyright (C) 2010-2015 Gregorio Project authors
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-This texlua script is called in Windows automatic installer (see gregorio.iss),
-it installs GregorioTeX under Windows.
---]]
-
-require("lfs")
-
-kpse.set_program_name("luatex")
-
-local pathsep = '/'
-
-local function fixpath(path)
- return path
-end
-
-local function remove_trailing_slash(path)
- return path:gsub("/$" ,"")
-end
-
-local function basename(path)
- return path:gsub("^[^/]+/" ,"")
-end
-
-if os.type == "windows" or os.type == "msdos" then
- pathsep = '\\'
- fixpath = function(path)
- return path:gsub("/", "\\")
- end
- remove_trailing_slash = function(path)
- return path:gsub("\\$" ,"")
- end
- basename = function(path)
- return path:gsub("^[^\\]+\\" ,"")
- end
-end
-
-local texmflocal = fixpath(kpse.expand_var("$TEXMFLOCAL"))..pathsep
-local suffix = "gregoriotex"..pathsep
-
-function io.loaddata(filename,textmode)
- local f = io.open(filename,(textmode and 'r') or 'rb')
- if f then
- local data = f:read('*all')
- f:close()
- return data
- else
- return nil
- end
-end
-
-function io.savedata(filename,data,joiner)
- local f = io.open(filename,"wb")
- if f then
- f:write(data or "")
- f:close()
- return true
- else
- return false
- end
-end
-
-function copy_one_file(src, dest)
- local destfile = dest..basename(src)
- io.savedata(destfile, io.loaddata(src))
-end
-
-function copy_files()
- if not lfs.isdir(texmflocal) then
- lfs.mkdir(texmflocal)
- end
- print("Copying files...\n")
- local texmfdist = kpse.expand_var("$TEXMFDIST")
- --[[ MiKTeX uses slightly different paths for the location of it's bin
- directory for 32 and 64 bit versions. Since the copy command will fail
- silently if the destination directory doesn't exist, the simplest way to deal
- with this is to simply try copying to both locations.
- --]]
- texmfbin_32 = fixpath(texmfdist.."/miktex/bin/")
- texmfbin_64 = fixpath(texmfdist.."/miktex/bin/x64/")
- print("gregorio.exe...")
- copy_one_file("gregorio.exe", texmfbin_32)
- copy_one_file("gregorio.exe", texmfbin_64)
- print("GregorioTeX files...")
- os.spawn("xcopy texmf "..texmflocal.." /e /f /y")
-end
-
-function run_texcommands()
- print("Running initexmf\n")
- local p = os.spawn("initexmf -u --admin")
-end
-
-function main_install()
- copy_files()
- run_texcommands()
- print("Post-install script complete.")
- print("Press return to continue...")
- answer=io.read()
-end
-
-function scribus_config()
- local f = io.open('contrib'..pathsep..'900_gregorio.xml', 'r')
- local data = ""
- for l in f:lines() do
- if l:match("executable command") then
- data = data..string.format(" <executable command='texlua \"%s\" \"%%file\" \"%%dir\"'/>\n", lfs.currentdir()..pathsep.."contrib"..pathsep.."gregorio-scribus.lua")
- else
- data = data..l.."\n"
- end
- end
- io.savedata('contrib'..pathsep..'900_gregorio.xml', data)
-end
-
-main_install()
-scribus_config()
-
diff --git a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-tl.lua b/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-tl.lua
deleted file mode 100644
index 80a809fd921..00000000000
--- a/Build/source/texk/gregorio/gregorio-4.0.0-rc1/windows/install-tl.lua
+++ /dev/null
@@ -1,189 +0,0 @@
-#!/usr/bin/env texlua
---[[
-Gregorio Windows automatic installation script.
-Copyright (C) 2010-2015 Gregorio Project authors
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-This texlua script is called in Windows automatic installer (see gregorio.iss),
-it installs GregorioTeX under Windows.
---]]
-
-require("lfs")
-
-kpse.set_program_name("luatex")
-
-local pathsep = '/'
-
-local function fixpath(path)
- return path
-end
-
-local function remove_trailing_slash(path)
- return path:gsub("/$" ,"")
-end
-
-local function basename(path)
- return path:gsub("^[^/]+/" ,"")
-end
-
-if os.type == "windows" or os.type == "msdos" then
- pathsep = '\\'
- fixpath = function(path)
- return path:gsub("/", "\\")
- end
- remove_trailing_slash = function(path)
- return path:gsub("\\$" ,"")
- end
- basename = function(path)
- return path:gsub("^[^\\]+\\" ,"")
- end
-end
-
-local texmflocal = fixpath(kpse.expand_var("$TEXMFLOCAL"))..pathsep
-local suffix = "gregoriotex"..pathsep
-
-function io.loaddata(filename,textmode)
- local f = io.open(filename,(textmode and 'r') or 'rb')
- if f then
- local data = f:read('*all')
- f:close()
- return data
- else
- return nil
- end
-end
-
-function io.savedata(filename,data,joiner)
- local f = io.open(filename,"wb")
- if f then
- f:write(data or "")
- f:close()
- return true
- else
- return false
- end
-end
-
-function copy_one_file(src, dest)
- local destfile = dest..basename(src)
- io.savedata(destfile, io.loaddata(src))
-end
-
-function copy_files()
- if not lfs.isdir(texmflocal) then
- lfs.mkdir(texmflocal)
- end
- print("Copying files...\n")
- local texmfbin = kpse.expand_var("$TEXMFDIST")
- texmfbin = fixpath(texmfbin.."/../bin/win32/")
- print("gregorio.exe...")
- copy_one_file("gregorio.exe", texmfbin)
- print("GregorioTeX files...")
- os.spawn("xcopy texmf "..texmflocal.." /e /f /y")
-end
-
-function run_texcommands()
- print("Running mktexlsr\n")
- local p = os.spawn("mktexlsr "..texmflocal)
-end
-
-local old_base_dirs = {
- fixpath(texmflocal.."tex/generic/gregoriotex"),
- fixpath(texmflocal.."tex/latex/gregoriotex"),
- fixpath(texmflocal.."fonts/ofm/gregoriotex"),
- fixpath(texmflocal.."fonts/tfm/gregoriotex"),
- fixpath(texmflocal.."fonts/type1/gregoriotex"),
- fixpath(texmflocal.."fonts/ovp/gregoriotex"),
- fixpath(texmflocal.."fonts/ovf/gregoriotex"),
- fixpath(texmflocal.."fonts/map/gregoriotex"),
-}
-
--- should remove the Read-Only flag on files under Windows, but doesn't work, no idea why... even the attrib command in cmd.exe doesn't work...
--- Windows doesn't seem to be a very reliable OS, it should be avoided...
-function remove_read_only(filename)
- if os.name == "windows" or os.name == "msdos" then
- os.spawn(string.format("attrib -r \"%s\" /s /d", filename))
- end
-end
-
--- a function removing one file
-local function rm_one(filename)
- print("removing "..filename)
- remove_read_only(filename)
- local b, err = os.remove(filename)
- if not b then
- if err then
- print("error: "..err)
- else
- print("error when trying to remove "..filename)
- end
- end
-end
-
--- a function removing a directory with all included files, using the previous one
--- does not work with subdirectories (we shouldn't have any here)
-local function rmdirrecursive(dir)
- print("Removing directory "..dir)
- for filename in lfs.dir(dir) do
- if filename ~= "." and filename ~= ".." then
- rm_one(dir..pathsep..filename)
- end
- end
- rm_one(dir)
-end
-
--- gregorio used to be installed in other directories which have precedence
--- over the new ones
-function remove_possible_old_install()
- print("Looking for old GregorioTeX files...\n")
- local old_install_was_present = false
- for _, d in pairs(old_base_dirs) do
- print("Looking for "..d.."...")
- if lfs.isdir(d) then
- old_install_was_present = true
- print("Found "..d..", removing...")
- rmdirrecursive(d)
- end
- end
- if old_install_was_present then
- os.spawn("updmap")
- end
-end
-
-function main_install()
- remove_possible_old_install()
- copy_files()
- run_texcommands()
- print("Post-install script complete.")
- print("Press return to continue...")
- answer=io.read()
-end
-
-function scribus_config()
- local f = io.open('contrib'..pathsep..'900_gregorio.xml', 'r')
- local data = ""
- for l in f:lines() do
- if l:match("executable command") then
- data = data..string.format(" <executable command='texlua \"%s\" \"%%file\" \"%%dir\"'/>\n", lfs.currentdir()..pathsep.."contrib"..pathsep.."gregorio-scribus.lua")
- else
- data = data..l.."\n"
- end
- end
- io.savedata('contrib'..pathsep..'900_gregorio.xml', data)
-end
-
-main_install()
-scribus_config()
-