SOURCES (ALLEGRO_WIP-5_0): allegro-config.patch, allegro-examples.patch, al...

lisu lisu at pld-linux.org
Mon May 12 13:21:01 CEST 2008


Author: lisu                         Date: Mon May 12 11:21:01 2008 GMT
Module: SOURCES                       Tag: ALLEGRO_WIP-5_0
---- Log message:
- update for 4.9.3 version

---- Files affected:
SOURCES:
   allegro-config.patch (1.2.2.1 -> 1.2.2.2) , allegro-examples.patch (1.5.2.1 -> 1.5.2.2) , allegro-frame-pointer.patch (1.4.2.1 -> 1.4.2.2) , allegro-info.patch (1.6.2.1 -> 1.6.2.2) , allegro-ldflags.patch (1.2.2.1 -> 1.2.2.2) , allegro-opt.patch (1.9.2.1 -> 1.9.2.2) 

---- Diffs:

================================================================
Index: SOURCES/allegro-config.patch
diff -u SOURCES/allegro-config.patch:1.2.2.1 SOURCES/allegro-config.patch:1.2.2.2
--- SOURCES/allegro-config.patch:1.2.2.1	Tue Mar 25 17:16:11 2008
+++ SOURCES/allegro-config.patch	Mon May 12 13:20:56 2008
@@ -1,14 +1,14 @@
---- allegro-4.9.2/misc/allegro5-config.in~	2008-03-25 13:59:19.972388263 +0100
-+++ allegro-4.9.2/misc/allegro5-config.in	2008-03-25 14:00:44.783109368 +0100
+--- allegro-4.9.3/misc/allegro5-config.in~	2008-05-12 13:17:40.502753489 +0200
++++ allegro-4.9.3/misc/allegro5-config.in	2008-05-12 13:18:32.301896453 +0200
 @@ -185,9 +185,9 @@
- if test "$echo_libs" = "yes"; then
-    libdirs=-L$lib_path
-    if test "$static_libs" = "yes"; then
--      echo $libdirs $allegro_ldflags -l$lib_type $allegro_libs
-+      echo $libdirs$allegro_ldflags -l${lib_type} $allegro_libs
-    else
--      echo $libdirs $allegro_ldflags -l$lib_type-$version
-+      echo $libdirs$allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
-    fi
- fi
- 
+ if test "$echo_libs" = "yes"; then
+    libdirs=-L$lib_path
+    if test "$static_libs" = "yes"; then
+-      echo $libdirs $allegro_ldflags -l$lib_type $allegro_libs
++      echo $libdirs$allegro_ldflags -l${lib_type} $allegro_libs
+    else
+-      echo $libdirs $allegro_ldflags -l$lib_type-$version
++      echo $libdirs$allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
+    fi
+ fi
+ 

================================================================
Index: SOURCES/allegro-examples.patch
diff -u SOURCES/allegro-examples.patch:1.5.2.1 SOURCES/allegro-examples.patch:1.5.2.2
--- SOURCES/allegro-examples.patch:1.5.2.1	Tue Mar 25 17:16:12 2008
+++ SOURCES/allegro-examples.patch	Mon May 12 13:20:56 2008
@@ -1,24 +1,24 @@
 --- allegro-4.9.2/makefile.in~	2008-03-25 13:37:50.960766155 +0100
 +++ allegro-4.9.2/makefile.in	2008-03-25 13:40:51.949418447 +0100
