Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package elinks for openSUSE:Factory checked in at 2023-05-06 22:08:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/elinks (Old) and /work/SRC/openSUSE:Factory/.elinks.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elinks" Sat May 6 22:08:26 2023 rev:7 rq:1084819 version:0.16.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/elinks/elinks.changes 2022-08-26 09:07:52.477359032 +0200 +++ /work/SRC/openSUSE:Factory/.elinks.new.1533/elinks.changes 2023-05-06 22:08:29.492482874 +0200 @@ -1,0 +2,29 @@ +Thu May 4 17:00:50 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.16.1.1: + * updated POTFILES + +------------------------------------------------------------------- +Mon May 1 03:49:11 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantari...@pm.me> + +- Update to version 0.16.1 + * handle SECTION html element #207 + * allocate more memory for BLOCKQUOTE #214 + * encode A href to terminal codepage and encode bytes with + highest bit set as %HEX #221 + * Serbian translation update + * install doc by default in meson #224 + * tests fixes + +------------------------------------------------------------------- +Sun Apr 30 02:08:20 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantari...@pm.me> + +- Update to rkd77 git version 0.16.0 +- Enable javascript with mujs on Tumbleweed (missing libxml++-5.0 on leap) +- Use LuaJIT for lua compiler until someone fix it with standart Lua +- Removed unneeded patches: + * build-with-new-ruby.patch +- Added the following patches: + * 0006-elinks-0.16.0-libidn2.patch + +------------------------------------------------------------------- Old: ---- build-with-new-ruby.patch elinks-current-0.13.tar.bz2 New: ---- 0006-elinks-0.16.0-libidn2.patch elinks-0.16.1.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ elinks.spec ++++++ --- /var/tmp/diff_new_pack.kAnvPu/_old 2023-05-06 22:08:30.000485702 +0200 +++ /var/tmp/diff_new_pack.kAnvPu/_new 2023-05-06 22:08:30.008485746 +0200 @@ -1,7 +1,7 @@ # # spec file for package elinks # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,46 +16,43 @@ # -%define tar_version 0.13 -%define snapshot 20190723 - +%if 0%{?suse_version} > 1500 +%bcond_without js +%else %bcond_with js +%endif Name: elinks -Version: %{tar_version}~0.%{snapshot} +Version: 0.16.1.1 Release: 0 Summary: An advanced and well-established feature-rich text mode web browser License: GPL-2.0-or-later Group: Productivity/Networking/Web/Browsers URL: http://elinks.or.cz/ -# Volatile download URL http://elinks.or.cz/download/%{name}-current-%{tar_version}.tar.bz2 -Source0: %{name}-current-%{tar_version}.tar.bz2 -Patch0: build-with-new-ruby.patch -%if 0%{?suse_version} > 1140 -BuildRequires: gc-devel -%endif +Source0: https://github.com/rkd77/elinks/releases/download/v%{version}/elinks-%{version}.tar.xz +Patch0: 0006-elinks-0.16.0-libidn2.patch +BuildRequires: gcc-c++ BuildRequires: gpm-devel %if %{with js} -BuildRequires: gcc-c++ -BuildRequires: mozjs24-devel +BuildRequires: pkgconfig(libcss) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libxml++-5.0) +BuildRequires: pkgconfig(mujs) +BuildRequires: pkgconfig(sqlite3) %endif +BuildRequires: autoconf +BuildRequires: automake BuildRequires: krb5-devel BuildRequires: libbz2-devel BuildRequires: libexpat-devel -BuildRequires: libidn-devel -%if 0%{?suse_version} > 1210 -BuildRequires: lua51-devel -%else -BuildRequires: lua-devel -%endif -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: libidn2-devel BuildRequires: libtool BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: ruby-devel BuildRequires: tre-devel BuildRequires: zlib-devel +BuildRequires: pkgconfig(luajit) Provides: web_browser BuildRoot: %{_tmppath}/%{name}-%{version}-build %perl_requires @@ -69,7 +66,7 @@ description. %prep -%setup -q -n %{name}-%{tar_version}-%{snapshot} +%setup -q -n %{name}-%{version} %patch0 -p1 # Remove build time references so build-compare can do its work FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M') @@ -97,22 +94,17 @@ --enable-html-highlight \ --enable-fastmem \ --with-xterm \ -%if 0%{?suse_version} > 1140 - --with-gc \ -%else - --without-gc \ -%endif %if %{without js} - --without-spidermonkey \ + --without-mujs \ %else - --with-spidermonkey=%{_includedir}/mozjs-24 \ + --with-mujs \ %endif --without-lzma \ --with-gssapi \ --without-guile \ --with-perl \ --without-python \ - --with-lua \ + --with-luapkg=luajit \ --with-ruby \ --without-gnutls \ --without-x @@ -130,7 +122,7 @@ # Install documentation %define _pkgdocdir %{buildroot}%{_docdir}/%{name} install -Dd -m 0755 %{_pkgdocdir} -install -pm 0644 AUTHORS BUGS COPYING ChangeLog NEWS README SITES THANKS TODO features.conf %{_pkgdocdir} +install -pm 0644 AUTHORS BUGS COPYING ChangeLog NEWS SITES THANKS TODO features.conf %{_pkgdocdir} cp -a doc/ %{_pkgdocdir} rm -rf %{_pkgdocdir}/doc/{.deps/,.gitignore,Doxyfile.in,Makefile,man/,tools/} install -Dd -m 0755 %{_pkgdocdir}/contrib/ ++++++ 0006-elinks-0.16.0-libidn2.patch ++++++ >From 41461147907ed9a93792309f074072e981b33f42 Mon Sep 17 00:00:00 2001 From: Kamil Dudka <kdu...@redhat.com> Date: Mon, 11 Apr 2022 09:39:48 +0200 Subject: [PATCH] Resolves: #1098789 - add support for GNU Libidn2 patch by Robert Scheck --- Makefile.config.in | 2 +- configure.ac | 4 ++-- src/osdep/win32/win32.c | 2 +- src/protocol/uri.c | 12 ++++++------ 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile.config.in b/Makefile.config.in index bf01d78..73d9762 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -139,7 +139,7 @@ CONFIG_GOPHER = @CONFIG_GOPHER@ CONFIG_GPM = @CONFIG_GPM@ CONFIG_GZIP = @CONFIG_GZIP@ CONFIG_HTML_HIGHLIGHT = @CONFIG_HTML_HIGHLIGHT@ -CONFIG_IDN = @CONFIG_IDN@ +CONFIG_IDN2 = @CONFIG_IDN2@ CONFIG_INTERLINK = @CONFIG_INTERLINK@ CONFIG_IPV6 = @CONFIG_IPV6@ CONFIG_DBLATEX = @CONFIG_DBLATEX@ diff --git a/configure.ac b/configure.ac index d4537ab..d3bf724 100644 --- a/configure.ac +++ b/configure.ac @@ -556,8 +556,8 @@ EL_LOG_CONFIG([CONFIG_BROTLI], [[brotli]], [[$enable_brotli]]) EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_LZMA, lzma, lzma.h, lzma, lzma_code, [ --with-lzma enable lzma encoding support]) -EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_IDN, idn, idna.h, idn, stringprep_check_version, - [ --without-idn disable international domain names support]) +EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_IDN2, idn2, idn2.h, idn2, idn2_lookup_ul, + [ --without-idn2 disable international domain names support]) # =================================================================== # Check for GSSAPI, optional even if installed. diff --git a/src/osdep/win32/win32.c b/src/osdep/win32/win32.c index 02b1834..f4c148d 100644 --- a/src/osdep/win32/win32.c +++ b/src/osdep/win32/win32.c @@ -44,7 +44,7 @@ init_osdep(void) } #endif setlocale(LC_ALL, ""); -#ifdef CONFIG_IDN +#ifdef CONFIG_IDN2 { char buf[60]; UINT cp = GetACP(); diff --git a/src/protocol/uri.c b/src/protocol/uri.c index a8f15d1..218d1af 100644 --- a/src/protocol/uri.c +++ b/src/protocol/uri.c @@ -9,8 +9,8 @@ #ifdef HAVE_ICONV #include <iconv.h> #endif -#ifdef HAVE_IDNA_H -#include <idna.h> +#ifdef HAVE_IDN2_H +#include <idn2.h> #endif #include <stdio.h> #include <stdlib.h> @@ -535,10 +535,10 @@ add_uri_to_string(struct string *string, const struct uri *uri, * --pasky */ if (uri->ipv6 && wants(URI_PORT)) add_char_to_string(string, '['); #endif -#ifdef CONFIG_IDN +#ifdef CONFIG_IDN2 /* Support for the GNU International Domain Name library. * - * http://www.gnu.org/software/libidn/manual/html_node/IDNA-Functions.html + * http://www.gnu.org/software/libidn/libidn2/manual/libidn2.html */ if (wants(URI_IDN)) { char *host = NULL; @@ -556,10 +556,10 @@ add_uri_to_string(struct string *string, const struct uri *uri, if (host) { char *idname; - int code = idna_to_ascii_8z(host, &idname, 0); + int code = idn2_lookup_ul(host, &idname, 0); /* FIXME: Return NULL if it coughed? --jonas */ - if (code == IDNA_SUCCESS) { + if (code == IDN2_OK) { add_to_string(string, idname); free(idname); add_host = 0; -- 2.38.1