Dominique Leuenberger 2025-03-01 18:16:14 +00:00 committed by Git OBS Bridge
commit e10194396f
5 changed files with 72 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc6f292b7173814d480655e7037dd68b7251303545ca554344d7953a57c4ba63
size 2001036

3
elinks-0.18.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e56ef15996a1ca130789293ee6d49cbecf175c06266acfa676fa6edb271a1173
size 2078656

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Feb 28 16:06:11 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- Update to version 0.18.0:
* drop combining compile time option
* bump mozjs dependency to 128
* console.assert (and extension console.exit)
* test option for testing js code
* added document.scripting_sleep_on_error option #319
* skip hidden elements #341
* fix linking -lexecinfo #337
* Serbian translation update
* Polish translation update
* detect if gettext has _nl_msg_cat_cntr #325
* added reopen-last-closed-tab action #309
* added options for memory limits of Spidermonkey and QuickJS
* gemini input #121
* compilation fixes
* redirect also for 308 #343
* ignore HUBBUB_UNKNOWN #344
- Add move_ruby_headers.patch: Moved the headers to a ruby.c
(gh#rkd77/elinks#370)
-------------------------------------------------------------------
Thu Oct 10 11:31:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package elinks
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,13 +22,14 @@
%bcond_with js
%endif
Name: elinks
Version: 0.17.1.1
Version: 0.18.0
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/
Source0: https://github.com/rkd77/elinks/releases/download/v%{version}/elinks-%{version}.tar.xz
Patch1: move_ruby_headers.patch
BuildRequires: gcc-c++
BuildRequires: gpm-devel
%if %{with js}

42
move_ruby_headers.patch Normal file
View File

@ -0,0 +1,42 @@
From f7ba1b40117dfb269db28ad4486838c20bb05ea2 Mon Sep 17 00:00:00 2001
From: Marius Grossu <marius.grossu@suse.com>
Date: Fri, 28 Feb 2025 16:35:26 +0100
Subject: [PATCH] Inlcude the ruby/version.h in ruby.c since it was moved
---
src/scripting/ruby/core.c | 1 -
src/scripting/ruby/ruby.c | 6 ++++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/scripting/ruby/core.c b/src/scripting/ruby/core.c
index 7f10f6a6..30feba0e 100644
--- a/src/scripting/ruby/core.c
+++ b/src/scripting/ruby/core.c
@@ -6,7 +6,6 @@
#undef _GNU_SOURCE
#include <ruby.h>
-#include <ruby/version.h>
#undef _
diff --git a/src/scripting/ruby/ruby.c b/src/scripting/ruby/ruby.c
index 9bc15feb..2eb656d9 100644
--- a/src/scripting/ruby/ruby.c
+++ b/src/scripting/ruby/ruby.c
@@ -4,6 +4,12 @@
#include "config.h"
#endif
+#undef _GNU_SOURCE
+#include <ruby.h>
+#include <ruby/version.h>
+
+#undef _
+
#include "elinks.h"
#include "intl/libintl.h"
--
2.48.1