Witam. Poprawiłem sobie plik url_handler.sh z pakietu urlview, tak żeby obsługiwał nie tylko lynxa i netscape, ale również linksa. Pomyślałem, że można by było to wrzucić do pakietu. W załączniku jest patch - urlview-links.patch oraz plik diff, dla urlview.spec. Buduje się i działa.
-- Pozdrawiam Maciek Mitura
--- urlview.spec 2004-01-05 20:50:28.000000000 +0100 +++ urlview-my.spec 2004-09-17 12:05:39.238963608 +0200 @@ -3,13 +3,14 @@ Summary(pl): Program do wyciągania/oglądania URL-i dla Mutta Name: urlview Version: 0.9 -Release: 6 +Release: 7 License: GPL Group: Applications/Networking Source0: ftp://ftp.mutt.org/mutt/contrib/%{name}-%{version}.tar.gz # Source0-md5: 67731f73e69297ffd106b65c8aebb2ab Patch0: %{name}-DESTDIR.patch Patch1: %{name}-regexp.patch +Patch2: %{name}-links.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: ncurses-devel @@ -28,6 +29,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build rm -f missing
--- urlview-0.9/url_handler.sh 2000-07-04 12:14:30.000000000 +0200 +++ urlview-0.9/url_handler-my.sh 2004-09-17 11:59:16.571137960 +0200 @@ -28,11 +28,11 @@ # VT: Launch in the same terminal # The lists of programs to be executed are -https_prgs="/usr/X11R6/bin/netscape:XW /usr/bin/lynx:XT" -http_prgs="/usr/bin/lynx:XT /usr/X11R6/bin/netscape:XW" +https_prgs="/usr/X11R6/bin/netscape:XW /usr/bin/lynx:XT /usr/bin/links:XT" +http_prgs="/usr/bin/lynx:XT /usr/X11R6/bin/netscape:XW /usr/bin/links:XT" mailto_prgs="/usr/bin/mutt:VT /usr/bin/elm:VT /usr/bin/pine:VT /usr/bin/mail:VT" -gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT" -ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT" +gopher_prgs="/usr/bin/lynx:XT /usr/bin/gopher:XT /usr/bin/links:XT" +ftp_prgs="/usr/bin/lynx:XT /usr/bin/ncftp:XT /usr/bin/links:XT" # Program used as an xterm (if it doesn't support -T you'll need to change # the command line in getprg)
_______________________________________________ pld-devel-pl mailing list [EMAIL PROTECTED] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
