MyNote is a very, very simple Notepad-like editor. Note that I've developed this small editor to learn Gtkmm (and how to port it to Windows), Meson Build and how to do some stuff. Thus this project has basically no design, is kinda incomplete, and contains some bugs. You can do wathever you want with it, just take a look at the GPLV-3.0 before.
- Latest stable: 1.0
In order to build and run MyNote, you need to have at least those installed:
- Gtkmm and its dependencies;
- pkg-config;
- meson and its dependencies;
- ninja;
If you just want to install and use MyNote, there are no requirements, just download the standalone installer
If you wish to build and contribute to MyNote, these are the requirements:
Installing those packages inside MSYS2 should be enough:
pacman -S --needed mingw-w64-{i686,x86_64}-{toolchain,meson,pkg-config,glib2,make}
pacman -S mingw-w64-x86_64-{gtkmm3, glib2,atk,pango,cairo,gdk-pixbuf2,librsvg,graphene,libepoxy,libsigc++3,glibmm,pangomm,atkmm}
pacman -S mingw-w64-x86_64-{shared-mime-info,adwaita-icon-theme}- Download the distribution file;
- Go to the folder where the .tar.gz file is and do the following to install MyNote to /usr/local/bin:
tar xvf mynote-*.tar.gz
cd mynote-* # * is the version number just downloaded
./install.sh # This script executes the following: meson __build; ninja -C __build; ninja -C __build install- In order to build mynote only locally or override some predefined meson variables such as prefix, you can manually call meson and ninja instead of executing the install script
- In case you have removed the download files; download the distribution file again;
- Go to the folder where the .tar.gz file is and do the following to uninstall MyNote (Notice that if you have overrided any default directory, you must override it again to correctly uninstall MyNote):
tar xvf mynote-*.tar.gz
cd mynote-* # * is the version number just downloaded
meson __build
ninja -C __build # Still not sure if this step is needed to uninstall
ninja -C __build uninstall- Download the latest version installer;
- Execute it and install. This will install a standalone version of MyNote to your system;
- Search for Uninstall MyNote shortcut on startup menu or go to the installation foler and run uninstall.exe;
When using Windows, do this using MSYS2
- You can manually call meson and ninja, just remember to pass to meson the flag --buildtype=debug since the default is release;
- Another option is to use the handy build-run.sh script, the script make the following calls:
meson --buildtype=debug __build
ninja -C __build
__build/src/mynote # Run the buildTo create a distribution tar.gz file for linux, run the script make-linux-dist.sh. The script will:
- copy only the needed files to dist/linux/mynote-*
- create the .tar.gz file with a call to tar
- clean the temporary files
To create a distribuition installer for Windows:
- Go to the root directory and run make windows-dist, this will create the directory dist/windows/mynote-*, copy files to it and compile the program using -mwindows flag
- Go to the dist/windows/mynote-* directory and compile the NSIS script win_installer_script.nsis using the MakeNSIS, the installer will be created at dist/windows
- Now you can delete the mynote-* directory
MyNote is licensed under the GNU General Public License v3.0
MyNote logo icon is made by Kiranshastry from www.flaticon.com
- Meson Build with ninja to build debug versions
- MSYS2 to port MyNote to Windows
- NSIS to create the Windows installer
- Glade to create GUI xml files
- Gtkmm
- pkg-config