1 |
mr_bones_ 11/11/02 01:10:36 |
2 |
|
3 |
Added: xboard-4.5.3a-gentoo.patch |
4 |
Removed: xboard-4.5.1-gentoo.patch xboard-4.4.4-gentoo.patch |
5 |
Log: |
6 |
version bump; stable for x86; drop ppc to ~ (bug #375407) |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 games-board/xboard/files/xboard-4.5.3a-gentoo.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/xboard/files/xboard-4.5.3a-gentoo.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/xboard/files/xboard-4.5.3a-gentoo.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: xboard-4.5.3a-gentoo.patch |
17 |
=================================================================== |
18 |
diff -ru xboard-4.5.2a.orig/Makefile.am xboard-4.5.2a/Makefile.am |
19 |
--- xboard-4.5.2a.orig/Makefile.am 2011-05-01 23:15:52.000000000 -0400 |
20 |
+++ xboard-4.5.2a/Makefile.am 2011-05-06 17:24:16.268244229 -0400 |
21 |
@@ -33,14 +33,10 @@ |
22 |
$(ZPY) |
23 |
xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@ |
24 |
|
25 |
-EXTRA_DIST = pixmaps bitmaps sounds winboard filebrowser/README \ |
26 |
- xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \ |
27 |
- COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README \ |
28 |
- xboard.conf.in SHORTLOG DIFFSTAT history.c |
29 |
- |
30 |
DISTCLEANFILES = stamp-h |
31 |
|
32 |
-AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' -DBITMAPDIR='"$(datadir)/games/xboard/bitmaps/default"' |
33 |
+bitmapsdir = $(datadir)/default |
34 |
+AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' -DBITMAPDIR='"$(bitmapsdir)"' |
35 |
|
36 |
info_TEXINFOS = xboard.texi |
37 |
xboard_TEXINFOS = copyright.texi |
38 |
@@ -54,21 +50,14 @@ |
39 |
|
40 |
### icon files |
41 |
|
42 |
-icondir = $(datadir)/icons/hicolor/48x48/apps |
43 |
+icondir = /usr/share/icons/hicolor/48x48/apps |
44 |
dist_icon_DATA = xboard.png |
45 |
-svgicondir = $(datadir)/icons/hicolor/scalable/apps |
46 |
+svgicondir = /usr/share/icons/hicolor/scalable/apps |
47 |
dist_svgicon_DATA = xboard.svg |
48 |
|
49 |
|
50 |
-### desktop files for KDE and gnome |
51 |
- |
52 |
-Applicationsdir = $(datadir)/applications |
53 |
-Applications_DATA = xboard.desktop |
54 |
- |
55 |
- |
56 |
### directory and files for bitmaps |
57 |
|
58 |
-bitmapsdir = $(datadir)/games/xboard/bitmaps/default |
59 |
dist_bitmaps_DATA = \ |
60 |
bitmaps/a33o.bm bitmaps/c45s.bm bitmaps/icon_outline.bm bitmaps/m49o.bm bitmaps/p45o.bm bitmaps/r29o.bm \ |
61 |
bitmaps/a33s.bm bitmaps/c49o.bm bitmaps/icon_white.bm bitmaps/m49s.bm bitmaps/p45s.bm bitmaps/r29s.bm \ |
62 |
@@ -137,13 +126,13 @@ |
63 |
|
64 |
### directory and files for pixmaps |
65 |
|
66 |
-pixmapsdir = $(datadir)/games/xboard/pixmaps/textures |
67 |
+pixmapsdir = $(datadir)/pixmaps/textures |
68 |
dist_pixmaps_DATA = pixmaps/wood_d.xpm pixmaps/wood_l.xpm |
69 |
|
70 |
|
71 |
### directory and files for sound files |
72 |
|
73 |
-soundsdir = $(datadir)/games/xboard/sounds |
74 |
+soundsdir = $(datadir)/sounds |
75 |
dist_sounds_DATA = \ |
76 |
sounds/cymbal.wav sounds/pop2.wav sounds/slap.wav sounds/ding1.wav sounds/laser.wav \ |
77 |
sounds/woodthunk.wav sounds/gong.wav sounds/penalty.wav sounds/honkhonk.wav sounds/phone.wav |
78 |
diff -ru xboard-4.5.2a.orig/configure.ac xboard-4.5.2a/configure.ac |
79 |
--- xboard-4.5.2a.orig/configure.ac 2011-05-01 23:17:29.000000000 -0400 |
80 |
+++ xboard-4.5.2a/configure.ac 2011-05-06 17:24:16.268244229 -0400 |
81 |
@@ -131,32 +131,17 @@ |
82 |
exit 1 |
83 |
fi |
84 |
|
85 |
-dnl | test if user wants ot use Xaw3d or Xaw |
86 |
+AC_ARG_WITH(Xaw3d, |
87 |
+[ --with-Xaw3d use Xaw3d instead of Xaw], |
88 |
+[ with_xaw3d="$withval"], [enable_xaw3d="no"]) |
89 |
|
90 |
-dnl | add configure option for Xaw3d |
91 |
-AC_ARG_WITH([Xaw3d], |
92 |
- [AS_HELP_STRING([--with-Xaw3d],[use Xaw3d instead of Xaw])], |
93 |
- [], |
94 |
- [with_Xaw3d=no]) |
95 |
- |
96 |
-dnl | check availability of Xaw3d |
97 |
-XAW_LIBS= |
98 |
-AS_IF([test x"$with_Xaw3d" != x"no"], |
99 |
- [AC_CHECK_LIB([Xaw3d], |
100 |
- [XawTextReplace], |
101 |
- [AC_SUBST([XAW_LIBS],["-lXaw3d"]) |
102 |
- AC_DEFINE([USE_XAW3D], [1], |
103 |
- [Define if you want to use Xaw3d])], |
104 |
- [AC_MSG_ERROR([--with-Xaw3d was given, but test for Xaw3d failed. Make sure that you have Xaw3d installed, else you might want to try the configure option --without-Xaw3d])], |
105 |
- [-lXaw])]) |
106 |
-dnl | no Xaw3d, check for Xaw |
107 |
-if test x"$with_Xaw3d" = x"no" ; then |
108 |
- AC_CHECK_HEADER(X11/Xaw/Dialog.h,xaw_headers="yes", xaw_headers="no") |
109 |
- if test x"$xaw_headers" = x"no" ; then |
110 |
- AC_MSG_ERROR([Xaw headers not found. Please install the Xaw package and headers.]) |
111 |
- fi |
112 |
- XAW_LIBS="-lXaw" |
113 |
+if test "$withval" = yes; then |
114 |
+ AC_DEFINE(USE_XAW3D) |
115 |
+ XAW_LIBS="-lXaw3d" |
116 |
+else |
117 |
+ XAW_LIBS="-lXaw" |
118 |
fi |
119 |
+ |
120 |
AC_SUBST(XAW_LIBS) |
121 |
|
122 |
dnl | end Xaw/Xaw3d test |
123 |
diff -ru xboard-4.5.2a.orig/xboard.conf.in xboard-4.5.2a/xboard.conf.in |
124 |
--- xboard-4.5.2a.orig/xboard.conf.in 2011-05-01 23:15:52.000000000 -0400 |
125 |
+++ xboard-4.5.2a/xboard.conf.in 2011-05-06 17:24:29.271622485 -0400 |
126 |
@@ -57,7 +57,7 @@ |
127 |
; |
128 |
; Engines & adjudicatons in engine-engine games |
129 |
; |
130 |
--firstChessProgram fairymax |
131 |
+-firstChessProgram gnuchess |
132 |
-secondChessProgram fairymax |
133 |
-niceEngines 0 |
134 |
-polyglotDir "" |
135 |
diff -ru xboard-4.5.2a.orig/xboard.h xboard-4.5.2a/xboard.h |
136 |
--- xboard-4.5.2a.orig/xboard.h 2011-05-01 23:15:52.000000000 -0400 |
137 |
+++ xboard-4.5.2a/xboard.h 2011-05-06 17:24:16.268244229 -0400 |
138 |
@@ -104,7 +104,7 @@ |
139 |
|
140 |
#define BORDER_X_OFFSET 3 |
141 |
#define BORDER_Y_OFFSET 27 |
142 |
-#define FIRST_CHESS_PROGRAM "fairymax" |
143 |
+#define FIRST_CHESS_PROGRAM "gnuchess" |
144 |
#define SECOND_CHESS_PROGRAM "fairymax" |
145 |
#define FIRST_DIRECTORY "." |
146 |
#define SECOND_DIRECTORY "." |