Skip to content

Commit bc2b83b

Browse files
committed
import gregorio-6.1.0
git-svn-id: svn://tug.org/texlive/trunk/Build/source@74361 c570f23f-e606-0410-a88d-b1316a301751
1 parent d9eef1c commit bc2b83b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+918
-282
lines changed

texk/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dvisvgm 3.4.3 - checked 11jan25
6767
https://github.com/mgieseki/dvisvgm
6868
https://ctan.org/pkg/dvisvgm
6969

70-
gregorio 6.1.0beta2 - checked 18feb25
70+
gregorio 6.1.0 - checked 28feb25
7171
https://mirror.ctan.org/support/gregoriotex/
7272

7373
gsftopk - from Paul Vojta's xdvi.

texk/gregorio/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-02-28 Karl Berry <[email protected]>
2+
3+
* Import gregorio-6.1.0.zip.
4+
* version.ac: updated.
5+
16
2025-02-18 Karl Berry <[email protected]>
27

38
* Import gregorio-6.1.0-beta2.zip.

texk/gregorio/TLpatches/TL-Changes

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Changes applied to the gregorio source tree as obtained from:
2-
https://mirrors.ctan.org/support/gregoriotex/gregorio-6.1.0-beta1.zip
2+
https://mirrors.ctan.org/support/gregoriotex/gregorio-6.1.0.zip
33

4-
Update ./version.ac.
4+
Update ./version.ac to $VER.
55
mv gregorio-src gregorio-prev
6-
zip=`ls ~/tmp/gregorio*zip`
6+
zip=`ls /tmp/gregorio*zip`
77
zipinfo -1 $zip # normally unpacks into gregorio-VERSION
8-
unzip -q ...
8+
unzip -q $zip # if all in a subdir
99
mv gregorio-[6789]* gregorio-src
1010
cd gregorio-src
1111

texk/gregorio/configure

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.72 for Gregorio (TeX Live) 6.1.0-beta2.
3+
# Generated by GNU Autoconf 2.72 for Gregorio (TeX Live) 6.1.0.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -614,8 +614,8 @@ MAKEFLAGS=
614614
# Identity of this package.
615615
PACKAGE_NAME='Gregorio (TeX Live)'
616616
PACKAGE_TARNAME='gregorio--tex-live-'
617-
PACKAGE_VERSION='6.1.0-beta2'
618-
PACKAGE_STRING='Gregorio (TeX Live) 6.1.0-beta2'
617+
PACKAGE_VERSION='6.1.0'
618+
PACKAGE_STRING='Gregorio (TeX Live) 6.1.0'
619619
PACKAGE_BUGREPORT='[email protected]'
620620
PACKAGE_URL='http://gregorio-project.github.io/'
621621

@@ -1367,7 +1367,7 @@ if test "$ac_init_help" = "long"; then
13671367
# Omit some internal or obsolete options to make the list less imposing.
13681368
# This message is too long to be a string in the A/UX 3.1 sh.
13691369
cat <<_ACEOF
1370-
'configure' configures Gregorio (TeX Live) 6.1.0-beta2 to adapt to many kinds of systems.
1370+
'configure' configures Gregorio (TeX Live) 6.1.0 to adapt to many kinds of systems.
13711371

13721372
Usage: $0 [OPTION]... [VAR=VALUE]...
13731373

@@ -1439,7 +1439,7 @@ fi
14391439

14401440
if test -n "$ac_init_help"; then
14411441
case $ac_init_help in
1442-
short | recursive ) echo "Configuration of Gregorio (TeX Live) 6.1.0-beta2:";;
1442+
short | recursive ) echo "Configuration of Gregorio (TeX Live) 6.1.0:";;
14431443
esac
14441444
cat <<\_ACEOF
14451445

@@ -1560,7 +1560,7 @@ fi
15601560
test -n "$ac_init_help" && exit $ac_status
15611561
if $ac_init_version; then
15621562
cat <<\_ACEOF
1563-
Gregorio (TeX Live) configure 6.1.0-beta2
1563+
Gregorio (TeX Live) configure 6.1.0
15641564
generated by GNU Autoconf 2.72
15651565

