From 97507aeb0458c1054c29cec165f9c05030d7ed6e Mon Sep 17 00:00:00 2001 From: Peter Gordon Date: Jan 29 2010 22:45:18 +0000 Subject: Apply patch to make start.fedoraproject.org the default homepage; also a slight aesthetic fix to the %files listing. --- diff --git a/midori-fedora-homepage.patch b/midori-fedora-homepage.patch new file mode 100644 index 0000000..b3b4587 --- /dev/null +++ b/midori-fedora-homepage.patch @@ -0,0 +1,12 @@ +diff -up ./midori/midori-websettings.c.old ./midori/midori-websettings.c +--- ./midori/midori-websettings.c.old 2010-01-29 14:33:15.886898251 -0800 ++++ ./midori/midori-websettings.c 2010-01-29 14:34:26.306872440 -0800 +@@ -602,7 +602,7 @@ midori_web_settings_class_init (MidoriWe + "homepage", + _("Homepage:"), + _("The homepage"), +- "http://www.google.com", ++ "http://start.fedoraproject.org/", + flags)); + + /** diff --git a/midori.spec b/midori.spec index e23d81b..0150ce6 100644 --- a/midori.spec +++ b/midori.spec @@ -1,6 +1,6 @@ Name: midori Version: 0.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A lightweight GTK+ web browser Group: Applications/Internet @@ -9,6 +9,10 @@ URL: http://software.twotoasts.de/?page=midori Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2 +## Fedora-specific: Set the default homepage to start.fedoraproject.org +## instead of Google. +Patch0: %{name}-fedora-homepage.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -47,6 +51,7 @@ implemented, and some are still quite incomplete. %setup -q ## Use the system-provided waf, instead of the in-tarball copy. rm -rf waf +%patch0 -b .fedora-homepage %build @@ -99,10 +104,17 @@ fi %{_libdir}/%{name}/ %{_sysconfdir}/xdg/%{name}/ %config(noreplace) %{_sysconfdir}/%{name}/extensions/*/config -%{_sysconfdir}/%{name} +%{_sysconfdir}/%{name}/ %changelog +* Fri Jan 29 2010 Peter Gordon - 0.2.2-2 +- Apply patch to set the Fedora-specific default homepage + (start.fedoraproject.org), for consistency with other browser packages such + as Firefox and Epiphany. + + fedora-homepage.patch +- Resolves: #559740 (Home page is not start.fedoraproject.org) + * Wed Dec 16 2009 Adam Miller - 0.2.2-1 - Update to new upstream release (0.2.2)