summaryrefslogtreecommitdiff
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Update README.txt for MSVC BuildsChun-wei Fan2014-09-302-4/+14
| | | | | | | | | Tell people that they need to download and install the Adwaita icon theme, by following the instructions given on https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack. Also tell people they can either use IJG JPEG or libjpeg-turbo for non-GDI+ builds of GDK-Pixbuf.
* Fix MSVC 2010+ Build for Icon BrowserChun-wei Fan2014-09-231-0/+4
| | | | A needed include path was missed, make up for that.
* MSVC Builds: Build and Install gtk3-icon-browserChun-wei Fan2014-09-2311-1/+431
| | | | | Add the icon browser demo to the Visual Studio projects, and "install" it as well.
* MSVC Builds: Update "Installation" ProcessChun-wei Fan2014-09-152-1133/+702
| | | | | | | | | This updates the property sheets that are used to "install" builds of GTK+ after the libraries and the gtk3-demo programs are built. Note that these are generated with scripts in regards to the headers part, so that we can move the header installation part to use autocompletion by the autotools build files in the next dev cycle or so, like the "gdk" and "gtk" project files.
* GTK MSVC Projects: Fix Include DirectoriesChun-wei Fan2014-09-012-8/+8
| | | | | Somehow the project files looked for includes in gdk/ before gtk/, which is wrong. Fix that.
* MSVC Build Files: Use Real GTK+ VersionChun-wei Fan2014-08-076-1/+12
| | | | | | | Make the Visual C++-related build files contain the actual GTK+ version, by generating them during the configure stage and dist'ing them in the release tarballs. This is especially important for builds of introspection files, as one may need to look at the release version of GTK+ in those files.
* MSVC Builds: Apply Visual Style for Win32 Print DialogChun-wei Fan2014-08-075-13/+23
| | | | | | | | | | | | | | | Define ISOLATION_AWARE_ENABLED for the build of the GTK DLL so that visual style can be applied to the Windows print dialog for all applications using gtkprintoperation. Update the script for the generation of gtk-win32.rc for MSVC to not try to embed the manifest from it (but embed libgtk3.manifest by including it in the project files, as we are now doing), and embedding the manifest file is really not supported in MSVC 2010 and later. Also fix up formatting in the GTK DLL projects. https://bugzilla.gnome.org/show_bug.cgi?id=733773
* MSVC Builds: Create libgtk3.manifestChun-wei Fan2014-08-066-14/+20
| | | | | | | | | | | | Use the Python script that was used to create gtk-win32.rc from gtk-win32.rc.in to similarly create libgtk3.manifest. As the wildcard character can be used for all architectures, use that. The libgtk3.manifest file needs to be specified explicitly in the projects, so that it will be recognized and built into the GTK dll, so update the project files as well on this part. https://bugzilla.gnome.org/show_bug.cgi?id=733773
* MSVC Builds: Build gtk-encode-symbolic-svgChun-wei Fan2014-08-0411-1/+425
| | | | | | | | | This utility would likely be useful for Windows builds of GTK+, given the reasons Alex cited for coming up with this utility[1], and MSVC build support for librsvg is not available at this time (possible, but not implemented yet). [1]: https://bugzilla.gnome.org/show_bug.cgi?id=730450
* MSVC Builds: Add Script to Generate gtk-win32.rcChun-wei Fan2014-08-047-8/+159
| | | | | | | | | | | | | | In bug 733773, gtk-win32.rc was removed from the dist in the attempt to make the print dialog on Windows themed, so this script was added so that the gtk-win32.rc file can be generated during the Visual Studio builds of GTK+ from the autotools scripts. This is also intended for filling in the arch of the build for MSVC builds for the manifest that is also required for fixing bug 733773. Python is used as it is already needed for This is done as a custom build rule in the Visual Studio projects so that it is easy to clean and rebuild gtk-win32.rc upon an update. https://bugzilla.gnome.org/show_bug.cgi?id=733773
* MSVC Introspection Builds: Filter Out gtkx.hChun-wei Fan2014-07-161-1/+5
| | | | | | Like the autotools builds of the introspection files, don't include gtkx.h in the introspection prepropcessing as it should not be included by other GTK+ headers.
* Fix "Installation" for Visual Studio 2010+Chun-wei Fan2014-07-011-6/+6
| | | | | | We need to enclose paths containing $(BinDir) with double quotes as it points to something like c:\foo\gtk+-x.yy.zz, which the copy command on Windows does not like "+" in paths unless enclosed in quotes.
* Build: Provide Simple Support for MSVC 2012/2013Chun-wei Fan2014-07-014-4/+129
| | | | | | | | | | | | As the Visual Studio 2012/2013 are only slightly different from the Visual Studio 2010 projects, we can provide support for them by using scripts to copy the Visual Studio 2010 projects, and update the specific parts as necessary. Thus, there would be little maintenance overhead for these as only the 2010 projects need to be kept up-to-date as a result. This might change when we do get the stack working with WinRT/Metro, but that's going to be another totally different issue.
* Revert "Visual Studio Builds: "Install" the Stock Icons"Chun-wei Fan2014-07-012-40/+0
| | | | | | | | | The stock icons are now built into the GTK+ DLL via resources, so don't try to install the stock icons, and the icons don't reside in their former positions anymore, causing messages indicating that the files cannot be found. This reverts commit 2e0ce67f8aa7da0cfbcf31e02e60012927fb4193.
* MSVC Builds: Fix Introspection BuildsChun-wei Fan2014-07-011-1/+1
| | | | | Commit e26bdbda only partially made the necessary changes due to the use of the deprecated headers in GDK. Fix that.
* MSVC Builds: Clean up Introspection BuildsChun-wei Fan2014-07-011-6/+1
| | | | | | | | | Since g-i 1.40.0 we are using the .lib file(s) to determine the DLL(s) that the introspection files should look for, instead of directly using the DLL(s) directly, so it is no longer necessary to make copies of the GDK .lib file to match the <namespace-name>-<namespace-version> convention when we are building the introspection files for GdkWin32. Remove that from the introspection build process as a result.
* build/win32/vs10/gtk.vcxprojin: Remove References to gtka11yChun-wei Fan2014-06-301-4/+0
| | | | | ...so that Visual Studio will not warn about a reference that no longer exists.
* Visual Studio Builds: "Install" the Stock IconsChun-wei Fan2014-06-172-0/+40
| | | | | | Copy the icons in stock_icons accordingly, so that the built-in icons can be found by GTK, as it seems that not all of them are built into gtkbuiltincache.h.
* Fix MSVC 2008 ProjectsChun-wei Fan2014-06-091-1/+1
| | | | ...Make up for a missed &#x0D;&#x0A; required for a new line in commands...
* MSVC Builds: Update Introspection BuildChun-wei Fan2014-06-091-1/+3
| | | | | | The a11y headers are now listed with the main Makefile.am of GTK, and GDK introduced deprecated headers, so we need to account for them for the build of the introspection files.
* Visual Studio Builds: Update Headers "Installation"Chun-wei Fan2014-06-092-13/+51
|
* MSVC 2010+ Projects: Update "Installation" ProcessChun-wei Fan2014-06-092-30/+50
| | | | | | | | | | | | | | | Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development.
* MSVC Projects: "Generate" the gtk-inspector ProjectsChun-wei Fan2014-06-036-76/+25
| | | | | | | | | | Like the GDK and GTK portions, use autotools scripts to generate the complete projects for gtk-inspector as sources there seem to change from time to time. It might be so that this, like the a11y sources, will be referenced from the main Makefile.am of GTK directly, but just do this so that the projects can build properly.
* MSVC Builds: Update the gtk-demo ProjectsChun-wei Fan2014-06-033-0/+3
| | | | | Add the gestures demo sources into the build, so that the build will complete properly.
* Update Visual Studio Solution FilesChun-wei Fan2014-06-032-40/+0
| | | | | | | Remove all references to the gtka11y projects as they are all built together with the GTK DLL. https://bugzilla.gnome.org/show_bug.cgi?id=730615
* build/win32: Drop a11y library referencesRico Tzschichholz2014-05-245-295/+0
| | | | In addition to 4a4b23bfad8b30372f78b75e1eb5e68279ff5b09
* Visual Studio Builds: Build GtkInspectorChun-wei Fan2014-05-1610-0/+385
| | | | | | | | Add project files to build the GtkInspector sources, as gtk-inspector is a required portion for GTK+. "Install" the org.gtk.Settings.Debug.gschema.xml gsettings schema file as well, so that people can trigger GtkInspector as they develop and test their GTK+-based programs.
* Visual C++ Builds: Fix Header InstallationChun-wei Fan2014-04-092-0/+3
| | | | | Make sure that gtk/a11y/gtkpopoveraccessible.h is copied, so that programs using GTK+'s a11y will compile correctly.
* Visual C++ Builds: Build Introspection for GdkWin32Chun-wei Fan2014-04-036-24/+63
| | | | | | | | | | | | Add support to build the introspection files for GdkWin32, as done recently in the autotools builds and clean up the NMake Makefile for building the introspection files a bit. For some reason, gdk_win32_display_manager_get_type() was not exported in gdk-3.0.lib, force its export, so that the GdkWin32-3.0.gir can be built properly with the Visual C++ builds. This is a known problem that some symbols in static libraries that are linked into a DLL in Visual C++, even if they were marked with __declspec(dllexport) via _GDK_EXTERN.
* MSVC Builds: Clean up gtk-version-paths.*propsChun-wei Fan2014-04-032-10/+2
| | | | Remove lines that are not really referred to.
* MSVC Builds: Update Introspection Build ProcessChun-wei Fan2014-02-251-10/+4
| | | | | | | | | | GObject-Introspection was recently changed to support acquiring the name of the DLL from a library (.lib, etc) that was passed into g-ir-scanner on Windows, like the *nix builds, instead of directly passing in the name of the DLL. This updates the introspection build process, so that introspection files for GTK+ can continue to be properly built.
* Make Visual Studio Build Process A Bit SimplerChun-wei Fan2014-02-216-4/+24
| | | | | | | | | Add some flexibility in the property sheets for one building GTK+ that it also searches for a settable installation path of Python, in addition to searching the PATH for an installation of the Python interpretor. This currently defaults to Python 2.7.x, which is normally installed in c:\python27 on Windows by default. Also tell people in the README.txt's for the Visual Studio builds
* MSVC Builds: "Install" gtk3-demo.pngChun-wei Fan2014-01-242-0/+48
| | | | | | This is needed to show the gtk3-demo icon and is needed for the "Multiple Views" demo to work. Hmm, why couldn't I do a for loop for a batch in a property sheet ? :|
* Update Visual Studio Build FilesChun-wei Fan2014-01-245-16/+22
| | | | | -"Install" the newly-added public gtkpopover.h -Make the gtk3-demo projects up-to-date
* build/: Rename a Shared MSVC NMake MakefileChun-wei Fan2014-01-133-9/+2
| | | | | | Rename testsrules_msvc.mak to detectenv_msvc.mak and remove some package- specific stuff from it, to reflect on the nature that this NMake Makefile is shared.
* MSVC Builds: Rework Introspection BuildChun-wei Fan2014-01-1317-595/+588
| | | | | | | | | | | | | | | | | | | The current approach of building the introspection files for GTK works, but is often cumbersome as one needs to set many environmental variables before launching a solution file, which runs a Windows batch script to generate the .gir/.typelib files. It was also possible to hand-run the batch script from the Visual Studio command prompt, but even more environmental variables need to be set. This changes the approach to build the introspection files using an NMake Makefile (but elimating from the Visual Studio Project Files the part to build the introspection files) to: -Make it clearer to the person building the introspection files what environmental variables are needed, specifically for PKG_CONFIG_PATH and MINGWDIR and CFG (formerly CONF). Setting stuff like VSVER, PLAT and BASEDIR is no longer required, which was a bit clunky. -Allows some more easier flexibility on the build of the intropsection files.
* Update gtk-install.*propsChun-wei Fan2014-01-132-230/+215
| | | | | | Make sure the needed public headers for GTK master is "installed", and re- order some items so that it is easier when the headers lists are automatically acquired from the various Makefile.am's.
* build/win32/vs9/Makefile: Fix typoChun-wei Fan2014-01-131-1/+1
|
* Rework the Visual Studio 2010 Projects a bitChun-wei Fan2013-12-3019-510/+475
| | | | | | | | | | | | Add a utility project to get config.h and gdkconfig.h from their *.h.win32 (or win32_broadway, if applicable) counterparts, using custom build rules, so that these "generated" files can also be removed on clean and "regenerated" upon update. This also enables the removal of configs in certain projects that isn't really needed as a result. Also update and merge the projects and property sheets to include a single property sheet that it needs, which will then in turn include the other property sheets that is needed, so that things are cleaner.
* Rework the Visual Studio 2008 Projects a bitChun-wei Fan2013-12-3019-382/+442
| | | | | | | | | | | | | | Add a utility project to get config.h and gdkconfig.h from their *.h.win32 (or win32_broadway, if applicable) counterparts, using custom build rules, so that these "generated" files can also be removed on clean and "regenerated" upon update. This also enables the removal of configs in certain projects that isn't really needed as a result. Also update and merge the projects and property sheets to include a single property sheet that it needs, which will then in turn include the other property sheets that is needed, so that things are cleaner. Updates to the Visual Studio 2010 projects will follow later.
* Update the gtk3-demo Visual C++ ProjectsChun-wei Fan2013-12-263-0/+6
| | | | | Add the sources of the headerbar and event_axes demos to the list of files to build.
* MSVC Projects: Use UNIX Line endingsChun-wei Fan2013-12-0439-4556/+4556
| | | | | | ...for all files except the README.txt and the .sln files, which have to have DOS/Windows line endings. This makes application of patches, when applicable, easier.
* build/win32/vs*/README.txt: Re-word a bitChun-wei Fan2013-11-292-2/+2
| | | | Use PATH rather than path to make things clearer
* Visual C++ Projects: Add rules to generate GTK DBus sourcesChun-wei Fan2013-11-2711-14/+111
| | | | | | | | | | | | | | Since commit 7c2a5072 the gtkdbusgenerated.[c|h] are not included in the dist tarball and thus have to be generated, which broke the Visual C++ builds. This patch adds property sheets and custom build rules for the Visual C++ projects so that gtkdbusgenerated.[c|h] will be generated upon building the GTK+ DLL sources. This also tells people building GTK+ from the projects that they need to have Python 2/3 installed and the Python interpretor needs to be in their PATH before building GTK+ from the projects.
* Update GDK-Broadway MSVC ProjectsChun-wei Fan2013-11-273-4/+12
| | | | | | | -Improve optimization a bit for broadwayd, by enabling link time code generation -Add PlatformToolset tag for the Visual C++ 2010 projects, to ease transition to Visual C++ 2012/2013
* Update Visual Studio Property SheetsChun-wei Fan2013-10-072-0/+9
| | | | "Install" the GtkFlowBox headers
* Visual Studio 2010 Property Sheets: CosmeticsChun-wei Fan2013-10-076-291/+101
| | | | | Make each file entry of non-autotools-completed .vcxproj.filters to be on one line only, for consistency reasons.
* Update gtk3-demo Visual Studio ProjectsChun-wei Fan2013-10-073-0/+5
| | | | | Build the recently-introduced flowbox.c demo into the gtk3-demo demo program.
* gengir_gtk.bat: Correctly handle time_tChun-wei Fan2013-10-031-1/+4
| | | | | ...on x64 Windows/MSVC builds. This is because time_t is a long long on x64 arch on Windows.
* Update Demos Visual Studio ProjectsChun-wei Fan2013-09-264-16/+16
| | | | | | | Improve optimization, by re-enabling WholeProgramOptimization but changing the linker optimization to not drop items that are not referenced in code (such as compiled gresource sources that are not directly referenced in code, as they are still needed for the demos to run properly).