- Don't have downloads "disappear" when downloading to desktop (#139015)

- Fix for some more cursor issues in textareas (149991, 150002, 152089)
- Add upstream patch to fix bidi justification of pango
- Add patch to fix launching of helper applications
- Add patch to properly link against libgfxshared_s.a
- Fix multilib conflicts
This commit is contained in:
Christopher Aillon 2005-05-04 19:43:53 +00:00
parent e727439350
commit ff6676ca62
2 changed files with 39 additions and 15 deletions

View File

@ -4,8 +4,14 @@
# (based on the Mozilla RPM launch script) # (based on the Mozilla RPM launch script)
# #
MOZILLA_FIVE_HOME=TBDIR MOZ_LIB_DIR="/usr/lib"
MRE_HOME=TBDIR if [ -x "/usr/lib64/thunderbird-TBIRD_VERSION/thunderbird-bin" ]
then
MOZ_LIB_DIR="/usr/lib64"
fi
MOZILLA_FIVE_HOME="$MOZ_LIB_DIR/thunderbird-TBIRD_VERSION"
MRE_HOME="$MOZ_LIB_DIR/thunderbird-TBIRD_VERSION"
export MOZILLA_FIVE_HOME MRE_HOME export MOZILLA_FIVE_HOME MRE_HOME
MOZ_PROGRAM=$MRE_HOME/thunderbird MOZ_PROGRAM=$MRE_HOME/thunderbird
@ -17,7 +23,7 @@ MOZ_CLIENT_PROGRAM="$MRE_HOME/thunderbird -remote"
## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango ## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango
## ##
#MOZ_DISABLE_PANGO=1 #MOZ_DISABLE_PANGO=1
#export MOZ_DISABLE_PANG #export MOZ_DISABLE_PANGO
function check_running() { function check_running() {
$MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null $MOZ_CLIENT_PROGRAM 'ping()' 2>/dev/null >/dev/null

View File

@ -8,7 +8,7 @@ ExclusiveArch: i386 x86_64 ia64 ppc s390 s390x
Summary: Mozilla Thunderbird mail/newsgroup client Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird Name: thunderbird
Version: 1.0.2 Version: 1.0.2
Release: 2 Release: 3
Epoch: 0 Epoch: 0
URL: http://www.mozilla.org/projects/thunderbird/ URL: http://www.mozilla.org/projects/thunderbird/
License: MPL License: MPL
@ -25,12 +25,13 @@ Source10: thunderbird-redhat-default-prefs.js
Source100: find-external-requires Source100: find-external-requires
Patch1: thunderbird-0.7.3-freetype-compile.patch Patch1: thunderbird-0.7.3-freetype-compile.patch
Patch2: firefox-1.0-gcc4-compile.patch Patch2: firefox-1.0-prdtoa.patch
Patch3: firefox-1.0-recv-fortify.patch Patch3: firefox-1.0-gcc4-compile.patch
Patch4: firefox-1.0-recv-fortify.patch
Patch5: firefox-1.0-gfxshared_s.patch
Patch10: thunderbird-0.7.3-psfonts.patch Patch10: thunderbird-0.7.3-psfonts.patch
Patch11: thunderbird-0.7.3-gnome-uriloader.patch Patch11: thunderbird-0.7.3-gnome-uriloader.patch
Patch12: firefox-1.0-prdtoa.patch
# customization patches # customization patches
Patch24: thunderbird-0.8-default-applications.patch Patch24: thunderbird-0.8-default-applications.patch
@ -41,10 +42,13 @@ Patch30: mozilla-1.7.3-pango-render.patch
Patch31: firefox-1.0-pango-selection.patch Patch31: firefox-1.0-pango-selection.patch
Patch32: firefox-1.0-pango-space-width.patch Patch32: firefox-1.0-pango-space-width.patch
Patch33: firefox-1.0-pango-rounding.patch Patch33: firefox-1.0-pango-rounding.patch
Patch34: firefox-1.0-pango-direction.patch
Patch35: firefox-1.0-pango-bidi-justify.patch
# local bugfixes # local bugfixes
Patch40: firefox-PR1-gnome-vfs-default-app.patch
Patch41: thunderbird-0.8.0-stack-direction.patch Patch41: thunderbird-0.8.0-stack-direction.patch
Patch42: firefox-1.0-download-to-desktop.patch
Patch43: firefox-1.0-uriloader.patch
# Backported patches, intended for upstream # Backported patches, intended for upstream
Patch90: firefox-PR1-gtk-file-chooser-morefixes.patch Patch90: firefox-PR1-gtk-file-chooser-morefixes.patch
@ -91,18 +95,23 @@ echo "mk_add_options MOZ_MAKE_FLAGS='%{?_smp_mflags}'" >> .mozconfig
%if %{freetype_fc3} %if %{freetype_fc3}
%patch1 -p0 -b .freetype %patch1 -p0 -b .freetype
%endif %endif
%patch2 -p0 -b .gcc4 %patch2 -p0
%patch3 -p0 -b .recv-fortify %patch3 -p0 -b .gcc4
%patch4 -p0 -b .recv-fortify
%patch5 -p0
%patch10 -p1 -b .psfonts %patch10 -p1 -b .psfonts
%patch11 -p1 -b .gnome-uriloader %patch11 -p1 -b .gnome-uriloader
%patch12 -p0
%patch24 -p1 %patch24 -p1
%patch25 -p1 %patch25 -p1
%patch30 -p1 %patch30 -p1
%patch31 -p1 %patch31 -p1
%patch32 -p1 %patch32 -p1
%patch40 -p1 %patch33 -p1
%patch34 -p1
%patch35 -p0
%patch41 -p0 %patch41 -p0
%patch42 -p0
%patch43 -p0
%patch90 -p0 -b .gtk-file-chooser-morefixes %patch90 -p0 -b .gtk-file-chooser-morefixes
%patch101 -p0 -b .pkgconfig %patch101 -p0 -b .pkgconfig
%patch103 -p0 %patch103 -p0
@ -143,9 +152,10 @@ desktop-file-install --vendor mozilla \
--add-category Network \ --add-category Network \
%{SOURCE1} %{SOURCE1}
install -m755 %{SOURCE3} %{buildroot}%{_bindir}/mozilla-thunderbird # set up the thunderbird start script
perl -pi -e 's|TBDIR|%{tbdir}|g' %{buildroot}%{_bindir}/mozilla-thunderbird %{__cat} %{SOURCE3} | %{__sed} -e 's,TBIRD_VERSION,%{version},g' > \
( cd %{buildroot}%{_bindir} ; ln -s mozilla-thunderbird thunderbird ) $RPM_BUILD_ROOT%{_bindir}/thunderbird
%{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/thunderbird
install -m755 %{SOURCE6} %{buildroot}%{tbdir}/open-browser.sh install -m755 %{SOURCE6} %{buildroot}%{tbdir}/open-browser.sh
perl -pi -e 's|LIBDIR|%{_libdir}|g' %{buildroot}%{tbdir}/open-browser.sh perl -pi -e 's|LIBDIR|%{_libdir}|g' %{buildroot}%{tbdir}/open-browser.sh
@ -184,6 +194,14 @@ cd -
#=============================================================================== #===============================================================================
%changelog %changelog
* Wed May 4 2005 Christopher Aillon <caillon@redhat.com> 1.0.2-3
- Don't have downloads "disappear" when downloading to desktop (#139015)
- Fix for some more cursor issues in textareas (149991, 150002, 152089)
- Add upstream patch to fix bidi justification of pango
- Add patch to fix launching of helper applications
- Add patch to properly link against libgfxshared_s.a
- Fix multilib conflicts
* Wed Apr 27 2005 Warren Togami <wtogami@redhat.com> * Wed Apr 27 2005 Warren Togami <wtogami@redhat.com>
- correct confusing PANGO vars in startup script - correct confusing PANGO vars in startup script