2008-08-15 Wang Xin <
[email protected]>
* SUNWgnome-hex-editor.spec: Add 01-desktop.diff
* patches/ghex-01-desktop.diff: Update menu entry name and tooltip.
Make it invisible for OpenSolaris.
--- a/ChangeLog Fri Aug 15 08:32:41 2008 +0000
+++ b/ChangeLog Fri Aug 15 08:35:45 2008 +0000
@@ -1,3 +1,9 @@
+2008-08-15 Wang Xin <[email protected]>
+
+ * SUNWgnome-hex-editor.spec: Add 01-desktop.diff
+ * patches/ghex-01-desktop.diff: Update menu entry name and tooltip.
+ Make it invisible for OpenSolaris.
+
2008-08-15 Padraig O'Briain <[email protected]>
* patches/glib-06-dont-show-zfs.diff: Update patch.
@@ -5,9 +11,9 @@
2008-08-15 Jerry Tan <[email protected]>
- * base-specs/tracker.spec
- * SUNWdesktop-search.spec
- update tracker spec to add sunbranding option
+ * base-specs/tracker.spec
+ * SUNWdesktop-search.spec
+ update tracker spec to add sunbranding option
2008-08-15 Rick Ju <[email protected]>
--- a/SUNWgnome-hex-editor.spec Fri Aug 15 08:32:41 2008 +0000
+++ b/SUNWgnome-hex-editor.spec Fri Aug 15 08:35:45 2008 +0000
@@ -19,6 +19,9 @@
%if %build_l10n
Source2: l10n-configure.sh
%endif
+%if %option_with_indiana_branding
+Patch1: ghex-01-desktop.diff
+%endif
SUNW_BaseDir: %{_prefix}
SUNW_Copyright: %{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -68,6 +71,10 @@
gzcat %SOURCE1 | tar xf -
cd ghex-%{tarball_version}
+%if %option_with_indiana_branding
+%patch1 -p1
+%endif
+
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/ghex-01-desktop.diff Fri Aug 15 08:35:45 2008 +0000
@@ -0,0 +1,17 @@
+diff -ur ghex-2.22.0-orig/ghex.desktop.in ghex-2.22.0/ghex.desktop.in
+--- ghex-2.22.0-orig/ghex.desktop.in 2008-08-15 16:14:05.580429868 +0800
++++ ghex-2.22.0/ghex.desktop.in 2008-08-15 16:14:43.741561732 +0800
+@@ -1,10 +1,11 @@
+ [Desktop Entry]
+ Encoding=UTF-8
+-_Name=Hex Editor
+-_Comment=GNOME Hexadecimal Editor
++_Name=GHex Binary File Editor
++_Comment=Inspect and edit the contents of binary files
+ Exec=ghex2 %F
+ Terminal=false
+ Type=Application
+ Icon=ghex
+ Categories=GNOME;Application;Development;
+ StartupNotify=true
++NoDisplay=true