Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 19:07:51 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96932: games/freesci - Update 0.3.4c -> 0.3.5
Message-ID:  <1147025271.2206@charon.picobyte.net>
Resent-Message-ID: <200605071810.k47IAHwn079106@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96932
>Category:       ports
>Synopsis:       games/freesci - Update 0.3.4c -> 0.3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 07 18:10:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

>Description:

- Update freesci to 0.3.5
- Remove Savannah mirror(s), add one that works
- Convert to OPTIONS
- All patches have been integrated by vendor

Tinderbox tested on: 5.x (sparc64)
Manually tested on : 7.x (i386)

>How-To-Repeat:

>Fix:

--- freesci.diff begins here ---
diff -urN freesci.orig/Makefile freesci/Makefile
--- freesci.orig/Makefile	Tue Jul 27 17:14:58 2004
+++ freesci/Makefile	Sun May  7 18:14:34 2006
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	freesci
-PORTVERSION=	0.3.4c
+PORTVERSION=	0.3.5
 CATEGORIES=	games emulators
-MASTER_SITES=	${MASTER_SITE_SAVANNAH} \
+MASTER_SITES=	http://www-plan.cs.colorado.edu/creichen/${PORTNAME}/ \
 		http://teksolv.de/~jameson/
 MASTER_SITE_SUBDIR=${PORTNAME}/stable.pkg/${PORTVERSION}
 
@@ -16,7 +16,6 @@
 COMMENT=	A portable interpreter for SCI games, such as the Space Quest series
 
 USE_BZIP2=	yes
-USE_REINPLACE=	yes
 USE_XLIB=	yes
 GNU_CONFIGURE=	yes
 WANT_SDL=	yes
@@ -26,6 +25,12 @@
 
 MAN6=	freesci-tools.6 freesci.6
 
+OPTIONS=	CONSOLE		 "With console support"			off \
+		SDL		 "With SDL support"			off \
+		GGI		 "With GGI support"			off \
+		DIRECTFB	 "With DirectFB support"		off \
+		OPTIMIZED_CFLAGS "Build with code optimizations"	off
+
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_OPTIMIZED_CFLAGS)
@@ -70,23 +75,6 @@
 CONFIGURE_ARGS+=	--with-ggi-dir=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=	--without-ggi
