mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
chore: fix typos found by codespell
This commit is contained in:
committed by
Romain LE JEUNE
parent
0d57e3645a
commit
66bc911652
@ -1,3 +1,3 @@
|
||||
This is version of libqcocoa obtained from original Qt 5.13.0 source available at https://github.com/qt/qtbase with patch from cocoa.patch applyed.
|
||||
This is version of libqcocoa obtained from original Qt 5.13.0 source available at https://github.com/qt/qtbase with patch from cocoa.patch applied.
|
||||
|
||||
Please refer to https://bugreports.qt.io/browse/QTBUG-88600 for patch origin and https://doc.qt.io/qt-5/macos-building.html for instructions how to build Qt from source.
|
||||
|
||||
@ -31,7 +31,7 @@ echo "0">$ERROR_COUNT_FILE
|
||||
# -- Helper functions -- #
|
||||
##########################
|
||||
|
||||
# err print out a given error ($2) and line where it hapens ($1),
|
||||
# err print out a given error ($2) and line where it happens ($1),
|
||||
# also it increases count of errors.
|
||||
err () {
|
||||
echo "CHANGELOG-LINTER: $2 on the following line:"
|
||||
@ -92,7 +92,7 @@ check_change_types () {
|
||||
|
||||
case "$1" in
|
||||
"### Added"|"### Changed"|"### Deprecated"|"### Removed"|"### Fixed"|"### Security") ;; # Standard keepachangelog.com compliant types.
|
||||
"### Release notes"|"### Fixed bugs") ;; # Bridge aditional in app release notes types.
|
||||
"### Release notes"|"### Fixed bugs") ;; # Bridge additional in app release notes types.
|
||||
"### Guiding Principles"|"### Types of changes") ;; # Ignoring guide at the end of the changelog.
|
||||
*) err "$1" "Change type must be one of the Added, Changed, Deprecated, Removed, Fixed, Hoftix"
|
||||
esac
|
||||
|
||||
@ -45,7 +45,7 @@ generate_dep_licenses(){
|
||||
grep -E $'^\t[^=>]*$' $src | sed -r 's/\t([^ ]*) v.*/\1/g' > "$tmpDepLicenses"
|
||||
grep -E $'^\t.*=>.*v.*$' $src | sed -r 's/^.*=> ([^ ]*)( v.*)?/\1/g' >> "$tmpDepLicenses"
|
||||
|
||||
# Replace each line with formated link
|
||||
# Replace each line with formatted link
|
||||
sed -i -r '/^github.com\/therecipe\/qt\/internal\/binding\/files\/docs\//d;' "$tmpDepLicenses"
|
||||
sed -i -r 's|^(.*)/([[:alnum:]-]+)/(v[[:digit:]]+)$|* [\2](https://\1/\2/\3)|g' "$tmpDepLicenses"
|
||||
sed -i -r 's|^(.*)/([[:alnum:]-]+)$|* [\2](https://\1/\2)|g' "$tmpDepLicenses"
|
||||
|
||||
@ -20,10 +20,10 @@
|
||||
# The Qt libs are dynamically loaded with rules like: `@rpath/QtGui.framework/Versions/5/QtGui`
|
||||
# @rpath instructs the dynamic linker to search a list of paths in order to locate the framework
|
||||
# The rules can be listed using `otool -l "${path_to_binary}"`
|
||||
# The building process of therecipe/qt or qmake leaves the rules with additinal unwanted paths
|
||||
# The building process of therecipe/qt or qmake leaves the rules with additional unwanted paths
|
||||
# + absolute path to build directory
|
||||
# + dummy replacement `/break_the_rpath`
|
||||
# We need to manually remove those and add the path relative to exectuable: `@executable_path/../Frameworks`
|
||||
# We need to manually remove those and add the path relative to executable: `@executable_path/../Frameworks`
|
||||
|
||||
path_to_binary=$1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user