meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit 20e6dda16d9b6825548a02e60a61fe3033e8e9eb
parent b7b1ace005ab3cf902a1a412033f32f63700781e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 10 Feb 2023 12:27:02 +0100

htrdr: publish the atmosphere Starter-Pack 0.8.0

Diffstat:
Mhtrdr/Makefile | 3++-
Ahtrdr/downloads/htrdr-Atmosphere-Starter-Pack-0.8.0.tar.gz | 2++
Mhtrdr/htrdr_build.sh | 30+++++++++---------------------
3 files changed, 13 insertions(+), 22 deletions(-)

diff --git a/htrdr/Makefile b/htrdr/Makefile @@ -21,11 +21,12 @@ HTRDR_DIR=htrdr-$(HTRDR_VERSION)-GNU-Linux64 HTRDR_ARCH=downloads/$(HTRDR_DIR).tar.gz HTRDR_README=$(HTRDR_DIR)/share/doc/htrdr/README.md -ATMSPK_VERSION=0.7.0 +ATMSPK_VERSION=0.8.0 ATMSPK_DIR=htrdr-Atmosphere-Starter-Pack-$(ATMSPK_VERSION) ATMSPK_ARCH=downloads/$(ATMSPK_DIR).tar.gz ATMSPK_README=$(ATMSPK_DIR)/README.md ATMSPK_PKG=\ + downloads/htrdr-Atmosphere-Starter-Pack-0.8.0.tar.gz\ downloads/htrdr-Atmosphere-Starter-Pack-0.7.0.tar.gz\ downloads/htrdr-Atmosphere-Starter-Pack-0.6.1.tar.gz\ downloads/High-Tune-Starter-Pack-0.6.0.tar.gz\ diff --git a/htrdr/downloads/htrdr-Atmosphere-Starter-Pack-0.8.0.tar.gz b/htrdr/downloads/htrdr-Atmosphere-Starter-Pack-0.8.0.tar.gz @@ -0,0 +1 @@ +#$# git-wad 5b9b8a2a0a4e8d24eb801cd3df9276da63694658d85d6d40cb0ad68358fb185a 1800570338 +\ No newline at end of file diff --git a/htrdr/htrdr_build.sh b/htrdr/htrdr_build.sh @@ -82,7 +82,9 @@ atmspk() | sed 's/https:\/\/gitlab.com\/meso-star\/htcp.git/man\/man5\/htcp.5.html/g' \ | sed 's/https:\/\/gitlab.com\/meso-star\/htmie.git/man\/man5\/htmie.5.html/g' \ | sed 's/https:\/\/gitlab.com\/meso-star\/htpp.git/man\/man1\/htpp.1.html/g' \ - | sed 's/https:\/\/gitlab.com\/meso-star\/htrdr.git/man\/man1\/htrdr.1.html/g') + | sed 's/https:\/\/gitlab.com\/meso-star\/htrdr.git/man\/man1\/htrdr.1.html/g' \ + | sed 's/<pre><code>/<pre class="code">/g' \ + | sed 's/<\/code><\/pre>/<\/pre>/g') intro=$(echo "${readme}" | sed -e '1d' -e '/^<h2>Content<\/h2>/,$d') content1=$(echo "${readme}" \ @@ -94,6 +96,9 @@ atmspk() content3=$(echo "${readme}" \ | sed -n '/^<h3>Ground materials<\/h3>/,/^<h2>Quick start<\/h2>/p' \ | sed '$d') + quick_start=$(echo "${readme}" \ + | sed -n '/^<h2>Quick start<\/h2>/,/^<h2>Release notes<\/h2>/p' \ + | sed -e '1d' -e '$d') release_notes=$(echo "${readme}" \ | sed -n '/^<h2>Release notes<\/h2>/,/^<h2>Copyright notice<\/h2>/p' \ | sed -e '1d' -e '$d' -e 's/ gemetry / geometry /') @@ -160,26 +165,9 @@ atmspk() echo "" echo "<p>Download the Atmosphere Starter-Pack archive and verify" echo "its integrity against its <a href=\"../misc/pgp_signatures.html\">PGP" - echo "signature</a>. Then extract it. Assuming that <code>htrdr-atmosphere</code> is" - echo "installed and registered in the current shell, one can invoke a" - echo "<code>htrdr-atmosphere</code> rendering as bellow:" - echo "" - echo "<pre class=\"code\">" - echo "$ cd &#126;/htrdr-Atmosphere-Starter-Pack-$2" - echo "&#126;/htrdr-Atmosphere-Starter-Pack-$2 $ bash htrdr-run.sh scenes/DZVAR2" - echo "</pre>" - echo "" - echo "<p>With <code>~/htrdr-Atmosphere-Starter-Pack-$2</code> the directory" - echo "where the Starter Pack is installed. The resulting image" - echo "<code>DZVAR2_1280x720x256.txt</code> is stored in the <a" - echo "href=\"man/man5/htrdr-image.5.html\">htrdr-image</a> file format. Use the <a" - echo "href=\"man/man1/htpp.1.html\">htpp</a> program to convert it in a regular PPM" - echo "file that can be then displayed with a regular image viewer." - echo "" - echo "<pre class=\"code\">" - echo "&#126;/htrdr-Atmosphere-Starter-Pack-$2 $ htpp -o DZVAR2.ppm DZVAR2_1280x720x256.txt" - echo "</pre>" - + echo "signature</a>. Then extract it." + echo "${quick_start}" + echo "<h2>Donwloads</h2>" echo "<table>"