1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 00:23:32 +02:00

Rename project in many places; Replace Most Project Logos; Refactor About Tenacity... Dialog (#276)

Add `locale/en.po` file.
Add English to `locale/LINGUAS` list.
Partially duplicate `msgid`s to `msgstr`s in English locale enable eventual key `msgid` changes
Replace former project name with Tenacity in English locale.
Replace former project website with Tenacity compatible usages in English locale.
Modify `AboutDialog.h` by renaming variables.
Modify `AboutDialog.cpp` by replacing usage of pre-fork name in Strings.
Modify AddBuildInfoRow methods to be static in About dialog.
Make License text const in About dialog.
Make pre-fork credits different in About dialog.
Begin adding Tenacity specific credits
Macros starting with `__` are reserved, so I removed the `__` on the About Dialog guard macro.
Remove `AboutDialog::` from usage of `Role` in `AboutDialog.h`
Refactor overly long generator method into separate methods in `AboutDialog.(h|cpp)`
Begin adding Tenacity developer information
Cleanup layout of `AboutDialog.h` and `AboutDialog.cpp`
Add `safedelete` macro to compliment odd `safenew` macro
Add `enum` to `ShuttleGui.cpp` to make it more clear what `Prop` method is doing.
Remove a ton of pointless and/or redunant `#ifdef` usage
Remove pointless singleton in AboutDialog
Make AboutDialog modal on MacOS
Fix reference type use of `auto` in `AudacityApp` b/c it makes unintentional copy.
Update XPM and PNG images using Tenacity assets
Update ICO images using Tenacity assets.
Fix Windows resource script that improperly used `winuser.h` import.
Add `*.aps` to gitignore to prevent IDE RC pre-load file from being committed.
Add default values for pre-processor constants in `tenacity.rc`.
Make changes needed for `Tenacity.exe` binary
Add 8x8 PNG to Windows ICO files
Replace project name in various CMake and CPack file.
Replace project name in various directory structures.
Replace project name in various OS-specific build files.
Replace project name in various documentation files.
Update the PO and POT files using the script.
Fix places where a `.desktop` file was used on Linux.
Replace title of project windows.
Make splash screen click through to `tenacityaudio.org`.
Remove ® from `AboutDialog.cpp`
Modify copyright message in `AboutDialog.cpp`

Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
This commit is contained in:
Emily Mabrey
2021-07-20 19:46:29 -04:00
committed by GitHub
parent 75c93c68d1
commit 2f316d5bc4
164 changed files with 72836 additions and 78160 deletions

View File

@@ -46,9 +46,9 @@ list( APPEND EXCLUDES
win
)
set( TLD "audacity-minsrc-${AUDACITY_DIST_VERSION}${AUDACITY_SUFFIX}" )
set( TLD "tenacity-minsrc-${AUDACITY_DIST_VERSION}${AUDACITY_SUFFIX}" )
set( TARBALL "${PROJECT_BINARY_DIR}/${TLD}.tar.xz" )
add_custom_target( ${TARGET}
COMMAND
${CMAKE_COMMAND} -D GIT_EXECUTABLE="${GIT_EXECUTABLE}"

View File

@@ -11,12 +11,12 @@ on run argv
set theViewOptions to the icon view options of container window
set arrangement of theViewOptions to not arranged
set icon size of theViewOptions to 72
set background picture of theViewOptions to file ".background:background.png"
set position of item "Audacity" of container window to {170, 350}
set background picture of theViewOptions to file ".background:background.png"
set position of item "Tenacity" of container window to {170, 350}
set position of item "Applications" of container window to {430, 350}
close
open
update without registering applications
end tell
end tell
end run
end run

View File

@@ -79,7 +79,7 @@ function cleanfulltree {
printf "Done\n"
printf "removing executable and other intermediate files ... "
myrmvf $1 src/audacity src/.depend src/.gchdepend
myrmvf $1 src/tenacity src/.depend src/.gchdepend
myfindrm $1 config.status
myfindrm $1 config.log
myfindrm $1 config.cache
@@ -89,11 +89,11 @@ function cleanfulltree {
printf "Done\n"
printf "removing orphaned symlinks in lib-src/ ... "
myrmvf $1 lib-src/*.a
myrmvf $1 lib-src/*.a
printf "Done\n"
printf "removing doxygen output files ... "
myrmrvf $1 dox
myrmrvf $1 dox
printf "Done\n"
printf "removing unused libraries from GIT tree ..."
@@ -122,7 +122,7 @@ function slimtree {
printf "Done\n"
printf "removing qa ... "
myrmrvf $1 qa
myrmrvf $1 qa
printf "Done\n"
printf "removing unused portaudio-v19 directories ... "
@@ -149,9 +149,9 @@ function slimtree {
myrmvf $1 plug-ins/analyze.ny plug-ins/fadein.ny plug-ins/fadeout.ny
myrmvf $1 plug-ins/undcbias.ny
printf "Done\n"
printf "Removing developer scripts not needed to build audacity ... "
myrmrvf $1 scripts/mw2html_audacity
printf "Removing developer scripts not needed to build tenacity ... "
myrmrvf $1 scripts/mw2html_audacity
printf "Done\n"
printf "Removing Mac and Windows build files ... "
@@ -160,11 +160,11 @@ function slimtree {
printf "Done\n"
}
echo "Maketarball 2.1.0 -- make an Audacity distribution tarball"
echo "Maketarball 2.1.0 -- make an Tenacity distribution tarball"
# check number of arguments, if not one then print a usage message
if [ $# -ne 1 ] ; then
echo "Script to make directory trees for audacity source tarballs"
echo "Script to make directory trees for tenacity source tarballs"
echo "Usage: $0 <mode>"
echo "Where mode is either \"quiet\" or \"verbose\""
exit 1
@@ -180,7 +180,7 @@ else
fi
if [ ! -f "src/Audacity.h" ] ; then
echo "$0 must be run from top-level audacity directory"
echo "$0 must be run from top-level tenacity directory"
exit 1
fi
@@ -188,7 +188,7 @@ fi
sourcedir="$(pwd)" # where the sources are
cd ..
topdir="$(pwd)" # one level up where the tarballs come out
tmpsrc="${topdir}/$(mktemp -d audacity-src-XXXXXX)" # where initial modifications are done
tmpsrc="${topdir}/$(mktemp -d tenacity-src-XXXXXX)" # where initial modifications are done
printf "making copy of source directory ... "
cp -pr "${sourcedir}/." "${tmpsrc}"
@@ -196,7 +196,7 @@ cd "${tmpsrc}"
printf "Done\n"
# The script relies on make working, so Makefiles need to be present. This
# means that configure must have been run on the sources. In general, it doesn't
# means that configure must have been run on the sources. In general, it doesn't
# matter what options, but the generation of a Makefile in lib-src/ in
# particular is important. Check that lib-src/Makefile is present and newer than
# lib-src/Makefile.in before continuing
@@ -238,7 +238,7 @@ if [ $reconf -eq 1 ] ; then
fi
fi
# The version number is stored in a C++ header as a set of #defines. Trying to
# The version number is stored in a C++ header as a set of #defines. Trying to
# parse this with another language (as was done first with Perl and then with
# awk) is always going to be fragile, so we use a C++ pre-processor (which
# strangely enough we are pretty much guaranteed to have) to do it. Essentially
@@ -283,7 +283,7 @@ printf "${version}\n"
# tarball, prior to building the source tarball
cleanfulltree $mode
# now we have the full source tree, lets slim it down to the bits that
# now we have the full source tree, lets slim it down to the bits that
# you actually need to build audacity on a shared library system with the
# relevant libraries installed on the system (e.g. Linux distros)
slimtree $mode
@@ -297,10 +297,10 @@ printf "Done\n"
# Tar up that lot as the source tarball
printf "Creating source tarball ... "
tar cf "${tarname}.tar" "${tarname}"
tar cf "${tarname}.tar" "${tarname}"
printf "Done\n"
printf "Compressing source tarball ... "
xz "${tarname}.tar"
xz "${tarname}.tar"
cd "${tarname}"
printf "Done\n"