ports/118269: games/slune: update and fix

Max Brazhnikov makc at issp.ac.ru
Mon Nov 26 21:30:05 UTC 2007


>Number:         118269
>Category:       ports
>Synopsis:       games/slune: update and fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 26 21:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-BETA3 i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Sun Nov 18 19:35:36 MSK 2007     root at luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
slune fails to run:
~>slune
* Slune * Slune lives in /usr/local/share
* Soya * Using 8 bits stencil buffer

* Soya * version 0.13.2
* Using OpenGL 1.5.8 NVIDIA 96.43.01
*   - renderer : GeForce4 MX 440/AGP/SSE2
*   - vendor   : NVIDIA Corporation
*   - maximum number of lights        : 8
*   - maximum number of clip planes   : 6
*   - maximum number of texture units : 2
*   - maximum texture size            : 2048 pixels
fcntl: Device not configured
* Using OpenAL 1.1
*   - renderer  : Software
*   - vendor    : OpenAL Community

Traceback (most recent call last):
  File "/usr/local/bin/slune", line 159, in <module>
    slune.gui_gl.MainScreen()
  File "/usr/local/share/slune/gui_gl.py", line 594, in MainScreen
    action = gui_idler.idle()
  File "main_loop.pyx", line 110, in _soya.MainLoop.idle
  File "main_loop.pyx", line 162, in _soya.MainLoop.main_loop
  File "/usr/local/share/slune/gui_gl.py", line 555, in advance_time
    pub_banner.advance_time(proportion)
AttributeError: 'HorizontalBanner' object has no attribute 'advance_time'
* Soya3D * Quit...
>How-To-Repeat:

>Fix:
update to 1.0.13

Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/games/slune/Makefile /home/makc/porting/ports/games/slune/Makefile
--- /usr/ports/games/slune/Makefile	2007-11-13 03:49:07.000000000 +0300
+++ /home/makc/porting/ports/games/slune/Makefile	2007-11-26 23:53:23.000000000 +0300
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	slune
-PORTVERSION=	1.0.12
-PORTREVISION=	4
+PORTVERSION=	1.0.13
 CATEGORIES=	games python
 MASTER_SITES=	http://download.gna.org/slune/
 DISTNAME=	Slune-${PORTVERSION}
@@ -34,7 +33,7 @@
 PYDISTUTILS_EGGINFODIR=	${PREFIX}/share
 
 post-patch:
-	@${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
+	@${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${PREFIX}|g' ${WRKSRC}/setup.cfg
 
 post-install:
 .if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/games/slune/distinfo /home/makc/porting/ports/games/slune/distinfo
--- /usr/ports/games/slune/distinfo	2006-07-29 20:19:54.000000000 +0400
+++ /home/makc/porting/ports/games/slune/distinfo	2007-11-26 23:54:08.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (Slune-1.0.12.tar.bz2) = 78a693270888839e8c535f5afa927785
-SHA256 (Slune-1.0.12.tar.bz2) = 4097ceabb4f6921a7509bf9c231937c26e4b4d8c3d2895eb177a67e1e9328d97
-SIZE (Slune-1.0.12.tar.bz2) = 9472582
+MD5 (Slune-1.0.13.tar.bz2) = 01e2d9d181f01a8a7a36ac5dcf841dd6
+SHA256 (Slune-1.0.13.tar.bz2) = a2e7be291101868f5deaf57a33f10911492b3659ccbb966f1211db9a6f30e144
+SIZE (Slune-1.0.13.tar.bz2) = 9475893


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list