Paul Licameli
2017-07-12 02:12:51 UTC
NOT a thing for 2.2.0, but could there be a better way to manage the
revision history of images in the theme?
1) Figure out how to compile a minimal command-line executable that does
what "Load Files" and "Output Sourcery" buttons do in Theme preferences.
2) Make the building and running of that program a custom step in the
makefiles that precedes the build of Audacity.
3) Add the image files to the git repository. They are now source files,
but (unlike, say .ny files) not part of the bundle that is shipped.
4) Remove the *ThemeAsCeeCode.h files from the revision history, because
they are generated.
5) Maybe for extra credit, make a small separate git repository describing
retroactively the history of image changes now encoded as changes of
ThemeAsCeeCode.h, so it is there for easier future reference.
Then, one could simply commit changed versions of image files and all would
work without difficulty.
Why was ThemeAsCeeCode.h made a part of the program? I never learned what
motivated that or when it was done. I see it was developed some time
before 2010.
PRL
revision history of images in the theme?
1) Figure out how to compile a minimal command-line executable that does
what "Load Files" and "Output Sourcery" buttons do in Theme preferences.
2) Make the building and running of that program a custom step in the
makefiles that precedes the build of Audacity.
3) Add the image files to the git repository. They are now source files,
but (unlike, say .ny files) not part of the bundle that is shipped.
4) Remove the *ThemeAsCeeCode.h files from the revision history, because
they are generated.
5) Maybe for extra credit, make a small separate git repository describing
retroactively the history of image changes now encoded as changes of
ThemeAsCeeCode.h, so it is there for easier future reference.
Then, one could simply commit changed versions of image files and all would
work without difficulty.
Why was ThemeAsCeeCode.h made a part of the program? I never learned what
motivated that or when it was done. I see it was developed some time
before 2010.
PRL