From 87a6689b5267e93a9e6b2fe93f555c41c74c7a17 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:04:20 +0100 Subject: [PATCH] update to 0.13 [release 0.13-1mamba;Tue Jan 29 2013] --- README.md | 14 ++++++ elinks-0.13-gcc-4.8.patch | 12 +++++ elinks.spec | 103 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+) create mode 100644 elinks-0.13-gcc-4.8.patch create mode 100644 elinks.spec diff --git a/README.md b/README.md index 7338878..e8230a6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # elinks +ELinks can render both frames and tables, is highly customizable and can be extended via Lua or Guile scripts. +It is very portable and runs on a variety of platforms. +Below the most noteworthy features are listed. + +- Lots of protocols (local files, finger, http, https, ftp, smb, ipv4, ipv6) +- Authentication (HTTP authentication, Proxy authentication) +- Persistent cookies +- Cute menus and dialogs +- Tabbed browsing +- Support for browser scripting (Perl, Lua, Guile) +- Tables and frames rendering +- Colors +- Background (non-blocking) downloads + diff --git a/elinks-0.13-gcc-4.8.patch b/elinks-0.13-gcc-4.8.patch new file mode 100644 index 0000000..abfaa84 --- /dev/null +++ b/elinks-0.13-gcc-4.8.patch @@ -0,0 +1,12 @@ +diff -Nru elinks-0.13.orig/src/intl/charsets.c elinks-0.13/src/intl/charsets.c +--- elinks-0.13.orig/src/intl/charsets.c 2013-01-20 12:58:03.000000000 +0100 ++++ elinks-0.13/src/intl/charsets.c 2013-04-28 14:16:38.920834158 +0200 +@@ -895,7 +895,7 @@ + + /* Cast away const. */ + for (i = 128; i < 256; i++) +- mem_free((unsigned char *) utf_table[i].u.str); ++ mem_free(utf_table[i].u.str); + } + + static struct conv_table * diff --git a/elinks.spec b/elinks.spec new file mode 100644 index 0000000..40bd102 --- /dev/null +++ b/elinks.spec @@ -0,0 +1,103 @@ +Name: elinks +Version: 0.13 +Release: 1mamba +Summary: An advanced and well-established feature-rich text mode web browser +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://elinks.or.cz/ +Source: http://elinks.or.cz/download/elinks-current-%{version}.tar.gz +#Source: http://elinks.or.cz/download/%{name}-%{version}.tar.bz2 +Patch0: elinks-0.13-gcc-4.8.patch +License: GPL +BuildRequires: bison +BuildRequires: gettext-devel +BuildRequires: libgpm-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +BuildRequires: libexpat-devel +BuildRequires: libidn-devel +BuildRequires: libopenssl-devel +BuildRequires: libX11-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ELinks can render both frames and tables, is highly customizable and can be extended via Lua or Guile scripts. +It is very portable and runs on a variety of platforms. +Below the most noteworthy features are listed. + +- Lots of protocols (local files, finger, http, https, ftp, smb, ipv4, ipv6) +- Authentication (HTTP authentication, Proxy authentication) +- Persistent cookies +- Cute menus and dialogs +- Tabbed browsing +- Support for browser scripting (Perl, Lua, Guile) +- Tables and frames rendering +- Colors +- Background (non-blocking) downloads + +%prep +%setup -q -c +mv elinks-%{version}*/* . +%patch0 -p1 + +%build +export LUA_LIBS=`pkg-config --libs lua5.1` +%configure \ + --with-xterm \ + --with-x \ + --enable-cgi \ + --enable-finger \ + --enable-gopher \ + --enable-nntp \ + --enable-256-colors \ + --enable-exmode \ + --enable-leds \ + --enable-no-root \ + --enable-fastmem +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%find_lang %{name} + +# Remove file that conflicts with the one in locales package +rm -f %{buildroot}%{_datadir}/locale/locale.alias + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/elinks +%{_mandir}/man1/elinks.1.gz +%{_mandir}/man5/elinks.conf.5.gz +%{_mandir}/man5/elinkskeys.5.gz +%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO + +%changelog +* Tue Jan 29 2013 Automatic Build System 0.13-1mamba +- update to 0.13 + +* Fri Dec 19 2008 Silvan Calarco 0.11.5-1mamba +- automatic update by autodist + +* Sat Jul 19 2008 gil 0.11.4-1mamba +- update to 0.11.4 +- removed buildrequires: Xorg-devel +- edit: vendor, packager, distribution + +* Tue Feb 06 2007 Stefano Cotta Ramusino 0.11.2-1qilnx +- update to version 0.11.2 by autospec + +* Wed Mar 22 2006 Stefano Cotta Ramusino 0.11.1-1qilnx +- update to version 0.11.1 by autospec + +* Fri Oct 14 2005 Stefano Cotta Ramusino 0.10.6-1qilnx +- package created by autospec