update to eboard 1.0.4 and remove myself as maintainer.

This commit is contained in:
fgsch 2007-12-03 18:54:58 +00:00
parent 5c56745026
commit f8ba4216f9
9 changed files with 139 additions and 140 deletions

View File

@ -1,35 +1,32 @@
# $OpenBSD: Makefile,v 1.30 2007/09/15 18:01:01 simon Exp $
# $OpenBSD: Makefile,v 1.31 2007/12/03 18:54:58 fgsch Exp $
COMMENT= gtk+ chess board interface
COMMENT= gtk+2 chess board interface
DISTNAME= eboard-0.9.0
PKGNAME= ${DISTNAME}
DISTNAME= eboard-1.0.4
CATEGORIES= games x11
HOMEPAGE= http://eboard.sourceforge.net/
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
HOMEPAGE= http://www.bergo.eng.br/eboard/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c gdk glib gmodule gtk jpeg m png \
stdc++ tiff ungif z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eboard/}
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gobject-2.0 iconv \
intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 png pthread \
stdc++ z
LIB_DEPENDS= gdk_imlib::graphics/imlib
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eboard/}
MODULES= devel/gettext
EXTRACT_SUFX= .tar.bz2
USE_X11= Yes
AUTOCONF_VERSION= 2.52
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
LIB_DEPENDS= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
MAKE_FLAGS+= CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}"
USE_X11= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS+=--extra-flags="$(CXXFLAGS)"
DOCS= Crafty.txt FICS-Timeseal.txt GNUChess4.txt GNUChess5.txt \
Scripts.txt Sjeng.txt Themes.txt

View File

@ -1,5 +1,5 @@
MD5 (eboard-0.9.0.tar.gz) = a6QrwfOSCbpwvXQ/gzLY1g==
RMD160 (eboard-0.9.0.tar.gz) = RtZ9cXkzLVIQJFFbj/fSMAEZQjM=
SHA1 (eboard-0.9.0.tar.gz) = XcutVOGZ6aS099jRhZa16T10XdM=
SHA256 (eboard-0.9.0.tar.gz) = 5xBc5hMQh5ZgxsLUpRCrjec76HasaPt3m1wsEPjLclk=
SIZE (eboard-0.9.0.tar.gz) = 690683
MD5 (eboard-1.0.4.tar.bz2) = K9KSemcO0jWUy/UkvFdG7w==
RMD160 (eboard-1.0.4.tar.bz2) = 8SsJJ8qEhBjrRadbz/imQXZq4zw=
SHA1 (eboard-1.0.4.tar.bz2) = RJOHVBQAQ/xkFD6RBnyVtsXJlwk=
SHA256 (eboard-1.0.4.tar.bz2) = zQjt+uE1HT2MnqV8gpFBI7ZqD92uX84Nq15ktOpfcMQ=
SIZE (eboard-1.0.4.tar.bz2) = 453603

View File

@ -1,16 +0,0 @@
$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

View File

