eboard 0.7.1pl1 update.
from naddy@: - DESTDIR support in po. - fix gettext detection.
This commit is contained in:
parent
c2f4b46815
commit
0c468ad1eb
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2003/01/05 01:12:40 lebel Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2003/01/26 19:26:25 fgsch Exp $
|
||||
|
||||
COMMENT= "gtk+ chess board interface"
|
||||
|
||||
DISTNAME= eboard-0.7.0
|
||||
DISTNAME= eboard-0.7.1pl1
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://eboard.sourceforge.net
|
||||
@ -24,11 +24,12 @@ MODGCC3_ARCHES= sparc64
|
||||
MODGCC3_LANGS+= c++
|
||||
|
||||
USE_X11= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
AUTOCONF_NEW= Yes
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
MAKE_FLAGS+= CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}"
|
||||
MAKE_FLAGS+= CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}"
|
||||
|
||||
DOCS= Crafty.txt FICS-Timeseal.txt GNUChess4.txt GNUChess5.txt \
|
||||
Scripts.txt Sjeng.txt Themes.txt
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (eboard-0.7.0.tar.gz) = d16a9f6f86e999d3772b889fadfb3850
|
||||
RMD160 (eboard-0.7.0.tar.gz) = f87a39e2df429cf34ea81e0f82c272ac5751bec0
|
||||
SHA1 (eboard-0.7.0.tar.gz) = cc46a2e390c7803b3f47526b4278938a207308bc
|
||||
MD5 (eboard-0.7.1pl1.tar.gz) = 47a9528557e5d9c9eeb5bee6cc2c783d
|
||||
RMD160 (eboard-0.7.1pl1.tar.gz) = e1b681ed0dfd7cf8f21e85a5344f8f82057fe196
|
||||
SHA1 (eboard-0.7.1pl1.tar.gz) = 30f013659f7945c83219bce3d6e1e558a568a3b7
|
||||
|
16
games/eboard/patches/patch-aclocal_m4
Normal file
16
games/eboard/patches/patch-aclocal_m4
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-aclocal_m4,v 1.1 2003/01/26 19:26:25 fgsch Exp $
|
||||
--- aclocal.m4.orig Sat Nov 2 18:49:25 2002
|
||||
+++ aclocal.m4 Sat Jan 25 03:44:11 2003
|
||||
@@ -876,10 +876,9 @@ AC_DEFUN(AM_WITH_NLS,
|
||||
|
||||
if test "$gt_cv_func_gettext_libc" != "yes"; then
|
||||
AC_CHECK_LIB(intl, bindtextdomain,
|
||||
- [AC_CACHE_CHECK([for gettext in libintl],
|
||||
- gt_cv_func_gettext_libintl,
|
||||
+ [AC_CACHE_VAL(gt_cv_func_gettext_libintl,
|
||||
[AC_CHECK_LIB(intl, gettext,
|
||||
- gt_cv_func_gettext_libintl=yes,
|
||||
+ [gt_cv_func_gettext_libintl=yes; LIBS="$LIBS -lintl"],
|
||||
gt_cv_func_gettext_libintl=no)],
|
||||
gt_cv_func_gettext_libintl=no)])
|
||||
fi
|
@ -1,13 +0,0 @@
|
||||
$OpenBSD: patch-help_cc,v 1.2 2002/12/14 23:46:29 fgsch Exp $
|
||||
--- help.cc.orig Wed Sep 25 22:11:53 2002
|
||||
+++ help.cc Sat Dec 14 09:02:53 2002
|
||||
@@ -332,7 +332,8 @@ namespace Help {
|
||||
if (strchr(tags,*p)) {
|
||||
|
||||
if (p-q) gtk_text_insert(GTK_TEXT(text),f,pc,0,q,p-q);
|
||||
- for(q=p;*q < 0;q++) ;
|
||||
+ for(q=p;!strchr(tags,*q);q++) ;
|
||||
+
|
||||
|
||||
switch(*p) {
|
||||
case '\200': f=fl; break;
|
67
games/eboard/patches/patch-po_Makefile_in_in
Normal file
67
games/eboard/patches/patch-po_Makefile_in_in
Normal file
@ -0,0 +1,67 @@
|
||||
$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
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-position_h,v 1.1 2002/12/14 08:36:40 fgsch Exp $
|
||||
--- position.h.orig Wed Dec 11 16:23:24 2002
|
||||
+++ position.h Wed Dec 11 16:23:58 2002
|
||||
@@ -126,7 +126,7 @@ class Position {
|
||||
bool isDropLegal(piece p,int x1,int y1,piece mycolor,variant vari);
|
||||
|
||||
bool maycastle[4]; // 0=white short, 1=black short, 2=white long, 3=black long
|
||||
- char ep[2]; // enpassant square (ep[0]=-1 for none, ep[0]=-2 for allow any)
|
||||
+ signed char ep[2]; // enpassant square (ep[0]=-1 for none, ep[0]=-2 for allow any)
|
||||
bool sidehint; // used by scratch boards only
|
||||
|
||||
private:
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-sound_cc,v 1.4 2002/07/17 10:27:06 fgsch Exp $
|
||||
--- sound.cc.orig Mon Jun 17 00:24:31 2002
|
||||
+++ sound.cc Tue Jul 16 19:35:58 2002
|
||||
@@ -74,7 +74,7 @@ SoundEvent::SoundEvent() {
|
||||
$OpenBSD: patch-sound_cc,v 1.5 2003/01/26 19:26:25 fgsch Exp $
|
||||
--- sound.cc.orig Sun Jan 19 16:24:03 2003
|
||||
+++ sound.cc Sat Jan 25 02:51:15 2003
|
||||
@@ -76,7 +76,7 @@ SoundEvent::SoundEvent() {
|
||||
Pitch=800;
|
||||
Duration=250;
|
||||
Count=1;
|
||||
- strcpy(Device,"/dev/dsp");
|
||||
+ strcpy(Device,"/dev/audio");
|
||||
ExtraData[0]=0;
|
||||
enabled = true;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2001/12/21 20:57:54 fgsch Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2003/01/26 19:26:25 fgsch Exp $
|
||||
bin/eboard
|
||||
bin/eboard-addtheme
|
||||
bin/eboard-config
|
||||
@ -12,10 +12,16 @@ share/doc/eboard/GNUChess5.txt
|
||||
share/doc/eboard/Scripts.txt
|
||||
share/doc/eboard/Sjeng.txt
|
||||
share/doc/eboard/Themes.txt
|
||||
share/eboard/NAG.en.txt
|
||||
share/eboard/basic_g.png
|
||||
share/eboard/basic_w.png
|
||||
share/eboard/basic_y.png
|
||||
share/eboard/eboard_themes.conf
|
||||
share/eboard/rock.png
|
||||
share/locale/de/LC_MESSAGES/eboard.mo
|
||||
share/locale/es/LC_MESSAGES/eboard.mo
|
||||
share/locale/it/LC_MESSAGES/eboard.mo
|
||||
@comment share/locale/it_IT/LC_MESSAGES/eboard.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/eboard.mo
|
||||
@dirrm share/eboard
|
||||
@dirrm share/doc/eboard
|
||||
|
Loading…
Reference in New Issue
Block a user