FreeBSD Bugzilla – Attachment 64610 Details for
Bug 96004
Update port: games/glchess to 0.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 6.82 KB, created by
tkato432
on 2006-04-18 17:10:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2006-04-18 17:10:15 UTC
Size:
6.82 KB
patch
obsolete
>diff -urN /usr/ports/games/glchess/Makefile games/glchess/Makefile >--- /usr/ports/games/glchess/Makefile Sat Apr 15 14:22:36 2006 >+++ games/glchess/Makefile Tue Apr 18 17:43:51 2006 >@@ -6,8 +6,7 @@ > # > > PORTNAME= glchess >-PORTVERSION= 0.4.7 >-PORTREVISION= 2 >+PORTVERSION= 0.9.0 > CATEGORIES= games > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -15,48 +14,33 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= A 3D OpenGL based chess game > >-LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea >+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext > > USE_X_PREFIX= yes >-USE_GNOME= gtk12 >-USE_GMAKE= yes >-USE_GL= yes >-GNU_CONFIGURE= yes >-CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \ >- PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" >-USE_AUTOTOOLS= automake:14 autoconf:213 >-USE_REINPLACE= yes >+USE_PYTHON= yes >+NO_BUILD= yes > >-MAN6= ${PORTNAME}.6 >- >-pre-patch: >- @${REINPLACE_CMD} -e 's!/usr/local/share/games/glchess!${DATADIR}!' \ >- ${WRKSRC}/glchessrc >- @${REINPLACE_CMD} -e 's!/etc!${PREFIX}/etc!' \ >- ${WRKSRC}/src/config.c >- @${REINPLACE_CMD} -e 's|^aclocal|${ACLOCAL}|; \ >- s|^autoconf|${AUTOCONF}|; s|^automake|${AUTOMAKE}|' \ >- ${WRKSRC}/autogen.sh >- @${REINPLACE_CMD} -e 's|"gnuchessx"|"gnuchess"|' ${WRKSRC}/src/main.c >- >-pre-configure: >- cd ${WRKSRC}; ${SH} autogen.sh >+post-patch: >+.for file in glchess ui/gtkui/gtkui.py >+ @${REINPLACE_CMD} -e \ >+ 's|^python |${PYTHON_CMD} |g ; \ >+ s|/usr/share/games/glchess|${DATADIR}|g' ${WRKSRC}/${file} >+.endfor > > do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/glchess ${PREFIX}/bin > @${MKDIR} ${DATADIR} >- @${MKDIR} ${DATADIR}/textures >- @${INSTALL_PROGRAM} ${WRKSRC}/src/glchess \ >- ${PREFIX}/bin >- @${INSTALL_DATA} ${WRKSRC}/glchessrc \ >- ${PREFIX}/etc >- @${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.6 \ >- ${PREFIX}/man/man6 >- @${INSTALL_DATA} ${WRKSRC}/textures/*.rgb \ >- ${DATADIR}/textures >-.ifndef(NOPORTDOCS) >+ ${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR} >+ @${MKDIR} ${DATADIR}/gui >+ ${INSTALL_DATA} ${WRKSRC}/ui/gtkui/*.glade ${DATADIR}/gui >+ @${MKDIR} ${DATADIR}/ui >+ ${INSTALL_DATA} ${WRKSRC}/ui/*.py ${DATADIR}/ui >+ @${MKDIR} ${DATADIR}/ui/gtkui >+ ${INSTALL_DATA} ${WRKSRC}/ui/gtkui/*.py ${DATADIR}/ui/gtkui >+.if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} > .for file in ChangeLog README TODO >- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} > .endfor > .endif #NOPORTDOCS > @${CAT} ${PKGMESSAGE} >diff -urN /usr/ports/games/glchess/distinfo games/glchess/distinfo >--- /usr/ports/games/glchess/distinfo Sun Jan 22 22:04:19 2006 >+++ games/glchess/distinfo Tue Apr 18 16:53:12 2006 >@@ -1,3 +1,3 @@ >-MD5 (glchess-0.4.7.tar.gz) = d4b852cb870be605dfb37646e6fa90b8 >-SHA256 (glchess-0.4.7.tar.gz) = 6ef03273022b7f31c34435ea06763fce4ba0b90bb3d58d24a31ed852b3e2b2e0 >-SIZE (glchess-0.4.7.tar.gz) = 126979 >+MD5 (glchess-0.9.0.tar.gz) = d665b86fb7ea3462e2130eb2d0e3d313 >+SHA256 (glchess-0.9.0.tar.gz) = 2f48530cd1f42391cf03edfc8af9415db5a44de54ca093fe606617d79fbf0e6b >+SIZE (glchess-0.9.0.tar.gz) = 74712 >diff -urN /usr/ports/games/glchess/files/patch-configure.in games/glchess/files/patch-configure.in >--- /usr/ports/games/glchess/files/patch-configure.in Sat Jan 12 07:06:41 2002 >+++ games/glchess/files/patch-configure.in Thu Jan 1 09:00:00 1970 >@@ -1,33 +0,0 @@ >---- configure.in.orig Thu Jan 10 15:36:21 2002 >-+++ configure.in Fri Jan 11 16:47:02 2002 >-@@ -21,8 +21,8 @@ >- GL_LDOPTS="-L$with_GL_prefix/lib" >- fi >- >--AC_CHECK_LIB(MesaGL, glBegin, have_MesaGL=yes, , $GTK_LIBS $GL_LDOPTS) >--AC_CHECK_LIB(GL, glBegin, have_GL=yes, , $GTK_LIBS $GL_LDOPTS) >-+AC_CHECK_LIB(MesaGL, glBegin, have_MesaGL=yes, , $GTK_LIBS $GL_LDOPTS $PTHREAD_LIBS) >-+AC_CHECK_LIB(GL, glBegin, have_GL=yes, , $GTK_LIBS $GL_LDOPTS $PTHREAD_LIBS) >- >- if test "$with_lib_GL" = yes; then >- >-@@ -62,7 +62,7 @@ >- fi >- >- AC_CHECK_LIB(gtkgl, gtk_gl_area_make_current, gtkgl_ok=yes, , >-- ${GTKGL_LDOPTS} ${GTK_LIBS} ${GL_LIBS}) >-+ ${GTKGL_LDOPTS} ${GTK_LIBS} ${GL_LIBS} $PTHREAD_LIBS) >- >- if test "$gtkgl_ok" = yes; then >- GTKGL_LIBS="${GTKGL_LDOPTS} -lgtkgl" >-@@ -75,8 +75,8 @@ >- AC_C_CONST >- AC_TYPE_SIZE_T >- >--CFLAGS="$GTK_CFLAGS $GL_CFLAGS $GTKGL_CFLAGS" >--LIBS="$GTKGL_LIBS $GTK_LIBS $GL_LIBS $IMG_LIBS" >-+CFLAGS="$GTK_CFLAGS $GL_CFLAGS $GTKGL_CFLAGS $PTHREAD_CFLAGS" >-+LIBS="$GTKGL_LIBS $GTK_LIBS $GL_LIBS $IMG_LIBS $PTHREAD_LIBS" >- >- AC_OUTPUT(src/Makefile man/Makefile textures/Makefile Makefile) >- >diff -urN /usr/ports/games/glchess/files/patch-src::interface.c games/glchess/files/patch-src::interface.c >--- /usr/ports/games/glchess/files/patch-src::interface.c Wed Mar 27 16:07:47 2002 >+++ games/glchess/files/patch-src::interface.c Thu Jan 1 09:00:00 1970 >@@ -1,14 +0,0 @@ >---- src/interface.c.orig Mon Mar 25 00:02:08 2002 >-+++ src/interface.c Wed Mar 27 02:03:28 2002 >-@@ -23,8 +23,10 @@ >- >- #include <stdio.h> >- #include <stdlib.h> >-+#include <sys/types.h> >-+#include <sys/time.h> >-+#include <unistd.h> >- #include <gtkgl/gtkglarea.h> >--#include <sys/select.h> >- >- #include "global.h" >- #include "interface.h" >diff -urN /usr/ports/games/glchess/pkg-plist games/glchess/pkg-plist >--- /usr/ports/games/glchess/pkg-plist Mon Jul 30 08:33:22 2001 >+++ games/glchess/pkg-plist Tue Apr 18 17:39:02 2006 >@@ -1,29 +1,27 @@ > bin/glchess >-etc/glchessrc >-%%PORTDOCS%%share/doc/glchess/ChangeLog >-%%PORTDOCS%%share/doc/glchess/README >-%%PORTDOCS%%share/doc/glchess/TODO >-share/glchess/textures/1.rgb >-share/glchess/textures/2.rgb >-share/glchess/textures/3.rgb >-share/glchess/textures/4.rgb >-share/glchess/textures/5.rgb >-share/glchess/textures/6.rgb >-share/glchess/textures/7.rgb >-share/glchess/textures/8.rgb >-share/glchess/textures/a.rgb >-share/glchess/textures/b.rgb >-share/glchess/textures/black_board_texture.rgb >-share/glchess/textures/black_piece_texture.rgb >-share/glchess/textures/c.rgb >-share/glchess/textures/d.rgb >-share/glchess/textures/e.rgb >-share/glchess/textures/f.rgb >-share/glchess/textures/g.rgb >-share/glchess/textures/h.rgb >-share/glchess/textures/selected_piece_texture.rgb >-share/glchess/textures/white_board_texture.rgb >-share/glchess/textures/white_piece_texture.rgb >-@dirrm share/glchess/textures/ >-@dirrm share/glchess >-%%PORTDOCS%%@dirrm share/doc/glchess >+%%DATADIR%%/ai.py >+%%DATADIR%%/builtin_models.py >+%%DATADIR%%/cecp.py >+%%DATADIR%%/chess_board.py >+%%DATADIR%%/game.py >+%%DATADIR%%/glchess.py >+%%DATADIR%%/pgn.py >+%%DATADIR%%/san.py >+%%DATADIR%%/scene.py >+%%DATADIR%%/gui/chess_view.glade >+%%DATADIR%%/gui/error_dialog.glade >+%%DATADIR%%/gui/glchess.glade >+%%DATADIR%%/gui/load_game.glade >+%%DATADIR%%/gui/network_game.glade >+%%DATADIR%%/gui/new_game.glade >+%%DATADIR%%/gui/new_game_simple.glade >+%%DATADIR%%/gui/save_game.glade >+%%DATADIR%%/gui/splashscreen.glade >+%%DATADIR%%/ui/__init__.py >+%%DATADIR%%/ui/ui.py >+%%DATADIR%%/ui/gtkui/gtkui.py >+%%DATADIR%%/ui/gtkui/__init__.py >+@dirrm %%DATADIR%%/ui/gtkui >+@dirrm %%DATADIR%%/ui >+@dirrm %%DATADIR%%/gui >+@dirrm %%DATADIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96004
: 64610