Gentoo Archives: gentoo-commits

From: "Jory Pratt (anarchy)" <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/thunderbird/files: Copy_xpcshell_only_if_tests_are_enabled.patch fix-thunderbird-calender-support.patch
Date: Sat, 01 Oct 2011 01:45:41
Message-Id: 20111001014531.8558B2004C@flycatcher.gentoo.org
1 anarchy 11/10/01 01:45:31
2
3 Added: Copy_xpcshell_only_if_tests_are_enabled.patch
4 Removed: fix-thunderbird-calender-support.patch
5 Log:
6 Security bump with addon updater fixed
7
8 (Portage version: 2.1.10.20/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 mail-client/thunderbird/files/Copy_xpcshell_only_if_tests_are_enabled.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird/files/Copy_xpcshell_only_if_tests_are_enabled.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/thunderbird/files/Copy_xpcshell_only_if_tests_are_enabled.patch?rev=1.1&content-type=text/plain
15
16 Index: Copy_xpcshell_only_if_tests_are_enabled.patch
17 ===================================================================
18 # HG changeset patch
19 # User Takanori MATSUURA <t.matsuu@×××××.com>
20 # Date 1311059208 -32400
21 # Node ID 6d8318b1709e2259c1077ba1f80374bfc45af9ba
22 # Parent 6596041bb85c5106dc474767bc481c6522f926f3
23 Bug 672286 - Copy xpcshell.ini only if ENABLE_TESTS is set; r=Standard8
24
25 diff --git a/mail/app/Makefile.in b/mail/app/Makefile.in
26 --- a/mail/app/Makefile.in
27 +++ b/mail/app/Makefile.in
28 @@ -252,24 +252,27 @@ LIBS += -lphexlib
29 endif
30
31 libs:: $(srcdir)/profile/prefs.js
32 $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/defaults/profile
33
34 libs:: blocklist.xml
35 $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin
36
37 +ifdef ENABLE_TESTS
38 # XXX This is a hack to ensure that we get the right xpcshell.ini for our tests
39 # and that we can share the core mozilla-central xpcshell.ini.
40 # mozilla-central does this in testing/xpcshell-tests which means that it is
41 # very hard for anyone to specify anything else.
42 libs::
43 + $(NSINSTALL) -D $(MOZDEPTH)/_tests/xpcshell
44 cp $(MOZILLA_SRCDIR)/testing/xpcshell/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell/xpcshell-core.ini
45 $(INSTALL) $(topsrcdir)/mail/test/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell
46 cp $(topsrcdir)/mail/test/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell/all-test-dirs.list
47 +endif
48
49 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
50
51 AB := $(firstword $(subst -, ,$(AB_CD)))
52
53 APP_NAME = $(MOZ_APP_DISPLAYNAME)
54
55 LOWER_APP_NAME = $(shell echo $(APP_NAME) | tr '[A-Z]' '[a-z]')
56 diff --git a/suite/app/Makefile.in b/suite/app/Makefile.in
57 --- a/suite/app/Makefile.in
58 +++ b/suite/app/Makefile.in
59 @@ -216,24 +216,27 @@ ifeq ($(OS_ARCH),WINNT)
60 $(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $(topsrcdir)/suite/installer/license.txt > $(DIST)/bin/license.txt
61 else
62 $(INSTALL) $(topsrcdir)/suite/installer/license.txt $(DIST)/bin/
63 endif
64
65 libs:: blocklist.xml
66 $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin
67
68 +ifdef ENABLE_TESTS
69 # XXX This is a hack to ensure that we get the right xpcshell.ini for our tests
70 # and that we can share the core mozilla-central xpcshell.ini.
71 # mozilla-central does this in testing/xpcshell-tests which means that it is
72 # very hard for anyone to specify anything else.
73 libs::
74 + $(NSINSTALL) -D $(MOZDEPTH)/_tests/xpcshell
75 cp $(MOZILLA_SRCDIR)/testing/xpcshell/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell/xpcshell-core.ini
76 $(INSTALL) $(topsrcdir)/suite/test/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell
77 cp $(topsrcdir)/suite/test/xpcshell.ini $(MOZDEPTH)/_tests/xpcshell/all-test-dirs.list
78 +endif
79
80 ifdef MOZ_OMNIJAR
81 # Make extensions end up as XPIs instead of flat chrome when doing omni.jar.
82 # APP_EXTENSIONS exist only bundled with the application,
83 # PROFILE_EXTENSIONS will be copied to the profile in installed builds.
84 # NOTE: This is a hack to run this at the end of compilation, would be nicer
85 # if this was done right away for built-in extensions in omnijar mode.
86 # Listed extension GUIDs: