-
Notifications
You must be signed in to change notification settings - Fork 5
Comparing changes
Open a pull request
base repository: GNOME/grilo
base: master
head repository: GNOME/grilo
compare: master.msvc
- 13 commits
- 28 files changed
- 1 contributor
Commits on Apr 22, 2020
-
meson: Find libxml2 manually on MSVC builds
The libxml2 build files for Visual Studio do not generate pkg-config files for us, so this update makes Meson search for it manually using cc.find_library() and also check we have libxml/parser.h. Also fix the pkg-config file that is being generated in this case, since we can't pass a manually-found library object to 'requires:'. This will require Meson 0.50.0 or later.
Configuration menu - View commit details
-
Copy full SHA for 1e6dbdd - Browse repository at this point
Copy the full SHA 1e6dbddView commit details -
meson: Add some MSVC-specific items
This makes use of GLib's msvc_recommended_pragmas.h and the compiler's -utf-8 flag, which will help us during the build.
Configuration menu - View commit details
-
Copy full SHA for 40ca043 - Browse repository at this point
Copy the full SHA 40ca043View commit details -
src/meson.build: Pass in GRL_NAME
We need that for Windows builds...
Configuration menu - View commit details
-
Copy full SHA for 3f07a12 - Browse repository at this point
Copy the full SHA 3f07a12View commit details -
src/grl-source.c: Remove extraneous ';'
This is causing Visual Studio builds to break.
Configuration menu - View commit details
-
Copy full SHA for 6525481 - Browse repository at this point
Copy the full SHA 6525481View commit details -
grl-net-wc.c: Include process.h on Windows
unistd.h may not be available on Windows, but process.h is, and it is needed for getpid().
Configuration menu - View commit details
-
Copy full SHA for 681238f - Browse repository at this point
Copy the full SHA 681238fView commit details -
grl-definitions.h: Add _GRL_EXTERN
This macro can be used to export and import symbols where necessary, on compilers that do not support autoexporting mechanisms. The __declspec(dllimport) usage is required for variables that need to be accessed from the DLL.
Configuration menu - View commit details
-
Copy full SHA for 1b2e544 - Browse repository at this point
Copy the full SHA 1b2e544View commit details -
src/*.h: Mark all public symbols with _GRL_EXTERN
This way, we can export symbols in the main Grilo library by using compiler directives, where needed, such as on Visual Studio.
Configuration menu - View commit details
-
Copy full SHA for cc7f933 - Browse repository at this point
Copy the full SHA cc7f933View commit details -
src/meson.build: Don't use GCC-esque linker flags on MSVC
Silence a warning...
Configuration menu - View commit details
-
Copy full SHA for d5c26e4 - Browse repository at this point
Copy the full SHA d5c26e4View commit details -
src: Use correct envvar separator
Use the G_SEARCHPATH_SEPARATOR_S macro as it assures that we are using the correct separator between values that are passed in via an envvar. The ":" separator is valid on *NIX, but not Windows
Configuration menu - View commit details
-
Copy full SHA for dfdc8a6 - Browse repository at this point
Copy the full SHA dfdc8a6View commit details -
src/meson.build: Fix introspection on Windows
Python on Windows have problems escaping quotes that have been previously, escaped, which is revealed when we are trying to build introspection files. Fix this by just passing in the '-DG_LOG_DOMAIN=...' only when building the Grilo library, but not when running g-ir-scanner.
Configuration menu - View commit details
-
Copy full SHA for 26e0a37 - Browse repository at this point
Copy the full SHA 26e0a37View commit details -
lib/net/grl-net-wc.h: Add _GRLNET_EXTERN
Define this as nothing initially. If needed, we can override this so that we can export symbols via compiler directives.
Configuration menu - View commit details
-
Copy full SHA for 25a58c5 - Browse repository at this point
Copy the full SHA 25a58c5View commit details -
libs/net/meson.build: Export symbols on MSVC-like builds
Define _GRLNET_EXTERN as __declspec(dllexport) so that we can export symbols on Visual Studio builds without a .def file.
Configuration menu - View commit details
-
Copy full SHA for def974e - Browse repository at this point
Copy the full SHA def974eView commit details -
tests: Don't build autoptr test on Visual Studio
g_autoptr() is not supported on Visual Studio, since it is really a GCCism
Configuration menu - View commit details
-
Copy full SHA for 90a18c0 - Browse repository at this point
Copy the full SHA 90a18c0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master.msvc