dll files) andĪlso convert documentation text files to CRLF format.Īt the end, you should get an installer executable in `$DESTINATON`. This will strip and sign all binaries (various. The script will also use `osslsigncode` to add digital signatures to the created binaries and installers.Įither adjust the paths to the certifcate at the beginning of the script or leave them empty to skip digital signing. Open the script in your editor of choice and change paths at the beginning of the script as needed. The script can be downloaded here: geany-plugins-release.py.txt configure -prefix=$/build/geany/ $DESTINATON/release/geany-plugins-origįor the following steps, a little Python script is necessary to automate the further installer creation. Otherwise building the GeanyLua plugin might and creating a release installer will break.īuild instructions to build Geany in order to create a Windows installer (within MSYS2 shell): Note: Pacman will probably suggest to replace `mingw-w64-x86_64-lua51` by `mingw-w64-x86_64-luajit`.ĭeny this suggestion and keep installing `mingw-w64-x86_64-lua51`. In case you want also compile the combined Geany- Plugins collection, you need the following dependencies: Make sure you have not installed both `gcc` and `mingw-w64-x86_64-gcc`, or you may get errors when building Geany.Īt last, you might want to add `C:\msys64\mingw64\bin` to your `PATH` environment variable, in order to run Geany from the Windows Explorer. Pacman -S curl tar dos2unix zip unzip mingw-w64-x86_64-osslsigncode mingw-w64-x86_64-nsis # for GTK bundle creation and release creation # necessary for GTK bundle and installer steps Pacman -S make mingw-w64-x86_64-libtool mingw-w64-x86_64-pkgconf autoconf automake gettext Restart msys2 once more, in case `pacman -Su` updated environment related packages.įinally, install the dependencies needed by Geany: Now exit and re-open the MSYS2 environment and perform a system update: Pacman -needed -Sy bash pacman pacman-mirrors msys2-runtime `Start Menu → All Programs → MSYS2 64bit → MSYS2 MinGW 圆4` In the following we will assume that you installed the 64bit version to C:\mingw64.Īfter installation, open the MSYS2 environment via Run the installer and follow the instructions. Not whether you target a 32bit or 64bit compilation of Geany (this guide will always compile for 64bit). Geany Releases Windows (64-bit), (Instructions), eht16-pubkey.txt macOS, geany-1.38. Choose the 32bit or 64bit version depending on your Windows version,
0 Comments
Leave a Reply. |