rpms/gnurobots/F-10 gnurobots-1.2.0-guile.patch, NONE, 1.1 gnurobots.desktop, NONE, 1.1 gnurobots.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Vivek Shah bonii at fedoraproject.org
Sat Dec 6 10:33:17 UTC 2008


Author: bonii

Update of /cvs/pkgs/rpms/gnurobots/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18623/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	gnurobots-1.2.0-guile.patch gnurobots.desktop gnurobots.spec 
	import.log 
Log Message:

-Initial package import into CVS
-Added patch for guile prompt initialisation crash


gnurobots-1.2.0-guile.patch:

--- NEW FILE gnurobots-1.2.0-guile.patch ---
--- src/main.c.orig	2008-08-03 20:49:46.000000000 +0530
+++ src/main.c	2008-12-01 19:32:14.000000000 +0530
@@ -282,6 +282,7 @@
 	gchar *map_file = argv[1];
 	gchar *robot_program = argv[2];
 	gboolean loading = TRUE;
+	volatile gboolean *p_loading = &loading;
 
 	api_init();
 
@@ -304,7 +305,7 @@
 		G_ROBOT_POSITION_X(robot), ROBOT);
 
 	g_printf("Loading GTK Interface ... Please wait\n\n");
-	while(loading);
+	while(*p_loading);
 
 	/* Now initialize the rest of the Robot properties */
 	g_object_set(G_OBJECT(robot),


--- NEW FILE gnurobots.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Gnurobots
GenericName=A robot programming game
Comment=Program your robot and watch it explore
Exec=gnurobots
Icon=/usr/share/gnurobots/xpm/robot.xpm
Terminal=true
Type=Application
Categories=Game;


--- NEW FILE gnurobots.spec ---
Name:		gnurobots
Version:	1.2.0
Release:	4%{?dist}
Summary:	A robot programming game

Group:		Amusements/Games
License:	GPLv3+
URL:		http://www.gnu.org/software/%{name}/
Source0:	http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1:	%{name}.desktop
Patch0:		%{name}-%{version}-guile.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	guile-devel >= 1.8 , readline-devel, vte-devel
BuildRequires:	desktop-file-utils

%description

GNU Robots is a game/diversion where you construct a program for a little 
robot, then set him loose and watch him explore a world on his own.  
The robot program is written in Scheme, and is implemented using GNU Guile.

%prep
%setup -q
%patch0 -p0 -b .guile
sed -i.optflags -e '/^CFLAGS=/d' configure

%build
%configure
make %{?_smp_mflags} 


%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
%{__install} -m 755 -d $RPM_BUILD_ROOT%{_datadir}/%{name}/xpm
%{__cp} -av xpm/*.xpm $RPM_BUILD_ROOT%{_datadir}/%{name}/xpm/
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO doc/Robots-HOWTO
%attr(644,root,root) %{_datadir}/%{name}/scheme/*
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/maps/
%{_datadir}/%{name}/xpm/
%dir %{_datadir}/%{name}/scheme
%{_datadir}/applications/%{name}.desktop

%changelog
* Tue Dec 2 2008 Vivek Shah <bonii at fedoraproject.org> 1.2.0-4
- Fixed BuildRequires to remove obsolete dependencies
- Fixed desktop file utils for changed packaging guidelines
- Fixed copy of xpm/ to exclude Makefiles
- Added patch to handle guile prompt crash while initialisation

* Thu Oct 30 2008 Vivek Shah <boni.vivek at gmail.com> 1.2.0-3
- Fixed BuildRequires to remove unrequired dependencies
- Added missing unowned directories
- Added directive to use Fedora CFLAGS while building

* Mon Oct 14 2008 Vivek Shah <boni.vivek at gmail.com> 1.2.0-2
- Added desktop file, fixed new build requires

* Wed Aug 20 2008 Vivek Shah <boni.vivek at gmail.com> 1.2.0-1
- Fixed permissions of files under scheme/ to 644 



--- NEW FILE import.log ---
gnurobots-1_2_0-4_fc9:F-10:gnurobots-1.2.0-4.fc9.src.rpm:1228559467


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnurobots/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Dec 2008 00:50:43 -0000	1.1
+++ .cvsignore	6 Dec 2008 10:32:47 -0000	1.2
@@ -0,0 +1 @@
+gnurobots-1.2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnurobots/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Dec 2008 00:50:44 -0000	1.1
+++ sources	6 Dec 2008 10:32:47 -0000	1.2
@@ -0,0 +1 @@
+2435f16a80b21ad348aa558e2e0ae9d8  gnurobots-1.2.0.tar.gz




More information about the fedora-extras-commits mailing list