15661566
Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2341,7 +2341,7 @@ cat >config.log <<_ACEOF
23412341
This file contains any messages produced by compilers while
23422342
running configure, to aid debugging if configure makes a mistake.
23432343

2344-
It was created by Gregorio (TeX Live) $as_me 6.1.0-beta2, which was
2344+
It was created by Gregorio (TeX Live) $as_me 6.1.0, which was
23452345
generated by GNU Autoconf 2.72. Invocation command line was
23462346

23472347
$ $0$ac_configure_args_raw
@@ -9234,7 +9234,7 @@ fi
92349234

92359235
# Define the identity of the package.
92369236
PACKAGE='gregorio--tex-live-'
9237-
VERSION='6.1.0-beta2'
9237+
VERSION='6.1.0'
92389238

92399239

92409240
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -16585,7 +16585,7 @@ Usage: $0 [OPTIONS]
1658516585
Report bugs to <[email protected]>."
1658616586

1658716587
lt_cl_version="\
16588-
Gregorio (TeX Live) config.lt 6.1.0-beta2
16588+
Gregorio (TeX Live) config.lt 6.1.0
1658916589
configured by $0, generated by GNU Autoconf 2.72.
1659016590

1659116591
Copyright (C) 2024 Free Software Foundation, Inc.
@@ -18216,7 +18216,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1821618216
# report actual input values of CONFIG_FILES etc. instead of their
1821718217
# values after options handling.
1821818218
ac_log="
18219-
This file was extended by Gregorio (TeX Live) $as_me 6.1.0-beta2, which was
18219+
This file was extended by Gregorio (TeX Live) $as_me 6.1.0, which was
1822018220
generated by GNU Autoconf 2.72. Invocation command line was
1822118221

1822218222
CONFIG_FILES = $CONFIG_FILES
@@ -18285,7 +18285,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
1828518285
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1828618286
ac_cs_config='$ac_cs_config_escaped'
1828718287
ac_cs_version="\\
18288-
Gregorio (TeX Live) config.status 6.1.0-beta2
18288+
Gregorio (TeX Live) config.status 6.1.0
1828918289
configured by $0, generated by GNU Autoconf 2.72,
1829018290
with options \\"\$ac_cs_config\\"
1829118291

texk/gregorio/gregorio-src/.gregorio-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
6.1.0-beta2
1+
6.1.0
22
2025
33

44
*** Do not modify this file. ***

