Skip to content

Commit a6cbae7

Browse files
authored
Upgrade elinks to version 0.17.0 (microsoft#13076)
1 parent a387225 commit a6cbae7

File tree

5 files changed

+24
-120
lines changed

5 files changed

+24
-120
lines changed

SPECS-EXTENDED/elinks/0005-elinks-0.15.0-xterm.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
From b2f38ad669e99a650850a36576a4d54c57bf9ac0 Mon Sep 17 00:00:00 2001
22
From: Kamil Dudka <[email protected]>
3-
Date: Mon, 11 Apr 2022 09:27:22 +0200
3+
Date: Tue, 2 Jan 2023 11:48:22 +0100
44
Subject: [PATCH] Resolves: #128105 - use "Linux" xterm terminal driver instead
55
of "VT100"
66

7-
elinks-0.10.1-xterm.patch rebased on 0.15.0
7+
0005-elinks-0.15.0-xterm.patch rebased on 0.17.0
88
---
99
src/config/options.c | 2 +-
1010
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -20,8 +20,8 @@ index a43fbe0..a363b36 100644
2020
- get_opt_int("terminal.xterm.type", NULL) = TERM_VT100;
2121
+ get_opt_int("terminal.xterm.type", NULL) = TERM_LINUX;
2222
get_opt_bool("terminal.xterm.underline", NULL) = 1;
23+
get_opt_bool("terminal.xterm.strike", NULL) = 1;
2324
get_opt_int("terminal.xterm-color.type", NULL) = TERM_VT100;
24-
get_opt_int("terminal.xterm-color.colors", NULL) = COLOR_MODE_16;
2525
--
2626
2.34.1
2727

SPECS-EXTENDED/elinks/0006-elinks-0.16.0-libidn2.patch

Lines changed: 0 additions & 98 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Signatures": {
3-
"elinks-0.16.0.tar.xz": "4d65b78563af39ba1d0a9ab1c081e129ef2ed541009e6ff11c465ba9d8f0f234",
3+
"elinks-0.17.0.tar.xz": "58c73a6694dbb7ccf4e22cee362cf14f1a20c09aaa4273343e8b7df9378b330e",
44
"elinks.conf": "39679e5f67383fb4a9fd749faf0cca09956e25dcfb9fba064bafec126525b22a"
55
}
66
}

SPECS-EXTENDED/elinks/elinks.spec

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Name: elinks
2-
Summary: A text-mode Web browser
3-
Version: 0.16.0
4-
Release: 3%{?dist}
5-
Vendor: Microsoft Corporation
6-
Distribution: Azure Linux
7-
License: GPLv2
8-
URL: https://github.com/rkd77/elinks
9-
Source: https://github.com/rkd77/elinks/releases/download/v%{version}/elinks-%{version}.tar.xz
10-
Source2: elinks.conf
1+
Name: elinks
2+
Summary: A text-mode Web browser
3+
Version: 0.17.0
4+
Release: 1%{?dist}
5+
Vendor: Microsoft Corporation
6+
Distribution: Azure Linux
7+
License: GPLv2
8+
URL: https://github.com/rkd77/elinks
9+
Source: https://github.com/rkd77/elinks/releases/download/v%{version}/elinks-%{version}.tar.xz
10+
Source2: elinks.conf
1111

1212
BuildRequires: automake
1313
BuildRequires: bzip2-devel
@@ -46,11 +46,9 @@ Patch4: 0004-elinks-0.15.0-sysname.patch
4646
# Fix xterm terminal: "Linux" driver seems better than "VT100" (#128105)
4747
Patch5: 0005-elinks-0.15.0-xterm.patch
4848

49-
# add support for GNU Libidn2, patch by Robert Scheck (#1098789)
50-
Patch6: 0006-elinks-0.16.0-libidn2.patch
5149

5250
# let list_is_singleton() return false for an empty list (#1075415)
53-
Patch15: elinks-0.12pre6-list_is_singleton.patch
51+
Patch6: elinks-0.12pre6-list_is_singleton.patch
5452

5553
%description
5654
Elinks is a text-based Web browser. Elinks does not display any images,
@@ -85,7 +83,7 @@ CFLAGS="$CFLAGS -DLUA_COMPAT_5_3"
8583
--without-spidermonkey \
8684
--without-x
8785

88-
%make_build
86+
%make_build -j1
8987

9088
%install
9189
%make_install
@@ -122,7 +120,7 @@ exit 0
122120

123121
%files -f elinks.lang
124122
%license COPYING
125-
%doc README
123+
%doc README.md
126124
%ghost %verify(not md5 size mtime) %{_bindir}/links
127125
%{_bindir}/elinks
128126
%ghost %verify(not md5 size mtime) %{_mandir}/man1/links.1.gz
@@ -131,6 +129,10 @@ exit 0
131129
%{_mandir}/man5/*
132130

133131
%changelog
132+
* Fri Mar 21 2025 Jyoti kanase <[email protected]> - 0.17.0-1
133+
- Upgrade to 0.17.0.
134+
- License Verified.
135+
134136
* Thu Jan 26 2023 Henry Li <[email protected]> - 0.16.0-1
135137
- Initial CBL-Mariner import from Fedora 38 (license: MIT)
136138
- License Verified
@@ -662,4 +664,4 @@ exit 0
662664
- provides virtual package webclient.
663665

664666
* Thu Jan 6 2000 Bernhard Rosenkraenzer <[email protected]>
665-
- initial RPM
667+
- initial RPM

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3258,8 +3258,8 @@
32583258
"type": "other",
32593259
"other": {
32603260
"name": "elinks",
3261-
"version": "0.16.0",
3262-
"downloadUrl": "https://github.com/rkd77/elinks/releases/download/v0.16.0/elinks-0.16.0.tar.xz"
3261+
"version": "0.17.0",
3262+
"downloadUrl": "https://github.com/rkd77/elinks/releases/download/v0.17.0/elinks-0.17.0.tar.xz"
32633263
}
32643264
}
32653265
},

0 commit comments

Comments
 (0)