-@@ -536,7 +536,7 @@
- 	  $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/allegro5/platform/; \
- 	done
- 
--INSTALL_EXES = $(filter tools/%, $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES))
-+INSTALL_EXES = $(filter tools/% demo/% setup/% tests/% examples/%, $(ALLEGRO_EXE_TARGETS))
- 
- install-programs: $(INSTALL_EXES)
- 	$(mkinstalldirs) $(DESTDIR)$(bindir)
-@@ -624,9 +624,9 @@
- 	rm -rf $(includedir)/allegro5
- 
- uninstall-programs:
--	@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES); do \
--	  if test "X`echo $$prog | sed -e s,tools/.\*,,`" = X; then \
--	    p=`echo $$prog | sed -e s,tools/,,`; \
-+	  @for prog in $(ALLEGRO_EXE_TARGETS); do \
-+	    if test "X`echo $$prog | sed -e s,.*/.\*,,`" = X; then \ 
-+	      p=`echo $$prog | sed -e s,,,`; \
- 	    echo rm -f $(bindir)/$$p; \
- 	    rm -f $(bindir)/$$p; \
- 	  fi; \
+@@ -539,7 +536,7 @@
+ 	  $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/allegro5/platform/; \
+ 	done
+ 
+-INSTALL_EXES = $(filter tools/%, $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES))
++INSTALL_EXES = $(filter tools/% demo/% setup/% tests/% examples/%, $(ALLEGRO_EXE_TARGETS))
+ 
+ install-programs: $(INSTALL_EXES)
+ 	$(mkinstalldirs) $(DESTDIR)$(bindir)
+@@ -627,9 +627,9 @@
+ 	rm -rf $(includedir)/allegro5
+ 
+ uninstall-programs:
+-	@for prog in $(ALLEGRO_LIB_EXES) $(ALLEGRO_DATAFILE_EXES); do \
+-	  if test "X`echo $$prog | sed -e s,tools/.\*,,`" = X; then \
+-	    p=`echo $$prog | sed -e s,tools/,,`; \
++	  @for prog in $(ALLEGRO_EXE_TARGETS); do \
++	    if test "X`echo $$prog | sed -e s,.*/.\*,,`" = X; then \ 
++	      p=`echo $$prog | sed -e s,,,`; \
+ 	    echo rm -f $(bindir)/$$p; \
+ 	    rm -f $(bindir)/$$p; \
+ 	  fi; \

================================================================
Index: SOURCES/allegro-frame-pointer.patch
diff -u SOURCES/allegro-frame-pointer.patch:1.4.2.1 SOURCES/allegro-frame-pointer.patch:1.4.2.2
--- SOURCES/allegro-frame-pointer.patch:1.4.2.1	Tue Mar 25 17:16:12 2008
+++ SOURCES/allegro-frame-pointer.patch	Mon May 12 13:20:56 2008
@@ -1,20 +1,20 @@
---- allegro-4.9.2/configure.in~	2008-03-25 13:48:59.559395652 +0100
-+++ allegro-4.9.2/configure.in	2008-03-25 13:58:36.726987554 +0100
+--- allegro-4.9.3/configure.in~	2008-05-12 13:15:15.712498354 +0200
++++ allegro-4.9.3/configure.in	2008-05-12 13:16:17.228772516 +0200
 @@ -275,7 +275,7 @@
-   COMPILE_PROGRAM=COMPILE_DEBUG
-   COMPILE_CXX_PROGRAM=COMPILE_CXX_DEBUG
-   COMPILE_S_PROGRAM=COMPILE_S_DEBUG
--  PROG_LDFLAGS="-g \$(LDFLAGS)"
-+  PROG_LDFLAGS="-fno-omit-frame-pointer -pg \$(LDFLAGS)"
-   LIB_TO_LINK=alld
-   PLUGIN_LIB=lib/unix/libaddat.a
-   allegro_build_debugging_library=yes
+   COMPILE_PROGRAM=COMPILE_DEBUG
+   COMPILE_CXX_PROGRAM=COMPILE_CXX_DEBUG
+   COMPILE_S_PROGRAM=COMPILE_S_DEBUG
+-  PROG_LDFLAGS="-g \$(LDFLAGS)"
++  PROG_LDFLAGS="-fno-omit-frame-pointer -pg \$(LDFLAGS)"
+   LIB_TO_LINK=alld
+   PLUGIN_LIB=lib/unix/libaddat.a
+   allegro_build_debugging_library=yes
 @@ -824,7 +824,7 @@
-      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
-   fi
-   CFLAGS="$CFLAGS $TARGET_ARCH"
--  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
-+  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -fno-omit-frame-pointer -pg $WFLAGS"
-   ALLEGRO_SFLAGS="-x assembler-with-cpp"
-   ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
- else
+      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
+   fi
+   CFLAGS="$CFLAGS $TARGET_ARCH"
+-  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
++  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -fno-omit-frame-pointer -pg $WFLAGS"
+   ALLEGRO_SFLAGS="-x assembler-with-cpp"
+   ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
+ else

