- Fix spacing in textareas when using pango for rendering

- Enable pango rendering by default.
- Enable smooth scrolling by default
This commit is contained in:
Christopher Aillon 2004-12-12 08:42:36 +00:00
parent 1671a2a206
commit 2ca6e872bb
3 changed files with 44 additions and 25 deletions

View File

@ -0,0 +1,2 @@
pref("browser.display.use_system_colors", true);
pref("general.smoothScroll", true);

View File

@ -77,6 +77,12 @@ export MOZ_PLUGIN_PATH
FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft" FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
export FONTCONFIG_PATH export FONTCONFIG_PATH
##
## Set MOZ_ENABLE_PANGO
##
MOZ_ENABLE_PANGO=1
export MOZ_ENABLE_PANGO
# Figure out if we need to ser LD_ASSUME_KERNEL for older versions of the JVM. # Figure out if we need to ser LD_ASSUME_KERNEL for older versions of the JVM.
function set_jvm_vars() { function set_jvm_vars() {

View File

@ -8,22 +8,23 @@ ExclusiveArch: i386 x86_64 ia64 ppc s390 s390x
Summary: Mozilla Firefox Web browser. Summary: Mozilla Firefox Web browser.
Name: firefox Name: firefox
Version: 1.0 Version: 1.0
Release: 4 Release: 5
Epoch: 0 Epoch: 0
URL: http://www.mozilla.org/projects/firefox/ URL: http://www.mozilla.org/projects/firefox/
License: MPL/LGPL License: MPL/LGPL
Group: Applications/Internet Group: Applications/Internet
Source0: firefox-%{version}-source.tar.bz2 Source0: firefox-%{version}-source.tar.bz2
Source1: firefox-redhat-default-bookmarks.html Source1: firefox-gnomestripe-0.1.tar.gz
Source2: mozconfig-firefox Source10: mozconfig-firefox
Source3: firefox.desktop Source11: firefox-redhat-default-bookmarks.html
Source4: firefox.png Source12: firefox-redhat-default-prefs.js
Source6: firefox.sh.in Source20: firefox.desktop
Source7: firefox-xremote-client.sh.in Source21: firefox.sh.in
Source8: firefox.1 Source22: firefox.png
Source9: firefox-rebuild-databases.pl.in Source23: firefox.xpm
Source10: firefox.xpm Source24: firefox.1
Source20: firefox-gnomestripe-0.1.tar.gz Source50: firefox-xremote-client.sh.in
Source55: firefox-rebuild-databases.pl.in
Source100: find-external-requires Source100: find-external-requires
# build patches # build patches
@ -42,7 +43,7 @@ Patch28: firefox-RC1-stock-icons-gnomestripe.patch
Patch29: firefox-gnomestripe-0.1-livemarks.patch Patch29: firefox-gnomestripe-0.1-livemarks.patch
Patch30: mozilla-1.7.3-pango-render.patch 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-use-system-colors.patch Patch32: firefox-1.0-pango-space-width.patch
# local bugfixes # local bugfixes
@ -90,7 +91,7 @@ compliance, performance and portability.
%prep %prep
%setup -q -n mozilla %setup -q -n mozilla
%{__tar} -xzf %{SOURCE20} %{__tar} -xzf %{SOURCE1}
%if %{freetype_fc3} %if %{freetype_fc3}
%patch1 -p0 %patch1 -p0
%endif %endif
@ -116,10 +117,10 @@ compliance, performance and portability.
%patch104 -p0 %patch104 -p0
%{__rm} -f .mozconfig %{__rm} -f .mozconfig
%{__cp} %{SOURCE2} .mozconfig %{__cp} %{SOURCE10} .mozconfig
# set up our default bookmarks # set up our default bookmarks
%{__cp} %{SOURCE1} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html %{__cp} %{SOURCE11} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html
#--------------------------------------------------------------------- #---------------------------------------------------------------------
@ -148,28 +149,33 @@ cd -
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/firefox-*-linux-gnu.tar %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/firefox-*-linux-gnu.tar
%{__install} -p -D %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/pixmaps/firefox.png %{__install} -p -D %{SOURCE22} $RPM_BUILD_ROOT%{_datadir}/pixmaps/firefox.png
desktop-file-install --vendor mozilla \ desktop-file-install --vendor mozilla \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Fedora \ --add-category X-Fedora \
--add-category Application \ --add-category Application \
--add-category Network \ --add-category Network \
%{SOURCE3} %{SOURCE20}
%{__cat} %{SOURCE6} | %{__sed} -e 's,FFDIR,%{ffdir},g' -e 's,LIBDIR,%{_libdir},g' > \ %{__cat} %{SOURCE21} | %{__sed} -e 's,FFDIR,%{ffdir},g' -e 's,LIBDIR,%{_libdir},g' > \
$RPM_BUILD_ROOT%{_bindir}/firefox $RPM_BUILD_ROOT%{_bindir}/firefox
%{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox %{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox
%{__install} -p -D %{SOURCE1} $RPM_BUILD_ROOT%{ffdir}/defaults/profile/US/bookmarks.html %{__install} -p -D %{SOURCE11} $RPM_BUILD_ROOT%{ffdir}/defaults/profile/US/bookmarks.html
%{__install} -p -D %{SOURCE1} $RPM_BUILD_ROOT%{ffdir}/defaults/profile/bookmarks.html %{__install} -p -D %{SOURCE11} $RPM_BUILD_ROOT%{ffdir}/defaults/profile/bookmarks.html
%{__cat} %{SOURCE7} | %{__sed} -e 's,FFDIR,%{ffdir},g' -e 's,LIBDIR,%{_libdir},g' > \ %{__cat} %{SOURCE50} | %{__sed} -e 's,FFDIR,%{ffdir},g' -e 's,LIBDIR,%{_libdir},g' > \
$RPM_BUILD_ROOT%{ffdir}/firefox-xremote-client $RPM_BUILD_ROOT%{ffdir}/firefox-xremote-client
# set up our default preferences
%{__cp} %{SOURCE12} $RPM_BUILD_ROOT/%{ffdir}/greprefs/all-redhat.js
%{__cp} %{SOURCE12} $RPM_BUILD_ROOT/%{ffdir}/defaults/pref/all-redhat.js
%{__chmod} 755 $RPM_BUILD_ROOT%{ffdir}/firefox-xremote-client %{__chmod} 755 $RPM_BUILD_ROOT%{ffdir}/firefox-xremote-client
%{__install} -p -D %{SOURCE8} $RPM_BUILD_ROOT%{_mandir}/man1/firefox.1 %{__install} -p -D %{SOURCE24} $RPM_BUILD_ROOT%{_mandir}/man1/firefox.1
%{__cat} %{SOURCE9} | %{__sed} -e 's,FFDIR,%{ffdir},g' > \ %{__cat} %{SOURCE55} | %{__sed} -e 's,FFDIR,%{ffdir},g' > \
$RPM_BUILD_ROOT/%{ffdir}/firefox-rebuild-databases.pl $RPM_BUILD_ROOT/%{ffdir}/firefox-rebuild-databases.pl
%{__chmod} 755 $RPM_BUILD_ROOT/%{ffdir}/firefox-rebuild-databases.pl %{__chmod} 755 $RPM_BUILD_ROOT/%{ffdir}/firefox-rebuild-databases.pl
@ -181,8 +187,8 @@ cd -
# another bug fixed by looking at the debian package # another bug fixed by looking at the debian package
%{__mkdir_p} $RPM_BUILD_ROOT%{ffdir}/chrome/icons/default/ %{__mkdir_p} $RPM_BUILD_ROOT%{ffdir}/chrome/icons/default/
%{__cp} %{SOURCE10} $RPM_BUILD_ROOT%{ffdir}/chrome/icons/default/default.xpm %{__cp} %{SOURCE23} $RPM_BUILD_ROOT%{ffdir}/chrome/icons/default/default.xpm
%{__cp} %{SOURCE10} $RPM_BUILD_ROOT%{ffdir}/icons/default.xpm %{__cp} %{SOURCE23} $RPM_BUILD_ROOT%{ffdir}/icons/default.xpm
# own mozilla plugin dir (#135050) # own mozilla plugin dir (#135050)
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins %{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
@ -233,6 +239,11 @@ fi
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Sat Dec 11 2004 Christopher Aillon <caillon@redhat.com> 0:1.0-5
- Fix spacing in textareas when using pango for rendering
- Enable pango rendering by default.
- Enable smooth scrolling by default
* Fri Dec 3 2004 Christopher Aillon <caillon@redhat.com> 0:1.0-4 * Fri Dec 3 2004 Christopher Aillon <caillon@redhat.com> 0:1.0-4
- Add StartupWMClass patch from Damian Christey (#135830) - Add StartupWMClass patch from Damian Christey (#135830)
- Use system colors by default (#137810) - Use system colors by default (#137810)