[uzbl] Add patch to link with jscore

Ben Boeckel mathstuf at fedoraproject.org
Tue Oct 25 16:57:49 UTC 2011


commit fb62613bf9e6c2f7893514b4ab97db564660e0d2
Author: Ben Boeckel <MathStuf at gmail.com>
Date:   Tue Oct 25 12:55:04 2011 -0400

    Add patch to link with jscore

 ...iptcoregtk-3.0-is-required-for-webkitgtk3.patch |   25 ++++++++++++++++++++
 uzbl.spec                                          |    7 ++++-
 2 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/0001-javascriptcoregtk-3.0-is-required-for-webkitgtk3.patch b/0001-javascriptcoregtk-3.0-is-required-for-webkitgtk3.patch
new file mode 100644
index 0000000..53fbcce
--- /dev/null
+++ b/0001-javascriptcoregtk-3.0-is-required-for-webkitgtk3.patch
@@ -0,0 +1,25 @@
+From 6bc7b4b43d402d1ccef6d7214a5e0bbd007621d9 Mon Sep 17 00:00:00 2001
+From: Ben Boeckel <MathStuf at gmail.com>
+Date: Tue, 25 Oct 2011 12:51:36 -0400
+Subject: [PATCH] javascriptcoregtk-3.0 is required for webkitgtk3
+
+---
+ Makefile |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 6c2269f..00a8f89 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ RUN_PREFIX?=$(PREFIX)
+ USE_GTK3 = $(shell pkg-config --exists gtk+-3.0 webkitgtk-3.0 && echo 1)
+ 
+ ifeq ($(USE_GTK3),1)
+-	REQ_PKGS += gtk+-3.0 webkitgtk-3.0
++	REQ_PKGS += gtk+-3.0 webkitgtk-3.0 javascriptcoregtk-3.0
+ 	CPPFLAGS = -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+ else
+ 	REQ_PKGS += gtk+-2.0 webkit-1.0
+-- 
+1.7.6
+
diff --git a/uzbl.spec b/uzbl.spec
index d7280bf..8d243e8 100644
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -20,6 +20,8 @@ Source0:	%{name}-%{uzblcommit}.tar.gz
 Source1:	%{name}.desktop
 Patch0:		%{name}-makefile.patch
 Patch1:		0001-Fedora-specific-error-messages-on-no-configs.patch
+# Submitted at https://github.com/Dieterbe/uzbl/pull/71
+Patch2:		0001-javascriptcoregtk-3.0-is-required-for-webkitgtk3.patch
 
 %if %{use_webkitgtk3}
 BuildRequires:	webkitgtk3-devel
@@ -101,8 +103,9 @@ Highlighting files for uzbl's configuration.
 
 %prep
 %setup -q -n %{name}-%{uzblcommit}
-%patch0 -p1
-%patch1 -p1
+%patch0 -p1 -b .makefile
+%patch1 -p1 -b .fedora
+%patch2 -p1 -b .jscore
 
 mkdir -p icons/hicolor/32x32/apps
 mv examples/data/uzbl.png icons/hicolor/32x32/apps


More information about the scm-commits mailing list