@ -0,0 +1,48 @@
$OpenBSD: patch-configure,v 1.1 2007/12/03 18:54:58 fgsch Exp $
--- configure.orig Wed May 23 19:57:45 2007
+++ configure Mon Dec 3 11:39:59 2007
@@ -6,7 +6,7 @@ my $prefix = "/usr/local";
my $package = "eboard";
my $version = "1.0.4";
my $cxx = "g++";
-my @cxxflags = ("-O6");
+my @cxxflags = ();
my @ldflags = ("-lpthread");
my @libs = ();
my $configh = "config.h";
@@ -236,7 +236,7 @@ sub append_flags {
my $x = shift @_;
my @y;
- @y = split(/:/, $x);
+ @y = split(/ /, $x);
for (@y) {
push @cxxflags, "$_";
}
@@ -264,7 +264,7 @@ sub macro_check {
my $hdr = shift @_;
my $mac = shift @_;
my $chn = shift @_;
- my $program = "#include <$hdr>\n#if !defined($mac)\n#error not there\n#endif\n";
+ my $program = "#include <sys/types.h>\n#include <$hdr>\n#if !defined($mac)\n#error not there\n#endif\n";
print "checking for $mac in $hdr... ";
if (!open(TESTCC,">test.cc")) {
@@ -342,6 +342,8 @@ sub header_check {
print "$y";
if ($bsdbug != 0) {
$program = "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <$z>\nint main() { return 0; }\n";
+ } elsif ($z == "sys/audioio.h") {
+ $program = "#include <sys/types.h>\n#include <$z>\nint main() { return 0; }\n";
} else {
$program = "#include <$z>\nint main() { return 0; }\n";
}
@@ -536,7 +538,7 @@ if ($t2 != 0) {
print "netinet/tcp.h not required, SOL_TCP present.\n";
}
} else {
- if ($t5 != 0 && ($t1!=0 || $t4!=0) && ($t3!=0 || $t6!=0) ) {
+ if ($t5 != 0 && ($t1!=0 || $t4!=0 || $t3!=0 || $t6!=0) ) {
cppdef("NEED_TCP_H");
cppdef("USE_SOCK_OPTS");
if ($t1!=0 || $t4!=0) {

View File

@ -0,0 +1,26 @@
$OpenBSD: patch-elifekam,v 1.1 2007/12/03 18:54:58 fgsch Exp $
--- elifekam.orig Wed May 23 19:57:45 2007
+++ elifekam Mon Dec 3 05:26:24 2007
@@ -26,11 +26,11 @@ all: eboard nls-dicts
eboard: $(OBJS)
$(CXX) $(LDFLAGS) -o eboard $(OBJS)
-.cc.o: $< $(HEADERS) $(XPMS)
+.cc.o: $(HEADERS) $(XPMS)
$(CXX) $(CXXFLAGS) -c $< -o $@
nls-dicts:
- $(MAKE) -C multilang dicts
+ cd multilang && $(MAKE) dicts
clean:
rm -f $(OBJS) eboard *~
@@ -62,7 +62,7 @@ install-data:
$(INSTALL) -m 0644 NAG.en.txt $(datadir)/NAG.en.txt
install-nls:
- $(MAKE) -C multilang install-nls INSTALL=$(INSTALL) datadir=$(datadir)
+ cd multilang && $(MAKE) install-nls INSTALL=$(INSTALL) datadir=$(datadir)
uninstall:
rm -f $(bindir)/eboard

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-mainwindow_cc,v 1.3 2003/08/21 01:57:09 fgsch Exp $
--- mainwindow.cc.orig 2003-08-20 22:49:57.000000000 -0300
+++ mainwindow.cc 2003-08-20 22:49:59.000000000 -0300
@@ -1652,6 +1652,10 @@ void MainWindow::readAvailable(int handl
++loopc;
if (loopc%10 == 9)
gtk_main_iteration();
+
+ if ( (global.network==0) || (global.protocol==0) )
+ break;
+
} while(gotinput);
} else { /* got input from an agent (script) */

View File

@ -1,69 +0,0 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.3 2003/07/21 17:51:11 fgsch Exp $
--- po/Makefile.in.in.orig Mon Jul 21 14:09:36 2003
+++ po/Makefile.in.in Mon Jul 21 14:11:25 2003
@@ -111,9 +111,9 @@ 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 \
@@ -125,27 +125,27 @@ install-data-yes: all
lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
dir=$$destdir/$$lang/LC_MESSAGES; \
if test -r "$(MKINSTALLDIRS)"; then \
- $(MKINSTALLDIRS) $$dir; \
+ $(MKINSTALLDIRS) $(DESTDIR)$$dir; \
else \
- $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \
+ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$$dir; \
fi; \
if test -r $$cat; then \
- $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
- echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \
+ $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
+ echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
else \
- $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \
+ $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT); \
echo "installing $(srcdir)/$$cat as" \
- "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
+ "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT)"; \
fi; \
if test -r $$cat.m; then \
- $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
- echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
+ $(INSTALL_DATA) $$cat.m $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
+ echo "installing $$cat.m as $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
if test -r $(srcdir)/$$cat.m ; then \
$(INSTALL_DATA) $(srcdir)/$$cat.m \
- $$dir/$(PACKAGE)$(INSTOBJEXT).m; \
+ $(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m; \
echo "installing $(srcdir)/$$cat as" \
- "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
+ "$(DESTDIR)$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \
else \
true; \
fi; \
@@ -153,12 +153,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

View File

@ -1,12 +1,39 @@
$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() {
$OpenBSD: patch-sound_cc,v 1.6 2007/12/03 18:54:58 fgsch Exp $
--- sound.cc.orig Wed May 23 19:57:45 2007
+++ sound.cc Mon Dec 3 11:58:00 2007
@@ -46,6 +46,7 @@
#include "eboard.h"
#define SOME_DRIVER 1
+#define SOUND_DEV "/dev/dsp"
#ifdef HAVE_SYS_SOUNDCARD_H
@@ -54,6 +55,9 @@
#elif defined HAVE_SYS_AUDIOIO_H
+#undef SOUND_DEV
+#define SOUND_DEV "/dev/audio"
+
#define OPENBSD_DRIVER 1
#include <sys/audioio.h>
@@ -74,7 +78,7 @@ SoundEvent::SoundEvent() {
Pitch=800;
Duration=250;
Count=1;
- strcpy(Device,"/dev/dsp");
+ strcpy(Device,"/dev/audio");
+ strcpy(Device,SOUND_DEV);
ExtraData[0]=0;
enabled = true;
}
@@ -157,7 +161,7 @@ ostream & operator<<(ostream &s, SoundEvent e) {
s << e.Device << ',' << e.Count << ',' << (e.enabled?1:0);
break;
case EXT_WAVE:
- if (e.Device[0] == 0) strcpy(e.Device,"/dev/dsp");
+ if (e.Device[0] == 0) strcpy(e.Device,SOUND_DEV);
s << "1," << e.Device << ',' << e.ExtraData;
s << ',' << (e.enabled?1:0);
break;

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.7 2004/09/15 00:46:08 espie Exp $
@comment $OpenBSD: PLIST,v 1.8 2007/12/03 18:54:58 fgsch Exp $
bin/eboard
bin/eboard-addtheme
bin/eboard-config
@ -15,16 +15,16 @@ share/doc/eboard/Sjeng.txt
share/doc/eboard/Themes.txt
share/eboard/
share/eboard/NAG.en.txt
share/eboard/basic_g.png
share/eboard/basic_w.png
share/eboard/basic_y.png
share/eboard/classic.png
share/eboard/eboard.cs.dict
share/eboard/eboard.de.dict
share/eboard/eboard.es.dict
share/eboard/eboard.fr.dict
share/eboard/eboard.hu.dict
share/eboard/eboard.it.dict
share/eboard/eboard.ja.dict
share/eboard/eboard.pl.dict
share/eboard/eboard.pt_BR.dict
share/eboard/eboard_themes.conf
share/eboard/rock.png
share/locale/cs/LC_MESSAGES/eboard.mo
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/
@comment share/locale/it_IT/LC_MESSAGES/
@comment share/locale/it_IT/LC_MESSAGES/eboard.mo
share/locale/pt_BR/LC_MESSAGES/eboard.mo
share/eboard/ghouls.png
share/eboard/plastic.png