A package providing GtkSourceView 3 libraries for Inkscape 1.x on Windows. GtkSourceView enables Inkscape extensions using the GTK3 python bindings to use syntax highlighting. Currently only LaTeX is supported in this version for Inkscape but it can easily be extended to other languages upon request.
Download the Installer from the
release section of this repository and execute it. It will add (not overwrite) some files
to your Inkscape installation so that GtkSourceView is available. If you do not
trust the installer you can use the corresponding zip file also offered in the
release section. Extract its content into C:\Program Files\Inkscape.
The following information are intended for users who want to build this package.
-
The script
build_packages.pybasically downloads the msys2 mingw gtksourceview packages, extracts them and bundels the required stuff needed by Inkscape extensions in the directoryfiles. Additionally it builds two zip packages containing the required files for the 64 and 32 bit architecture. -
The script
build_installer.nsibuilds installers from thefilesdirectory using Nullsoft Scriptable Install System.
-
Check the latest available GtkSourceView 3 version on http://repo.msys2.org/mingw/i686 (32bit) and http://repo.msys2.org/mingw/x86_64 (64bit)
-
In
build_packages.pyset the variableGTKSOURCEVIEW_PACKAGENAMEto the corresponding package name, e.g.gtksourceview3-3.24.11-1. -
Run
python build_packages.py. It will download the necessary files and extract what is needed by the Inkscape extensions. This is only a small subset of the original mingw GtkSourceView package. Furthermore, it will create the installer and uninstaller file lists required by the NSIS installer in step 6. -
You will find the architecture depending zip packages in the
builddirectory. The files packaged are in the directoryfilesand the content of the originally downloaded mingw packages in thepackage_contentdirectory. -
In
build_installer.nsiset the variableARCHITECTUREto either 32 or 64 depending on the architecture you want to build an installer for. -
Build the installer using Nullsoft Scriptable Install System. You will find the installers in the
builddirectory. -
Finally, you can safely delete the
filesandpackagesdirectories.