Your message dated Wed, 25 May 2011 01:58:42 +0000
with message-id <[email protected]>
and subject line Bug#614332: fixed in libsdl1.2 1.2.14-6.4
has caused the Debian Bug report #614332,
regarding libsdl1.2: Build corrections and improvements
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
614332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614332
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libsdl1.2
Source-Version: 1.2.14-6.1
Severity: normal
Tags: patch

Hi!

Here are several fixes to the build infrastructure, I'm attaching only
three patches because several of the changes touch the same lines, so
this avoids ordering and conflict resolution from your side, if you'd
prefer me to split each logical change into different patches, please
say so, and I'll resubmit.

Here's a description of each fix/change:

* Build-Depends:
  - Remove libarts1-dev only libartsc0-dev seems to be needed, this
    also matches the dependency from the -dev package.
  - Change nasm arches from i386 kfreebsd-i386 to any-i386
  - Change libasound2-dev arches from !kfreebsd-i386 !kfreebsd-amd64
    !hurd-i386 to linux-any.
  - Change libusbhid-dev arches from kfreebsd-i386 kfreebsd-amd64 to
    kfreebsd-any.
  - Line-wrapped the field, so that changes are easier to see in the
    future.

* Use DEB_HOST_ARCH* variables instead of DEB_BUILD_ARCH* (HOST is
  the target system, BUILD is the building one). This will fix
  cross-compilation support (although I've not tested if there's
  anything else to fix for that).

* Fix configure flags:
  - Update --enable-dlopen to --enable-sdl-dlopen (although it's yes
    by default).
  - Remove inexistent --enable-dependency-tracking option.
  - Refactor --disable-video-ggi into confflags.
  - Add --enable-nas-shared=no to be consistent with the other audio
    plugins.
  - Add --enable-x11-shared=no, the reason for this one is that this way
    we get proper dependencies, which otherwise we lack. The fact the
    the -all package is getting an libx11 dependency at all is actually
    a bug in the aalib package, which once fixed will imply libsdl does
    not depend on libx11 at all.
  - Add a new flavour_conffflags variable with all video plugins
    disabled except for x11, which will match with the description
    of the packages. And use the flag on the flavour configure calls.
  - Add a print line stating the current flavour being configured and
    its configure flags, to ease tracking what's going on.

I've not removed the inexistent --enable-debug option because the code
handling noop should probably set the correct CFLAGS then, which I've
not had time to implement and test.

thanks,
guillem
>From 3401e3adac731ec5449a46c8750e693635c9cf0f Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Mon, 21 Feb 2011 05:22:22 +0100
Subject: [PATCH 1/3] Fix Build-Depends

---
 debian/control |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/debian/control b/debian/control
index 984d137..9bd622a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,12 @@ Section: libs
 Maintainer: Debian SDL packages maintainers <[email protected]>
 Uploaders: Sam Hocevar (Debian packages) <[email protected]>, Aurelien Jarno <[email protected]>, Josselin Mouette <[email protected]>, Barry deFreese <[email protected]>
 Standards-Version: 3.8.4
-Build-Depends: dpkg (>= 1.13.2), debhelper (>= 5.0), quilt, nasm [i386 kfreebsd-i386], libaa1-dev, libx11-dev, libxext-dev, libxt-dev, libxv-dev, x11proto-core-dev, libaudiofile-dev, libesd0-dev, libpulse-dev, libgl1-mesa-dev, libsvga1-dev [amd64 i386], libarts1-dev, libartsc0-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libaudio-dev, libcaca-dev, libdirectfb-dev (>= 1.0) [!hurd-i386], libusbhid-dev [kfreebsd-i386 kfreebsd-amd64], libglu1-mesa-dev
+Build-Depends: dpkg (>= 1.13.2), debhelper (>= 5.0), quilt, nasm [any-i386],
+ libaa1-dev, libx11-dev, libxext-dev, libxt-dev, libxv-dev, x11proto-core-dev,
+ libaudiofile-dev, libesd0-dev, libpulse-dev, libgl1-mesa-dev,
+ libsvga1-dev [amd64 i386], libartsc0-dev, libasound2-dev [linux-any],
+ libaudio-dev, libcaca-dev, libdirectfb-dev (>= 1.0) [!hurd-i386],
+ libusbhid-dev [kfreebsd-any], libglu1-mesa-dev
 Vcs-Svn: svn://svn.debian.org/pkg-sdl/unstable/libsdl.2
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-sdl/unstable/libsdl1.2/
 Homepage: http://www.libsdl.org/
-- 
1.7.4.1