-.endif
-
-pre-everything::
-.if !defined(WITH_CONSOLE)
-	@${ECHO_MSG} "Define WITH_CONSOLE to build console support"
-.endif
-.if !defined(WITH_SDL)
-	@${ECHO_MSG} "Define WITH_SDL to build with SDL support"
-.endif
-.if !defined(WITH_GGI)
-	@${ECHO_MSG} "Define WITH_GGI to build with GGI support"
-.endif
-.if !defined(WITH_DIRECTFB)
-	@${ECHO_MSG} "Define WITH_DIRECTFB to build with DirectFB support"
-.endif
-.if !defined(WITH_OPTIMIZED_CFLAGS)
-	@${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to build with extra optimizations"
 .endif
 
 pre-configure:
diff -urN freesci.orig/distinfo freesci/distinfo
--- freesci.orig/distinfo	Tue Apr 25 23:12:20 2006
+++ freesci/distinfo	Sun May  7 18:15:14 2006
@@ -1,3 +1,3 @@
-MD5 (freesci-0.3.4c.tar.bz2) = 2ec3240460316cb2901371d07662b1c4
-SHA256 (freesci-0.3.4c.tar.bz2) = fc277727e3779d2caa7cb93118e11648e8de62b5cdd52f1ae14c3b6968e47ebe
-SIZE (freesci-0.3.4c.tar.bz2) = 953374
+MD5 (freesci-0.3.5.tar.bz2) = e18cd3366bd2a2773cecb5d20619807e
+SHA256 (freesci-0.3.5.tar.bz2) = 46bb779cd8881f9126e0296ffe43cbb44a407f5b0d98846cc2321db323e76303
+SIZE (freesci-0.3.5.tar.bz2) = 1022657
diff -urN freesci.orig/files/patch-configure freesci/files/patch-configure
--- freesci.orig/files/patch-configure	Wed Jun 16 23:22:22 2004
+++ freesci/files/patch-configure	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Thu Apr  8 04:19:41 2004
-+++ configure	Sat Jun 12 16:07:07 2004
-@@ -9619,6 +9619,8 @@
- 
- fi
- 
-+CFLAGS="$X_CFLAGS $CFLAGS"
-+CPPFLAGS="$X_CFLAGS $CPPFLAGS"
- 
- if test x"$have_x" = xyes; then
- 
diff -urN freesci.orig/files/patch-src::gdx::drivers::directfb_driver.c freesci/files/patch-src::gdx::drivers::directfb_driver.c
--- freesci.orig/files/patch-src::gdx::drivers::directfb_driver.c	Fri Oct  3 14:51:20 2003
+++ freesci/files/patch-src::gdx::drivers::directfb_driver.c	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- src/gfx/drivers/directfb_driver.c.orig	Thu Feb 20 17:37:19 2003
-+++ src/gfx/drivers/directfb_driver.c	Thu Feb 20 17:37:46 2003
-@@ -611,7 +611,7 @@
- 
- 	switch (pixel_format) {
- 
--	case DSPF_RGB15:
-+	case DSPF_ARGB1555:
- 		*bytespp = 2;
- 		*rm = 5; _rs = 10;
- 		*gm = 5; _gs = 5;
diff -urN freesci.orig/files/patch-src::sound::pcmout_oss.c freesci/files/patch-src::sound::pcmout_oss.c
--- freesci.orig/files/patch-src::sound::pcmout_oss.c	Fri Oct  3 14:51:20 2003
+++ freesci/files/patch-src::sound::pcmout_oss.c	Thu Jan  1 01:00:00 1970
@@ -1,18 +0,0 @@
---- src/sound/pcmout_oss.c.orig	Thu Feb 20 20:52:48 2003
-+++ src/sound/pcmout_oss.c	Thu Feb 20 21:02:06 2003
-@@ -75,6 +75,15 @@
- 		return -1;
- 	}
- 
-+/* Some OSS don't define the native endian */
-+#ifndef AFMT_S16_NE
-+	#if defined __i386__ || defined __alpha__
-+		#define AFMT_S16_NE AFMT_S16_LE
-+	#elif defined __mips__
-+		#define AFMT_S16_NE AFMT_S16_BE
-+	#endif
-+	/* FIXME are these correct? */
-+#endif
- 	i = AFMT_S16_NE;  /* Use NATIVE endian format... */
- 	if (ioctl (oss_fd, SNDCTL_DSP_SETFMT, &i)) {
- 		fprintf(stderr, "[PCM-OSS] Failed to set device output format\n");
diff -urN freesci.orig/files/patch-src::sound::pcmout_sdl.c freesci/files/patch-src::sound::pcmout_sdl.c
--- freesci.orig/files/patch-src::sound::pcmout_sdl.c	Fri Oct  3 14:51:20 2003
+++ freesci/files/patch-src::sound::pcmout_sdl.c	Thu Jan  1 01:00:00 1970
@@ -1,35 +0,0 @@
---- src/gfx/drivers/sdl_driver.c.orig	Tue Feb  4 21:12:10 2003
-+++ src/gfx/drivers/sdl_driver.c	Tue Feb  4 21:16:42 2003
-@@ -45,7 +45,7 @@
- 
- #ifndef _MSC_VER
- #	include <sys/time.h>
--#	include <SDL/SDL.h>
-+#	include <SDL11/SDL.h>
- #else
- #	include <SDL.h>
- #endif
---- src/sound/thread_ss_sdl.c.orig	Tue Feb  4 21:15:31 2003
-+++ src/sound/thread_ss_sdl.c	Tue Feb  4 21:16:25 2003
-@@ -32,8 +32,8 @@
- #ifdef HAVE_SDL
- 
- #ifndef _MSC_VER
--#  include <SDL/SDL.h>
--#  include <SDL/SDL_thread.h>
-+#  include <SDL11/SDL.h>
-+#  include <SDL11/SDL_thread.h>
- #  include <sys/timeb.h>
- #else
- #  include <SDL.h>
---- src/sound/pcmout_sdl.c.orig	Tue Feb  4 21:15:37 2003
-+++ src/sound/pcmout_sdl.c	Tue Feb  4 21:16:32 2003
-@@ -23,7 +23,7 @@
- 
- #ifndef _MSC_VER
- #       include <sys/time.h>
--#       include <SDL/SDL.h>
-+#       include <SDL11/SDL.h>
- #else
- #       include <SDL.h>
- #endif
--- freesci.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1147025271.2206>