From: Ken Brown <kbrown@cornell.edu>
To: cygwin-apps <cygwin-apps@cygwin.com>
Subject: [ITP] savi 1.5.1
Date: Sun, 02 Jul 2017 20:06:00 -0000 [thread overview]
Message-ID: <56e5d219-7029-a792-d69e-b01f9fb08cb3@cornell.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
savi is in Debian:
https://packages.debian.org/stretch/savi
My cygport file and patches are attached.
Package files
=============
http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.hint
http://sanibeltranquility.com/cygwin/x86/release/savi/savi-1.5.1-1.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1-src.tar.xz
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.hint
http://sanibeltranquility.com/cygwin/x86_64/release/savi/savi-1.5.1-1.tar.xz
Ken
[-- Attachment #2: about.patch --]
[-- Type: text/plain, Size: 382 bytes --]
--- origsrc/savi1.5.1/tcl/about.tcl 2017-01-02 01:11:32.000000000 -0500
+++ src/savi1.5.1/tcl/about.tcl 2017-06-28 14:16:03.267450700 -0400
@@ -54,7 +54,7 @@ proc about(build) {} {
build_Label $cmd l2 \
"http://savi.sourceforge.net/
-A user manual is in SaVi's manual/ directory.
+A user manual is in /usr/share/doc/savi/html.
Originally created at The Geometry Center
[-- Attachment #3: geomview.patch --]
[-- Type: text/plain, Size: 239 bytes --]
--- origsrc/savi1.5.0/.geomview 2001-11-11 14:59:54.000000000 -0500
+++ src/savi1.5.0/.geomview 2017-06-23 16:59:15.193055000 -0400
@@ -1 +1 @@
-(emodule-define "SaVi" "./savi -geomview")
+(emodule-define "SaVi" "/usr/bin/savi -geomview")
[-- Attachment #4: savi_script.patch --]
[-- Type: text/plain, Size: 657 bytes --]
--- origsrc/savi1.5.1/savi 2017-06-26 00:17:00.000000000 -0400
+++ src/savi1.5.1/savi 2017-06-28 10:19:09.447852800 -0400
@@ -41,7 +41,7 @@ export SAVI
#
# Default executable absolute location and name
#
-SAVIBIN="${SAVI}/bin/SaVi"
+SAVIBIN="/usr/libexec/savi/bin/SaVi"
#
# Set locations of tcl and tk library code needed at runtime
@@ -264,7 +264,7 @@ fi
# If savi tree has been split, with files (data/ oogl/ tcl/ maps/ and textfiles)
# placed elsewhere, then uncomment and edit the following line to reset SAVI to
# that other tree location.
-# SAVI=/usr/share/savi
+SAVI=/usr/share/savi
# This is useful for Debian and Cygwin packagers.
#
[-- Attachment #5: zlib.patch --]
[-- Type: text/plain, Size: 433 bytes --]
--- origsrc/savi1.5.1/src/Makefile 2017-06-28 07:29:58.000000000 -0400
+++ src/savi1.5.1/src/Makefile 2017-06-28 10:36:48.023603800 -0400
@@ -26,7 +26,7 @@ include Makefile_defs_$(ARCH)
# zlib enables transparent gzip compression of dynamic texture scratchfiles.
# OTHER_LIBS = -lz should be inserted at end of definitions file.
- GCC_FLAGS = -O2 -DNO_ZLIB
+ GCC_FLAGS = -O2
LIBS = $(TCL_LIBS) $(OTHER_LIBS) -lm
[-- Attachment #6: savi.cygport --]
[-- Type: text/plain, Size: 1499 bytes --]
NAME="savi"
VERSION=1.5.1
RELEASE=1
SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}-release.tar.gz"
SRC_DIR="${PN}${PV}"
SRC_URI+=" savi_bin"
PATCH_URI="geomview.patch"
PATCH_URI+=" savi_script.patch"
PATCH_URI+=" zlib.patch"
PATCH_URI+=" about.patch"
HOMEPAGE="http://savi.sourceforge.net/"
SUMMARY="Satellite constellation simulation and visualization"
DESCRIPTION="SaVi allows you to simulate satellite orbits and coverage, in two and
three dimensions. SaVi is particularly useful for simulating
satellite constellations. SaVi can use Geomview, an optional package,
for 3D rendering."
CATEGORY="Science"
DEPEND="zlib-devel tcl-tk-devel"
# REQUIRES="geomview"
MAKEOPTS+=" -j1"
DOCS="README-COVERAGE-TEXTUREMAP"
HTMLDOCS="manual/*"
savi_CONTENTS="--exclude=Makefile usr"
PKG_IGNORE="
usr/share/doc/savi/html/Makefile
usr/share/doc/savi/html/images/Makefile
"
src_compile() {
lndirs
cd ${B}
cygmake ARCH=cygwin
}
src_install() {
newbin ${S}/savi_bin savi
cd ${B}
exeinto /usr/libexec/savi/bin
doexe bin/SaVi
exeinto /usr/share/savi
doexe savi
insinto /usr/share/savi
# These files have to be in /usr/share/savi in order for the
# runtime Help to find them.
doins COPYRIGHT BUGS README README-COVERAGE-TEXTUREMAP
for d in data maps oogl tcl
do
insinto /usr/share/savi/${d}
doins ${d}/*
done
find ${D}/usr/share/savi -name 'Makefile*' -delete
insinto /usr/libexec/geomview
newins .geomview .geomview-savi
}
next reply other threads:[~2017-07-02 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-02 20:06 Ken Brown [this message]
2017-07-02 20:47 ` Marco Atzeri
2017-07-02 21:07 ` Ken Brown
2017-07-03 4:59 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56e5d219-7029-a792-d69e-b01f9fb08cb3@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).