>From 1854e262f9ba2aae37d1dd7bdf8615acdd427d66 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Mon, 21 Feb 2011 05:23:02 +0100
Subject: [PATCH 2/3] Fix dpkg-architecture variables

---
 debian/rules |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index e30753d..99483f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,11 +14,11 @@ endif
 
 export SHLIBVER=(>= 1.2.10-1)
 
+DEB_HOST_ARCH		?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_OS	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH_CPU	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_BUILD_ARCH		?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-DEB_BUILD_ARCH_OS	?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
-DEB_BUILD_ARCH_CPU	?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
 
 export DEB_HOST_GNU_TYPE
 export DEB_BUILD_GNU_TYPE
@@ -57,24 +57,24 @@ else
 endif
 
 # Only build SVGA support on linux-x86 and linux-amd64
-ifneq (,$(findstring $(DEB_BUILD_ARCH),amd64 i386))
+ifneq (,$(findstring $(DEB_HOST_ARCH),amd64 i386))
   all_confflags += --enable-video-svga
 else
   all_confflags += --disable-video-svga
 endif
 # Only use NASM routines on x86 CPUs
-ifeq ($(DEB_BUILD_ARCH_CPU),i386)
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
   confflags += --enable-nasm
 endif
 
 # Don't use PlayStation 3 Cell driver on powerpc
-ifeq ($(DEB_BUILD_ARCH_CPU),powerpc)
+ifeq ($(DEB_HOST_ARCH_CPU),powerpc)
   confflags += --enable-video-ps3=no \
 	       --disable-altivec
 endif
 
 # Only build ALSA support on Linux targets
-ifeq ($(DEB_BUILD_ARCH_OS),linux)
+ifeq ($(DEB_HOST_ARCH_OS),linux)
   FLAVOURS += alsa
   no_libasound =
 else
-- 
1.7.4.1

>From 9804172760620a7db8d51da395b084215c5dbd69 Mon Sep 17 00:00:00 2001
From: Guillem Jover <[email protected]>
Date: Mon, 21 Feb 2011 05:23:33 +0100
Subject: [PATCH 3/3] Fix configure flags

---
 debian/rules |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 99483f3..c96c578 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,14 +24,17 @@ export DEB_HOST_GNU_TYPE
 export DEB_BUILD_GNU_TYPE
 
 confflags = --prefix=/usr
-confflags += --disable-rpath --enable-dlopen \
-	     --enable-dependency-tracking \
+confflags += --disable-rpath --enable-sdl-dlopen \
+	     --disable-video-ggi \
 	     --enable-arts-shared=no --enable-alsa-shared=no \
-	     --enable-esd-shared=no --enable-pulseaudio-shared=no
-all_confflags = --disable-video-ggi \
-		--enable-video-aalib --enable-video-directfb \
+	     --enable-esd-shared=no --enable-pulseaudio-shared=no \
+	     --enable-nas-shared=no --enable-x11-shared=no
+flavour_conffflags = --enable-video-x11 \
+		     --disable-video-directfb --disable-video-svga \
+		     --disable-video-aalib --disable-video-caca
+all_confflags = --enable-video-directfb --enable-video-aalib \
 		--enable-video-caca
-udeb_confflags = --enable-video-directfb --disable-video-ggi \
+udeb_confflags = --enable-video-directfb \
 		 --disable-video-svga --disable-video-x11 \
 		 --disable-video-aalib --disable-dga --disable-video-photon \
 		 --disable-video-fbcon --disable-video-ps2gs \
@@ -92,7 +95,7 @@ configure-stamp:
 	    elif ( [ "$$dir" = "udeb" ] ); then \
 	        SWITCHES="$(udeb_confflags)"; \
 	    else \
-	        SWITCHES=""; \
+	        SWITCHES="$(flavour_conffflags)"; \
 	        for switch in $(FLAVOURS); do \
 	            if ( [ "$$dir" = "$$switch" ] ); then \
 	                SWITCHES="$$SWITCHES --enable-$$switch"; \
@@ -102,6 +105,7 @@ configure-stamp:
 	        done; \
 	    fi; \
 	    mkdir -p builddir/$$dir; \
+	    echo "Configuring flavour $$dir with flags: $$SWITCHES"; \
 	    (cd builddir/$$dir; ../../configure $(confflags) $$SWITCHES); \
 	done
 	touch configure-stamp
-- 
1.7.4.1


--- End Message ---
--- Begin Message ---
Source: libsdl1.2
Source-Version: 1.2.14-6.4

We believe that the bug you reported is fixed in the latest version of
libsdl1.2, which is due to be installed in the Debian FTP archive:

libsdl1.2-dev_1.2.14-6.4_amd64.deb
  to main/libs/libsdl1.2/libsdl1.2-dev_1.2.14-6.4_amd64.deb
