]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- updated alsa9 patch (builds, !tested), made it default
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 28 Aug 2003 22:12:18 +0000 (22:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    allegro-alsa9.patch -> 1.4
    allegro.spec -> 1.38

allegro-alsa9.patch
allegro.spec

index 8b338e573550992fca5f1feef6dff7ce0c1a0d68..2402b9978cb6196fe00273795054aecd871ba5e0 100644 (file)
  
  
  /************************************/
-diff -uNr allegro-4.1.6.old/acconfig.h allegro-4.1.6/acconfig.h
---- allegro-4.1.6.old/acconfig.h       Sat Nov 30 12:13:21 2002
-+++ allegro-4.1.6/acconfig.h   Fri Dec  6 17:40:10 2002
-@@ -79,6 +79,12 @@
- /* Define if ALSA MIDI driver is supported.  */
- #undef ALLEGRO_WITH_ALSAMIDI
-+/* Define if ALSA9 DIGI driver is supported.  */
-+#undef ALLEGRO_WITH_ALSA9DIGI
-+
-+/* Define if ALSA9 MIDI driver is supported.  */
-+#undef ALLEGRO_WITH_ALSA9MIDI
-+
- /* Define if ESD DIGI driver is supported.  */
- #undef ALLEGRO_WITH_ESDDIGI
 diff -uNr allegro-4.1.6.old/aclocal.m4 allegro-4.1.6/aclocal.m4
 --- allegro-4.1.6.old/aclocal.m4       Sat Nov 30 12:13:21 2002
 +++ allegro-4.1.6/aclocal.m4   Fri Dec  6 17:40:10 2002
@@ -130,28 +114,33 @@ diff -uNr allegro-4.1.6.old/allegro.mft allegro-4.1.6/allegro.mft
  allegro/src/unix/arts.c
  allegro/src/unix/sgial.c
  allegro/src/unix/udjgpp.c
-diff -uNr allegro-4.1.6.old/configure.in allegro-4.1.6/configure.in
---- allegro-4.1.6.old/configure.in     Sat Nov 30 12:13:21 2002
-+++ allegro-4.1.6/configure.in Fri Dec  6 17:40:10 2002
-@@ -304,6 +304,17 @@
-   AC_DEFINE(ALLEGRO_WITH_ALSAMIDI)
+--- allegro-4.1.11/configure.in.orig   2003-06-30 01:27:00.000000000 +0200
++++ allegro-4.1.11/configure.in        2003-08-28 22:06:21.582127920 +0200
+@@ -313,6 +313,23 @@
+   _disabled_modules="alsamidi $_disabled_modules"
  fi
  
 +dnl Test for ALSA9 drivers.
 +ALLEGRO_ACTEST_ALSA9DIGI
 +if test "$allegro_cv_support_alsa9digi" = yes; then
-+  AC_DEFINE(ALLEGRO_WITH_ALSA9DIGI)
++  AC_DEFINE(ALLEGRO_WITH_ALSA9DIGI,1,[Define if ALSA9 DIGI driver is supported.])
++  _enabled_modules="alsa9digi $_enabled_modules"
++else
++  _disabled_modules="alsa9digi $_disabled_modules"
 +fi
 +
 +ALLEGRO_ACTEST_ALSA9MIDI
 +if test "$allegro_cv_support_alsa9midi" = yes; then
-+  AC_DEFINE(ALLEGRO_WITH_ALSA9MIDI)
++  AC_DEFINE(ALLEGRO_WITH_ALSA9MIDI,1,[Define if ALSA9 MIDI driver is supported.])
++  _enabled_modules="alsa9midi $_enabled_modules"
++else
++  _disabled_modules="alsa9midi $_disabled_modules"
 +fi
 +
  dnl Test for ESD drivers.
  ALLEGRO_ACTEST_ESDDIGI
  if test -n "$allegro_support_esddigi"; then
-@@ -478,6 +489,16 @@
+@@ -558,6 +575,16 @@
      ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-alsamidi.so"
    fi
  
index 77548267409512cdb07950d48b7bfdc8a5e0551c..dfc89359618cea5f3626559c3227d585b3f0def8 100644 (file)
@@ -5,16 +5,14 @@
 # _without_dbglib      - don't build debug versions of library
 # _without_proflib     - don't debug profiling versions of library
 # _without_svgalib      - without svgalib module
-# _with_alsa9  - use alsa 0.9 not 0.5
+# _with_alsa5          - use alsa 0.5 not 0.9
 #
-
-%define        _without_alsa   1
 %define        _without_arts   1
 
 %ifarch sparc sparc64
 %define        _without_alsa   1
 %endif
-%{!?_without_alsa:%{!?_with_alsa9:%define _with_alsa5 1}}
+%{!?_without_alsa:%{!?_with_alsa5:%define _with_alsa9 1}}
 Summary:       A game programming library
 Summary(de):   Eine Bibliothek zur Programmierung von Spielen
 Summary(es):   Una libreria de programacion de juegos
@@ -395,17 +393,18 @@ Group:            Development/Libraries
 Requires:      %{name} = %{version}
 
 %description examples
-This package contains example programs which are showing
-allegro features.
+This package contains example programs which demonstrate allegro
+features.
 
 %description examples -l pl
-Pakiet zawiera programy przyk³adowe demonstruj±ce mo?liwo¶ci biblioteki allegro.
+Pakiet zawiera programy przyk³adowe demonstruj±ce mo¿liwo¶ci
+biblioteki allegro.
 
 %prep
 %setup  -q
 %patch0 -p1
 %patch1 -p1
-#%patch2 -p1   # you want it, you do it
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 
@@ -580,6 +579,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/exblend
 %attr(755,root,root) %{_bindir}/excamera
 %attr(755,root,root) %{_bindir}/excolmap
+%attr(755,root,root) %{_bindir}/exconfig
 %attr(755,root,root) %{_bindir}/excustom
 %attr(755,root,root) %{_bindir}/exdata
 %attr(755,root,root) %{_bindir}/exdbuf
This page took 0.095819 seconds and 4 git commands to generate.