Hello community,

here is the log from the commit of package libproxy for openSUSE:Factory 
checked in at 2012-06-10 23:13:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libproxy (Old)
 and      /work/SRC/openSUSE:Factory/.libproxy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libproxy", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libproxy/libproxy-plugins.changes        
2012-03-19 09:58:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libproxy.new/libproxy-plugins.changes   
2012-06-10 23:13:02.000000000 +0200
@@ -1,0 +2,21 @@
+Sat Jun  9 10:11:55 UTC 2012 - [email protected]
+
+- Add libproxy-force-bipr.patch: Force building pacrunner as module
+  This is required as libproxy, when building only one pacrunner,
+  links the module internal. But as we only temporarly disable
+  the mozjs, we do need to keep the webkit runner as an external
+  module.
+- Also pass -DBIPR=0 to cmake, to enable the patch above.
+
+-------------------------------------------------------------------
+Wed Jun  6 12:26:57 UTC 2012 - [email protected]
+
+- Temporaryly disable the mozjs pacrunner: it casues crashes due
+  to symbol conflicts in Firefox (bnc#759123):
+  + Introduce build_mozjs defnies, currently set to 0
+  + Conditionally build the pacrunner-mozjs package
+  + conditionally buildrequire pkgconfig(mozjs185)
+  + When not building mozjs pacrunner, obsolete the package by
+    libproxy1.
+
+-------------------------------------------------------------------
libproxy.changes: same change

New:
----
  libproxy-force-bipr.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libproxy-plugins.spec ++++++
--- /var/tmp/diff_new_pack.Q81dmX/_old  2012-06-10 23:13:03.000000000 +0200
+++ /var/tmp/diff_new_pack.Q81dmX/_new  2012-06-10 23:13:03.000000000 +0200
@@ -17,6 +17,7 @@
 
 
 %define         build_core_not_modules 0
+%define         build_mozjs 0
 %if 0%{?suse_version}
 %ifnarch %arm ppc64
 %define         have_mono 1
@@ -53,6 +54,8 @@
 Patch2:         libproxy-trim-ignores.patch
 # PATCH-FIX-UPSTREAM libproxy-gcc47.patch [email protected] -- Fix build 
with gcc 4.7. Taken from upstream svn, r833.
 Patch3:         libproxy-gcc47.patch
+# PATCH-FIX-UPSTREAM libproxy-force-bipr.patch bnc#759123 [email protected] 
-- Allow to forcibly build pacrunners as modules, upstream r834
+Patch4:         libproxy-force-bipr.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -78,8 +81,10 @@
 BuildRequires:  NetworkManager-devel
 BuildRequires:  libkde4-devel
 BuildRequires:  libqt4-devel
+%if %{build_mozjs}
 BuildRequires:  pkgconfig(mozjs185)
 %endif
+%endif
 %else
 %if 0%{?have_mono}
 BuildRequires:  mono-devel
@@ -135,6 +140,9 @@
 %package -n libproxy1
 Summary:        Libproxy provides consistent proxy configuration to 
applications
 Group:          System/Libraries
+%if !%{build_mozjs}
+Obsoletes:      libproxy1-pacrunner-mozjs <= %{version}
+%endif
 
 %description -n libproxy1
 libproxy offers the following features: * extremely small core
@@ -259,6 +267,7 @@
 settings.
 
 
+%if %{build_mozjs}
 %package -n libproxy1-pacrunner-mozjs
 Summary:        Libproxy module to support wpad/pac parsing via Mozilla 
JavaScript Engine
 Group:          System/Libraries
@@ -272,7 +281,7 @@
 %description -n libproxy1-pacrunner-mozjs
 A module to extend libproxy with capabilities to pass addresses to a
 WPAD/PAC script and have it find the correct proxy.
-
+%endif
 
 %package -n libproxy1-pacrunner-webkit
 Summary:        Libproxy module to support WPAD/PAC parsing via WebKit 
JavaScript Engine
@@ -312,6 +321,7 @@
 %patch1 -p1
 %patch2 -p0
 %patch3 -p1
+%patch4 -p1
 mkdir build
 
 %build
@@ -343,6 +353,7 @@
   -DSHARE_INSTALL_PREFIX=%{_datadir} \
   -DINCLUDE_INSTALL_DIR=%{_includedir} \
   -DPERL_VENDORINSTALL=yes \
+  -DBIPR=0 \
 %if ! %build_core_not_modules
   -DWITH_DOTNET=OFF \
 %endif
@@ -485,10 +496,12 @@
 %defattr(-, root, root)
 %{_libdir}/libproxy-%{version}/modules/pacrunner_webkit.so
 
+%if %{build_mozjs}
 %files -n libproxy1-pacrunner-mozjs
 %defattr(-, root, root)
 %{_libdir}/libproxy-%{version}/modules/pacrunner_mozjs.so
 %endif
 %endif
+%endif
 
 %changelog

++++++ libproxy.spec ++++++
--- /var/tmp/diff_new_pack.Q81dmX/_old  2012-06-10 23:13:03.000000000 +0200
+++ /var/tmp/diff_new_pack.Q81dmX/_new  2012-06-10 23:13:03.000000000 +0200
@@ -17,6 +17,7 @@
 
 
 %define         build_core_not_modules 1
+%define         build_mozjs 0
 %if 0%{?suse_version}
 %ifnarch %arm ppc64
 %define         have_mono 1
@@ -53,6 +54,8 @@
 Patch2:         libproxy-trim-ignores.patch
 # PATCH-FIX-UPSTREAM libproxy-gcc47.patch [email protected] -- Fix build 
with gcc 4.7. Taken from upstream svn, r833.
 Patch3:         libproxy-gcc47.patch
+# PATCH-FIX-UPSTREAM libproxy-force-bipr.patch bnc#759123 [email protected] 
-- Allow to forcibly build pacrunners as modules, upstream r834
+Patch4:         libproxy-force-bipr.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -78,8 +81,10 @@
 BuildRequires:  NetworkManager-devel
 BuildRequires:  libkde4-devel
 BuildRequires:  libqt4-devel
+%if %{build_mozjs}
 BuildRequires:  pkgconfig(mozjs185)
 %endif
+%endif
 %else
 %if 0%{?have_mono}
 BuildRequires:  mono-devel
@@ -135,6 +140,9 @@
 %package -n libproxy1
 Summary:        Libproxy provides consistent proxy configuration to 
applications
 Group:          System/Libraries
+%if !%{build_mozjs}
+Obsoletes:      libproxy1-pacrunner-mozjs <= %{version}
+%endif
 
 %description -n libproxy1
 libproxy offers the following features: * extremely small core
@@ -259,6 +267,7 @@
 settings.
 
 
+%if %{build_mozjs}
 %package -n libproxy1-pacrunner-mozjs
 Summary:        Libproxy module to support wpad/pac parsing via Mozilla 
JavaScript Engine
 Group:          System/Libraries
@@ -272,7 +281,7 @@
 %description -n libproxy1-pacrunner-mozjs
 A module to extend libproxy with capabilities to pass addresses to a
 WPAD/PAC script and have it find the correct proxy.
-
+%endif
 
 %package -n libproxy1-pacrunner-webkit
 Summary:        Libproxy module to support WPAD/PAC parsing via WebKit 
JavaScript Engine
@@ -312,6 +321,7 @@
 %patch1 -p1
 %patch2 -p0
 %patch3 -p1
+%patch4 -p1
 mkdir build
 
 %build
@@ -343,6 +353,7 @@
   -DSHARE_INSTALL_PREFIX=%{_datadir} \
   -DINCLUDE_INSTALL_DIR=%{_includedir} \
   -DPERL_VENDORINSTALL=yes \
+  -DBIPR=0 \
 %if ! %build_core_not_modules
   -DWITH_DOTNET=OFF \
 %endif
@@ -485,10 +496,12 @@
 %defattr(-, root, root)
 %{_libdir}/libproxy-%{version}/modules/pacrunner_webkit.so
 
+%if %{build_mozjs}
 %files -n libproxy1-pacrunner-mozjs
 %defattr(-, root, root)
 %{_libdir}/libproxy-%{version}/modules/pacrunner_mozjs.so
 %endif
 %endif
+%endif
 
 %changelog

++++++ libproxy-force-bipr.patch ++++++
Index: libproxy-0.4.7/libproxy/cmake/modules.cmk
===================================================================
--- libproxy-0.4.7.orig/libproxy/cmake/modules.cmk
+++ libproxy-0.4.7/libproxy/cmake/modules.cmk
@@ -19,7 +19,7 @@ include(cmake/modules/pacrunner_natus.cm
 include(cmake/modules/pacrunner_webkit.cmk)
 
 # Build the pacrunner into libproxy unless we are building for multiple engines
-set(BIPR 1)
+set(BIPR 1 CACHE BOOL "Build internal pacrunner? (Always false when building 
more than one PR")
 if((MOZJS_FOUND AND WEBKIT_FOUND) OR (MOZJS_FOUND AND NATUS_FOUND) OR 
(WEBKIT_FOUND AND NATUS_FOUND))
   set(BIPR 0)
 endif()
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to