unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob a59beebfe082700ec0abedc75367e34318ca3da3 5972 bytes (raw)
name: gnu/packages/patches/w3m-upstream-20120522.patch 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
 
Description: Upstream development snapshot on 2012-05-22
Origin: upstream, http://w3m.cvs.sourceforge.net/viewvc/w3m/w3m/

diff -urN w3m-0.5.3/ChangeLog w3m/ChangeLog
--- w3m-0.5.3/ChangeLog	2011-01-15 16:52:48.000000000 +0900
+++ w3m/ChangeLog	2012-05-22 22:11:44.000000000 +0900
@@ -1,12 +1,31 @@
+2012-05-22  Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
+
+	* [w3m-dev 04451] w3m/entity.h should be removed when `make clean'
+	* Makefile.in: add entity.h to "make clean" target.
+
+2012-05-22  Tatsuya Kinoshita <tats@vega.ocn.ne.jp>
+
+	* [w3m-dev 04452] Re: w3m on macosx 10.6.6
+	* doc/w3m.1, doc/STORY.html, doc-jp/STORY.html: 
+	  delete words about formerly included Boehm GC library.
+
+2012-05-22  Enu <theme.of.n@gmail.com>
+
+	* file.c, HTML.c: parse META CHARSET.
+
+2011-01-17  Dai Sato <satodai@w3m.jp>
+
+	* correction: ChangeLog of 2011-01-15 (0.5.2 -> 0.5.3)
+
 2011-01-15  Dai Sato <satodai@w3m.jp>
 
-	* w3m 0.5.2
+	* w3m 0.5.3
 	* version.c.in: update
-	* doc/README: version 0.5.2, release date, maintainer
+	* doc/README: version 0.5.3, release date, maintainer
 	* doc-jp/README: ditto
 	* po/w3m.pot, ja.po: ditto
 	* NEWS: update
-	* configure.ac: version 0.5.2
+	* configure.ac: version 0.5.3
 	* configure: regenerated
 
 2011-01-05  SAKAI Kiyotaka <kiyotaka.sakai@ntt-at.co.jp>
@@ -9300,4 +9319,4 @@
 	* release-0-2-1
 	* import w3m-0.2.1
 
-$Id: ChangeLog,v 1.1050 2011/01/15 07:52:48 inu Exp $
+$Id: ChangeLog,v 1.1055 2012/05/22 10:20:45 inu Exp $
diff -urN w3m-0.5.3/Makefile.in w3m/Makefile.in
--- w3m-0.5.3/Makefile.in	2011-01-04 18:22:18.000000000 +0900
+++ w3m/Makefile.in	2012-05-22 22:11:44.000000000 +0900
@@ -288,7 +288,7 @@
 clean: sweep
 	-$(RM) -f *.o *.a $(TARGETS) mktable$(EXT)
 	-$(RM) -f funcname.tab
-	-$(RM) -f funcname.c funcname1.h funcname2.h tagtable.c functable.c
+	-$(RM) -f entity.h funcname.c funcname1.h funcname2.h tagtable.c functable.c
 	-for dir in w3mimg libwc; \
 	do \
 		(cd $$dir && $(MAKE) clean RM="$(RM)"); \
diff -urN w3m-0.5.3/doc/STORY.html w3m/doc/STORY.html
--- w3m-0.5.3/doc/STORY.html	2001-11-21 13:29:14.000000000 +0900
+++ w3m/doc/STORY.html	2012-05-22 22:11:44.000000000 +0900
@@ -182,6 +182,10 @@
 I could distribute w3m without this library because one can
 get the library separately, but I decided to contain it in the
 w3m distribution for the convenience of an installer.
+<P>
+# Boehm GC library is no longer included into w3m packages
+# after w3m-0.4.2.
+<P>
 W3m doesn't use libwww.
 <P>
 Boehm GC is a garbage collector for C and C++. I began to use this
diff -urN w3m-0.5.3/doc/w3m.1 w3m/doc/w3m.1
--- w3m-0.5.3/doc/w3m.1	2011-01-15 15:37:24.000000000 +0900
+++ w3m/doc/w3m.1	2012-05-22 22:11:44.000000000 +0900
@@ -245,8 +245,6 @@
 .I
 w3m
 has incorporated code from several sources.
-Hans J. Boehm, Alan J. Demers, Xerox Corp. and Silicon Graphics
-have the copyright of the GC library comes with w3m package.
 Users have contributed patches and suggestions over time.
 .SH AUTHOR
 Akinori ITO <aito@fw.ipsj.or.jp>
diff -urN w3m-0.5.3/doc-jp/STORY.html w3m/doc-jp/STORY.html
--- w3m-0.5.3/doc-jp/STORY.html	2003-05-14 02:17:54.000000000 +0900
+++ w3m/doc-jp/STORY.html	2012-05-22 22:11:44.000000000 +0900
@@ -158,6 +158,9 @@
 <a href="http://www.hpl.hp.com/personal/Hans_Boehm/gc/">Boehm GC</a>
 ¤È¤¤¤¦¥é¥¤¥Ö¥é¥ê¤òÍøÍѤ·¤Æ¤¤¤ë¡¥¤³¤ì¤Ï»ä¤¬½ñ¤¤¤¿¤â¤Î¤Ç¤Ï¤Ê¤¤¤¬¡¤
 ¥³¥ó¥Ñ¥¤¥ë»þ¤ÎÊص¹¤ò¹Í¤¨¤ÆÇÛÉۥѥ屡¼¥¸¤Ë´Þ¤á¤Æ¤¤¤ë¡¥
+<P>
+# Boehm GC ¤Ï¡¢w3m-0.4.2 °Ê¹ß¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
+<P>
 ¤Ê¤ª¡¤libwww ¤Ï»È¤Ã¤Æ¤¤¤Ê¤¤¡¥
 <P>
 Boehm GC¤Ï¡¤C¤«¤é»È¤¨¤ë¥¬¥Ù¡¼¥¸¥³¥ì¥¯¥¿¤À¡¥table ¤ò¼ÂÁõ¤·¤¿¤¢¤¿¤ê¤Ë¤³¤ì¤ò
diff -urN w3m-0.5.3/file.c w3m/file.c
--- w3m-0.5.3/file.c	2011-01-04 18:22:21.000000000 +0900
+++ w3m/file.c	2012-05-22 22:11:44.000000000 +0900
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.265 2010/12/15 10:50:24 htrb Exp $ */
+/* $Id: file.c,v 1.266 2012/05/22 09:45:56 inu Exp $ */
 #include "fm.h"
 #include <sys/types.h>
 #include "myctype.h"
@@ -5020,10 +5020,17 @@
 	HTMLlineproc1(tmp->ptr, h_env);
 	return 1;
     case HTML_META:
-	p = q = NULL;
+	p = q = r = NULL;
 	parsedtag_get_value(tag, ATTR_HTTP_EQUIV, &p);
 	parsedtag_get_value(tag, ATTR_CONTENT, &q);
 #ifdef USE_M17N
+	parsedtag_get_value(tag, ATTR_CHARSET, &r);
+	if (r) {
+	    /* <meta charset=""> */
+	    SKIP_BLANKS(r);
+	    meta_charset = wc_guess_charset(r, 0);
+	}
+	else
 	if (p && q && !strcasecmp(p, "Content-Type") &&
 	    (q = strcasestr(q, "charset")) != NULL) {
 	    q += 7;
diff -urN w3m-0.5.3/html.c w3m/html.c
--- w3m-0.5.3/html.c	2011-01-04 18:22:21.000000000 +0900
+++ w3m/html.c	2012-05-22 22:11:44.000000000 +0900
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.32 2010/08/14 01:29:40 htrb Exp $ */
+/* $Id: html.c,v 1.33 2012/05/22 09:45:56 inu Exp $ */
 #include "html.h"
 
 /* Define HTML Tag Infomation Table */
@@ -37,8 +37,8 @@
     ATTR_CELLPADDING, ATTR_VSPACE, ATTR_CORE
 };
 #define MAXA_TABLE	MAXA_CORE + 6
-unsigned char ALST_META[] = { ATTR_HTTP_EQUIV, ATTR_CONTENT, ATTR_CORE };
-#define MAXA_META	MAXA_CORE + 2
+unsigned char ALST_META[] = { ATTR_HTTP_EQUIV, ATTR_CONTENT, ATTR_CHARSET, ATTR_CORE };
+#define MAXA_META	MAXA_CORE + 3
 unsigned char ALST_FRAME[] = { ATTR_SRC, ATTR_NAME, ATTR_CORE };
 #define MAXA_FRAME	MAXA_CORE + 2
 unsigned char ALST_FRAMESET[] = { ATTR_COLS, ATTR_ROWS, ATTR_CORE };
diff -urN w3m-0.5.3/version.c.in w3m/version.c.in
--- w3m-0.5.3/version.c.in	2011-01-15 16:52:48.000000000 +0900
+++ w3m/version.c.in	2012-05-22 22:11:44.000000000 +0900
@@ -1,5 +1,5 @@
-/* $Id: version.c.in,v 1.48 2011/01/15 07:52:48 inu Exp $ */
-#define CURRENT_VERSION "w3m/0.5.3"
+/* $Id: version.c.in,v 1.49 2012/05/22 09:45:56 inu Exp $ */
+#define CURRENT_VERSION "w3m/0.5.3+cvs"
 
 #ifndef FM_H
 char *w3m_version = CURRENT_VERSION;

debug log:

solving 64e089d ...
found 64e089d in https://yhetil.org/guix-devel/87mvhgw4w0.fsf@openmailbox.org/ ||
	https://yhetil.org/guix-devel/87twbow71l.fsf@openmailbox.org/

applying [1/1] https://yhetil.org/guix-devel/87mvhgw4w0.fsf@openmailbox.org/
diff --git a/gnu/packages/patches/w3m-upstream-20120522.patch b/gnu/packages/patches/w3m-upstream-20120522.patch
new file mode 100644
index 0000000..64e089d

1:22: trailing whitespace.
+	* doc/w3m.1, doc/STORY.html, doc-jp/STORY.html: 
1:34: trailing whitespace.
 
1:37: space before tab in indent.
 	* version.c.in: update
1:40: space before tab in indent.
 	* doc-jp/README: ditto
1:41: space before tab in indent.
 	* po/w3m.pot, ja.po: ditto
Checking patch gnu/packages/patches/w3m-upstream-20120522.patch...
Applied patch gnu/packages/patches/w3m-upstream-20120522.patch cleanly.
warning: squelched 20 whitespace errors
warning: 25 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/87twbow71l.fsf@openmailbox.org/ for 64e089d
index at:
100644 a59beebfe082700ec0abedc75367e34318ca3da3	gnu/packages/patches/w3m-upstream-20120522.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).