update to eboard 0.8.0
This commit is contained in:
parent
d953ddddb2
commit
74c1c59da9
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2003/02/02 20:23:39 fgsch Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2003/05/02 22:21:22 fgsch Exp $
|
||||
|
||||
COMMENT= "gtk+ chess board interface"
|
||||
|
||||
DISTNAME= eboard-0.7.1pl1
|
||||
PKGNAME= ${DISTNAME}a
|
||||
DISTNAME= eboard-0.8.0
|
||||
PKGNAME= ${DISTNAME}
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://eboard.sourceforge.net
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (eboard-0.7.1pl1.tar.gz) = 47a9528557e5d9c9eeb5bee6cc2c783d
|
||||
RMD160 (eboard-0.7.1pl1.tar.gz) = e1b681ed0dfd7cf8f21e85a5344f8f82057fe196
|
||||
SHA1 (eboard-0.7.1pl1.tar.gz) = 30f013659f7945c83219bce3d6e1e558a568a3b7
|
||||
MD5 (eboard-0.8.0.tar.gz) = 4833405d70b86af52c56ebc0ecb306eb
|
||||
RMD160 (eboard-0.8.0.tar.gz) = 5084905e779aed34ce3572d9a53cd82cd7b2eea9
|
||||
SHA1 (eboard-0.8.0.tar.gz) = 0727a229322a75ca8c5b937e6161bef75dc42235
|
||||
|
@ -1,29 +0,0 @@
|
||||
$OpenBSD: patch-chess_cc,v 1.3 2003/01/28 20:52:37 fgsch Exp $
|
||||
--- chess.cc.orig Tue Jan 28 14:01:37 2003
|
||||
+++ chess.cc Tue Jan 28 14:03:35 2003
|
||||
@@ -1092,14 +1092,21 @@ bool ChessGame::ParsePgnGame(zifstream &
|
||||
}
|
||||
|
||||
if (alpha[0]=='$') {
|
||||
+ int i;
|
||||
t.set((char *) alpha);
|
||||
if (! gl.empty() ) {
|
||||
if (! global.annotator.isOpen() ) {
|
||||
- gl.back().addAnnotation( global.annotator.open() );
|
||||
- global.annotator.append(* (Glyphs[t.tokenvalue("$")]));
|
||||
- global.annotator.close();
|
||||
+ i = t.tokenvalue("$");
|
||||
+ if (i < Glyphs.size()) {
|
||||
+ gl.back().addAnnotation( global.annotator.open() );
|
||||
+ global.annotator.append(* (Glyphs[i]));
|
||||
+ global.annotator.close();
|
||||
+ }
|
||||
} else {
|
||||
- global.annotator.append(* (Glyphs[t.tokenvalue("$")]));
|
||||
+ i = t.tokenvalue("$");
|
||||
+ if (i < Glyphs.size()) {
|
||||
+ global.annotator.append(* (Glyphs[i]));
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
@ -1,67 +0,0 @@
|
||||
$OpenBSD: patch-po_Makefile_in_in,v 1.1 2003/01/26 19:26:25 fgsch Exp $
|
||||
--- po/Makefile.in.in.orig Wed Sep 11 01:06:17 2002
|
||||
+++ po/Makefile.in.in Sat Jan 25 03:23:44 2003
|
||||
@@ -24,6 +24,8 @@ gnulocaledir = $(prefix)/share/locale
|
||||
gettextsrcdir = $(prefix)/share/gettext/po
|
||||
subdir = po
|
||||
|
||||
+DESTDIR =
|
||||
+
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@
|
||||
@@ -111,16 +113,16 @@ install-data: install-data-@USE_NLS@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
case "$$cat" in \
|
||||
- *.gmo) destdir=$(gnulocaledir);; \
|
||||
- *) destdir=$(localedir);; \
|
||||
+ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
|
||||
+ *) destdir=$(DESTDIR)$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
dir=$$destdir/$$lang/LC_MESSAGES; \
|
||||
@@ -153,12 +155,12 @@ install-data-yes: all
|
||||
done
|
||||
if test "$(PACKAGE)" = "gettext"; then \
|
||||
if test -r "$(MKINSTALLDIRS)"; then \
|
||||
- $(MKINSTALLDIRS) $(gettextsrcdir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
|
||||
else \
|
||||
- $(SHELL) $(top_srcdir)/mkinstalldirs $(gettextsrcdir); \
|
||||
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
|
||||
fi; \
|
||||
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \
|
||||
- $(gettextsrcdir)/Makefile.in.in; \
|
||||
+ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
|
||||
else \
|
||||
: ; \
|
||||
fi
|
||||
@@ -171,12 +173,12 @@ uninstall:
|
||||
for cat in $$catalogs; do \
|
||||
cat=`basename $$cat`; \
|
||||
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
- rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \
|
||||
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \
|
||||
done
|
||||
- rm -f $(gettextsrcdir)/po-Makefile.in.in
|
||||
+ rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in
|
||||
|
||||
check: all
|
||||
|
Loading…
Reference in New Issue
Block a user