summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2005-12-15 15:53:33 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2005-12-15 15:53:33 +0000
commitfd2b2e98f393bee926fbecd3e77a7ab9f6c9adf9 (patch)
treeef4b786044d91b1c11ac8b0e3f5c89f4f925dfda
parenta9bf25a72607f287a6faf5e87b8ba14a20b8f947 (diff)
downloadgnome-panel-fd2b2e98f393bee926fbecd3e77a7ab9f6c9adf9.tar.gz
gnome-panel-fd2b2e98f393bee926fbecd3e77a7ab9f6c9adf9.tar.xz
gnome-panel-fd2b2e98f393bee926fbecd3e77a7ab9f6c9adf9.zip
Replace po file patch by sed script
-rw-r--r--gnome-panel.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnome-panel.spec b/gnome-panel.spec
index be5b659..8fa3d50 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -59,7 +59,6 @@ Patch1: gnome-panel-2.12.1-remove-screenshot-menuitem.patch
Patch2: gnome-panel-2.10.1-speak-to-us-ye-old-wise-fish.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=319077
Patch3: gnome-panel-2.12.1-close.patch
-Patch4: gnome-panel-2.13.2-rename-system-menu.patch
Patch5: gnome-panel-2.12.1-about-fedora.patch
%description
@@ -85,7 +84,6 @@ Panel Applets using the libpanel-applet library.
%patch1 -p1 -b .remove-screenshot-menuitem
%patch2 -p1 -b .speak-to-us-ye-old-wise-fish
%patch3 -p1 -b .close
-%patch4 -p1 -b .rename-system-menu
%patch5 -p1 -b .about-fedora
cp -f %{SOURCE1} gnome-panel/panel-default-setup.entries
cp -f %{SOURCE3} gnome-panel/panel-compatibility.schemas
@@ -93,6 +91,10 @@ cp -f %{SOURCE3} gnome-panel/panel-compatibility.schemas
## use the main menu icon in the menu bar
perl -pi -e 's/PANEL_STOCK_GNOME_LOGO/PANEL_STOCK_MAIN_MENU/g' gnome-panel/menu.c gnome-panel/panel-menu-bar.c
+for f in gnome-panel-{%version}/po/*.po; do
+ sed -i -e 's/msgid "Desktop Environment.Desktop"/msgid "System"/' $f
+done
+
%build
%configure \
--disable-gtk-doc \
@@ -195,6 +197,7 @@ fi
%changelog
* Thu Dec 15 2005 Matthias Clasen <mclasen@redhat.com> 2.13.3-1
- Update to 2.13.3
+- Use sed rather than patch for po files
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt