pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

elinks: upgraded to 0.18



Module Name:	pkgsrc-wip
Committed By:	Mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Sun Jan 5 17:41:50 2025 +0530
Changeset:	3a1ed648b0d16edd18d4fd20c44ba0d57d74a2e4

Added Files:
	elinks-dev/COMMIT_MSG
	elinks-dev/DESCR
	elinks-dev/Makefile
	elinks-dev/PLIST
	elinks-dev/distinfo
	elinks-dev/patches/patch-src_util_memory.c

Log Message:
elinks: upgraded to 0.18

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3a1ed648b0d16edd18d4fd20c44ba0d57d74a2e4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 elinks-dev/COMMIT_MSG                      |  7 +++++
 elinks-dev/DESCR                           |  6 +++++
 elinks-dev/Makefile                        | 30 +++++++++++++++++++++
 elinks-dev/PLIST                           | 42 ++++++++++++++++++++++++++++++
 elinks-dev/distinfo                        |  6 +++++
 elinks-dev/patches/patch-src_util_memory.c | 28 ++++++++++++++++++++
 6 files changed, 119 insertions(+)

diffs:
diff --git a/elinks-dev/COMMIT_MSG b/elinks-dev/COMMIT_MSG
new file mode 100644
index 0000000000..bccebec3fa
--- /dev/null
+++ b/elinks-dev/COMMIT_MSG
@@ -0,0 +1,7 @@
+www/elinks: Update elinks to 0.18
+
+Update prepared in wip by Mayuresh <mayuresh%acm.org@localhost>
+
+Build process is now based on meson.
+
+Release notes: https://github.com/rkd77/elinks/releases
diff --git a/elinks-dev/DESCR b/elinks-dev/DESCR
new file mode 100644
index 0000000000..d42ef99f4d
--- /dev/null
+++ b/elinks-dev/DESCR
@@ -0,0 +1,6 @@
+ELinks is an advanced and well-established feature-rich text mode web
+(HTTP/FTP/..) browser. ELinks can render both frames and tables, is highly
+customizable and can be extended via scripts. It is very portable and runs
+on a variety of platforms.
+
+This package was previously known as felinks, a fork of elinks.
diff --git a/elinks-dev/Makefile b/elinks-dev/Makefile
new file mode 100644
index 0000000000..8c5a1850a5
--- /dev/null
+++ b/elinks-dev/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+DISTNAME=	elinks-0.18.0
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rkd77/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/rkd77/elinks/
+COMMENT=	Feature-rich text mode web browser
+LICENSE=	gnu-gpl-v2
+
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		pkg-config
+
+WRKSRC=	${WRKDIR}/${DISTNAME}
+
+MESON_ARGS+=	-Dlibcss=false
+MESON_ARGS+=	-Dgpm=false
+LDFLAGS+=	-lexecinfo
+
+REPLACE_PERL+=		doc/tools/help2xml
+
+.include "../../lang/python/tool.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
+.include "../../devel/tre/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/elinks-dev/PLIST b/elinks-dev/PLIST
new file mode 100644
index 0000000000..a0437442c8
--- /dev/null
+++ b/elinks-dev/PLIST
@@ -0,0 +1,42 @@
+@comment $NetBSD$
+bin/elinks
+share/doc/elinks/elinks.1.html
+share/doc/elinks/elinkskeys.5.html
+share/doc/elinks/features.txt
+share/doc/elinks/keymap-defaults.txt
+share/doc/elinks/manual.html
+share/doc/elinks/option-command.frag.xhtml
+share/doc/elinks/perl-hooks.html
+share/doc/elinks/perl.html
+share/locale/af/LC_MESSAGES/elinks.mo
+share/locale/be/LC_MESSAGES/elinks.mo
+share/locale/bg/LC_MESSAGES/elinks.mo
+share/locale/ca/LC_MESSAGES/elinks.mo
+share/locale/cs/LC_MESSAGES/elinks.mo
+share/locale/da/LC_MESSAGES/elinks.mo
+share/locale/de/LC_MESSAGES/elinks.mo
+share/locale/el/LC_MESSAGES/elinks.mo
+share/locale/es/LC_MESSAGES/elinks.mo
+share/locale/et/LC_MESSAGES/elinks.mo
+share/locale/fi/LC_MESSAGES/elinks.mo
+share/locale/fr/LC_MESSAGES/elinks.mo
+share/locale/gl/LC_MESSAGES/elinks.mo
+share/locale/hr/LC_MESSAGES/elinks.mo
+share/locale/hu/LC_MESSAGES/elinks.mo
+share/locale/id/LC_MESSAGES/elinks.mo
+share/locale/is/LC_MESSAGES/elinks.mo
+share/locale/it/LC_MESSAGES/elinks.mo
+share/locale/ja/LC_MESSAGES/elinks.mo
+share/locale/lt/LC_MESSAGES/elinks.mo
+share/locale/nb/LC_MESSAGES/elinks.mo
+share/locale/nl/LC_MESSAGES/elinks.mo
+share/locale/pl/LC_MESSAGES/elinks.mo
+share/locale/pt/LC_MESSAGES/elinks.mo
+share/locale/pt_BR/LC_MESSAGES/elinks.mo
+share/locale/ro/LC_MESSAGES/elinks.mo
+share/locale/ru/LC_MESSAGES/elinks.mo
+share/locale/sk/LC_MESSAGES/elinks.mo
+share/locale/sr/LC_MESSAGES/elinks.mo
+share/locale/sv/LC_MESSAGES/elinks.mo
+share/locale/tr/LC_MESSAGES/elinks.mo
+share/locale/uk/LC_MESSAGES/elinks.mo
diff --git a/elinks-dev/distinfo b/elinks-dev/distinfo
new file mode 100644
index 0000000000..3b807b42c6
--- /dev/null
+++ b/elinks-dev/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (elinks-0.18.0.tar.gz) = 067ce5a7ebb5459441a562f327bfd46d02256369d81292d1e9aa0519abc51b7c
+SHA512 (elinks-0.18.0.tar.gz) = ee9d11c0a85e52c389fcc5f9652d16a327f80157f901c615ea5d164fe25ee067c41483cdd2d04398c7362b683bc826825dbfbd4e973de66360b17be0f8707f42
+Size (elinks-0.18.0.tar.gz) = 4165154 bytes
+SHA1 (patch-src_util_memory.c) = ed647d98044ad8bb519412b0ac99ac718514d3b5
diff --git a/elinks-dev/patches/patch-src_util_memory.c b/elinks-dev/patches/patch-src_util_memory.c
new file mode 100644
index 0000000000..8e6bcd3cca
--- /dev/null
+++ b/elinks-dev/patches/patch-src_util_memory.c
@@ -0,0 +1,28 @@
+$NetBSD$
+
+Use macro to make mremap compatible to NetBSD
+
+--- src/util/memory.c.orig	2025-01-05 10:19:09.775451763 +0000
++++ src/util/memory.c
+@@ -21,6 +21,12 @@
+ #include "util/error.h"
+ #include "util/memory.h"
+ 
++#if defined(__NetBSD__)
++# define MREMAP(p, oldsz, newsz, f)    mremap(p, oldsz, NULL, newsz, 0)
++# define MREMAP_MAYMOVE    0
++#else
++# define MREMAP(p, oldsz, newsz, f)    mremap(p, oldsz, newsz, f)
++#endif
+ 
+ #if !defined(DEBUG_MEMLEAK) && !defined(CONFIG_FASTMEM)
+ 
+@@ -165,7 +171,7 @@ mem_mmap_realloc(void *p, size_t old_siz
+ 
+ 	if (new_size) {
+ #ifdef HAVE_MREMAP
+-		void *p2 = mremap(p, round_size(old_size), round_size(new_size), MREMAP_MAYMOVE);
++		void *p2 = MREMAP(p, round_size(old_size), round_size(new_size), MREMAP_MAYMOVE);
+ 
+ 		if (p2 != MAP_FAILED)
+ 			return p2;


Home | Main Index | Thread Index | Old Index