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

« back to all changes in this revision

Viewing changes to debian/patches/80_system_libs.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 |    6 +++---
 
3
 1 file changed, 3 insertions(+), 3 deletions(-)
 
4
 
 
5
## 80_system_libs.patch converted from dpatch file initially by  <glandium@debian.org>
 
6
#
 
7
# Make sure we won't be bitten by upstream changing libjpeg, libpng
 
8
# or zlib internal version, which makes system library not used even
 
9
# though --with-system-* argument is given to configure.
 
10
 
 
11
Index: iceape-1.1.4/configure.in
 
12
===================================================================
 
13
--- iceape-1.1.4.orig/configure.in
 
14
+++ iceape-1.1.4/configure.in
 
15
@@ -3776,17 +3776,17 @@
 
16
     LDFLAGS="-L${JPEG_DIR}/lib $LDFLAGS"
 
17
 fi
 
18
 if test -z "$JPEG_DIR" -o "$JPEG_DIR" = no; then
 
19
     SYSTEM_JPEG=
 
20
 else
 
21
     AC_CHECK_LIB(jpeg, jpeg_destroy_compress, [SYSTEM_JPEG=1 JPEG_LIBS="-ljpeg $JPEG_LIBS"], SYSTEM_JPEG=, $JPEG_LIBS)
 
22
 fi
 
23
 
 
24
-if test "$SYSTEM_JPEG" = 1; then
 
25
+if test "$SYSTEM_JPEG" = 0; then
 
26
     LIBS="$JPEG_LIBS $LIBS"
 
27
     AC_TRY_RUN( 
 
28
        #include <stdio.h>
 
29
        #include <sys/types.h>
 
30
        #include <jpeglib.h>
 
31
        int main () {
 
32
            #if JPEG_LIB_VERSION >= $MOZJPEG
 
33
                exit(0);
 
34
@@ -3821,17 +3821,17 @@
 
35
     LDFLAGS="-L${ZLIB_DIR}/lib $LDFLAGS"
 
36
 fi
 
37
 if test -z "$ZLIB_DIR" -o "$ZLIB_DIR" = no; then
 
38
     SYSTEM_ZLIB=
 
39
 else
 
40
     AC_CHECK_LIB(z, gzread, [SYSTEM_ZLIB=1 ZLIB_LIBS="-lz $ZLIB_LIBS"], 
 
41
        [SYSTEM_ZLIB= ZLIB_CFLAGS= ZLIB_LIBS=], $ZLIB_LIBS)
 
42
 fi
 
43
-if test "$SYSTEM_ZLIB" = 1; then
 
44
+if test "$SYSTEM_ZLIB" = 0; then
 
45
     LIBS="$ZLIB_LIBS $LIBS"
 
46
     AC_TRY_RUN([
 
47
     #include <stdio.h>
 
48
     #include <string.h>
 
49
     #include <zlib.h>
 
50
     int parse_version(const char *str, int *ver) {
 
51
       return (sscanf(str, "%d.%d.%d", ver, ver+1, ver+2)==3?0:1);
 
52
     }
 
53
@@ -3874,17 +3874,17 @@
 
54
     LDFLAGS="-L${PNG_DIR}/lib $LDFLAGS"
 
55
 fi
 
56
 if test -z "$PNG_DIR" -o "$PNG_DIR" = no; then
 
57
     SYSTEM_PNG=
 
58
 else
 
59
     AC_CHECK_LIB(png, png_get_valid, [SYSTEM_PNG=1 PNG_LIBS="-lpng $PNG_LIBS"],
 
60
                  SYSTEM_PNG=, $PNG_LIBS)
 
61
 fi
 
62
-if test "$SYSTEM_PNG" = 1; then
 
63
+if test "$SYSTEM_PNG" = 0; then
 
64
     LIBS="$PNG_LIBS $LIBS"
 
65
     AC_TRY_RUN(
 
66
        #include <stdio.h>
 
67
        #include <sys/types.h>
 
68
        #include <png.h>
 
69
        int main () {
 
70
            #if PNG_LIBPNG_VER >= $MOZPNG
 
71
                exit(0);