================================================================
Index: SOURCES/allegro-info.patch
diff -u SOURCES/allegro-info.patch:1.6.2.1 SOURCES/allegro-info.patch:1.6.2.2
--- SOURCES/allegro-info.patch:1.6.2.1	Tue Mar 25 17:16:12 2008
+++ SOURCES/allegro-info.patch	Mon May 12 13:20:56 2008
@@ -1,11 +1,11 @@
---- allegro-4.9.2/docs/src/allegro._tx~	2008-03-24 20:21:49.962436955 +0100
-+++ allegro-4.9.2/docs/src/allegro._tx	2008-03-24 20:22:11.686808839 +0100
+--- allegro-4.9.3/docs/src/allegro._tx~	2008-05-12 12:56:55.637348729 +0200
++++ allegro-4.9.3/docs/src/allegro._tx	2008-05-12 12:57:43.472968879 +0200
 @@ -31,7 +31,7 @@
- @# This should remain commented at the moment (dvi output) @$@finalout
- @$
- @$@ifinfo
--@$@dircategory Libraries
-+@$@dircategory Libraries:
- @$@direntry
- @$* Allegro: (allegro).			The Allegro game programming library.
- @$@end direntry
+ @# This should remain commented at the moment (dvi output) @$@finalout
+ @$
+ @$@ifinfo
+-@$@dircategory Libraries
++@$@dircategory Libraries:
+ @$@direntry
+ @$* Allegro: (allegro).			The Allegro game programming library.
+ @$@end direntry

================================================================
Index: SOURCES/allegro-ldflags.patch
diff -u SOURCES/allegro-ldflags.patch:1.2.2.1 SOURCES/allegro-ldflags.patch:1.2.2.2
--- SOURCES/allegro-ldflags.patch:1.2.2.1	Tue Mar 25 17:16:12 2008
+++ SOURCES/allegro-ldflags.patch	Mon May 12 13:20:56 2008
@@ -1,11 +1,11 @@
---- allegro-4.9.2/misc/allegro5-config.in~	2008-01-18 23:45:23.000000000 +0100
-+++ allegro-4.9.2/misc/allegro5-config.in	2008-03-25 13:48:06.266847963 +0100
+--- allegro-4.9.3/misc/allegro5-config.in~	2008-05-12 13:14:13.419520397 +0200
++++ allegro-4.9.3/misc/allegro5-config.in	2008-05-12 13:14:49.567915163 +0200
 @@ -26,7 +26,7 @@
- 
- accepts_frameworks=no
- 
--allegro_ldflags="@LDFLAGS@"
-+allegro_ldflags=""
- allegro_libs="@LIBS@"
- allegro_frameworks="@FRAMEWORKS@"
- allegro_cflags=""
+ 
+ accepts_frameworks=no
+ 
+-allegro_ldflags="@LDFLAGS@"
++allegro_ldflags=""
+ allegro_libs="@LIBS@"
+ allegro_frameworks="@FRAMEWORKS@"
+ allegro_cflags=""

================================================================
Index: SOURCES/allegro-opt.patch
diff -u SOURCES/allegro-opt.patch:1.9.2.1 SOURCES/allegro-opt.patch:1.9.2.2
--- SOURCES/allegro-opt.patch:1.9.2.1	Tue Mar 25 17:16:12 2008
+++ SOURCES/allegro-opt.patch	Mon May 12 13:20:56 2008
@@ -1,57 +1,57 @@
---- allegro-4.9.2/configure.in~	2008-03-25 13:41:52.555649102 +0100
-+++ allegro-4.9.2/configure.in	2008-03-25 13:45:51.993762276 +0100
+--- allegro-4.9.3/configure.in~	2008-05-12 13:00:38.307993655 +0200
++++ allegro-4.9.3/configure.in	2008-05-12 13:13:44.638144481 +0200
 @@ -815,38 +815,7 @@
