WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136158
[GTK] WebKit has a new required dependency on GnuTLS
https://bugs.webkit.org/show_bug.cgi?id=136158
Summary
[GTK] WebKit has a new required dependency on GnuTLS
Martin Robinson
Reported
2014-08-22 10:17:11 PDT
We should not be adding required dependencies, so WebCrypto should be disabled when GnuTLS is not found: -- WTF_USE_TILED_BACKING_STORE OFF -- ENABLE_PLUGIN_PROCESS_GTK2 .............. ON -- checking for module 'libsecret-1' -- package 'libsecret-1' not found -- Could NOT find LIBSECRET (missing: LIBSECRET_INCLUDE_DIRS LIBSECRET_LIBRARIES) CMake Error at /home/guijemont/.local/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message): Could NOT find GnuTLS: Found unsuitable version "2.12.14", but required is at least "3.0.0" (found /usr/lib/x86_64-linux-gnu/libgnutls.so) Call Stack (most recent call first): /home/guijemont/.local/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:341 (_FPHSA_FAILURE_MESSAGE) /home/guijemont/.local/share/cmake-3.0/Modules/FindGnuTLS.cmake:69 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) Source/cmake/OptionsGTK.cmake:383 (find_package) CMakeLists.txt:159 (include)
Attachments
Patch
(1.67 KB, patch)
2014-11-29 16:53 PST
,
Oleg Smirnov
no flags
Details
Formatted Diff
Diff
Patch
(2.25 KB, patch)
2014-12-07 10:32 PST
,
Alberto Garcia
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2014-09-24 02:34:41 PDT
cmake only complains if you explicitly enable SUBTLE_CRYPTO and it fails to find the required dependencies. I understand that's the correct behavior. It is build-webkit that sets ENABLE_SUBTLE_CRYPTO by default, if you call cmake directly instead it works fine. So maybe we should disable subtle-crypto by default in build-webkit?
Oleg Smirnov
Comment 2
2014-11-29 16:53:03 PST
Created
attachment 242286
[details]
Patch
Alberto Garcia
Comment 3
2014-12-07 09:33:04 PST
Comment on
attachment 242286
[details]
Patch The patch looks good to me, r+ anyone?
Martin Robinson
Comment 4
2014-12-07 09:42:12 PST
If this if provided by the JHBuild, I don't think it's necessary. If it's not provided by the JHBuild, perhaps it should be?
Alberto Garcia
Comment 5
2014-12-07 09:52:13 PST
Actually Tools/gtk/install-dependencies is already installing libgnutls-dev, so maybe there's nothing to fix here? WebCrypto is already disabled when we use cmake directly, so I don't think distributors/end users are really required to install gnutls.
Martin Robinson
Comment 6
2014-12-07 10:18:15 PST
(In reply to
comment #5
)
> Actually Tools/gtk/install-dependencies is already installing > libgnutls-dev, so maybe there's nothing to fix here? > > WebCrypto is already disabled when we use cmake directly, so I don't > think distributors/end users are really required to install gnutls.
Probably it should be one of those features that's enabled only when the dependency is found. I think Safari is shipping it so we can probably start as well.
Alberto Garcia
Comment 7
2014-12-07 10:32:37 PST
Created
attachment 242754
[details]
Patch Ok, here it goes
WebKit Commit Bot
Comment 8
2014-12-07 11:23:41 PST
Comment on
attachment 242754
[details]
Patch Clearing flags on attachment: 242754 Committed
r176928
: <
http://trac.webkit.org/changeset/176928
>
WebKit Commit Bot
Comment 9
2014-12-07 11:23:45 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug