Author: aflinta                      Date: Tue Sep 11 21:10:28 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
 - added webkit support (experimental)
 - updated TODO

---- Files affected:
SPECS:
   epiphany.spec (1.152.2.2 -> 1.152.2.3) 

---- Diffs:

================================================================
Index: SPECS/epiphany.spec
diff -u SPECS/epiphany.spec:1.152.2.2 SPECS/epiphany.spec:1.152.2.3
--- SPECS/epiphany.spec:1.152.2.2       Sat Sep  8 22:43:26 2007
+++ SPECS/epiphany.spec Tue Sep 11 23:10:22 2007
@@ -1,7 +1,9 @@
 # $Revision$, $Date$
 #
-# TODO:        - add experimental webkit support
-#      - review first-tab patch
+# TODO:        - review first-tab patch
+#
+#Conditional build:
+%bcond_with    webkit          # Build with experimental webkit suppor instead 
of xulrunner
 #
 %define                basever         2.19
 Summary:       Epiphany - gecko-based GNOME web browser
@@ -14,7 +16,7 @@
 Group:         X11/Applications/Networking
 Source0:       
http://ftp.gnome.org/pub/gnome/sources/epiphany/2.19/%{name}-%{version}.tar.bz2
 # Source0-md5: 9bd85a26913b90b8c81ec6b300f9ecf8
-Patch0:                %{name}-first-tab.patch
+#Patch0:               %{name}-first-tab.patch
 Patch1:                %{name}-pld-homepage.patch
 Patch2:                %{name}-configure.patch
 Patch3:                %{name}-agent.patch
@@ -30,6 +32,10 @@
 BuildRequires: gnome-vfs2-devel >= 2.18.0.1
 BuildRequires: gtk+2-devel >= 2:2.10.14
 BuildRequires: gtk-doc >= 1.8
+%if %{with webkit}
+BuildRequires: gtk-webkit-devel
+BuildRequires: libssh2-devel
+%endif
 BuildRequires: intltool >= 0.35.5
 BuildRequires: iso-codes >= 0.53
 BuildRequires: libglade2-devel >= 1:2.6.0
@@ -44,8 +50,10 @@
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper
 BuildRequires: startup-notification-devel >= 0.8
+%if %{without webkit}
 BuildRequires: xulrunner
 BuildRequires: xulrunner-devel >= 1.8.1.6-1.20070731.2
+%endif
 Requires(post,postun): desktop-file-utils
 Requires(post,postun): gtk+2
 Requires(post,postun): hicolor-icon-theme
@@ -54,14 +62,18 @@
 Requires:      dbus >= 1.0.2
 Requires:      gnome-icon-theme >= 2.18.0
 Requires:      libgnomeui >= 2.18.1
+
 %requires_eq   xulrunner
+%endif
 Obsoletes:     python-epiphany
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if %{without webkit}
 # can be provided by mozilla or mozilla-embedded
 %define                _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so 
libxpcom.so
 # we have strict deps for it
 %define                _noautoreq      libxpcom.so
+%endif
 
 %description
 GNOME browser based on Gecko (Mozilla rendering engine).
@@ -124,10 +136,11 @@
 %configure \
        --disable-schemas-install \
        --enable-dbus \
-       --enable-gtk-doc \
+       %{?!with_webkit:--enable-gtk-doc} \
        --enable-network-manager \
-       --enable-python \
+       --enable-python\
        --enable-spell-checker \
+       %{?with_webkit:--with-engine=webkit} \
        --with-html-dir=%{_gtkdocdir}
 %{__make}
 
@@ -182,8 +195,10 @@
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/%{basever}
 %dir %{_libdir}/%{name}/%{basever}/extensions
+%if %{without webkit}
 %dir %{_libdir}/%{name}/%{basever}/plugins
 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/plugins/*.so*
+%endif
 %{_mandir}/man1/*
 
 %files devel
@@ -203,6 +218,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.152.2.3  2007/09/11 21:10:22  aflinta
+ - added webkit support (experimental)
+ - updated TODO
+
 Revision 1.152.2.2  2007/09/08 20:43:26  qboosh
 - desktop patch is obsolete
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/epiphany.spec?r1=1.152.2.2&r2=1.152.2.3&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to