alterator-notes-1.1/000075500000000000000000000000001113754141700145005ustar00rootroot00000000000000alterator-notes-1.1/Makefile000064400000000000000000000001621113754141700161370ustar00rootroot00000000000000NAME=notes INSTALL=/usr/bin/install all: install: install-module include /usr/share/alterator/build/module.mak alterator-notes-1.1/applications/000075500000000000000000000000001113754141700171665ustar00rootroot00000000000000alterator-notes-1.1/applications/license.desktop000064400000000000000000000004561113754141700222100ustar00rootroot00000000000000[Desktop Entry] Type=Application Categories=X-Alterator-System Icon=license Terminal=false Name=License X-Alterator-URI=/notes/license X-Alterator-Weight=20 X-Alterator-UI=qt X-Alterator-Help=notes-license Name[ru]=Лицензионный договор Name[uk]=Ліцензія Name[pt_BR]=Licença alterator-notes-1.1/applications/release-notes.desktop000064400000000000000000000005521113754141700233310ustar00rootroot00000000000000[Desktop Entry] Type=Application Categories=X-Alterator-System Icon=notes Terminal=false Name=Release Notes X-Alterator-URI=/notes/release-notes X-Alterator-Weight=20 X-Alterator-UI=qt X-Alterator-Help=notes-release-notes Name[ru]=Информация о дистрибутиве Name[uk]=Інформація щодо дистрибутиву Name[pt_BR]=Notas alterator-notes-1.1/backend3/000075500000000000000000000000001113754141700161525ustar00rootroot00000000000000alterator-notes-1.1/backend3/notes000075500000000000000000000015171113754141700172340ustar00rootroot00000000000000#!/bin/sh alterator_api_version=1 . alterator-sh-functions dirs="/usr/share/alt-notes /usr/share/alt-license /var/lib/install3/licenses" on_message() { case "$in_action" in read) local name="${in_name:-license}" local license_file= path lang languages languages="$(printf '%s' "$in_language" |tr ';' ' ') all" for path in $dirs; do for lang in $languages; do case "$lang" in POSIX|C|all) lang="all";; *) lang="$(printf %s "${lang%%_*}" |tr '[A-Z]' '[a-z]')";; esac html_file="$path/$name.$lang.html" [ ! -s "$html_file" ] || break 2 done done if [ -s "$html_file" ]; then write_string_param "url" "$html_file" else write_error "`_ "File not found"` $name" fi ;; esac } message_loop alterator-notes-1.1/ui/000075500000000000000000000000001113754141700151155ustar00rootroot00000000000000alterator-notes-1.1/ui/license/000075500000000000000000000000001113754141700165375ustar00rootroot00000000000000alterator-notes-1.1/ui/license/index.scm000077700000000000000000000000001113754141700240402../notes/license.scmustar00rootroot00000000000000alterator-notes-1.1/ui/notes/000075500000000000000000000000001113754141700162455ustar00rootroot00000000000000alterator-notes-1.1/ui/notes/license.scm000064400000000000000000000015421113754141700203750ustar00rootroot00000000000000(document:surround "/std/frame") (document:envelop with-translation _ "alterator-notes") margin 10 spacing 10 (if (global 'frame:next) (label (_ "Please take a moment to read the license agreement now.") text-wrap #t)) (document:id license (textbox (string-append "

" (_ "License file not found") "

") alterability #f)) (and (global 'frame:next) (document:id agree (checkbox (_ "Yes, I agree") align 'center (when toggled (frame:next-activity (agree state)))))) (document:root (when loaded (and (global 'frame:next) (if (eq? (global 'frame:direction) 'back) (begin (agree state #t) (frame:next-activity #t)) (frame:next-activity #f))) (woo-catch/ignore (thunk (license url (woo-get-option (woo-read-first '/notes 'name "license") 'url)))))) alterator-notes-1.1/ui/notes/release-notes.scm000064400000000000000000000007571113754141700215300ustar00rootroot00000000000000(document:surround "/std/frame") (document:envelop with-translation _ "alterator-notes") margin 10 spacing 10 (if (global 'frame:next) (label (_ "Release Notes") text-wrap #t)) (document:id release-notes (textbox (string-append "

" (_ "Installation complete") "

") alterability #f)) (document:root (when loaded (woo-catch/ignore (thunk (release-notes url (woo-get-option (woo-read-first '/notes 'name "release-notes") 'url))))))