Skip to content

Commit

Permalink
Release 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Dec 15, 2023
2 parents a99660b + 0234bfc commit c482e35
Show file tree
Hide file tree
Showing 83 changed files with 22,645 additions and 16,084 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:

steps:
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# Installation step for Ubuntu
- name: Configure Ubuntu with ${{ matrix.compiler }}-${{ matrix.version }}
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:

steps:
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Create TEMP_DIR
working-directory: ${{ github.workspace }}
Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:

steps:
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Create TEMP_DIR
working-directory: ${{ github.workspace }}
Expand Down Expand Up @@ -353,7 +353,7 @@ jobs:

steps:
- name: Checkout GH_PAGES_REPO into GH_PAGES_DIR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# repository to check out
repository: ${{ env.GH_PAGES_REPO }}
Expand Down Expand Up @@ -435,7 +435,7 @@ jobs:

steps:
- name: Checkout main repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install doxygen
run: |
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:

steps:
- name: Checkout DOXYGEN_REPO into DOXYGEN_DIR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# repository to check out
repository: ${{ env.DOXYGEN_REPO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Check for ${{ matrix.path['check'] }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-ci-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# Build the wheels for Linux, Windows and macOS
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
architecture: [x86, x64]
include:
- os: macos-latest
Expand All @@ -48,7 +48,7 @@ jobs:
steps:
#===============================================#
# Set up
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
#===============================================#
# wheels
- name: Build wheels
uses: pypa/cibuildwheel@v2.11.1
uses: pypa/cibuildwheel@v2.16.1
with:
output-dir: wheelhouse
env:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
steps:
#===============================================#
# Set up
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
steps:
#===============================================#
# Set up
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
echo "OUTPUT_DIR=${{ github.event.pull_request.number }}/${{ env.SHORT_SHA }}" >> $GITHUB_ENV
- name: Checkout GH_PAGES_BRANCH into GH_PAGES_DIR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ env.GH_PAGES_REPO }}
ref: ${{ env.GH_PAGES_BRANCH }}
Expand All @@ -67,7 +67,7 @@ jobs:
python3 -m pip install diffimg jsondiff lxml xmldiff cairosvg
- name: Checkout the dev branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: develop
path: ${{ env.DEV_DIR }}/
Expand All @@ -88,7 +88,7 @@ jobs:
python3 ../../doc/test-suite.py ${{ github.workspace }}/${{env.GH_PAGES_DIR}}/musicxmlTestSuite ${{ github.workspace }}/${{ env.TEMP_DIR }}/${{ env.DEV_DIR }}/
- name: Checkout the PR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ${{ env.PR_DIR }}/
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ Release/
# Intermediate font files
fonts/**/tmp
libmei/tools/__pycache__
doc/.venv
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [4.1.0] - 2023-12-15
* Support for staves ordered by `scoreDef`
* Support for `rend@letterspacing` and `syl@letterspacing` in MEI vu
* Support for `nc@loc`
* Support for `[email protected]`
* Support for `[email protected]` with `@headshape="diammond"`
* Support for `[email protected]`
* Improved metadata in the Humdrum importer (@gregchapman-dev)
* Improved layout with labels in verses
* Fix validity of the MEI header output in MEI Basic
* Fix for the Java binding and cocoaPods

## [4.0.1] - 2023-09-05
* Fix MEI version in output

Expand Down
16 changes: 8 additions & 8 deletions Verovio.podspec
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Pod::Spec.new do |s|
s.name = 'Verovio'
s.version = '4.0.1'
s.license = { :type => 'LGPL' }
s.version = '4.1.0'
s.license = { :type => 'LGPL', :file => 'COPYING' }
s.homepage = 'https://www.verovio.org/index.xhtml'
s.authors = { 'Contributors List' => 'https://github.com/rism-digital/verovio/graphs/contributors' }
s.summary = 'Verovio'
s.source = { :git => 'https://github.com/rism-digital/verovio.git', :tag => 'version-' + s.version.to_s }
s.swift_versions = ['3.0', '4.0', '4.1', '4.2', '5.0','5.1']
s.swift_versions = ['3.0', '4.0', '4.1', '4.2', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7']
s.source_files = 'src/**/*.{h,cpp,cc}',
'include/{crc,hum,json,midi,pugi,utf8,vrv,zip}/*.{h,hpp}',
'libmei/{dist,addons}/*.{h,cpp}'
'include/{crc,hum,json,midi,pugi,utf8,vrv,zip}/*.{h,hpp}',
'libmei/{dist,addons}/*.{h,cpp}'
s.public_header_files = 'src/**/*.{h}',
'include/{crc,hum,json,midi,pugi,utf8,vrv,zip}/*.{h,hpp}',
'libmei/{dist,addons}/*.{h}'
s.resources = 'data'
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.13'
s.ios.deployment_target = '14.0'
s.osx.deployment_target = '10.15'
s.pod_target_xcconfig = {
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
"CLANG_CXX_LIBRARY" => "libc++",
Expand All @@ -29,7 +29,7 @@ Pod::Spec.new do |s|
"MTL_FAST_MATH" => "YES",
"SUPPORTS_UIKITFORMAC" => "NO",
"MTL_ENABLE_DEBUG_INFO" => "NO",
"PRODUCT_BUNDLE_IDENTIFIER" => "com.rism.VerovioFramework"
"PRODUCT_BUNDLE_IDENTIFIER" => "digital.rism.VerovioFramework"
}
end

51 changes: 25 additions & 26 deletions bindings/java/pom.xml
Original file line number Diff line number Diff line change
@@ -1,45 +1,44 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.rism.verovio</groupId>
<artifactId>VerovioToolkit</artifactId>
<version>4.0.1</version>
<version>4.1.0</version>
<packaging>jar</packaging>

<name>VerovioToolkit</name>
<url>http://maven.apache.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
</properties>


<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>build-native</id>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<property name="native.classpath" refid="maven.compile.classpath" />
<echo file="${project.build.directory}/compile-classpath" message="${native.classpath}" />
<exec dir="." executable="./build.sh" failonerror="true"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>build-native</id>
<phase>process-classes</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="native.classpath" refid="maven.compile.classpath" />
<echo file="${project.build.directory}/compile-classpath" message="${native.classpath}" />
<exec dir="." executable="./build.sh" failonerror="true"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

2 changes: 1 addition & 1 deletion bindings/python/.pypi-version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# dummy file used by setup.py for counting revisions when publishing to test.pypi
# counting can be reset by making a change to this file
3.17.0
4.1.0
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"identifier": "Verovio",
"name": "Verovio",
"description": "Verovio is a fast, portable and lightweight open-source library for engraving Music Encoding Initiative (MEI) music scores into SVG.",
"softwareVersion": "4.0.1",
"datePublished": "2023-09-05",
"softwareVersion": "4.1.0",
"datePublished": "2023-12-15",
"license": "https://www.gnu.org/licenses/lgpl-3.0",
"programmingLanguage": [{
"@type": "ComputerLanguage",
Expand Down
2 changes: 2 additions & 0 deletions doc/diffTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ then
echo "Emptying directories ..."
rm $indir1/*/*.png
rm $indir1/*/*.svg
rm $indir1/*/*.json
rm $indir2/*/*.png
rm $indir2/*/*.svg
rm $indir2/*/*.json
rm $outdir/*/*.png
rm $outdir/index.html
fi
Expand Down
4 changes: 3 additions & 1 deletion emscripten/buildToolkit
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ if ($wasmQ) {
$LFLAGS .= " -s INITIAL_MEMORY=512MB";
$LFLAGS .= " -s STACK_SIZE=256MB";
$LFLAGS .= " -s SINGLE_FILE=1";
$LFLAGS .= " -s INCOMING_MODULE_JS_API=onRuntimeInitialized";
$FLAGS_NAME = "-wasm";
}

Expand Down Expand Up @@ -240,16 +241,17 @@ if ($makeQ) {

print "*************\nBuilding makefile...\n";
my $cmakeCmd = "$EMCMAKE cmake ../cmake $cmake -DCMAKE_CXX_FLAGS=\"$FLAGS\"";
print "$cmakeCmd\n" if $CHATTY;
system($cmakeCmd) == 0 or die "system $cmakeCmd failed: $?";

print "*************\nCompiling...\n";
my $makeCmd = "$EMMAKE make -j 8";
print "$makeCmd\n" if $CHATTY;
system($makeCmd);

print "*************\nLinking...\n";
my $ccCmd = "$EMCC $CHATTY libverovio.a $LFLAGS $FLAGS $embed $exports $extra_exports $output $modularize";
print "$ccCmd\n" if $CHATTY;

system($ccCmd);

if ($? == 0) {
Expand Down
2 changes: 1 addition & 1 deletion emscripten/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "verovio",
"version": "4.0.1",
"version": "4.1.0",
"description": "This is the stable version of the verovio package",
"main": "dist/verovio-toolkit-wasm.js",
"exports": {
Expand Down
Loading

0 comments on commit c482e35

Please sign in to comment.