Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.6%) to scientific vocabulary
Repository
Readability Studio
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 11
- Releases: 0
Metadata Files
README.md
ReadabilityStudio
Readability Studio
| Platforms | Result |
| ------------- | ------------- |
| Linux | |
| macOS |
|
| Windows |
|
| Code Analyses | Result |
| ------------- | ------------- |
| cppcheck | |
| MS PREfast |
|
| Quneiform |
|
| Documentation & Formatting | Result |
| ------------- | ------------- |
| Doxygen | |
| Spellcheck |
|
| clang-format |
|
Building
Windows
Install the following tools to build Readability Studio:
- Visual Studio
- R
- Quarto
InnoSetup
Open Visual Studio and select Clone a Repository
- Enter "https://github.com/wxWidgets/wxWidgets.git" and clone it to same level as this project
Once the wxWidgets folder is cloned and opened in Visual Studio:
- Open Project > CMake Settings for wxWidgets
- Uncheck wxBUILD_SHARED
- Set wxBUILD_OPTIMISE to "ON"
- Set the configuration type to "Release"
- Save your changes
- Select Build > Install wxWidgets (builds and then copies the header, lib, and cmake files to the prefix folder)
Open this project's CMake file in Visual Studio:
- Open Project > CMake Settings for readstudio
- Set the configuration type to "Release" (or create a new release configuration)
- Save your changes
Select View > CMake Targets
Build the manuals and readstudio targets
Linux
...INCOMPLETE, needs to document adding a GPG signature
Install the following tools to build Readability Studio:
- GCC (C++ and fortran compilers)
- CMake
- git
- AppImage
- linuxdeploy
- R
- Quarto
Install the following libraries (and their development files, if mentioned):
- GTK 3, gtk3-devel/libgtk3-dev
- libCURL, libcurl-devel/libcurl-dev
- GStreamer, gstreamer-devel
- libsecret, libsecret-devel/libsecret-1-dev
- webkit, webkit2
- SDL2-devel
- libnotify, libnotify-devel/libnotify-dev
- TBB, tbb-devel/tbb-dev
- OpenMP
- libopenssl, libopenssl-3-devel/libssl-dev
- libxml2, libxml2-devel/libxml2-dev
Prepare R to install packages (needed for the help):
R
install.packages("pacman")
Place wxWidgets at the same folder level as this project, downloading and building it as follows:
cd ..
git clone https://github.com/wxWidgets/wxWidgets.git --recurse-submodules
cd wxWidgets
cmake . -DCMAKE_INSTALL_PREFIX=./wxlib -DwxBUILD_SHARED=OFF
cmake --build . --target install -j $(nproc) --config Debug
cd ..
cd ReadabilityStudio
Build the program as follows:
cmake . -DCMAKE_BUILD_TYPE=Debug
cmake --build . --target all -j $(nproc) --config Debug
Build an AppImage:
linuxdeploy-x86_64.AppImage --appdir installers/unix/AppDir \
--executable installers/unix/AppDir/usr/bin/readstudio \
-d installers/unix/AppDir/readstudio.desktop \
-i installers/unix/AppDir/app-logo.svg \
--output appimage
mv Readability_Studio*.AppImage ./installers/unix
macOS
To install home-brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
To install CMake and create-dmg:
brew install cmake
brew install create-dmg
If you get errors about not finding a CXX compiler, run this:
sudo xcode-select --reset
Add a notarization keychain to your system that you can use for code signing and notarization
(APPLE_ID should be set to your Apple account, usually your email address).
This only needs to be done once:
APPLE_ID=
xcrun notarytool store-credentials --apple-id ${APPLE_ID}
When prompted, set the keychain profile to a meaningful name and enter your 10-digit organization ID as the team ID. Then enter your app-specific password. (You can get that from Apple's developer website.)
Place wxWidgets at the same folder level as this project, downloading and building it as follows:
``` cd .. git clone https://github.com/wxWidgets/wxWidgets.git --recurse-submodules cd wxWidgets
cmake . -DCMAKEINSTALLPREFIX=./wxlib -DwxBUILDSHARED=OFF \ -D"CMAKEOSXARCHITECTURES:STRING=arm64;x8664" \ -DCMAKEOSXDEPLOYMENTTARGET=10.13 \ -DwxBUILDOPTIMISE=ON -DwxBUILDSTRIPPEDRELEASE=ON -DCMAKEBUILDTYPE=Release
cmake --build . --target install --config Release cd .. cd ReadabilityStudio ```
Build the program as follows:
``` cmake . -DCMAKEBUILDTYPE=Release -G Xcode
XCode will not understand an "all" target,
so the binary and manuals must be built separately
cmake --build . --target readstudio --config Release cmake --build . --target manuals ```
Code sign the app bundle.
(ORG_ID should be set to your 10-digit Apple developer organization ID and KEYCHAIN_PROFILE should be the keychain profile connected to your Apple ID):
``` ORGID= KEYCHAINPROFILE=
cd installers/macos/release
codesign --force --verbose=2 --options runtime \ --timestamp --sign ${ORG_ID} ./"Readability Studio.app"
codesign --verify --verbose=2 ./"Readability Studio.app"
cd .. ```
Build the DMG image:
test -f ReadabilityStudio.dmg && rm ReadabilityStudio.dmg
create-dmg \
--volname "Readability Studio Installer" \
--volicon "../../app-logo.icns" \
--background "../../app-logo.png" \
--window-pos 200 120 \
--window-size 800 400 \
--icon-size 100 \
--icon "readstudio.app" 200 190 \
--hide-extension "readstudio.app" \
--app-drop-link 600 185 \
"ReadabilityStudio.dmg" \
"release/"
Sign, notarize, staple, and verify the DMG image:
``` codesign --force --verbose=2 --sign ${ORGID} ./ReadabilityStudio.dmg codesign --verify --verbose=2 ./ReadabilityStudio.dmg hdiutil verify ./ReadabilityStudio.dmg xcrun notarytool submit ./ReadabilityStudio.dmg \ --keychain-profile ${KEYCHAINPROFILE} \ --wait
xcrun stapler staple ./ReadabilityStudio.dmg
xcrun spctl --assess --type open --context context:primary-signature \ --ignore-cache --verbose=2 ./ReadabilityStudio.dmg ```
If you get a notarization error, run the following
(GUID will be the unique ID that the submission process just displayed):
xcrun notarytool log ${GUID} --keychain-profile ${KEYCHAIN_PROFILE}
All Platforms
Building
The first time that you build, you may receive LaTeX errors about missing *.sty files during the help build phase.
Re-try the cmake --build . --target all -j $(nproc) command a few times until these go away.
This happens because numerous *.sty files need to be installed and the installation process times out occasionally. Once you have these files installed, this won't be an issue when rebuilding later.
Application Icon
If the application icon ("resources/images/ribbon/app-logo.svg") is changed, then in the project directory:
- Save a copy as "app-logo.png" (1024x1024 resolution)
- Save a copy as "app-logo.ico" (512x512 resolution)
- On macOS, run this in a terminal:
mkdir app-logo.iconset
sips -z 16 16 app-logo.png --out app-logo.iconset/icon_16x16.png
sips -z 32 32 app-logo.png --out app-logo.iconset/icon_16x16@2x.png
sips -z 32 32 app-logo.png --out app-logo.iconset/icon_32x32.png
sips -z 64 64 app-logo.png --out app-logo.iconset/icon_32x32@2x.png
sips -z 128 128 app-logo.png --out app-logo.iconset/icon_128x128.png
sips -z 256 256 app-logo.png --out app-logo.iconset/icon_128x128@2x.png
sips -z 256 256 app-logo.png --out app-logo.iconset/icon_256x256.png
sips -z 512 512 app-logo.png --out app-logo.iconset/icon_256x256@2x.png
sips -z 512 512 app-logo.png --out app-logo.iconset/icon_512x512.png
cp app-logo.png app-logo.iconset/icon_512x512@2x.png
iconutil -c icns app-logo.iconset
rm -R app-logo.iconset
Word Lists
If any of the word lists ("ReadabilityStudio/resources/words") have changed, then:
- Build the program as usual
- Open up Readability Studio and open the file "ReadabilityStudio/resources/finalize-word-lists.lua" in the Lua editor and run it
- Rebuild the program (this will re-package the word files)
This is necessary to re-sort the files and also re-build other words lists (e.g., the spelling dictionaries) that are based on the ones you may have edited.
Screenshots
If the documentation screenshots need updating, then:
- Build the program as usual
- Open up Readability Studio and open the file "ReadabilityStudio/docs/generate-screenshots.lua" in the Lua editor and run it
- Open "ReadabilityStudio/docs/build-help-projects.R" and source the entire script
- Rebuild the program (this will re-package the documentation)
Owner
- Name: Eclipse Readability Studio
- Login: eclipse-ers
- Kind: organization
- Repositories: 1
- Profile: https://github.com/eclipse-ers
GitHub Events
Total
- Issues event: 8
- Push event: 28
- Pull request review event: 1
- Pull request event: 1
- Fork event: 1
- Create event: 2
Last Year
- Issues event: 8
- Push event: 28
- Pull request review event: 1
- Pull request event: 1
- Fork event: 1
- Create event: 2
Dependencies
- actions/checkout v2 composite
- deep5050/cppcheck-action main composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- microsoft/msvc-code-analysis-action v0.1.1 composite
- actions/checkout v4 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- microsoft/setup-msbuild v1.1.3 composite
- DoozyX/clang-format-lint-action v0.20 composite
- actions/checkout v4 composite