[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:36:00 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=db078b9
The following commit has been merged in the master branch:
commit db078b943c573789cad54c1da4fd2185b0e72e08
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Mon Feb 9 02:31:40 2004 +0000
Simple script to convert a comma separated taglist to XML
---
src/tags.awk | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/src/tags.awk b/src/tags.awk
new file mode 100644
index 0000000..6bf7b30
--- /dev/null
+++ b/src/tags.awk
@@ -0,0 +1,32 @@
+################################################################################
+# File tags.awk
+# Brief Awk script to convert the taglist from ExifTags::taglist to XML
+# format used in the documentation.
+# $ taglist | awk -f tags.awk > tags.xml
+# Version $Name: $ $Revision: 1.1 $
+# Author Andreas Huggel (ahu)
+# <a href="mailto:ahuggel at gmx.net">ahuggel at gmx.net</a>
+# Date 07-Feb-04, ahu: created
+################################################################################
+
+BEGIN {
+ FS = ", "
+ print "<?xml version = '1.0'?>";
+ print "<?xml-stylesheet type=\"text/xsl\" href=\"tags.xsl\"?>";
+ print "<ROWSET>"
+}
+
+{
+ print " <ROW num=\"" ++row "\">";
+ print " <tagname>" $1 "</tagname>"
+ print " <tagdec>" $2 "</tagdec>"
+ print " <taghex>" $3 "</taghex>"
+ print " <ifd>" $4 "</ifd>"
+ print " <key>" $5 "</key>"
+ print " <tagdesc>" $6 "</tagdesc>"
+ print " </ROW>";
+}
+
+END {
+ print "</ROWSET>"
+}
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list