rpms/tuxkart/devel images-legal.txt, NONE, 1.1 tuxkart-0.4.0-debian.patch, NONE, 1.1 tuxkart-0.4.0-fhs.patch, NONE, 1.1 tuxkart-0.4.0-fullscreen.patch, NONE, 1.1 tuxkart-0.4.0-nomnm.patch, NONE, 1.1 tuxkart-0.4.0-nounnecesarry-libs.patch, NONE, 1.1 tuxkart.6, NONE, 1.1 tuxkart.desktop, NONE, 1.1 tuxkart.png, NONE, 1.1 tuxkart.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Jun 7 08:01:14 UTC 2006


Author: jwrdegoede

Update of /cvs/extras/rpms/tuxkart/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22456/devel

Modified Files:
	.cvsignore sources 
Added Files:
	images-legal.txt tuxkart-0.4.0-debian.patch 
	tuxkart-0.4.0-fhs.patch tuxkart-0.4.0-fullscreen.patch 
	tuxkart-0.4.0-nomnm.patch 
	tuxkart-0.4.0-nounnecesarry-libs.patch tuxkart.6 
	tuxkart.desktop tuxkart.png tuxkart.spec 
Log Message:
auto-import tuxkart-0.4.0-4 on branch devel from tuxkart-0.4.0-4.src.rpm


--- NEW FILE images-legal.txt ---
Tuxkart contains some non GPL images, some of which are copyrighted and or
trademarked as described below:

---

The following images where taken from: http://www.wpclipart.com/ a Public
Domain clipart collection and thus are in the publicdomain:
images/banana.rgb
images/lunchbox.rgb
images/lunchbox2.rgb
"The cartoon-ish character" in images/adverts.rgb

---

