[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:45:13 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=162d2e1

The following commit has been merged in the master branch:
commit 162d2e126195f940687217947e3ed46e5f0ce508
Author: Robin Mills <robin at clanmills.com>
Date:   Wed Apr 29 09:18:46 2015 +0000

    Adding a script for Alan.  convertToHTML.sh src/convert.cpp to generates a web page of Exif -> XMP conversions.
---
 website/convertToHTML.sh | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/website/convertToHTML.sh b/website/convertToHTML.sh
new file mode 100755
index 0000000..3cea99a
--- /dev/null
+++ b/website/convertToHTML.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+##
+# convertToHTML.sh
+# generate convert.html by reading src/convert.cpp
+##
+
+declare -a from=($(grep mdExif, ../src/convert.cpp | cut '-d"' -f 2))
+declare -a to=($(grep mdExif,   ../src/convert.cpp | cut '-d"' -f 4))
+count=${#from[@]}
+
+index=0
+(
+    echo '<html><body style="background:pink;margin-left:10px">'
+    echo '<h1>Exiv2 Convert Table</h1>'
+    echo '<p>Generated at: ' $(date) '</p>'
+
+    echo   '<table>'
+    echo   '<tr><th style="text-align:left;font-style:italic">From</th><th>To</th></tr>'
+    while [ $index -lt $count ]; do
+        printf '<tr><td>%s</td><td>%s</td></tr>
' "${from[index]}" "${to[index]}"
+        index=$((index+1))
+    done
+    echo '</table>'
+
+    echo '<html><body><table>'
+) > convert.html
+
+open convert.html
+
+# That's all Folks
+##

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list