pkgsrc-WIP-changes archive

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

edbrowse: Update wip/edbrowse to edbrowse-3.6.2



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Mon Feb 20 12:25:46 2017 +0100
Changeset:	a11523480667599be014b6fda6ce07120535c835

Modified Files:
	edbrowse/Makefile
	edbrowse/PLIST
	edbrowse/distinfo
Removed Files:
	edbrowse/patches/patch-src_buffers.c

Log Message:
edbrowse: Update wip/edbrowse to edbrowse-3.6.2

pkgsrc changes:
 - instruct cmake to find tidy header files (in the code it directly include
   tidy header files without the <tidy/.*> path)
 - get rid of a local patch imported upstream

Changes:
3.6.2:
Read and convert utf16 and utf32 as per the byte order mark.
convert such files to utf8 or iso8859-1 as per the console setting,
though the latter is deprecated.
Convert back only if writing back out to the same file.

Enter high unicodes by the string ~u....;
where the dots are hex digits and the semi is optional.

New "list buffers" command (bfl)  to get a list of buffers and filenames.

Read the attachment filename from the http content-disposition header and set the current filename accordingly.
The url could be replaced with foobar.zip, but that's what the web designer wanted.

If a file has a recognized suffix, with a stream plugin,
then typing g on a link within that file invokes the same plugin.
This is primarily used for .pls files, which are playlists,
and each URL therein is intended for a music player.
Other browsers seem to work this way.

3.6.1:
Merge edbrowse and edbrowse-js back into one executable image.
More convenient for distribution.
The --mode argument determines the action of the process.
Example edbrowse --mode js to run as the js engine.

Simple implementation of xhr under javascript, synchronous only.

Don't encode urls that have already been encoded via <A href=url>.
The second encoding is mostly harmless, except for + becoming %2b.

Turn on or off the progress dots during an http or ftp download,
or receive progress counts by megabyte.

Create the edbrowse temp dir at the outset, and user directories
beneath this directory, mod 700, for added security in a multiuser system.
Temp files for plugins are created beneath the user directories.

Reload the config file on command. No need to exit and restart.

~0 in an edbrowse function is the whole line, even if more than 9 arguments.

db>filename to redirect debugging output to a file.

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

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

diffstat:
 edbrowse/Makefile                    |  8 +++++---
 edbrowse/PLIST                       |  1 -
 edbrowse/distinfo                    |  9 ++++-----
 edbrowse/patches/patch-src_buffers.c | 16 ----------------
 4 files changed, 9 insertions(+), 25 deletions(-)

diffs:
diff --git a/edbrowse/Makefile b/edbrowse/Makefile
index f4c2c3d51a..046a719af6 100644
--- a/edbrowse/Makefile
+++ b/edbrowse/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	edbrowse-3.6.0.1
+DISTNAME=	edbrowse-3.6.2
 CATEGORIES=	www
 MASTER_SITES=	http://edbrowse.org/
 EXTRACT_SUFX=	.zip
@@ -14,6 +14,8 @@ USE_CMAKE=	yes
 USE_TOOLS+=	perl:build
 USE_LANGUAGES=	c c++
 
+CMAKE_ARGS+=	-DTIDY_ROOT=${PREFIX}/include/tidy
+
 SUBST_CLASSES+=		man
 SUBST_STAGE.man=	pre-patch
 SUBST_MESSAGE.man=	Fixing paths in man page
@@ -29,8 +31,8 @@ post-install:
 	    ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/edbrowse.1
 
 .include "../../devel/pcre/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
 .include "../../wip/spidermonkey24/buildlink3.mk"
-.include "../../wip/tidy/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/tidy/buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/edbrowse/PLIST b/edbrowse/PLIST
index bd029be6ad..2ed9c162bd 100644
--- a/edbrowse/PLIST
+++ b/edbrowse/PLIST
@@ -1,5 +1,4 @@
 @comment $NetBSD$
 bin/edbrowse
-bin/edbrowse-js
 man/man1/edbrowse.1
 share/doc/edbrowse/usersguide.html
diff --git a/edbrowse/distinfo b/edbrowse/distinfo
index 739ecdb1d0..3160f2d0b9 100644
--- a/edbrowse/distinfo
+++ b/edbrowse/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-SHA1 (edbrowse-3.6.0.1.zip) = 9c4f158bd1492ac216a6f80e32143c2955910327
-RMD160 (edbrowse-3.6.0.1.zip) = 6ecc8f955bededac87e8976f10aa7b92bd5194f1
-SHA512 (edbrowse-3.6.0.1.zip) = b06b0631fd6305631abf57b5d6a7b51233cea51b4d02f92235d350872095a010e5982d5478f4a344d2e6c9e87fbae037880f34ef29aaa6cdc8c4da78089fc308
-Size (edbrowse-3.6.0.1.zip) = 582275 bytes
-SHA1 (patch-src_buffers.c) = bbadde0840e88b6e345701cc0db6257f51a34a19
+SHA1 (edbrowse-3.6.2.zip) = 20e66feae2035dc7b498fceb1d1b4cec40357b7a
+RMD160 (edbrowse-3.6.2.zip) = d632232a4a859ad39189bd81c1cc188a6ab09497
+SHA512 (edbrowse-3.6.2.zip) = 8156189fdba5d0730450279ae4058fa3b7da7b523cb3674cfbc8e80ab3e45347de1b0c93a3bfbc9dc2e9b2ff4d88bfa5cd628c714845379220dd084c4e6696f7
+Size (edbrowse-3.6.2.zip) = 600592 bytes
diff --git a/edbrowse/patches/patch-src_buffers.c b/edbrowse/patches/patch-src_buffers.c
deleted file mode 100644
index 5dfefa0cbf..0000000000
--- a/edbrowse/patches/patch-src_buffers.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-Avoid possible NULL dereference typing a line with just an EOF character
-(typically via ^D). 
-
---- src/buffers.c.orig	2015-12-26 19:31:45.000000000 +0000
-+++ src/buffers.c
-@@ -408,7 +408,7 @@ dotimers:
- 
- 	if (inputReadLine && isInteractive) {
- 		last_rl = readline("");
--		if (*last_rl)
-+		if ((last_rl != NULL) && *last_rl)
- 			add_history(last_rl);
- 		s = (uchar *) last_rl;
- 	} else {


Home | Main Index | Thread Index | Old Index