From 8867b0f2c393439b252dd818e7d31daf800b83e0efd12a0cac21993ed5e74234 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 23 Aug 2007 23:02:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epiphany?expand=0&rev=12 --- default-bookmarks.patch | 29 +++++++++++++++++++++++++++++ epiphany.changes | 6 ++++++ epiphany.spec | 7 ++++++- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 default-bookmarks.patch diff --git a/default-bookmarks.patch b/default-bookmarks.patch new file mode 100644 index 0000000..098d4f7 --- /dev/null +++ b/default-bookmarks.patch @@ -0,0 +1,29 @@ +Index: epiphany-2.19.6/data/epiphany-bookmarks-html.xsl +=================================================================== +--- epiphany-2.19.6.orig/data/epiphany-bookmarks-html.xsl ++++ epiphany-2.19.6/data/epiphany-bookmarks-html.xsl +@@ -51,7 +51,7 @@ $Id: epiphany-bookmarks-html.xsl 6952 20 +
+ + +- ++ + + + +Index: epiphany-2.19.6/src/bookmarks/ephy-bookmarks.c +=================================================================== +--- epiphany-2.19.6.orig/src/bookmarks/ephy-bookmarks.c ++++ epiphany-2.19.6/src/bookmarks/ephy-bookmarks.c +@@ -102,7 +102,10 @@ static const EphyBookmarksBookmarkInfo d + * For instance in .nl these should be + * "http://www.google.nl" and "http://www.google.nl/search?q=%s" + */ +- { N_("Search the web"), N_("http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8") } ++ { N_("Search the web"), N_("http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8") }, ++ { N_("openSUSE News"), N_("http://news.opensuse.org/") } ++ /* I'm not sure how to do this properly, or if you even can: ++ { N_("openSUSE News Feed"), N_("http://news.opensuse.org/?feed=rss2") } */ + }; + + static const char *default_topics [] = diff --git a/epiphany.changes b/epiphany.changes index 0e91039..bb45a39 100644 --- a/epiphany.changes +++ b/epiphany.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 23 00:19:06 CEST 2007 - maw@suse.de + +- Add default-bookmarks.patch, which adds http://news.opensuse.org + as a default bookmark (#293690). + ------------------------------------------------------------------- Fri Aug 10 15:18:20 CEST 2007 - coolo@suse.de diff --git a/epiphany.spec b/epiphany.spec index 2b76f93..b224a89 100644 --- a/epiphany.spec +++ b/epiphany.spec @@ -29,7 +29,7 @@ Requires: mozilla = %{mozilla_ver} %endif %endif Version: 2.19.6 -Release: 6 +Release: 15 Requires: %{name}-lang = %{version} License: GPL v2 or later Group: Productivity/Networking/Web/Browsers @@ -42,6 +42,7 @@ Patch5: 59949.diff Patch9: %{name}-desktop.patch Patch11: epiphany-no-root.patch Patch13: epiphany-browser-plugins.patch +Patch14: default-bookmarks.patch URL: http://www.gnome.org/projects/epiphany/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-gtk python-gnome iso-codes gnome-icon-theme @@ -116,6 +117,7 @@ Authors: %patch9 %patch11 %patch13 +%patch14 -p1 %build #cp -i data/default-prefs-gecko-1-8.js data/default-prefs-xulrunner.js @@ -194,6 +196,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/epiphany %changelog +* Thu Aug 23 2007 - maw@suse.de +- Add default-bookmarks.patch, which adds http://news.opensuse.org + as a default bookmark (#293690). * Fri Aug 10 2007 - coolo@suse.de - put Version before the use of %%version * Wed Aug 08 2007 - maw@suse.de