libsdl1.2_1.2.14-6.4.diff.gz
  to main/libs/libsdl1.2/libsdl1.2_1.2.14-6.4.diff.gz
libsdl1.2_1.2.14-6.4.dsc
  to main/libs/libsdl1.2/libsdl1.2_1.2.14-6.4.dsc
libsdl1.2debian-udeb_1.2.14-6.4_amd64.udeb
  to main/libs/libsdl1.2/libsdl1.2debian-udeb_1.2.14-6.4_amd64.udeb
libsdl1.2debian_1.2.14-6.4_amd64.deb
  to main/libs/libsdl1.2/libsdl1.2debian_1.2.14-6.4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <[email protected]> (supplier of updated libsdl1.2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 24 May 2011 22:51:57 +0200
Source: libsdl1.2
Binary: libsdl1.2debian libsdl1.2debian-udeb libsdl1.2-dev
Architecture: source amd64
Version: 1.2.14-6.4
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers 
<[email protected]>
Changed-By: Josselin Mouette <[email protected]>
Description: 
 libsdl1.2-dev - Simple DirectMedia Layer development files
 libsdl1.2debian - Simple DirectMedia Layer
 libsdl1.2debian-udeb - Simple DirectMedia Layer (with directfb graphics and no 
sound) (udeb)
Closes: 614332
Changes: 
 libsdl1.2 (1.2.14-6.4) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Build improvements from Guillem Jover that should really have gone
     with the previous upload. Closes: #614332.
     + Line-wrap build-depends.
     + Use -any syntax for architecture-specific stuff.
     + Fix cross-compilation by using DEB_HOST_* variables.
     + Update or remove non-existing configure flags.
     + Forbid dlopening for X11.
   * Use --enable-debug with the debug keyword, not the noopt one.
   * Refactor configure options.
   * Disable NAS. We have PulseAudio now.
   * Pass --disable-loadso, just to be sure.
Checksums-Sha1: 
 2b371d3d7bd684a09909b8400631bca196c2c1c1 1554 libsdl1.2_1.2.14-6.4.dsc
 2f338b8a0b73e319f961c213ef546c2d76bc594a 335559 libsdl1.2_1.2.14-6.4.diff.gz
 7eb2a55fc9a423aae108b7013e9acdc5d6338ff9 219864 
libsdl1.2debian_1.2.14-6.4_amd64.deb
 3882b7db86990fe1bf5f56ee83727fc3dde0f830 118348 
libsdl1.2debian-udeb_1.2.14-6.4_amd64.udeb
 0128a6792fb436ace2a01a031866b3c4c2235c8f 857954 
libsdl1.2-dev_1.2.14-6.4_amd64.deb
Checksums-Sha256: 
 2d4e90d4754e8337341f3581599fc0f59b68aab052267804362c1dd605659988 1554 
libsdl1.2_1.2.14-6.4.dsc
 f6585833c5e8d1629f69ebb724920f4fb97be6b39196dca648c39852aefbcb30 335559 
libsdl1.2_1.2.14-6.4.diff.gz
 a2a15e9605a45bb695e70918309537e54532bb0bd1a65f8ef69227f805850740 219864 
libsdl1.2debian_1.2.14-6.4_amd64.deb
 126b63df81c86f52ddd90286c130a824689c10e6a6e6a02c85ea834697939261 118348 
libsdl1.2debian-udeb_1.2.14-6.4_amd64.udeb
 547e400873da7969bf4f2290bbdb8a7296bdddb6b8d0fa1d78fb62386b67e410 857954 
libsdl1.2-dev_1.2.14-6.4_amd64.deb
Files: 
 6fd0ee3940e3e5fcd69f75f5d8acde6c 1554 libs optional libsdl1.2_1.2.14-6.4.dsc
 b73c3deef84262f40ef6d6ca79a0d59b 335559 libs optional 
libsdl1.2_1.2.14-6.4.diff.gz
 167d344cae5b4b404aeead1b19a6c1f9 219864 libs optional 
libsdl1.2debian_1.2.14-6.4_amd64.deb
 615cb996a13b71b3052128107cc35046 118348 debian-installer extra 
libsdl1.2debian-udeb_1.2.14-6.4_amd64.udeb
 91fa2cc4073cef55e3f87e2b61e32d1b 857954 libdevel optional 
libsdl1.2-dev_1.2.14-6.4_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFN3B22rSla4ddfhTMRAhBkAKCyeaIK8pfuLDSjpK9h/ggxMO4MYgCeN8yQ
kOv+dcdzt+EZq9skudwWFgI=
=UnPS
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to