WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: libproxy depends on webkit  (Read 1594 times)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
libproxy depends on webkit
« on: July 27, 2012, 09:17:58 AM »
can you compile libproxy without webkit please
-DWITH_WEBKIT=OFF

or apply this patch and build against webkitgtk-1.0.0

Code: [Select]
Description: Always build the pacrunner as a module
  By default upstream, if we only build one pacrunner (the webkit one in
  Ubuntu), it will be built into libproxy. This means that libproxy gets a dep
  on webkit, which is rather heavyweight. Instead it would be better to have
  this as a module so that users can choose to have it or not.
Author: Iain Lane <laney@ubuntu.com>
Bug-Upstream: https://code.google.com/p/libproxy/issues/detail?id=172

--- libproxy-0.4.7.orig/libproxy/cmake/modules.cmk
+++ libproxy-0.4.7/libproxy/cmake/modules.cmk
@@ -18,11 +18,8 @@ include(cmake/modules/pacrunner_mozjs.cm
 include(cmake/modules/pacrunner_natus.cmk)
 include(cmake/modules/pacrunner_webkit.cmk)
 
-# Build the pacrunner into libproxy unless we are building for multiple engines
-set(BIPR 1)
-if((MOZJS_FOUND AND WEBKIT_FOUND) OR (MOZJS_FOUND AND NATUS_FOUND) OR (WEBKIT_FOUND AND NATUS_FOUND))
-  set(BIPR 0)
-endif()
+# Always build the pacrunner into modules
+set(BIPR 0)
 
 #
 ## Module definition
« Last Edit: July 27, 2012, 11:38:19 AM by Arslan S. »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: libproxy depends on webkit
« Reply #1 on: July 27, 2012, 10:47:23 AM »
Posted - with webkit patch