Your message dated Sun, 15 Jun 2008 23:03:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485618: fixed in xulrunner 1.9~rc2-3
has caused the Debian Bug report #485618,
regarding -fshort-wchar hardcoded in .pc files
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.)


-- 
485618: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485618
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: xulrunner
Version: 1.9~rc2-2
Severity: importants
Tags: patch

As monitored while building gnome-python-extras[1], The .pc files
hard-code -fshort-char regardless of what is actually the result
of configure checks. The attached patch exports -fshort-char only
if it was used during build of xulrunner. I'd rather have not used
AC_SUBST, but I don't have enough autoconf understanding to see
why it didn't work without it...

[1] 
http://buildd.debian.org/fetch.cgi?pkg=gnome-python-extras;ver=2.19.1-2;arch=armel;stamp=1213084719

-- 
"rm -rf" only sounds scary if you don't have backups
diff -u xulrunner-1.9~rc2/configure xulrunner-1.9~rc2/configure
--- xulrunner-1.9~rc2/configure
+++ xulrunner-1.9~rc2/configure
@@ -8053,6 +8053,7 @@
 EOF
 
         HAVE_CPP_2BYTE_WCHAR_T=1
+        WCHAR_CFLAGS="-fshort-wchar"
     else    
         CXXFLAGS=$_SAVE_CXXFLAGS
     fi
@@ -21759,6 +21761,7 @@
 [EMAIL PROTECTED]@%$BZ2_LIBS%g
 [EMAIL PROTECTED]@%$PNG_CFLAGS%g
 [EMAIL PROTECTED]@%$PNG_LIBS%g
[EMAIL PROTECTED]@%$WCHAR_CFLAGS%g
 [EMAIL PROTECTED]@%$MOZ_JPEG_CFLAGS%g
 [EMAIL PROTECTED]@%$MOZ_JPEG_LIBS%g
 [EMAIL PROTECTED]@%$MOZ_ZLIB_CFLAGS%g
diff -u xulrunner-1.9~rc2/configure.in xulrunner-1.9~rc2/configure.in
--- xulrunner-1.9~rc2/configure.in
+++ xulrunner-1.9~rc2/configure.in
@@ -2784,6 +2784,7 @@
     if test "$ac_cv_have_usable_wchar_option_v2" = "yes"; then
         AC_DEFINE(HAVE_CPP_2BYTE_WCHAR_T)
         HAVE_CPP_2BYTE_WCHAR_T=1
+        WCHAR_CFLAGS="-fshort-wchar"
     else    
         CXXFLAGS=$_SAVE_CXXFLAGS
     fi
@@ -7962,6 +7963,7 @@
 AC_SUBST(BZ2_LIBS)
 AC_SUBST(PNG_CFLAGS)
 AC_SUBST(PNG_LIBS)
+AC_SUBST(WCHAR_CFLAGS)
 
 AC_SUBST(MOZ_JPEG_CFLAGS)
 AC_SUBST(MOZ_JPEG_LIBS)