texk/gregorio/gregorio-src/CHANGELOG.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
All notable changes to this project will be documented in this file.
33
As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/). It follows [some conventions](http://keepachangelog.com/).
44

5-
## [Unreleased][develop]
6-
7-
8-
## [Unreleased][CTAN]
9-
10-
11-
## [6.1.0-beta2] - 2025-02-17
5+
## [6.1.0] - 2025-02-28
126
### Fixed
137
- Multiple Scribus render frames were all using the same file name, which would result in the same score appearing in all render frames. This change makes the score files use an available Scribus variable to force multiple file names.
148
- When kpsewhich cannot write to a particular location, it generates an error which is directed to stderr but not to our glog file. This created an undocumented error when trying to write to a gtex file to a bad location. We now capture stderr output produced when compiling scores and redirect it to our glog file so that the error is properly recorded. Fixes [#1541](https://github.com/gregorio-project/gregorio/issues/1541).
@@ -20,12 +14,14 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/).
2014
- When fancyhdr and GregorioTeX are used together, GregorioTeX's disabling of hyphenation and its `post_linebreak` modification of the `post_linebreak_filter` interfere with multiline headers. Using the `fancyhdr/before` and `fancyhdr/after` hooks we temporarily reenable hyphenation and disable our `post_linebreak` modification while headers and footers are being processed in the middle of a score. See [#1603](https://github.com/gregorio-project/gregorio/issues/1603).
2115
- Fixed a bug that could cause a hyphen to appear on the wrong line. See [#1319](https://github.com/gregorio-project/gregorio/issues/1319).
2216
- Fixed the placement of above-lines text (`<alt>`) relative to a note above the staff or when the number of staff lines is not 4. See [#1613](https://github.com/gregorio-project/gregorio/issues/1613) and [#1614](https://github.com/gregorio-project/gregorio/issues/1614).
23-
- Fixed a bug where the above-lines text (`<alt>`) could collid with a note above the staff. See [#1613](https://github.com/gregorio-project/gregorio/issues/1613).
17+
- Fixed a bug where the above-lines text (`<alt>`) could collide with a note above the staff. See [#1613](https://github.com/gregorio-project/gregorio/issues/1613).
2418
- Fixed a bug that could cause the clef and staff to be printed too high. See [#1503](https://github.com/gregorio-project/gregorio/issues/1503).
2519

2620
### Changed
27-
- Modified gregorio to append to the log file specified as an argument and to send early messages to it. See [#1541](https://github.com/gregorio-project/gregorio/issues/1541).
21+
- Modified gregorio to write to the log file specified as an argument and to send all messages to it (except errors about opening the log file itself). See [#1541](https://github.com/gregorio-project/gregorio/issues/1541) and [#1628](https://github.com/gregorio-project/gregorio/issues/1628).
2822
- Defined an output directory for gtex and glog files. Default is `tmp-gre`. This can be changed using `\gresetoutputdir{...}`. Fixes [#1393](https://github.com/gregorio-project/gregorio/issues/1393), [#1542](https://github.com/gregorio-project/gregorio/issues/1542), and [#1571](https://github.com/gregorio-project/gregorio/issues/1571).
23+
- GregorioTeX no longer searches for and reuses existing gtex files using kpathsea; it only looks in the output directory.
24+
- If gtex or glog files from other versions of gregorio are found either in the same directory as the gabc file or in the output directory, they are deleted.
2925
- gabc.vim has been expanded into a proper vim plugin.
3026

3127
### Added

texk/gregorio/gregorio-src/CONTRIBUTING.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ TeX code must use LuaTeX (more than TeX + eTeX + Omega + PDFTeX) primitives as m
6969

7070
Before submitting a change, please run the tests in [gregorio-test](gregorio-project/gregorio-test) against your resulting code.
7171

72-
When your changes are significant, please provide a test demonstrating the change. See [test documentation](https://github.com/gregorio-project/gregorio-test/blob/master/README.md).
72+
When your changes are significant, please provide a test demonstrating the change. See [test documentation](https://github.com/gregorio-project/gregorio-test/blob/master/README.md) for more information on how the test repository is organized and used.
7373

7474
If your change breaks some of the existing tests, then please either fix the existing tests or propose the new results be accepted as more "correct" than the old ones.
7575

76-
If you are submitting a new or modified test, please create a new branch in the test repository (preferably with a name which matches the name of the branch your changes are on in the main repository) where you can make these changes. Then create a pull request in the test repository which explains your changes and make sure to reference the corresponding pull request in the main repository. This way those reveiwing your changes can also see what you expect the new test results to be.
76+
If you are submitting a new or modified test, please create a new branch in the test repository (preferably with a name which matches the name of the branch your changes are on in the main repository) where you can make these changes. Please make separate commits showing both the before and after behavior of the test(s). Then create a pull request in the test repository which explains your changes and make sure to reference the corresponding pull request in the main repository. This way those reveiwing your changes can also see what you expect the new test results to be.
7777

7878
### Documentation
7979

@@ -86,7 +86,18 @@ You must also document it in the right places:
8686

8787
### Git Workflow
8888

89-
The Gregorio team is following the [classical Github workflow](https://guides.github.com/introduction/flow/). More precisely it follows what is sometimes described as "[Gitflow Worflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)", keeping the same branch naming convention.
89+
The Gregorio team is following the [classical Github workflow](https://guides.github.com/introduction/flow/). More precisely it follows what is sometimes described as "[Gitflow Worflow](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow)", with some minor modifications to account for the release constraints of TeX Live. Our longterm branches are as follows:
90+
91+
1. `master`
92+
This branch contains the current stable release. No commits should be made directly to this branch, only merges from a release or hotfix branch (see below).
93+
2. `ctan`
94+
This branch is a development branch used for changes which are compatible with the executable that has been uploaded to CTAN (and is present in the current year's TeX Live). Pull requests for bugfixes and features which do not affect the executable (and which do not require a major version change) should be made against this branch. Releases from this branch can be made at any time.
95+
3. `develop`
96+
This is the primary development branch for significant changes to the package. All changes to the executable are automatically considered significant, even if they are only a bugfix. Releases from this branch can only be made during the TeX Live pretest (generally during February each year).
97+
98+
We also reserve short-term branch names of the patterns `release-vx.y` and `hotfix-vx.y.z`. Names of this sort are reserved for preparing releases. Only PRs for blocking bugs should be submitted against these branches.
99+
100+
Individual bugfixes and features should be developed on their own branch and then a PR submitted in the main repository against the appropriate branch. New contributors should fork the repository on GitHub under your own username and use branches created there to create PRs against the main repository. If you don't have a GitHub account (they are free) and don't want to create one, you can submit a patch file to the developers' mailing list: [email protected].
90101

91102
### Make a pull request
92103

@@ -95,5 +106,5 @@ Once you are ready to contribute code:
95106
* fork the repository and checkout your fork
96107
* create a new branch for the pull request you want to make
97108
* commit your changes to this new branch
98-
* make a pull request from this new branch to the relevant branch (usually `develop`)
109+
* make a pull request from this new branch to the relevant branch (see above)
99110
* the Gregorio developers will inspect and comment your pull request, and finally merge it (or not)

texk/gregorio/gregorio-src/Makefile.am

+20-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with Gregorio. If not, see <http://www.gnu.org/licenses/>.
1717

18-
SUBDIRS = src examples tex contrib fonts doc
18+
SUBDIRS = src examples tex contrib fonts doc macosx
1919

2020
ACLOCAL_AMFLAGS = -I m4
2121

@@ -25,22 +25,26 @@ EXTRA_DIST = README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS.md \
2525

2626
MAINTAINERCLEANFILES = gregoriotex.ctan.zip
2727

28+
VERSION := $(shell ./VersionManager.py --get-current)
29+
TOP := $(shell pwd)
30+
export TOP
31+
2832
export TOP_LEVEL_MAKE = true
2933

3034
gregorio:
31-
make -C src all
35+
$(MAKE) -C src all
3236

3337
fonts: make-fonts
3438
make-fonts:
35-
make -C fonts fonts
39+
$(MAKE) -C fonts fonts
3640

3741
clean-fonts:
38-
make -C fonts clean-fonts
42+
$(MAKE) -C fonts clean-fonts
3943

4044
doc: pdf
4145
clean-pdf: clean-doc
4246
clean-doc:
43-
make -C doc clean-doc
47+
$(MAKE) -C doc clean-doc
4448

4549
gregoriotex.tds.zip: dist-zip install-gtex.sh
4650
./install-gtex.sh tds
@@ -50,3 +54,14 @@ ctan: gregoriotex.tds.zip build-ctan.sh
5054

5155
dist-hook:
5256
rm -rf $(distdir)/windows
57+
58+
if MACOSX
59+
dist-macosx: gregorio doc fonts
60+
$(MAKE) -C macosx dist-macosx
61+
else
62+
dist-macosx:
63+
@echo "macOS packages can only be built on Mac systems."
64+
endif
65+
66+
clean-macosx:
67+
$(MAKE) -C macosx clean-local

texk/gregorio/gregorio-src/UPGRADE.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
This file contains instructions to upgrade to a new release of Gregorio. These instructions are cumulative; meaning that you should apply the instructions from all versions between the one you are upgrading from and the current version.
44

5-
## [Unreleased][develop]
5+
## 6.1
66

7-
Initial letters that are 2 lines high used to require manual linebreaks (`z`), but no longer do. The alignment of 2-line initial letters has changed slightly and may need to be adjusted.
7+
### Multiline initials
8+
9+
Initial letters that are 2 lines high used to require manual linebreaks (`z`), but no longer do. The alignment of 2-line initial letters has changed slightly and may need to be adjusted. Further, initials can now span over an arbitrary number of lines.
10+
11+
### Soft alterations
812

913
GABC now has some new alterations: soft flat (`X`) and sharp (`##`), which appear when there is no previous flat or sharp (respectively) in effect, and soft natural (`Y`), which appears when there is a previous flat or sharp in effect. A new option `\gresetalterationeffect` determines what the "effect" of an alteration is. It defaults to `line`, meaning that an alteration's effect extends to the end of the line. Thus, for Dominican chant, type a soft flat (`X`) in front of _every_ note that is to be sung a half-step flat; naturals should also be soft (`Y`), but only naturals that cancel flats need to be typed.
1014

texk/gregorio/gregorio-src/VersionManager.py

+4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
"tex/gregoriotex-signs.lua",
8888
"tex/gregoriotex-symbols.tex",
8989
"contrib/TeXShop/Makefile.am",
90+
"contrib/vim/Makefile.am",
91+
"contrib/vim/ftdetect/Makefile.am",
92+
"contrib/vim/syntax/Makefile.am",
9093
"contrib/900_gregorio.xml",
9194
"contrib/Makefile.am",
9295
"contrib/gabc.lang",
@@ -165,6 +168,7 @@
165168
"windows/gregorio.iss",
166169
"windows/install.lua",
167170
"windows/uninstall.lua",
171+
"macosx/Makefile.am",
168172
]
169173

170174
def strtobool(val):

texk/gregorio/gregorio-src/build.sh

+20-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
# --jobs= : the number of jobs to run simultaneously in the make step
1414
# --force= : force autoreconf
1515
# {other) : anything else is passed to configure verbatim
16-
16+
17+
# Before we do anything we make sure our working directory is the top level of the
18+
# repository (where this script is located). This allows us to call this script from
19+
# other folders and still have it work.
20+
cd "${0%/*}"
21+
22+
1723
# try to find bash, in case the standard shell is not capable of
1824
# handling the generated configure's += variable assignments
1925
if which bash >/dev/null
@@ -33,7 +39,7 @@ then
3339
export MAKE
3440
echo "You have a GNU-make installed as gmake; I will use that"
3541
else
36-
echo "I can't find a GNU-make; I'll try to use make and hope that works."
42+
echo "I can't find a GNU-make; I'll try to use make and hope that works."
3743
echo "If it doesn't, please install GNU-make."
3844
fi
3945

@@ -67,22 +73,29 @@ if [ "$MINGWCROSS" = "TRUE" ]
6773
then
6874
MINGWBUILD=$HOSTTYPE-$OSTYPE
6975
MINGWSTR=mingw32
76+
PREFIX=/usr/
7077
if [ -d /usr/mingw32 ]; then
7178
MINGWSTR=mingw32
79+
PREFIX=/usr/
7280
elif [ -d /usr/i386-mingw32msvc ]; then
73-
MINGWSTR=i386-mingw32msvc
81+
MINGWSTR=i386-mingw32msvc
82+
PREFIX=/usr/
7483
elif [ -d /usr/i586-mingw32msvc ]; then
75-
MINGWSTR=i586-mingw32msvc
84+
MINGWSTR=i586-mingw32msvc
85+
PREFIX=/usr/
86+
elif [ -d /opt/local/i686-w64-mingw32 ]; then
87+
MINGWSTR=i686-w64-mingw32
88+
PREFIX=/opt/local/
7689
fi
7790
OLDPATH=$PATH
7891
PATH=/usr/$MINGWSTR/bin:$PATH
7992
CFLAGS="-mtune=pentiumpro -msse2 -g -O2 $CFLAGS"
80-
LDFLAGS="-Wl,--large-address-aware $CFLAGS"
93+
LDFLAGS="-static -Wl,--large-address-aware $CFLAGS"
8194
ARCHFLAGS="--target=\"$MINGWSTR\" \
8295
--with-gnu-ld \
8396
--host=$MINGWSTR \
8497
--build=$MINGWBUILD \
85-
--prefix=/usr/$MINGWSTR"
98+
--prefix=$PREFIX$MINGWSTR"
8699
elif [ "$MACCROSS" = "TRUE" ]
87100
then
88101
# make sure that architecture parameter is valid
@@ -92,7 +105,7 @@ then
92105
esac
93106
ARCHFLAGS="$ARCHFLAGS"
94107
CFLAGS="-arch $ARCH -g -O2 $CFLAGS"
95-
LDFLAGS="-arch $ARCH $LDFLAGS"
108+
LDFLAGS="-arch $ARCH $LDFLAGS"
96109
fi
97110

98111

0 commit comments

Comments
 (0)