summaryrefslogtreecommitdiff
path: root/www/elinks
diff options
context:
space:
mode:
authorbjs <bjs>2008-01-09 03:48:07 +0000
committerbjs <bjs>2008-01-09 03:48:07 +0000
commite90da1bb0012bef24484fa71fc9de8547b540e3f (patch)
tree930bf27b16aebcc873095be1cefc5d00be949600 /www/elinks
parent4e851d7e67eb238b512b301021ea8c49707d3417 (diff)
downloadpkgsrc-e90da1bb0012bef24484fa71fc9de8547b540e3f.tar.gz
Update to current 0.11 branch as of 2008/01/09. Too many changes/fixes
to list here; one may check the log at <http://repo.or.cz/w/elinks.git> (see the elinks-0.11 branch). There should be a 0.11.4 release out fairly soon. While here, add two patches (from debian maintainer): one to ensure that its gettext doesn't look for files in ../po/, and the other to disable transparency by default. Bump revision.
Diffstat (limited to 'www/elinks')
-rw-r--r--www/elinks/Makefile8
-rw-r--r--www/elinks/distinfo14
-rw-r--r--www/elinks/patches/patch-aa10
-rw-r--r--www/elinks/patches/patch-ab10
-rw-r--r--www/elinks/patches/patch-af23
-rw-r--r--www/elinks/patches/patch-ag15
6 files changed, 61 insertions, 19 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile
index df9dc4b1bf4..2210f6371b4 100644
--- a/www/elinks/Makefile
+++ b/www/elinks/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.33 2007/08/09 13:03:21 joerg Exp $
+# $NetBSD: Makefile,v 1.34 2008/01/09 03:48:07 bjs Exp $
-DISTNAME= elinks-0.11.3
+DISTNAME= elinks-0.11-20080109
+PKGREVISION= 1
+PKGNAME= ${DISTNAME:R}.${DISTNAME:E:S/-/./}
CATEGORIES= www
-MASTER_SITES= http://elinks.or.cz/download/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/www/elinks/distinfo b/www/elinks/distinfo
index c012b534d8d..e72df7a3092 100644
--- a/www/elinks/distinfo
+++ b/www/elinks/distinfo
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.20 2007/08/09 13:03:21 joerg Exp $
+$NetBSD: distinfo,v 1.21 2008/01/09 03:48:07 bjs Exp $
-SHA1 (elinks-0.11.3.tar.bz2) = e4d8b0edd5fa4ec4310662242f0b5cf32864ed11
-RMD160 (elinks-0.11.3.tar.bz2) = 936f0cd4dbc69f70c329cf0ef5d7acd722652b6e
-Size (elinks-0.11.3.tar.bz2) = 2516793 bytes
-SHA1 (patch-aa) = d396437d47a7162e0414368ac55b513b33b0f7cd
-SHA1 (patch-ab) = b08b2c8a9148e69ab18eb8577f95672cd707cdf3
+SHA1 (elinks-0.11-20080109.tar.bz2) = d6453c67551b1a9d8449915bffd557faefa26f13
+RMD160 (elinks-0.11-20080109.tar.bz2) = 508e3ff1b311c95980e71fddf3c600dc4c54d779
+Size (elinks-0.11-20080109.tar.bz2) = 5049225 bytes
+SHA1 (patch-aa) = e4106d39982ca00606667d9463982ee86afbf868
+SHA1 (patch-ab) = dd1c48e0c1b7980b6332e11ab38e13202325cd55
SHA1 (patch-ac) = f7dc18652782a5ad0768a5693a69bcadc6e5754d
SHA1 (patch-ad) = 3378dc9415533234fe98a038831cd5208c85f0aa
SHA1 (patch-ae) = 566ac2d8900c0f64414eb7b9164fd3b8557046fd
+SHA1 (patch-af) = 55922138dc8ef861fcb9ab352670bac614afb405
+SHA1 (patch-ag) = 34d794c4c0cb99d6c5a1b19f4485f7c59962064a
diff --git a/www/elinks/patches/patch-aa b/www/elinks/patches/patch-aa
index 25d41040311..62967b8f038 100644
--- a/www/elinks/patches/patch-aa
+++ b/www/elinks/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
+$NetBSD: patch-aa,v 1.8 2008/01/09 03:48:07 bjs Exp $
---- configure.orig 2007-04-15 16:51:12.000000000 -0400
+--- configure.orig 2008-01-08 18:35:23.000000000 -0500
+++ configure
@@ -907,7 +907,7 @@ Optional Packages:
--without-openssl disable OpenSSL support
@@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
ASCIIDOC_FLAGS=--unsafe
fi
rm config.asciidoc-unsafe.*
-@@ -17564,7 +17564,7 @@ if test -z "$disable_lua"; then
+@@ -17624,7 +17624,7 @@ if test -z "$disable_lua"; then
for luadir in "$withval" "" /usr /usr/local; do
for suffix in "" 50 51; do
if test "$cf_result" = no; then
@@ -29,7 +29,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
if test ! -z "$luadir"; then
LUA_LIBS="-L$luadir/lib $LUA_LIBS"
-@@ -20479,9 +20479,9 @@ done
+@@ -20603,9 +20603,9 @@ done
@@ -41,7 +41,7 @@ $NetBSD: patch-aa,v 1.7 2007/08/09 13:03:21 joerg Exp $
for dir in `echo "$withval" | tr : ' '`; do
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
-@@ -23231,7 +23231,7 @@ _ACEOF
+@@ -23355,7 +23355,7 @@ _ACEOF
# Create LIBDIR #define for config.h
diff --git a/www/elinks/patches/patch-ab b/www/elinks/patches/patch-ab
index 3b8cd3cace4..f40634ce4fc 100644
--- a/www/elinks/patches/patch-ab
+++ b/www/elinks/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
+$NetBSD: patch-ab,v 1.6 2008/01/09 03:48:07 bjs Exp $
---- src/scripting/lua/core.c.orig 2006-01-29 13:10:39.000000000 +0000
+--- src/scripting/lua/core.c.orig 2008-01-08 18:35:08.000000000 -0500
+++ src/scripting/lua/core.c
-@@ -633,7 +633,7 @@ do_hooks_file(LS, unsigned char *prefix,
+@@ -641,7 +641,7 @@ do_hooks_file(LS, unsigned char *prefix,
if (file_can_read(file)) {
int oldtop = lua_gettop(S);
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
sleep(3); /* Let some time to see error messages. */
lua_settop(S, oldtop);
}
-@@ -644,13 +644,24 @@ do_hooks_file(LS, unsigned char *prefix,
+@@ -652,13 +652,24 @@ do_hooks_file(LS, unsigned char *prefix,
void
init_lua(struct module *module)
{
@@ -43,7 +43,7 @@ $NetBSD: patch-ab,v 1.5 2006/09/06 15:14:34 abs Exp $
lua_register(L, LUA_ALERT, l_alert);
lua_register(L, "current_url", l_current_url);
-@@ -755,7 +766,7 @@ handle_ret_eval(struct session *ses)
+@@ -763,7 +774,7 @@ handle_ret_eval(struct session *ses)
int oldtop = lua_gettop(L);
if (prepare_lua(ses) == 0) {
diff --git a/www/elinks/patches/patch-af b/www/elinks/patches/patch-af
new file mode 100644
index 00000000000..59523ea31bb
--- /dev/null
+++ b/www/elinks/patches/patch-af
@@ -0,0 +1,23 @@
+$NetBSD: patch-af,v 1.1 2008/01/09 03:48:08 bjs Exp $
+
+Turn off transparency by default--those who need it can turn it on,
+and it doesn't make sense for non-xterm use.
+
+--- src/config/options.inc.orig 2008-01-08 18:35:08.000000000 -0500
++++ src/config/options.inc
+@@ -826,11 +826,13 @@ static struct option_info config_options
+ "2 is 256 color mode, uses XTerm RGB codes")),
+
+ INIT_OPT_BOOL("terminal._template_", N_("Transparency"),
+- "transparency", 0, 1,
++ "transparency", 0, 0,
+ N_("If we should not set the background to black. This is particularly\n"
+ "useful when we have a terminal (typically in some windowing\n"
+ "environment) with a background image or a transparent background -\n"
+- "it will be visible in ELinks as well. Note that this option makes\n"
++ "it will be visible in ELinks as well (but ELinks document color handling\n"
++ "will still assume the background is black so if you have a bright background\n"
++ "you might experience contrast problems. Note that this option makes\n"
+ "sense only when colors are enabled.")),
+
+ INIT_OPT_BOOL("terminal._template_", N_("Underline"),
diff --git a/www/elinks/patches/patch-ag b/www/elinks/patches/patch-ag
new file mode 100644
index 00000000000..1787ff3deab
--- /dev/null
+++ b/www/elinks/patches/patch-ag
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1 2008/01/09 03:48:08 bjs Exp $
+
+Don't look for message catalogs in ../po/.
+
+--- src/intl/gettext/loadmsgcat.c.orig 2008-01-08 18:35:08.000000000 -0500
++++ src/intl/gettext/loadmsgcat.c
+@@ -259,7 +259,7 @@ _nl_load_domain(struct loaded_l10nfile *
+ {
+ struct string filename;
+
+- if (init_string(&filename)
++ if (init_string(&filename) && 0
+ && add_filename_to_string(&filename, domain_file)) {
+ fd = open(filename.source, O_RDONLY | O_BINARY);
+ }