Re: [AD] 4.0.1 release

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> The BeOS breakage is minor and already fixed in the 4.0.x branch, but the
> FreeBSD one has not yet been investigated because of a lack of access to
> the platform. Therefore the release is delayed until Sunday, 17.

Here's the list of pending issues/patches:

- X11 MIT-SHM extension bug: patch seems ok

--- cvsroot/allegro/src/x/xwin.c Sat Feb  9 13:29:47 2002
+++ allegro/src/x/xwin.c Mon Mar 11 23:34:45 2002
@@ -1103,8 +1103,10 @@
     _xwin.shminfo.readOnly = True;

     /* Attach shared memory to the X-server address space.  */
-    if (XShmAttach(_xwin.display, &_xwin.shminfo))
+    if (XShmAttach(_xwin.display, &_xwin.shminfo)) {
+                     XSync(_xwin.display, False);
        break;
+           }

     shmdt(_xwin.shminfo.shmaddr);
         }


- VGA module autodetection bug: patch seems ok

--- cvsroot/allegro/configure.in Tue Mar 12 21:16:02 2002
+++ allegro/configure.in Wed Mar 13 00:30:56 2002
@@ -382,6 +382,7 @@
     AC_CHECK_HEADERS(sys/io.h linux/joystick.h)

     if test "$allegro_enable_vga" = yes; then
+      allegro_support_vga=yes
       AC_DEFINE(ALLEGRO_LINUX_VGA)
     fi

@@ -434,7 +435,7 @@
 if test -n "$allegro_support_modules"; then

   dnl VGA/ModeX.
-  if test "X$allegro_enable_vga" = "Xyes"; then
+  if test "X$allegro_support_vga" = "Xyes"; then
     ALLEGRO_MODULE_TARGETS="$ALLEGRO_MODULE_TARGETS lib/unix/alleg-vga.so"
   fi


- (FreeBSD) conflict between libdl and libc: patch untested

--- cvsroot/allegro/aclocal.m4 Wed Mar 13 10:54:48 2002
+++ allegro/aclocal.m4 Wed Mar 13 11:14:48 2002
@@ -180,10 +180,13 @@
         allegro_cv_support_export_dynamic=yes)
       LDFLAGS="$allegro_save_LDFLAGS"])
     if test $allegro_cv_support_export_dynamic = yes; then
-      allegro_support_modules=yes
-      dnl Use libdl if found, else assume dl* functions in libc.
-      AC_CHECK_LIB(dl, dlopen,
-        [LIBS="-ldl $LIBS"])
+      dnl Look for dl* functions first in libc, then in libdl.
+      dnl This order is required for FreeBSD (and *BSD?).
+      AC_CHECK_FUNC(dlopen,
+        allegro_support_modules=yes,
+        AC_CHECK_LIB(dl, dlopen,
+          [LIBS="-ldl $LIBS"; allegro_support_modules=yes],
+          AC_MSG_WARN([Could not find dlopen -- modules disabled])))
       LDFLAGS="-Wl,-export-dynamic $LDFLAGS"
     fi])
 fi


- (FreeBSD) make install broken: patch untested

--- cvsroot/allegro/makefile.in 3 Mar 2002 11:20:28 -0000 1.27
+++ allegro/makefile.in 13 Mar 2002 05:39:54 -0000
@@ -332,9 +332,13 @@
    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." ; \
-   $(LDCONFIG) -n $(libdir) ; \
   ) ; \
  fi
+ @for l in alleg alld allp; do \
+   if test -f $(libdir)/lib$${l}-$(shared_version).so -a \! -L
$(libdir)/lib$${l}.so.${shared_major_minor}; then \
+     (cd $(libdir); ln -s lib$${l}-$(shared_version).so
lib$${l}.so.${shared_major_minor}); \
+   fi; \
+ done

 install-headers:
  $(mkinstalldirs) $(includedir)/allegro
@@ -423,8 +427,8 @@
  @echo "Uninstalling shared libraries..."
  @for l in alleg alld allp; do \
    rm -f $(libdir)/lib$${l}-${shared_version}.so; \
+   rm -f $(libdir)/lib$${l}.so.${shared_major_minor}; \
  done
- $(LDCONFIG) -n $(libdir)    # remove symlinks
  -$(LDCONFIG) $(libdir)       # update cache (only works if we're root)

 uninstall-modules:


Is the list complete ? If so, I plan to make a beta3 release on Thursday
evening (22:00 GMT).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/