diff -u xulrunner-1.9~rc2/debian/changelog xulrunner-1.9~rc2/debian/changelog
--- xulrunner-1.9~rc2/debian/changelog
+++ xulrunner-1.9~rc2/debian/changelog
@@ -1,3 +1,10 @@
+xulrunner (1.9~rc2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Export -fshort-wchar in .pc only if defined on platform
+
+ -- Riku Voipio <[EMAIL PROTECTED]>  Tue, 10 Jun 2008 11:21:01 +0300
+
 xulrunner (1.9~rc2-1) unstable; urgency=low
 
   * modules/libjar/nsJAR.cpp: Apply patch from Alexander Sack to avoid
diff -u xulrunner-1.9~rc2/xulrunner/installer/Makefile.in 
xulrunner-1.9~rc2/xulrunner/installer/Makefile.in
--- xulrunner-1.9~rc2/xulrunner/installer/Makefile.in
+++ xulrunner-1.9~rc2/xulrunner/installer/Makefile.in
@@ -41,6 +41,7 @@
 topsrcdir      = @top_srcdir@
 srcdir         = @srcdir@
 VPATH          = @srcdir@
+WCHAR_CFLAGS = @WCHAR_CFLAGS@
 
 include $(DEPTH)/config/autoconf.mk
 
@@ -118,6 +119,7 @@
        -e "s|%sdkdir%|$(sdkdir)|" \
        -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
        -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
+       -e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \
        -e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \
        -e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" \
        -e "s|%NSPR_NAME%|$(NSPR_NAME)|" \
only in patch2:
unchanged:
--- xulrunner-1.9~rc2.orig/xulrunner/installer/libxul.pc.in
+++ xulrunner-1.9~rc2/xulrunner/installer/libxul.pc.in
@@ -13,4 +13,4 @@
 Version: %MOZILLA_VERSION%
 Requires: %NSPR_NAME% >= %NSPR_VERSION%
 Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
-Cflags: -I${includedir}/${includetype} -fshort-wchar
\ No newline at end of file
+Cflags: -I${includedir}/${includetype} %WCHAR_CFLAGS%
only in patch2:
unchanged:
--- xulrunner-1.9~rc2.orig/xulrunner/installer/libxul-unstable.pc.in
+++ xulrunner-1.9~rc2/xulrunner/installer/libxul-unstable.pc.in
@@ -9,4 +9,4 @@
 Version: %MOZILLA_VERSION%
 Requires: %NSPR_NAME% >= %NSPR_VERSION%
 Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
-Cflags: -I${includedir}/${includetype} -fshort-wchar
+Cflags: -I${includedir}/${includetype} %WCHAR_CFLAGS%
only in patch2:
unchanged:
--- xulrunner-1.9~rc2.orig/xulrunner/installer/libxul-embedding.pc.in
+++ xulrunner-1.9~rc2/xulrunner/installer/libxul-embedding.pc.in
@@ -12,4 +12,4 @@
 Description: Static library for version-independent embedding of the Mozilla 
runtime
 Version: %MOZILLA_VERSION%
 Libs: -L${sdkdir}/lib -lxpcomglue
-Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar
+Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} %WCHAR_CFLAGS%
only in patch2:
unchanged:
--- xulrunner-1.9~rc2.orig/xulrunner/installer/libxul-embedding-unstable.pc.in
+++ xulrunner-1.9~rc2/xulrunner/installer/libxul-embedding-unstable.pc.in
@@ -8,4 +8,4 @@
 Description: Static library for version-independent embedding of the Mozilla 
runtime (unstable API)
 Version: %MOZILLA_VERSION%
 Libs: -L${sdkdir}/lib -lxpcomglue
-Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar
+Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} %WCHAR_CFLAGS%

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: xulrunner
Source-Version: 1.9~rc2-3

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

libmozillainterfaces-java_1.9~rc2-3_all.deb
  to pool/main/x/xulrunner/libmozillainterfaces-java_1.9~rc2-3_all.deb
libmozjs-dev_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/libmozjs-dev_1.9~rc2-3_amd64.deb
libmozjs1d-dbg_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/libmozjs1d-dbg_1.9~rc2-3_amd64.deb
libmozjs1d_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/libmozjs1d_1.9~rc2-3_amd64.deb
python-xpcom_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/python-xpcom_1.9~rc2-3_amd64.deb
spidermonkey-bin_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/spidermonkey-bin_1.9~rc2-3_amd64.deb
xulrunner-1.9-dbg_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/xulrunner-1.9-dbg_1.9~rc2-3_amd64.deb
xulrunner-1.9-gnome-support_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/xulrunner-1.9-gnome-support_1.9~rc2-3_amd64.deb
xulrunner-1.9_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/xulrunner-1.9_1.9~rc2-3_amd64.deb
xulrunner-dev_1.9~rc2-3_amd64.deb
  to pool/main/x/xulrunner/xulrunner-dev_1.9~rc2-3_amd64.deb
xulrunner_1.9~rc2-3.diff.gz
  to pool/main/x/xulrunner/xulrunner_1.9~rc2-3.diff.gz
