#ifdef CGI_BIN
void wmlError(char *error)
@@ -58,7 +58,7 @@
for(node = channel; node != NULL; node = node->next) {
if(strcasecmp("title", node->name) == 0) {
- on = node->childs;
+ on = node->children;
if(strcasecmp("text", on->name) == 0)
printf(" %s
\n", on->content);
}
@@ -71,7 +71,7 @@
for(node = item; node != NULL; node = node->next) {
if(strcasecmp("title", node->name) == 0) {
- on = node->childs;
+ on = node->children;
if(strcasecmp("text", on->name) == 0)
printf(" ----
\n");
printf(" ");
Index: wap-wml-tools-0.0.4/wmlhtml/wmlhtml.c
===================================================================
--- wap-wml-tools-0.0.4.orig/wmlhtml/wmlhtml.c 2010-01-31 21:36:23.000000000 +0100
+++ wap-wml-tools-0.0.4/wmlhtml/wmlhtml.c 2010-01-31 21:36:27.000000000 +0100
@@ -10,8 +10,8 @@
#include
#include
#include
-#include
-#include
+#include
+#include
FILE *out;
@@ -24,9 +24,9 @@
{
while(node) {
fprintf(stderr, "%*s == %s\n", dumpNodeIndent, "", node->name);
- if(node->childs) {
+ if(node->children) {
dumpNodeIndent += 2;
- dumpNode(node->childs);
+ dumpNode(node->children);
dumpNodeIndent -= 2;
}
node = node->next;
@@ -56,7 +56,7 @@
fprintf(out, "%*s<%s", htmlIndent, "", node->name);
attr = node->properties;
while(attr) {
- val = attr->val;
+ val = attr->children;
if(strcmp(val->name, "text") != 0)
continue;
else
@@ -66,9 +66,9 @@
fprintf(out, ">\n");
}
- if(node->childs) {
+ if(node->children) {
htmlIndent += 2;
- showHtml(node->childs);
+ showHtml(node->children);
htmlIndent -= 2;
}
@@ -104,9 +104,9 @@
}
if(debug)
- dumpNode(doc->root);
+ dumpNode(doc->children);
- showHtml(doc->root);
+ showHtml(doc->children);
return 0;
}
Index: wap-wml-tools-0.0.4/wmlc/wmlc.c
===================================================================
--- wap-wml-tools-0.0.4.orig/wmlc/wmlc.c 2010-01-31 21:36:23.000000000 +0100
+++ wap-wml-tools-0.0.4/wmlc/wmlc.c 2010-01-31 21:36:27.000000000 +0100
@@ -10,8 +10,8 @@
#include
#include
#include
-#include
-#include
+#include
+#include
#define WML_NO_CLOSURES
#include
#include
@@ -98,7 +98,7 @@
char buffer[256];
while(attributes) {
- val = attributes->val;
+ val = attributes->children;
if(strcmp(val->name, "text") != 0) {
fprintf(stderr, "Parse error: can't handle non plaintext attribute values\n");
crashBurn();
@@ -171,7 +171,7 @@
if(node->properties)
tagVal |= WMLTC_ATTRIBUTES;
- if(node->childs)
+ if(node->children)
tagVal |= WMLTC_CONTENT;
fputc(tagVal, out);
@@ -179,8 +179,8 @@
if(node->properties)
compileAttributes(node->properties);
- if(node->childs)
- compileTags(node->childs);
+ if(node->children)
+ compileTags(node->children);
if(tagHasClosure(tagNum))
fputc(WMLTC_END, out);
@@ -239,7 +239,7 @@
fputc(0x6A, out);
fputc(0x00, out);
- compileTags(doc->root);
+ compileTags(doc->children);
fclose(out);
debian/changelog 0000644 0000000 0000000 00000007431 12154737547 011064 0 ustar wap-wml-tools (0.0.4-7) unstable; urgency=low
* Switch to source format "3.0 (quilt)"
+ Drop build-dependency on quilt.
+ Drop all quilt traces from debian/rules
+ Remove debian/README.source
* Bump debhelper compatibility to 9
+ Update versioned debhelper build-dependency
* Pass hardening build flags to configure
* Revamp debian/rules
+ Use dh_auto_{build,clean}
+ Clean up Makefile via debian/clean
+ Remove redundant dh_installchangelogs parameter
+ Remove manual debian/tmp handling
+ Finally switch to dh7 style debian/rules file
* Bump Standards-Version to 3.9.4 (no changes)
* Apply wrap-and-sort (except for debian/install)
-- Axel Beckert Sun, 09 Jun 2013 01:33:16 +0200
wap-wml-tools (0.0.4-6) unstable; urgency=low
* Moved all source code patches from diff.gz to quilt patches
- Adjusted build dependencies
- Adjusted debian/rules
* Moved Debian provided man pages from manpages to debian/man
- Adjusted debian/manpages.
* Changed my e-mail address to my debian.org address
* Bumped Standards-Version to 3.8.4 and debhelper compatibility to 7.
- Updated debian/copyright so it explicitly states that this non-free
package is not part of Debian (Policy version 3.8.0.0, section 12.5)
- Added a Homepage field
- Replaced dh_clean -k by dh_prep
* Fixed FTBFS when /tmp is mounted noexec (now uses debian/tmp instead)
* Fixed "Debian/GNU" spelling error in man pages (Thanks Lintian!)
* Fixed error missing-separator-between-items found by Lintian
* Added Copyright years to debian/copyright.
* Added everything necessary in debian/control and debian/copyright to
autobuild this package on the non-free buildds (according to
http://lists.debian.org/debian-devel-announce/2006/11/msg00012.html)
* Added Vcs-* header
* Added a watch file
-- Axel Beckert Sun, 31 Jan 2010 21:44:41 +0100
wap-wml-tools (0.0.4-5) unstable; urgency=low
* More robust RDF parser, also groks simple RSS now (Closes: #308113)
-- Axel Beckert Mon, 6 Nov 2006 00:28:13 +0100
wap-wml-tools (0.0.4-4) unstable; urgency=low
* New Maintainer (Closes: #354502)
* Bumps Standards version to 3.7.2
* Mentioning that upstream seems to have dropped the software in the
copyright file
-- Axel Beckert Sun, 5 Nov 2006 20:41:15 +0100
wap-wml-tools (0.0.4-3) unstable; urgency=low
* QA upload.
* Package is orphaned (#354502); set maintainer to Debian QA Group.
* Switch to debhelper 5.
* Move /usr/share/doc/wap-wml-tools/samples to .../examples.
* debian/changelog: Remove obsolete Emacs local variables.
* debian/rules: Remove Makefile on clean.
-- Matej Vela Tue, 14 Mar 2006 10:17:04 +0100
wap-wml-tools (0.0.4-2) unstable; urgency=low
* Added Build-Depends: debhelper, libxml2-dev (Closes: Bug#263359)
* Added test for TMPDIR variable in configure script
* Created simple man pages from README files and binary usage instructions
* Updated Standards-version to 3.6.2
* Created debian/compat (V4)
* Versioned Build-Depends on debhelper >= 4
* Removed dh_suidregister from rules file
* Switched to dh_installman instead of dh_installmanpages
* Added ${misc:Depends} to Depends field in control file
* Revised package description
* Applied patch from Florian Steinel which converts
wap-wml-tools to libxml2 (Closes: Bug#276982)
* Small addition to Florian's patch: now we use xml2-config instead of
xml-config in configure script so that proper link options are generated
-- Fernando Sanchez Sun, 3 Jul 2005 13:17:27 +0200
wap-wml-tools (0.0.4-1) unstable; urgency=low
* Initial Release.
-- Fernando Sanchez Sun, 27 Feb 2000 13:18:49 +0100
debian/compat 0000644 0000000 0000000 00000000002 12154730503 010364 0 ustar 9
debian/control 0000644 0000000 0000000 00000001662 12154735534 010607 0 ustar Source: wap-wml-tools
Section: non-free/web
Priority: optional
Maintainer: Axel Beckert
Build-Depends: debhelper (>= 9~),
libxml2-dev
Standards-Version: 3.9.4
Homepage: http://maintained.by.noone.org/wml-tools/
XS-Autobuild: yes
Vcs-Browser: http://git.noone.org/?p=wap-wml-tools-debian.git
Vcs-Git: http://git.noone.org/wap-wml-tools-debian.git
Package: wap-wml-tools
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Description: Wireless Markup Language development and test tools
wml-tools is a suite of small programs designed to help in the
construction of WAP WML decks. The suite currently comprises:
* wmlc - a WML bytecode compiler
* wmld - a WML bytecode decompiler
* wmlv - a very simple text-based WML deck viewer
* wbmp2xpm - a WBMP to XPM converter
* wmlhtml - a simple WML deck to HTML converter
* rdfwml - an RDF channel to WML deck converter
debian/copyright 0000644 0000000 0000000 00000004413 12154730620 011123 0 ustar This package was debianized by Fernando Sanchez on
Sun, 27 Feb 2000 13:18:49 +0100.
It was initially downloaded from http://pwot.co.uk/wml/. The original
site does not exist anymore and the upstream author seems to have
dropped the project. A copy of the original website can be found at
http://maintained.by.noone.org/wml-tools/.
Upstream Author: Thomas Neill
Copyright © 1999-2000 by Thomas Neill
This software is non-free software and therefore not part of Debian.
The license of this software is as follows:
=== Begin of License ===
Terms used in this document :
* I, me : The author, the person who coded these tools
* you : The user, the person reading this, the person to whom the
license applies
* programs : The source code and executables in this package
Disclaimer :
These programs come with no warranty, implied or stated. I cannot be
held responsible for the actions of the programs. If they damage your
equipment or even you I accept no liability. If it breaks, well, sorry
but that's tough.
What you are entitled to :
You can download, compile and use these programs for any non-commercial
activities. You can distribute them freely so long as no charge (other
than REASONABLE media charges) are made.
You may make changes to these programs and redistribute them so long as :
* The new distribution makes clear that it is derived from these
programs
* The changes made can be freely incorporated in future releases of
these programs
* The changes are only used for non-commercial activities
* The copyright notices are unchanged
You are NOT entitled to :
You may not sell these programs or engage in any activity that generates
profit from the use of these programs.
You may not redistribute these programs without maintaining the
copyright notices. You may not redistribute modified versions of these
programs without maintaining the copyright notices and clear notices
that these programs were the basis of the new distribution.
Summary :
Use, compile and be happy. Give credit where credit is due and don't try
to make money out of it.
=== End of License ===
This license does not prohibit autobuilding wap-wml-tools for Debian.
debian/docs 0000644 0000000 0000000 00000000023 11331344377 010042 0 ustar GOTCHAS
README
WAP
debian/examples 0000644 0000000 0000000 00000000012 11331344377 010726 0 ustar samples/*
debian/manpages 0000644 0000000 0000000 00000000015 11331374026 010700 0 ustar debian/man/*
debian/watch 0000644 0000000 0000000 00000000121 11334334347 010216 0 ustar version=3
http://maintained.by.noone.org/wml-tools/ wml-tools-(.+)\.t(?:ar\.)?gz
debian/install 0000644 0000000 0000000 00000001160 12154730736 010565 0 ustar rdfwml/rdfwml usr/bin
rdfwml/README usr/share/doc/wap-wml-tools/rdfwml
rdfwml/rdfwml.cgi usr/share/doc/wap-wml-tools/rdfwml
rdfwml/slashdot.rdf usr/share/doc/wap-wml-tools/rdfwml
wbmp/wbmp2xpm usr/bin
wbmp/README usr/share/doc/wap-wml-tools/wbmp
wbmp/logo.wbmp usr/share/doc/wap-wml-tools/wbmp
wbmp/logo.xpm usr/share/doc/wap-wml-tools/wbmp
wmlc/wmlc usr/bin
wmlc/README usr/share/doc/wap-wml-tools/wmlc
wmld/wmld usr/bin
wmld/README usr/share/doc/wap-wml-tools/wmld
wmlhtml/wmlhtml usr/bin
wmlhtml/README usr/share/doc/wap-wml-tools/wmlhtml
wmlv/wmlv usr/bin
wmlv/README usr/share/doc/wap-wml-tools/wmlv
debian/source/ 0000755 0000000 0000000 00000000000 12154731150 010465 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 12154731131 011672 0 ustar 3.0 (quilt)
debian/clean 0000644 0000000 0000000 00000000011 12154732001 010156 0 ustar Makefile
debian/rules 0000755 0000000 0000000 00000000366 12154735144 010261 0 ustar #!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS=1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_auto_configure:
./configure --cc-flags "$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"