rpms/grhino/FC-3 grhino-icon.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 grhino.desktop, 1.2, 1.3 grhino.spec, 1.5, 1.6 sources, 1.5, 1.6
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Fri Nov 10 07:59:21 UTC 2006
- Previous message (by thread): rpms/seamonkey/FC-6 seamonkey.spec,1.12,1.13
- Next message (by thread): rpms/grhino/FC-4 grhino-icon.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 grhino.desktop, 1.2, 1.3 grhino.spec, 1.6, 1.7 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/extras/rpms/grhino/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1001/FC-3
Modified Files:
.cvsignore grhino.desktop grhino.spec sources
Added Files:
grhino-icon.patch
Log Message:
Add patch to add application icon
grhino-icon.patch:
--- NEW FILE grhino-icon.patch ---
--- grhino-0.15.2/grhino.cc.orig 2006-08-10 10:57:38.000000000 -0400
+++ grhino-0.15.2/grhino.cc 2006-11-10 02:43:40.000000000 -0500
@@ -1555,6 +1555,9 @@
init_game_before_draw();
+ gtk_window_set_default_icon_from_file("/usr/share/pixmaps/grhino.png",\
+ NULL);
+
main_window = gnome_app_new("GRhino", _(prog_name));
g_signal_connect(G_OBJECT(main_window), "destroy",
G_CALLBACK(destroy_signal), 0);
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/grhino/FC-3/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 8 Oct 2006 14:11:34 -0000 1.5
+++ .cvsignore 10 Nov 2006 07:58:50 -0000 1.6
@@ -1 +1 @@
-grhino-0.15.2.tar.gz
+grhino.png
Index: grhino.desktop
===================================================================
RCS file: /cvs/extras/rpms/grhino/FC-3/grhino.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- grhino.desktop 5 Sep 2005 00:37:52 -0000 1.2
+++ grhino.desktop 10 Nov 2006 07:58:50 -0000 1.3
@@ -4,9 +4,9 @@
GenericName=GTP-compliant Reversi game
Comment=Reversi game for GNOME, supporting the Go/Game Text Protocol
Exec=grhino
-#Icon=
+Icon=grhino.png
Terminal=false
Type=Application
-Version=0.15.0
+Version=0.15.2
Categories=Application;GNOME;Game;BoardGame;
StartupNotify=true
Index: grhino.spec
===================================================================
RCS file: /cvs/extras/rpms/grhino/FC-3/grhino.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- grhino.spec 29 Oct 2006 20:15:18 -0000 1.5
+++ grhino.spec 10 Nov 2006 07:58:50 -0000 1.6
@@ -1,6 +1,6 @@
Name: grhino
Version: 0.15.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Reversi game for GNOME, supporting the Go/Game Text Protocol
Group: Amusements/Games
@@ -8,9 +8,11 @@
URL: http://rhino.sourceforge.net/
Source0: http://dl.sourceforge.net/rhino/grhino-%{version}.tar.gz
Source1: %{name}.desktop
+Source2: %{name}.png
Patch0: grhino-scrollkeeper.patch
Patch1: grhino-configure-gettext.patch
Patch2: grhino-omf.patch
+Patch3: grhino-icon.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
@@ -38,9 +40,10 @@
%prep
%setup -q
-%patch0
-%patch1 -p1
-%patch2
+%patch0 -b .scrollkeeper
+%patch1 -p1 -b .gettext
+%patch2 -b .omf
+%patch3 -p1 -b .icon
%build
@@ -62,6 +65,10 @@
--add-category X-Fedora \
%{SOURCE1}
+# Icon
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/
+
%find_lang %{name}
%post
@@ -80,13 +87,16 @@
%{_bindir}/grhino
%{_bindir}/gtp-rhino
%{_datadir}/applications/*.desktop
-#%{_datadir}/locale/*/LC_MESSAGES/quarry.mo
%{_datadir}/gnome/help/grhino/
+%{_datadir}/pixmaps/grhino.png
%{_datadir}/grhino-%{version}/
%{_datadir}/omf/grhino/
%changelog
+* Fri Nov 10 2006 Michel Salim <michel.salim at gmail.com> - 0.15.2-4
+- Add application icon
+
* Sun Oct 29 2006 Michel Salim <michel.salim at gmail.com> - 0.15.2-3
- Fix incorrect OMF path
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/grhino/FC-3/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 8 Oct 2006 14:11:34 -0000 1.5
+++ sources 10 Nov 2006 07:58:50 -0000 1.6
@@ -1 +1 @@
-9eb1e09b4ce8ca7e354382c7dd2d3ddc grhino-0.15.2.tar.gz
+b98f0e178f6291232babfcb1c4925ea0 grhino.png
- Previous message (by thread): rpms/seamonkey/FC-6 seamonkey.spec,1.12,1.13
- Next message (by thread): rpms/grhino/FC-4 grhino-icon.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 grhino.desktop, 1.2, 1.3 grhino.spec, 1.6, 1.7 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list