xulrunner_1.9~rc2-3.dsc
  to pool/main/x/xulrunner/xulrunner_1.9~rc2-3.dsc



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.
Mike Hommey <[EMAIL PROTECTED]> (supplier of updated xulrunner 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: Sun, 15 Jun 2008 22:11:16 +0200
Source: xulrunner
Binary: xulrunner-1.9 xulrunner-1.9-gnome-support libmozjs1d libmozjs-dev 
libmozjs1d-dbg spidermonkey-bin xulrunner-dev xulrunner-1.9-dbg 
libmozillainterfaces-java python-xpcom
Architecture: source all amd64
Version: 1.9~rc2-3
Distribution: unstable
Urgency: low
Maintainer: Mike Hommey <[EMAIL PROTECTED]>
Changed-By: Mike Hommey <[EMAIL PROTECTED]>
Description: 
 libmozillainterfaces-java - XPCOM bindings for Java
 libmozjs-dev - Development files for the Mozilla SpiderMonkey JavaScript 
library
 libmozjs1d - The Mozilla SpiderMonkey JavaScript library
 libmozjs1d-dbg - Development files for the Mozilla SpiderMonkey JavaScript 
library
 python-xpcom - XPCOM bindings for Python
 spidermonkey-bin - standalone JavaScript/ECMAScript (ECMA-262) interpreter
 xulrunner-1.9 - XUL + XPCOM application runner
 xulrunner-1.9-dbg - Development files for the Gecko engine library
 xulrunner-1.9-gnome-support - Support for GNOME in xulrunner applications
 xulrunner-dev - Development files for the Gecko engine library
Closes: 485618
Changes: 
 xulrunner (1.9~rc2-3) unstable; urgency=low
 .
   * config/autoconf.mk.in, configure, configure.in,
     xulrunner/installer/Makefile.in,
     xulrunner/installer/libxul-embedding-unstable.pc.in,
     xulrunner/installer/libxul-embedding.pc.in,
     xulrunner/installer/libxul-unstable.pc.in,
     xulrunner/installer/libxul.pc.in: Don't hardcode -fshort-wchar in the .pc
     files. Thanks Riku Voipio. Closes: #485618.
   * xpcom/glue/nsTextFormatter.cpp: Fixed bad certificate error message
     displaying (null) as common name at least on amd64, due to the way
     va_lists are being used in nsTextFormatter.
   * security/manager/ssl/public/Makefile.in,
     security/manager/ssl/public/nsIBadCertListener.idl,
     security/manager/ssl/src/nsNSSIOLayer.*: Fore-port nsIBadCertListener from
     1.8, to allow embedding applications to use the same dialogs as before,
     instead of the new ssl alert pages from Firefox, which have several
     problems in embedding applications.
   * debian/control: Make -dbg packages less a hassle for manual installations
     with dpkg.
   * debian/debAbout.js: Removed last debugging message.
Checksums-Sha1: 
 a21390c68c9dac448bfdf0d0acc06d4974d304bd 1753 xulrunner_1.9~rc2-3.dsc
 baad656b9041b4f2e24ee6672cfa19fbaa7be638 104416 xulrunner_1.9~rc2-3.diff.gz
 22e3b439e33c253d5dee42d68ab157f579b3fc72 1475716 
libmozillainterfaces-java_1.9~rc2-3_all.deb
 d05e1b2529f21063255eee127c871bcaa88c0968 7698398 
xulrunner-1.9_1.9~rc2-3_amd64.deb
 b6d523e0c9d7c97255df2ad8a5a60848fc8b54e9 98006 
xulrunner-1.9-gnome-support_1.9~rc2-3_amd64.deb
 0773793d133a0e98d0e4bd3cd58ea1514b9e91fe 369702 libmozjs1d_1.9~rc2-3_amd64.deb
 59fa1a20476314073dc3461f83fdde7460402c0b 219658 
libmozjs-dev_1.9~rc2-3_amd64.deb
 28d370cf256614ba393e3907404b8b61962d7a15 886172 
libmozjs1d-dbg_1.9~rc2-3_amd64.deb
 7b5ca2ae0c0c6ed66526378dabb35290a88acee5 66228 
spidermonkey-bin_1.9~rc2-3_amd64.deb
 02e28882db9e9271b045036298d0d3f562eeb316 3576032 
xulrunner-dev_1.9~rc2-3_amd64.deb
 24676a4949aad0b84eee1c8d7c8dea9d098b79de 49897632 
xulrunner-1.9-dbg_1.9~rc2-3_amd64.deb
 e7eec83a8c874871c7923bb1745283c68500ba9f 147412 
python-xpcom_1.9~rc2-3_amd64.deb
Checksums-Sha256: 
 d6f6a8f5999b90bedc507ec424e15e02ccc40cd16270df11695ea7f1e5baa4c0 1753 
xulrunner_1.9~rc2-3.dsc
 28db4e370687e29c15291b5d18c67af36c1cd9fd1631943aa2d55408a87d97ee 104416 
xulrunner_1.9~rc2-3.diff.gz
 47d750a743843283d937fb1957679aa6d4bc780804994695602eb7c4fdd1f037 1475716 
libmozillainterfaces-java_1.9~rc2-3_all.deb
 29e4cac3d36622df054f8d0a6e8980a71404a7bb7f28dd318d81e869952e85a3 7698398 
xulrunner-1.9_1.9~rc2-3_amd64.deb
 9cdf8aeb29d9e36b3900068915122b969aaf3a0bbb9e5a24bb9486d9fc174bab 98006 
xulrunner-1.9-gnome-support_1.9~rc2-3_amd64.deb
 5cada9ac0bf6587381f6723ef4b95ace26553809c5c5912e47f5b6c58863a869 369702 
libmozjs1d_1.9~rc2-3_amd64.deb
 eff2aa66d262bfccd75d3107da21237b054e9b688c5c204f8537aca62075aaa0 219658 
libmozjs-dev_1.9~rc2-3_amd64.deb
 48b0dc6cd85fbc116532ee361b9522c16966c7f0ced9408d36b1bc54b41b91ae 886172 
libmozjs1d-dbg_1.9~rc2-3_amd64.deb
 821ba8962f6a11c451307750090e9eb70e8a336377a11df23cec7e3a9ab143e6 66228 
spidermonkey-bin_1.9~rc2-3_amd64.deb
 4b0bd63b181ff7047145829bf88ed6f77a59aa2ac92e096db49ce9b8ad84a05a 3576032 
xulrunner-dev_1.9~rc2-3_amd64.deb
 4149d5d8157d0c73fce654f19094a2b8242bca79cb474ab7ccbf7cc6405ab737 49897632 
xulrunner-1.9-dbg_1.9~rc2-3_amd64.deb
 1787850ae59298d0e7fb3730e235881a3c0a97231f3f3eb3367f243f51f54052 147412 
python-xpcom_1.9~rc2-3_amd64.deb
Files: 
 bb91803eea81d394e3dc718b36e6074c 1753 devel optional xulrunner_1.9~rc2-3.dsc
 9f8b2912defff9a46a149231e0fb9ac1 104416 devel optional 
xulrunner_1.9~rc2-3.diff.gz
 bca83ccd5b0841edb117d5c99bf953fa 1475716 libdevel extra 
libmozillainterfaces-java_1.9~rc2-3_all.deb
 c20f651ea2520ba917c1a55e99179959 7698398 devel optional 
xulrunner-1.9_1.9~rc2-3_amd64.deb
 981f55b9299c1e7f1018c550f377b099 98006 devel optional 
xulrunner-1.9-gnome-support_1.9~rc2-3_amd64.deb
 4b126bee6c6302ede6433ddb7db4385e 369702 libs optional 
libmozjs1d_1.9~rc2-3_amd64.deb
 48e1bf25908385b09f72dfd78a799001 219658 libdevel optional 
libmozjs-dev_1.9~rc2-3_amd64.deb
 58a244ab156037af1a382e3e75426ff2 886172 libdevel extra 
libmozjs1d-dbg_1.9~rc2-3_amd64.deb
 f253d772c1864419a6d479cf001e8554 66228 interpreters optional 
spidermonkey-bin_1.9~rc2-3_amd64.deb
 c2ccf1bd821b868abb1303d5e293701b 3576032 libdevel optional 
xulrunner-dev_1.9~rc2-3_amd64.deb
 3d6cc18e0d98af43d3c3efdd9ea2b2aa 49897632 libdevel extra 
xulrunner-1.9-dbg_1.9~rc2-3_amd64.deb
 0d760e3452c2039aeac6a3641756aa4e 147412 python extra 
python-xpcom_1.9~rc2-3_amd64.deb

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

iD8DBQFIVZEX3kvaLFT9KlgRAo+JAJ9cllJt5+7cR6SjIQcmG3EcuF1lPQCdEXHW
vITBO2ZZLufbn6k+iqqCR8g=
=UFJh
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to