├── .gitignore
├── README.md
├── atk
├── atk.pc
├── build
│ ├── detectenv-msvc.mak
│ └── win32
│ │ └── vs14
│ │ ├── atk-build-defines.props
│ │ ├── atk-version-paths.props
│ │ └── atk.vcxproj
└── mod.md
├── build.ps1
├── cairo
├── cairo-gobject.pc
├── cairo.pc
├── mod.md
└── msvc
│ └── vc12
│ ├── cairo-gobject.vcxproj
│ ├── cairo-gobject.vcxproj.filters
│ ├── cairo.props
│ ├── cairo.sln
│ ├── cairo.vcxproj
│ ├── cairo.vcxproj.filters
│ └── install.vcxproj
├── deps-graph.txt
├── enchant
├── mod.md
└── src
│ ├── config.h
│ ├── libenchant.rc
│ └── makefile.mak
├── fontconfig
├── build.vcxproj
├── build.vcxproj.filters
├── config.h
├── dirent.c
├── dirent.h
├── fc-arch.vcxproj
├── fc-arch.vcxproj.filters
├── fc-cache.vcxproj
├── fc-cache.vcxproj.filters
├── fc-case.vcxproj
├── fc-case.vcxproj.filters
├── fc-cat.vcxproj
├── fc-cat.vcxproj.filters
├── fc-glyphname.vcxproj
├── fc-glyphname.vcxproj.filters
├── fc-lang.vcxproj
├── fc-lang.vcxproj.filters
├── fc-list.vcxproj
├── fc-list.vcxproj.filters
├── fc-match.vcxproj
├── fc-match.vcxproj.filters
├── fc-query.vcxproj
├── fc-query.vcxproj.filters
├── fc-scan.vcxproj
├── fc-scan.vcxproj.filters
├── fontconfig.def
├── fontconfig.patch
├── fontconfig.props
├── fontconfig.sln
├── fontconfig.txt
├── fontconfig.vcxproj
├── fontconfig.vcxproj.filters
├── fonts.conf.vc
└── src
│ ├── fcalias.h
│ ├── fcaliastail.h
│ ├── fcftalias.h
│ └── fcftaliastail.h
├── freetype
├── builds
│ └── windows
│ │ └── vc2015
│ │ ├── freetype.sln
│ │ ├── freetype.user.props
│ │ ├── freetype.vcxproj
│ │ └── freetype.vcxproj.filters
└── mod.md
├── gdk-pixbuf
├── build
│ ├── detectenv-msvc.mak
│ └── win32
│ │ └── vs14
│ │ ├── gdk-pixbuf-build-defines.props
│ │ ├── gdk-pixbuf-csource.vcxproj
│ │ ├── gdk-pixbuf-pixdata.vcxproj
│ │ ├── gdk-pixbuf-query-loaders.vcxproj
│ │ ├── gdk-pixbuf-version-paths.props
│ │ └── gdk-pixbuf.vcxproj
├── gdk-pixbuf-2.0.pc
└── mod.md
├── gettext-runtime
├── gettext-runtime.patch
└── mod.md
├── glib
├── build
│ └── win32
│ │ └── vs14
│ │ ├── gdbus.vcxproj
│ │ ├── gio-querymodules.vcxproj
│ │ ├── gio.vcxproj
│ │ ├── glib-build-defines.props
│ │ ├── glib-compile-resources.vcxproj
│ │ ├── glib-compile-schemas.vcxproj
│ │ ├── glib-genmarshal.vcxproj
│ │ ├── glib-version-paths.props
│ │ ├── glib.vcxproj
│ │ ├── gmodule.vcxproj
│ │ ├── gobject.vcxproj
│ │ ├── gresource.vcxproj
│ │ ├── gsettings.vcxproj
│ │ ├── gspawn-win32-helper-console.vcxproj
│ │ ├── gspawn-win32-helper.vcxproj
│ │ └── gthread.vcxproj
├── glib-if_nametoindex.patch
├── glib-package-installation-directory.patch
├── glibpc-libintl.patch
└── mod.md
├── gobject-introspection
├── build
│ └── win32
│ │ └── vs14
│ │ ├── _giscanner.vcxproj
│ │ ├── cmph-bdz-test.vcxproj
│ │ ├── cmph.vcxproj
│ │ ├── g-ir-compiler.vcxproj
│ │ ├── g-ir-generate.vcxproj
│ │ ├── gi-install.props
│ │ ├── gi-install.vcxproj
│ │ ├── gi-version-paths.props
│ │ ├── girepository.vcxproj
│ │ └── glib-print.vcxproj
├── mod.md
└── pkg-config-env-var.patch
├── gtk
├── build
│ ├── detectenv_msvc.mak
│ ├── gen-file-list-gtk.py
│ ├── gtk-introspection-msvc.mak
│ ├── introspection-msvc.mak
│ ├── msvcfiles.py
│ └── win32
│ │ └── vs14
│ │ ├── gailutil.vcxproj
│ │ ├── gdk-win32.vcxproj
│ │ ├── gdk.vcxproj
│ │ ├── gtk+.sln
│ │ ├── gtk-build-defines.props
│ │ ├── gtk-demo.vcxproj
│ │ ├── gtk-install.props
│ │ ├── gtk-version-paths.props
│ │ ├── gtk.vcxproj
│ │ ├── libpixmap.vcxproj
│ │ ├── libpixmap.vcxproj.filters
│ │ └── libwimp.vcxproj
├── gdk-astral-keyevents.patch
├── gtk-accel.patch
├── gtk-bgimg.patch
├── gtk-multimonitor.patch
├── gtk-revert-scrolldc-commit.patch
├── gtkstatusicon-dpichange.patch
└── mod.md
├── harfbuzz
├── mod.md
└── win32
│ └── config-msvc.mak
├── lgi
├── Fix-loading-cairo-on-Win32.patch
└── lgi
│ └── Makefile-msvc.mak
├── libffi
├── build
│ └── win32
│ │ └── vs12
│ │ ├── libffi.def
│ │ ├── libffi.sln
│ │ ├── libffi.vcxproj
│ │ └── libffi.vcxproj.filters
├── i686-pc-mingw32
│ ├── fficonfig.h
│ └── include
│ │ └── ffi.h
├── libffi-msvc-complex.patch
├── libffi-win64-jmp.patch
├── mod.md
└── x86_64-w64-mingw32
│ ├── fficonfig.h
│ └── include
│ └── ffi.h
├── libpng
├── mod.md
└── projects
│ └── vc14
│ ├── libpng
│ └── libpng.vcxproj
│ ├── pnglibconf
│ └── pnglibconf.vcxproj
│ └── zlib.props
├── libxml2
├── mod.md
└── win32
│ └── VC14
│ ├── config.h
│ └── libxml2.vcxproj
├── luajit
├── lua-default-path.patch
└── mod.md
├── mod.md
├── openssl
├── certdata.txt
├── mk-ca-bundle.pl
└── mod.md
├── pango
├── build
│ ├── detectenv-msvc.mak
│ └── win32
│ │ └── vs14
│ │ ├── pango-build-defines.props
│ │ ├── pango-version-paths.props
│ │ ├── pango.vcxproj
│ │ ├── pangocairo.vcxproj
│ │ ├── pangoft2.vcxproj
│ │ └── pangowin32.vcxproj
├── mod.md
├── pango-synthesize-fonts-properly.patch
├── pango.pc
└── pangocairo-fix-missing-export.patch
├── perl
├── mod.md
├── perl-x64.aip
├── perl-x86.aip
└── perl.iss
├── pixman
├── build
│ └── win32
│ │ └── vc14
│ │ ├── install.vcxproj
│ │ ├── pixman.props
│ │ ├── pixman.vcxproj
│ │ └── pixman.vcxproj.filters
└── mod.md
├── stack.props
├── win-iconv
├── COPYING
└── mod.md
└── zlib
├── contrib
└── vstudio
│ └── vc12
│ ├── miniunz.vcxproj
│ ├── minizip.vcxproj
│ ├── testzlib.vcxproj
│ ├── testzlibdll.vcxproj
│ ├── zlib.rc
│ ├── zlibstat.vcxproj
│ ├── zlibvc.def
│ ├── zlibvc.sln
│ └── zlibvc.vcxproj
└── mod.md
/.gitignore:
--------------------------------------------------------------------------------
1 | *.[Oo]bj
2 | *.user
3 | *.aps
4 | *.pch
5 | *.vspscc
6 | *.vssscc
7 | *_i.c
8 | *_p.c
9 | *.ncb
10 | *.suo
11 | *.tlb
12 | *.tlh
13 | *.bak
14 | *.[Cc]ache
15 | *.ilk
16 | *.log
17 | *.lib
18 | *.sbr
19 | *.sdf
20 | *.opensdf
21 | *.unsuccessfulbuild
22 | *.back.aip
23 | ipch/
24 | obj/
25 | [Bb]in
26 | [Dd]ebug*/
27 | [Rr]elease*/
28 | perl/perl-x64-cache
29 | perl/perl-x64-SetupFiles
30 | perl/perl-x86-cache
31 | perl/perl-x86-SetupFiles
32 |
--------------------------------------------------------------------------------
/atk/atk.pc:
--------------------------------------------------------------------------------
1 | prefix=C:/
2 | exec_prefix=C:/
3 | libdir=${prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: Atk
7 | Description: Accessibility Toolkit
8 | Version: 2.18.0
9 |
10 | Requires: gobject-2.0
11 | Libs: -L${libdir} -latk-1.0
12 | Cflags: -I${includedir}/atk-1.0
13 |
--------------------------------------------------------------------------------
/atk/build/detectenv-msvc.mak:
--------------------------------------------------------------------------------
1 | # Common NMake Makefile module for checking the build environment
2 | # This can be copied from $(glib_srcroot)\build\win32 for GNOME items
3 | # that support MSVC builds and introspection under MSVC, and can be used
4 | # for building test programs as well.
5 |
6 | # Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
7 | # VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
8 | !if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
9 | MSG = ^
10 | This Makefile is only for Visual Studio 2008 and later.^
11 | You need to ensure that the Visual Studio Environment is properly set up^
12 | before running this Makefile.
13 | !error $(MSG)
14 | !endif
15 |
16 | ERRNUL = 2>NUL
17 | _HASH=^#
18 |
19 | !if ![echo VCVERSION=_MSC_VER > vercl.x] \
20 | && ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
21 | && ![echo PLAT=Win32 >> vercl.x] \
22 | && ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
23 | && ![echo PLAT=x64 >> vercl.x] \
24 | && ![echo $(_HASH)endif >> vercl.x] \
25 | && ![cl -nologo -TC -P vercl.x $(ERRNUL)]
26 | !include vercl.i
27 | !if ![echo VCVER= ^\> vercl.vc] \
28 | && ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
29 | !include vercl.vc
30 | !endif
31 | !endif
32 | !if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
33 | !endif
34 |
35 | !if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
36 | VSVER = 9
37 | !elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
38 | VSVER = 10
39 | !elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
40 | VSVER = 11
41 | !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
42 | VSVER = 12
43 | !elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
44 | VSVER = 14
45 | !else
46 | VSVER = 0
47 | !endif
48 |
49 | !if "$(VSVER)" == "0"
50 | MSG = ^
51 | This NMake Makefile set supports Visual Studio^
52 | 9 (2008) through 14 (2015). Your Visual Studio^
53 | version is not supported.
54 | !error $(MSG)
55 | !endif
56 |
57 | VALID_CFGSET = FALSE
58 | !if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
59 | VALID_CFGSET = TRUE
60 | !endif
61 |
62 | # We want debugging symbols logged for all builds,
63 | # using .pdb files for release builds
64 | CFLAGS_BASE = /Zi
65 |
66 | !if "$(CFG)" == "release" || "$(CFG)" == "Release"
67 | CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
68 | !else
69 | CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
70 | !endif
71 |
72 | !if "$(PLAT)" == "x64"
73 | LDFLAGS_ARCH = /machine:x64
74 | !else
75 | LDFLAGS_ARCH = /machine:x86
76 | !endif
77 |
--------------------------------------------------------------------------------
/atk/build/win32/vs14/atk-build-defines.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | ATK_COMPILATION;DLL_EXPORT;ATK_LOCALEDIR="/dummy/share/locale"
8 |
9 |
10 | <_PropertySheetDisplayName>atkbuilddefinesprops
11 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
12 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
13 |
14 |
15 |
16 | ..\..\..;..\..\..\atk;$(GLibEtcInstallRoot)\include\glib-2.0;$(GLibEtcInstallRoot)\lib\glib-2.0\include;$(GLibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)
17 | HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)
18 | msvc_recommended_pragmas.h;%(ForcedIncludeFiles)
19 | true
20 | /d2Zi+ %(AdditionalOptions)
21 |
22 |
23 | glib-2.0.lib;gobject-2.0.lib;gmodule-2.0.lib;libintl.lib;%(AdditionalDependencies)
24 | $(GLibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
25 | $(OutDir)$(AtkDllPrefix)$(ProjectName)$(AtkDllSuffix).pdb
26 |
27 |
28 |
29 |
30 | $(AtkDefines)
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/atk/build/win32/vs14/atk-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1.0
5 | 14
6 | $(SolutionDir)\..\..\..\..\..\..\gtk\$(Platform)
7 | ..\..\..\..\atk-rel
8 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
9 | lib
10 | -$(ApiVersion)-0
11 |
12 | -1.0
13 | $(AtkSeparateVSDllPrefix)
14 | $(AtkSeparateVSDllSuffix)
15 |
16 |
17 | <_PropertySheetDisplayName>atkversionpathsprops
18 |
19 |
20 |
21 | $(ApiVersion)
22 |
23 |
24 | $(GLibEtcInstallRoot)
25 |
26 |
27 | $(CopyDir)
28 |
29 |
30 | $(DefDir)
31 |
32 |
33 | $(AtkLibtoolCompatibleDllPrefix)
34 |
35 |
36 | $(AtkLibtoolCompatibleDllSuffix)
37 |
38 |
39 | $(AtkSeparateVSDllPrefix)
40 |
41 |
42 | $(AtkSeparateVSDllSuffix)
43 |
44 |
45 | $(AtkDllPrefix)
46 |
47 |
48 | $(AtkDllSuffix)
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/atk/mod.md:
--------------------------------------------------------------------------------
1 | * Download [ATK 2.20.0](http://ftp.gnome.org/pub/gnome/sources/atk/2.20/atk-2.20.0.tar.xz)
2 | * In `build\win32\vs14\atk-build-defines.props`, replace:
3 | * `intl.lib` with `libintl.lib`
4 | * In `build\win32\vs14\atk-version-paths.props`, replace:
5 | * `$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)` with `$(SolutionDir)\..\..\..\..\..\..\gtk\$(Platform)`
6 | * `$(GLibEtcInstallRoot)` with `..\..\..\..\atk-rel`
7 | * `-1-vs$(VSVer)` with `-1.0`
8 | * In `build\win32\vs14\atk.vcxproj`:
9 | * Add ``
10 | * Remove all `` lines
11 | * Copy `build\detectenv-msvc.mak` from a newer project like gobject-introspection (Until VS2015 added)
12 |
--------------------------------------------------------------------------------
/cairo/cairo-gobject.pc:
--------------------------------------------------------------------------------
1 | prefix=C:/
2 | exec_prefix=C:/
3 | libdir=${prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: cairo-gobject
7 | Description: gobject functions for cairo
8 | Version: 1.14.6
9 |
10 | Requires: cairo gobject-2.0 glib-2.0
11 | Libs: -L${libdir} -lcairo-gobject
12 | Cflags: -I${includedir}/cairo
13 |
--------------------------------------------------------------------------------
/cairo/cairo.pc:
--------------------------------------------------------------------------------
1 | prefix=C:/
2 | exec_prefix=C:/
3 | libdir=${prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: cairo
7 | Description: Multi-platform 2D graphics library
8 | Version: 1.14.6
9 |
10 | Libs: -L${libdir} -lcairo
11 | Cflags: -I${includedir}/cairo
12 |
--------------------------------------------------------------------------------
/cairo/mod.md:
--------------------------------------------------------------------------------
1 | * Download [cairo 1.14.6](http://cairographics.org/releases/cairo-1.14.6.tar.xz)
2 | * Download [VS solution](https://wiki.gnome.org/Projects/GTK%2B/Win32/MSVCCompilationOfGTKStack?action=AttachFile&do=get&target=cairo-vsprojects.zip)
3 | * Copy `msvc\vs10` to `msvc\vc12`
4 | * In `msvc\vc12\cairo.props`, replace:
5 | * `..\..\..\vs10\$(Platform)` with
6 | `..\..\..\..\..\gtk\$(Platform)`
7 | * `$(CairoEtcInstallRoot)` with
8 | `..\..\..\cairo-rel`
9 | * `-vs10` with
10 | ``
11 | * `.;..\..;..\..\src;$(CairoEtcInstallRoot)\include;%(AdditionalIncludeDirectories)` with
12 | `.;..\..;..\..\src;$(CairoEtcInstallRoot)\include;$(CairoEtcInstallRoot)\include\pixman-1;%(AdditionalIncludeDirectories)`
13 | * `` with
14 | `true`
15 | * `$(CopyDir)\include\cairo` with
16 | `$(CopyDir)\include`
17 | * `libpng15.lib` with
18 | `libpng16.lib`
19 | * Remove
20 | `copy $(SolutionDir)$(Configuration)\$(Platform)\include\*.h $(CopyDir)\include`
21 | * Add to `CairoDoInstall`:
22 | `copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.pdb $(CopyDir)\bin`
23 | * Add `src\cairo-path-stroke-traps.c` to the `cairo` project
24 | * Open `msvc\vc12\cairo.sln` with VS and select `Release_FC` configuration
25 | * Make `cairo-gobject` and `install` buildable
26 | * Make `install` depend on `cairo-gobject`
27 |
--------------------------------------------------------------------------------
/cairo/msvc/vc12/cairo-gobject.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Release_FC
6 | Win32
7 |
8 |
9 | Release_FC
10 | x64
11 |
12 |
13 |
14 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77}
15 | cairogobject
16 | Win32Proj
17 |
18 |
19 |
20 | DynamicLibrary
21 | Unicode
22 | true
23 | v120
24 |
25 |
26 |
27 |
28 |
29 |
30 | false
31 |
32 |
33 |
34 | $(PreBuildCfgGobject)
35 |
36 |
37 | true
38 | $(GObjectIncludeDir);%(AdditionalIncludeDirectories)
39 | CAIRO_HAS_GOBJECT_FUNCTIONS=1;%(PreprocessorDefinitions)
40 | MultiThreadedDLL
41 | true
42 |
43 | Level3
44 | ProgramDatabase
45 |
46 |
47 | $(OutDir)$(CairoDllPrefix)$(ProjectName)$(CairoDllSuffix).dll
48 | $(TargetDir)$(ProjectName).lib
49 | gobject-2.0.lib;glib-2.0.lib;%(AdditionalDependencies)
50 | true
51 | Windows
52 | true
53 | true
54 |
55 |
56 |
57 |
58 | MachineX86
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | {55b6dc50-f887-4765-8a56-6e98e60461ab}
68 | false
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/cairo/msvc/vc12/cairo-gobject.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav
15 |
16 |
17 |
18 | Sources
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/cairo/msvc/vc12/cairo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cairo", "cairo.vcxproj", "{55B6DC50-F887-4765-8A56-6E98E60461AB}"
5 | EndProject
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cairo-gobject", "cairo-gobject.vcxproj", "{E6933C13-F3FC-4D92-80BF-F9253F25AD77}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcxproj", "{2093D218-190E-4194-9421-3BA7CBF33B10}"
9 | ProjectSection(ProjectDependencies) = postProject
10 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77} = {E6933C13-F3FC-4D92-80BF-F9253F25AD77}
11 | EndProjectSection
12 | EndProject
13 | Global
14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
15 | Release_FC|Win32 = Release_FC|Win32
16 | Release_FC|x64 = Release_FC|x64
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {55B6DC50-F887-4765-8A56-6E98E60461AB}.Release_FC|Win32.ActiveCfg = Release_FC|Win32
20 | {55B6DC50-F887-4765-8A56-6E98E60461AB}.Release_FC|Win32.Build.0 = Release_FC|Win32
21 | {55B6DC50-F887-4765-8A56-6E98E60461AB}.Release_FC|x64.ActiveCfg = Release_FC|x64
22 | {55B6DC50-F887-4765-8A56-6E98E60461AB}.Release_FC|x64.Build.0 = Release_FC|x64
23 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77}.Release_FC|Win32.ActiveCfg = Release_FC|Win32
24 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77}.Release_FC|Win32.Build.0 = Release_FC|Win32
25 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77}.Release_FC|x64.ActiveCfg = Release_FC|x64
26 | {E6933C13-F3FC-4D92-80BF-F9253F25AD77}.Release_FC|x64.Build.0 = Release_FC|x64
27 | {2093D218-190E-4194-9421-3BA7CBF33B10}.Release_FC|Win32.ActiveCfg = Release_FC|Win32
28 | {2093D218-190E-4194-9421-3BA7CBF33B10}.Release_FC|Win32.Build.0 = Release_FC|Win32
29 | {2093D218-190E-4194-9421-3BA7CBF33B10}.Release_FC|x64.ActiveCfg = Release_FC|x64
30 | {2093D218-190E-4194-9421-3BA7CBF33B10}.Release_FC|x64.Build.0 = Release_FC|x64
31 | EndGlobalSection
32 | GlobalSection(SolutionProperties) = preSolution
33 | HideSolutionNode = FALSE
34 | EndGlobalSection
35 | EndGlobal
36 |
--------------------------------------------------------------------------------
/cairo/msvc/vc12/install.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Release_FC
6 | Win32
7 |
8 |
9 | Release_FC
10 | x64
11 |
12 |
13 |
14 | {2093D218-190E-4194-9421-3BA7CBF33B10}
15 | install
16 | Win32Proj
17 |
18 |
19 |
20 | Utility
21 | MultiByte
22 | true
23 | v120
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | $(CairoEtcInstallRoot)\
33 |
34 |
35 |
36 |
37 | $(CairoDoInstall)
38 |
39 |
40 |
41 |
42 | {55b6dc50-f887-4765-8a56-6e98e60461ab}
43 | false
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/deps-graph.txt:
--------------------------------------------------------------------------------
1 | // http://yuml.me/diagram/scruffy/class/draw
2 | [GLib]->[ATK]
3 | [GObject-Introspection]->[GTK+]
4 | [GObject-Introspection]->[ATK]
5 | [GObject-Introspection]->[GDK-PixBuf]
6 | [GObject-Introspection]->[Pango]
7 | [Fontconfig]->[Cairo]
8 | [GLib]->[Cairo]
9 | [Pixman]->[Cairo]
10 | [GLib]->[Enchant]
11 | [FreeType]->[Fontconfig]
12 | [libxml2]->[Fontconfig]
13 | [GLib]->[GDK-PixBuf]
14 | [libpng]->[GDK-PixBuf]
15 | [win-iconv]->[gettext-runtime]
16 | [GLib]->[pkg-config]
17 | [pkg-config]->[GObject-Introspection]
18 | [Cairo]->[GObject-Introspection]
19 | [Fontconfig]->[GObject-Introspection]
20 | [FreeType]->[GObject-Introspection]
21 | [GLib]->[GObject-Introspection]
22 | [libxml2]->[GObject-Introspection]
23 | [gettext-runtime]->[GLib]
24 | [libffi]->[GLib]
25 | [zlib]->[GLib]
26 | [ATK]->[GTK+]
27 | [GDK-PixBuf]->[GTK+]
28 | [Pango]->[GTK+]
29 | [FreeType]->[HarfBuzz]
30 | [GLib]->[HarfBuzz]
31 | [zlib]->[libpng]
32 | [win-iconv]->[libxml2]
33 | [Cairo]->[Pango]
34 | [HarfBuzz]->[Pango]
35 | [libpng]->[Pixman]
36 | [luajit]->[lgi]
37 | [GObject-Introspection]->[lgi]
38 | [libffi]->[lgi]
39 | [Enchant]->[HexChat]
40 | [GTK+]->[HexChat]
41 | [OpenSSL]->[HexChat]
42 |
--------------------------------------------------------------------------------
/enchant/mod.md:
--------------------------------------------------------------------------------
1 | * Download [Enchant 1.6.1](https://github.com/AbiWord/enchant/archive/enchant-1-6-1.tar.gz)
2 |
--------------------------------------------------------------------------------
/enchant/src/config.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #ifndef SSIZE_T_DEFINED
4 | #ifdef ssize_t
5 | #undef ssize_t
6 | #endif
7 | #ifdef _WIN64
8 | typedef __int64 ssize_t;
9 | #else
10 | typedef int ssize_t;
11 | #endif
12 | #define SSIZE_T_DEFINED
13 | #endif
14 |
15 | #define ENCHANT_VERSION_STRING "1.6.1"
16 |
17 | #if defined(_MSC_VER)
18 | #pragma warning(disable: 4996) /* The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name. */
19 | #endif
20 |
--------------------------------------------------------------------------------
/enchant/src/libenchant.rc:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | VS_VERSION_INFO VERSIONINFO
4 | FILEVERSION 1,6,1,0
5 | PRODUCTVERSION 1,6,1,0
6 | FILEFLAGSMASK 0
7 | FILEFLAGS 0
8 | FILEOS VOS__WINDOWS32
9 | FILETYPE VFT_DLL
10 | FILESUBTYPE VFT2_UNKNOWN
11 | BEGIN
12 | BLOCK "StringFileInfo"
13 | BEGIN
14 | BLOCK "040904B0"
15 | BEGIN
16 | VALUE "CompanyName", "none"
17 | VALUE "FileDescription", "libenchant"
18 | VALUE "FileVersion", "1.6.1.0"
19 | VALUE "InternalName", "libenchant"
20 | VALUE "OriginalFilename", "libenchant.dll"
21 | VALUE "ProductName", "libenchant"
22 | VALUE "ProductVersion", "1.6.1"
23 | END
24 | END
25 | BLOCK "VarFileInfo"
26 | BEGIN
27 | VALUE "Translation", 0x409, 1200
28 | END
29 | END
30 |
--------------------------------------------------------------------------------
/fontconfig/build.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Debug
10 | x64
11 |
12 |
13 | Release
14 | Win32
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | {F8C673E9-436E-45DB-AB27-A5ADB007387E}
23 | build
24 |
25 |
26 |
27 | Application
28 | true
29 | MultiByte
30 | v120
31 |
32 |
33 | Application
34 | true
35 | MultiByte
36 | v120
37 |
38 |
39 | Application
40 | false
41 | true
42 | MultiByte
43 | v120
44 |
45 |
46 | Application
47 | false
48 | true
49 | MultiByte
50 | v120
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | Level3
76 |
77 |
78 | true
79 |
80 |
81 |
82 |
83 | Level3
84 |
85 |
86 | true
87 |
88 |
89 |
90 |
91 | Level3
92 | true
93 | true
94 |
95 |
96 | true
97 | true
98 | true
99 |
100 |
101 |
102 |
103 | Level3
104 | true
105 | true
106 |
107 |
108 | true
109 | true
110 | true
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/fontconfig/build.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fontconfig/dirent.c:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Implementation of POSIX directory browsing functions and types for Win32.
4 |
5 | Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
6 | History: Created March 1997. Updated June 2003.
7 | Rights: See end of file.
8 |
9 | */
10 |
11 | #include
12 | #include
13 | #include /* _findfirst and _findnext set errno iff they return -1 */
14 | #include
15 | #include
16 |
17 | #ifdef __cplusplus
18 | extern "C"
19 | {
20 | #endif
21 |
22 | struct DIR
23 | {
24 | long handle; /* -1 for failed rewind */
25 | struct _finddata_t info;
26 | struct dirent result; /* d_name null iff first time */
27 | char *name; /* null-terminated char string */
28 | };
29 |
30 | DIR *opendir(const char *name)
31 | {
32 | DIR *dir = 0;
33 |
34 | if(name && name[0])
35 | {
36 | size_t base_length = strlen(name);
37 | const char *all = /* search pattern must end with suitable wildcard */
38 | strchr("/\\", name[base_length - 1]) ? "*" : "/*";
39 |
40 | if((dir = (DIR *) malloc(sizeof *dir)) != 0 &&
41 | (dir->name = (char *) malloc(base_length + strlen(all) + 1)) != 0)
42 | {
43 | strcat(strcpy(dir->name, name), all);
44 |
45 | if((dir->handle = (long) _findfirst(dir->name, &dir->info)) != -1)
46 | {
47 | dir->result.d_name = 0;
48 | }
49 | else /* rollback */
50 | {
51 | free(dir->name);
52 | free(dir);
53 | dir = 0;
54 | }
55 | }
56 | else /* rollback */
57 | {
58 | free(dir);
59 | dir = 0;
60 | errno = ENOMEM;
61 | }
62 | }
63 | else
64 | {
65 | errno = EINVAL;
66 | }
67 |
68 | return dir;
69 | }
70 |
71 | int closedir(DIR *dir)
72 | {
73 | int result = -1;
74 |
75 | if(dir)
76 | {
77 | if(dir->handle != -1)
78 | {
79 | result = _findclose(dir->handle);
80 | }
81 |
82 | free(dir->name);
83 | free(dir);
84 | }
85 |
86 | if(result == -1) /* map all errors to EBADF */
87 | {
88 | errno = EBADF;
89 | }
90 |
91 | return result;
92 | }
93 |
94 | struct dirent *readdir(DIR *dir)
95 | {
96 | struct dirent *result = 0;
97 |
98 | if(dir && dir->handle != -1)
99 | {
100 | if(!dir->result.d_name || _findnext(dir->handle, &dir->info) != -1)
101 | {
102 | result = &dir->result;
103 | result->d_name = dir->info.name;
104 | }
105 | }
106 | else
107 | {
108 | errno = EBADF;
109 | }
110 |
111 | return result;
112 | }
113 |
114 | void rewinddir(DIR *dir)
115 | {
116 | if(dir && dir->handle != -1)
117 | {
118 | _findclose(dir->handle);
119 | dir->handle = (long) _findfirst(dir->name, &dir->info);
120 | dir->result.d_name = 0;
121 | }
122 | else
123 | {
124 | errno = EBADF;
125 | }
126 | }
127 |
128 | #ifdef __cplusplus
129 | }
130 | #endif
131 |
132 | /*
133 |
134 | Copyright Kevlin Henney, 1997, 2003. All rights reserved.
135 |
136 | Permission to use, copy, modify, and distribute this software and its
137 | documentation for any purpose is hereby granted without fee, provided
138 | that this copyright and permissions notice appear in all copies and
139 | derivatives.
140 |
141 | This software is supplied "as is" without express or implied warranty.
142 |
143 | But that said, if there are any problems please get in touch.
144 |
145 | */
146 |
--------------------------------------------------------------------------------
/fontconfig/dirent.h:
--------------------------------------------------------------------------------
1 | #ifndef DIRENT_INCLUDED
2 | #define DIRENT_INCLUDED
3 |
4 | /*
5 |
6 | Declaration of POSIX directory browsing functions and types for Win32.
7 |
8 | Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
9 | History: Created March 1997. Updated June 2003.
10 | Rights: See end of file.
11 |
12 | */
13 |
14 | #ifdef __cplusplus
15 | extern "C"
16 | {
17 | #endif
18 |
19 | typedef struct DIR DIR;
20 |
21 | struct dirent
22 | {
23 | char *d_name;
24 | };
25 |
26 | DIR *opendir(const char *);
27 | int closedir(DIR *);
28 | struct dirent *readdir(DIR *);
29 | void rewinddir(DIR *);
30 |
31 | /*
32 |
33 | Copyright Kevlin Henney, 1997, 2003. All rights reserved.
34 |
35 | Permission to use, copy, modify, and distribute this software and its
36 | documentation for any purpose is hereby granted without fee, provided
37 | that this copyright and permissions notice appear in all copies and
38 | derivatives.
39 |
40 | This software is supplied "as is" without express or implied warranty.
41 |
42 | But that said, if there are any problems please get in touch.
43 |
44 | */
45 |
46 | #ifdef __cplusplus
47 | }
48 | #endif
49 |
50 | #endif
51 |
--------------------------------------------------------------------------------
/fontconfig/fc-arch.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-cache.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 | Sources
23 |
24 |
25 |
--------------------------------------------------------------------------------
/fontconfig/fc-case.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-cat.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-glyphname.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-lang.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-list.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-match.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-query.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fc-scan.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 |
--------------------------------------------------------------------------------
/fontconfig/fontconfig.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | FcAtomicCreate
3 | FcAtomicDeleteNew
4 | FcAtomicDestroy
5 | FcAtomicLock
6 | FcAtomicNewFile
7 | FcAtomicOrigFile
8 | FcAtomicReplaceOrig
9 | FcAtomicUnlock
10 | FcBlanksAdd
11 | FcBlanksCreate
12 | FcBlanksDestroy
13 | FcBlanksIsMember
14 | FcCacheCopySet
15 | FcCacheDir
16 | FcCacheNumFont
17 | FcCacheNumSubdir
18 | FcCacheSubdir
19 | FcCharSetAddChar
20 | FcCharSetCopy
21 | FcCharSetCount
22 | FcCharSetCoverage
23 | FcCharSetCreate
24 | FcCharSetDestroy
25 | FcCharSetEqual
26 | FcCharSetFirstPage
27 | FcCharSetHasChar
28 | FcCharSetIntersect
29 | FcCharSetIntersectCount
30 | FcCharSetIsSubset
31 | FcCharSetMerge
32 | FcCharSetNew
33 | FcCharSetNextPage
34 | FcCharSetSubtract
35 | FcCharSetSubtractCount
36 | FcCharSetUnion
37 | FcConfigAppFontAddDir
38 | FcConfigAppFontAddFile
39 | FcConfigAppFontClear
40 | FcConfigBuildFonts
41 | FcConfigCreate
42 | FcConfigDestroy
43 | FcConfigEnableHome
44 | FcConfigFilename
45 | FcConfigGetBlanks
46 | FcConfigGetCache
47 | FcConfigGetCacheDirs
48 | FcConfigGetConfigDirs
49 | FcConfigGetConfigFiles
50 | FcConfigGetCurrent
51 | FcConfigGetFontDirs
52 | FcConfigGetFonts
53 | FcConfigGetRescanInterval
54 | FcConfigGetRescanInverval
55 | FcConfigHome
56 | FcConfigParseAndLoad
57 | FcConfigReference
58 | FcConfigSetCurrent
59 | FcConfigSetRescanInterval
60 | FcConfigSetRescanInverval
61 | FcConfigSubstitute
62 | FcConfigSubstituteWithPat
63 | FcConfigUptoDate
64 | FcDefaultSubstitute
65 | FcDirCacheLoad
66 | FcDirCacheLoadFile
67 | FcDirCacheRead
68 | FcDirCacheUnlink
69 | FcDirCacheUnload
70 | FcDirCacheValid
71 | FcDirSave
72 | FcDirScan
73 | FcFileIsDir
74 | FcFileScan
75 | FcFini
76 | FcFontList
77 | FcFontMatch
78 | FcFontRenderPrepare
79 | FcFontSetAdd
80 | FcFontSetCreate
81 | FcFontSetDestroy
82 | FcFontSetList
83 | FcFontSetMatch
84 | FcFontSetPrint
85 | FcFontSetSort
86 | FcFontSetSortDestroy
87 | FcFontSort
88 | FcFreeTypeCharIndex
89 | FcFreeTypeCharSet
90 | FcFreeTypeCharSetAndSpacing
91 | FcFreeTypeQuery
92 | FcFreeTypeQueryFace
93 | FcGetLangs
94 | FcGetVersion
95 | FcInit
96 | FcInitBringUptoDate
97 | FcInitLoadConfig
98 | FcInitLoadConfigAndFonts
99 | FcInitReinitialize
100 | FcLangGetCharSet
101 | FcLangSetAdd
102 | FcLangSetCompare
103 | FcLangSetContains
104 | FcLangSetCopy
105 | FcLangSetCreate
106 | FcLangSetDestroy
107 | FcLangSetEqual
108 | FcLangSetGetLangs
109 | FcLangSetHasLang
110 | FcLangSetHash
111 | FcMatrixCopy
112 | FcMatrixEqual
113 | FcMatrixMultiply
114 | FcMatrixRotate
115 | FcMatrixScale
116 | FcMatrixShear
117 | FcNameConstant
118 | FcNameGetConstant
119 | FcNameGetObjectType
120 | FcNameParse
121 | FcNameRegisterConstants
122 | FcNameRegisterObjectTypes
123 | FcNameUnparse
124 | FcNameUnregisterConstants
125 | FcNameUnregisterObjectTypes
126 | FcObjectSetAdd
127 | FcObjectSetBuild
128 | FcObjectSetCreate
129 | FcObjectSetDestroy
130 | FcObjectSetVaBuild
131 | FcPatternAdd
132 | FcPatternAddBool
133 | FcPatternAddCharSet
134 | FcPatternAddDouble
135 | FcPatternAddFTFace
136 | FcPatternAddInteger
137 | FcPatternAddLangSet
138 | FcPatternAddMatrix
139 | FcPatternAddString
140 | FcPatternAddWeak
141 | FcPatternBuild
142 | FcPatternCreate
143 | FcPatternDel
144 | FcPatternDestroy
145 | FcPatternDuplicate
146 | FcPatternEqual
147 | FcPatternEqualSubset
148 | FcPatternFilter
149 | FcPatternFormat
150 | FcPatternGet
151 | FcPatternGetBool
152 | FcPatternGetCharSet
153 | FcPatternGetDouble
154 | FcPatternGetFTFace
155 | FcPatternGetInteger
156 | FcPatternGetLangSet
157 | FcPatternGetMatrix
158 | FcPatternGetString
159 | FcPatternHash
160 | FcPatternPrint
161 | FcPatternReference
162 | FcPatternRemove
163 | FcPatternVaBuild
164 | FcStrBasename
165 | FcStrCmp
166 | FcStrCmpIgnoreCase
167 | FcStrCopy
168 | FcStrCopyFilename
169 | FcStrDirname
170 | FcStrDowncase
171 | FcStrFree
172 | FcStrListCreate
173 | FcStrListDone
174 | FcStrListNext
175 | FcStrPlus
176 | FcStrSetAdd
177 | FcStrSetAddFilename
178 | FcStrSetCreate
179 | FcStrSetDel
180 | FcStrSetDestroy
181 | FcStrSetEqual
182 | FcStrSetMember
183 | FcStrStr
184 | FcStrStrIgnoreCase
185 | FcUcs4ToUtf8
186 | FcUtf16Len
187 | FcUtf16ToUcs4
188 | FcUtf8Len
189 | FcUtf8ToUcs4
190 | FcValueDestroy
191 | FcValueEqual
192 | FcValuePrint
193 | FcValueSave
194 |
--------------------------------------------------------------------------------
/fontconfig/fontconfig.patch:
--------------------------------------------------------------------------------
1 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-cache/fc-cache.c fontconfig-2.8.0/fc-cache/fc-cache.c
2 | --- fontconfig-2.8.0.orig/fc-cache/fc-cache.c 2009-11-16 17:24:52 +0000
3 | +++ fontconfig-2.8.0/fc-cache/fc-cache.c 2012-10-02 08:35:20 +0000
4 | @@ -36,7 +36,9 @@
5 | #include
6 | #include
7 | #include
8 | +#ifndef WIN32
9 | #include
10 | +#endif
11 | #include
12 | #include
13 | #include
14 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-cat/fc-cat.c fontconfig-2.8.0/fc-cat/fc-cat.c
15 | --- fontconfig-2.8.0.orig/fc-cat/fc-cat.c 2009-11-16 17:24:52 +0000
16 | +++ fontconfig-2.8.0/fc-cat/fc-cat.c 2012-10-02 08:35:37 +0000
17 | @@ -36,7 +36,9 @@
18 | #include
19 | #include
20 | #include
21 | +#ifndef WIN32
22 | #include
23 | +#endif
24 | #include
25 | #include
26 | #include
27 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-list/fc-list.c fontconfig-2.8.0/fc-list/fc-list.c
28 | --- fontconfig-2.8.0.orig/fc-list/fc-list.c 2009-11-16 17:24:52 +0000
29 | +++ fontconfig-2.8.0/fc-list/fc-list.c 2012-10-02 08:35:52 +0000
30 | @@ -24,7 +24,9 @@
31 |
32 | #include
33 | #include
34 | +#ifndef WIN32
35 | #include
36 | +#endif
37 | #include
38 | #include
39 | #ifdef HAVE_CONFIG_H
40 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-match/fc-match.c fontconfig-2.8.0/fc-match/fc-match.c
41 | --- fontconfig-2.8.0.orig/fc-match/fc-match.c 2009-11-16 17:24:52 +0000
42 | +++ fontconfig-2.8.0/fc-match/fc-match.c 2012-10-02 08:36:04 +0000
43 | @@ -33,7 +33,9 @@
44 |
45 | #include
46 | #include
47 | +#ifndef WIN32
48 | #include
49 | +#endif
50 | #include
51 | #include
52 |
53 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-query/fc-query.c fontconfig-2.8.0/fc-query/fc-query.c
54 | --- fontconfig-2.8.0.orig/fc-query/fc-query.c 2009-11-16 17:24:52 +0000
55 | +++ fontconfig-2.8.0/fc-query/fc-query.c 2012-10-02 08:36:09 +0000
56 | @@ -36,7 +36,9 @@
57 | #include
58 | #include
59 | #include
60 | +#ifndef WIN32
61 | #include
62 | +#endif
63 | #include
64 | #include
65 |
66 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fc-scan/fc-scan.c fontconfig-2.8.0/fc-scan/fc-scan.c
67 | --- fontconfig-2.8.0.orig/fc-scan/fc-scan.c 2009-11-16 17:24:52 +0000
68 | +++ fontconfig-2.8.0/fc-scan/fc-scan.c 2012-10-02 08:36:21 +0000
69 | @@ -36,7 +36,9 @@
70 | #include
71 | #include
72 | #include
73 | +#ifndef WIN32
74 | #include
75 | +#endif
76 | #include
77 | #include
78 |
79 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/fontconfig/fontconfig.h fontconfig-2.8.0/fontconfig/fontconfig.h
80 | --- fontconfig-2.8.0.orig/fontconfig/fontconfig.h 2009-11-18 23:49:23 +0000
81 | +++ fontconfig-2.8.0/fontconfig/fontconfig.h 2012-10-02 08:36:37 +0000
82 | @@ -27,7 +27,9 @@
83 |
84 | #include
85 | #include
86 | +#ifndef WIN32
87 | #include
88 | +#endif
89 | #include
90 |
91 | #if defined(__GNUC__) && (__GNUC__ >= 4)
92 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/src/fcatomic.c fontconfig-2.8.0/src/fcatomic.c
93 | --- fontconfig-2.8.0.orig/src/fcatomic.c 2009-11-16 17:24:52 +0000
94 | +++ fontconfig-2.8.0/src/fcatomic.c 2012-10-02 08:36:59 +0000
95 | @@ -51,7 +51,9 @@
96 | #include
97 | #include
98 | #include
99 | +#ifndef WIN32
100 | #include
101 | +#endif
102 | #include
103 | #include
104 |
105 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/src/fccache.c fontconfig-2.8.0/src/fccache.c
106 | --- fontconfig-2.8.0.orig/src/fccache.c 2009-11-16 17:24:52 +0000
107 | +++ fontconfig-2.8.0/src/fccache.c 2012-10-02 08:39:46 +0000
108 | @@ -30,7 +30,9 @@
109 | #include
110 | #include
111 | #if defined(HAVE_MMAP) || defined(__CYGWIN__)
112 | +#ifndef WIN32
113 | # include
114 | +#endif
115 | # include
116 | #elif defined(_WIN32)
117 | # define _WIN32_WINNT 0x0500
118 | diff -ruN --strip-trailing-cr fontconfig-2.8.0.orig/src/fcint.h fontconfig-2.8.0/src/fcint.h
119 | --- fontconfig-2.8.0.orig/src/fcint.h 2009-11-16 22:46:18 +0000
120 | +++ fontconfig-2.8.0/src/fcint.h 2012-10-02 08:38:33 +0000
121 | @@ -41,7 +41,9 @@
122 | #include
123 | #include
124 | #include
125 | +#ifndef WIN32
126 | #include
127 | +#endif
128 | #include
129 | #include
130 | #include
131 |
--------------------------------------------------------------------------------
/fontconfig/fontconfig.props:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 | ..\..\..\gtk\$(Platform)\include
9 | WIN32;%(PreprocessorDefinitions)
10 |
11 |
12 |
13 | ..\..\..\gtk\$(Platform)\lib
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/fontconfig/fontconfig.txt:
--------------------------------------------------------------------------------
1 | TODO: CLEAR THIS MESS!!!
2 |
3 |
4 |
5 | fontconfig-2.8.0:
6 | - extract to c:\gtk\fontconfig-*
7 | - extract fontconfig_vs9.zip
8 | - rename stdint.h.vs9 to stdint.h.vs10
9 | - *.vcxproj
10 | s/vs9/vs10
11 | s/VS9/VS10
12 | - config.h +=
13 | #define FLEXIBLE_ARRAY_MEMBER 1
14 | - fc-query, fc-scan includes+=
15 | ..\vs10\$(Platform)\include
16 | - fontconfig.h unistd.h
17 | #ifdef WIN32
18 | #include
19 | #else
20 | /* #include */
21 | #endif
22 | - fc-cache won't succeed, no need
23 | - build-x86.bat
24 |
25 | ------------------------------------------------------------------------
26 |
27 | fontconfig-2.8.0:
28 | - extract to c:\mozilla-build\hexchat\fontconfig-*
29 | - extract fontconfig_vs9.zip
30 | - remove stdint.h
31 | - rename config.h.vc to config.h
32 | - remove *.vcproj
33 | - fc-arch, fc-case, fc-glyphname, fc-lang, fontconfig
34 | remove PreBuildEvent
35 | - add fontconfig.props to
36 | fc-query, fc-scan, fontconfig.vcxproj
37 | - config.h
38 | /* #undef ENABLE_LIBXML2 */
39 | #define ENABLE_LIBXML2 1
40 |
41 | /* #define HAVE_EXPAT 1 */
42 | #undef HAVE_EXPAT
43 |
44 | #define USE_ICONV 1
45 |
46 | - fontconfig.vcxproj
47 | s/libexpat.lib/libxml2.lib;iconv.lib
48 | add iconv.lib
49 | - sln: add build empty project, depends on
50 | fc-cache, fc-cat, fc-list, fc-match, fc-query, fc-scan, fontconfig
51 | - fc-cache won't succeed, no need
52 | - set build as startup project
53 | - release-x*.bat
54 |
55 |
56 | fontconfig:
57 | - add fontconfig.props to all projects
58 | fc-arch, fc-cache, fc-case, fc-cat, fc-glyphname, fc-lang, fc-list,
59 |
--------------------------------------------------------------------------------
/fontconfig/fontconfig.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 | Sources
23 |
24 |
25 | Sources
26 |
27 |
28 | Sources
29 |
30 |
31 | Sources
32 |
33 |
34 | Sources
35 |
36 |
37 | Sources
38 |
39 |
40 | Sources
41 |
42 |
43 | Sources
44 |
45 |
46 | Sources
47 |
48 |
49 | Sources
50 |
51 |
52 | Sources
53 |
54 |
55 | Sources
56 |
57 |
58 | Sources
59 |
60 |
61 | Sources
62 |
63 |
64 | Sources
65 |
66 |
67 | Sources
68 |
69 |
70 | Sources
71 |
72 |
73 | Sources
74 |
75 |
76 | Sources
77 |
78 |
79 | Sources
80 |
81 |
82 | Sources
83 |
84 |
85 | Sources
86 |
87 |
88 |
--------------------------------------------------------------------------------
/fontconfig/fonts.conf.vc:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
23 |
24 |
25 |
26 | WINDOWSFONTDIR
27 |
28 | ~/.fonts
29 |
30 |
33 |
34 |
35 | mono
36 |
37 |
38 | monospace
39 |
40 |
41 |
42 |
45 |
46 |
47 | sans serif
48 |
49 |
50 | sans-serif
51 |
52 |
53 |
54 |
57 |
58 |
59 | sans
60 |
61 |
62 | sans-serif
63 |
64 |
65 |
66 |
69 | conf.d
70 |
71 |
72 |
73 | WINDOWSTEMPDIR_FONTCONFIG_CACHE
74 | ~/.fontconfig
75 |
76 |
77 |
82 |
83 | 0x0020
84 | 0x00A0
85 | 0x00AD
86 | 0x034F
87 | 0x0600
88 | 0x0601
89 | 0x0602
90 | 0x0603
91 | 0x06DD
92 | 0x070F
93 | 0x115F
94 | 0x1160
95 | 0x1680
96 | 0x17B4
97 | 0x17B5
98 | 0x180E
99 | 0x2000
100 | 0x2001
101 | 0x2002
102 | 0x2003
103 | 0x2004
104 | 0x2005
105 | 0x2006
106 | 0x2007
107 | 0x2008
108 | 0x2009
109 | 0x200A
110 | 0x200B
111 | 0x200C
112 | 0x200D
113 | 0x200E
114 | 0x200F
115 | 0x2028
116 | 0x2029
117 | 0x202A
118 | 0x202B
119 | 0x202C
120 | 0x202D
121 | 0x202E
122 | 0x202F
123 | 0x205F
124 | 0x2060
125 | 0x2061
126 | 0x2062
127 | 0x2063
128 | 0x206A
129 | 0x206B
130 | 0x206C
131 | 0x206D
132 | 0x206E
133 | 0x206F
134 | 0x2800
135 | 0x3000
136 | 0x3164
137 | 0xFEFF
138 | 0xFFA0
139 | 0xFFF9
140 | 0xFFFA
141 | 0xFFFB
142 |
143 |
146 |
147 | 30
148 |
149 |
150 |
151 |
152 |
--------------------------------------------------------------------------------
/fontconfig/src/fcftalias.h:
--------------------------------------------------------------------------------
1 | extern __typeof (FcFreeTypeCharIndex) IA__FcFreeTypeCharIndex __attribute((visibility("hidden")));
2 | #define FcFreeTypeCharIndex IA__FcFreeTypeCharIndex
3 | extern __typeof (FcFreeTypeCharSetAndSpacing) IA__FcFreeTypeCharSetAndSpacing __attribute((visibility("hidden")));
4 | #define FcFreeTypeCharSetAndSpacing IA__FcFreeTypeCharSetAndSpacing
5 | extern __typeof (FcFreeTypeCharSet) IA__FcFreeTypeCharSet __attribute((visibility("hidden")));
6 | #define FcFreeTypeCharSet IA__FcFreeTypeCharSet
7 | extern __typeof (FcPatternGetFTFace) IA__FcPatternGetFTFace __attribute((visibility("hidden")));
8 | #define FcPatternGetFTFace IA__FcPatternGetFTFace
9 | extern __typeof (FcPatternAddFTFace) IA__FcPatternAddFTFace __attribute((visibility("hidden")));
10 | #define FcPatternAddFTFace IA__FcPatternAddFTFace
11 | extern __typeof (FcFreeTypeQueryFace) IA__FcFreeTypeQueryFace __attribute((visibility("hidden")));
12 | #define FcFreeTypeQueryFace IA__FcFreeTypeQueryFace
13 |
--------------------------------------------------------------------------------
/fontconfig/src/fcftaliastail.h:
--------------------------------------------------------------------------------
1 | #if HAVE_GNUC_ATTRIBUTE
2 | #ifdef __fcfreetype__
3 | #undef FcFreeTypeCharIndex
4 | extern __typeof (FcFreeTypeCharIndex) FcFreeTypeCharIndex __attribute((alias("IA__FcFreeTypeCharIndex"), visibility("default")));
5 | #endif
6 | #ifdef __fcfreetype__
7 | #undef FcFreeTypeCharSetAndSpacing
8 | extern __typeof (FcFreeTypeCharSetAndSpacing) FcFreeTypeCharSetAndSpacing __attribute((alias("IA__FcFreeTypeCharSetAndSpacing"), visibility("default")));
9 | #endif
10 | #ifdef __fcfreetype__
11 | #undef FcFreeTypeCharSet
12 | extern __typeof (FcFreeTypeCharSet) FcFreeTypeCharSet __attribute((alias("IA__FcFreeTypeCharSet"), visibility("default")));
13 | #endif
14 | #ifdef __fcpat__
15 | #undef FcPatternGetFTFace
16 | extern __typeof (FcPatternGetFTFace) FcPatternGetFTFace __attribute((alias("IA__FcPatternGetFTFace"), visibility("default")));
17 | #endif
18 | #ifdef __fcpat__
19 | #undef FcPatternAddFTFace
20 | extern __typeof (FcPatternAddFTFace) FcPatternAddFTFace __attribute((alias("IA__FcPatternAddFTFace"), visibility("default")));
21 | #endif
22 | #ifdef __fcfreetype__
23 | #undef FcFreeTypeQueryFace
24 | extern __typeof (FcFreeTypeQueryFace) FcFreeTypeQueryFace __attribute((alias("IA__FcFreeTypeQueryFace"), visibility("default")));
25 | #endif
26 | #endif
27 |
--------------------------------------------------------------------------------
/freetype/builds/windows/vc2015/freetype.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio Express 2012 for Windows Desktop
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "freetype.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Debug|x64 = Debug|x64
10 | Debug Multithreaded|Win32 = Debug Multithreaded|Win32
11 | Debug Multithreaded|x64 = Debug Multithreaded|x64
12 | Debug Singlethreaded|Win32 = Debug Singlethreaded|Win32
13 | Debug Singlethreaded|x64 = Debug Singlethreaded|x64
14 | Release|Win32 = Release|Win32
15 | Release|x64 = Release|x64
16 | Release Multithreaded|Win32 = Release Multithreaded|Win32
17 | Release Multithreaded|x64 = Release Multithreaded|x64
18 | Release Singlethreaded|Win32 = Release Singlethreaded|Win32
19 | Release Singlethreaded|x64 = Release Singlethreaded|x64
20 | EndGlobalSection
21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.ActiveCfg = Debug|Win32
23 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|Win32.Build.0 = Debug|Win32
24 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.ActiveCfg = Debug|x64
25 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug|x64.Build.0 = Debug|x64
26 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Multithreaded|Win32.ActiveCfg = Debug Multithreaded|Win32
27 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Multithreaded|Win32.Build.0 = Debug Multithreaded|Win32
28 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Multithreaded|x64.ActiveCfg = Debug Multithreaded|x64
29 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Multithreaded|x64.Build.0 = Debug Multithreaded|x64
30 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Singlethreaded|Win32.ActiveCfg = Debug Singlethreaded|Win32
31 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Singlethreaded|Win32.Build.0 = Debug Singlethreaded|Win32
32 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Singlethreaded|x64.ActiveCfg = Debug Singlethreaded|x64
33 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Debug Singlethreaded|x64.Build.0 = Debug Singlethreaded|x64
34 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.ActiveCfg = Release|Win32
35 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.Build.0 = Release|Win32
36 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.ActiveCfg = Release|x64
37 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.Build.0 = Release|x64
38 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Multithreaded|Win32.ActiveCfg = Release Multithreaded|Win32
39 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Multithreaded|Win32.Build.0 = Release Multithreaded|Win32
40 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Multithreaded|x64.ActiveCfg = Release Multithreaded|x64
41 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Multithreaded|x64.Build.0 = Release Multithreaded|x64
42 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Singlethreaded|Win32.ActiveCfg = Release Singlethreaded|Win32
43 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Singlethreaded|Win32.Build.0 = Release Singlethreaded|Win32
44 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Singlethreaded|x64.ActiveCfg = Release Singlethreaded|x64
45 | {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release Singlethreaded|x64.Build.0 = Release Singlethreaded|x64
46 | EndGlobalSection
47 | GlobalSection(SolutionProperties) = preSolution
48 | HideSolutionNode = FALSE
49 | EndGlobalSection
50 | EndGlobal
51 |
--------------------------------------------------------------------------------
/freetype/builds/windows/vc2015/freetype.user.props:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
16 |
17 |
18 |
21 |
22 |
23 |
27 |
28 |
29 |
30 |
35 |
36 |
37 |
38 |
42 |
43 |
44 |
45 |
49 |
50 |
51 |
52 |
53 |
54 |
57 |
58 |
68 |
69 |
--------------------------------------------------------------------------------
/freetype/builds/windows/vc2015/freetype.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {b4c15893-ec11-491d-9507-0ac184f9cc78}
6 | cpp;c;cxx;rc;def;r;odl;idl;hpj;bat
7 |
8 |
9 | {4d3e4eff-3fbc-4b20-b413-2743b23b7109}
10 |
11 |
12 | {e6cf6a0f-0404-4024-8bf8-ff5b29f35657}
13 | h;hpp;hxx;hm;inl
14 |
15 |
16 |
17 |
18 | Source Files
19 |
20 |
21 | Source Files
22 |
23 |
24 | Source Files
25 |
26 |
27 | Source Files
28 |
29 |
30 | Source Files
31 |
32 |
33 | Source Files
34 |
35 |
36 | Source Files
37 |
38 |
39 | Source Files
40 |
41 |
42 | Source Files
43 |
44 |
45 | Source Files
46 |
47 |
48 | Source Files
49 |
50 |
51 | Source Files
52 |
53 |
54 | Source Files
55 |
56 |
57 | Source Files
58 |
59 |
60 | Source Files
61 |
62 |
63 | Source Files
64 |
65 |
66 | Source Files
67 |
68 |
69 | Source Files\FT_MODULES
70 |
71 |
72 | Source Files\FT_MODULES
73 |
74 |
75 | Source Files\FT_MODULES
76 |
77 |
78 | Source Files\FT_MODULES
79 |
80 |
81 | Source Files\FT_MODULES
82 |
83 |
84 | Source Files\FT_MODULES
85 |
86 |
87 | Source Files\FT_MODULES
88 |
89 |
90 | Source Files\FT_MODULES
91 |
92 |
93 | Source Files\FT_MODULES
94 |
95 |
96 | Source Files\FT_MODULES
97 |
98 |
99 | Source Files\FT_MODULES
100 |
101 |
102 | Source Files\FT_MODULES
103 |
104 |
105 | Source Files\FT_MODULES
106 |
107 |
108 | Source Files\FT_MODULES
109 |
110 |
111 | Source Files\FT_MODULES
112 |
113 |
114 | Source Files\FT_MODULES
115 |
116 |
117 | Source Files\FT_MODULES
118 |
119 |
120 | Source Files\FT_MODULES
121 |
122 |
123 | Source Files\FT_MODULES
124 |
125 |
126 | Source Files\FT_MODULES
127 |
128 |
129 | Source Files\FT_MODULES
130 |
131 |
132 | Source Files\FT_MODULES
133 |
134 |
135 | Source Files\FT_MODULES
136 |
137 |
138 |
139 |
140 | Header Files
141 |
142 |
143 | Header Files
144 |
145 |
146 | Header Files
147 |
148 |
149 | Header Files
150 |
151 |
152 | Header Files
153 |
154 |
155 | Header Files
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/freetype/mod.md:
--------------------------------------------------------------------------------
1 | * Download [FreeType 2.6.5](https://download.savannah.gnu.org/releases/freetype/freetype-2.6.5.tar.bz2)
2 | * Copy `builds\windows\vc2010` to `builds\windows\vc2015`
3 | * In `builds\windows\vc2015\freetype.vcxproj`:
4 | * Replace `v100` with `v140`
5 | * Replace all `vc2010` in `` and `` with `vc2015`
6 | * Replace
7 | ```
8 | freetype263
9 | freetype263
10 | ```
11 | with
12 | ```
13 | freetype
14 | freetype
15 | ```
16 | * Add ``
17 | * Add `` at the end
18 | * Delete `` lines
19 | * Replace all instances of `..\..\..\include\freetype\config\` with `..\..\..\include\config\`
20 |
--------------------------------------------------------------------------------
/gdk-pixbuf/build/detectenv-msvc.mak:
--------------------------------------------------------------------------------
1 | # Common NMake Makefile module for checking the build environment
2 | # This can be copied from $(glib_srcroot)\build\win32 for GNOME items
3 | # that support MSVC builds and introspection under MSVC, and can be used
4 | # for building test programs as well.
5 |
6 | # Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
7 | # VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
8 | !if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
9 | MSG = ^
10 | This Makefile is only for Visual Studio 2008 and later.^
11 | You need to ensure that the Visual Studio Environment is properly set up^
12 | before running this Makefile.
13 | !error $(MSG)
14 | !endif
15 |
16 | ERRNUL = 2>NUL
17 | _HASH=^#
18 |
19 | !if ![echo VCVERSION=_MSC_VER > vercl.x] \
20 | && ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
21 | && ![echo PLAT=Win32 >> vercl.x] \
22 | && ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
23 | && ![echo PLAT=x64 >> vercl.x] \
24 | && ![echo $(_HASH)endif >> vercl.x] \
25 | && ![cl -nologo -TC -P vercl.x $(ERRNUL)]
26 | !include vercl.i
27 | !if ![echo VCVER= ^\> vercl.vc] \
28 | && ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
29 | !include vercl.vc
30 | !endif
31 | !endif
32 | !if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
33 | !endif
34 |
35 | !if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
36 | VSVER = 9
37 | !elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
38 | VSVER = 10
39 | !elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
40 | VSVER = 11
41 | !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
42 | VSVER = 12
43 | !elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
44 | VSVER = 14
45 | !else
46 | VSVER = 0
47 | !endif
48 |
49 | !if "$(VSVER)" == "0"
50 | MSG = ^
51 | This NMake Makefile set supports Visual Studio^
52 | 9 (2008) through 14 (2015). Your Visual Studio^
53 | version is not supported.
54 | !error $(MSG)
55 | !endif
56 |
57 | VALID_CFGSET = FALSE
58 | !if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
59 | VALID_CFGSET = TRUE
60 | !endif
61 |
62 | # We want debugging symbols logged for all builds,
63 | # using .pdb files for release builds
64 | CFLAGS_BASE = /Zi
65 |
66 | !if "$(CFG)" == "release" || "$(CFG)" == "Release"
67 | CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
68 | !else
69 | CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
70 | !endif
71 |
72 | !if "$(PLAT)" == "x64"
73 | LDFLAGS_ARCH = /machine:x64
74 | !else
75 | LDFLAGS_ARCH = /machine:x86
76 | !endif
77 |
--------------------------------------------------------------------------------
/gdk-pixbuf/build/win32/vs14/gdk-pixbuf-build-defines.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 2.10.0
8 | INCLUDE_gdiplus
9 | JAS_WIN_MSVC_BUILD;INCLUDE_bmp;INCLUDE_gif;INCLUDE_ico;INCLUDE_jasper;INCLUDE_jpeg;INCLUDE_tiff;
10 | INCLUDE_ani;INCLUDE_tga;INCLUDE_xbm;INCLUDE_png;INCLUDE_qtif;INCLUDE_pnm;INCLUDE_icns;INCLUDE_xpm
11 | /dummy
12 | GDK_PIXBUF_PREFIX="$(GdkPixbufDummyPrefix)"
13 | PIXBUF_LIBDIR="$(GdkPixbufDummyPrefix)/lib/gdk-pixbuf-$(ApiVersion)/$(GdkPixbufBinaryVersion)/loaders"
14 | GDK_PIXBUF_BINARY_VERSION="$(GdkPixbufBinaryVersion)"
15 | HAVE_CONFIG_H;GDK_PIXBUF_COMPILATION;GDK_PIXBUF_ENABLE_BACKEND;DLL_EXPORT;GDK_PIXBUF_RELOCATABLE;$(GdkPixbufPrefixDefine);$(GdkPixbufBinVerDefine);$(MODULAR_MACROS)
16 | gdiplus.lib
17 | jpeg.lib;libjasper.lib;libtiff_i.lib
18 |
19 |
20 | <_PropertySheetDisplayName>gdk-pixbufbuilddefinesprops
21 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
22 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
23 |
24 |
25 |
26 | ..\..\..;..\..\..\gdk-pixbuf;.;$(GlibEtcInstallRoot)\include\gio-win32-2.0;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)
27 | HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)
28 | msvc_recommended_pragmas.h;%(ForcedIncludeFiles)
29 | true
30 | /d2Zi+ %(AdditionalOptions)
31 |
32 |
33 | gio-2.0.lib;gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;libintl.lib;libpng16.lib;zlib1.lib;%(AdditionalDependencies)
34 | $(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
35 | LIBCMTD.lib;LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)
36 |
37 |
38 |
39 |
40 | $(GdkPixbufBinaryVersion)
41 |
42 |
43 | $(GDIP_MACROS)
44 |
45 |
46 | $(NOGDIP_MACROS)
47 |
48 |
49 | $(MODULAR_MACROS)
50 |
51 |
52 | $(GdkPixbufDummyPrefix)
53 |
54 |
55 | $(GdkPixbufPrefixDefine)
56 |
57 |
58 | $(GdkPixbufLibdirDefine)
59 |
60 |
61 | $(GdkPixbufBinVerDefine)
62 |
63 |
64 | $(GdkPixbufDefines)
65 |
66 |
67 | $(GdipLibs)
68 |
69 |
70 | $(ImagingLibs)
71 |
72 |
73 |
74 |
--------------------------------------------------------------------------------
/gdk-pixbuf/build/win32/vs14/gdk-pixbuf-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 14
5 | $(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)
6 | $(SolutionDir)..\..\..\..\gdk-pixbuf-rel
7 | 2.0
8 | lib
9 | -$(ApiVersion)-0
10 |
11 | -2.0
12 | $(GdkPixbufSeparateVSDllPrefix)
13 | $(GdkPixbufSeparateVSDllSuffix)
14 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
15 |
16 |
17 | <_PropertySheetDisplayName>gdk-versionpathsprops
18 |
19 |
20 |
21 | $(VSVer)
22 |
23 |
24 | $(GlibEtcInstallRoot)
25 |
26 |
27 | $(CopyDir)
28 |
29 |
30 | $(ApiVersion)
31 |
32 |
33 | $(GdkPixbufLibtoolCompatibleDllPrefix)
34 |
35 |
36 | $(GdkPixbufLibtoolCompatibleDllSuffix)
37 |
38 |
39 | $(GdkPixbufSeparateVSDllPrefix)
40 |
41 |
42 | $(GdkPixbufSeparateVSDllSuffix)
43 |
44 |
45 | $(GdkPixbufDllPrefix)
46 |
47 |
48 | $(GdkPixbufDllSuffix)
49 |
50 |
51 | $(DefDir)
52 |
53 |
54 |
--------------------------------------------------------------------------------
/gdk-pixbuf/gdk-pixbuf-2.0.pc:
--------------------------------------------------------------------------------
1 | prefix=C:/
2 | exec_prefix=C:/
3 | libdir=${prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: GdkPixbuf
7 | Description: Image loading and scaling
8 | Version: 2.32.3
9 |
10 | Requires: gobject-2.0
11 | Libs: -L${libdir} -lgdk-pixbuf-2.0
12 | Cflags: -I${includedir}/gdk-pixbuf-2.0
13 |
--------------------------------------------------------------------------------
/gdk-pixbuf/mod.md:
--------------------------------------------------------------------------------
1 | * Download [GDK-PixBuf 2.34.0](http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.34/gdk-pixbuf-2.34.0.tar.xz)
2 | * In `build\win32\vs14\gdk-pixbuf-build-defines.props`, replace `intl.lib` with `libintl.lib`
3 | * In `build\win32\vs14\gdk-pixbuf-version-paths.props`, replace:
4 | * `$(SolutionDir)..\..\..\..\vs$(VSVer)\$(Platform)` with `$(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)`
5 | * `$(GlibEtcInstallRoot)` with `$(SolutionDir)..\..\..\..\gdk-pixbuf-rel`
6 | * `-2-vs$(VSVer)` with `-2.0`
7 | * Copy `build\detectenv-msvc.mak` from a newer project like gobject-introspection (Until VS2015 added)
8 |
--------------------------------------------------------------------------------
/gettext-runtime/gettext-runtime.patch:
--------------------------------------------------------------------------------
1 | diff -ruN --strip-trailing-cr gettext-runtime-0.18.orig/gettext-runtime/intl/intl.def gettext-runtime-0.18/gettext-runtime/intl/intl.def
2 | --- gettext-runtime-0.18.orig/gettext-runtime/intl/intl.def 2012-09-28 21:56:54 +0200
3 | +++ gettext-runtime-0.18/gettext-runtime/intl/intl.def 2012-09-28 21:56:44 +0200
4 | @@ -1,4 +1,3 @@
5 | -LIBRARY libintl.DLL
6 | EXPORTS
7 | ;_imp___ctype_ptr
8 | _nl_expand_alias
9 | @@ -43,6 +42,11 @@
10 | libintl_nl_default_default_domain
11 | libintl_nl_default_dirname
12 | libintl_nl_domain_bindings
13 | +libintl_vfprintf
14 | +libintl_vprintf
15 | +libintl_vsprintf
16 | +libintl_printf
17 | +libintl_sprintf
18 | ;libintl_relocate
19 | ;libintl_set_relocation_prefix
20 | libintl_setlocale
21 |
--------------------------------------------------------------------------------
/gettext-runtime/mod.md:
--------------------------------------------------------------------------------
1 | * Download [gettext-runtime 0.18](http://winkde.org/pub/kde/ports/win32/repository-4.8/win32libs/gettext-vc100-0.18-src.tar.bz2) from WinKDE
2 | * Convert `gettext-runtime\intl\intl.def` to Unix EOL
3 | * Patch with `patch -p1 -i gettext-runtime.patch`
4 |
--------------------------------------------------------------------------------
/glib/build/win32/vs14/glib-build-defines.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | PCRE_STATIC;LINK_SIZE=2;MAX_NAME_SIZE=32;MAX_NAME_COUNT=10000;NEWLINE=-1;POSIX_MALLOC_THRESHOLD=10;MATCH_LIMIT=10000000;MATCH_LIMIT_RECURSION=10000000;SUPPORT_UCP;SUPPORT_UTF;SUPPORT_UTF8;G_LOG_DOMAIN="GLib-GRegex"
8 | PCRE_EXP_DECL=__declspec(dllexport)extern;PCRE_EXP_DEFN=
9 | -UBSR_ANYCRLF -UEBCDIC
10 | LIBDIR="blah"
11 | DLL_EXPORT
12 | USE_SYSTEM_PCRE
13 | GLIB_COMPILATION
14 | GIO_COMPILATION
15 | $(GLibInBuildMacro);$(DllExportDefines);G_LOG_DOMAIN="GLib"
16 | G_LOG_DOMAIN="GThread"
17 | G_LOG_DOMAIN="GModule"
18 | GOBJECT_COMPILATION;$(DllExportDefines);G_LOG_DOMAIN="GLib-GObject"
19 | $(GioInBuildMacro);G_LOG_DOMAIN="GLib-GIO";$(DllExportDefines)
20 | ws2_32.lib;shlwapi.lib;dnsapi.lib;iphlpapi.lib
21 |
22 |
23 | <_PropertySheetDisplayName>glibbuilddefinesprops
24 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
25 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
26 |
27 |
28 |
29 | ..\..\..;..\..\..\glib;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)
30 | HAVE_CONFIG_H;%(PreprocessorDefinitions)
31 | msvc_recommended_pragmas.h;%(ForcedIncludeFiles)
32 | true
33 | /d2Zi+ %(AdditionalOptions)
34 |
35 |
36 | libintl.lib;%(AdditionalDependencies)
37 | $(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
38 |
39 |
40 |
41 |
42 | $(GLibBundledPCREDefines)
43 |
44 |
45 | $(GlibBundledPCREExportDefines)
46 |
47 |
48 | $(GLibBundledPCREUndefs)
49 |
50 |
51 | $(LocalCharsetDefs)
52 |
53 |
54 | $(DllExportDefines)
55 |
56 |
57 | $(UseSystemPCREDefines)
58 |
59 |
60 | $(GLibInBuildMacro)
61 |
62 |
63 | $(GioInBuildMacro)
64 |
65 |
66 | $(GLibBuildDefines)
67 |
68 |
69 | $(GThreadBuildDefines)
70 |
71 |
72 | $(GModuleBuildDefines)
73 |
74 |
75 | $(GObjectBuildDefines)
76 |
77 |
78 | $(GioBuildDefines)
79 |
80 |
81 | $(WindowsNetworkingLibs)
82 |
83 |
84 |
--------------------------------------------------------------------------------
/glib/build/win32/vs14/glib-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 14
5 | 2.48.2
6 | 2.0
7 | ..\..\..\..\..\..\gtk\$(Platform)
8 | ..\..\..\..\glib-rel
9 | lib
10 | -$(ApiVersion)-0
11 |
12 | -2.0
13 | $(GlibSeparateVSDllPrefix)
14 | $(GlibSeparateVSDllSuffix)
15 | ..\..\..\..\..\..\python-2.7\$(Platform)
16 |
17 |
18 | <_PropertySheetDisplayName>glibversionpathsprops
19 |
20 |
21 |
22 | $(VSVer)
23 |
24 |
25 | $(GlibVersion)
26 |
27 |
28 | $(ApiVersion)
29 |
30 |
31 | $(GlibEtcInstallRoot)
32 |
33 |
34 | $(CopyDir)
35 |
36 |
37 | $(GlibLibtoolCompatibleDllPrefix)
38 |
39 |
40 | $(GlibLibtoolCompatibleDllSuffix)
41 |
42 |
43 | $(GlibSeparateVSDllPrefix)
44 |
45 |
46 | $(GlibSeparateVSDllSuffix)
47 |
48 |
49 | $(GlibDllPrefix)
50 |
51 |
52 | $(GlibDllSuffix)
53 |
54 |
55 | $(PythonPath)
56 |
57 |
58 |
--------------------------------------------------------------------------------
/glib/glib-if_nametoindex.patch:
--------------------------------------------------------------------------------
1 | diff -urpN glib-2.42.0.orig/config.h.win32 glib-2.42.0/config.h.win32
2 | --- glib-2.42.0.orig/config.h.win32 2014-05-03 13:34:53 -0700
3 | +++ glib-2.42.0/config.h.win32 2014-05-03 13:35:27 -0700
4 | @@ -207,10 +207,8 @@
5 | /* Define to 1 if you have the `hasmntopt' function. */
6 | /* #undef HAVE_HASMNTOPT */
7 |
8 | -/* Target the Windows XP API */
9 | -#ifndef _WIN32_WINNT
10 | -#define _WIN32_WINNT 0x0501
11 | -#endif
12 | +/* Target the Windows Vista API */
13 | +#define _WIN32_WINNT 0x0600
14 |
15 | #if _WIN32_WINNT >= 0x0600
16 | /* if_indextoname() and if_nametoindex() are available on Windows Vista/Server
17 |
--------------------------------------------------------------------------------
/glib/glib-package-installation-directory.patch:
--------------------------------------------------------------------------------
1 | From 03ad717497c4669970a8f335961272af449d277c Mon Sep 17 00:00:00 2001
2 | From: TingPing
3 | Date: Sun, 9 Nov 2014 00:11:13 -0500
4 | Subject: [PATCH] Fix g_win32_get_package_installation_directory_of_module()
5 | handling some paths containing bin/lib
6 |
7 | ---
8 | glib/gwin32.c | 30 +++++++++---------------------
9 | 1 file changed, 9 insertions(+), 21 deletions(-)
10 |
11 | diff --git a/glib/gwin32.c b/glib/gwin32.c
12 | index ffc5fe2..f495bee 100644
13 | --- a/glib/gwin32.c
14 | +++ b/glib/gwin32.c
15 | @@ -249,32 +249,20 @@ g_win32_get_package_installation_directory_of_module (gpointer hmodule)
16 |
17 | filename = g_utf16_to_utf8 (wc_fn, -1, NULL, NULL, NULL);
18 |
19 | + /* Strip off trailing module/executable */
20 | if ((p = strrchr (filename, G_DIR_SEPARATOR)) != NULL)
21 | *p = '\0';
22 |
23 | - retval = g_strdup (filename);
24 | -
25 | - do
26 | - {
27 | - p = strrchr (retval, G_DIR_SEPARATOR);
28 | - if (p == NULL)
29 | - break;
30 | -
31 | + /* Strip off trailing bin/lib */
32 | + if ((p = strrchr (filename, G_DIR_SEPARATOR)) != NULL)
33 | + {
34 | + if (g_ascii_strcasecmp (p + 1, "bin") == 0 ||
35 | + g_ascii_strcasecmp (p + 1, "lib") == 0)
36 | *p = '\0';
37 | + }
38 |
39 | - if (g_ascii_strcasecmp (p + 1, "bin") == 0 ||
40 | - g_ascii_strcasecmp (p + 1, "lib") == 0)
41 | - break;
42 | - }
43 | - while (p != NULL);
44 | -
45 | - if (p == NULL)
46 | - {
47 | - g_free (retval);
48 | - retval = filename;
49 | - }
50 | - else
51 | - g_free (filename);
52 | + retval = g_strdup (filename);
53 | + g_free (filename);
54 |
55 | #ifdef G_WITH_CYGWIN
56 | /* In Cygwin we need to have POSIX paths */
57 | --
58 | 2.1.0
59 |
60 |
--------------------------------------------------------------------------------
/glib/glibpc-libintl.patch:
--------------------------------------------------------------------------------
1 | --- glib.orig/build/win32/glibpc.py 2016-03-15 19:19:29.000000000 -0700
2 | +++ glib.orig/build/win32/glibpc.py 2016-04-05 18:35:40.351402900 -0700
3 | @@ -26,7 +26,7 @@
4 | 'glib-mkenums': 'perl ${exec_prefix}/bin/glib-mkenums',
5 | 'gobject-query': '${exec_prefix}/bin/gobject-query',
6 | '@PCRE_REQUIRES@': '',
7 | - '@INTLLIBS@': '-lintl',
8 | + '@INTLLIBS@': '-llibintl',
9 | '@G_LIBS_EXTRA@': '',
10 | '@PCRE_LIBS@': '',
11 | '@ICONV_LIBS@': '-liconv',
12 |
--------------------------------------------------------------------------------
/glib/mod.md:
--------------------------------------------------------------------------------
1 | * Download [GLib 2.48.2](http://ftp.gnome.org/pub/gnome/sources/glib/2.48/glib-2.48.2.tar.xz)
2 | * In all vcxproj files:
3 | * Add ``
4 | * Remove all `` lines
5 | * In `build\win32\vs14\glib-build-defines.props`
6 | * replace `intl.lib` with `libintl.lib`
7 | * Remove `;FFI_BUILDING` from `` since we build libffi as a DLL
8 | * In `build\win32\vs14\glib-version-paths.props`, replace
9 | * `..\..\..\..\vs$(VSVer)\$(Platform)` with `..\..\..\..\..\..\gtk\$(Platform)`
10 | * `$(GlibEtcInstallRoot)` with `..\..\..\..\glib-rel`
11 | * `-2-vs$(VSVer)` with `-2.0`
12 | * `c:\python27` with `..\..\..\..\..\..\python-2.7\$(Platform)`
13 |
--------------------------------------------------------------------------------
/gobject-introspection/build/win32/vs14/gi-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 14
5 | $(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)
6 | ..\..\..\..\gobject-introspection-rel
7 |
8 | $(SolutionDir)..\..\..\..\..\..\python-2.7\$(Platform)
9 |
10 | $(SolutionDir)..\..\..\..\..\..\python-2.7\$(Platform)
11 | PYTHON=$(PythonDir)\python.exe
12 | PYTHON=$(PythonDirX64)\python.exe
13 | 1.48.0
14 | $(SolutionDir)\..\..\..
15 | 1.0
16 | $(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)
17 | lib
18 | -$(ApiVersion)-0
19 |
20 | -1.0
21 | $(LibGISeparateVSDllPrefix)
22 | $(LibGISeparateVSDllSuffix)
23 |
24 |
25 | <_PropertySheetDisplayName>giversionpathsprops
26 |
27 |
28 |
29 | $(VSVer)
30 |
31 |
32 | $(GlibEtcInstallRoot)
33 |
34 |
35 | $(CopyDir)
36 |
37 |
38 | $(PythonDir)
39 |
40 |
41 | $(PythonDirX64)
42 |
43 |
44 | $(IntrospectPythonParam)
45 |
46 |
47 | $(IntrospectPythonParamX64)
48 |
49 |
50 | $(GIVersion)
51 |
52 |
53 | $(BASE_GI_DIR)
54 |
55 |
56 | $(ApiVersion)
57 |
58 |
59 | $(LibGILibtoolCompatibleDllPrefix)
60 |
61 |
62 | $(LibGILibtoolCompatibleDllSuffix)
63 |
64 |
65 | $(LibGISeparateVSDllPrefix)
66 |
67 |
68 | $(LibGISeparateVSDllSuffix)
69 |
70 |
71 | $(LibGIDllPrefix)
72 |
73 |
74 | $(LibGIDllSuffix)
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/gobject-introspection/mod.md:
--------------------------------------------------------------------------------
1 | * Download [GObject-Introspection 1.48.0](ftp://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.48/gobject-introspection-1.48.0.tar.xz)
2 | * In all vcxproj files:
3 | * Add ``
4 | * Remove all `` lines
5 | * In `build\win32\vs14\glib-version-paths.props`, replace
6 | * `$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)` with `$(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)`
7 | * `$(GlibEtcInstallRoot)` with `..\..\..\..\gobject-introspection-rel`
8 | * `-1-vs$(VSVer)` with `-1.0`
9 | * `c:\\python34` with `$(SolutionDir)..\..\..\..\..\..\python-2.7\$(Platform)`
10 | * `$(PythonDir).x64` with `$(SolutionDir)..\..\..\..\..\..\python-2.7\$(Platform)`
11 | * In `build\win32\vs14\gi-install.vcxproj`
12 | * Remove include of `gi-introspect.vcxproj`
13 | * In `build\win32\vs14\gi-install.props`
14 | * Remove all files installed into `lib\girepository-1.0`
15 | * Remove all files installed into `share\gir-1.0`
16 | * Replace `$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin` with `$(bindir)`
--------------------------------------------------------------------------------
/gobject-introspection/pkg-config-env-var.patch:
--------------------------------------------------------------------------------
1 | --- gobject-introspection.orig/build/win32/introspection-msvc.mak 2016-03-22 15:22:28.000000000 -0700
2 | +++ gobject-introspection/build/win32/introspection-msvc.mak 2016-04-04 16:28:36.036641400 -0700
3 | @@ -37,6 +37,10 @@
4 | PYTHON=python
5 | !endif
6 |
7 | +!if "$(PKG_CONFIG)" == ""
8 | +PKG_CONFIG=pkg-config
9 | +!endif
10 | +
11 | # Don't change anything following this line!
12 |
13 | GIR_SUBDIR = share\gir-1.0
14 | @@ -56,7 +60,7 @@
15 | BUILD_INTROSPECTION = TRUE
16 |
17 | !if ![set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)] \
18 | - && ![pkg-config --print-errors --errors-to-stdout $(CHECK_PACKAGE) > pkgconfig.x] \
19 | + && ![$(PKG_CONFIG) --print-errors --errors-to-stdout $(CHECK_PACKAGE) > pkgconfig.x] \
20 | && ![setlocal] \
21 | && ![set file="pkgconfig.x"] \
22 | && ![FOR %A IN (%file%) DO @echo PKG_CHECK_SIZE=%~zA > pkgconfig.chksize] \
23 |
--------------------------------------------------------------------------------
/gtk/build/detectenv_msvc.mak:
--------------------------------------------------------------------------------
1 | # Common NMake Makefile module for checking the build environment
2 | # This can be copied from $(glib_srcroot)\build\win32 for GNOME items
3 | # that support MSVC builds and introspection under MSVC, and can be used
4 | # for building test programs as well.
5 |
6 | # Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
7 | # VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
8 | !if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
9 | MSG = ^
10 | This Makefile is only for Visual Studio 2008 and later.^
11 | You need to ensure that the Visual Studio Environment is properly set up^
12 | before running this Makefile.
13 | !error $(MSG)
14 | !endif
15 |
16 | ERRNUL = 2>NUL
17 | _HASH=^#
18 |
19 | !if ![echo VCVERSION=_MSC_VER > vercl.x] \
20 | && ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
21 | && ![echo PLAT=Win32 >> vercl.x] \
22 | && ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
23 | && ![echo PLAT=x64 >> vercl.x] \
24 | && ![echo $(_HASH)endif >> vercl.x] \
25 | && ![cl -nologo -TC -P vercl.x $(ERRNUL)]
26 | !include vercl.i
27 | !if ![echo VCVER= ^\> vercl.vc] \
28 | && ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
29 | !include vercl.vc
30 | !endif
31 | !endif
32 | !if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
33 | !endif
34 |
35 | !if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
36 | VSVER = 9
37 | !elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
38 | VSVER = 10
39 | !elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
40 | VSVER = 11
41 | !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
42 | VSVER = 12
43 | !elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
44 | VSVER = 14
45 | !else
46 | VSVER = 0
47 | !endif
48 |
49 | !if "$(VSVER)" == "0"
50 | MSG = ^
51 | This NMake Makefile set supports Visual Studio^
52 | 9 (2008) through 14 (2015). Your Visual Studio^
53 | version is not supported.
54 | !error $(MSG)
55 | !endif
56 |
57 | VALID_CFGSET = FALSE
58 | !if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
59 | VALID_CFGSET = TRUE
60 | !endif
61 |
62 | # We want debugging symbols logged for all builds,
63 | # using .pdb files for release builds
64 | CFLAGS_BASE = /Zi
65 |
66 | !if "$(CFG)" == "release" || "$(CFG)" == "Release"
67 | CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
68 | !else
69 | CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
70 | !endif
71 |
72 | !if "$(PLAT)" == "x64"
73 | LDFLAGS_ARCH = /machine:x64
74 | !else
75 | LDFLAGS_ARCH = /machine:x86
76 | !endif
77 |
--------------------------------------------------------------------------------
/gtk/build/gen-file-list-gtk.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python
2 | # vim: encoding=utf-8
3 | # Generate the file lists for processing with g-ir-scanner
4 | import os
5 | import sys
6 | import re
7 | import string
8 | import subprocess
9 | import optparse
10 |
11 | from msvcfiles import read_vars_from_AM
12 |
13 | def gen_gdk_filelist(srcroot, subdir, dest):
14 | vars = read_vars_from_AM(os.path.join(srcroot, subdir, 'Makefile.am'),
15 | vars = {},
16 | conds = {},
17 | filters = ['gdk_public_h_sources', 'gdk_c_sources'])
18 |
19 | vars['gdk_enums'] = 'gdkenumtypes.c gdkenumtypes.h'
20 |
21 | files = vars['gdk_public_h_sources'].split() + \
22 | vars['gdk_c_sources'].split() + \
23 | vars['gdk_enums'].split()
24 |
25 | sources = [i for i in files if (i != 'gdkkeysyms-compat.h')]
26 |
27 | with open(dest, 'w') as d:
28 | for i in sources:
29 | d.write(srcroot + '\\' + subdir + '\\' + i.replace('/', '\\') + '\n')
30 |
31 | def gen_gdkwin32_filelist(srcroot, subdir, dest):
32 | vars = read_vars_from_AM(os.path.join(srcroot, subdir, 'Makefile.am'),
33 | vars = {},
34 | conds = {'HAVE_INTROSPECTION': True,
35 | 'OS_WIN32': True},
36 | filters = ['libgdk_win32_la_SOURCES',
37 | 'libgdkinclude_HEADERS'])
38 |
39 | files = vars['libgdk_win32_la_SOURCES'].split() + \
40 | vars['libgdkinclude_HEADERS'].split()
41 |
42 | with open(dest, 'w') as d:
43 | for i in files:
44 | d.write(srcroot + '\\' + subdir + '\\' + i.replace('/', '\\') + '\n')
45 |
46 | def gen_gtk_filelist(srcroot, subdir, dest):
47 | vars = read_vars_from_AM(os.path.join(srcroot, 'gtk', 'Makefile.am'),
48 | vars = {},
49 | conds = {'USE_WIN32': True,
50 | 'USE_QUARTZ': False,
51 | 'USE_X11': False,
52 | 'USE_EXTERNAL_ICON_CACHE': False},
53 | filters = ['gtk_public_h_sources',
54 | 'gtk_base_c_sources',
55 | 'gtk_use_win32_c_sources',
56 | 'gtk_clipboard_dnd_c_sources'])
57 |
58 |
59 | vars['gtk_other_src'] = 'gtkprintoperation-win32.c gtktypebuiltins.h gtktypebuiltins.c'
60 |
61 | files = vars['gtk_public_h_sources'].split() + \
62 | vars['gtk_base_c_sources'].split() + \
63 | vars['gtk_other_src'].split() + \
64 | vars['gtk_use_win32_c_sources'].split() + \
65 | vars['gtk_clipboard_dnd_c_sources'].split()
66 |
67 | sources = [i for i in files \
68 | if not (i.endswith('private.h')) \
69 | and i != 'gtktextdisplay.h' \
70 | and i != 'gtktextlayout.h' \
71 | and i != 'gtkx.h']
72 |
73 | with open(dest, 'w') as d:
74 | for i in sources:
75 | d.write(srcroot + '\\' + subdir + '\\' + i.replace('/', '\\') + '\n')
76 |
77 | def main(argv):
78 | srcroot = '..'
79 | subdir_gdk = 'gdk'
80 | subdir_gtk = 'gtk'
81 |
82 | gen_gdk_filelist(srcroot, subdir_gdk, 'gdk_list')
83 | gen_gdkwin32_filelist(srcroot, os.path.join(subdir_gdk, 'win32'), 'gdkwin32_list')
84 | gen_gtk_filelist(srcroot, subdir_gtk, 'gtk_list')
85 | return 0
86 |
87 | if __name__ == '__main__':
88 | sys.exit(main(sys.argv))
89 |
--------------------------------------------------------------------------------
/gtk/build/gtk-introspection-msvc.mak:
--------------------------------------------------------------------------------
1 | # NMake Makefile to build Introspection Files for GTK+
2 |
3 | !include detectenv_msvc.mak
4 |
5 | APIVERSION = 2.0
6 |
7 | CHECK_PACKAGE = gdk-pixbuf-2.0 atk pangocairo gio-2.0
8 |
9 | built_install_girs = Gdk-$(APIVERSION).gir GdkWin32-$(APIVERSION).gir Gtk-$(APIVERSION).gir
10 | built_install_typelibs = Gdk-$(APIVERSION).typelib GdkWin32-$(APIVERSION).typelib Gtk-$(APIVERSION).typelib
11 |
12 | !include introspection-msvc.mak
13 |
14 | !if "$(BUILD_INTROSPECTION)" == "TRUE"
15 | all: setgirbuildnev $(built_install_girs) $(built_install_typelibs)
16 |
17 | gdk_list gdkwin32_list gtk_list:
18 | @-echo Generating Filelist to Introspect for GDK/GTK...
19 | $(PYTHON2) gen-file-list-gtk.py
20 |
21 | setgirbuildnev:
22 | @set CC=$(CC)
23 | @set PYTHONPATH=$(BASEDIR)\lib\gobject-introspection
24 | @set PATH=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(BASEDIR)\bin;$(PATH)
25 | @set PKG_CONFIG_PATH=$(PKG_CONFIG_PATH)
26 | @set LIB=win32\vs$(VSVER)\$(CFG)\$(PLAT)\bin;$(LIB)
27 |
28 | Gdk-$(APIVERSION).gir: gdk_list
29 | @-echo Generating Gdk-$(APIVERSION).gir...
30 | $(PYTHON2) $(G_IR_SCANNER) --verbose -I.. -I..\gdk \
31 | -I$(BASEDIR)\include\glib-2.0 -I$(BASEDIR)\lib\glib-2.0\include \
32 | -I$(BASEDIR)\include\pango-1.0 -I$(BASEDIR)\include\atk-1.0 \
33 | -I$(BASEDIR)\include\gdk-pixbuf-2.0 -I$(BASEDIR)\include \
34 | --namespace=Gdk --nsversion=2.0 \
35 | --include=Gio-2.0 --include=GdkPixbuf-2.0 \
36 | --include=Pango-1.0 --include=cairo-1.0 \
37 | --no-libtool --library=gdk-win32-2.0 \
38 | --reparse-validate --add-include-path=$(G_IR_INCLUDEDIR) --add-include-path=. \
39 | --pkg-export gdk-2.0 --warn-all --c-include="gdk/gdk.h" \
40 | -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION \
41 | --filelist=gdk_list -o $@
42 |
43 | GdkWin32-$(APIVERSION).gir: gdkwin32_list
44 | @-echo Generating GdkWin32-$(APIVERSION).gir...
45 | $(PYTHON2) $(G_IR_SCANNER) --verbose -I.. -I..\gdk -I..\gdk\win32 \
46 | -I$(BASEDIR)\include\glib-2.0 -I$(BASEDIR)\lib\glib-2.0\include \
47 | -I$(BASEDIR)\include\pango-1.0 -I$(BASEDIR)\include\atk-1.0 \
48 | -I$(BASEDIR)\include\gdk-pixbuf-2.0 -I$(BASEDIR)\include \
49 | --namespace=GdkWin32 --nsversion=2.0 \
50 | --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=win32-1.0 \
51 | --include=Pango-1.0 --include-uninstalled=./Gdk-$(APIVERSION).gir \
52 | --no-libtool --library=gdk-win32-2.0 \
53 | --reparse-validate --add-include-path=$(G_IR_INCLUDEDIR) --add-include-path=. \
54 | --pkg-export gdk-win32-2.0 --warn-all --c-include="gdk/gdkwin32.h" \
55 | -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION \
56 | --filelist=gdkwin32_list -o $@
57 |
58 | Gtk-$(APIVERSION).gir: gtk_list
59 | $(PYTHON2) $(G_IR_SCANNER) --verbose -I.. -I..\gtk -I..\gdk \
60 | -I$(BASEDIR)\include\glib-2.0 -I$(BASEDIR)\lib\glib-2.0\include \
61 | -I$(BASEDIR)\include\pango-1.0 -I$(BASEDIR)\include\atk-1.0 \
62 | -I$(BASEDIR)\include\gdk-pixbuf-2.0 -I$(BASEDIR)\include \
63 | --namespace=Gtk --nsversion=2.0 \
64 | --include=Atk-1.0 \
65 | --include-uninstalled=./Gdk-$(APIVERSION).gir \
66 | --no-libtool --library=gtk-win32-2.0 --library=gdk-win32-2.0 \
67 | --reparse-validate --add-include-path=$(G_IR_INCLUDEDIR) --add-include-path=. \
68 | --pkg-export gtk+-2.0 --warn-all --c-include="gtk/gtkx.h" \
69 | -DG_LOG_DOMAIN=\"Gtk\" -DGTK_LIBDIR=\"/dummy/lib\" \
70 | -DGTK_DATADIR=\"/dummy/share\" -DGTK_DATA_PREFIX=\"/dummy\" \
71 | -DGTK_SYSCONFDIR=\"/dummy/etc\" -DGTK_VERSION=\"3.20.2\" \
72 | -DGTK_BINARY_VERSION=\"2.0.0\" -DGTK_HOST=\"i686-pc-vs$(VSVER)\" \
73 | -DGTK_COMPILATION -DGTK_PRINT_BACKENDS=\"file\" \
74 | -DGTK_PRINT_PREVIEW_COMMAND=\"undefined-gtk-print-preview-command\" \
75 | -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
76 | -DINCLUDE_IM_am_et -DINCLUDE_IM_cedilla -DINCLUDE_IM_cyrillic_translit \
77 | -DINCLUDE_IM_ime -DINCLUDE_IM_inuktitut -DINCLUDE_IM_ipa \
78 | -DINCLUDE_IM_multipress -DINCLUDE_IM_thai -DINCLUDE_IM_ti_er \
79 | -DINCLUDE_IM_ti_et -DINCLUDE_IM_viqr --filelist=gtk_list \
80 | -o $@
81 |
82 | $(built_install_typelibs): $(built_install_girs)
83 | @-echo Compiling $*.typelib...
84 | @-$(G_IR_COMPILER) --includedir=. --debug --verbose $*.gir -o $@
85 |
86 | install-introspection: setgirbuildnev $(built_install_girs) $(built_install_typelibs)
87 | @-copy *.gir $(G_IR_INCLUDEDIR)
88 | @-copy /b *.typelib $(G_IR_TYPELIBDIR)
89 |
90 | !else
91 | all:
92 | @-echo $(ERROR_MSG)
93 | !endif
94 |
95 | clean:
96 | @-del /f/q *.typelib
97 | @-del /f/q *.gir
98 | @-del /f/q gtk_list
99 | @-del /f/q gdkwin32_list
100 | @-del /f/q gdk_list
101 | @-del /f/q *.pyc
102 |
--------------------------------------------------------------------------------
/gtk/build/introspection-msvc.mak:
--------------------------------------------------------------------------------
1 | # Common Utility NMake Makefile Template
2 | # Used to Generate Introspection files for various Projects
3 |
4 | # Can Override with env vars as needed
5 | # You will need to have built gobject-introspection for this to work.
6 | # Change or pass in or set the following to suit your environment
7 |
8 | BASEDIR = ..\..\vs$(VSVER)\$(PLAT)
9 | GIR_SUBDIR = share\gir-1.0
10 | GIR_TYPELIBDIR = lib\girepository-1.0
11 | G_IR_SCANNER = $(BASEDIR)\bin\g-ir-scanner
12 | G_IR_COMPILER = $(BASEDIR)\bin\g-ir-compiler.exe
13 | G_IR_INCLUDEDIR = $(BASEDIR)\$(GIR_SUBDIR)
14 | G_IR_TYPELIBDIR = $(BASEDIR)\$(GIR_TYPELIBDIR)
15 |
16 | # Note: The PYTHON2 must be a Python 2.6.x or 2.7.x Interpretor!
17 | # Either having python.exe from Python 2.6.x/2.7.x in your PATH will work
18 | # or passing in PYTHON2= will do
19 |
20 | # This is required, and gobject-introspection needs to be built
21 | # before this can be successfully run.
22 | PYTHON2=python
23 |
24 | # Don't change anything following this line!
25 | VALID_PKG_CONFIG_PATH = FALSE
26 | VALID_GCC_INSTPATH = FALSE
27 |
28 | MSG_INVALID_PKGCONFIG = You must set or specifiy a valid PKG_CONFIG_PATH
29 | MSG_INVALID_CFG = You need to specify or set CFG to be release or debug to use this Makefile to build the Introspection Files
30 |
31 | ERROR_MSG =
32 |
33 | BUILD_INTROSPECTION = TRUE
34 |
35 | !if ![pkg-config --print-errors --errors-to-stdout $(CHECK_PACKAGE) > pkgconfig.x] \
36 | && ![setlocal] \
37 | && ![set file="pkgconfig.x"] \
38 | && ![FOR %A IN (%file%) DO @echo PKG_CHECK_SIZE=%~zA > pkgconfig.chksize] \
39 | && ![del $(ERRNUL) /q/f pkgconfig.x]
40 | !endif
41 |
42 | !include pkgconfig.chksize
43 | !if "$(PKG_CHECK_SIZE)" == "0"
44 | VALID_PKG_CONFIG_PATH = TRUE
45 | !else
46 | VALID_PKG_CONFIG_PATH = FALSE
47 | !endif
48 |
49 | !if ![del $(ERRNUL) /q/f pkgconfig.chksize]
50 | !endif
51 |
52 | VALID_CFGSET = FALSE
53 | !if "$(CFG)" == "release" || "$(CFG)" == "debug"
54 | VALID_CFGSET = TRUE
55 | !endif
56 |
57 | !if "$(VALID_PKG_CONFIG_PATH)" != "TRUE"
58 | BUILD_INTROSPECTION = FALSE
59 | ERROR_MSG = $(MSG_INVALID_PKGCONFIG)
60 | !endif
61 |
62 | !if "$(VALID_CFGSET)" != "TRUE"
63 | BUILD_INTROSPECTION = FALSE
64 | ERROR_MSG = $(MSG_INVALID_CFG)
65 | !endif
66 |
--------------------------------------------------------------------------------
/gtk/build/win32/vs14/gtk-build-defines.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 2.10.0
8 | \"/dummy\"
9 | i686-pc-vs$(VSVer)
10 | GDK_COMPILATION;G_LOG_DOMAIN="Gdk"
11 | INCLUDE_IM_am_et;INCLUDE_IM_cedilla;INCLUDE_IM_cyrillic_translit;INCLUDE_IM_ime;INCLUDE_IM_inuktitut;INCLUDE_IM_ipa;INCLUDE_IM_multipress;INCLUDE_IM_thai;INCLUDE_IM_ti_er;INCLUDE_IM_ti_et;INCLUDE_IM_viqr
12 | GTK_COMPILATION;G_LOG_DOMAIN="Gtk";GTK_HOST="$(GtkHost)";GTK_PRINT_BACKENDS="file";GTK_PRINT_PREVIEW_COMMAND="undefined-gtk-print-preview-command";$(GtkIncludedImmodulesDefines);GTK_LIBDIR="$(GtkDummyPrefix)/lib";GTK_DATADIR="$(GtkDummyPrefix)/share";GTK_DATA_PREFIX="$(GtkDummyPrefix)";GTK_SYSCONFDIR="$(GtkDummyPrefix)/etc";MULTIPRESS_CONFDIR="$(GtkDummyPrefix)/etc/gtk-$(ApiVersion)";MULTIPRESS_LOCALEDIR="$(GtkDummyPrefix)/share/locale";GTK_VERSION="$(GtkVersion)/etc";GTK_BINARY_VERSION="$(GtkBinaryVersion)/etc"
13 |
14 |
15 | <_PropertySheetDisplayName>gtkbuilddefinesprops
16 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
17 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
18 |
19 |
20 |
21 | ..\..\..;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\atk-1.0;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include;%(AdditionalIncludeDirectories)
22 | HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;ATK_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)
23 | msvc_recommended_pragmas.h;%(ForcedIncludeFiles)
24 | true
25 | /d2Zi+ %(AdditionalOptions)
26 |
27 |
28 | pangocairo-1.0.lib;cairo.lib;pango-1.0.lib;gdk_pixbuf-2.0.lib;gio-2.0.lib;gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;libintl.lib;%(AdditionalDependencies)
29 | $(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
30 |
31 |
32 |
33 |
34 | $(GtkBinaryVersion)
35 |
36 |
37 | $(GtkDummyPrefix)
38 |
39 |
40 | $(GdkDefines)
41 |
42 |
43 | $(GtkHost)
44 |
45 |
46 | $(GtkIncludedImmodulesDefines)
47 |
48 |
49 | $(GtkDefines)
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/gtk/build/win32/vs14/gtk-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 14
5 | ..\..\..\..\..\..\gtk\$(Platform)
6 | ..\..\..\..\gtk-rel
7 | $(SolutionDir)$(Configuration)\$(Platform)\obj\$(ProjectName)
8 | 2.0
9 | lib
10 | -$(ApiVersion)-0
11 |
12 | -2.0
13 | $(GtkSeparateVSDllPrefix)
14 | $(GtkSeparateVSDllSuffix)
15 |
16 |
17 | <_PropertySheetDisplayName>gtkversionpathsprops
18 |
19 |
20 |
21 | $(VSVer)
22 |
23 |
24 | $(GlibEtcInstallRoot)
25 |
26 |
27 | $(CopyDir)
28 |
29 |
30 | $(DefDir)
31 |
32 |
33 | $(ApiVersion)
34 |
35 |
36 | $(GtkLibtoolCompatibleDllPrefix)
37 |
38 |
39 | $(GtkLibtoolCompatibleDllSuffix)
40 |
41 |
42 | $(GtkSeparateVSDllPrefix)
43 |
44 |
45 | $(GtkSeparateVSDllSuffix)
46 |
47 |
48 | $(GtkDllPrefix)
49 |
50 |
51 | $(GtkDllSuffix)
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/gtk/build/win32/vs14/libpixmap.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 | Sources
23 |
24 |
25 | Sources
26 |
27 |
28 | Sources
29 |
30 |
31 |
--------------------------------------------------------------------------------
/gtk/gdk-astral-keyevents.patch:
--------------------------------------------------------------------------------
1 | From b7c92fb1fb31fbdb70348587dc326142f4f615b3 Mon Sep 17 00:00:00 2001
2 | From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
3 | =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?=
4 | Date: Thu, 28 Jul 2016 15:39:43 +0000
5 | Subject: [PATCH] GDK W32: Support UTF-16 surrogate pairs passed via VK_PACKET
6 |
7 | This is, essentially, a piece of g_utf16_to_ucs4() built into GDK
8 | W32 keyboard message processing.
9 |
10 | https://bugzilla.gnome.org/show_bug.cgi?id=769126
11 | ---
12 | gdk/win32/gdkevents-win32.c | 75 ++++++++++++++++++++++++++++++++++++++-------
13 | gdk/win32/gdkwindow-win32.h | 8 +++++
14 | 2 files changed, 72 insertions(+), 11 deletions(-)
15 |
16 | diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c
17 | index d654b92..ccb583b 100644
18 | --- a/gdk/win32/gdkevents-win32.c
19 | +++ b/gdk/win32/gdkevents-win32.c
20 | @@ -2280,6 +2280,35 @@ gdk_event_translate (MSG *msg,
21 | if (GDK_WINDOW_DESTROYED (window))
22 | break;
23 |
24 | + impl = GDK_WINDOW_IMPL_WIN32 (GDK_WINDOW_OBJECT (window)->impl);
25 | +
26 | + API_CALL (GetKeyboardState, (key_state));
27 | +
28 | + ccount = 0;
29 | +
30 | + if (msg->wParam == VK_PACKET)
31 | + {
32 | + ccount = ToUnicode (VK_PACKET, HIWORD (msg->lParam), key_state, wbuf, 1, 0);
33 | + if (ccount == 1)
34 | + {
35 | + if (wbuf[0] >= 0xD800 && wbuf[0] < 0xDC00)
36 | + {
37 | + if (msg->message == WM_KEYDOWN)
38 | + impl->leading_surrogate_keydown = wbuf[0];
39 | + else
40 | + impl->leading_surrogate_keyup = wbuf[0];
41 | +
42 | + /* don't emit an event */
43 | + return_val = TRUE;
44 | + break;
45 | + }
46 | + else
47 | + {
48 | + /* wait until an event is created */;
49 | + }
50 | + }
51 | + }
52 | +
53 | event = gdk_event_new ((msg->message == WM_KEYDOWN ||
54 | msg->message == WM_SYSKEYDOWN) ?
55 | GDK_KEY_PRESS : GDK_KEY_RELEASE);
56 | @@ -2310,22 +2339,46 @@ gdk_event_translate (MSG *msg,
57 | LOBYTE (HIWORD (msg->lParam)) == _scancode_rshift)
58 | event->key.hardware_keycode = VK_RSHIFT;
59 |
60 | - API_CALL (GetKeyboardState, (key_state));
61 | -
62 | /* g_print ("ctrl:%02x lctrl:%02x rctrl:%02x alt:%02x lalt:%02x ralt:%02x\n", key_state[VK_CONTROL], key_state[VK_LCONTROL], key_state[VK_RCONTROL], key_state[VK_MENU], key_state[VK_LMENU], key_state[VK_RMENU]); */
63 |
64 | build_key_event_state (event, key_state);
65 |
66 | - if (msg->wParam == VK_PACKET &&
67 | - ToUnicode (VK_PACKET, HIWORD (msg->lParam), key_state, wbuf, 1, 0) == 1)
68 | - event->key.keyval = gdk_unicode_to_keyval (wbuf[0]);
69 | + if (msg->wParam == VK_PACKET && ccount == 1)
70 | + {
71 | + if (wbuf[0] >= 0xD800 && wbuf[0] < 0xDC00)
72 | + {
73 | + g_assert_not_reached ();
74 | + }
75 | + else if (wbuf[0] >= 0xDC00 && wbuf[0] < 0xE000)
76 | + {
77 | + wchar_t leading;
78 | +
79 | + if (msg->message == WM_KEYDOWN)
80 | + leading = impl->leading_surrogate_keydown;
81 | + else
82 | + leading = impl->leading_surrogate_keyup;
83 | +
84 | + event->key.keyval = gdk_unicode_to_keyval ((leading - 0xD800) * 0x400 + wbuf[0] - 0xDC00 + 0x10000);
85 | + }
86 | + else
87 | + {
88 | + event->key.keyval = gdk_unicode_to_keyval (wbuf[0]);
89 | + }
90 | + }
91 | + else
92 | + {
93 | + gdk_keymap_translate_keyboard_state (gdk_keymap_get_for_display (_gdk_display),
94 | + event->key.hardware_keycode,
95 | + event->key.state,
96 | + event->key.group,
97 | + &event->key.keyval,
98 | + NULL, NULL, NULL);
99 | + }
100 | +
101 | + if (msg->message == WM_KEYDOWN)
102 | + impl->leading_surrogate_keydown = 0;
103 | else
104 | - gdk_keymap_translate_keyboard_state (NULL,
105 | - event->key.hardware_keycode,
106 | - event->key.state,
107 | - event->key.group,
108 | - &event->key.keyval,
109 | - NULL, NULL, NULL);
110 | + impl->leading_surrogate_keyup = 0;
111 |
112 | fill_key_event_string (event);
113 |
114 | diff --git a/gdk/win32/gdkwindow-win32.h b/gdk/win32/gdkwindow-win32.h
115 | index 096db33..5c091d7 100644
116 | --- a/gdk/win32/gdkwindow-win32.h
117 | +++ b/gdk/win32/gdkwindow-win32.h
118 | @@ -76,6 +76,14 @@ struct _GdkWindowImplWin32
119 | HICON hicon_big;
120 | HICON hicon_small;
121 |
122 | + /* When VK_PACKET sends us a leading surrogate, it's stashed here.
123 | + * Later, when another VK_PACKET sends a tailing surrogate, we make up
124 | + * a full unicode character from them, or discard the leading surrogate,
125 | + * if the next key is not a tailing surrogate.
126 | + */
127 | + wchar_t leading_surrogate_keydown;
128 | + wchar_t leading_surrogate_keyup;
129 | +
130 | /* Window size hints */
131 | gint hint_flags;
132 | GdkGeometry hints;
133 |
--------------------------------------------------------------------------------
/gtk/gtk-accel.patch:
--------------------------------------------------------------------------------
1 | diff -urN gtk-2.24.23.orig/gtk/gtkaccelgroup.c gtk-2.24.23/gtk/gtkaccelgroup.c
2 | --- gtk-2.24.23.orig/gtk/gtkaccelgroup.c 2014-03-05 20:56:42 -0800
3 | +++ gtk-2.24.23/gtk/gtkaccelgroup.c 2014-05-04 01:25:12 -0700
4 | @@ -956,14 +956,13 @@
5 | GDK_ISO_First_Group, GDK_ISO_Last_Group,
6 | GDK_Mode_switch, GDK_Num_Lock, GDK_Multi_key,
7 | GDK_Scroll_Lock, GDK_Sys_Req,
8 | - GDK_Tab, GDK_ISO_Left_Tab, GDK_KP_Tab,
9 | + GDK_ISO_Left_Tab, GDK_KP_Tab,
10 | GDK_First_Virtual_Screen, GDK_Prev_Virtual_Screen,
11 | GDK_Next_Virtual_Screen, GDK_Last_Virtual_Screen,
12 | GDK_Terminate_Server, GDK_AudibleBell_Enable,
13 | 0
14 | };
15 | static const guint invalid_unmodified_vals[] = {
16 | - GDK_Up, GDK_Down, GDK_Left, GDK_Right,
17 | GDK_KP_Up, GDK_KP_Down, GDK_KP_Left, GDK_KP_Right,
18 | 0
19 | };
20 |
21 |
--------------------------------------------------------------------------------
/gtk/gtk-bgimg.patch:
--------------------------------------------------------------------------------
1 | diff -ruN --strip-trailing-cr gtk-2.24.23.orig/gdk/win32/gdkgc-win32.c gtk-2.24.23/gdk/win32/gdkgc-win32.c
2 | --- gtk-2.24.23.orig/gdk/win32/gdkgc-win32.c 2014-03-05 20:56:42 -0800
3 | +++ gtk-2.24.23/gdk/win32/gdkgc-win32.c 2014-05-04 01:23:07 -0700
4 | @@ -819,10 +819,14 @@
5 | HPEN hpen;
6 | HBRUSH hbr;
7 |
8 | - g_assert (win32_gc->hdc == NULL);
9 | -
10 | impl = get_impl_drawable (drawable);
11 |
12 | + if (win32_gc->hdc != NULL)
13 | + {
14 | + impl->hdc_count++;
15 | + return win32_gc->hdc;
16 | + }
17 | +
18 | win32_gc->hdc = _gdk_win32_drawable_acquire_dc (GDK_DRAWABLE (impl));
19 | ok = win32_gc->hdc != NULL;
20 |
21 |
--------------------------------------------------------------------------------
/gtk/gtk-multimonitor.patch:
--------------------------------------------------------------------------------
1 | diff -urpN gtk-2.24.24.orig/gdk/win32/gdkwindow-win32.c gtk-2.24.24/gdk/win32/gdkwindow-win32.c
2 | --- gtk-2.24.24.orig/gdk/win32/gdkwindow-win32.c Mon Mar 17 18:19:03 2014
3 | +++ gtk-2.24.24/gdk/win32/gdkwindow-win32.c Sun Sep 7 16:51:16 2014
4 | @@ -1182,6 +1182,9 @@ show_window_internal (GdkWindow *window,
5 |
6 | x = center_on_rect.left + ((center_on_rect.right - center_on_rect.left) - (window_rect.right - window_rect.left)) / 2;
7 | y = center_on_rect.top + ((center_on_rect.bottom - center_on_rect.top) - (window_rect.bottom - window_rect.top)) / 2;
8 | +
9 | + x -= _gdk_offset_x;
10 | + y -= _gdk_offset_y;
11 | }
12 |
13 | API_CALL (SetWindowPos, (GDK_WINDOW_HWND (window), NULL,
14 |
--------------------------------------------------------------------------------
/gtk/gtk-revert-scrolldc-commit.patch:
--------------------------------------------------------------------------------
1 | From b610fccfa07a6c05694a09195c487bac9a232e8c Mon Sep 17 00:00:00 2001
2 | From: Arnavion
3 | Date: Sun, 4 May 2014 01:47:05 -0700
4 | Subject: [PATCH 1/1] Revert "win32: Report ScrollDC update region directly"
5 |
6 | This reverts commit ea66a8a580ad496dc375ce6afeb2ee29f585a7fb.
7 | ---
8 | gdk/win32/gdkdrawable-win32.c | 23 ++++++++---------------
9 | 1 file changed, 8 insertions(+), 15 deletions(-)
10 |
11 | diff --git a/gdk/win32/gdkdrawable-win32.c b/gdk/win32/gdkdrawable-win32.c
12 | index f3beada..c75043a 100644
13 | --- a/gdk/win32/gdkdrawable-win32.c
14 | +++ b/gdk/win32/gdkdrawable-win32.c
15 | @@ -1544,28 +1544,21 @@ blit_inside_drawable (HDC hdc,
16 | * scrolling a window that is partially obscured by another window. For
17 | * example, GIMP's toolbox being over the editor window. */
18 |
19 | - RECT emptyRect, clipRect;
20 | + RECT scrollRect, emptyRect;
21 | HRGN updateRgn;
22 | - GdkRegion *update_region;
23 |
24 | - clipRect.left = xdest;
25 | - clipRect.top = ydest;
26 | - clipRect.right = xdest + width;
27 | - clipRect.bottom = ydest + height;
28 | + scrollRect.left = MIN (xsrc, xdest);
29 | + scrollRect.top = MIN (ysrc, ydest);
30 | + scrollRect.right = MAX (xsrc + width + 1, xdest + width + 1);
31 | + scrollRect.bottom = MAX (ysrc + height + 1, ydest + height + 1);
32 |
33 | SetRectEmpty (&emptyRect);
34 | updateRgn = CreateRectRgnIndirect (&emptyRect);
35 |
36 | - if (!ScrollDC (hdc, xdest - xsrc, ydest - ysrc, NULL, &clipRect, updateRgn, NULL))
37 | + if (!ScrollDC (hdc, xdest - xsrc, ydest - ysrc, &scrollRect, NULL, updateRgn, NULL))
38 | WIN32_GDI_FAILED ("ScrollDC");
39 | - else
40 | - {
41 | - GdkDrawable *wrapper = src->wrapper;
42 | - update_region = _gdk_win32_hrgn_to_region (updateRgn);
43 | - if (!gdk_region_empty (update_region))
44 | - _gdk_window_invalidate_for_expose (GDK_WINDOW (wrapper), update_region);
45 | - gdk_region_destroy (update_region);
46 | - }
47 | + else if (!InvalidateRgn (src->handle, updateRgn, FALSE))
48 | + WIN32_GDI_FAILED ("InvalidateRgn");
49 |
50 | if (!DeleteObject (updateRgn))
51 | WIN32_GDI_FAILED ("DeleteObject");
52 | --
53 | 1.8.4.msysgit.0
54 |
55 |
--------------------------------------------------------------------------------
/gtk/gtkstatusicon-dpichange.patch:
--------------------------------------------------------------------------------
1 | diff -urpN gtk+-2.24.30.orig/gtk/gtkstatusicon.c gtk+-2.24.30/gtk/gtkstatusicon.c
2 | --- gtk+-2.24.30.orig/gtk/gtkstatusicon.c 2016-03-05 09:08:08.000000000 -0800
3 | +++ gtk+-2.24.30/gtk/gtkstatusicon.c 2016-07-07 11:42:29.004396700 -0700
4 | @@ -721,6 +721,12 @@ wndproc (HWND hwnd,
5 | GtkStatusIcon *status_icon = GTK_STATUS_ICON (rover->data);
6 | GtkStatusIconPrivate *priv = status_icon->priv;
7 |
8 | + /* taskbar_created_msg is also fired when DPI changes. Try to delete existing icons if possible. */
9 | + if (!Shell_NotifyIconW (NIM_DELETE, &priv->nid))
10 | + {
11 | + g_warning (G_STRLOC ": Shell_NotifyIcon(NIM_DELETE) on existing icon failed");
12 | + }
13 | +
14 | priv->nid.hWnd = hwnd;
15 | priv->nid.uID = status_icon_id++;
16 | priv->nid.uCallbackMessage = WM_GTK_TRAY_NOTIFICATION;
17 |
--------------------------------------------------------------------------------
/gtk/mod.md:
--------------------------------------------------------------------------------
1 | * Download [GTK+ 2.24.30](http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.30.tar.xz)
2 | * In `build\win32\vs12\gtk-build-defines.props`, replace:
3 | * `intl.lib` with `libintl.lib`
4 | * In `build\win32\vs12\gtk-install.props`:
5 | * Add `;$(BinDir)\libpixmap.dll` to ``
6 | * Add to `..\..\..\..\vs$(VSVer)\$(Platform)` with
16 | `..\..\..\..\..\..\gtk\$(Platform)`
17 | * `$(GlibEtcInstallRoot)` with
18 | `..\..\..\..\gtk-rel`
19 | * `-2-vs$(VSVer)` with
20 | `-2.0`
21 | * Delete `` lines in all `*.vcxproj` files
22 |
23 | * Port introspection files in `build` from gtk3
24 | * `msvcfiles.py` and `introspection-msvc.mak` are unmodified
25 | * `detectenv_msvc.mak` is from gobject-introspection (for VS2015)
26 | * `gen-file-list-gtk.py` simply required scanning the correct am files and
27 | using the correct am variable names.
28 | * `gtk-introspection-msvc.mak` requires replacing any 3.0 with 2.0, replacing lib names with -win32 variants,
29 | and fixing include (..\gdk\win32) for GdkWin32.
--------------------------------------------------------------------------------
/harfbuzz/mod.md:
--------------------------------------------------------------------------------
1 | * Download [HarfBuzz 1.3.0](https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.3.0.tar.bz2)
2 | * In win32\config-msvc.mak, replace
3 | ```
4 | HARFBUZZ_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-vs$(VSVER)
5 | HARFBUZZ_ICU_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-icu-vs$(VSVER)
6 | HARFBUZZ_GOBJECT_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-gobject-vs$(VSVER)
7 | ```
8 |
9 | with
10 |
11 | ```
12 | HARFBUZZ_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz
13 | HARFBUZZ_ICU_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-icu
14 | HARFBUZZ_GOBJECT_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-gobject
15 | ```
16 |
--------------------------------------------------------------------------------
/harfbuzz/win32/config-msvc.mak:
--------------------------------------------------------------------------------
1 | # NMake Makefile portion for enabling features for Windows builds
2 |
3 | # You may change these lines to customize the .lib files that will be linked to
4 | # Additional Libraries for building HarfBuzz-ICU
5 | # icudt.lib may be required for static ICU builds
6 | HB_ICU_DEP_LIBS = icuuc.lib
7 |
8 | # GLib is required for all utility programs and tests
9 | HB_GLIB_LIBS = glib-2.0.lib
10 |
11 | # Needed for building HarfBuzz-GObject
12 | HB_GOBJECT_DEP_LIBS = gobject-2.0.lib $(HB_GLIB_LIBS)
13 |
14 | # Freetype is needed for building FreeType support and hb-view
15 | FREETYPE_LIB = freetype.lib
16 |
17 | # Cairo is needed for building hb-view
18 | CAIRO_LIB = cairo.lib
19 |
20 | # Graphite2 is needed for building SIL Graphite2 support
21 | GRAPHITE2_LIB = graphite2.lib
22 |
23 | # Directwrite is needed for DirectWrite shaping support
24 | DIRECTWRITE_LIB = dwrite.lib
25 |
26 | # Please do not change anything beneath this line unless maintaining the NMake Makefiles
27 | # Bare minimum features and sources built into HarfBuzz on Windows
28 | HB_DEFINES =
29 | HB_CFLAGS = /DHAVE_CONFIG_H
30 | HB_UCDN_CFLAGS = /I..\src\hb-ucdn
31 | HB_SOURCES = \
32 | $(HB_BASE_sources) \
33 | $(HB_FALLBACK_sources) \
34 | $(HB_OT_sources) \
35 | $(HB_UNISCRIBE_sources) \
36 |
37 | HB_HEADERS = \
38 | $(HB_BASE_headers) \
39 | $(HB_NODIST_headers) \
40 | $(HB_OT_headers) \
41 | $(HB_UNISCRIBE_headers)
42 |
43 | # Minimal set of (system) libraries needed for the HarfBuzz DLL
44 | HB_DEP_LIBS = usp10.lib gdi32.lib rpcrt4.lib user32.lib
45 |
46 | # We build the HarfBuzz DLL/LIB at least
47 | HB_LIBS = $(CFG)\$(PLAT)\harfbuzz.lib
48 |
49 | # Note: All the utility and test programs require GLib support to be present!
50 | HB_UTILS =
51 | HB_UTILS_DEP_LIBS = $(HB_GLIB_LIBS)
52 | HB_TESTS =
53 | HB_TESTS_DEP_LIBS = $(HB_GLIB_LIBS)
54 |
55 | # Use libtool-style DLL names, if desired
56 | !if "$(LIBTOOL_DLL_NAME)" == "1"
57 | HARFBUZZ_DLL_FILENAME = $(CFG)\$(PLAT)\libharfbuzz-0
58 | HARFBUZZ_ICU_DLL_FILENAME = $(CFG)\$(PLAT)\libharfbuzz-icu-0
59 | HARFBUZZ_GOBJECT_DLL_FILENAME = $(CFG)\$(PLAT)\libharfbuzz-gobject-0
60 | !else
61 | HARFBUZZ_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz
62 | HARFBUZZ_ICU_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-icu
63 | HARFBUZZ_GOBJECT_DLL_FILENAME = $(CFG)\$(PLAT)\harfbuzz-gobject
64 | !endif
65 |
66 | # Enable HarfBuzz-ICU, if desired
67 | !if "$(ICU)" == "1"
68 | HB_ICU_CFLAGS =
69 | HB_LIBS = \
70 | $(HB_LIBS) \
71 | $(CFG)\$(PLAT)\harfbuzz-icu.lib
72 |
73 | # We don't want to re-define int8_t Visual Studio 2008, will cause build breakage
74 | # as we define it in hb-common.h, and we ought to use the definitions there.
75 | !if "$(VSVER)" == "9"
76 | HB_ICU_CFLAGS = /DU_HAVE_INT8_T
77 | !endif
78 |
79 | !endif
80 |
81 | # Enable Introspection (enables HarfBuzz-Gobject as well)
82 | !if "$(INTROSPECTION)" == "1"
83 | GOBJECT = 1
84 | CHECK_PACKAGE = gobject-2.0
85 | EXTRA_TARGETS = $(CFG)\$(PLAT)\HarfBuzz-0.0.gir $(CFG)\$(PLAT)\HarfBuzz-0.0.typelib
86 | !else
87 | EXTRA_TARGETS =
88 | !endif
89 |
90 | # Enable HarfBuzz-GObject (enables GLib support as well)
91 | !if "$(GOBJECT)" == "1"
92 | GLIB = 1
93 | HB_LIBS = \
94 | $(HB_LIBS) \
95 | $(CFG)\$(PLAT)\harfbuzz-gobject.lib
96 |
97 | HB_GOBJECT_ENUM_GENERATED_SOURCES = \
98 | $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc \
99 | $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.h
100 |
101 | !endif
102 |
103 | # Enable cairo-ft (enables cairo and freetype as well)
104 | !if "$(CAIRO_FT)" == "1"
105 | HB_DEFINES = $(HB_DEFINES) /DHAVE_CAIRO_FT=1
106 | CAIRO = 1
107 | FREETYPE = 1
108 | !if "$(GLIB)" == "1"
109 | HB_UTILS = \
110 | $(HB_UTILS) \
111 | $(CFG)\$(PLAT)\hb-view.exe
112 |
113 | HB_UTILS_DEP_LIBS = $(HB_UTILS_DEP_LIBS) $(CAIRO_LIB) $(FREETYPE_LIB)
114 | !else
115 | !if [echo Warning: GLib support not enabled, hb-view not built]
116 | !endif
117 | !endif
118 | !endif
119 |
120 | # Enable cairo
121 | !if "$(CAIRO)" == "1"
122 | HB_DEFINES = $(HB_DEFINES) /DHAVE_CAIRO=1
123 | !endif
124 |
125 | # Enable freetype if desired
126 | !if "$(FREETYPE)" == "1"
127 | HB_DEFINES = $(HB_DEFINES) /DHAVE_FREETYPE=1
128 | HB_SOURCES = $(HB_SOURCES) $(HB_FT_sources)
129 | HB_HEADERS = $(HB_HEADERS) $(HB_FT_headers)
130 | HB_DEP_LIBS = $(HB_DEP_LIBS) $(FREETYPE_LIB)
131 | !endif
132 |
133 | # Enable graphite2 if desired
134 | !if "$(GRAPHITE2)" == "1"
135 | HB_DEFINES = $(HB_DEFINES) /DHAVE_GRAPHITE2=1
136 | HB_SOURCES = $(HB_SOURCES) $(HB_GRAPHITE2_sources)
137 | HB_HEADERS = $(HB_HEADERS) $(HB_GRAPHITE2_headers)
138 | HB_DEP_LIBS = $(HB_DEP_LIBS) $(GRAPHITE2_LIB)
139 | !endif
140 |
141 | # Enable GLib if desired
142 | !if "$(GLIB)" == "1"
143 | HB_DEFINES = $(HB_DEFINES) /DHAVE_GLIB=1
144 | HB_CFLAGS = \
145 | $(HB_CFLAGS) \
146 | /FImsvc_recommended_pragmas.h \
147 | /I$(PREFIX)\include\glib-2.0 \
148 | /I$(PREFIX)\lib\glib-2.0\include
149 |
150 | HB_SOURCES = $(HB_SOURCES) $(HB_GLIB_sources)
151 | HB_HEADERS = $(HB_HEADERS) $(HB_GLIB_headers)
152 | HB_DEP_LIBS = $(HB_DEP_LIBS) $(HB_GLIB_LIBS)
153 |
154 | HB_UTILS = \
155 | $(HB_UTILS) \
156 | $(CFG)\$(PLAT)\hb-shape.exe \
157 | $(CFG)\$(PLAT)\hb-ot-shape-closure.exe
158 |
159 | HB_TESTS = \
160 | $(HB_TESTS) \
161 | $(CFG)\$(PLAT)\main.exe \
162 | $(CFG)\$(PLAT)\test.exe \
163 | $(CFG)\$(PLAT)\test-buffer-serialize.exe \
164 | $(CFG)\$(PLAT)\test-size-params.exe \
165 | $(CFG)\$(PLAT)\test-would-substitute.exe \
166 | $(CFG)\$(PLAT)\test-blob.exe \
167 | $(CFG)\$(PLAT)\test-buffer.exe \
168 | $(CFG)\$(PLAT)\test-common.exe \
169 | $(CFG)\$(PLAT)\test-font.exe \
170 | $(CFG)\$(PLAT)\test-object.exe \
171 | $(CFG)\$(PLAT)\test-set.exe \
172 | $(CFG)\$(PLAT)\test-shape.exe \
173 | $(CFG)\$(PLAT)\test-unicode.exe \
174 | $(CFG)\$(PLAT)\test-version.exe
175 |
176 | !else
177 | # If there is no GLib support, use the built-in UCDN
178 | # and define some of the macros in GLib's msvc_recommended_pragmas.h
179 | # to reduce some unneeded build-time warnings
180 | HB_DEFINES = $(HB_DEFINES) /DHAVE_UCDN=1
181 | HB_CFLAGS = \
182 | $(HB_CFLAGS) \
183 | $(HB_UCDN_CFLAGS) \
184 | /wd4244 \
185 | /D_CRT_SECURE_NO_WARNINGS \
186 | /D_CRT_NONSTDC_NO_WARNINGS
187 |
188 | HB_SOURCES = $(HB_SOURCES) $(LIBHB_UCDN_sources) $(HB_UCDN_sources)
189 | !endif
190 |
191 | !if "$(DIRECTWRITE)" == "1"
192 | HB_CFLAGS = $(HB_CFLAGS) /DHAVE_DIRECTWRITE
193 | HB_SOURCES = $(HB_SOURCES) $(HB_DIRECTWRITE_sources)
194 | HB_HEADERS = $(HB_HEADERS) $(HB_DIRECTWRITE_headers)
195 | HB_DEP_LIBS = $(HB_DEP_LIBS) $(DIRECTWRITE_LIB)
196 | !endif
197 |
198 | HB_LIB_CFLAGS = $(HB_CFLAGS) /DHB_EXTERN="__declspec (dllexport) extern"
199 |
--------------------------------------------------------------------------------
/lgi/Fix-loading-cairo-on-Win32.patch:
--------------------------------------------------------------------------------
1 | From 95a18093fe2956eacc2505aa74c42f497ca56d20 Mon Sep 17 00:00:00 2001
2 | From: Patrick Griffis
3 | Date: Fri, 8 Apr 2016 16:23:16 -0700
4 | Subject: [PATCH] Fix loading cairo on Win32
5 |
6 | ---
7 | lgi/core.c | 4 ++--
8 | lgi/override/cairo.lua | 2 +-
9 | 2 files changed, 3 insertions(+), 3 deletions(-)
10 |
11 | diff --git a/lgi/core.c b/lgi/core.c
12 | index b616a2b..667d683 100644
13 | --- a/lgi/core.c
14 | +++ b/lgi/core.c
15 | @@ -503,8 +503,8 @@ static const struct luaL_Reg module_reg[] = {
16 | #define MODULE_NAME_FORMAT_VERSION "cyg%s-%d.dll"
17 | #define MODULE_NAME_FORMAT_PLAIN "cyg%s.dll"
18 | #elif defined(G_OS_WIN32)
19 | -#define MODULE_NAME_FORMAT_VERSION "lib%s-%d.dll"
20 | -#define MODULE_NAME_FORMAT_PLAIN "lib%s.dll"
21 | +#define MODULE_NAME_FORMAT_VERSION "%s-%d.dll"
22 | +#define MODULE_NAME_FORMAT_PLAIN "%s.dll"
23 | #elif defined(__APPLE__)
24 | #define MODULE_NAME_FORMAT_VERSION "lib%s.%d.dylib"
25 | #define MODULE_NAME_FORMAT_PLAIN "lib%s.dylib"
26 | diff --git a/lgi/override/cairo.lua b/lgi/override/cairo.lua
27 | index ca8193f..159ac81 100644
28 | --- a/lgi/override/cairo.lua
29 | +++ b/lgi/override/cairo.lua
30 | @@ -20,7 +20,7 @@ local record = require 'lgi.record'
31 | local enum = require 'lgi.enum'
32 | local ti = ffi.types
33 |
34 | -cairo._module = core.module('cairo', 2)
35 | +cairo._module = core.module('cairo')
36 | local module_gobject = core.gi.cairo.resolve
37 |
38 | -- Versioning support.
39 | --
40 | 2.7.4.windows.1
41 |
42 |
--------------------------------------------------------------------------------
/lgi/lgi/Makefile-msvc.mak:
--------------------------------------------------------------------------------
1 | SOURCES = \
2 | buffer.c \
3 | callable.c \
4 | core.c \
5 | gi.c \
6 | marshal.c \
7 | object.c \
8 | record.c
9 |
10 | DLL = corelgilua51.dll
11 | VERSION_FILE = version.lua
12 |
13 | VERSION = 0.9.1
14 |
15 | LUA_CFLAGS = /I$(PREFIX)\include\luajit-2.0
16 | GLIB_CFLAGS = /I$(PREFIX)\include\glib-2.0 /I$(PREFIX)\lib\glib-2.0\include
17 | GIR_CFLAGS = /I$(PREFIX)\include\gobject-introspection-1.0\girepository
18 |
19 | LUA_LIBS = lua51.lib
20 | GLIB_LIBS = gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib
21 | GIR_LIBS = girepository-1.0.lib
22 | FFI_LIBS = libffi.lib
23 |
24 | $(VERSION_FILE):
25 | echo return '$(VERSION)' > $@
26 |
27 | $(DLL): $(SOURCES)
28 | cl /nologo /c /O2 /MD $(SOURCES) /I$(PREFIX)/include $(LUA_CFLAGS) $(GLIB_CFLAGS) $(GIR_CFLAGS)
29 | link /nologo /DLL /OUT:$(DLL) .\*.obj /libpath:$(PREFIX)\lib $(LUA_LIBS) $(GLIB_LIBS) $(GIR_LIBS) $(FFI_LIBS)
30 |
31 | install: $(DLL) $(VERSION_FILE)
32 | mkdir $(DESTDIR)\lib\lua\lgi
33 | copy $(DLL) $(DESTDIR)\lib\lua\lgi
34 |
35 | mkdir $(DESTDIR)\share\lua\lgi\override
36 | copy ..\lgi.lua $(DESTDIR)\share\lua
37 | copy .\*.lua $(DESTDIR)\share\lua\lgi
38 | copy .\override\*.lua $(DESTDIR)\share\lua\lgi\override
39 |
40 | mkdir $(DESTDIR)\share\docs\lgi
41 | copy ..\LICENSE $(DESTDIR)\share\docs\lgi
--------------------------------------------------------------------------------
/libffi/build/win32/vs12/libffi.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | ffi_type_void
3 | ffi_type_uint8
4 | ffi_type_sint8
5 | ffi_type_uint16
6 | ffi_type_sint16
7 | ffi_type_uint32
8 | ffi_type_sint32
9 | ffi_type_uint64
10 | ffi_type_sint64
11 | ffi_type_float
12 | ffi_type_double
13 | ffi_type_pointer
14 | ffi_type_double
15 | ffi_closure_alloc
16 | ffi_closure_free
17 | ffi_prep_closure
18 | ffi_prep_closure_loc
19 | ffi_prep_cif
20 | ffi_prep_cif_var
21 | ffi_call
22 | ffi_prep_cif_core
--------------------------------------------------------------------------------
/libffi/build/win32/vs12/libffi.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.31101.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libffi", "libffi.vcxproj", "{C8E92153-23DA-4E17-AF2B-DD8158EB60DF}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Release|Win32 = Release|Win32
11 | Release|x64 = Release|x64
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C8E92153-23DA-4E17-AF2B-DD8158EB60DF}.Release|Win32.ActiveCfg = Release|Win32
15 | {C8E92153-23DA-4E17-AF2B-DD8158EB60DF}.Release|Win32.Build.0 = Release|Win32
16 | {C8E92153-23DA-4E17-AF2B-DD8158EB60DF}.Release|x64.ActiveCfg = Release|x64
17 | {C8E92153-23DA-4E17-AF2B-DD8158EB60DF}.Release|x64.Build.0 = Release|x64
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/libffi/build/win32/vs12/libffi.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Release
6 | Win32
7 |
8 |
9 | Release
10 | x64
11 |
12 |
13 |
14 | {C8E92153-23DA-4E17-AF2B-DD8158EB60DF}
15 | libffi
16 | Win32Proj
17 |
18 |
19 |
20 | DynamicLibrary
21 | MultiByte
22 | true
23 | v120
24 | $(Configuration)\$(Platform)
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | HAVE_CONFIG_H;DLL_EXPORT;PIC;%(PreprocessorDefinitions)
35 | ..\..\..\include;..\..\..\i686-pc-mingw32;..\..\..\i686-pc-mingw32\include;..\..\..\src\x86;%(AdditionalIncludeDirectories)
36 | ..\..\..\include;..\..\..\x86_64-w64-mingw32;..\..\..\x86_64-w64-mingw32\include;..\..\..\src\x86;%(AdditionalIncludeDirectories)
37 | MultiThreadedDLL
38 | Level3
39 | ProgramDatabase
40 | CompileAsC
41 |
42 |
43 | $(IntDir)\win32.asm]]>
44 |
45 |
46 | $(IntDir)\win64.asm]]>
47 |
48 |
49 | libffi.def
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | 2
64 | true
65 | ..\..\..\src\x86\win32.S
66 |
67 |
68 |
69 |
70 |
71 | 2
72 | ..\..\..\src\x86\win64.S
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/libffi/build/win32/vs12/libffi.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Source Files
6 |
7 |
8 | Source Files
9 |
10 |
11 | Source Files
12 |
13 |
14 | Source Files
15 |
16 |
17 | Source Files
18 |
19 |
20 | Source Files
21 |
22 |
23 |
24 |
25 | {c9cece96-5ee4-43c8-b41d-4a7ddb60dc72}
26 |
27 |
28 | {9b9376b7-8403-4fb2-bdba-68ef8c81719f}
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | Source Files
38 |
39 |
40 | Source Files
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/libffi/libffi-msvc-complex.patch:
--------------------------------------------------------------------------------
1 | From 7282d3289c6f6e2cc21e2c2b554c33af00ac3474 Mon Sep 17 00:00:00 2001
2 | From: Nobuyoshi Nakada
3 | Date: Mon, 22 Dec 2014 17:14:40 +0900
4 | Subject: [PATCH] x86: MSVC does not support Complex type
5 |
6 | ---
7 | src/x86/ffitarget.h | 2 ++
8 | 1 file changed, 2 insertions(+)
9 |
10 | diff --git a/src/x86/ffitarget.h b/src/x86/ffitarget.h
11 | index 580522f..8c1dcac 100644
12 | --- a/src/x86/ffitarget.h
13 | +++ b/src/x86/ffitarget.h
14 | @@ -50,7 +50,9 @@
15 | #endif
16 |
17 | #define FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
18 | +#ifndef _MSC_VER
19 | #define FFI_TARGET_HAS_COMPLEX_TYPE
20 | +#endif
21 |
22 | /* ---- Generic type definitions ----------------------------------------- */
23 |
24 | --
25 | 1.9.5.github.0
26 |
27 |
--------------------------------------------------------------------------------
/libffi/libffi-win64-jmp.patch:
--------------------------------------------------------------------------------
1 | diff -urpN libffi-3.2.1.orig/src/x86/win64.S libffi-3.2.1/src/x86/win64.S
2 | --- libffi-3.2.1.orig/src/x86/win64.S 2014-11-08 04:47:24.000000000 -0800
3 | +++ libffi-3.2.1/src/x86/win64.S 2015-03-19 19:38:48.541790700 -0700
4 | @@ -170,7 +170,7 @@ ret_uint16$:
5 | mov rcx, QWORD PTR RVALUE[rbp]
6 | movzx rax, ax
7 | mov QWORD PTR [rcx], rax
8 | - jmp SHORT ret_void$
9 | + jmp ret_void$
10 |
11 | ret_sint16$:
12 | cmp DWORD PTR CIF_FLAGS[rbp], FFI_TYPE_SINT16
13 | @@ -179,7 +179,7 @@ ret_sint16$:
14 | mov rcx, QWORD PTR RVALUE[rbp]
15 | movsx rax, ax
16 | mov QWORD PTR [rcx], rax
17 | - jmp SHORT ret_void$
18 | + jmp ret_void$
19 |
20 | ret_uint32$:
21 | cmp DWORD PTR CIF_FLAGS[rbp], FFI_TYPE_UINT32
22 |
--------------------------------------------------------------------------------
/libffi/mod.md:
--------------------------------------------------------------------------------
1 | * Download [libffi 3.0.13](ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz)
2 |
3 | * Run in mozilla-build shell:
4 | x86:
5 | ```bash
6 | ./configure CC="$(pwd)/msvcc.sh" CXX="$(pwd)/msvcc.sh" LD=link CPP='cl -nologo -EP' CXXCPP="cl -nologo -EP" --build=i686-pc-mingw32 CFLAGS=-O2
7 | make
8 | ```
9 |
10 | x64:
11 | ```bash
12 | ./configure CC="$(pwd)/msvcc.sh -m64" CXX="$(pwd)/msvcc.sh -m64" LD=link CPP='cl -nologo -EP' CXXCPP="cl -nologo -EP" --build=x86_64-w64-mingw32 CFLAGS=-O2
13 | make
14 | ```
15 |
16 | * Convert commands to project file
17 | * Create `libfii.def` file
--------------------------------------------------------------------------------
/libpng/mod.md:
--------------------------------------------------------------------------------
1 | * Download [libpng 1.6.25](ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.25.tar.xz)
2 | * Copy `projects\vstudio` to `projects\vc14`. Only keep libpng and pnglibconf directories.
3 | * In `projects\vc14\libpng\libpng.vcxproj` and `projects\vc14\pnglibconf\pnglibconf.vcxproj`:
4 | * Under ``, add
5 | ```
6 |
7 | Release
8 | x64
9 |
10 | ```
11 | * Add `v140` to all `` elements that have `Label="Configuration"`
12 | * Add
13 | ```
14 |
15 | DynamicLibrary
16 | true
17 | MultiByte
18 | v140
19 |
20 | ```
21 | * Add
22 | ```
23 |
24 |
25 |
26 | ```
27 | * Add ``
28 | * Add
29 | ```
30 |
31 | false
32 |
33 | $(ProjectName)16
34 |
35 | ```
36 | * Remove all `` elements
37 | * In `projects\vc14\libpng\libpng.vcxproj`:
38 | * Replace `zlib.lib` with `zlib1.lib`
39 | * Replace `$(OutDir)` with `$(OutDir);%(AdditionalLibraryDirectories)`
40 | * Add
41 | ```
42 |
43 |
44 | $(WarningLevel)
45 | Use
46 | ProgramDatabase
47 | true
48 | true
49 | WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
50 | false
51 | false
52 | pngpriv.h
53 | true
54 | CompileAsC
55 | true
56 | false
57 | $(DisableSpecificWarnings)
58 | $(ZLibSrcDir);%(AdditionalIncludeDirectories)
59 | $(TreatWarningAsError)
60 |
61 |
62 | Windows
63 | true
64 | true
65 | true
66 | zlib1.lib
67 | 16
68 | $(OutDir);%(AdditionalLibraryDirectories)
69 |
70 |
71 | ```
72 | * Under ``, add `Create`
73 | * In `projects\vc14\pnglibconf\pnglibconf.vcxproj`:
74 | * Add
75 | ```
76 |
77 |
78 | $(WarningLevel)
79 | true
80 | true
81 |
82 |
83 | true
84 | true
85 | true
86 |
87 |
88 | copy ..\..\..\scripts\pnglibconf.h.prebuilt ..\..\..\pnglibconf.h
89 |
90 |
91 | Generating pnglibconf.h
92 |
93 |
94 | ..\..\..\pnglibconf.h
95 |
96 |
97 | ..\..\..\scripts\pnglibconf.h.prebuilt
98 |
99 |
100 | ```
101 | * In `projects\vstudio\zlib.props`, add
102 | ```
103 |
104 |
105 | ..\..\..\..\..\..\gtk\$(Platform)\include
106 |
107 |
108 |
109 | ..\..\..\..\..\..\gtk\$(Platform)\lib
110 |
111 |
112 | ```
113 |
--------------------------------------------------------------------------------
/libpng/projects/vc14/pnglibconf/pnglibconf.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Release
6 | Win32
7 |
8 |
9 | Release
10 | x64
11 |
12 |
13 |
14 | {EB33566E-DA7F-4D28-9077-88C0B7C77E35}
15 | pnglibconf
16 |
17 |
18 |
19 | Application
20 | false
21 | true
22 | MultiByte
23 | v140
24 |
25 |
26 | Application
27 | false
28 | true
29 | MultiByte
30 | v140
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | Build
46 |
47 |
48 | Build
49 |
50 |
51 |
52 | $(WarningLevel)
53 | true
54 | true
55 |
56 |
57 | true
58 | true
59 | true
60 |
61 |
62 | copy ..\..\..\scripts\pnglibconf.h.prebuilt ..\..\..\pnglibconf.h
63 |
64 |
65 | Generating pnglibconf.h
66 |
67 |
68 | ..\..\..\pnglibconf.h
69 |
70 |
71 | ..\..\..\scripts\pnglibconf.h.prebuilt
72 |
73 |
74 |
75 |
76 | $(WarningLevel)
77 | true
78 | true
79 |
80 |
81 | true
82 | true
83 | true
84 |
85 |
86 | copy ..\..\..\scripts\pnglibconf.h.prebuilt ..\..\..\pnglibconf.h
87 |
88 |
89 | Generating pnglibconf.h
90 |
91 |
92 | ..\..\..\pnglibconf.h
93 |
94 |
95 | ..\..\..\scripts\pnglibconf.h.prebuilt
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
--------------------------------------------------------------------------------
/libpng/projects/vc14/zlib.props:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
19 |
20 |
35 | ..\..\..\..\zlib-1.2.8
36 |
37 |
43 | true
44 |
45 |
46 |
47 | ..\..\..\..\..\..\gtk\$(Platform)\include
48 |
49 |
50 | ..\..\..\..\..\..\gtk\$(Platform)\lib
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/libxml2/mod.md:
--------------------------------------------------------------------------------
1 | * Download [libxml2 2.9.3](ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz)
2 | * Copy `win32\VC10` to `win32\VC14`
3 | * In `libxml2.vcxproj`:
4 | * Add
5 | ```
6 |
7 | Release
8 | x64
9 |
10 | ```
11 | * Add `v140` to all `` elements that have `Label="Configuration"`
12 | * Replace `Application` with `DynamicLibrary`
13 | * Add
14 | ```
15 |
16 |
17 |
18 | ```
19 | * Add ``
20 | * Replace
21 | ```
22 |
23 | $(ProjectDir)..\..\lib\
24 |
25 |
26 | build\$(ProjectName)$(Configuration)\
27 |
28 | ```
29 | with
30 | ```
31 |
32 | $(ProjectDir)..\..\lib\
33 | build\$(ProjectName)$(Configuration)\
34 |
35 | ```
36 | * Remove all `` elements
37 | * Add `4996`
38 | * In the `` elements' `` tags for `Release|Win32` and `Release|x64`:
39 | * Under ``, add:
40 | ```
41 | $(ProjectDir);$(ProjectDir)..\..\include;$(ProjectDir)..\..\include;$(ProjectDir)..\..\..\..\..\gtk\$(Platform)\include;%(AdditionalIncludeDirectories)
42 | 4996
43 | ```
44 | * Under ``, add:
45 | ```
46 | ..\..\..\..\..\gtk\$(Platform)\lib;$(AdditionalLibraryDirectories)
47 | ws2_32.lib;iconv.lib;%(AdditionalDependencies)
48 | ```
49 | * Remove
50 | ```
51 |
52 |
53 | {bec03130-a64c-48f8-863c-52da83cfb3ae}
54 | true
55 | true
56 | false
57 | true
58 | false
59 |
60 |
61 | ```
62 | * In `win32\VC14\config.h`
63 | * Add
64 | ```
65 | #define SEND_ARG2_CAST
66 | #define GETHOSTBYNAME_ARG_CAST
67 | ```
68 | * Add `#undef LIBXML_LZMA_ENABLED`
69 |
--------------------------------------------------------------------------------
/libxml2/win32/VC14/config.h:
--------------------------------------------------------------------------------
1 | #ifndef __LIBXML_WIN32_CONFIG__
2 | #define __LIBXML_WIN32_CONFIG__
3 |
4 | #define HAVE_CTYPE_H
5 | #define HAVE_STDARG_H
6 | #define HAVE_MALLOC_H
7 | #define HAVE_ERRNO_H
8 | #define HAVE_STDINT_H
9 | #define SEND_ARG2_CAST
10 | #define GETHOSTBYNAME_ARG_CAST
11 |
12 | #if defined(_WIN32_WCE)
13 | #undef HAVE_ERRNO_H
14 | #include
15 | #include "wincecompat.h"
16 | #else
17 | #define HAVE_SYS_STAT_H
18 | #define HAVE__STAT
19 | #define HAVE_STAT
20 | #define HAVE_STDLIB_H
21 | #define HAVE_TIME_H
22 | #define HAVE_FCNTL_H
23 | #include
24 | #include
25 | #endif
26 |
27 | #include
28 |
29 | #ifndef ICONV_CONST
30 | #define ICONV_CONST const
31 | #endif
32 |
33 | #ifdef NEED_SOCKETS
34 | #include
35 | #endif
36 |
37 | /*
38 | * Windows platforms may define except
39 | */
40 | #undef except
41 |
42 | #define HAVE_ISINF
43 | #define HAVE_ISNAN
44 | #include
45 | #if defined(_MSC_VER) || defined(__BORLANDC__)
46 | /* MS C-runtime has functions which can be used in order to determine if
47 | a given floating-point variable contains NaN, (+-)INF. These are
48 | preferred, because floating-point technology is considered propriatary
49 | by MS and we can assume that their functions know more about their
50 | oddities than we do. */
51 | #include
52 | /* Bjorn Reese figured a quite nice construct for isinf() using the _fpclass
53 | function. */
54 | #ifndef isinf
55 | #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \
56 | : ((_fpclass(d) == _FPCLASS_NINF) ? -1 : 0))
57 | #endif
58 | /* _isnan(x) returns nonzero if (x == NaN) and zero otherwise. */
59 | #ifndef isnan
60 | #define isnan(d) (_isnan(d))
61 | #endif
62 | #else /* _MSC_VER */
63 | #ifndef isinf
64 | static int isinf (double d) {
65 | int expon = 0;
66 | double val = frexp (d, &expon);
67 | if (expon == 1025) {
68 | if (val == 0.5) {
69 | return 1;
70 | } else if (val == -0.5) {
71 | return -1;
72 | } else {
73 | return 0;
74 | }
75 | } else {
76 | return 0;
77 | }
78 | }
79 | #endif
80 | #ifndef isnan
81 | static int isnan (double d) {
82 | int expon = 0;
83 | double val = frexp (d, &expon);
84 | if (expon == 1025) {
85 | if (val == 0.5) {
86 | return 0;
87 | } else if (val == -0.5) {
88 | return 0;
89 | } else {
90 | return 1;
91 | }
92 | } else {
93 | return 0;
94 | }
95 | }
96 | #endif
97 | #endif /* _MSC_VER */
98 |
99 | #if defined(_MSC_VER)
100 | #define mkdir(p,m) _mkdir(p)
101 | #if _MSC_VER < 1900 // Cannot define this in VS 2015 and above!
102 | #define snprintf _snprintf
103 | #endif
104 | #if _MSC_VER < 1500
105 | #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
106 | #endif
107 | #elif defined(__MINGW32__)
108 | #define mkdir(p,m) _mkdir(p)
109 | #endif
110 |
111 | /* Threading API to use should be specified here for compatibility reasons.
112 | This is however best specified on the compiler's command-line. */
113 | #if defined(LIBXML_THREAD_ENABLED)
114 | #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_WCE)
115 | #define HAVE_WIN32_THREADS
116 | #endif
117 | #endif
118 |
119 | /* Some third-party libraries far from our control assume the following
120 | is defined, which it is not if we don't include windows.h. */
121 | #if !defined(FALSE)
122 | #define FALSE 0
123 | #endif
124 | #if !defined(TRUE)
125 | #define TRUE (!(FALSE))
126 | #endif
127 |
128 | #undef LIBXML_LZMA_ENABLED
129 |
130 | #endif /* __LIBXML_WIN32_CONFIG__ */
131 |
132 |
--------------------------------------------------------------------------------
/luajit/lua-default-path.patch:
--------------------------------------------------------------------------------
1 | --- luajit.orig/src/luaconf.h 2015-05-14 11:30:00.000000000 -0700
2 | +++ luajit/src/luaconf.h 2016-04-07 16:41:19.903401700 -0700
3 | @@ -18,12 +18,14 @@
4 | ** In Windows, any exclamation mark ('!') in the path is replaced by the
5 | ** path of the directory of the executable file of the current process.
6 | */
7 | -#define LUA_LDIR "!\\lua\\"
8 | -#define LUA_CDIR "!\\"
9 | +#define LUA_LDIR1 "!\\share\\lua\\"
10 | +#define LUA_LDIR2 "!\\..\\share\\lua\\"
11 | +#define LUA_CDIR1 "!\\lib\\lua\\"
12 | +#define LUA_CDIR2 "!\\..\\lib\\lua\\"
13 | #define LUA_PATH_DEFAULT \
14 | - ".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;"
15 | + ".\\?.lua;" LUA_LDIR1"?.lua;" LUA_LDIR1"?\\init.lua;" LUA_LDIR2"?.lua;" LUA_LDIR2"?\\init.lua;"
16 | #define LUA_CPATH_DEFAULT \
17 | - ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
18 | + ".\\?.dll;" LUA_CDIR1"?.dll;" LUA_CDIR1"loadall.dll;" LUA_CDIR2"?.dll;" LUA_CDIR2"loadall.dll;"
19 | #else
20 | /*
21 | ** Note to distribution maintainers: do NOT patch the following lines!
22 |
--------------------------------------------------------------------------------
/luajit/mod.md:
--------------------------------------------------------------------------------
1 | * Download [luajit-2.0.4](http://luajit.org/download/LuaJIT-2.0.4.tar.gz)
--------------------------------------------------------------------------------
/mod.md:
--------------------------------------------------------------------------------
1 | * For each project, delete
2 | * `^\s*.*\r\n`
4 |
--------------------------------------------------------------------------------
/openssl/mod.md:
--------------------------------------------------------------------------------
1 | * Download [OpenSSL 1.0.2h](https://www.openssl.org/source/openssl-1.0.2h.tar.gz)
2 | * Download the latest [NSS certificate list](https://hg.mozilla.org/mozilla-central/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt)
3 | * Download the latest [mk-ca-bundle.pl](https://raw.githubusercontent.com/curl/curl/master/lib/mk-ca-bundle.pl) and make the following changes:
4 | * Remove `use LWP::UserAgent`
5 |
--------------------------------------------------------------------------------
/pango/build/detectenv-msvc.mak:
--------------------------------------------------------------------------------
1 | # Common NMake Makefile module for checking the build environment
2 | # This can be copied from $(glib_srcroot)\build\win32 for GNOME items
3 | # that support MSVC builds and introspection under MSVC, and can be used
4 | # for building test programs as well.
5 |
6 | # Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
7 | # VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
8 | !if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
9 | MSG = ^
10 | This Makefile is only for Visual Studio 2008 and later.^
11 | You need to ensure that the Visual Studio Environment is properly set up^
12 | before running this Makefile.
13 | !error $(MSG)
14 | !endif
15 |
16 | ERRNUL = 2>NUL
17 | _HASH=^#
18 |
19 | !if ![echo VCVERSION=_MSC_VER > vercl.x] \
20 | && ![echo $(_HASH)if defined(_M_IX86) >> vercl.x] \
21 | && ![echo PLAT=Win32 >> vercl.x] \
22 | && ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
23 | && ![echo PLAT=x64 >> vercl.x] \
24 | && ![echo $(_HASH)endif >> vercl.x] \
25 | && ![cl -nologo -TC -P vercl.x $(ERRNUL)]
26 | !include vercl.i
27 | !if ![echo VCVER= ^\> vercl.vc] \
28 | && ![set /a $(VCVERSION) / 100 - 6 >> vercl.vc]
29 | !include vercl.vc
30 | !endif
31 | !endif
32 | !if ![del $(ERRNUL) /q/f vercl.x vercl.i vercl.vc]
33 | !endif
34 |
35 | !if $(VCVERSION) > 1499 && $(VCVERSION) < 1600
36 | VSVER = 9
37 | !elseif $(VCVERSION) > 1599 && $(VCVERSION) < 1700
38 | VSVER = 10
39 | !elseif $(VCVERSION) > 1699 && $(VCVERSION) < 1800
40 | VSVER = 11
41 | !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900
42 | VSVER = 12
43 | !elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000
44 | VSVER = 14
45 | !else
46 | VSVER = 0
47 | !endif
48 |
49 | !if "$(VSVER)" == "0"
50 | MSG = ^
51 | This NMake Makefile set supports Visual Studio^
52 | 9 (2008) through 14 (2015). Your Visual Studio^
53 | version is not supported.
54 | !error $(MSG)
55 | !endif
56 |
57 | VALID_CFGSET = FALSE
58 | !if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
59 | VALID_CFGSET = TRUE
60 | !endif
61 |
62 | # We want debugging symbols logged for all builds,
63 | # using .pdb files for release builds
64 | CFLAGS_BASE = /Zi
65 |
66 | !if "$(CFG)" == "release" || "$(CFG)" == "Release"
67 | CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
68 | !else
69 | CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
70 | !endif
71 |
72 | !if "$(PLAT)" == "x64"
73 | LDFLAGS_ARCH = /machine:x64
74 | !else
75 | LDFLAGS_ARCH = /machine:x86
76 | !endif
77 |
--------------------------------------------------------------------------------
/pango/build/win32/vs14/pango-build-defines.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 1.8.0
8 | /dummy
9 | G_LOG_DOMAIN="Pango";PANGO_ENABLE_BACKEND;PANGO_ENABLE_ENGINE;SYSCONFDIR="$(PangoDummyPrefix)/etc";LIBDIR="$(PangoDummyPrefix)/lib"
10 | HAVE_CAIRO_FREETYPE=1
11 | ..;$(GlibEtcInstallRoot)\include\harfbuzz
12 | fontconfig.lib;freetype.lib;harfbuzz.lib
13 | $(GlibEtcInstallRoot)\include\cairo
14 |
15 |
16 | <_PropertySheetDisplayName>pangobuilddefinesprops
17 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
18 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
19 |
20 |
21 |
22 | ..\..\..;..\..\..\pango;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\fontconfig;$(GlibEtcInstallRoot)\include\freetype2;%(AdditionalIncludeDirectories)
23 | HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;WIN32;%(PreprocessorDefinitions)
24 | msvc_recommended_pragmas.h;%(ForcedIncludeFiles)
25 | true
26 | /d2Zi+ %(AdditionalOptions)
27 |
28 |
29 | gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;libintl.lib;%(AdditionalDependencies)
30 | $(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
31 | $(OutDir)$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).pdb
32 |
33 |
34 |
35 |
36 | $(PangoBinaryVersion)
37 |
38 |
39 | $(PangoDummyPrefix)
40 |
41 |
42 | $(PangoDefines)
43 |
44 |
45 | $(CairoFTDefines)
46 |
47 |
48 | $(PangoFT2Incs)
49 |
50 |
51 | $(PangoFT2Libs)
52 |
53 |
54 | $(PangoCairoIncs)
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/pango/build/win32/vs14/pango-version-paths.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 14
5 | 1
6 | 40
7 | 2
8 | 1.0
9 | $(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)
10 | $(SolutionDir)..\..\..\..\pango-rel
11 | lib
12 | -$(ApiVersion)-0
13 |
14 | -1.0
15 | $(PangoSeparateVSDllPrefix)
16 | $(PangoSeparateVSDllSuffix)
17 | ..\..\..\..\..\..\python-2.7\$(Platform)
18 | $(PythonPath)
19 |
20 |
21 | <_PropertySheetDisplayName>pangoversionpathsprops
22 |
23 |
24 |
25 | $(VSVer)
26 |
27 |
28 | $(PangoMajorVersion)
29 |
30 |
31 | $(PangoMinorVersion)
32 |
33 |
34 | $(PangoMicroVersion)
35 |
36 |
37 | $(ApiVersion)
38 |
39 |
40 | $(GlibEtcInstallRoot)
41 |
42 |
43 | $(CopyDir)
44 |
45 |
46 | $(PangoLibtoolCompatibleDllPrefix)
47 |
48 |
49 | $(PangoLibtoolCompatibleDllSuffix)
50 |
51 |
52 | $(PangoSeparateVSDllPrefix)
53 |
54 |
55 | $(PangoSeparateVSDllSuffix)
56 |
57 |
58 | $(PangoDllPrefix)
59 |
60 |
61 | $(PangoDllSuffix)
62 |
63 |
64 | $(PythonPath)
65 |
66 |
67 | $(PythonPathX64)
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/pango/mod.md:
--------------------------------------------------------------------------------
1 | * Download [Pango 1.40.2](http://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.2.tar.xz)
2 | * Patch with `patch -p1 -i pango-synthesize-all-fonts.patch`
3 | * In all vcxproj files:
4 | * Add ``
5 | * Remove all `` lines
6 | * In `build\win32\vs14\pango-build-defines.props`, replace:
7 | * `HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)` with `HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;WIN32;%(PreprocessorDefinitions)` (WIN32 is used in fontconfig.h)
8 | * `intl.lib` with `libintl.lib`
9 | * In `build\win32\vs14\pango-version-paths.props`, replace:
10 | * `$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(Platform)` with `$(SolutionDir)..\..\..\..\..\..\gtk\$(Platform)`
11 | * `$(GlibEtcInstallRoot)` with `$(SolutionDir)..\..\..\..\pango-rel`
12 | * `-1-vs$(VSVer)` with `-1.0`
13 | * `c:\python34` with `..\..\..\..\..\..\python-2.7\$(Platform)`
14 | * `$(PythonPath).x64` with `$(PythonPath)`
15 |
16 | * Copy `build\detectenv-msvc.mak` from a newer project such as gobject-introspection (Simply includes VS2015 info)
17 |
--------------------------------------------------------------------------------
/pango/pango-synthesize-fonts-properly.patch:
--------------------------------------------------------------------------------
1 | diff -urpN pango-1.36.8.orig/pango/pangowin32-fontmap.c pango-1.36.8/pango/pangowin32-fontmap.c
2 | --- pango-1.36.8.orig/pango/pangowin32-fontmap.c Thu Jul 31 23:49:36 2014
3 | +++ pango-1.36.8/pango/pangowin32-fontmap.c Sat Nov 22 10:23:07 2014
4 | @@ -243,28 +243,27 @@ synthesize_foreach (gpointer key,
5 | while (p)
6 | {
7 | PangoWin32Face *win32face = p->data;
8 | + PangoWeight weight = pango_font_description_get_weight (win32face->description);
9 | + PangoStyle style = pango_font_description_get_style (win32face->description);
10 |
11 | - /* Don't synthesize anything unless it's a monospace, serif, or sans font */
12 | - if (!((win32face->logfontw.lfPitchAndFamily & 0xF0) == FF_MODERN ||
13 | - (win32face->logfontw.lfPitchAndFamily & 0xF0) == FF_ROMAN ||
14 | - (win32face->logfontw.lfPitchAndFamily & 0xF0) == FF_SWISS))
15 | - return;
16 | -
17 | - if (pango_font_description_get_weight (win32face->description) == PANGO_WEIGHT_NORMAL &&
18 | - pango_font_description_get_style (win32face->description) == PANGO_STYLE_NORMAL)
19 | - variant[NORMAL] = win32face;
20 | -
21 | - if (pango_font_description_get_weight (win32face->description) > PANGO_WEIGHT_NORMAL &&
22 | - pango_font_description_get_style (win32face->description) == PANGO_STYLE_NORMAL)
23 | - variant[BOLDER] = win32face;
24 | -
25 | - if (pango_font_description_get_weight (win32face->description) == PANGO_WEIGHT_NORMAL &&
26 | - pango_font_description_get_style (win32face->description) >= PANGO_STYLE_OBLIQUE)
27 | - variant[SLANTED] = win32face;
28 | -
29 | - if (pango_font_description_get_weight (win32face->description) > PANGO_WEIGHT_NORMAL &&
30 | - pango_font_description_get_style (win32face->description) >= PANGO_STYLE_OBLIQUE)
31 | - variant[BOLDER+SLANTED] = win32face;
32 | + gboolean weight_is_normal =
33 | + weight > (PANGO_WEIGHT_LIGHT + PANGO_WEIGHT_NORMAL) / 2 &&
34 | + weight <= (PANGO_WEIGHT_NORMAL + PANGO_WEIGHT_SEMIBOLD) / 2;
35 | +
36 | + gboolean weight_is_bolder =
37 | + weight > (PANGO_WEIGHT_NORMAL + PANGO_WEIGHT_SEMIBOLD) / 2;
38 | +
39 | + if (weight_is_normal && style == PANGO_STYLE_NORMAL)
40 | + variant[NORMAL] = win32face;
41 | +
42 | + else if (weight_is_bolder && style == PANGO_STYLE_NORMAL)
43 | + variant[BOLDER] = win32face;
44 | +
45 | + else if (weight_is_normal && style >= PANGO_STYLE_OBLIQUE)
46 | + variant[SLANTED] = win32face;
47 | +
48 | + else if (weight_is_bolder && style >= PANGO_STYLE_OBLIQUE)
49 | + variant[BOLDER+SLANTED] = win32face;
50 |
51 | p = p->next;
52 | }
53 |
--------------------------------------------------------------------------------
/pango/pango.pc:
--------------------------------------------------------------------------------
1 | prefix=C:/
2 | exec_prefix=C:/
3 | libdir=${prefix}/lib
4 | includedir=${prefix}/include
5 |
6 | Name: Pango
7 | Description: Internationalized text handling
8 | Version: 1.39.0
9 |
10 | Requires: glib-2.0 gobject-2.0
11 | Libs: -L${libdir} -lpango-1.0
12 | Cflags: -I${includedir}/pango-1.0
13 |
--------------------------------------------------------------------------------
/pango/pangocairo-fix-missing-export.patch:
--------------------------------------------------------------------------------
1 | From c67b12e547c3ed150a4f6300da442d4e48561253 Mon Sep 17 00:00:00 2001
2 | From: Patrick Griffis
3 | Date: Wed, 7 Sep 2016 08:39:22 -0400
4 | Subject: [PATCH] Fix exporting pango_cairo_win32_font_map_get_type
5 |
6 | ---
7 | pango/pangocairo-win32.h | 1 +
8 | 1 file changed, 1 insertion(+)
9 |
10 | diff --git a/pango/pangocairo-win32.h b/pango/pangocairo-win32.h
11 | index 33d0ee4..61a14dd 100644
12 | --- a/pango/pangocairo-win32.h
13 | +++ b/pango/pangocairo-win32.h
14 | @@ -42,6 +42,7 @@ struct _PangoCairoWin32FontMap
15 | double dpi;
16 | };
17 |
18 | +_PANGO_EXTERN
19 | GType pango_cairo_win32_font_map_get_type (void) G_GNUC_CONST;
20 |
21 | PangoFont *_pango_cairo_win32_font_new (PangoCairoWin32FontMap *cwfontmap,
22 | --
23 | 2.9.3
24 |
25 |
--------------------------------------------------------------------------------
/perl/mod.md:
--------------------------------------------------------------------------------
1 | * Download [Perl](http://www.perl.org/get.html)
2 | * Open `win32\Makefile` with a text editor
3 | * Replace `INST_TOP = $(INST_DRV)\perl` with `INST_TOP = $(INST_DRV)\gtk-build\perl-5.20\Win32`
4 | * Comment out `CCTYPE = MSVC60`
5 | * Uncomment `#CCTYPE = MSVC120`
6 | * Uncomment `#WIN64 = undef`
7 | * Open VS x86 command prompt
8 | * Go to win32
9 | * `nmake -f Makefile`
10 | * `nmake -f Makefile install`
11 |
--------------------------------------------------------------------------------
/perl/perl.iss:
--------------------------------------------------------------------------------
1 | #define APPVER "5.20"
2 | #define APPARCH "x86"
3 | #if APPARCH == "x64"
4 | #define PERLLOC "..\..\..\..\perl-5.20\x64"
5 | #else
6 | #define PERLLOC "..\..\..\..\perl-5.20\Win32"
7 | #endif
8 |
9 | [Setup]
10 | AppName=Perl
11 | AppVerName=Perl {#APPVER}
12 | AppVersion={#APPVER}
13 | OutputBaseFilename=Perl {#APPVER} {#APPARCH}
14 | AppPublisher=HexChat
15 | AppPublisherURL=http://hexchat.github.io/
16 | AppSupportURL=https://github.com/hexchat/hexchat/issues
17 | AppUpdatesURL=http://hexchat.github.io/downloads.html
18 | DefaultDirName=C:\Perl
19 | DisableProgramGroupPage=yes
20 | DisableDirPage=no
21 | SolidCompression=yes
22 | Compression=lzma2/ultra64
23 | OutputDir={#SourcePath}
24 | SourceDir={#PERLLOC}
25 | FlatComponentsList=no
26 | PrivilegesRequired=lowest
27 | ShowComponentSizes=no
28 | CreateUninstallRegKey=yes
29 | ChangesEnvironment=yes
30 | Uninstallable=yes
31 | DirExistsWarning=no
32 | #if APPARCH == "x64"
33 | ArchitecturesAllowed=x64
34 | ArchitecturesInstallIn64BitMode=x64
35 | #else
36 | ArchitecturesAllowed=x86 x64
37 | #endif
38 |
39 | [Files]
40 | Source: ".\*"; DestDir: "{app}"; Flags: createallsubdirs recursesubdirs
41 |
42 | [Registry]
43 | Root: HKCU; Subkey: "Environment"; ValueType: string; ValueName:"PATH"; ValueData:"{olddata};{app}\bin"; Flags: preservestringtype
44 |
--------------------------------------------------------------------------------
/pixman/build/win32/vc14/install.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Debug
10 | x64
11 |
12 |
13 | Release
14 | Win32
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | {2093D218-190E-4194-9421-3BA7CBF33B10}
23 | install
24 | Win32Proj
25 |
26 |
27 |
28 | Utility
29 | MultiByte
30 | true
31 | v140
32 |
33 |
34 | Utility
35 | MultiByte
36 | v140
37 |
38 |
39 | Utility
40 | MultiByte
41 | true
42 | v140
43 |
44 |
45 | Utility
46 | MultiByte
47 | v140
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | $(PixmanEtcInstallRoot)\
75 |
76 | $(PixmanEtcInstallRoot)\
77 |
78 | $(PixmanEtcInstallRoot)\
79 |
80 | $(PixmanEtcInstallRoot)\
81 |
82 |
83 |
84 |
85 | $(PixmanDoInstall)
86 |
87 |
88 |
89 |
90 | $(PixmanDoInstall)
91 |
92 |
93 |
94 |
95 | $(PixmanDoInstall)
96 |
97 |
98 |
99 |
100 | $(PixmanDoInstall)
101 |
102 |
103 |
104 |
105 | {65e6ecb5-ba49-4c52-a085-1e3bb18836d0}
106 | false
107 |
108 |
109 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/pixman/build/win32/vc14/pixman.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ..\..\..\..\..\..\gtk\$(PlatformName)
5 | ..\..\..\..\pixman-rel
6 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)
7 | 1
8 |
9 | echo EXPORTS > $(DefDir)\pixman.def
10 |
11 | cl /EP /nologo ..\..\..\pixman\pixman.symbols >> $(DefDir)\pixman.def
12 |
13 |
14 | mkdir $(CopyDir)
15 |
16 | mkdir $(CopyDir)\bin
17 |
18 | copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin
19 |
20 | copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.exe $(CopyDir)\bin
21 |
22 | copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.pdb $(CopyDir)\bin
23 |
24 | mkdir $(CopyDir)\include\pixman-$(ApiVersion)
25 |
26 | copy ..\..\..\pixman\pixman.h $(CopyDir)\include\pixman-$(ApiVersion)
27 |
28 | copy ..\..\..\pixman\pixman-version.h $(CopyDir)\include\pixman-$(ApiVersion)
29 |
30 |
31 | mkdir $(CopyDir)\lib
32 |
33 | copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(ApiVersion).lib $(CopyDir)\lib
34 |
35 |
36 |
37 |
38 | <_PropertySheetDisplayName>pixmanprops
39 | $(SolutionDir)$(Configuration)\$(PlatformName)\bin\
40 | $(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\
41 |
42 |
43 |
44 | ..\..\..;..\..\..\pixman;$(PixmanEtcInstallRoot)\include;%(AdditionalIncludeDirectories)
45 | _CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;PACKAGE=pixman-1;%(PreprocessorDefinitions)
46 | 4244;%(DisableSpecificWarnings)
47 |
48 |
49 | $(PixmanEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)
50 |
51 |
52 |
53 |
54 | $(GenPixmanDef)
55 |
56 |
57 | $(PixmanEtcInstallRoot)
58 |
59 |
60 | $(CopyDir)
61 |
62 |
63 | $(DefDir)
64 |
65 |
66 | $(ApiVersion)
67 |
68 |
69 | $(PixmanDoInstall)
70 |
71 |
72 |
--------------------------------------------------------------------------------
/pixman/build/win32/vc14/pixman.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav
15 |
16 |
17 |
18 |
19 | Sources
20 |
21 |
22 | Sources
23 |
24 |
25 | Sources
26 |
27 |
28 | Sources
29 |
30 |
31 | Sources
32 |
33 |
34 | Sources
35 |
36 |
37 | Sources
38 |
39 |
40 | Sources
41 |
42 |
43 | Sources
44 |
45 |
46 | Sources
47 |
48 |
49 | Sources
50 |
51 |
52 | Sources
53 |
54 |
55 | Sources
56 |
57 |
58 | Sources
59 |
60 |
61 | Sources
62 |
63 |
64 | Sources
65 |
66 |
67 | Sources
68 |
69 |
70 | Sources
71 |
72 |
73 | Sources
74 |
75 |
76 | Sources
77 |
78 |
79 | Sources
80 |
81 |
82 | Sources
83 |
84 |
85 | Sources
86 |
87 |
88 | Sources
89 |
90 |
91 | Sources
92 |
93 |
94 | Sources
95 |
96 |
97 | Sources
98 |
99 |
100 | Sources
101 |
102 |
103 | Sources
104 |
105 |
106 | Sources
107 |
108 |
109 | Sources
110 |
111 |
112 | Sources
113 |
114 |
115 | Sources
116 |
117 |
118 |
--------------------------------------------------------------------------------
/pixman/mod.md:
--------------------------------------------------------------------------------
1 | * Download [Pixman 0.34.0](http://cairographics.org/releases/pixman-0.34.0.tar.gz)
2 | * Get project files from [Chun-Wei's bug](https://bugs.freedesktop.org/attachment.cgi?id=58220)
3 | * In `build\win32\vc14\pixman.props`, replace:
4 | * `..\..\..\..\vs10\$(PlatformName)` with `..\..\..\..\..\..\gtk\$(PlatformName)`
5 | * `$(PixmanEtcInstallRoot)` with `..\..\..\..\pixman-rel`
6 | * In `build\win32\vc14\pixman.props`, add to `PixmanDoInstall`:
7 | * `copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.exe $(CopyDir)\bin`
8 | * `copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.pdb $(CopyDir)\bin`
9 | * Build `build\win32\vc14\pixman.vcxproj` and `build\win32\vc14\install.vcxproj`
10 |
--------------------------------------------------------------------------------
/stack.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | /d2Zi+ %(AdditionalOptions)
9 | true
10 |
11 |
12 | MaxSpeed
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/win-iconv/COPYING:
--------------------------------------------------------------------------------
1 | Copyright (c) 2009-2012, Yukihiro Nakadaira
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * Neither the name of the nor the
12 | names of its contributors may be used to endorse or promote products
13 | derived from this software without specific prior written permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
--------------------------------------------------------------------------------
/win-iconv/mod.md:
--------------------------------------------------------------------------------
1 | * Download [win-iconv 0.0.8](https://github.com/win-iconv/win-iconv/archive/v0.0.8.tar.gz)
2 |
--------------------------------------------------------------------------------
/zlib/contrib/vstudio/vc12/zlib.rc:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | #define IDR_VERSION1 1
4 | IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
5 | FILEVERSION 1,2,8,0
6 | PRODUCTVERSION 1,2,8,0
7 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
8 | FILEFLAGS 0
9 | FILEOS VOS_DOS_WINDOWS32
10 | FILETYPE VFT_DLL
11 | FILESUBTYPE 0 // not used
12 | BEGIN
13 | BLOCK "StringFileInfo"
14 | BEGIN
15 | BLOCK "040904E4"
16 | //language ID = U.S. English, char set = Windows, Multilingual
17 |
18 | BEGIN
19 | VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
20 | VALUE "FileVersion", "1.2.8\0"
21 | VALUE "InternalName", "zlib\0"
22 | VALUE "OriginalFilename", "zlib1.dll\0"
23 | VALUE "ProductName", "ZLib.DLL\0"
24 | VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
25 | VALUE "LegalCopyright", "(C) 1995-2013 Jean-loup Gailly & Mark Adler\0"
26 | END
27 | END
28 | BLOCK "VarFileInfo"
29 | BEGIN
30 | VALUE "Translation", 0x0409, 1252
31 | END
32 | END
33 |
--------------------------------------------------------------------------------
/zlib/mod.md:
--------------------------------------------------------------------------------
1 | * Download [zlib 1.2.8](http://zlib.net/zlib128.zip)
2 | * Remove `Optimization` settings in `contrib\vc12\*.vcxproj`
3 | * In `contrib\vstudio\vc12\zlibvc.sln`:
4 | * Remove `Itanium` platform
5 | * Change `Configuration` to `ReleaseWithoutAsm`
6 | * Add `stack.props` to each project
7 | * Select all projects to be built
8 | * For `zlibstat` and `zlibvc` remove any files that belong to `minizip`
9 | * Replace `contrib\vstudio\vc12\zlibvc.def` with `win32\zlib.def`
10 | * For `miniunz`, `minizip` and `testzlibdll`, change:
11 | * `Additional Library Directories` to `$(OutDir)..\ZlibDllReleaseWithoutAsm`
12 | * `Additional Dependencies` to `zlibwapi.lib;%(AdditionalDependencies)`
13 | * Correct `Output Directory` and `Intermediate Directory` for `minizip` on `x64`
14 | * Fix runtime libraries (`/MT` for static libraries, `/MD` for DLL builds)
15 | * Select `Generate Debug Info` for `zlibvc` and for `testzlib` on `x64`
16 | * For all projects:
17 | * Remove `ZLIB_WINAPI` from `PreprocessorDefinitions`
18 | * Replace `zlibwapi.lib` with `zlib1.lib`
19 | * Replace `zlibwapi.dll` with `zlib1.dll`
20 | * Replace `zlibwapi.pdb` with `zlib1.pdb`
21 | * Replace `zlibwapi.map` with `zlib1.map`
22 | * Select `miniunz` and `minizip` not to be built
23 |
--------------------------------------------------------------------------------