]> git.pld-linux.org Git - packages/thunderbird.git/blame - icedove-install.patch
- -fpermissive is needed to build with gcc 4.6+ which has become stricter
[packages/thunderbird.git] / icedove-install.patch
CommitLineData
e29fa748
ER
1--- ./mozilla/toolkit/mozapps/installer/packager.mk.org 2010-01-21 21:10:00.234466295 +0100
2+++ ./mozilla/toolkit/mozapps/installer/packager.mk 2010-01-21 21:10:29.847369216 +0100
3@@ -362,13 +362,13 @@
c49f66d3 4 # NOTE: this must be a tar now that dist links into the tree so that we
5 # do not strip the binaries actually in the tree.
6 @echo "Creating package directory..."
a1f0fe0d 7- @mkdir $(DIST)/$(MOZ_PKG_DIR)
e29fa748 8+ @mkdir -p $(DESTDIR)/$(MOZ_PKG_APPDIR)
c49f66d3 9 ifdef MOZ_PKG_MANIFEST
10 $(RM) -rf $(DIST)/xpt
7876e8ff 11 $(call PACKAGER_COPY, "$(call core_abspath,$(DIST))",\
e29fa748
ER
12- "$(call core_abspath,$(DIST)/$(MOZ_PKG_DIR))", \
13+ "$(call core_abspath,$(DESTDIR)/$(MOZ_PKG_APPDIR))", \
14 "$(MOZ_PKG_MANIFEST)", "$(PKGCP_OS)", 1, 0, 1)
15- $(PERL) $(MOZILLA_DIR)/xpinstall/packager/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
16+ $(PERL) $(MOZILLA_DIR)/xpinstall/packager/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DESTDIR)/$(MOZ_PKG_APPDIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
17 else # !MOZ_PKG_MANIFEST
18 ifeq ($(MOZ_PKG_FORMAT),DMG)
19 # If UNIVERSAL_BINARY, the package will be made from an already-prepared
20@@ -377,11 +377,11 @@
7876e8ff 21 ifndef STAGE_SDK
22 @cd $(DIST) && rsync -auv --copy-unsafe-links $(_APPNAME) $(MOZ_PKG_DIR)
23 else
24- @cd $(DIST)/bin && tar $(TAR_CREATE_FLAGS) - * | (cd ../$(MOZ_PKG_DIR); tar -xf -)
25+ cp -rfLp $(DIST)/bin/* $(DESTDIR)$(MOZ_PKG_APPDIR)
a1f0fe0d 26 endif
c49f66d3 27 endif
28 else
a1f0fe0d 29- @cd $(DIST)/bin && tar $(TAR_CREATE_FLAGS) - * | (cd ../$(MOZ_PKG_DIR); tar -xf -)
c49f66d3 30+ cp -rfLp $(DIST)/bin/* $(DESTDIR)$(MOZ_PKG_APPDIR)
7876e8ff 31 @echo "Linking XPT files..."
32 @rm -rf $(DIST)/xpt
33 @$(NSINSTALL) -D $(DIST)/xpt
a1f0fe0d 34--- comm-1.9.1/mail/app/Makefile.in.orig 2009-12-18 14:49:43.990647725 +0100
35+++ comm-1.9.1/mail/app/Makefile.in 2009-12-18 14:49:53.830739781 +0100
36@@ -48,7 +48,7 @@
37 GRE_BUILDID = $(shell $(PYTHON) $(MOZILLA_SRCDIR)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build BuildID)
c49f66d3 38
a1f0fe0d 39 DEFINES += \
40- -DTHUNDERBIRD_ICO=\"$(DIST)/branding/thunderbird.ico\" \
41+ -DTHUNDERBIRD_ICO=\"$(DIST)/branding/$(MOZ_APP_NAME).ico\" -DAB_CD=$(AB_CD) \
42 -DAB_CD=$(AB_CD) \
43 -DGRE_MILESTONE=$(GRE_MILESTONE) \
44 -DGRE_BUILDID=$(GRE_BUILDID) \
a1f0fe0d 45@@ -359,7 +359,7 @@
46 endif
47 mkdir -p $(DIST)/$(APP_NAME).app/Contents/Library/Spotlight
48 rsync -a --copy-unsafe-links $(DIST)/package/Thunderbird.mdimporter $(DIST)/$(APP_NAME).app/Contents/Library/Spotlight
c49f66d3 49- cp -RL $(DIST)/branding/thunderbird.icns $(DIST)/$(APP_NAME).app/Contents/Resources/thunderbird.icns
a1f0fe0d 50+ cp -RL $(DIST)/branding/thunderbird.icns $(DIST)/branding/$(MOZ_APP_NAME).icns
51 printf APPLMOZM > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
c49f66d3 52 # remove CVS dirs from packaged app
a1f0fe0d 53 find $(DIST)/$(APP_NAME).app -type d -name "CVS" -prune -exec rm -rf {} \;
This page took 0.060567 seconds and 4 git commands to generate.