- add default-colors option, change default setting (#409211)
This commit is contained in:
parent
8e1a849a7f
commit
4bfe1e7747
14
lynx-2.8.6-backgrcolor.patch
Normal file
14
lynx-2.8.6-backgrcolor.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up lynx2-8-6/samples/lynx.lss.pom lynx2-8-6/samples/lynx.lss
|
||||||
|
--- lynx2-8-6/samples/lynx.lss.pom 2006-09-19 02:28:28.000000000 +0200
|
||||||
|
+++ lynx2-8-6/samples/lynx.lss 2007-12-06 15:19:09.000000000 +0100
|
||||||
|
@@ -5,8 +5,8 @@
|
||||||
|
#
|
||||||
|
# If you really want the terminal's default colors, and if lynx is built using
|
||||||
|
# ncurses' default-color support, remove these two lines:
|
||||||
|
-normal: normal: lightgray:black
|
||||||
|
-default: normal: white:black
|
||||||
|
+#normal: normal: lightgray:black
|
||||||
|
+#default: normal: white:black
|
||||||
|
|
||||||
|
# Normal type styles correspond to HTML tags.
|
||||||
|
#
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A text-based Web browser
|
Summary: A text-based Web browser
|
||||||
Name: lynx
|
Name: lynx
|
||||||
Version: 2.8.6
|
Version: 2.8.6
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source: http://lynx.isc.org/current/lynx%{version}.tar.bz2
|
Source: http://lynx.isc.org/current/lynx%{version}.tar.bz2
|
||||||
@ -9,6 +9,7 @@ URL: http://lynx.isc.org/
|
|||||||
Patch0: lynx-2.8.6-redhat.patch
|
Patch0: lynx-2.8.6-redhat.patch
|
||||||
Patch1: lynx-crash.patch
|
Patch1: lynx-crash.patch
|
||||||
Patch2: lynx-2.8.6-options.patch
|
Patch2: lynx-2.8.6-options.patch
|
||||||
|
Patch3: lynx-2.8.6-backgrcolor.patch
|
||||||
Requires: indexhtml
|
Requires: indexhtml
|
||||||
Provides: webclient
|
Provides: webclient
|
||||||
Provides: text-www-browser
|
Provides: text-www-browser
|
||||||
@ -27,6 +28,7 @@ exits quickly and swiftly displays webpages.
|
|||||||
%patch0 -p1 -b .redhat
|
%patch0 -p1 -b .redhat
|
||||||
%patch1 -p1 -b .crash
|
%patch1 -p1 -b .crash
|
||||||
%patch2 -p1 -b .opt
|
%patch2 -p1 -b .opt
|
||||||
|
%patch3 -p1 -b .bgcol
|
||||||
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost/usr/share/doc/lynx-%{version}/lynx_help/lynx_help_main.html,g" lynx.cfg
|
perl -pi -e "s,^HELPFILE:.*,HELPFILE:file://localhost/usr/share/doc/lynx-%{version}/lynx_help/lynx_help_main.html,g" lynx.cfg
|
||||||
perl -pi -e "s,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g" lynx.cfg
|
perl -pi -e "s,^DEFAULT_INDEX_FILE:.*,DEFAULT_INDEX_FILE:http://www.google.com/,g" lynx.cfg
|
||||||
perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg
|
perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg
|
||||||
@ -53,7 +55,7 @@ if pkg-config openssl ; then
|
|||||||
fi
|
fi
|
||||||
%configure --libdir=/etc \
|
%configure --libdir=/etc \
|
||||||
--with-screen=ncursesw --enable-warnings \
|
--with-screen=ncursesw --enable-warnings \
|
||||||
--enable-externs \
|
--enable-default-colors --enable-externs \
|
||||||
--enable-internal-links --enable-nsl-fork \
|
--enable-internal-links --enable-nsl-fork \
|
||||||
--enable-persistent-cookies --enable-prettysrc \
|
--enable-persistent-cookies --enable-prettysrc \
|
||||||
--disable-font-switch --enable-source-cache \
|
--disable-font-switch --enable-source-cache \
|
||||||
@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
%config(noreplace,missingok) %{_sysconfdir}/lynx-site.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 11 2007 Ivana Varekova <varekova@redhat.com> - 2.8.6-10
|
||||||
|
- add default-colors option, change default setting (#409211)
|
||||||
|
|
||||||
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.8.6-9
|
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.8.6-9
|
||||||
- Rebuild for openssl bump
|
- Rebuild for openssl bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user