~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to debian/patches/80_uname.patch

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin, Fabien Tassin
  • Date: 2007-12-02 19:27:42 UTC
  • Revision ID: james.westby@ubuntu.com-20071202192742-llg1mzf5cg021i7y
Tags: 1.1.6+nobinonly-0ubuntu1
[ Fabien Tassin ]
* Remove unused patches:
  - drop debian/patches/20_visibility.dpatch,
    debian/patches/28_ppc64_build.dpatch,
    debian/patches/38_unsupported_arch_build.dpatch,
    debian/patches/80_calendar_locale.dpatch,
    debian/patches/82_prefs_ubuntu.dpatch
* Migrate from dpatch to quilt
  - update debian/control: build-depends on quilt
  - debian/rules: update patching rules
  - drop debian/patches/80_config.dpatch: done by quilt
  - rename and update debian/patches/00list => debian/patches/series
  - rename and update debian/patches/*.dpatch => debian/patches/*.patch
* Fix unclean distclean leaving dist/ behind
  - update debian/patches/60_distclean.patch
* Migrate to CDBS
  - update debian/rules and debian/control
* Revert the Iceape unbranding to Seamonkey
  - drop debian/patches/80_app_name.patch and update
    debian/patches/series
  - update debian/patches/82_prefs.patch and
    debian/patches/99_configure.patch
  - drop iceape's icons:
    - update debian/rules
    - drop debian/extras/iceape* and debian/extras/Throbber*
    - drop debian/extras/license.txt
    - update wording
    - update debian/copyright  
  - rename packages to seamonkey-*
    - update debian/control
    - rename debian/iceape-*.{dirs,install,links,postinst,postrm,preinst}
      to debian/seamonkey-*.{dirs,install,links,postinst,postrm,preinst}
    - rename debian/iceape-*.{menu,mime,manpages}
      to debian/seamonkey-*.{menu,mime,manpages}
  - rename and update debian/menu_dir/iceape-*.desktop to
    debian/menu_dir/seamonkey-*.desktop
  - rename and update debian/{iceape.cfg,iceaperc,iceape-runner} to
    debian/{seamonkey.cfg,seamonkeyrc,seamonkey-runner}
  - update debian/about_debian.js, debian/base.js and debian/homepagereset.js
* Drop leftovers from calendar
  - drop debian/iceape-calendar.*
  - drop debian/extras/calendar.svg
  - drop debian/menu_dir/iceape-calendar.desktop
  - update debian/control
* Clean-up
  - drop debian/README.source (no longer useful)
  - drop debian/mozconfig (leftover from previous commit)
* Drop debian/patches/81_free_art_improvements.patch (was part of
  the unbranding)
  - update debian/patches/series
* Make seamonkey build at last
  - fix FTBFS with new libnss (since bz399589 landed)
    - add debian/patches/11_bz399589_fix_missing_symbol_with_new_nss.patch
    - update debian/patches/series
  - fix another FTBFS with libnss (caused by bad linking order with libcrmf)
    - add debian/patches/12_fix_ftbfs_with_nss.patch
    - update debian/patches/99_configure.patch
    - update debian/patches/series
  - fix bad syntax for --enable-extensions
    - update debian/rules
  - fix FTBFS with dh_install needing DEB_DH_INSTALL_SOURCEDIR
    - update debian/rules
  - fix install of additionnal searchplugins
    - update debian/rules
  - don't install hicolor icons (we don't have any)
    - update debian/seamonkey-browser.install
* Install libnssckbi.so in seamonkey-browser and drop other libnss links
  - update debian/rules and debian/seamonkey-browser.links
* Fix broken chrome.d files and clean-up install rules
  - update debian/rules
  - update debian/seamonkey-browser.{install,dirs}
  - update debian/seamonkey-chatzilla.install
  - update debian/seamonkey-dom-inspector.install
  - update debian/seamonkey-mailnews.install
* Update bug link and README to point Seamonkey toward Ubuntu 
  - update debian/about_debian.js
  - debian/README.Debian
* Fix FTBFS on amd64 (don't depend on arch indep rules for binary
  packages
  - update debian/rules
  - update debian/seamonkey-browser.install
  - update debian/seamonkey-chatzilla.install
  - update debian/seamonkey-dom-inspector.install
  - update debian/seamonkey-mailnews.install
* Update to upstream release 1.1.6 (from 1.1.4)
  - update debian/control
  - Security fixes provided by 1.1.5:
    MFSA 2007-36, MFSA 2007-35, MFSA 2007-34, MFSA 2007-33, MFSA 2007-32,
    MFSA 2007-31, MFSA 2007-30, MFSA 2007-29 and MFSA 2007-28.
* Update diverged patches:
  - update debian/patches/35_theme_switch.patch
  - debian/patches/38_kbsd.patch
  - debian/patches/68_mips_performance.patch
  - debian/patches/99_configure.patch
* Update Maintainer to Ubuntu Mozilla Team
  - update debian/control
* Conflicts/Replaces iceape
  - update debian/control
* Fix nss links not installed where CDBS would have done it
  - update debian/rules
* Remove bin-only files from upstream tarball using debian/remove.binonly.sh.
  Add a nobinonly target in debian/rules to clean up the current tarball,
  preserve logs in mozilla/REMOVED+nobinonly.txt.
  - rename and update debian/remove.nonfree => debian/remove.binonly.sh
  - update debian/rules
* Fix desktop files to make desktop-file-validate happy
  - update debian/menu_dir/*.desktop
* Disable all desktop files except seamonkey.desktop, using the icon
  from branding (instead of the old style Mozilla one)
  - update debian/menu_dir/*.desktop
  - update debian/rules
* Add dummy packages for migration of iceape and mozilla packages:
  mozilla, mozilla-browser, mozilla-dev, mozilla-mailnews, mozilla-chatzilla,
  mozilla-psm, mozilla-dom-inspector, mozilla-js-debugger, mozilla-calendar,
  iceape, iceape-browser, iceape-gnome-support, iceape-dev, iceape-dbg,
  iceape-mailnews, iceape-chatzilla, iceape-calendar and iceape-dom-inspector
  - update debian/control
* Merge DSP settings from previously installed /etc/iceape/iceaperc or
  /etc/mozilla/mozillarc into /etc/seamonkey/seamonkeyrc
  - update debian/seamonkey-browser.preinst
* Remove leftovers from iceape packages
  - add debian/iceape-browser.postrm
  - add debian/iceape-browser.preinst
* Re-install /etc/seamonkey files previously disabled
  - update debian/seamonkey-browser.install
* Add missing 'upgrade' target to preinst script
  - update debian/iceape-browser.preinst
* Exclude CVS stuff when doing nobinonly tarballs
  - update debian/rules
* Fix a recent FTBFS in hardy where gtk+ is no longer bringing
  some X libs in build-deps
  - add debian/patches/13_bz344818_att264996.patch
  - update debian/patches/99_configure.patch
  - update debian/patches/series

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 configure.in                                  |   16 ++++++++++++----
 
3
 xpcom/reflect/xptcall/src/md/unix/Makefile.in |    2 +-
 
4
 2 files changed, 13 insertions(+), 5 deletions(-)
 
5
 
 
6
## 80_uname.patch converted from dpatch file initially by Mike Hommey <glandium@debian.org>
 
7
#
 
8
# Use ${host_*} variables instead of uname in configure.in. Closes: 
 
9
# #377418.
 
10
# This is a minimalist patch to solve the particular bad assembler
 
11
# choice issue. It would need a much greater work to actually do
 
12
# something totally clean, but the current patch should be enough
 
13
# for Linux builds.
 
14
# Also incorporates fix for bz#363263.
 
15
 
 
16
Index: iceape-1.1.4/configure.in
 
17
===================================================================
 
18
--- iceape-1.1.4.orig/configure.in
 
19
+++ iceape-1.1.4/configure.in
 
20
@@ -822,28 +822,36 @@
 
21
 MOZ_ENABLE_POSTSCRIPT=1 
 
22
 
 
23
 if test -n "$CROSS_COMPILE"; then
 
24
     OS_TARGET="${target_os}"
 
25
     OS_ARCH=`echo $target_os | sed -e 's|/|_|g'`
 
26
     OS_RELEASE=
 
27
     OS_TEST="${target_cpu}"
 
28
     case "${target_os}" in
 
29
-        linux*)       OS_ARCH=Linux ;;
 
30
+        linux*)       OS_ARCH=Linux OS_TARGET=Linux;;
 
31
         kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;;
 
32
         solaris*)     OS_ARCH=SunOS OS_RELEASE=5 ;;
 
33
         mingw*)       OS_ARCH=WINNT ;;
 
34
         wince*)       OS_ARCH=WINCE ;;
 
35
         darwin*)      OS_ARCH=Darwin OS_TARGET=Darwin ;;
 
36
     esac
 
37
 else
 
38
-    OS_TARGET=`uname -s`
 
39
-    OS_ARCH=`uname -s | sed -e 's|/|_|g'`
 
40
+    OS_TARGET="${host_os}"
 
41
+    OS_ARCH=`echo $host_os | sed -e 's|/|_|g'`
 
42
     OS_RELEASE=`uname -r`
 
43
-    OS_TEST=`uname -m`
 
44
+    OS_TEST="${host_cpu}"
 
45
+    case "${host_os}" in
 
46
+        linux*)       OS_ARCH=Linux OS_TARGET=Linux;;
 
47
+        kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD ;;
 
48
+        solaris*)     OS_ARCH=SunOS OS_RELEASE=5 ;;
 
49
+        mingw*)       OS_ARCH=WINNT ;;
 
50
+        wince*)       OS_ARCH=WINCE ;;
 
51
+        darwin*)      OS_ARCH=Darwin OS_TARGET=Darwin ;;
 
52
+    esac
 
53
 fi
 
54
 _COMPILER_PREFIX=
 
55
 
 
56
 HOST_OS_ARCH=`echo $host_os | sed -e 's|/|_|g'`
 
57
 
 
58
 #######################################################################
 
59
 # Master "Core Components" macros for getting the OS target           #
 
60
 #######################################################################
 
61
Index: iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in
 
62
===================================================================
 
63
--- iceape-1.1.4.orig/xpcom/reflect/xptcall/src/md/unix/Makefile.in
 
64
+++ iceape-1.1.4/xpcom/reflect/xptcall/src/md/unix/Makefile.in
 
65
@@ -268,17 +268,17 @@
 
66
 
 
67
 # #24617  Building the CPP's (CXX) optimized causes a crash
 
68
 CXXFLAGS       :=  $(filter-out $(MOZ_OPTIMIZE_FLAGS), $(CXXFLAGS))
 
69
 endif
 
70
 
 
71
 #
 
72
 # Linux/PPC
 
73
 #
 
74
-ifeq ($(OS_ARCH)$(OS_TEST),Linuxppc)
 
75
+ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
 
76
 CPPSRCS                := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
 
77
 ASFILES                := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
 
78
 AS             := $(CC) -c -x assembler-with-cpp
 
79
 endif
 
80
 
 
81
 #
 
82
 # NetBSD/PPC
 
83
 #