pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/allegro Initial import of allegro-4.1.13 from pk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/909d00986e06
branches:  trunk
changeset: 472121:909d00986e06
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Apr 05 05:02:41 2004 +0000

description:
Initial import of allegro-4.1.13 from pkgsrc-wip, Initial work by
Thomas Klausner plus minor changes by me.

Allegro is a portable library mainly aimed at video game and multimedia
programming, originally started by Shawn Hargreaves for the DJGPP compiler
in a mixture of C and assembler.

According to the Oxford Companion to Music, Allegro is the Italian for
"quick, lively, bright". It is also a recursive acronym which stands for
"Allegro Low LEvel Game ROutines".

Cross-platform support

    o Dos (DJGPP, Watcom)
    o Unix (Linux, *BSD, Irix, Solaris, Darwin)
    o Windows (MSVC, MinGW, Cygwin, Borland)
    o BeOS
    o QNX
    o MacOS X

diffstat:

 devel/allegro/DESCR            |   16 ++++++
 devel/allegro/Makefile         |   40 +++++++++++++++
 devel/allegro/PLIST            |  106 +++++++++++++++++++++++++++++++++++++++++
 devel/allegro/buildlink3.mk    |   24 +++++++++
 devel/allegro/distinfo         |    7 ++
 devel/allegro/patches/patch-aa |   41 +++++++++++++++
 devel/allegro/patches/patch-ab |   30 +++++++++++
 devel/allegro/patches/patch-ac |   13 +++++
 8 files changed, 277 insertions(+), 0 deletions(-)

diffs (truncated from 309 to 300 lines):