The tuxpaint logo (http://www.newbreedsoftware.com/tuxpaint/) in
images/adverts.rgb is copyrighted and used with the permission of the tuxpaint
author:

Return-Path: <nbs at sonic.net>
Received: from koko.hhs.nl ([145.52.2.16] verified)
  by hhs.nl (CommuniGate Pro SMTP 4.3.6)
  with ESMTP id 47893342 for j.w.r.degoede at hhs.nl; Thu, 01 Jun 2006 21:03:14 +0200
Received: from exim by koko.hhs.nl with spam-scanned (Exim 4.62)
	(envelope-from <nbs at sonic.net>)
	id 1FlsRt-00011S-0a
	for j.w.r.degoede at hhs.nl; Thu, 01 Jun 2006 21:03:14 +0200
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on koko.hhs.nl
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 
	version=3.1.0
Received: from exim (helo=koko)
	by koko.hhs.nl with local-smtp (Exim 4.62)
	(envelope-from <nbs at sonic.net>)
	id 1FlsRs-00011O-Sl
	for j.w.r.degoede at hhs.nl; Thu, 01 Jun 2006 21:03:12 +0200
Received: from [64.142.19.5] (port=35242 helo=b.mail.sonic.net)
	by koko.hhs.nl with esmtp (Exim 4.62)
	(envelope-from <nbs at sonic.net>)
	id 1FlsRs-00011C-83
	for j.w.r.degoede at hhs.nl; Thu, 01 Jun 2006 21:03:12 +0200
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by b.mail.sonic.net (8.13.6/8.13.3) with ESMTP id k51J3BrW028314
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <j.w.r.degoede at hhs.nl>; Thu, 1 Jun 2006 12:03:11 -0700
Received: from bolt.sonic.net (IDENT:lshZbY61PF19/2FQrpB8Un0NwLi5Usne at localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id k51J3Bxf024586
	for <j.w.r.degoede at hhs.nl>; Thu, 1 Jun 2006 12:03:11 -0700
Received: (from nbs at localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) id k51J3ASY024585
	for j.w.r.degoede at hhs.nl; Thu, 1 Jun 2006 12:03:10 -0700
Date: Thu, 1 Jun 2006 12:03:10 -0700
From: Bill Kendrick <nbs at sonic.net>
To: Hans de Goede <j.w.r.degoede at hhs.nl>
Subject: Re: Tuxpaint logo usage
Message-ID: <20060601190310.GA23533 at sonic.net>
References: <447F3547.2080802 at hhs.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <447F3547.2080802 at hhs.nl>
User-Agent: Mutt/1.4.2.1i
X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 01062006 #185874, status: clean


Hi Hans!  Yes, go for it!  Thanks! :)

-bill!


On Thu, Jun 01, 2006 at 08:43:19PM +0200, Hans de Goede wrote:
> Hi,
> 
> First a short intro. I'm a Linux enthousiast / programmer and a packager
> for Fedora Extras which is an online community that packages software in
> the native package format for Fedora Core a (well known) Linux distribution.
> 
> As such I'm currently in the progress of packaging tuxkart an opensource
> racing game, which is hosted and distributed from sf.net. One of the
> tracks on which you can race is an ordinary racing track with
> advertisement boards along the side. Currently these advertisements are
> a bit of a problem as they show logo's of big companies without their
> permission. Hence I'm currently busy replacing these logo's with
> something more suitable. I would like to use the tuxpaint logo as one of
> the advertisements. Because of this I'm here by asking your permission
> for the use of the tuxpaint logo.
> 
> The logo is in no way used to promote the game, it is shown as
> an add, so if they promote anything it is tuxpaint.
> 
> Thanks & Regards,
> 
> Hans de Goede
> 
> 
> 

-- 
-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/

---

The Fedora images in images/adverts.rgb incorporate the Fedora
trademark. The Fedora trademark is a trademark or registered trademark of Red
Hat, Inc. in the United States and other countries and are used by
permission.

For more info see the COPYING file of the fedora-logos package:
/usr/share/doc/fedora-logos-<version>/COPYING on any Fedora system with the
fedora-logos package installed.

Below the usage permission notice as received by mail:

Return-Path: <gdk at redhat.com>
Received: from koko.hhs.nl ([145.52.2.16] verified)
  by hhs.nl (CommuniGate Pro SMTP 4.3.6)
  with ESMTP id 47843849 for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:51:45 +0200
Received: from exim by koko.hhs.nl with spam-scanned (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTv7-0006MP-0j
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:51:45 +0200
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on koko.hhs.nl
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,
	SPF_PASS autolearn=ham version=3.1.0
Received: from exim (helo=koko)
	by koko.hhs.nl with local-smtp (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTv6-0006MM-TF
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:51:44 +0200
Received: from [66.187.233.31] (port=56045 helo=mx1.redhat.com)
	by koko.hhs.nl with esmtp (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTv6-0006Lj-EE
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:51:44 +0200
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGph8g001950
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:51:43 -0400
Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [172.16.58.1])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGpha5026590
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:51:43 -0400
Received: from gdk.devel.redhat.com (gdk.devel.redhat.com [172.16.62.88])
	by devserv.devel.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGphwX015818
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:51:43 -0400
Received: from gdk.devel.redhat.com (localhost.localdomain [127.0.0.1])
	by gdk.devel.redhat.com (8.12.11/8.12.11) with ESMTP id k4VGp6vE007024
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:51:06 -0400
Received: from localhost (gdk at localhost)
	by gdk.devel.redhat.com (8.12.11/8.12.11/Submit) with ESMTP id k4VGp6jt007020
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:51:06 -0400
X-Authentication-Warning: gdk.devel.redhat.com: gdk owned process doing -bs
Date: Wed, 31 May 2006 12:51:06 -0400 (EDT)
From: Greg DeKoenigsberg <gdk at redhat.com>
X-X-Sender: gdk at gdk.devel.redhat.com
To: Hans de Goede <j.w.r.degoede at hhs.nl>
Subject: Re: Usage of Fedora logo inside FE package
In-Reply-To: <4479F694.2010604 at hhs.nl>
Message-ID: <Pine.LNX.4.58.0605311250480.6876 at gdk.devel.redhat.com>
References: <4479F694.2010604 at hhs.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 31052006 #185572, status: clean


Very cool, Hans.  I'll send your logo and agreement shortly.

--g

-------------------------------------------------------------
Greg DeKoenigsberg || Fedora Project || fedoraproject.org
Be an Ambassador || http://fedoraproject.org/wiki/Ambassadors
-------------------------------------------------------------

On Sun, 28 May 2006, Hans de Goede wrote:

> Hi,
> 
> I'm currently in the progress of packaging tuxkart a racing game. One of
> the tracks on which you can race is an ordinary racing track with
> advertisement boards along the side.
> 
> As shipped by upstream these advertisementboards contain advertisments
> for real product which clearly violates trademarks for those products.
> 
> As such I'm in the progress of replacing these advertisement and some
> other troublish artwork. I've currently (in my private copy) replaced a
> few of the advertisements with the fedora logo, which seems appropriate
> for a Fedora package. Because of this I would like to have your
> permission for using the logo in this way. Notice that I've copy and
> pasted the logo, I cannot just use the image-file from Fedora-logo's
> because that is not in the .rgb format, which tuxkart needs.
> 
> Thanks & Regards,
> 
> Hans
> 

Return-Path: <gdk at redhat.com>
Received: from koko.hhs.nl ([145.52.2.16] verified)
  by hhs.nl (CommuniGate Pro SMTP 4.3.6)
  with ESMTP id 47843851 for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:52:52 +0200
Received: from exim by koko.hhs.nl with spam-scanned (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTwC-0006cu-3l
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:52:52 +0200
Received: from exim (helo=koko)
	by koko.hhs.nl with local-smtp (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTwB-0006cr-NX
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:52:52 +0200
Received: from [66.187.233.31] (port=56334 helo=mx1.redhat.com)
	by koko.hhs.nl with esmtp (Exim 4.62)
	(envelope-from <gdk at redhat.com>)
	id 1FlTw4-0006ae-5Y
	for j.w.r.degoede at hhs.nl; Wed, 31 May 2006 18:52:50 +0200
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])
	by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGqgMn002593
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:52:42 -0400
Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [172.16.58.1])
	by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGqgkf026872
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:52:42 -0400
Received: from gdk.devel.redhat.com (gdk.devel.redhat.com [172.16.62.88])
	by devserv.devel.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VGqelD015899
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:52:40 -0400
Received: from gdk.devel.redhat.com (localhost.localdomain [127.0.0.1])
	by gdk.devel.redhat.com (8.12.11/8.12.11) with ESMTP id k4VGq3G7007042
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:52:03 -0400
Received: from localhost (gdk at localhost)
	by gdk.devel.redhat.com (8.12.11/8.12.11/Submit) with ESMTP id k4VGq2pj007038
	for <j.w.r.degoede at hhs.nl>; Wed, 31 May 2006 12:52:03 -0400
X-Authentication-Warning: gdk.devel.redhat.com: gdk owned process doing -bs
Date: Wed, 31 May 2006 12:52:02 -0400 (EDT)
From: Greg DeKoenigsberg <gdk at redhat.com>
X-X-Sender: gdk at gdk.devel.redhat.com
To: Hans de Goede <j.w.r.degoede at hhs.nl>
Subject: Logo approval 
Message-ID: <Pine.LNX.4.58.0605311251430.6876 at gdk.devel.redhat.com>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY="279730238-1135091034-1148579299=:2501"
Content-ID: <Pine.LNX.4.58.0605311251431.6876 at gdk.devel.redhat.com>
X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 31052006 #185572, status: clean

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime at docserver.cac.washington.edu for more info.

--279730238-1135091034-1148579299=:2501
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.58.0605311251432.6876 at gdk.devel.redhat.com>


Here are your logo files, in SVG format.  Convert them to whatever formats
you wish to use.  By using these logos, you're agreeing to the following
simple rules:
                                                                                
1. You won't alter the logos, and you'll adhere to the style guide.

2. You'll only use the logos to describe Fedora stuff.  (i.e. you won't 
take the logo and slap it on Debian stuff.  Common sense.)

3. You won't use the logo for anything hateful or stupid.

4. We reserve the right to disallow your use of the logo.

Thanks for all your help supporting Fedora.

--g

---------------------------------------------------------------
Greg DeKoenigsberg || Fedora Foundation || fedoraproject.org
Be an Ambassador || http://fedoraproject.org/wiki/Ambassadors

---

The PlanetPenguin Racer logo (http://projects.planetpenguin.de/racer/) in
images/adverts.rgb is copyrighted and used with the permission of the
ppracer authors:

Return-Path: <volker at planetpenguin.de>
Received: from koko.hhs.nl ([145.52.2.16] verified)
  by hhs.nl (CommuniGate Pro SMTP 4.3.6)
  with ESMTP id 47974844 for j.w.r.degoede at hhs.nl; Tue, 06 Jun 2006 11:16:54 +0200
Received: from exim by koko.hhs.nl with spam-scanned (Exim 4.62)
	(envelope-from <volker at planetpenguin.de>)
	id 1FnXgB-00060S-GG
	for j.w.r.degoede at hhs.nl; Tue, 06 Jun 2006 11:16:54 +0200
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on koko.hhs.nl
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham 
	version=3.1.0
Received: from exim (helo=koko)
	by koko.hhs.nl with local-smtp (Exim 4.62)
	(envelope-from <volker at planetpenguin.de>)
	id 1FnXgB-00060K-99
	for j.w.r.degoede at hhs.nl; Tue, 06 Jun 2006 11:16:51 +0200
Received: from [217.160.131.21] (port=37440 helo=p15104914.pureserver.info)
	by koko.hhs.nl with esmtp (Exim 4.62)
	(envelope-from <volker at planetpenguin.de>)
	id 1FnXgA-0005zz-NE
	for j.w.r.degoede at hhs.nl; Tue, 06 Jun 2006 11:16:50 +0200
Received: from [192.168.0.242] (p5493D342.dip.t-dialin.net [84.147.211.66])
	(authenticated (0 bits))
	by p15104914.pureserver.info (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id k569GoU14013
	for <j.w.r.degoede at hhs.nl>; Tue, 6 Jun 2006 11:16:50 +0200
Subject: Re: PPracer "logo" usage
From: Volker =?ISO-8859-1?Q?Str=F6bel?= <volker at planetpenguin.de>
To: Hans de Goede <j.w.r.degoede at hhs.nl>
In-Reply-To: <4482F398.8000306 at hhs.nl>
References: <4482F398.8000306 at hhs.nl>
Content-Type: text/plain
Date: Tue, 06 Jun 2006 11:14:08 +0200
Message-Id: <1149585248.6996.2.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.6.1 
Content-Transfer-Encoding: 7bit
X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 06062006 #186743, status: clean

Hi,
sorry for the late reply.

It's ok with me to include the logo.
And nice to see, that someone finally replaces this old stuff with logos
from FOSS projects.

Regards,
Volker


Am Sonntag, den 04.06.2006, 16:52 +0200 schrieb Hans de Goede:
> Hi,
> 
> Did you receive my mail below? This is currently the last thing keeping
> me from releasing a tuxkart package for Fedora. If you don't want the
> ppracer logo included thats fine too, then I'll dig up some other
> graphics to put in there as "advertisements"
> 
> Regards,
> 
> Hans
> 
> p.s.
> 
> I've attached the "logo" as it will be included I did some gimp-ing to
> get it to be a little bit more square. Feel free to use it.
> 
> 
> ---
> 
> 
> Hi,
> 
> First a short intro. I'm a Linux enthousiast / programmer and a packager
> for Fedora Extras which is an online community that packages software in
> the native package format for Fedora Core a (well known) Linux distribution.
> 
> As such I'm currently in the progress of packaging tuxkart an opensource
> racing game, which is hosted and distributed from sf.net. One of the
> tracks on which you can race is an ordinary racing track with
> advertisement boards along the side. Currently these advertisements are
> a bit of a problem as they show logo's of big companies without their
> permission. Hence I'm currently busy replacing these logo's with
> something more suitable. I would like to use the ppracer "logo" *  as
> one of the advertisements. Because of this I'm here by asking your
> permission for the use of the ppracer logo.
> 
> The logo is in no way used to promote the game, it is shown as
> an add, so if it promotes anything it is ppracer.
> 
> Thanks & Regards,
> 
> Hans de Goede
> 
> * The yellow "planet penguin racer" text above the menu where the
> tuxracer logo used to be
> 

tuxkart-0.4.0-debian.patch:

--- NEW FILE tuxkart-0.4.0-debian.patch ---
--- tuxkart-0.4.0.orig/src/gfx.cxx
+++ tuxkart-0.4.0/src/gfx.cxx
@@ -4,9 +4,12 @@
 #ifndef WIN32
 #include <unistd.h>
 #include <string.h>
+#ifdef USE_TUXKART_STEREO
+/* this brakes other archs */
 #include <sys/io.h>
 #include <sys/perm.h>                                                           
 #endif
+#endif
 
 static unsigned int lastKeystroke = 0 ;
 
@@ -136,7 +139,8 @@
   glVertex3f ( 0, 0, 0 ) ;
   glEnd () ;
   glFlush () ;
-
+#ifdef USE_TUXKART_STEREO
+  /* this barfs on archs other than x86 */
   static int firsttime = TRUE ;
 
   if ( firsttime )
@@ -171,6 +175,7 @@
     outb ( (stereo==-1) ? ~3 : ~2, LPBASE+2 ) ;
     stereo = -stereo ;
   }
+#endif  
 }
 
 

tuxkart-0.4.0-fhs.patch:

--- NEW FILE tuxkart-0.4.0-fhs.patch ---
--- tuxkart-0.4.0/src/Makefile.am.fhs	2001-07-13 04:09:46.000000000 +0200
+++ tuxkart-0.4.0/src/Makefile.am	2006-05-17 11:34:45.000000000 +0200
@@ -1,7 +1,5 @@
 # src/
 
-bindir=$(prefix)/games
-
 bin_PROGRAMS = tuxkart
 
 tuxkart_SOURCES = \
--- tuxkart-0.4.0/src/Makefile.in.fhs	2004-03-18 19:43:54.000000000 +0100
+++ tuxkart-0.4.0/src/Makefile.in	2006-05-17 11:34:45.000000000 +0200
@@ -22,6 +22,8 @@
 VPATH = @srcdir@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
+
+bindir = @bindir@
 sbindir = @sbindir@
 libexecdir = @libexecdir@
 datadir = @datadir@
@@ -76,8 +78,6 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-bindir = $(prefix)/games
-
 bin_PROGRAMS = tuxkart
 
 tuxkart_SOURCES = \
--- tuxkart-0.4.0/configure.in.fhs	2004-03-18 17:21:42.000000000 +0100
+++ tuxkart-0.4.0/configure.in	2006-05-17 11:35:38.000000000 +0200
@@ -93,13 +93,12 @@
   CXXFLAGS="$CXXFLAGS -O6 -Wall $MACH -malign-double -I/usr/local/include -L/usr/local/lib"
 fi
 
-MY_EXPAND_DIR(tuxkart_datadir, "$datadir/games/$PACKAGE")
+MY_EXPAND_DIR(tuxkart_datadir, "$datadir/$PACKAGE")
 AC_DEFINE_UNQUOTED(TUXKART_DATADIR, "$tuxkart_datadir")
 
 AC_OUTPUT( Makefile          \
            contrib/Makefile  \
            data/Makefile     \
-           doc/Makefile      \
            fonts/Makefile    \
            images/Makefile   \
            models/Makefile   \
--- tuxkart-0.4.0/configure.fhs	2004-03-18 19:43:56.000000000 +0100
+++ tuxkart-0.4.0/configure	2006-05-17 11:36:12.000000000 +0200
@@ -4650,7 +4650,7 @@
   CXXFLAGS="$CXXFLAGS -O6 -Wall $MACH -malign-double -I/usr/local/include -L/usr/local/lib"
 fi
 
-        tuxkart_datadir="$datadir/games/$PACKAGE"
+        tuxkart_datadir="$datadir/$PACKAGE"
         tuxkart_datadir=`(
             test "x$prefix" = xNONE && prefix="$ac_default_prefix"
             test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
@@ -4661,7 +4661,7 @@
 #define TUXKART_DATADIR "$tuxkart_datadir"
 EOF
 
-ac_config_files="$ac_config_files Makefile contrib/Makefile data/Makefile doc/Makefile fonts/Makefile images/Makefile models/Makefile mods/Makefile src/Makefile wavs/Makefile"
+ac_config_files="$ac_config_files Makefile contrib/Makefile data/Makefile fonts/Makefile images/Makefile models/Makefile mods/Makefile src/Makefile wavs/Makefile"
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
@@ -5009,7 +5009,6 @@
   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
   "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
-  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
   "images/Makefile" ) CONFIG_FILES="$CONFIG_FILES images/Makefile" ;;
   "models/Makefile" ) CONFIG_FILES="$CONFIG_FILES models/Makefile" ;;
--- tuxkart-0.4.0/Makefile.am.fhs	2004-03-18 19:43:36.000000000 +0100
+++ tuxkart-0.4.0/Makefile.am	2006-05-17 11:34:45.000000000 +0200
@@ -1,4 +1,4 @@
-SUBDIRS = src wavs images models data mods fonts doc contrib
+SUBDIRS = src wavs images models data mods fonts contrib
 
 EXTRA_DIST = README CHANGES LICENSE acsite.m4 missing
 
--- tuxkart-0.4.0/Makefile.in.fhs	2004-03-18 19:43:52.000000000 +0100
+++ tuxkart-0.4.0/Makefile.in	2006-05-17 11:34:45.000000000 +0200
@@ -76,7 +76,7 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-SUBDIRS = src wavs images models data mods fonts doc contrib
+SUBDIRS = src wavs images models data mods fonts contrib
 
 EXTRA_DIST = README CHANGES LICENSE acsite.m4 missing
 subdir = .

tuxkart-0.4.0-fullscreen.patch:

--- NEW FILE tuxkart-0.4.0-fullscreen.patch ---
--- tuxkart-0.4.0/src/start_tuxkart.cxx.fs	2004-03-18 17:21:44.000000000 +0100
+++ tuxkart-0.4.0/src/start_tuxkart.cxx	2006-05-17 20:10:32.000000000 +0200
@@ -66,6 +66,11 @@
 
 static void keyfn ( int key, int updown, int, int )
 {
+  if ( (updown == PW_DOWN) && (key == '\r') && (pwGetModifiers() & PW_ALT) )
+  {
+    pwToggleFullscreen () ;
+    return;
+  }
   puKeyboard ( key, updown ) ;
 }
 
@@ -291,6 +296,8 @@
   loadTrackList () ;
 
   pwInit ( 0, 0, width, height, FALSE, "Tux Kart by Steve Baker", TRUE, 0 ) ;
+  pwSetResizable ( FALSE );
+  pwSetFullscreen () ;
 
   pwSetCallbacks ( keyfn, mousefn, motionfn, NULL, NULL ) ;
 
--- tuxkart-0.4.0/src/gfx.cxx.fs	2006-05-17 20:10:32.000000000 +0200
+++ tuxkart-0.4.0/src/gfx.cxx	2006-05-17 20:10:32.000000000 +0200
@@ -18,7 +18,13 @@
 void keystroke ( int key, int updown, int, int )
 {
   if ( updown == PW_DOWN )
+  {
+    if ( (key == '\r') && (pwGetModifiers() & PW_ALT) ) {
+      pwToggleFullscreen () ;
+      return;
+    }
     lastKeystroke = key ;
+  }
 
   keyIsDown [ key ] = (updown == PW_DOWN) ;
 }
--- tuxkart-0.4.0/src/gui.cxx.fs	2004-03-18 17:21:44.000000000 +0100
+++ tuxkart-0.4.0/src/gui.cxx	2006-05-17 20:10:32.000000000 +0200
@@ -133,6 +133,7 @@
   hide_status () ;
   hidden = FALSE ;
   main_menu_bar -> reveal () ;
+  pwSetCursorEx ( PW_CURSOR_LEFT, PW_CURSOR_LEFT ) ;
 }
 
 void GUI::hide ()
@@ -140,6 +141,7 @@
   hidden = TRUE ;
   hide_status () ;
   main_menu_bar -> hide () ;
+  pwSetCursorEx ( PW_CURSOR_LEFT, PW_CURSOR_NONE ) ;
 }
 
 void GUI::update ()
--- tuxkart-0.4.0/src/tuxkart.cxx.fs	2006-05-17 20:11:57.000000000 +0200
+++ tuxkart-0.4.0/src/tuxkart.cxx	2006-05-17 20:12:27.000000000 +0200
@@ -530,6 +530,7 @@
   gui   = new GUI ;
 
   pwSetCallbacks ( keystroke, mousefn, motionfn, reshape, NULL ) ;
+  pwSetCursorEx ( PW_CURSOR_LEFT, PW_CURSOR_NONE ) ;
 
   ssgModelPath   ( "models" ) ;
   ssgTexturePath ( "images" ) ;

tuxkart-0.4.0-nomnm.patch:

--- NEW FILE tuxkart-0.4.0-nomnm.patch ---
--- tuxkart-0.4.0/src/material.cxx~	2006-06-01 21:42:36.000000000 +0200
+++ tuxkart-0.4.0/src/material.cxx	2006-06-01 21:43:11.000000000 +0200
@@ -2,7 +2,7 @@
 #include "tuxkart.h"
 
 
-ssgSimpleState *grass_gst, *dirt_gst, *stone1_gst, *mnm_gst,
+ssgSimpleState *grass_gst, *dirt_gst, *stone1_gst, *banana_gst,
                *clouds_gst, *aarmco_gst, *roadway_gst, *adverts_gst,
                *concrete_gst, *penguin_gst, *fuzzy_gst, *herring_gst,
                *zipper_gst, *spark_gst, *missile_gst, *candystripe_gst,
@@ -54,7 +54,7 @@
                "images/Penguin_orig.rgb", NOCLAMP,FALSE,0.0, TRUE ,1.0, 0 },
   { &grass_gst   , "images/grass.rgb"   , NOCLAMP,FALSE,0.0, TRUE ,1.0, 0 },
   { &zipper_gst  , "images/zipper.rgb"  , NOCLAMP,FALSE,0.0, FALSE,1.0,MAT_ZIP},
-  { &mnm_gst     , "images/mnm.rgb"     , UVCLAMP,TRUE ,0.5, FALSE,1.0,MAT_ZIP},
+  { &banana_gst  , "images/banana.rgb"  , UVCLAMP,TRUE ,0.5, FALSE,1.0,MAT_ZIP},
   { &fuzzy_gst   , "images/fuzzy.rgb"   , UVCLAMP,TRUE ,0.2, FALSE,0.0,MAT_IGN},
   { &spark_gst   , "images/spark.rgb"   , UVCLAMP,FALSE,0.2, FALSE,0.0,MAT_IGN},
   { &explode_gst , "images/explode.rgb" , UVCLAMP,TRUE ,0.2, FALSE,0.0,MAT_IGN},
--- tuxkart-0.4.0/models/mnm.ac~	2006-06-01 21:43:24.000000000 +0200
+++ tuxkart-0.4.0/models/mnm.ac	2006-06-01 21:43:24.000000000 +0200
@@ -5,7 +5,7 @@
 OBJECT poly
 name "rect"
 loc 0.0261096 0.0456918 0
-texture "/hda1/tuxkart_cvs/tuxkart/models/../images/mnm.rgb"
+texture "/hda1/tuxkart_cvs/tuxkart/models/../images/banana.rgb"
 numvert 4
 -1 0 -0.6
 1 0 -0.6
--- tuxkart-0.4.0/data/olivermath.loc~	2006-06-01 21:43:29.000000000 +0200
+++ tuxkart-0.4.0/data/olivermath.loc	2006-06-01 21:43:29.000000000 +0200
@@ -20,8 +20,8 @@
 "backpack.ac",-12,5,{},0,{},{}
 "ruler_bridge.ac",60,20,{},0,{},{}
 "ruler_jump.ac",-20,20,{},160,{},{}
-"mnm.ac",50,10,{},0,{},{}
-"mnm.ac",-30,70,{},0,{},{}
+"banana.ac",50,10,{},0,{},{}
+"banana.ac",-30,70,{},0,{},{}
 "paperairplane.ac",0,80,{},-40,{},{}
 "teachersdesk.ac",40,75,{},0,{},{}
 "teachersdesk.ac",63,95,{},90,{},{}

tuxkart-0.4.0-nounnecesarry-libs.patch:

--- NEW FILE tuxkart-0.4.0-nounnecesarry-libs.patch ---
--- tuxkart-0.4.0/configure.in.libs	2006-06-05 10:17:54.000000000 +0200
+++ tuxkart-0.4.0/configure.in	2006-06-05 10:25:21.000000000 +0200
@@ -24,7 +24,7 @@
 
   AC_PATH_XTRA
 
-  x_suffix="$X_LIBS $X_PRE_LIBS -lpthread -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
+  x_suffix="$X_LIBS -lpthread -lX11 $X_EXTRA_LIBS -lm"
 
   dnl Reasonable stuff non-windoze variants ... :-)
 
--- tuxkart-0.4.0/configure.libs	2006-06-05 10:17:54.000000000 +0200
+++ tuxkart-0.4.0/configure	2006-06-05 10:25:24.000000000 +0200
@@ -4096,7 +4096,7 @@
 
 fi
 
-  x_suffix="$X_LIBS $X_PRE_LIBS -lpthread -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm"
+  x_suffix="$X_LIBS -lpthread -lX11 $X_EXTRA_LIBS -lm"
 
 echo "$as_me:4101: checking for glNewList in -lGL" >&5
 echo $ECHO_N "checking for glNewList in -lGL... $ECHO_C" >&6


--- NEW FILE tuxkart.6 ---
.\" TuxKart -- 3D GoKart racing game
.\" Copyright (c) 2001 Steve Baker, Daniel Kobras
.\"
.\" This manual page is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\" 
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\" 
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
.\"
.\" This manual page was written especially for Debian Linux. It is based
.\" on information available from tuxkart's website at
.\" http://tuxkart.sourceforge.net
.\"
.TH TUXKART 6 "November 15, 2001"
.SH NAME
TuxKart \- 3D GoKart racing game
.SH SYNOPSIS
.B tuxkart
.SH DESCRIPTION
\fBtuxkart\fP is an arcade-style game where driving faster than your opponents
will do the trick. You're taking the role of Tux, the Linux mascot, steering
its go-kart around various courses, racing against computer-controlled
vehicles.
.PP
The main window that opens on startup provides buttons and sliders to
select the next track to race on, as well as the number of laps to go.
Rumour has it that hitting the button labelled \fIStart Game\fR will in
fact start the game. In the race, you can either use a joystick, or the
keyboard for steering.
.PP
During the race, several goodies can make your life easier while other gadgets
shall give you a really tough ride. Go for the arrow shaped red and black
zipper patches on the track, as they boost your cart onwards. Red herring not
only taste good, some of them also hide nice powerups. Beware the green
herring, though. They're yucky and only slow you down. The golden and
silvery-blue herring on the other hand make for a fine appetizer. Eat enough of
them, and the next red herring might yield not only one, but up to five
powerups at once. Note that bad things happen at once, while the good things
(well, good for you...) need to be activated. Here's the list of available
extras:
.PP
.TP
.B Goodies
.TP
.I Missiles
Unguided but fast. If they hit anything, they explode impressively. The effect
on a cart is to stop it dead, so it has to accelerate again.
.TP
.I Homing missiles
Slower than the regular kind, but they track the nearest kart and are quite
hard to shake off.
.TP
.I Fuzzy blobs
Even slower still - a kart can outrun them quite easily. They ricochet off the
sides of the track and only explode when they hit a cart.
.TP
.I Magnets
If you activate a magnet then it hangs around for about 15 seconds. If anyone
comes within about 20 meters, you'll be pulled towards them and end up glued to
their tail until the magnet 'expires'. Great for catching up with someone -
hopeless for passing them.
.TP
.I Portable Zippers
These are just like the zipper patches on the track itself. They give you 
sudden acceleration and temporarily increase the top speed of your cart.
.TP
.B Badies
.TP
.I Parachute
This pops out the back of your cart and slows you down a little for a few
seconds only. Enough to drop you back one place if it's a close race though.
.TP
.I Anvil
Gets dragged behind your cart on a rope for an even shorter amount of time than
the parachute, but the drag effect is much stronger. Your cart hardly moves at
all.
.PP
.SH CONTROLS
.TP
.B \fRJoystick\fB Left/Right \fRor Key\fB Left/Right
Steer.
.TP
.B \fRJoystick\fB Button 1 \fRor Key\fB Up
Accelerate.
.TP
.B \fRJoystick\fB Button 2 \fRor Key\fB Down
Brake.
.TP
.B \fRJoystick\fB Button 3 \fRor Key\fB f \fRor Key\fB Enter
Use a special item (if you've collected one).
.TP
.B \fRJoystick\fB Button 4 \fRor Key\fB d
Ask to be rescued by Tinytux.
.TP
.B \fRJoystick\fB Button 5 \fRor Key\fB a
Pop a wheelie--makes you go really fast, but you'll be unable to steer.
.TP
.B \fRJoystick\fB Button 6 \fRor Key\fB s
Jump.
.TP
.B \fRKey\fB Space
Pop up or hide the menu bar.
.TP
.B \fRKey\fB r
Restart the race.
.TP
.B \fRKey\fB p
Pause the race.
.TP
.B \fRKey\fB x \fRor Key\fB ESC
End the race.
.TP
.B \fRKey\fB w
Toggle wireframe view.
.TP
.B \fRKey\fB z
Gather some statistics.
.PP
.SH KNOWN BUGS
.PP
No drive-with-the-mouse support.
.PP
Slow performance on CPUs less than ~450MHz.
.PP
No way to return to title screen at end of race.
.PP
You always play as Tux - there is no way to change players.
.PP
After you cross the finish line, if someone overtakes you, your
 final position changes!
.PP
No "Ready, Steady, Go!" sequence.
.PP
The computer players get confused and 'stuck' on tracks that
self-intersect (eg figure-8 shaped tracks). The lap counter and
current player positions are also screwed up on those kinds of
tracks.
.PP
If you (or one of the computer players) goes off the edge of the
track, or calls for rescue then Tinytux doesn't always manage to
put you back onto the track correctly. If this happens, you may
need to type \fBr\fR to restart the race.
.PP
Several Mesa lighting bugs are shown up particularly badly in this
game.
.PP
Sometimes you can be pushed through a solid object if you are hit
by another player when in contact with the surface.
.PP
.SH ENVIRONMENT
.TP
.B MESA_GLX_FX
If this environment variable is set, the game's resolution
will switch from the default 640x480 to 320x240. This is mostly of interest
if you have a Voodoo-1/2 graphics card and usually set this variable to
fullscreen.
.TP
.B TUXKART_DATADIR
Path to the location of game data. Usually you don't have to mess with this
variable.
.TP
.B TUXKART_TRACKLIST
Path to the location of track data. Usually you don't have to mess with this
variable.
.PP
.SH AUTHOR
This manual page was written by Daniel Kobras <kobras at debian.org>,
for the Debian GNU/Linux system (but may be used by others).
It is based on information available from tuxkart's website at
.UR
http://tuxkart.sourceforge.net
.UE


--- NEW FILE tuxkart.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Tuxkart
Comment=3D go-kart racing game
Exec=tuxkart
Icon=tuxkart.png
Terminal=false
StartupNotify=false
Type=Application
Categories=Application;Game;ArcadeGame;


--- NEW FILE tuxkart.spec ---
Name:           tuxkart
Version:        0.4.0
Release:        4%{?dist}
Summary:        Kids 3D go-kart racing game featuring Tux
Group:          Amusements/Games
License:        GPL
URL:            http://tuxkart.sourceforge.net/
# This is not the official upstream tarbal which can be found here:
# http://tuxkart.sourceforge.net/dist/%{name}-%{version}.tar.gz
# This version has some copyrighted & trademarked images replaced,
# see images-legal.txt for the copyright/trademark info on the new ones.
# The following images where replaced:
# adverts.rgb, lunchbox.rgb, lunchbox2.rgb, mnm.rgb (with banana.rgb).
Source0:        %{name}-%{version}.tar.gz
Source1:        %{name}.desktop
Source2:        %{name}.png
Source3:        %{name}.6
Source4:        images-legal.txt
Patch0:         %{name}-0.4.0-debian.patch
Patch1:         %{name}-0.4.0-fhs.patch
Patch2:         %{name}-0.4.0-fullscreen.patch
Patch3:         %{name}-0.4.0-nomnm.patch
Patch4:         %{name}-0.4.0-nounnecesarry-libs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  plib-devel desktop-file-utils

%description
3D go-kart racing game for kids with several famous OpenSource mascots
participating. Race as Tux against 3 computer players in 6 different fun race
courses (Standard race track, Dessert, Mathclass, etc). Full information on how
to add your own race courses is included. During the race you can pick up
powerups such as: (homing) missiles, magnets and portable zippers.


%prep
%setup -q
%patch0 -p1 -z .deb
%patch1 -p1 -z .fhs
%patch2 -p1 -z .fs
%patch3 -p1 -z .nomnm
mv models/mnm.ac models/banana.ac
%patch4 -p1 -z .libs
# for %%doc
mv doc html
rm html/Makefile.*
chmod -x AUTHORS CHANGES LICENSE README html/*
cp %{SOURCE4} .
# stop autoxxx from rerunning, not nescesarry:
touch aclocal.m4
touch Makefile.in
touch */Makefile.in


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# easier then patching all the Makefile's
mv $RPM_BUILD_ROOT%{_datadir}/games/%{name} $RPM_BUILD_ROOT%{_datadir}

# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora            \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  --add-category X-Fedora                       \
  %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps

# add the manpage (courtesy of Debian)
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man6


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE README images-legal.txt html
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man6/%{name}.6.gz
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png


%changelog
* Tue Jun  6 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.0-4
- Add permission notice to ship ppracer logo in adverts.rgb to images-legal.txt
  This fixes the last blocker for release :)

* Mon Jun  5 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.0-3
- Add a patch to stop unnecesarry linking against libXmu libXi libXext

* Thu Jun  1 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.0-2
- Remove unnescesarry ImageMagick BR.
- Replace some copyrighted & trademarked images, see images-legal.txt for
  the copyright/trademark info on the new ones.

* Wed May 17 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 0.4.0-1
- initial Fedora Extras package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tuxkart/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jun 2006 07:59:41 -0000	1.1
+++ .cvsignore	7 Jun 2006 08:01:14 -0000	1.2
@@ -0,0 +1 @@
+tuxkart-0.4.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tuxkart/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jun 2006 07:59:41 -0000	1.1
+++ sources	7 Jun 2006 08:01:14 -0000	1.2
@@ -0,0 +1 @@
+0b264444f11adb2444f036e3c826f58c  tuxkart-0.4.0.tar.gz




More information about the fedora-extras-commits mailing list