From 375d87a9b0ec1cf2fffd705adb870c86144d2400 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 26 Oct 2026 20:05:20 +0100 Subject: Replace the C++ implementation with the Rust port The Rust port (formerly gipfel-rs) is now the official successor to the FLTK/GSL C++ code base. This squashes the port into a single commit and removes the C++ sources (they remain in the git history below). Layout: crates/gipfel-core headless core: hills, panorama geometry, projections (maxima-generated derivatives), pure-Rust LM fit, gipfel: JPEG comment + EXIF I/O, profiles, stitching crates/gipfel-cli command-line tools (export, info, stitch, profiles) crates/gipfel-app Cosmic DE (libcosmic) GUI, binary name `gipfel` codegen/ maxima scripts + regen.sh for the projection code tests/ golden files + C++ reference harnesses (historical) The original README is kept for now; it will be updated to describe the Rust build. gipfel.dat, AUTHORS, ChangeLog and NEWS are unchanged. --- examples/gipfel2html | 136 --------------------------------------------------- 1 file changed, 136 deletions(-) delete mode 100755 examples/gipfel2html (limited to 'examples/gipfel2html') diff --git a/examples/gipfel2html b/examples/gipfel2html deleted file mode 100755 index c8df477..0000000 --- a/examples/gipfel2html +++ /dev/null @@ -1,136 +0,0 @@ -#!/bin/sh - -MODE="$1" -TITLE="$2" -FILE="$3" - -if [ "$MODE" = "images" ]; then - DATAFILE="gipfelweb/gipfel/${FILE}.imgs" -else - DATAFILE="gipfelweb/gipfel/${FILE}.hills" -fi - -cat << EOF - - - -EOF - -echo "$TITLE" - -cat << EOF - - -
-
-EOF - -echo "

$TITLE

" - -if [ "$MODE" = "images" ]; then - echo "show hill names" -else - echo "back to gipfelweb" -fi - -cat << EOF - - -
- - -
-
-EOF - -if [ "$MODE" = "images" ]; then - echo "" -else - echo "" -fi - - -echo "
    " -i=0 -grep -v "^#" ${DATAFILE} | \ -while read name height x y dist flags dummy; do - if [ "$MODE" = "images" ]; then - THUMB_TITLE="${name%.jpg}" - if [ -e "${name%.jpg}.title" ]; then - THUMB_TITLE=`cat ${name%.jpg}.title` - fi - echo "
  • ${THUMB_TITLE} (${height}m)
  • " - else - echo "
  • ${name} (${height}m)
  • " - fi - - i=$((${i} + 1)) -done -echo "
" - -cat << EOF -
-
-
-
-Created with gipfel -
-
-EOF - -if [ "$MODE" = "images" ]; then - echo Move the mouse over the image to see other images. -else - echo Move the mouse over the image to see known mountains. -fi - -cat << EOF -
-Move the mouse over the rectangle to see details. -
-
-This image is visible on these images:
-EOF - -grep -l ${FILE} gipfelweb/gipfel/*.imgs | \ -while read f; do - img="`basename ${f%.imgs}`" - if [ "$MODE" = "images" ]; then - echo "
" - else - echo "
" - fi -done - - -cat << EOF - - -EOF -- cgit v1.2.3