diff -r 699b68236978 -r 909d00986e06 devel/allegro/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/DESCR       Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,16 @@
+Allegro is a portable library mainly aimed at video game and multimedia 
+programming, originally started by Shawn Hargreaves for the DJGPP compiler 
+in a mixture of C and assembler.
+
+According to the Oxford Companion to Music, Allegro is the Italian for 
+"quick, lively, bright". It is also a recursive acronym which stands for 
+"Allegro Low LEvel Game ROutines".
+
+Cross-platform support
+
+    o Dos (DJGPP, Watcom)
+    o Unix (Linux, *BSD, Irix, Solaris, Darwin)
+    o Windows (MSVC, MinGW, Cygwin, Borland)
+    o BeOS
+    o QNX
+    o MacOS X
diff -r 699b68236978 -r 909d00986e06 devel/allegro/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/Makefile    Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/05 05:02:41 xtraeme Exp $
+#
+
+DISTNAME=      allegro-4.1.13
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=alleg/}
+
+MAINTAINER=    wiz%NetBSD.org@localhost
+HOMEPAGE=      http://alleg.sourceforge.net/
+COMMENT=       Allegro game programming library
+
+USE_BUILDLINK3=                yes
+USE_GNU_TOOLS+=                make
+USE_X11=               yes
+GNU_CONFIGURE=         yes
+
+MAKEFILE=              makefile
+ALL_TARGET=            # there is no 'all' target for some reason
+USE_MAKEINFO=          yes
+INFO_FILES=            allegro.info
+INSTALL_TARGET=                install install-info
+
+# NetBSD's OSS midi emulation is non-existant.
+CONFIGURE_ARGS+=       --disable-ossmidi
+
+LIBS+=         ${LIBOSSAUDIO}
+CFLAGS+=       -DDEVOSSAUDIO=\"\\\"${DEVOSSAUDIO}\\\"\"
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+=   USE_ESOUND
+
+.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+=       --enable-esddigi
+.include "../../audio/esound/buildlink3.mk"
+.endif
+
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 699b68236978 -r 909d00986e06 devel/allegro/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/PLIST       Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,106 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/05 05:02:42 xtraeme Exp $
+bin/allegro-config
+bin/colormap
+bin/dat
+bin/dat2c
+bin/dat2s
+bin/exedat
+bin/grabber
+bin/pack
+bin/pat2dat
+bin/rgbmap
+bin/textconv
+include/allegro.h
+include/allegro/3d.h
+include/allegro/3dmaths.h
+include/allegro/alcompat.h
+include/allegro/alinline.h
+include/allegro/alunixac.h
+include/allegro/base.h
+include/allegro/color.h
+include/allegro/compiled.h
+include/allegro/config.h
+include/allegro/datafile.h
+include/allegro/debug.h
+include/allegro/digi.h
+include/allegro/draw.h
+include/allegro/file.h
+include/allegro/fix.h
+include/allegro/fixed.h
+include/allegro/fli.h
+include/allegro/fmaths.h
+include/allegro/gfx.h
+include/allegro/graphics.h
+include/allegro/gui.h
+include/allegro/inline/3dmaths.inl
+include/allegro/inline/asm.inl
+include/allegro/inline/color.inl
+include/allegro/inline/draw.inl
+include/allegro/inline/file.inl
+include/allegro/inline/fix.inl
+include/allegro/inline/fmaths.inl
+include/allegro/inline/gfx.inl
+include/allegro/inline/matrix.inl
+include/allegro/inline/rle.inl
+include/allegro/inline/system.inl
+include/allegro/internal/aintern.h
+include/allegro/internal/aintvga.h
+include/allegro/internal/alconfig.h
+include/allegro/joystick.h
+include/allegro/keyboard.h
+include/allegro/matrix.h
+include/allegro/midi.h
+include/allegro/mouse.h
+include/allegro/palette.h
+include/allegro/platform/aintbeos.h
+include/allegro/platform/aintdos.h
+include/allegro/platform/aintlnx.h
+include/allegro/platform/aintmac.h
+include/allegro/platform/aintosx.h
+include/allegro/platform/aintqnx.h
+include/allegro/platform/aintunix.h
+include/allegro/platform/aintwin.h
+include/allegro/platform/al386gcc.h
+include/allegro/platform/al386vc.h
+include/allegro/platform/al386wat.h
+include/allegro/platform/albcc32.h
+include/allegro/platform/albecfg.h
+include/allegro/platform/albeos.h
+include/allegro/platform/aldjgpp.h
+include/allegro/platform/aldos.h
+include/allegro/platform/almac.h
+include/allegro/platform/almaccfg.h
+include/allegro/platform/almngw32.h
+include/allegro/platform/almsvc.h
+include/allegro/platform/alosx.h
+include/allegro/platform/alosxcfg.h
+include/allegro/platform/alplatf.h
+include/allegro/platform/alqnx.h
+include/allegro/platform/alqnxcfg.h
+include/allegro/platform/alucfg.h
+include/allegro/platform/alunix.h
+include/allegro/platform/alunixac.h
+include/allegro/platform/alwatcom.h
+include/allegro/platform/alwin.h
+include/allegro/platform/macdef.h
+include/allegro/quat.h
+include/allegro/rle.h
+include/allegro/sound.h
+include/allegro/stream.h
+include/allegro/system.h
+include/allegro/text.h
+include/allegro/timer.h
+include/allegro/unicode.h
+include/linalleg.h
+include/xalleg.h
+lib/allegro/4.1/alleg-dga2.so
+lib/allegro/4.1/modules.lst
+lib/liballeg-${PKGVERSION}.so
+lib/liballeg.so.4.1
+lib/liballeg_unsharable.a
+@dirrm include/allegro/platform
+@dirrm include/allegro/internal
+@dirrm include/allegro/inline
+@dirrm include/allegro
+@dirrm lib/allegro/4.1
+@dirrm lib/allegro
diff -r 699b68236978 -r 909d00986e06 devel/allegro/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/buildlink3.mk       Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/04/05 05:02:42 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+ALLEGRO_BUILDLINK3_MK:=        ${ALLEGRO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    allegro
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nallegro}
+BUILDLINK_PACKAGES+=   allegro
+
+.if !empty(ALLEGRO_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.allegro+=    allegro>=4.1.13
+BUILDLINK_PKGSRCDIR.allegro?=  ../../devel/allegro
+.endif # ALLEGRO_BUILDLINK3_MK
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(USE_ESOUND:M[Yy][Ee][Ss])
+  .include "../../audio/esound/buildlink3.mk"
+.endif
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r 699b68236978 -r 909d00986e06 devel/allegro/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/distinfo    Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/05 05:02:41 xtraeme Exp $
+
+SHA1 (allegro-4.1.13.tar.gz) = 0238c39abdfe9f9de093576b7c66c37665bb8ce8
+Size (allegro-4.1.13.tar.gz) = 2773434 bytes
+SHA1 (patch-aa) = 9cd0b652ac08d121575fc9209203b213657f5682
+SHA1 (patch-ab) = cd316b805e6f4f33cc156b1242696651f5765d9b
+SHA1 (patch-ac) = 510655ab2fdaf0583e0044d974a5a1007e57d822
diff -r 699b68236978 -r 909d00986e06 devel/allegro/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/patches/patch-aa    Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/05 05:02:42 xtraeme Exp $
+
+--- makefile.in.orig   Sun Jun 29 16:27:00 2003
++++ makefile.in        Wed Jul  2 13:50:49 2003
+@@ -59,7 +59,7 @@
+ 
+ INCLUDES =
+ DEFS = @DEFS@ -Iinclude -Iinclude/allegro -I$(srcdir)/include -I$(srcdir)/include/allegro -I.
+-CPPFLAGS = @CPPFLAGS@
++CPPFLAGS = @CPPFLAGS@ -DDEVOSSAUDIO=\"${DEVOSSAUDIO}\"
+ LDFLAGS = @LDFLAGS@
+ PROG_LDFLAGS = @PROG_LDFLAGS@
+ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+@@ -82,7 +82,7 @@
+ COMPILE_S_PROGRAM = $(@COMPILE_S_PROGRAM@)
+ 
+ LIBALLEG = @LIBALLEG@
+-LINK_LIBALLEG = @LINK_LIBALLEG@
++LINK_LIBALLEG = @LINK_LIBALLEG@ ${LIBOSSAUDIO}
+ ALLEGRO_LIB_TARGETS = @ALLEGRO_LIB_TARGETS@
+ ALLEGRO_MODULE_TARGETS = @ALLEGRO_MODULE_TARGETS@
+ 
+@@ -417,17 +417,7 @@
+       fi
+       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       @echo Installing allegro-config to $(DESTDIR)$(bindir)
+-      @$(INSTALL_PROGRAM) allegro-config $(DESTDIR)$(bindir)
+-      @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \
+-              (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \
+-               test $(libdir) = /lib || test $(libdir) = /usr/lib) \
+-              && ($(LDCONFIG) $(libdir) || true) || (\
+-                      echo "" ; \
+-                      echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \
+-                      echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \
+-                      echo "$(libdir) each time you want to run an Allegro program." ; \
+-              ) ; \
+-      fi
++      @$(BSD_INSTALL_SCRIPT) allegro-config $(DESTDIR)$(bindir)
+       @for l in alleg alld allp; do \
+         if test -f $(DESTDIR)$(libdir)/lib$${l}-$(shared_version).so -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so.${shared_major_minor}; then \
+           (cd $(DESTDIR)$(libdir); ln -s lib$${l}-$(shared_version).so lib$${l}.so.${shared_major_minor}); \
diff -r 699b68236978 -r 909d00986e06 devel/allegro/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/patches/patch-ab    Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/05 05:02:42 xtraeme Exp $
+
+--- src/unix/uoss.c.orig       Sun Jun 29 16:27:04 2003
++++ src/unix/uoss.c    Wed Jul  2 13:25:43 2003
+@@ -176,6 +176,8 @@
+        _mix_some_samples((unsigned long) oss_bufdata, 0, oss_signed);
+       }
+    }
++
++   yield_timeslice();
+ }
+ 
+ 
+@@ -191,7 +193,7 @@
+ 
+    ustrzcpy(_oss_driver, sizeof(_oss_driver), get_config_string(uconvert_ascii("sound", tmp1),
+                                                               uconvert_ascii("oss_driver", tmp2),
+-                                                              uconvert_ascii("/dev/dsp", tmp3)));
++                                                              uconvert_ascii(DEVOSSAUDIO, tmp3)));
+ 
+    ustrzcpy(_oss_mixer_driver, sizeof(_oss_mixer_driver), get_config_string(uconvert_ascii("sound", tmp1),
+                                                                           uconvert_ascii("oss_mixer_driver", tmp2),
+@@ -583,6 +585,7 @@
+        p[i] ^= 0x80;
+    }
+ 
++   yield_timeslice();
+    return 1;
+ }
+ 
diff -r 699b68236978 -r 909d00986e06 devel/allegro/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/allegro/patches/patch-ac    Mon Apr 05 05:02:41 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/04/05 05:02:42 xtraeme Exp $
+
+--- setup/setup.c.orig Sun Jun 29 16:27:02 2003
++++ setup/setup.c      Wed Jul  2 13:02:28 2003



Home | Main Index | Thread Index | Old Index