All Projects → wingtk → Gvsbuild

wingtk / Gvsbuild

Licence: gpl-2.0
GTK+ 3 stack for Windows

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Gvsbuild

Glyphfriend
Glyphfriend is a Visual Studio Extension to add previews for various icon/glyph fonts to Visual Studio.
Stars: ✭ 157 (-9.25%)
Mutual labels:  visual-studio
Vstest Docs
Documentation for the Visual Studio Test Platform.
Stars: ✭ 165 (-4.62%)
Mutual labels:  visual-studio
Roslynator
A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.
Stars: ✭ 2,221 (+1183.82%)
Mutual labels:  visual-studio
Vssetup.powershell
PowerShell module to interact with Visual Studio Setup
Stars: ✭ 160 (-7.51%)
Mutual labels:  visual-studio
Onemore
A OneNote add-in with simple, yet powerful and useful features
Stars: ✭ 163 (-5.78%)
Mutual labels:  visual-studio
Forms Gtk Progress
Xamarin.Forms GTK Backend Progress
Stars: ✭ 166 (-4.05%)
Mutual labels:  gtk
Fractal
Matrix.org gtk+ client
Stars: ✭ 156 (-9.83%)
Mutual labels:  gtk
Moneyfox
A way to make budgeting easy. A basic idea for the community, made even better by the community.
Stars: ✭ 170 (-1.73%)
Mutual labels:  visual-studio
Granite
Library that extends GTK with common widgets and utilities
Stars: ✭ 164 (-5.2%)
Mutual labels:  gtk
Rkflashkit
rkflashkit is an open source toolkit for flashing Linux kernel images to rockchip rk3066/rk3188/rk3288 etc. based devices. It's programmed with python and gtk2.
Stars: ✭ 169 (-2.31%)
Mutual labels:  gtk
Gaupol
Editor for text-based subtitle files
Stars: ✭ 159 (-8.09%)
Mutual labels:  gtk
Windowstemplatestudio
Windows Template Studio quickly builds a UWP app, using a wizard-based UI to turn your needs into a foundation of Windows 10 patterns and best practices.
Stars: ✭ 2,089 (+1107.51%)
Mutual labels:  visual-studio
Gtkhash
A cross-platform desktop utility for computing message digests or checksums
Stars: ✭ 167 (-3.47%)
Mutual labels:  gtk
Nunit3 Vs Adapter
NUnit 3.0 Visual Studio test adapter for use under VS 2012 or later
Stars: ✭ 158 (-8.67%)
Mutual labels:  visual-studio
Vcpkg
C++ Library Manager for Windows, Linux, and MacOS
Stars: ✭ 14,449 (+8252.02%)
Mutual labels:  visual-studio
Tryton
Mirror of Tryton Client
Stars: ✭ 156 (-9.83%)
Mutual labels:  gtk
Monogame.forms
MonoGame.Forms is the easiest way of integrating a MonoGame render window into your Windows Forms project. It should make your life much easier, when you want to create your own editor environment.
Stars: ✭ 165 (-4.62%)
Mutual labels:  visual-studio
Gtk Fortran
A GTK / Fortran binding
Stars: ✭ 171 (-1.16%)
Mutual labels:  gtk
Automathemely
Simple, set-and-forget python application for changing between desktop themes according to light and dark hours
Stars: ✭ 169 (-2.31%)
Mutual labels:  gtk
Vscode Twitch Highlighter
This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
Stars: ✭ 169 (-2.31%)
Mutual labels:  visual-studio

Goals

This python script helps you build a full GTK+ library stack for Windows using Visual Studio.

The powershell script was originally developed by the HexChat developers, make sure to check their page for more information about the original script.

HexChat developers decided that their script should focus on their specific needs, this fork tries to be a bit more generic, in particular it pursues the following goals

  1. Build GTK+ 3 - we want to focus on the current version of GTK
  2. Support multiple version of Visual Studio - at the moment we are focusing on VS 2017, but we include projects for other versions and we gladly accept patches
  3. We try to follow as much as possible the conventions of the upstream MSVC projects by Fan Chun-wei - Compiling the GTK+ (and Clutter) stack using Visual C++ 2008 and later.
  4. We are pretty liberal about adding more libraries to the script - at some point we will need to make the set of libraries that are built configurable and easily extensible, but right now we are ok with adding libraries that are useful to the users of this script
  5. We try to fetch tarballs from their original locations - if patches are needed we try to fork the project on github and host a patched tarball there
  6. We check sha256 hashes of the downloaded files: if error arise check that the download is not been interrupted: a partial file is likely to miss the hash check. Delete the file and try again.
  7. The download is done using the ssl certificate (handled by the system), in case of error the download is tried again without the certificate.
  8. We try to download also the tools needed and using them from a local directory, without any installation. Actually we use directly, among others, cmake, meson, ninja, nuget and perl.

Building

  1. Install the following build tools and dependencies:

  2. Follow the instructions on the msys2 page to update the core packages. The needed packages for the script (make, diffutils, ...) are download and installed automatically if not presents in the msys2 installation.

  3. Clone this repository to C:\gtk-build\github\gvsbuild It contains the build script, project files and patches.

  4. Now start a command-line window as a regular user. Go to the gvsbuild directory and start building with the script. For example, to build 32-bit GTK+ 3 and its dependencies with Visual Studio 2013 (the default), run:

    cd C:\gtk-build\github\gvsbuild
    python .\build.py build gtk3
    

    To build the 64-bit version, run:

    cd C:\gtk-build\github\gvsbuild
    python .\build.py build -p x64 gtk3
    

    To build the 64-bit version with the Visual Studio 2017 (version 15) you need also to tell the script the visual studio version, run:

    cd C:\gtk-build\github\gvsbuild
    python .\build.py build -p x64 --vs-ver 15 gtk3
    

    For more information about the possible commands run:

    python .\build.py --help
    

    To get detailed help on the build command run:

    python .\build.py build --help
    

    Is possible to set some parameters from a file, e.g. vs2015-release.pro, putting the @ character before the file name. The file contains the option, one per line, separated by a carriage return:

    --vs-ver
    14
    --win-sdk
    8.1
    -c
    release
    

    Even if the format is not the easier to write or read in this way we eliminate the problem of escaping spaces is file names and directories. Then you can use it:

    python .\build.py build @vs2015-release.pro gtk3-full
    
  5. When the script is done, your GTK+ stack will be found under C:\gtk-build\gtk. Enjoy!

License

This build script is licensed under the GPL2.0 license, see the COPYING file for the full text.

The binaries produced by the build script are licensed under the license terms of the project that gets built (ie glib is LGPL so you can use glib.dll built with this script under the terms of LGPL).

Patches included in the repository are licensed under the license terms of the project they apply to.

Dependency print / graph

To see and analyze the dependency between the various projects, in text or in a Graphviz format, use the script deps.py:

```
cd C:\gtk-build\github\gvsbuild
python .\deps.py -g -o test.gv
```

Without option a simple dependency of all the projects is printed, as usual with --help a summary of the options/commands is printed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].