- 
- dnl How to compile C and asm files.
- if test -n "$GCC"; then
--  if test "X$allegro_strict_warnings" = "Xyes"; then
--    WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused-parameter -Werror"
--  else
--    WFLAGS="-Wall -Wno-unused"
--  fi
--  if test "X$allegro_cv_processor_type" = "Xi386"; then
--    if test "$allegro_exclusive_optimizations" != none; then
--      TARGET_ARCH="-march=$allegro_exclusive_optimizations"
--    elif test "X$allegro_cv_support_i386_mtune" = "Xyes"; then
--      TARGET_ARCH="-mtune=$allegro_optimizations"
--    else
--      TARGET_ARCH="-mcpu=$allegro_optimizations"
--    fi
--  elif test "X$allegro_cv_processor_type" = "Xamd64"; then
--    dnl Change default pentium->athlon64
--    if test "X$allegro_optimizations" = "Xpentium"; then
--      allegro_optimizations="k8"
--    fi
--    if test "$allegro_exclusive_optimizations" != none; then
--      TARGET_ARCH="-march=$allegro_exclusive_optimizations"
--    elif test "X$allegro_cv_support_amd64_mtune" = "Xyes"; then
--      TARGET_ARCH="-mtune=$allegro_optimizations"
--    else
--      TARGET_ARCH="-mcpu=$allegro_optimizations"
--    fi
--  else
--    TARGET_ARCH=
--  fi
--  dnl Allow to specify additional flags.
--  CFLAGS="$CFLAGS $XCFLAGS"
--  WFLAGS="$WFLAGS $WCFLAGS"
--  dnl In this order...
-+  WFLAGS="-Wall -Wno-unused"
-   ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE"
-   if test "X$allegro_debug_with_fortify" = "Xyes"; then
-      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
+ 
+ dnl How to compile C and asm files.
+ if test -n "$GCC"; then
+-  if test "X$allegro_strict_warnings" = "Xyes"; then
+-    WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused-parameter -Werror"
+-  else
+-    WFLAGS="-Wall -Wno-unused"
+-  fi
+-  if test "X$allegro_cv_processor_type" = "Xi386"; then
+-    if test "$allegro_exclusive_optimizations" != none; then
+-      TARGET_ARCH="-march=$allegro_exclusive_optimizations"
+-    elif test "X$allegro_cv_support_i386_mtune" = "Xyes"; then
+-      TARGET_ARCH="-mtune=$allegro_optimizations"
+-    else
+-      TARGET_ARCH="-mcpu=$allegro_optimizations"
+-    fi
+-  elif test "X$allegro_cv_processor_type" = "Xamd64"; then
+-    dnl Change default pentium->athlon64
+-    if test "X$allegro_optimizations" = "Xpentium"; then
+-      allegro_optimizations="k8"
+-    fi
+-    if test "$allegro_exclusive_optimizations" != none; then
+-      TARGET_ARCH="-march=$allegro_exclusive_optimizations"
+-    elif test "X$allegro_cv_support_amd64_mtune" = "Xyes"; then
+-      TARGET_ARCH="-mtune=$allegro_optimizations"
+-    else
+-      TARGET_ARCH="-mcpu=$allegro_optimizations"
+-    fi
+-  else
+-    TARGET_ARCH=
+-  fi
+-  dnl Allow to specify additional flags.
+-  CFLAGS="$CFLAGS $XCFLAGS"
+-  WFLAGS="$WFLAGS $WCFLAGS"
+-  dnl In this order...
++  WFLAGS="-Wall -Wno-unused"
+   ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE"
+   if test "X$allegro_debug_with_fortify" = "Xyes"; then
+      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
 @@ -854,12 +823,8 @@
-   if test "X$allegro_debug_with_dmalloc" = "Xyes"; then
-      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
-   fi
--  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
--  if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
--    CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
--  else
--    CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
--  fi
-+  CFLAGS="$CFLAGS $TARGET_ARCH"
-+  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
-   ALLEGRO_SFLAGS="-x assembler-with-cpp"
-   ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
- else
+   if test "X$allegro_debug_with_dmalloc" = "Xyes"; then
+      ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
+   fi
+-  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
+-  if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
+-    CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
+-  else
+-    CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
+-  fi
++  CFLAGS="$CFLAGS $TARGET_ARCH"
++  ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
+   ALLEGRO_SFLAGS="-x assembler-with-cpp"
+   ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
+ else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-config.patch?r1=1.2.2.1&r2=1.2.2.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-examples.patch?r1=1.5.2.1&r2=1.5.2.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-frame-pointer.patch?r1=1.4.2.1&r2=1.4.2.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-info.patch?r1=1.6.2.1&r2=1.6.2.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-ldflags.patch?r1=1.2.2.1&r2=1.2.2.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/allegro-opt.patch?r1=1.9.2.1&r2=1.9.2.2&f=u



More information about the pld-cvs-commit mailing list