Title: [214339] trunk/Source/ThirdParty
- Revision
- 214339
- Author
- [email protected]
- Date
- 2017-03-24 01:26:05 -0700 (Fri, 24 Mar 2017)
Log Message
Unreviewed. Fix the build after r214338.
Add missing files I forgot to git add again.
* xdgmime/CMakeLists.txt: Added.
* xdgmime/README: Added.
* xdgmime/README.webkit: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/Source/ThirdParty/ChangeLog (214338 => 214339)
--- trunk/Source/ThirdParty/ChangeLog 2017-03-24 08:21:21 UTC (rev 214338)
+++ trunk/Source/ThirdParty/ChangeLog 2017-03-24 08:26:05 UTC (rev 214339)
@@ -1,5 +1,15 @@
2017-03-24 Carlos Garcia Campos <[email protected]>
+ Unreviewed. Fix the build after r214338.
+
+ Add missing files I forgot to git add again.
+
+ * xdgmime/CMakeLists.txt: Added.
+ * xdgmime/README: Added.
+ * xdgmime/README.webkit: Added.
+
+2017-03-24 Carlos Garcia Campos <[email protected]>
+
[GTK] Add MIMETypeRegistry implementation using xdgmime and remove the GTK+ one
https://bugs.webkit.org/show_bug.cgi?id=170001
Added: trunk/Source/ThirdParty/xdgmime/CMakeLists.txt (0 => 214339)
--- trunk/Source/ThirdParty/xdgmime/CMakeLists.txt (rev 0)
+++ trunk/Source/ThirdParty/xdgmime/CMakeLists.txt 2017-03-24 08:26:05 UTC (rev 214339)
@@ -0,0 +1,26 @@
+set(XDGMIME_DIR "${THIRDPARTY_DIR}/xdgmime")
+
+set(XDGMIME_INCLUDE_DIRECTORIES
+ "${XDGMIME_DIR}/src"
+ "${CMAKE_BINARY_DIR}"
+)
+
+set(XDGMIME_SOURCES
+ ${XDGMIME_DIR}/src/xdgmimealias.c
+ ${XDGMIME_DIR}/src/xdgmime.c
+ ${XDGMIME_DIR}/src/xdgmimeicon.c
+ ${XDGMIME_DIR}/src/xdgmimeint.c
+ ${XDGMIME_DIR}/src/xdgmimemagic.c
+ ${XDGMIME_DIR}/src/xdgmimeparent.c
+ ${XDGMIME_DIR}/src/xdgmimecache.c
+ ${XDGMIME_DIR}/src/xdgmimeglob.c
+)
+
+include_directories("${XDGMIME_INCLUDE_DIRECTORIES}")
+add_definitions(-DXDG_PREFIX=_wk_xdg)
+add_library(xdgmime STATIC ${XDGMIME_SOURCES})
+WEBKIT_SET_EXTRA_COMPILER_FLAGS(xdgmime)
+
+if (COMPILER_IS_GCC_OR_CLANG)
+ ADD_TARGET_PROPERTIES(xdgmime COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-parameter")
+endif ()
Added: trunk/Source/ThirdParty/xdgmime/README (0 => 214339)
--- trunk/Source/ThirdParty/xdgmime/README (rev 0)
+++ trunk/Source/ThirdParty/xdgmime/README 2017-03-24 08:26:05 UTC (rev 214339)
@@ -0,0 +1,8 @@
+This module is a simple module that parses the proposed MIME spec listed
+at http://freedesktop.org/. It is currently targetted at version 0.12.
+There are no formal releases planned for this module, and it is not
+intended to be installed at this time. Rather, it is meant to be used
+by other libraries or applications to add support for the MIME system.
+
+It is dual-licensed under the terms of the GNU Lesser General Public
+License, and the Academic Free License, version 2.0.
Added: trunk/Source/ThirdParty/xdgmime/README.webkit (0 => 214339)
--- trunk/Source/ThirdParty/xdgmime/README.webkit (rev 0)
+++ trunk/Source/ThirdParty/xdgmime/README.webkit 2017-03-24 08:26:05 UTC (rev 214339)
@@ -0,0 +1,18 @@
+This xdgmime from
+https://cgit.freedesktop.org/xdg/xdgmime/
+
+xdgmime is the reference implementation of the Freedesktop.org MIME specification:
+https://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec/
+
+Current version is based on revision f69fd2528ec0ebdbe48983ad3eabd002de7ba2bd
+cloned from git://anongit.freedesktop.org/xdg/xdgmime.
+
+Changes for the WebKit project:
+
+ - Add xdg_mime_get_simple_globs
+ - s/^#include <config.h>/#include "cmakeconfig.h"/g
+
+Changes included from GLib sources:
+
+ - 2542b6f60492fadfb21f2c4a29976c3494c7e6c5 xdgmime: Handle EINTR in open()
+ - 83d34f630939aa13539e03895bef87da738c4127 Don't forget to free resources in an early return
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes